WO2020097858A1 - Procédé et appareil de commande de programme d'application, support de stockage informatique et dispositif électronique - Google Patents
Procédé et appareil de commande de programme d'application, support de stockage informatique et dispositif électronique Download PDFInfo
- Publication number
- WO2020097858A1 WO2020097858A1 PCT/CN2018/115664 CN2018115664W WO2020097858A1 WO 2020097858 A1 WO2020097858 A1 WO 2020097858A1 CN 2018115664 W CN2018115664 W CN 2018115664W WO 2020097858 A1 WO2020097858 A1 WO 2020097858A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- running
- application
- electronic device
- preset
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
Definitions
- the present application relates to the field of computer technology, and in particular to application program control methods, devices, computer storable media, and electronic equipment.
- Smart electronic devices enrich and facilitate people's lives.
- more and more users will rely on smart electronic devices. For example, during weekends or holidays, users will spend a lot of time using smart electronic devices (such as lying in bed to watch videos, play games, chat, etc.)
- smart electronic devices such as lying in bed to watch videos, play games, chat, etc.
- Such a long-term past will cause greater damage to the body and eyes, and is not conducive to the healthy development of the body and mind.
- Embodiments of the present application provide an application program control method, device, computer storable medium, and electronic equipment, which can restrict users from excessively using electronic equipment, which is beneficial to the user's physical and mental development.
- An application program control method is applied to an electronic device.
- the method includes:
- the operation authority of a target application program is restricted, and the target application program includes at least an application program running in the foreground.
- the operation acquisition module includes:
- a posture acquisition module used to obtain posture information of the electronic device when the screen is bright
- An operation obtaining module configured to obtain the operation information that the application program is running in the foreground according to the posture information
- the authority limitation module is used to limit the authority of the target application when the operation information reaches a preset condition.
- a computer-readable storage medium on which a computer program is stored, which implements the above-mentioned application program control method when the program is executed by a processor.
- an electronic device which includes a memory, a processor, and a computer program stored on the memory and executable on the processor.
- the processor executes the program, the above application program control method is implemented.
- the above application program control method, device, computer storable medium, and electronic device when the screen is bright, obtain the posture information of the electronic device; according to the posture information, obtain the running information of the application running in the foreground; when the When the running information reaches the preset condition, the running authority of the target application program is limited.
- the target application program at least includes an application program running in the foreground, and the posture information and the running information of the application program that can be obtained when the electronic device is on screen are simultaneously When the corresponding conditions are met, restricting the running authority of the application program can limit the user's excessive use of electronic devices, which is beneficial to the user's physical and mental development.
- FIG. 1 is a flowchart of an application control method in an embodiment
- FIG. 2 is a flowchart of acquiring operation information of an application running in the foreground according to the posture information in an embodiment
- FIG. 3 is a flowchart of restricting the execution authority of a target application program when the execution information reaches a preset condition in an embodiment
- FIG. 4 is a flowchart of restricting the execution authority of a target application program when the execution information reaches a preset condition in another embodiment
- 6 is a flowchart of lifting the restriction on the execution authority of the target application when the restriction removal condition is satisfied in an embodiment
- FIG. 7 is a structural framework diagram of an application control device in an embodiment
- FIG. 8 is a block diagram of a partial structure of a mobile phone related to an electronic device provided by an embodiment of the present application.
- FIG. 1 is a flowchart of an application control method in an embodiment.
- an application control method is provided, including steps 102-108. among them,
- Step 102 when the screen is bright, acquire the posture information of the electronic device.
- the screen state of the electronic device may include a screen-off state and a screen-on state. Specifically, it is possible to determine whether the electronic device is in the bright state or the dark state by detecting whether the screen is lit by the Power Manager Service. When power receives the call to turn on or off the screen, it will first set the wakefullness state of the electronic device, and then send a screen off broadcast to notify the electronic device whether it is on or off. It should be noted that the above listed examples are not limitations for determining the screen state of the electronic device, and the screen state of the electronic device may also be detected in other ways.
- the electronic device includes a sensor connected through a system bus.
- the sensor may be at least one of an acceleration sensor, a gyroscope, an infrared sensor, and a geomagnetic sensor, which is used to detect the status information of the electronic device, such as the posture of the electronic device. Information, location information, distance to external contacts, etc.
- the electronic device may activate a sensor for collecting the posture information, where the sensor may include an acceleration sensor, a gyro sensor, or a geomagnetic sensor.
- the sensor When the sensor is activated, the sensor can be restored to the working state, and then the movement data of the electronic device is collected.
- the sensor When the sensor is an acceleration sensor, the corresponding motion data is acceleration information, and when the sensor is a gyro sensor, the corresponding motion data is angular velocity information. If the sensor includes an acceleration sensor and a gyro sensor, the corresponding motion data includes acceleration information and angular velocity information.
- the acceleration sensor can detect the X-, Y-, and Z-axis acceleration components of the electronic device in real time.
- the acceleration sensor may be a gravity acceleration sensor (Gravity Sensor, G-sensor), which is a MEMS sensor that can sense the magnitude of acceleration.
- G-sensor Gravity Sensor, G-sensor
- the acceleration can be used to obtain three different axial components (X, Y, Z
- the acceleration on the axis component) is used to notify the upper layer application to make corresponding processing.
- the electronic device can obtain the posture information of the electronic device according to the acceleration on the three different axial components (X, Y, and Z three-axis components) collected by the acceleration sensor, which can be represented by the X, Y, and Z three-axis components collected by the acceleration sensor
- the posture information can be characterized by triaxial acceleration data.
- the posture information of the user holding the electronic device, the posture information of the electronic device placement, etc. can be characterized by triaxial acceleration data.
- Step 104 Obtain the running information of the application running in the foreground according to the posture information.
- the electronic device can obtain the running information of the application program according to the obtained gesture information.
- the electronic device is on the screen, if the posture information meets the preset holding conditions, the operation information of the application currently running in the foreground of the electronic device can be correspondingly acquired.
- the preset holding condition can be understood as a gesture letter of the user holding the electronic device when lying or lying down.
- the operation information may include the application identification and the duration of continuous operation. That is, the running information may include an application identifier used to indicate the identity of the application, and the continuous running duration of the application continuously running in the foreground.
- the application program may include a system application program and a three-party application program.
- Step 106 when the running information reaches a preset condition, the running authority of the target application program is restricted.
- the electronic device may limit the running authority of the target application.
- the target application program includes at least an application program running in the foreground. That is, the target application may include only the application currently running in the foreground, and the target application may also include the application currently running in the foreground, the application running in the background, and the application not in the running state.
- the preset condition may be a condition for continuous running time, or a condition for the state of the device itself (power, network status, etc.). Restricting the running authority may be understood as prohibiting or stopping the use of the application, and may also include other applications to call the application.
- the posture information of the electronic device when the screen is bright, the posture information of the electronic device is obtained; according to the posture information, the operation information of the application running in the foreground is obtained; when the operation information reaches a preset condition, the operation permission of the target application is restricted It can limit the running authority of the target application when the posture information and operation information obtained when the electronic device is on the screen meet the corresponding conditions at the same time, which can limit the user's excessive use of the electronic device, which is conducive to the user's physical and mental development.
- obtaining the running information of the application running in the foreground according to the posture information includes steps 202-204. among them,
- Step 202 Determine whether the posture information meets the preset holding conditions.
- the electronic device can acquire posture information when the electronic device is placed or held by the user.
- Attitude information can be represented by triaxial acceleration, and the electronic device can obtain triaxial components of triaxial acceleration information, which are X-axis component, Y-axis component, and Z-axis component, respectively.
- the acceleration sensor can acquire the X, Y, and Z axis accelerations of the electronic device at any time.
- the three-axis acceleration in the body coordinate system can be expressed as (a x , a y , a z ).
- the acceleration of gravity is (0, 0, g) in the geographic coordinate system; when the electronic device is statically placed on the desktop (display screen facing down), In the geographic coordinate system, the acceleration of gravity is (0, 0, -9.81); when the electronic device is tilted to the left, the acceleration X axis is positive; when the electronic device is tilted to the right, the acceleration X axis is negative; when the electronic device is tilted upward
- the Y axis of the acceleration is negative; when the electronic device is tilted downward, the Y axis of the acceleration is positive; when the electronic device is rotated, the values of the X, Y, and Z axes will continue to change.
- the posture information meets the preset holding conditions.
- the first preset value may be 0, that is, when the Z-axis component is less than 0, the screen of the electronic device may be considered to be downward, that is, the user may use the electronic device while lying on the bed while holding the electronic device.
- the posture information meets the preset grip condition.
- the second preset value may be 7, that is, when the absolute value of the X-axis component is greater than 7, it may be considered that the electronic device is inclined to the left or right, that is, the user may be considered to lie on the side while holding the electronic device Use electronic devices in bed.
- the X-axis, Y-axis, and Z-axis components satisfy -4.5 ⁇ a x ⁇ 4.5; -5 ⁇ a y ⁇ 5, -9.8 ⁇ a z ⁇ -5, it indicates that the current electronic display
- the screen is facing down (toward the center of the earth), and the posture information meets the preset holding conditions. That is, it can be considered that the user uses the electronic device while lying on the bed while holding the electronic device.
- the display screen of the electronic device is downward, or tilted to the left or right, it can be considered that the user uses the electronic device lying on the side or lying on the bed with the electronic device, and the specific value of the triaxial acceleration component It is not limited to the above examples.
- Step 204 When the posture information meets the preset holding conditions, correspondingly obtain the running information of the application running in the foreground under the preset holding conditions.
- the operation information may include the application identification and the duration of continuous operation. That is, the running information may include an application identifier used to represent the identity of the application program, and a continuous running duration of the application program continuously running in the foreground.
- Key-value pairs are a type of data in software development.
- Key Value can be stored in Key Value.
- Value can be queried through Key, which is mostly used for Map type data.
- the application running in the foreground is A, where key is the package name of application A, and value is the continuous running time of application A in the foreground when the electronic device is bright and the gesture information meets the preset holding conditions.
- restricting the running authority of the target application includes:
- Step 302 Acquire the continuous running duration of each application running in the foreground according to the application identifier.
- Step 304 when the continuous running duration exceeds the first preset duration, the application running in the foreground is disabled to limit the running authority of the target application.
- the electronic device When the electronic device is bright and the posture information of the electronic device satisfies the preset holding conditions, it indicates that the user is currently lying down and using the electronic device. In this case, you can get the running information of the application running in the foreground.
- the electronic device can correspondingly obtain the continuous running duration of each application running in the foreground according to the application identifier of the application.
- the continuous running duration of application A may be a; the continuous running duration of application B may be b; the continuous running duration of application C may be c, etc.
- the running information can be considered to reach a preset condition, and the application running in the foreground can be disabled to restrict the running authority of the target application.
- the target application program can be understood as an application program currently running in the foreground and whose operation information meets a preset condition.
- the first preset duration may be 2 hours, 2.5 hours or other user-defined duration.
- the first preset duration is adjustable, the electronic device can obtain the historical continuous running duration of the application, that is, the single continuous running duration, and calculate the average value of each continuous running duration, and set according to the average value The first preset duration.
- the electronic device disabling the target application may be understood as forcibly closing the target application, so that the user is prohibited from using it, or, at the same time, prohibiting other applications from calling the disabled target application.
- the electronic device may disable the application to limit the running authority of the target application, so as to prevent users from indulging in an application. I don't know how the passage of time affects the user's rest.
- step 304 before disabling the application running in the foreground in step 304 to restrict the operation permission of the target application, it may further include:
- Step 303 When the operation information reaches the preset condition, a reminder alarm is issued.
- the electronic device may issue a reminder alarm to remind the user that the usage time has expired.
- the reminder alarm can be output in display mode, ringtone mode, etc.
- the electronic device can display the words "Bed in bed to use the application has timed out, it will be forced to quit" in the form of a prompt box, or a splash screen to remind the user that the usage time has timed out.
- the electronic device can also remind the user that the usage time has expired in the form of sound reminders such as beeps and ring tones.
- the electronic device when the running information of the application running in the foreground reaches a preset condition, the electronic device can more humanely remind the user to pay attention to rest, to prevent the user from indulging in an application without knowing the passage of time, affecting the user ’s rest.
- restricting the running authority of the target application includes:
- Step 402 Acquire the continuous running duration of each application running in the foreground according to the application identifier.
- Step 404 Obtain the total running time of all applications running in the foreground according to the continuous running time.
- the electronic device When the electronic device is bright and the posture information of the electronic device satisfies the preset holding conditions, it indicates that the user is currently lying down and using the electronic device. In this case, the electronic device can count the continuous running time of all applications running in the foreground in this case, and calculate the sum value, that is, the electronic device can obtain the total running time of all applications running in the foreground. For example, when the electronic device is bright and the posture information of the electronic device meets the preset holding conditions, a total of four applications are running in the foreground, and their continuous running durations are a, b, c, and d, respectively, and the total running duration is a , B, c, d.
- Step 406 When the total running duration exceeds the second preset duration, limit the running authority of the target application.
- the second preset duration is greater than the first preset duration.
- the second preset duration can be set to 3 hours, 3.5 hours, 4 hours, 4.5 hours or other custom durations, and is not limited to the above examples.
- the target application program may include an application program currently running in the foreground, an application program running in the background, and an application program that is not in a running state, but does not include basic text messages, calls, and Positioning, sports applications.
- the electronic device may pre-store a restriction list of applications that can restrict the running authority. The number of target applications in the restriction list is at least one, and does not include basic short message, call, location, and sports applications.
- the electronic device may disable all target applications in the preset list to limit the running authority of all target applications in the preset list.
- the electronic device disabling the target application may be understood as forcibly closing the target application, so that the user is prohibited from using it, or at the same time, prohibiting other applications from calling the disabled target application.
- the electronic device may disable the target application to limit the running permission of the disabled target application, to prevent the user from indulging in a certain or certain
- the application does not know the passage of time, which affects the user's rest time.
- the method may further include:
- Step 405 when the operation information reaches the preset condition, a reminder alarm is issued.
- the electronic device may issue a reminder alarm to remind the user that the usage time has timed out.
- the reminder alarm can be output in display mode, ringtone mode, etc.
- the electronic device can display the words "Bed in bed to use the application has timed out, it will be forced to quit" in the form of a prompt box, or a splash screen to remind the user that the usage time has timed out.
- the electronic device can also remind the user that the usage time has expired in the form of sound reminders such as beeps and ring tones.
- the electronic device when the running information of the application program reaches the preset condition, the electronic device can more humanely remind the user to pay attention to the rest, so as to prevent the user from indulging in an application program without knowing the passage of time and affecting the user's rest.
- the application control method includes:
- Step 502 When the screen is bright, acquire the posture information of the electronic device.
- Step 504 Obtain the running information that the application is running in the foreground according to the posture information.
- Step 506 When the operation information reaches a preset condition, the operation permission of the target application program is restricted.
- Steps 502 to 506 correspond to steps 102 to 106 in the foregoing embodiment, and will not be repeated here.
- Step 508 When the restriction removal condition is satisfied, the restriction on the execution authority of the target application is released.
- the unrestricted condition may be that the electronic device moves away from the first location and moves to the second location, where the first location is a location that restricts the execution authority of the application, and the distance between the first location and the second location Greater than the preset distance. That is, when the electronic device moves from the first position to the second position, the restriction removal condition is satisfied.
- the lifting of the restriction condition may be that the motion data of the electronic device exceeds a preset threshold.
- the movement data may refer to data such as the moving distance and the number of movement steps of the electronic device.
- the preset threshold can be set to 8000, 9000, 1000 and other values, but it is not limited to the above example. That is, when the motion data of the electronic device exceeds a preset threshold, the restriction removal condition is satisfied.
- the release condition is that the electronic device moves away from the first position and moves to the second position or the movement data of the electronic device exceeds a preset threshold, it can urge the user to exercise, and use healthy exercise to release the restriction on the operation of the application.
- the lifting of the restriction condition may be that the system time of the electronic device reaches the preset lifting time.
- the preset release time can be set according to the limitation time for the execution authority of the target application program or according to the system time of the electronic device.
- the preset release time may be two hours, that is, the time interval between restricting the time to run the application program is two hours.
- the preset release time may also be at 12 o'clock in the evening of the system time of the electronic device.
- the setting of the preset release time is not limited to the above example, but may also be other setting methods and setting values.
- the release condition is that the system time of the electronic device reaches the preset release time, it can automatically release the restriction on the operation of the target application.
- the lifting of the restriction condition may be that the electronic device receives the cancellation verification information sent by the preset contact person, and verifies the cancellation verification information.
- the electronic device may receive the user's release operation, which may be an operation of clicking the shortcut icon of the restricted application (corresponding to a restricted application), or , Click the preset release button, icon and other operations (corresponding to multiple restricted applications) and so on.
- the electronic device receives the release operation, it can send a release request to the preset contact, the preset contact can obtain the release verification information according to the received release request, and send the release verification information to the electronic device, and the electronic device receives the release verification Information, and verify it. If the verification is passed, the conditions for lifting the restriction are met.
- the electronic device When the release condition is that the electronic device receives the release verification information sent by the preset contact person and verifies the release verification information, it can release the restriction on the operation of the target application in an emergency, and does not affect the user's Use of the application.
- the restriction removal condition when the restriction removal condition is satisfied, the restriction on the execution permission of at least one target application is released, and the restriction on the execution permission of the target application can be removed to restore the target application to a normal state, and the user can be normal Use the target application without affecting the normal use of electronic devices by users.
- releasing the restriction on the execution authority of at least one application includes:
- step 602 when the restriction removal condition is satisfied, the type of the restriction removal condition is acquired.
- step 508 the four kinds of lifting restrictions are elaborated, and they can be classified to obtain the corresponding types of lifting restrictions.
- This type includes partial release classes and full release classes. Partial release class, that is, only one or part of the applications with restricted operation rights can be released, and all release class can release all the applications with restricted operation rights.
- the type of lifting the restriction condition is that the electronic device moves away from the first position and moves to the second position is the all lifting type;
- the type of lifting restriction condition is the type of the movement data of the electronic device exceeding the preset threshold is the all lifting type;
- the type when the system time of the device reaches the preset release time is a partial release type;
- the release restriction condition is that the electronic device receives the release verification information sent by the preset contact, and the type of verification of the release verification information may be a partial release type or All classes are lifted.
- step 604 the target application program with restricted execution authority is released according to the type.
- the electronic device can determine the target application that can be released from the execution authority according to the type of the removal restriction condition.
- the full release class can release all target applications with restricted operation rights; the partial release class can release one or part of the target applications with restricted operation rights.
- the restriction removal condition is that the electronic device receives the release verification information sent by the preset contact and verifies the release verification information
- the release operation received by the electronic device is to click the shortcut icon of the restricted application
- the corresponding application that can release the restricted operation permission is the target application corresponding to the shortcut icon; if the cancellation operation received by the electronic device is to click the preset release button or icon, the corresponding restricted operation permission can be released Is the target application corresponding to the preset release button and icon.
- the electronic device can release the restriction on the execution permission of the target application program according to the type of the released restriction condition, which improves the removal efficiency.
- the application program control method further includes the step of: when the screen is off, closing the data transmission channel of the sensor.
- the electronic device when the screen is bright, the electronic device can activate the sensor for collecting posture information; when the screen is off, the electronic device can close the data transmission channel of the sensor and put the sensor in a sleep state to save power consumption and save energy.
- the purpose of electricity when the screen is bright, the electronic device can activate the sensor for collecting posture information; when the screen is off, the electronic device can close the data transmission channel of the sensor and put the sensor in a sleep state to save power consumption and save energy.
- the purpose of electricity when the screen is bright, the electronic device can activate the sensor for collecting posture information; when the screen is off, the electronic device can close the data transmission channel of the sensor and put the sensor in a sleep state to save power consumption and save energy.
- steps in the flowcharts of FIGS. 3-6 are displayed in order according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless clearly stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least some of the steps in FIGS. 3-6 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or stages The execution order of is not necessarily sequential, but may be executed in turn or alternately with at least a part of other steps or sub-steps or stages of other steps.
- FIG. 7 is a schematic structural diagram of an application program control device in an embodiment.
- the application control device includes a gesture acquisition module 710, an operation acquisition module 720, and a permission limitation module 730. among them,
- the posture acquisition module 710 is used to obtain posture information of the electronic device when the screen is bright;
- the operation obtaining module 720 is used to obtain the operation information that the application is running in the foreground according to the posture information;
- the permission limitation module 730 is configured to limit the execution permission of the target application program when the execution information reaches a preset condition.
- the above-mentioned application control device obtains the posture information of the electronic device when the screen is bright; obtains the running information of the application running in the foreground according to the posture information; when the running information reaches a preset condition, restricts the running authority of the target application It can limit the running authority of the target application when the posture information and operation information obtained when the electronic device is on the screen meet the corresponding conditions at the same time, which can limit the user's excessive use of the electronic device, which is beneficial to the user's physical and mental development.
- running the acquisition module 720 includes:
- the grip judgment unit is used to judge whether the posture information meets the preset grip conditions
- the operation acquiring unit is configured to correspondingly acquire the operating information of the application program running in the foreground under the preset holding condition when the posture information meets the preset holding condition.
- the running information includes the application identifier and the duration of continuous operation.
- the running information is recorded and stored in the form of key-value pairs.
- the operation acquiring unit is further used to acquire the three-axis components of the three-axis acceleration information, which are the X-axis component, the Y-axis component, and the Z-axis component; when the Z-axis component is less than the first preset value or when X When the absolute value of the axis component is greater than the second preset value, the posture information meets the preset grip condition.
- the permission limitation module 730 includes:
- the duration acquiring unit is used to acquire the continuous running duration of each application running in the foreground according to the application identifier
- the permission limitation unit is used to disable the application running in the foreground to limit the operation permission of the target application when the continuous running duration exceeds the first preset duration, or to obtain all the running in the foreground according to the continuous running duration
- the total running time of the application program limits the running authority of the target application program.
- the electronic device may disable the application to limit the running authority of the target application, so as to prevent users from indulging in an application. I don't know how the passage of time affects the user's rest.
- the permission limitation module 730 includes:
- the alarm unit is used to issue a reminder alarm when the operation information reaches a preset condition.
- the electronic device when the running information of the application running in the foreground reaches a preset condition, the electronic device can more humanely remind the user to pay attention to rest, to prevent the user from indulging in an application without knowing the passage of time, affecting the user ’s rest.
- the application control device further includes:
- the permission release module releases the restriction on the execution permission of the target application when the restriction removal condition is satisfied.
- the lifting of restrictions includes:
- the electronic device moves away from the first location and moves to the second location, where the first location is a location that restricts the execution authority of the application, and the distance between the first location and the second location is greater than the preset distance; or,
- the movement data of the electronic device exceeds a preset threshold; or,
- the system time of the electronic device reaches the preset release time; or,
- the electronic device receives the de-authentication information sent by the preset contact person, and verifies the de-authentication information.
- the release condition is that the electronic device moves away from the first position and moves to the second position or the movement data of the electronic device exceeds a preset threshold, it can urge the user to exercise, and use healthy exercise to release the restriction on the application.
- the release condition is that the system time of the electronic device reaches the preset release time, it can automatically release the restriction on the operation of the target application.
- the electronic device When the release condition is that the electronic device receives the release verification information sent by the preset contact person and verifies the release verification information, it can release the restriction on the operation of the target application in an emergency, and does not affect the user's Use of the application.
- the restriction removal condition when the restriction removal condition is satisfied, the restriction on the execution permission of at least one target application is released, and the restriction on the execution permission of the target application can be removed to restore the target application to a normal state, and the user can Use the target application without affecting the normal use of electronic devices by users.
- the permission release module is also used to obtain the type of the release restriction condition when the release restriction condition is satisfied; the target application with the restricted execution permission is released according to the type.
- the electronic device can release the restriction on the execution permission of the target application program according to the type of the released restriction condition, which improves the removal efficiency.
- the gesture acquisition module includes:
- the activation unit is used to activate a sensor for collecting posture information when the screen is bright;
- the posture acquisition unit is used for acquiring posture information of the electronic device according to the acceleration information and / or angular velocity information collected by the sensor.
- the application control device further includes:
- the channel closing module is used to close the data transmission channel of the sensor when the screen is off.
- the electronic device when the screen is bright, the electronic device can activate the sensor for collecting posture information; when the screen is off, the electronic device can close the data transmission channel of the sensor and put the sensor in a sleep state to save power consumption and save energy.
- the purpose of electricity when the screen is bright, the electronic device can activate the sensor for collecting posture information; when the screen is off, the electronic device can close the data transmission channel of the sensor and put the sensor in a sleep state to save power consumption and save energy.
- the purpose of electricity when the screen is bright, the electronic device can activate the sensor for collecting posture information; when the screen is off, the electronic device can close the data transmission channel of the sensor and put the sensor in a sleep state to save power consumption and save energy.
- each module in the above-mentioned application control device is for illustration only. In other embodiments, the application control device may be divided into different modules as needed to complete all or part of the functions of the above application control device.
- Each module in the above application program control device may be implemented in whole or in part by software, hardware, and a combination thereof.
- the above modules may be embedded in the hardware or independent of the processor in the electronic device, or may be stored in the memory in the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
- the embodiments of the present application also provide a computer-readable storage medium.
- One or more non-volatile computer-readable storage media containing computer-executable instructions when the computer-executable instructions are executed by one or more processors, cause the processor to perform the following steps of the application control method:
- the running authority of the target application program is limited, and the target application program includes at least an application program running in the foreground.
- one or more non-volatile computer-readable storage media containing computer-executable instructions when the computer-executable instructions are executed by one or more processors, may also cause the processor to perform any of the foregoing implementations The application control method in the example.
- a computer program product containing instructions that, when run on a computer, causes the computer to perform the steps of the application program control method:
- the running authority of the target application program is limited, and the target application program includes at least an application program running in the foreground.
- a computer program product containing instructions when run on a computer, causes the computer to execute the application program control method in any of the above embodiments.
- An embodiment of the present application also provides an electronic device. As shown in FIG. 8, for ease of description, only parts related to the embodiments of the present application are shown, and specific technical details are not disclosed, please refer to the method part of the embodiments of the present application.
- the electronic device may be any terminal device including a mobile phone, tablet computer, PDA (Personal Digital Assistant), POS (Point of Sales), in-vehicle computer, wearable device, etc. that has a voice call function and has a speaker , Taking an electronic device as a mobile phone as an example:
- the mobile phone includes: a radio frequency (Radio Frequency) circuit 810, a memory 820, an input unit 830, a display unit 840, a sensor 850, an audio circuit 860, a wireless fidelity (WiFi) module 870, and a processor 880 , And power supply 890 and other components.
- Radio Frequency Radio Frequency
- a memory 820 for storing data
- a sensor 850 for detecting and a wireless fidelity
- WiFi wireless fidelity
- processor 880 a processor 880
- power supply 890 and other components.
- the structure of the mobile phone shown in FIG. 8 does not constitute a limitation on the mobile phone, and may include more or fewer components than those shown in the figure, or a combination of certain components, or a different component arrangement.
- the RF circuit 810 can be used to receive and send signals during the sending and receiving of information or during a call. It can receive the downlink information of the base station and process it to the processor 880; it can also send the uplink data to the base station.
- RF circuits include but are not limited to antennas, at least one amplifier, transceiver, coupler, low noise amplifier (Low Noise Amplifier, LNA), duplexer, and so on.
- the RF circuit 810 can also communicate with other devices through a wireless communication network.
- the above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile (GSM), General Packet Radio Service (GPRS), and Code Division Multiple Access (Code Division) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Message Service (SMS), etc.
- GSM Global System of Mobile
- GPRS General Packet Radio Service
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- LTE Long Term Evolution
- SMS Short Message Service
- the memory 820 may be used to store software programs and modules.
- the processor 880 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 820.
- the memory 820 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system and at least one function-required application program (such as a sound playback function application program, an image playback function application program, etc.), etc .;
- the data storage area can store data (such as audio data, address book, etc.) created according to the use of the mobile phone.
- the memory 820 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
- the input unit 830 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the mobile phone 800.
- the input unit 830 may include a touch panel 831 and other input devices 832.
- the touch panel 831 also known as a touch screen, can collect user's touch operations on or near it (such as the user using any finger, stylus, or any other suitable object or accessory on or near the touch panel 831 Operation), and drive the corresponding connection device according to the preset program.
- the touch panel 831 may include a touch detection device and a touch controller.
- the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates, and then sends To the processor 880, and can receive the command sent by the processor 880 and execute it.
- the touch panel 831 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the input unit 830 may also include other input devices 832.
- other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
- the display unit 840 may be used to display information input by the user or information provided to the user and various menus of the mobile phone.
- the display unit 840 may include a display panel 841.
- the display panel 841 may be configured in the form of a liquid crystal display (Liquid Crystal) (LCD), an organic light emitting diode (Organic Light-Emitting Diode, OLED), or the like.
- the touch panel 831 may cover the display panel 841, and when the touch panel 831 detects a touch operation on or near it, it is transmitted to the processor 880 to determine the type of touch event, and then the processor 880 according to The type of touch event provides a corresponding visual output on the display panel 841.
- the touch panel 831 and the display panel 841 are implemented as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 831 and the display panel 841 may be integrated and Realize the input and output functions of the mobile phone.
- the mobile phone 800 may further include at least one sensor 850, such as a light sensor, a motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 841 according to the brightness of the ambient light, and the proximity sensor may close the display panel 841 and / or when the mobile phone moves to the ear Or backlight.
- the motion sensor may include an acceleration sensor. The acceleration sensor can detect the magnitude of acceleration in various directions, and can detect the magnitude and direction of gravity when at rest. Pedometer, percussion), etc.
- the mobile phone can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor and so on.
- the audio circuit 860, the speaker 861, and the microphone 862 may provide an audio interface between the user and the mobile phone.
- the audio circuit 860 can transmit the converted electrical signal of the received audio data to the speaker 861, which converts the speaker 861 into a sound signal output; on the other hand, the microphone 862 converts the collected sound signal into an electrical signal, which After receiving, it is converted into audio data, and then processed by the audio data output processor 880, and then sent to another mobile phone via the RF circuit 810, or the audio data is output to the memory 820 for subsequent processing.
- WiFi is a short-range wireless transmission technology.
- the mobile phone can help users send and receive e-mails, browse web pages, and access streaming media through the WiFi module 870. It provides users with wireless broadband Internet access.
- FIG. 8 shows the WiFi module 870, it can be understood that it is not a necessary component of the mobile phone 800, and may be omitted as needed.
- the processor 880 is the control center of the mobile phone, and uses various interfaces and lines to connect the various parts of the entire mobile phone. Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole.
- the processor 880 may include one or more processing units.
- the processor 880 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, user interface, application programs, and the like; the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 880.
- the mobile phone 800 further includes a power supply 890 (such as a battery) for powering various components.
- a power supply 890 (such as a battery) for powering various components.
- the power supply can be logically connected to the processor 880 through the power management system, so as to realize functions such as charging, discharging, and power management through the power management system.
- the mobile phone 800 may further include a camera, a Bluetooth module, and the like.
- the processor 880 included in the electronic device implements the following steps when executing the computer program stored on the memory:
- the operation authority of a target application program is restricted, and the target application program includes at least an application program running in the foreground.
- the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), etc.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2018/115664 WO2020097858A1 (fr) | 2018-11-15 | 2018-11-15 | Procédé et appareil de commande de programme d'application, support de stockage informatique et dispositif électronique |
| CN201880097279.6A CN112654966A (zh) | 2018-11-15 | 2018-11-15 | 应用程序控制方法、装置、计算机可存储介质和电子设备 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2018/115664 WO2020097858A1 (fr) | 2018-11-15 | 2018-11-15 | Procédé et appareil de commande de programme d'application, support de stockage informatique et dispositif électronique |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020097858A1 true WO2020097858A1 (fr) | 2020-05-22 |
Family
ID=70730372
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/115664 Ceased WO2020097858A1 (fr) | 2018-11-15 | 2018-11-15 | Procédé et appareil de commande de programme d'application, support de stockage informatique et dispositif électronique |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN112654966A (fr) |
| WO (1) | WO2020097858A1 (fr) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115408680A (zh) * | 2022-08-23 | 2022-11-29 | Oppo广东移动通信有限公司 | 一种应用程序控制方法、终端、芯片及存储介质 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104281377A (zh) * | 2013-07-04 | 2015-01-14 | 联想(北京)有限公司 | 一种电子设备及其屏幕控制方法及装置 |
| CN106357898A (zh) * | 2016-09-07 | 2017-01-25 | 惠州Tcl移动通信有限公司 | 基于智能穿戴设备提醒用户走路不玩手机的方法及系统 |
| US9754331B1 (en) * | 2014-01-30 | 2017-09-05 | Grubhub Holdings Inc. | System and method for managing group orders |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3195098B1 (fr) * | 2014-07-21 | 2024-10-23 | Apple Inc. | Interface utilisateur distante |
| CN105243322A (zh) * | 2015-10-10 | 2016-01-13 | 深圳市金立通信设备有限公司 | 一种应用程序控制方法及终端 |
| CN106506806B (zh) * | 2016-09-30 | 2019-11-15 | 维沃移动通信有限公司 | 一种移动终端的使用提醒方法和装置 |
| CN107147799A (zh) * | 2017-05-31 | 2017-09-08 | 东莞市联臣电子科技股份有限公司 | 一种电子设备、护眼系统以及护眼方法 |
-
2018
- 2018-11-15 WO PCT/CN2018/115664 patent/WO2020097858A1/fr not_active Ceased
- 2018-11-15 CN CN201880097279.6A patent/CN112654966A/zh active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104281377A (zh) * | 2013-07-04 | 2015-01-14 | 联想(北京)有限公司 | 一种电子设备及其屏幕控制方法及装置 |
| US9754331B1 (en) * | 2014-01-30 | 2017-09-05 | Grubhub Holdings Inc. | System and method for managing group orders |
| CN106357898A (zh) * | 2016-09-07 | 2017-01-25 | 惠州Tcl移动通信有限公司 | 基于智能穿戴设备提醒用户走路不玩手机的方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112654966A (zh) | 2021-04-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108418953B (zh) | 终端的屏幕控制方法和装置、可读存储介质、终端 | |
| US12587935B2 (en) | Terminal behavior triggering method and terminal | |
| CN108388414B (zh) | 终端的灭屏控制方法和装置、计算机可读存储介质、终端 | |
| CN109388220B (zh) | 一种电源管理方法及移动终端 | |
| CN108307074A (zh) | 显示控制方法和装置、终端、计算机可读存储介质 | |
| CN108376086A (zh) | 显示控制方法和装置、终端、计算机可读存储介质 | |
| CN105739699B (zh) | 一种消息提示的控制方法及终端设备 | |
| CN107613131A (zh) | 一种应用程序免打扰方法及移动终端 | |
| CN108388413A (zh) | 终端的屏幕控制方法和装置、可读存储介质、终端 | |
| CN106850978A (zh) | 一种应用程序控制方法及相关设备 | |
| CN108920059A (zh) | 消息处理方法及移动终端 | |
| CN108391001A (zh) | 终端的屏幕控制方法和装置、可读存储介质、终端 | |
| WO2019095155A1 (fr) | Procédé de notification de fatigue et terminal | |
| CN108366170A (zh) | 显示控制方法和装置、终端、计算机可读存储介质 | |
| CN107438999B (zh) | 进入省电模式的方法、退出省电模式的方法、装置及移动终端 | |
| CN108628430A (zh) | 一种游戏省电控制方法、终端及计算机可读存储介质 | |
| CN107948404A (zh) | 一种处理消息的方法、终端设备及计算机可读存储介质 | |
| CN108388335B (zh) | 一种控制移动终端的方法和移动终端 | |
| CN107066090B (zh) | 一种控制指纹识别模组的方法及移动终端 | |
| CN108418950A (zh) | 消息提醒方法及移动终端 | |
| CN109873636A (zh) | 频率调整方法和移动终端 | |
| CN106648460B (zh) | 计步数据过滤方法及智能终端 | |
| WO2020097858A1 (fr) | Procédé et appareil de commande de programme d'application, support de stockage informatique et dispositif électronique | |
| WO2022217590A1 (fr) | Procédé d'invite vocale, terminal, et support de stockage | |
| WO2022217591A1 (fr) | Procédé de réveil de fonction, terminal et support de stockage |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18940075 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18940075 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15.09.2021) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18940075 Country of ref document: EP Kind code of ref document: A1 |