Screen light control method and device for electronic device and electronic device
By obtaining the user's personal attribute information and sensor data, and matching the preset data to control the screen lighting of electronic devices, the problem of low screen lighting control accuracy in the existing technology is solved, a faster and more accurate screen lighting response is achieved, and the user experience is improved. experience.
Patent Information
- Application Number
- CN202110315770.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-24
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-03-24
AI Technical Summary
The existing screen-on control method of electronic equipment has low accuracy in detecting hand-raising movements, and often misses or false triggers occur, affecting normal use.
By obtaining the user's personal attribute information and sensor data, and matching the preset data to control the electronic device's screen turning on, it supplements the actions that the user wants to turn on the screen that are not in the existing screen turning action library, reduces missed triggers, and improves the accuracy of the screen turning on.
It achieves faster and more accurate action prediction, improves the response speed and accuracy of the bright screen, and provides a better user experience.
Smart Images

Figure CN113157090B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic technology, and specifically relates to a screen lighting control method and device for an electronic device, and the electronic device. Background Art
[0002] Electronic devices such as wristbands, smart watches, mobile phones or smart rings have screens, and users can use these electronic devices to view information, make mobile payments and other functions. To use the above functions, the screen needs to be turned on (referred to as "turning on the screen").
[0003] When the electronic device is worn on the user's hand (such as a wrist or finger), raising the hand to light up the screen is a very convenient way to light up the screen. The implementation process is that the electronic device lights up the screen after detecting the user's hand raising action.
[0004] In the process of implementing this application, the inventors found that there are at least the following problems in the prior art: the existing screen-lighting control method has a low accuracy rate in detecting the hand-raising action, resulting in frequent missed triggers or false triggers, which affects the normal use of the electronic device. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a method and device for controlling the screen lighting of an electronic device, and an electronic device, which can solve the problem of low accuracy in lighting the screen of the electronic device.
[0006] In order to solve the above technical problems, this application is implemented as follows:
[0007] In a first aspect, an embodiment of the present application provides a screen lighting control method for an electronic device, the method comprising:
[0008] Obtain the user's personal attribute information;
[0009] Get sensor data;
[0010] When the sensor data matches the preset data corresponding to the personal attribute information, controlling the electronic device to light up the screen;
[0011] The sensor data is data collected by the target sensor.
[0012] In a second aspect, an embodiment of the present application provides a device for lighting up the screen of a wrist-worn device, the device comprising:
[0013] Attribute acquisition module, used to obtain the user's personal attribute information;
[0014] Motion monitoring module, obtains sensor data;
[0015] A screen control module, used to control the screen of the electronic device to light up when the sensor data matches the preset data corresponding to the personal attribute information;
[0016] The sensor data is data collected by the target sensor.
[0017] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0018] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0019] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0020] In an embodiment of the present application, by obtaining the user's personal attribute information, the electronic device is controlled to light up the screen when the sensor data matches the preset data corresponding to the personal attribute information, thereby supplementing the actions that are not in the existing screen-lighting action library but that the user wants to light up the screen, reducing the possibility of missed triggers, and improving the accuracy of lighting up the screen, thereby achieving a quicker and more accurate predicted action and a quicker response, which can achieve a faster response speed and a higher response accuracy for lighting up the screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is a flowchart of a method for controlling a screen of an electronic device provided in an embodiment of the present application;
[0022] Figure 2 is a front view of an electronic device provided by an embodiment of the present application;
[0023] Figure 3 It is a flowchart of a method for controlling a screen of an electronic device provided in an embodiment of the present application;
[0024] Figure 4 It is a structural schematic diagram of a screen light control device of an electronic device provided in an embodiment of the present application;
[0025] Figure 5 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0027] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.
[0028] In the following, in conjunction with the accompanying drawings, the screen lighting method, device, electronic device and storage medium of the wrist-worn device provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0029] Figure 1 1 is a flow chart of a method for controlling the screen of an electronic device provided in an embodiment of the present application. Figure 1 The screen lighting method of an electronic device provided in an embodiment of the present application is described. Figure 1 As shown, the method includes: step 101, obtaining the user's personal attribute information.
[0030] It should be noted that usually, electronic devices are preset with one or more screen-lighting actions, but users may need to light up the screen of the electronic device when performing an action different from the above preset screen-lighting actions.
[0031] The screen-on action can trigger the screen of the electronic device to switch from off to on.
[0032] Optionally, after the user purchases the electronic device, when using the electronic device for the first time and turning on the motion-to-light-screen switch, the electronic device will ask the user whether personalized customization is required, and guide the user to actively complete the training of the motion-to-light-screen algorithm.
[0033] The user can input a first input for representing personal attribute information into the electronic device according to his / her own needs, based on a user input unit included in the electronic device, or a terminal (such as a mobile phone or tablet computer, etc.) connected to the electronic device via a communication method such as Bluetooth.
[0034] The first input can be input in the form of direct input or selection.
[0035] Based on the first input, personal attribute information of the user may be obtained.
[0036] The personal attribute information may include at least one of the user's occupation, gender, age, work location, and custom actions.
[0037] Customized actions are personalized. A user may need an action that can trigger the screen of an electronic device to switch from off to on, but the action is not an existing screen-on action in the screen-on action library of the electronic device.
[0038] Step 102: Obtain sensor data.
[0039] Among them, the sensor data is the data collected by the target sensor.
[0040] Optionally, the electronic device may obtain sensor data collected by a target sensor included in the electronic device.
[0041] Optionally, the target sensor includes a gyroscope and an accelerometer, which can collect data generated by various hand movements of the user when wearing the electronic device as sensor data.
[0042] Optionally, the sensor data may include acceleration data and angle data of three axes: X, Y, and Z.
[0043] Alternatively, if Figure 2 As shown, the Z axis is the screen of the electronic device (such as Figure 2 The dial 201 of the smart watch shown is a vertical coordinate axis, the positive direction of the Z axis is the direction from the back of the screen of the electronic device to the front of the screen; the X axis and the Y axis are coordinate axes on the plane where the screen of the electronic device is located; the X axis and the Y axis are perpendicular to each other; the positive direction of the Y axis is the direction from bottom to top when looking directly at the screen of the electronic device; the positive direction of the X axis is the direction from left to right when looking directly at the screen of the electronic device; the coordinate origin is the center of the screen.
[0044] Usually, electronic devices are connected through wrist straps (such as Figure 2 The smart watch strap 202 is shown to be worn on the user's wrist, and electronic devices such as smart rings can be worn on other parts of the hand such as fingers.
[0045] According to the usage habits of electronic devices, the wrist raising action can usually be used as the screen-lighting action to trigger the electronic device to light up the screen. The types of wrist raising actions may include standing wrist raising, office scene wrist raising, sports scene wrist raising, and lying wrist raising.
[0046] The most common standing wrist raise in daily life is the standing wrist raise. The standard standing wrist raise action is that the user raises the arm from natural hanging to the chest with the back of the hand facing up.
[0047] The characteristics of an action may include initial posture characteristics, final posture characteristics, and action process characteristics.
[0048] For example, taking the example of wearing an electronic device on the left hand, for the above-mentioned standard standing wrist-raising action, the initial posture features include the X-axis coinciding with the direction of gravity and pointing vertically downward; the final posture feature is that the Z-axis points upward, and the X-axis and Y-axis point horizontally; the electronic device rotates counterclockwise around the X-axis and clockwise around the Y-axis and Z-axis.
[0049] Custom actions can be actions performed by users in scenarios that they often use.
[0050] For example, when a user is riding on a crowded public transportation such as a subway or bus, it is difficult for the user to perform the standard standing wrist raising action of raising the arm to the chest, and the user can only raise the wrist at a smaller angle. Therefore, the small-angle wrist raising action can be added as a custom action.
[0051] Taking wearing an electronic device on the left hand as an example, for the above-mentioned small-angle wrist-raising action, the initial posture characteristics may include the X-axis coinciding with the direction of gravity and pointing vertically downward; the final posture characteristics may include the watch's Z-axis pointing upward, the X-axis pointing downward, and the Y-axis pointing horizontally; the process characteristics include the electronic device rotating counterclockwise around the X-axis and clockwise around the Z-axis, and the rotation speed is within the target speed range.
[0052] Step 103: When the sensor data matches the preset data corresponding to the personal attribute information, control the electronic device to light up the screen.
[0053] Optionally, based on the sensor data, features such as the duration of the user's action, the trajectory of the action, the posture of the electronic device during the action, etc. can be obtained as features of the sensor data.
[0054] The characteristics of sensor data can describe the initial posture characteristics, final posture characteristics, and action process characteristics of the action.
[0055] Based on the sensor data collected by the gyroscope, the direction changes of the electronic device's X, Y, and Z axes during the user's action can be obtained; based on the sensor data collected by the accelerometer, the rotation speed of the electronic device around the X, Y, and Z axes during the user's action can be obtained.
[0056] The preset data may be feature data of the screen-lighting action that has been acquired in advance.
[0057] The preset data can be stored in a first database of the electronic device.
[0058] The preset data corresponding to the personal attribute information is the characteristic data of the screen-lighting action corresponding to the personal attribute information.
[0059] The characteristics of the sensor data may be compared with the preset data corresponding to the personal attribute information to determine whether the characteristics of the sensor data match the preset data corresponding to the personal attribute information.
[0060] The characteristics of the sensor data match the preset data corresponding to the personal attribute information, indicating that the sensor data matches the preset data corresponding to the personal attribute information, and it is detected that the user has just performed an action to turn the screen on. Therefore, when the screen of the electronic device is off, the screen of the electronic device is controlled to switch from off to on.
[0061] It should be noted that the algorithm for determining whether sensor data matches a preset data can make a quick and accurate prediction, that is, when the user completes 2 / 3 or even less of the action, the screen-on command can be responded to in advance, thereby giving the user a better screen-on experience.
[0062] The embodiment of the present application obtains the user's personal attribute information, and when the sensor data matches the preset data corresponding to the personal attribute information, controls the electronic device to light up the screen, which can supplement the actions that are not in the existing screen-lighting action library but the user wants to light up the screen, can reduce the situation of missed triggering, and can improve the accuracy of screen-lighting, so as to achieve a faster and more accurate prediction of the action to achieve a quick response, and can achieve a faster response speed and higher response accuracy of the screen-lighting.
[0063] Figure 3 is a flow chart of a method for controlling the screen of an electronic device provided in an embodiment of the present application. Figure 3 As shown, the method further includes: step 301, receiving user input.
[0064] It should be noted that the specific actions of users in certain scenarios (such as exercise or fitness) are similar to the characteristics of the screen-lighting action. In this scenario, it is not necessary to trigger the electronic device to light up the screen through the above-mentioned specific actions. However, detection based on the characteristic data of the action cannot distinguish the scenario. In this scenario, the above-mentioned specific actions will be repeated a large number of times, frequently triggering the electronic device to light up the screen, reducing the battery life of the electronic device.
[0065] For example, when the user is exercising on a spinning bike, the movement of the arm includes actions similar to the arm moving horizontally to the chest with the screen of the electronic device facing upwards; and the action process of the arm moving horizontally to the chest with the screen of the electronic device facing upwards is when the user is sitting, with his arms on the table, the screen of the electronic device facing upwards, and the arms parallel to the table and moving horizontally to the chest, which is not used in scenarios where the user is exercising.
[0066] For example, when a user performs fitness scenarios such as seated lateral raises with a resistance band, the arm movement process includes actions similar to seated wrist raises; and the seated wrist raise action process is that the user's arms naturally hang down outside the armrests of the seat, and are raised to lie flat on the armrests, with the screen of the electronic device facing upwards, and is not used in user fitness scenarios.
[0067] Optionally, the user can input an input to the electronic device based on the user input unit included in the electronic device, or a terminal (such as a mobile phone or tablet computer, etc.) connected to the electronic device via a communication method such as Bluetooth, etc. The input is the second input.
[0068] The second input is used to determine an invalid screen-lighting action, so that the screen-lighting action that can originally trigger the electronic device to light up the screen becomes invalid and does not trigger the electronic device to light up the screen.
[0069] The second input may be actively input by the user or may be input based on prompt information.
[0070] The second input carries information of at least one screen-lighting action to be set to be disabled.
[0071] The second input may also carry a target condition for limiting the time limit of the invalid screen-on action, for example, a time period selected by the user, during which the invalid screen-on action does not trigger the electronic device to light up the screen.
[0072] Step 302: In response to the input, set the preset data corresponding to the input as invalid data.
[0073] Optionally, the electronic device responds after receiving the second input.
[0074] The characteristic data of the screen-lighting action is preset data, and therefore, the preset data corresponding to the second input is the characteristic data of the at least one screen-lighting action to be disabled.
[0075] According to the information of at least one screen-lighting action to be disabled carried by the second input, the characteristic data of the at least one screen-lighting action to be disabled in the first database of the electronic device is set as disabled data.
[0076] The failure data may be stored in a second database of the electronic device.
[0077] Step 303: Acquire sensor data.
[0078] Optionally, the electronic device may obtain sensor data collected by a target sensor included in the electronic device.
[0079] Step 304: When the screen of the electronic device is off and the sensor data matches the failure data, control the electronic device to keep the screen off.
[0080] Optionally, based on the sensor data, features such as the duration of the user's action, the trajectory of the action, the posture of the electronic device during the action, etc. can be obtained as features of the sensor data.
[0081] The characteristics of the sensor data may be compared with the failure data to determine whether the characteristics of the sensor data match the failure data.
[0082] The characteristics of the sensor data match the failure data, indicating that it is detected that the user has just performed a failed screen-on action. Therefore, when the screen of the electronic device is off, the screen of the controlled electronic device remains off, while the screen of the non-controlled electronic device is switched from off to on.
[0083] The embodiment of the present application sets at least one preset data as invalid data, and when the screen of the electronic device is off and the sensor data matches the invalid data, the electronic device is controlled to keep the screen off, so that when the user needs it, one or some of the original screen-on actions no longer trigger the electronic device to light up the screen, which can avoid frequently lighting up the screen of the electronic device, reduce the false trigger rate, save power consumption, achieve longer battery life, and improve user experience. In addition, it can avoid the do not disturb mode that makes all screen-on actions invalid, and can prevent users from missing calls, text messages, important notifications, etc. during use, which can improve user experience.
[0084] Optionally, personal attribute information of the user is obtained, and when sensor data matches preset data corresponding to the personal attribute information, the electronic device is controlled to light up the screen. The method also includes: based on the personal attribute information, determining at least one recommended action corresponding to the personal attribute information.
[0085] Optionally, the personal attribute information may be at least one of the user's occupation, gender, age, and work location.
[0086] The electronic device may be pre-set with candidate actions corresponding to the personal attribute information.
[0087] The candidate action is a screen-lighting action, which can be used to trigger an electronic device to light up its screen and corresponds to one or more personal attribute information.
[0088] For example, the user's occupation is an office worker. When the user is sitting, the screen of the electronic device is facing outward (perpendicular to the desktop) when the user's arm is on the desk. In this scenario, the user can rotate the wrist to turn the screen upward to view the information displayed on the screen of the electronic device. The above action process can be called turning the dial outward to look at the watch flat, and turning the dial outward to look at the watch flat can be used as a candidate action.
[0089] For another example, the user is an office worker and is sitting with his arm on the desk with the screen of the electronic device facing upwards. In this scenario, the user can view the information displayed on the screen of the electronic device by lifting his arm from the contact with the desk. The above action process can be called turning the wrist to look at the watch with the dial facing upwards, and turning the wrist to look at the watch with the dial facing upwards can be a candidate action.
[0090] For another example, if the user's occupation is a salesperson, or other occupation that involves a lot of standing and walking activities, then unique actions in scenarios such as walking and cycling can be used as candidate actions.
[0091] The number of candidate actions can be one or more.
[0092] Optionally, after obtaining the user's personal attribute information, candidate actions corresponding to the user's personal attribute information can be displayed based on the screen of the electronic device or the screen of a terminal connected to the electronic device via a communication method such as Bluetooth to prompt the user to confirm or select.
[0093] At least one of the candidate actions may be determined as a recommended action based on a confirmation operation or a selection operation of the user.
[0094] Optionally, for each candidate action, an example of the execution process of the candidate action or a pre-recorded video of a model performing the candidate action can be played based on the screen of the electronic device or the screen of a terminal connected to the electronic device via a communication method such as Bluetooth, to guide the user to select and select at least one of the above candidate actions as the recommended action.
[0095] Optionally, after obtaining the user's personal attribute information, each candidate action corresponding to the user's personal attribute information may be determined as a recommended action, and the recommended action may be displayed based on the screen of the electronic device or the screen of a terminal connected to the electronic device via a communication method such as Bluetooth, so as to prompt the user.
[0096] Determine characteristic data of the recommended action as preset data corresponding to the personal attribute information.
[0097] Optionally, after determining the recommended action, the pre-acquired characteristic data of the recommended action may be determined as preset data corresponding to the user's personal attribute information.
[0098] Optionally, after determining the recommended action, the electronic device may prompt the user to perform the recommended action while wearing the electronic device on the wrist.
[0099] Optionally, for each recommended action, an example of the execution process of the recommended action or a pre-recorded video of a model performing the recommended action can be played based on the screen of the electronic device or the screen of a terminal connected to the electronic device via a communication method such as Bluetooth, to guide the user to perform the recommended action according to the above example or video while wearing the electronic device on the wrist.
[0100] For each recommended action, when the user performs the recommended action, the electronic device can collect sensor data through the included target sensor, analyze the duration of the user's recommended action, the action trajectory, the electronic device posture during the action and other characteristics based on the above sensor data, and extract data used to describe the characteristics of the recommended action as preset data corresponding to the user's personal attribute information.
[0101] The above data for describing the characteristics of the recommended action may be added to the first database of the electronic device for storage.
[0102] The embodiments of the present application determine the recommended action corresponding to the user's personal attribute information and use the characteristic data of the recommended action as the preset data corresponding to the user's personal attribute information. This can realize the preset data corresponding to the sensor data and the personal attribute information, control the screen of the electronic device, supplement the actions that are not in the existing screen-lighting action library but the user wants to turn on the screen, improve the accuracy of turning on the screen, and thereby achieve a quick response through faster and more accurate predicted actions, thereby achieving a faster response speed and higher response accuracy for turning on the screen.
[0103] Optionally, personal attribute information of the user is obtained, and when the sensor data matches preset data corresponding to the personal attribute information, the electronic device is controlled to light up the screen. The method also includes: obtaining feature data corresponding to the personal attribute information.
[0104] Optionally, the personal attribute information may be a custom action.
[0105] Optionally, for each recommended action, an example of the execution process of the recommended action or a pre-recorded video of a model performing the recommended action can be played based on the screen of the electronic device or the screen of a terminal connected to the electronic device via a communication method such as Bluetooth, to guide the user to perform the recommended action according to the above example or video while wearing the electronic device on the wrist.
[0106] For each custom action, based on the target sensor, when the user performs the custom action, the electronic device can collect sensor data through the included target sensor, and analyze the duration, movement trajectory, posture of the electronic device during the movement and other features of the user's custom action based on the above sensor data, and extract data used to describe the features of the custom action as feature data corresponding to the user's personal attribute information.
[0107] Optionally, the user follows the operating instructions and repeats the custom action at fast / normal speed / slow speed to obtain more sensor data, so that based on the sensor data, data that can more accurately describe the characteristics of the custom action can be extracted, thereby improving the accuracy of identifying the custom action.
[0108] When the characteristic data corresponding to the personal attribute information does not match the characteristic data of the preset screen-off action, the characteristic data corresponding to the personal attribute information is determined as the preset data corresponding to the personal attribute information.
[0109] Optionally, the screen-off action is used to trigger the electronic device to switch the screen from on to off.
[0110] It can be understood that in addition to being able to trigger the screen to turn on by the user performing an action to turn the screen on when the electronic device's screen is off, the screen can also be triggered to turn off by the user performing an action to turn the screen off when the electronic device's screen is on. When the screen off action is detected, the screen of the electronic device is controlled to turn off.
[0111] Therefore, in addition to presetting one or more screen-on actions, the electronic device may also pre-set one or more screen-off actions. Generally, the screen-off action conforms to the usage habits of most people. The characteristic data of the screen-off action has been stored in the third database of the electronic device.
[0112] Obtain feature data corresponding to the user's personal attribute information, and determine whether the feature data corresponding to the user's personal attribute information matches the feature data of the stored screen-off action.
[0113] If they match, it means that the custom action conflicts with the screen-off action and has similar action characteristics. If the first target feature data is directly stored in the database of the electronic device, when the user executes the custom action, it will cause a control conflict in the electronic device (i.e., controlling the screen to turn on and the screen to turn off), causing abnormal use or even damage to the electronic device.
[0114] Therefore, a prompt message for prompting that a custom action causes a control conflict can be output, prompting the user to correct the custom action. Action correction guidance information can also be output to prompt the user information about the screen-off action that conflicts with the custom action, and the user can correct the custom action so that it no longer conflicts with the conflicting screen-off action.
[0115] If they do not match, it means that the custom action does not conflict with the screen-off action and has different action characteristics, then the characteristic data corresponding to the user's personal attribute information can be stored in the database of the electronic device as the preset data corresponding to the personal attribute information. When the user executes the custom action, no control conflict will occur in the electronic device.
[0116] The embodiment of the present application determines that the feature data corresponding to the user's personal attribute information does not match the feature number of the preset screen-off action, and then stores the feature data corresponding to the user's personal attribute information as preset data in the first database of the electronic device. This can avoid conflicts between custom actions and screen-off actions, avoid control conflicts in the electronic device, ensure the normal use of the electronic device, and extend the service life of the electronic device.
[0117] Optionally, before receiving the user's input, the method further includes: acquiring sensor data.
[0118] Optionally, the electronic device may obtain sensor data collected by a target sensor included in the electronic device.
[0119] When the number of times that the sensor data matches any preset data reaches a preset threshold within a preset time period, prompt information is output to prompt the user whether to set any preset data as invalid data.
[0120] Optionally, since the electronic device supports a method of triggering the screen to light up by action, characteristic data of each action of the user will be recorded by the electronic device.
[0121] It is possible to determine, based on the characteristic data recorded by the electronic device within a preset time period, whether the same preset data continues to appear for a number of times reaching a preset threshold.
[0122] If not, it means that the user has not repeatedly performed actions that would cause the electronic device to frequently light up the screen within the preset time period.
[0123] If so, it means that within the preset time period, the user has repeatedly performed actions that cause the electronic device to frequently light up the screen, and a prompt message can be output.
[0124] The preset time period can be set as needed, for example, 5 minutes. The length of the preset time period is not specifically limited in the present embodiment.
[0125] The preset threshold can be set as needed, for example, 100 times. The specific value of the preset threshold is not specifically limited in the embodiment of the present application.
[0126] The above prompt information is used to prompt the user whether to set the above same preset data as invalid data.
[0127] The user may input a third input for setting the same preset data as invalid data according to the prompt information, and the electronic device sets the same preset data as invalid data.
[0128] The embodiment of the present application determines a failed screen-lighting action to be confirmed based on the fact that the number of times the electronic device continuously records the same preset data within a preset time period reaches a preset threshold. When a failed screen-lighting action to be confirmed is determined, a prompt message is output for user confirmation, thereby more efficiently, conveniently and accurately determining the failed data, reducing the false trigger rate, saving power consumption, achieving a longer battery life, and improving user experience.
[0129] It should be noted that the screen-on control method of an electronic device provided in the embodiment of the present application can be executed by a screen-on control device of the electronic device, or by a control module in the screen-on control device of the electronic device for executing the screen-on control method of loading the electronic device. In the embodiment of the present application, the screen-on control method of an electronic device provided in the embodiment of the present application is explained by taking the screen-on control device of an electronic device executing the screen-on control method of loading the electronic device as an example.
[0130] Figure 4 Schematic diagram of the structure of the screen light control device of the electronic device provided in the embodiment of the present application. Figure 4 As shown, the device includes: an attribute acquisition module 401, an action monitoring module 402 and a screen control module 403, wherein:
[0131] The attribute acquisition module 401 is used to acquire the user's personal attribute information;
[0132] The motion monitoring module 402 obtains sensor data;
[0133] The screen control module 403 is used to control the electronic device to light up the screen when the sensor data matches the preset data corresponding to the personal attribute information;
[0134] Among them, the sensor data is the data collected by the target sensor.
[0135] Optionally, the screen lighting control device of the electronic device further includes:
[0136] An input receiving module, used for receiving user input;
[0137] An invalidation control module, configured to, in response to an input, set preset data corresponding to the input as invalidation data;
[0138] The screen control module is also used to control the electronic device to keep the screen off when the screen of the electronic device is off and the sensor data matches the failure data.
[0139] Optionally, the screen lighting control device of the electronic device further includes:
[0140] An action recommendation module, used to determine at least one recommended action corresponding to the personal attribute information based on the personal attribute information;
[0141] The first determination module is used to determine characteristic data of the recommended action as preset data corresponding to the personal attribute information.
[0142] Optionally, the screen lighting control device of the electronic device further includes:
[0143] A feature acquisition module is used to acquire feature data corresponding to personal attribute information;
[0144] The second determination module is used to determine the characteristic data corresponding to the personal attribute information as the preset data corresponding to the personal attribute information when the characteristic data corresponding to the personal attribute information does not match the characteristic data of the preset screen-off action.
[0145] Optionally, the screen lighting control device of the electronic device further includes:
[0146] The failure prompt module is used to output prompt information for prompting the user whether to set any preset data as invalid data when the number of times the sensor data matches any preset data reaches a preset threshold within a preset time period.
[0147] The screen-lighting control device of the electronic device in the embodiment of the present application can be a device, or a component, an integrated circuit, or a chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0148] The screen-lighting control device of the electronic device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0149] The screen light control device of the electronic device provided in the embodiment of the present application can realize Figures 1 to 3 The various processes implemented by the screen lighting control device of the electronic device in the method embodiment will not be described again here to avoid repetition.
[0150] The embodiments of the present application obtain the user's personal attribute information, and when the sensor data matches the preset data corresponding to the personal attribute information, control the electronic device to light up the screen. This can supplement the existing screen-lighting action library with actions that the user wants to light up the screen, reduce missed triggers, and improve the accuracy of lighting up the screen, thereby achieving a quicker and more accurate predicted action and a quicker response, and achieving a faster response speed and a higher response accuracy for lighting up the screen.
[0151] Figure 5 The hardware structure diagram of the electronic device provided in the embodiment of the present application is shown in FIG. Figure 5 As shown, the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510 and other components.
[0152] Those skilled in the art will appreciate that the electronic device 500 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 510 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 5 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0153] It should be understood that in the embodiment of the present application, the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, and the graphics processor 5041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 507 includes a touch panel 5071 and other input devices 5072. The touch panel 5071 is also called a touch screen. The touch panel 5071 may include two parts: a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0154] In the embodiment of the present application, the radio frequency unit 501 receives downlink data from the network side device and sends it to the processor 510 for processing; in addition, the uplink data is sent to the network side device. Generally, the radio frequency unit 501 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
[0155] The memory 509 can be used to store software programs or instructions and various data. The memory 509 may mainly include a program or instruction storage area and a data storage area, wherein the program or instruction storage area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 509 may include a high-speed random access memory, and may also include a non-volatile memory, wherein the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. For example, at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device.
[0156] The processor 510 may include one or more processing units; optionally, the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs or instructions, etc., and the modem processor mainly processes wireless communications, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 510.
[0157] The processor 510 is used to obtain the user's personal attribute information; obtain sensor data; and control the electronic device to light up the screen when the sensor data matches the preset data corresponding to the personal attribute information; wherein the sensor data is the data collected by the target sensor.
[0158] The embodiments of the present application obtain the user's personal attribute information, and when the sensor data matches the preset data corresponding to the personal attribute information, control the electronic device to light up the screen. This can supplement the existing screen-lighting action library with actions that the user wants to light up the screen, reduce missed triggers, and improve the accuracy of lighting up the screen, thereby achieving a quicker and more accurate predicted action and a quicker response, and achieving a faster response speed and a higher response accuracy for lighting up the screen.
[0159] Processor 510 is also used to receive user input; in response to the input, set the preset data corresponding to the input as invalid data; obtain sensor data; and when the electronic device screen is turned off and the sensor data matches the invalid data, control the electronic device to keep the screen off.
[0160] The processor 510 is further configured to determine, based on the personal attribute information, at least one recommended action corresponding to the personal attribute information; and determine feature data of the recommended action as preset data corresponding to the personal attribute information.
[0161] Processor 510 is also used to obtain characteristic data corresponding to personal attribute information; when the characteristic data corresponding to the personal attribute information does not match the characteristic data of the preset screen-off action, the characteristic data corresponding to the personal attribute information is determined as the preset data corresponding to the personal attribute information.
[0162] The processor 510 is also used to obtain sensor data; when the number of times the sensor data matches any preset data reaches a preset threshold within a preset time period, output a prompt message for prompting the user whether to set any preset data as invalid data.
[0163] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the embodiment of the screen light control method of the above-mentioned electronic device is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0164] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0165] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned electronic device screen light control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0166] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0167] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0168] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0169] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A screen lighting control method for an electronic device, characterized in that: include: Obtain the user's personal attribute information; Get sensor data; When the sensor data matches the preset data corresponding to the personal attribute information, controlling the electronic device to light up the screen; Wherein, the sensor data is data collected by the target sensor; The method further comprises: Get sensor data; When the number of times that the sensor data matches any preset data reaches a preset threshold within a preset time period, outputting prompt information for prompting the user whether to set any preset data as invalid data; receiving input from the user; In response to the input, preset data corresponding to the input is set as invalid data.
2. The method for controlling the screen of an electronic device according to claim 1, characterized in that: The method further comprises: Acquiring the sensor data; When the screen of the electronic device is off and the sensor data matches the failure data, the electronic device is controlled to keep the screen off.
3. The screen lighting control method of an electronic device according to claim 1 or 2, characterized in that: Between the obtaining of the user's personal attribute information and the controlling of the electronic device to light up the screen when the sensor data matches the preset data corresponding to the personal attribute information, the method further includes: Based on the personal attribute information, determining at least one recommended action corresponding to the personal attribute information; Determine characteristic data of the recommended action as preset data corresponding to the personal attribute information.
4. The method for controlling the screen brightness of an electronic device according to claim 1 or 2, characterized in that: Between the obtaining of the user's personal attribute information and the controlling of the electronic device to light up the screen when the sensor data matches the preset data corresponding to the personal attribute information, the method further includes: Acquire characteristic data corresponding to the personal attribute information; In a case where the characteristic data corresponding to the personal attribute information does not match the characteristic data of the preset screen-off action, the characteristic data corresponding to the personal attribute information is determined as the preset data corresponding to the personal attribute information.
5. A screen light control device for an electronic device, characterized in that: include: Attribute acquisition module, used to obtain the user's personal attribute information; Motion monitoring module, obtains sensor data; A screen control module, used to control the screen of the electronic device to light up when the sensor data matches the preset data corresponding to the personal attribute information; Wherein, the sensor data is data collected by the target sensor; The device also includes: An invalidation prompt module, used for outputting prompt information for prompting the user whether to set any preset data as invalid data when the number of times the sensor data matches any preset data reaches a preset threshold within a preset time period; The device also includes: An input receiving module, used for receiving the user's input; The failure control module is used to set the preset data corresponding to the input as failure data in response to the input.
6. The screen lighting control device of an electronic device according to claim 5, characterized in that: The screen control module is further used to control the electronic device to keep the screen off when the screen of the electronic device is off and the sensor data matches the failure data.
7. The screen lighting control device of an electronic device according to claim 5 or 6, characterized in that: The device also includes: an action recommendation module, configured to determine, based on the personal attribute information, at least one recommended action corresponding to the personal attribute information; The first determining module is used to determine the characteristic data of the recommended action as the preset data corresponding to the personal attribute information.
8. The screen lighting control device of an electronic device according to claim 5 or 6, characterized in that: The device also includes: A feature acquisition module, used to acquire feature data corresponding to the personal attribute information; The second determination module is used to determine the characteristic data corresponding to the personal attribute information as the preset data corresponding to the personal attribute information when the characteristic data corresponding to the personal attribute information does not match the characteristic data of the preset screen-off action.
9. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein when the program or instruction is executed by the processor, the steps of the screen lighting control method of an electronic device as described in any one of claims 1 to 4 are implemented.
