Resource statistics collection method and apparatus and terminal

    公开(公告)号:US10826310B2

    公开(公告)日:2020-11-03

    申请号:US16089373

    申请日:2016-03-29

    Abstract: A resource statistics collection method and apparatus, and a terminal are provided. The method includes: recording a process running on a terminal at each of at least two time points; for each of the time points, obtaining at least one hardware resource invoked by the process running at the time point; obtaining a process set including processes running at the at least two time points; and obtaining, according to the hardware resource invoked by the process in the process set, information about the at least one hardware resource occupied by an application associated with the process in the process set. In embodiments of the present invention, statistics collection is performed per process, so that information about the hardware resource occupied by each application of the terminal can be obtained, and a statistical granularity is relatively fine.

    Resource statistics collection method and apparatus and terminal

    公开(公告)号:US11431182B2

    公开(公告)日:2022-08-30

    申请号:US17084640

    申请日:2020-10-30

    Abstract: A resource statistics collection method and apparatus, and a terminal are provided. The method includes: recording a process running on a terminal at each of at least two time points; for each of the time points, obtaining at least one hardware resource invoked by the process running at the time point; obtaining a process set including processes running at the at least two time points; and obtaining, according to the hardware resource invoked by the process in the process set, information about the at least one hardware resource occupied by an application associated with the process in the process set. In embodiments of the present invention, statistics collection is performed per process, so that information about the hardware resource occupied by each application of the terminal can be obtained, and a statistical granularity is relatively fine.

    ILLUMINATOR CONTROL METHOD, ILLUMINATOR FITTING, AND ELECTRONIC DEVICE

    公开(公告)号:US20220155656A1

    公开(公告)日:2022-05-19

    申请号:US17437733

    申请日:2020-05-26

    Abstract: Embodiments of this application provide an illuminator control method, an illuminator fitting, and an electronic device. The method may be applied to an electronic device, and the electronic device includes an image-shooting apparatus. The method includes: after obtaining an image-shooting start instruction, determining whether there is an available illuminator fitting, where the illuminator fitting includes an illuminator; and after determining that there is the available illuminator fitting, starting the image-shooting apparatus, and controlling to turn on the illuminator. This improves flexibility for controlling the illuminator.

    Program Orchestration Method and Electronic Device

    公开(公告)号:US20200341617A1

    公开(公告)日:2020-10-29

    申请号:US16958976

    申请日:2017-12-29

    Abstract: The application provides a program orchestration method, which includes: displaying at least one atomic service icon on a touchscreen of an electronic device, where the atomic service provides a service capability in an API manner; displaying an orchestration area, where the orchestration area is used for accommodating atomic service icons; detecting a first touch event for a first atomic service icon; displaying the first atomic service icon in the orchestration area; detecting a second touch event for a second atomic service icon; displaying the second atomic service icon in the orchestration area; detecting a third touch event; orchestrating the first atomic service icon and the second atomic service icon that are in the orchestration area, to generate a first program. The foregoing technical solution greatly reduces complexity of program orchestration, and a user can complete program orchestration by using a simple gesture.

    Privacy protection method for electronic device and electronic device

    公开(公告)号:US12166916B2

    公开(公告)日:2024-12-10

    申请号:US17631173

    申请日:2020-07-29

    Abstract: A privacy protection method for the electronic device includes: starting face change detection, where the face change detection is continuously detecting, in a current unlocking period, whether a face in front of a display of the electronic device changes; after starting the face change detection, detecting an operation of starting a first private application; and in response to the operation and determining that a result of the face change detection is that the current face does not change, displaying first private content corresponding to the first private application; or in response to the operation and determining that a result of the face change detection is that the current face changes, displaying first non-private content, where the first non-private content does not include first private content.

    Voice Payment Method and Electronic Device

    公开(公告)号:US20230021413A1

    公开(公告)日:2023-01-26

    申请号:US17757170

    申请日:2020-12-11

    Abstract: A voice payment method and an electronic device are provided. The method includes: A first electronic device receives voice information of a user, where the voice information is used to indicate a payment operation performed by the user; when a voiceprint feature of the voice information meets a preset condition, the first electronic device requests a second electronic device to authenticate the user; the second electronic device prompts the user to perform an authentication process, where the authentication process includes one or more of fingerprint authentication, facial recognition, password authentication, verification code authentication, and near field communication NFC authentication; when authentication performed by the second electronic device on the user succeeds, the second electronic device indicates to the first electronic device that authentication performed by the second electronic device on the user succeeds; and the first electronic device completes the payment operation with a payment platform.

Patent Agency Ranking