CN107346176B - Screen lighting method and device, storage medium and electronic equipment - Google Patents
Screen lighting method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN107346176B CN107346176B CN201710526357.7A CN201710526357A CN107346176B CN 107346176 B CN107346176 B CN 107346176B CN 201710526357 A CN201710526357 A CN 201710526357A CN 107346176 B CN107346176 B CN 107346176B
- Authority
- CN
- China
- Prior art keywords
- screen
- historical
- electronic equipment
- characteristic data
- motion 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/01—Indexing scheme relating to G06F3/01
- G06F2203/012—Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The embodiment of the invention discloses a screen lighting method, a screen lighting device, a storage medium and electronic equipment. According to the screen lighting method, when a screen of the electronic equipment is in a screen off state and the electronic equipment receives a touch instruction, current motion information of the electronic equipment and contact surface information of the surface of the electronic equipment which is touched are obtained, new feature data are constructed and generated according to the motion information and the contact surface information, the new feature data are compared with historical feature data in a database obtained through learning, and the screen is controlled to be switched from the screen off state to a screen on state according to a comparison result. According to the scheme, new characteristic data can be constructed according to the current motion information and the contact surface information of the electronic equipment, when the new characteristic data accords with the behavior habit of a user, the screen can be automatically lightened, and the speed of lightening the screen is improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for lighting a screen, a storage medium, and an electronic device.
Background
With the development of the internet and the mobile communication network, and with the rapid development of the processing capability and the storage capability of the electronic device, a large amount of application programs are rapidly spread and used.
The screen of the intelligent electronic device is usually in two states of lighting up and extinguishing. When the screen of the electronic device is turned off, if the screen needs to be turned on, the screen needs to be controlled to be switched from the off-screen state to the on-screen state by means of methods such as double-clicking the screen, pressing a physical key and the like, and the methods delay the time for turning on the screen.
Disclosure of Invention
The embodiment of the invention provides a screen lighting method and device, a storage medium and electronic equipment, which can improve the speed of lighting a screen.
In a first aspect, an embodiment of the present invention provides a screen lighting method, including:
when a screen of electronic equipment is in a screen-off state and the electronic equipment receives a touch instruction, acquiring current motion information of the electronic equipment and information of a touch surface of the electronic equipment;
constructing and generating new characteristic data according to the motion information and the contact surface information;
comparing the new characteristic data with historical characteristic data in a database obtained by learning to obtain a comparison result;
and controlling the screen to be switched from the screen extinguishing state to the screen lightening state according to the comparison result.
In a second aspect, an embodiment of the present invention provides a screen lighting device, including:
the electronic equipment comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring current motion information of the electronic equipment and information of a contact surface of the electronic equipment, the surface of which is touched, when a screen of the electronic equipment is in a screen-off state and the electronic equipment receives a touch instruction;
the generating module is used for constructing and generating new characteristic data according to the motion information and the contact surface information;
the comparison module is used for comparing the new characteristic data with historical characteristic data in a database obtained by learning to obtain a comparison result;
and the processing module is used for controlling the screen to be switched from the screen-off state to the screen-on state according to the comparison result.
In a third aspect, the present invention further provides a storage medium, where a plurality of instructions are stored, where the instructions are adapted to be loaded by a processor to execute the steps of the above-mentioned screen lighting method.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, where the processor is electrically connected to the memory, and the memory is used to store instructions and data; the processor is used for executing the screen lighting method.
The embodiment of the invention discloses a screen lighting method, a screen lighting device, a storage medium and electronic equipment. According to the screen lighting method, when a screen of the electronic equipment is in a screen off state and the electronic equipment receives a touch instruction, current motion information of the electronic equipment and contact surface information of the surface of the electronic equipment which is touched are obtained, new feature data are constructed and generated according to the motion information and the contact surface information, the new feature data are compared with historical feature data in a database obtained through learning, and the screen is controlled to be switched from the screen off state to a screen on state according to a comparison result. According to the scheme, new characteristic data can be constructed according to the current motion information and the contact surface information of the electronic equipment, when the new characteristic data accords with the behavior habit of a user, the screen can be automatically lightened, and the speed of lightening the screen is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of interaction between an electronic device and a user according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a method for lighting a screen according to an embodiment of the present invention.
Fig. 3 is an application scene diagram of the screen lighting method according to the embodiment of the present invention.
Fig. 4 is a diagram of another application scenario of the screen lighting method according to the embodiment of the present invention.
Fig. 5 is a diagram of another application scenario of the screen lighting method according to the embodiment of the present invention.
Fig. 6 is another schematic flow chart of the screen lighting device according to the embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a screen lighting device according to an embodiment of the present invention.
Fig. 8 is a schematic view of another structure of the screen lighting device according to the embodiment of the present invention.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a screen lighting method and device, a storage medium and electronic equipment. The details will be described below separately.
Referring to fig. 1, fig. 1 is a schematic view illustrating interaction between an electronic device and a user according to an embodiment of the present invention. The electronic device may include a data collection statistical system and a prediction system with feedback adjustment. The data acquisition and statistics system is used for acquiring corresponding initial data when a user operates the electronic equipment, making corresponding statistics, and analyzing and processing the statistics to obtain characteristic data. And when the prediction system is in a screen-off state at the electronic equipment and is touched by a user, calculating various prediction results according to the characteristic data. And after the user makes the final selection behavior, the prediction system reversely feeds back and adjusts the weight of each weight item according to the final result of the user behavior. After repeated iterative correction, the weight values of all weight items of the prediction system are finally converged, and are closer to the habit of using electronic equipment by a user, so that a database obtained by learning is formed.
In one embodiment, a screen lighting method is provided, as shown in fig. 2, the process may be as follows:
s101, when the screen of the electronic equipment is in a screen-off state and the electronic equipment receives a touch instruction, acquiring current motion information of the electronic equipment and information of a touch surface of the electronic equipment.
The electronic equipment comprises a mobile phone, a tablet computer and the like. The electronic equipment is in a screen-off state, namely, the screen is turned off without being turned off. In the embodiment of the invention, the touch instruction can be triggered by the contact of any part of a human body and any position on the surface of the electronic equipment. The electronic equipment surface refers to the outer surface of the body of the electronic equipment and comprises a screen and a shell (comprising a side frame and a rear cover).
In some embodiments, the current motion information of the electronic device and the contact surface information of the touched surface of the electronic device can be acquired in real time. In some embodiments, the motion information refers to the motion of the electronic device before the screen is lit and after the electronic device is touched by the user, and includes the motion state and the motion mode, such as the motion direction, the motion speed, the displacement, the flip angle, the inclination, the orientation, the gravity center height, and the like. The contact information refers to information of mutual contact between the surface of the electronic device and the user's limb (especially, the user's palm and finger) when the user holds the electronic device, and may specifically be the size of the contact area, the position parameter of the contact area, and the like. In practical application, in order to reduce the workload of the electronic device, the contact information with the surface of the electronic device can be acquired after the holding posture of the electronic device is stabilized.
And S102, constructing and generating new characteristic data according to the motion information and the contact surface information.
In some embodiments, a motion characteristic that can characterize a motion condition of the electronic device and a contact surface characteristic that can characterize a contact condition of the electronic device may be obtained from the motion information and the contact surface information, respectively, and feature data may be generated based on the obtained motion characteristic and the obtained contact surface characteristic. For example, the motion characteristic may be an inclination of the electronic device, the contact surface characteristic may be a contact area where the electronic device is contacted, and a position parameter of the contact area; that is, the step of "generating the feature data according to the motion information and the contact area information" may include the following processes:
acquiring the inclination of the electronic equipment according to the motion information;
acquiring a contact area and position parameters of a contact area according to the contact surface information;
new feature data is generated based on the slope, the contact area, and the location parameters.
In particular, the inclination may be obtained according to an angle between the electronic device and a horizontal plane, and may be a slope. The included angle may be an included angle between a plane where the front surface of the electronic device (the surface with the screen) faces upward or downward and a horizontal plane, relative to the horizontal plane. Referring to fig. 3, fig. 3 is a side view of the electronic device on a horizontal plane, and the inclination of the electronic device can be obtained according to an included angle α, an included angle β, and the like between the electronic device and the horizontal plane, where the inclinations corresponding to different included angles are different. In practical applications, the included angle may be between 30 ° and 60 ° due to the behavior habit of the user, and the corresponding slope is between 0.58 and 1.73.
In practical applications, due to the habit of users, when using an electronic device, fingers and palms usually fall into a region below the middle of the electronic device, and the size of the contact area when the same user holds the electronic device also tends to be stable. Referring to fig. 4 and 5, in the present embodiment, the contact area includes all areas where the electronic device contacts the hand (palm and fingers) of the user, such as a contact area S1 between the hand and the right side frame of the electronic device in fig. 4, a contact area S2 between the hand and the left side frame of the electronic device, and a contact area S3 between the hand and the rear cover of the electronic device in the left diagram in fig. 5. In practical applications, due to the usage habits of users, the holding postures of the hands on the electronic device are different, so that the contact areas of the hands and the electronic device are different, as shown in the right diagram of fig. 5, i.e., the contact area S4 between the hands and the electronic device.
And the position parameter may be position coordinates of the contact region, and the contact region may specifically be a region surrounded by a plurality of coordinates. In practical applications, a coordinate system (e.g., a three-dimensional coordinate system) may be established for the electronic device body, and based on the coordinate system, the position parameters of the contact area are obtained according to the area touched on the surface of the electronic device. In practical applications, since the contact area between the hand and the electronic device is an irregular area when the user uses the electronic device, the position parameter can be represented by one or more functions.
And then, new characteristic data are generated through the construction of a relevant data model according to the acquired inclination, the acquired contact area and the acquired position parameters.
And S103, comparing the new characteristic data with the historical characteristic data in the learned database to obtain a comparison result.
In some embodiments, the database is derived based on user behavior habits. For example, the electronic device may record usage habits of a user in a history period, and may perform analysis and learning processing on interaction conditions between the user and the electronic device when the screen of the electronic device is lit based on machine learning, the electronic device generates feature data when the screen of the electronic device is lit through a self-analysis and learning processing process, stores the feature data into a database as history data, obtains a database containing a plurality of history feature data, automatically determines whether the user has a tendency to light the screen when the user touches the electronic device, and automatically lights the screen when the user determines that the tendency to light the screen exists, so that the user can use the electronic device. Such as recording the use of the electronic device by the user in the past month, and acquiring the motion information of the electronic device and the contact surface information with the limb of the user immediately before the screen of the electronic device is lighted up when the user uses the electronic device.
In practical applications, due to the diversity of actions of the user when using the electronic device, a plurality of actions specific to the user when using the electronic device can be analyzed through deep learning of the electronic device. Therefore, a plurality of historical feature data can be included in the learned database and can be used for determining whether the user needs to use the electronic equipment. That is, the step of comparing the new feature data with the historical feature data in the learned database to obtain the comparison result may include the following steps:
acquiring a plurality of historical characteristic data from a database obtained by learning;
comparing the new feature data with a plurality of historical feature data respectively;
and calculating the matching degree of the new characteristic data and each historical characteristic data to obtain a matching degree set, and taking the matching degree set as a comparison result.
In some embodiments, the step of "calculating a matching degree of the new feature data with each historical feature data" may specifically include:
calculating the deviation of the new characteristic data and the historical characteristic data;
and calculating the matching degree of the new characteristic data and the historical characteristic data according to the deviation.
In some real-time methods, assuming that the new feature data is x and the historical feature data is m, the matching degree p is | x-m |/m. Obviously, the greater the deviation of x from m, the lower the degree of matching.
And S104, controlling the screen to be switched from the screen-off state to the screen-on state according to the comparison result.
Specifically, the electronic device may call a corresponding process to send the determination result to a Central Processing Unit (CPU), and notify the CPU to wake up the screen, so as to control the screen to switch from the screen-off state to the screen-on state.
In this embodiment, if the comparison result is the matching degree between the new feature data and the historical feature data, the step "controlling the screen to switch from the screen-off state to the screen-on state according to the comparison result" may include:
selecting the highest matching degree from the matching degree set;
judging whether the highest matching degree is larger than a preset threshold value or not;
and if so, controlling the screen to be switched from the screen extinguishing state to the screen lightening state.
Wherein the preset threshold value can be set by a person skilled in the art or a product manufacturer. In order to improve the accuracy of the determination result, the preset threshold may be set to a higher value.
As can be seen from the above, the embodiment of the present invention provides a method for turning on a screen, where a screen of an electronic device is in a screen-off state and the electronic device receive a touch instruction, obtain current motion information of the electronic device and contact surface information of the electronic device, create new feature data according to the motion information and the contact surface information, compare the new feature data with historical feature data in a learned database, and control the screen to be switched from the screen-off state to a screen-on state according to a comparison result. According to the scheme, new characteristic data can be constructed according to the current motion information and the contact surface information of the electronic equipment, when the new characteristic data meet conditions, the screen can be automatically lightened, and the speed of lightening the screen is improved.
In an embodiment, another screen lighting method is provided, as shown in fig. 6, the process may be as follows:
s201, when a screen of the electronic equipment is in a screen-off state, detecting whether the electronic equipment receives a touch instruction; if yes, go to step S202, otherwise, continue the detection.
The electronic equipment comprises a mobile phone, a tablet personal computer and other equipment, and particularly relates to handheld equipment. The electronic equipment is in a screen-off state, namely, the screen is turned off without being turned off. In the embodiment of the invention, the touch instruction can be triggered by the contact of any part of a human body and any position on the surface of the electronic equipment. The electronic equipment surface refers to the outer surface of the body of the electronic equipment and comprises a screen and a shell (comprising a side frame and a rear cover).
In some embodiments, there may be multiple ways to detect whether the electronic device receives a touch instruction. For example, a touch detection device, a temperature detection device, and the like may be disposed on the entire outer surface of the electronic device body to detect whether the electronic device is touched.
In practical applications, a protective cover is added to the electronic device when a user uses the electronic device, especially when the user uses a mobile phone. Accordingly, a protective case with a tactile sensation (for example, a sensor is embedded in the protective case) may be designed, and the protective case is electrically connected to the mobile phone, so that the touch signal may be transmitted to the electronic device through the protective case, and whether the touch command is received or not may be detected.
S202, acquiring current motion information of the electronic equipment and contact surface information of the surface of the electronic equipment.
In some embodiments, the motion information refers to the motion condition of the electronic device before the screen is lit and after the electronic device is touched by the user, and includes the motion state and the motion mode, such as the motion direction, the motion speed, the displacement, the flip angle, the inclination, the orientation, and the like. The contact information refers to information of mutual contact between the surface of the electronic device and the user's limb (especially, the user's palm and finger) when the user holds the electronic device, and may specifically be the size of the contact area, the position parameter of the contact area, and the like. In some embodiments, the current motion information of the electronic device and the contact surface information of the surface of the electronic device contacted can be acquired in real time.
And S203, extracting motion characteristic data from the motion information.
In some embodiments, motion feature data that can characterize motion of the electronic device can be obtained from the motion information. For example, the motion characteristic may be a tilt of the electronic device.
In particular, the inclination may be obtained according to an angle between the electronic device and a horizontal plane, and may be a slope. The included angle may be an included angle between a plane where the front surface of the electronic device (the surface with the screen) faces upward or downward and a horizontal plane, relative to the horizontal plane.
And S204, extracting contact surface characteristic data from the contact surface information.
In some embodiments, contact surface characteristic data that characterizes the surface of the electronic device as being contacted may be obtained from the contact surface information. For example, the contact surface characteristic data may be parameters of the size of the contact area touched by the user and the position of the contact area of the electronic device.
In practical applications, due to the habit of users, when using an electronic device, fingers and palms usually fall into a region below the middle of the electronic device, and the size of the contact area when the same user holds the electronic device also tends to be stable. The position parameter may be position coordinates of the contact region, and the contact region may specifically be a region surrounded by a plurality of coordinates. In practical applications, a coordinate system (e.g., a three-dimensional coordinate system) may be established for the electronic device body, and based on the coordinate system, the position parameters of the contact area are obtained according to the touched area on the surface of the electronic device. In practical applications, since the contact area between the hand and the electronic device is an irregular area when the user uses the electronic device, the position parameter can be represented by one or more functions.
And S205, constructing and generating new characteristic data according to the motion characteristic data and the contact surface characteristic data.
In some embodiments, new feature data may be generated from the acquired tilt, contact area, and location parameters of the contact region through a correlation data model construction.
And S206, comparing the new characteristic data with the historical characteristic data in the database obtained by learning to obtain a matching degree result.
In some embodiments, the electronic device may record usage habits of a user in a history period, and may perform analysis and learning processing on interaction conditions between the user and the electronic device when a screen of the electronic device is lit based on machine learning, the electronic device generates feature data when the screen of the electronic device is lit through a self-analysis and learning processing process, stores the feature data into a database as history feature data, obtains a database containing a plurality of feature data, automatically determines whether the user has a tendency to light the screen when the user touches the electronic device, and automatically lights the screen when it is determined that the tendency to light the screen exists, so that the user can use the electronic device.
For example, motion information before the electronic equipment is lightened every time and contact surface information of a user and the electronic equipment are obtained, corresponding features are extracted from the contact surface information, if the features extracted for the nth time are matched with the features extracted for the (n-1) th time, a counter is increased by 1, otherwise, the counter is cleared by 0, and when the counter is preset with a numerical value, skill learning of the electronic automatic lightening screen is successful, and the motion features and the contact surface features are stored in a feature database.
In practical applications, due to the diversity of actions of the user when using the electronic device, a plurality of actions specific to the user when using the electronic device can be analyzed through deep learning of the electronic device. Therefore, a plurality of feature data can be included in the preset database and can be used for determining whether the user needs to use the mobile phone. That is, the step of comparing the new feature data with the historical feature data in the preset database to obtain the comparison result may include the following steps:
acquiring a plurality of historical characteristic data from a database obtained by learning;
comparing the new feature data with a plurality of historical feature data respectively;
and calculating the matching degree of the new characteristic data and each historical characteristic data to obtain a matching degree set, and taking the matching degree set as a matching degree result.
In some embodiments, the step of "calculating a matching degree of the new feature data with each historical feature data" may specifically include:
calculating the deviation of the new characteristic data and the historical characteristic data;
and calculating the matching degree of the new characteristic data and the historical characteristic data according to the deviation.
In some real-time methods, assuming that the new feature data is x and the historical feature data is m, the matching degree p is | x-m |/m. Obviously, the greater the deviation of x from m, the lower the degree of matching.
S207, judging whether the matching degree result meets a preset condition or not; if yes, go to step S207, otherwise go to step S201.
In this embodiment, based on the matching degree set in the matching degree results, whether the matching degree result meets the predetermined condition can be determined by determining whether the matching degree included in the matching degree set meets the predetermined condition. That is, the step of "determining whether the matching degree result satisfies the preset condition" may include:
selecting the highest matching degree from the matching degree set;
judging whether the highest matching degree is larger than a preset threshold value or not;
if so, judging that the preset condition is met;
if not, the judgment result shows that the preset condition is not met.
Wherein the preset threshold value can be set by a person skilled in the art or a product manufacturer. In order to improve the accuracy of the determination result, the preset threshold may be set to a higher value.
And S208, controlling the screen to be switched from the screen-off state to the screen-on state.
Specifically, when the matching degree result is judged to meet the condition, the electronic device can call a corresponding process to send the judgment result to the CPU to notify the CPU of waking up the screen, so as to control the screen to be switched from the screen-off state to the screen-on state.
As can be seen from the above, in the method for lighting a screen according to the embodiment of the present invention, when the screen of the electronic device is in the screen-off state and the electronic device receive the touch command, the current motion information of the electronic device and the contact surface information of the electronic device whose surface is contacted are obtained, new feature data is created according to the motion information and the contact surface information, the new feature data is compared with the learned historical feature data in the database, and the screen is controlled to be switched from the screen-off state to the screen-on state according to the comparison result. According to the scheme, new characteristic data can be constructed according to the current motion information and the contact surface information of the electronic equipment, when the new characteristic data meet conditions, the screen can be automatically lightened, and the speed and the accuracy of lightening the screen are improved.
In another embodiment of the present invention, a screen lighting device is further provided, where the screen lighting device may be integrated in an electronic device in the form of software or hardware, and the electronic device may specifically include a mobile phone, a tablet computer, a notebook computer, and the like. As shown in fig. 7, the screen lighting apparatus 300 may include an obtaining module 301, a generating module 302, a comparing module 303, and a processing module 304, wherein:
the obtaining module 301 is configured to obtain current motion information of the electronic device and information of a contact surface of the electronic device, which is touched on the surface of the electronic device, when a screen of the electronic device is in a screen-off state and the electronic device receives a touch instruction;
a generating module 302, configured to construct and generate new feature data according to the motion information and the contact area information;
a comparing module 303, configured to compare the new feature data with the historical feature data in the learned database to obtain a comparison result;
and the processing module 304 is configured to control the screen to be switched from the screen-off state to the screen-on state according to the comparison result.
Referring to fig. 8, in some embodiments, the generation module 302 includes:
a first obtaining submodule 3021 that obtains the inclination of the electronic device according to the motion information;
a second obtaining submodule 3022, configured to obtain a contact area and a position parameter of the contact area according to the contact surface information;
a generating submodule 3023 is used to generate new characteristic data based on the inclination, the contact area and the position parameter.
With continued reference to fig. 8, in some embodiments, the comparison module 303 includes:
a third obtaining submodule 3031, configured to obtain multiple historical feature data from a database obtained through learning;
a comparison submodule 3032, configured to compare the new feature data with a plurality of historical feature data respectively;
and a calculating submodule 3033, configured to calculate a matching degree between the new feature data and each historical feature data, to obtain a matching degree set, and use the matching degree set as a comparison result.
In some embodiments, the calculation submodule 3033 is configured to:
calculating the deviation of the new characteristic data and the historical characteristic data;
and calculating the matching degree of the new characteristic data and the historical characteristic data according to the deviation.
In some embodiments, as shown in fig. 8, the processing module 304 includes:
a selecting submodule 3041 for selecting the highest matching degree from the matching degree set;
a judging submodule 3042, configured to judge whether the highest matching degree is greater than a preset threshold;
the control sub-module 3043 is configured to control the screen to switch from the screen-off state to the screen-on state when the determination sub-module 3042 determines that the screen is turned on.
As can be seen from the above, in the screen lighting device provided in the embodiment of the present invention, when the screen of the electronic device is in the screen off state and the electronic device receive the touch instruction, the current motion information of the electronic device and the contact surface information of the electronic device with which the surface is contacted are obtained, then new feature data is created according to the motion information and the contact surface information, then the new feature data is compared with the learned historical feature data in the database, and the screen is controlled to be switched from the screen off state to the screen on state according to the comparison result. According to the scheme, new characteristic data can be constructed according to the current motion information and the contact surface information of the electronic equipment, when the new characteristic data meet conditions, the screen can be automatically lightened, and the speed and the accuracy of lightening the screen are improved.
In another embodiment of the present invention, an electronic device is further provided, and the electronic device may be a smart phone, a tablet computer, or the like. As shown in fig. 9, the electronic device 400 includes a processor 401, a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or loading an application program stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the electronic device.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions:
when a screen of the electronic equipment is in a screen-off state and the electronic equipment receives a touch instruction, acquiring current motion information of the electronic equipment and information of a touch surface of the electronic equipment;
constructing and generating new characteristic data according to the motion information and the contact surface information;
comparing the new characteristic data with historical characteristic data in a database obtained by learning to obtain a comparison result;
and controlling the screen to be switched from the screen extinguishing state to the screen lightening state according to the comparison result.
In some embodiments, processor 401 performs the following steps: acquiring the inclination of the electronic equipment according to the motion information; acquiring a contact area and a position parameter of a contact area according to the contact surface information; new feature data is generated based on the inclination, contact area and position parameters.
In some embodiments, processor 401 further performs the steps of: acquiring a plurality of historical characteristic data from a database obtained by learning; comparing the new feature data with a plurality of historical feature data respectively; and calculating the matching degree of the new characteristic data and each historical characteristic data to obtain a matching degree set, and taking the matching degree set as a comparison result.
In some embodiments, processor 401 further performs the steps of: calculating the deviation of the new characteristic data and the historical characteristic data; and calculating the matching degree of the new characteristic data and the historical characteristic data according to the deviation.
In some embodiments, processor 401 further performs the steps of: selecting the highest matching degree from the matching degree set; judging whether the highest matching degree is larger than a preset threshold value or not; and if so, controlling the screen to be switched from the screen extinguishing state to the screen lightening state.
The memory 402 may be used to store applications and data. The memory 402 stores applications containing instructions executable in the processor. The application programs may constitute various functional modules. The processor 401 executes various functional applications and data processing by running an application program stored in the memory 402.
In some embodiments, as shown in fig. 10, electronic device 400 further comprises: display 403, control circuit 404, radio frequency circuit 405, input unit 406, audio circuit 407, sensor 408, and power supply 409. The processor 401 is electrically connected to the display 403, the control circuit 404, the rf circuit 405, the input unit 406, the audio circuit 407, the sensor 408, and the power source 409.
The display screen 403 may be used to display information entered by or provided to the user as well as various graphical user interfaces of the electronic device, which may be comprised of images, text, icons, video, and any combination thereof. The display screen 403 may be used as a screen in the embodiment of the present invention to display information.
The control circuit 404 is electrically connected to the display 403, and is configured to control the display 403 to display information.
The rf circuit 405 is used for transceiving rf signals to establish wireless communication with a network device or other electronic devices through wireless communication, and to transceive signals with the network device or other electronic devices.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. The input unit 406 may include a fingerprint recognition module.
The audio circuit 407 may provide an audio interface between the user and the electronic device through a speaker, microphone.
The sensor 408 is used to collect external environmental information. The sensors 408 may include ambient light sensors, acceleration sensors, light sensors, motion sensors, and other sensors.
The power supply 409 is used to power the various components of the electronic device 400. In some embodiments, the power source 409 may be logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are implemented through the power management system.
Although not shown in fig. 10, the electronic device 400 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
As can be seen from the above, in the electronic device provided in the embodiment of the present invention, when the screen of the electronic device is in the screen-off state and a touch instruction is received, the current motion information of the electronic device and the information of the contact surface touched on the surface of the electronic device are obtained, then new feature data is constructed and generated according to the motion information and the information of the contact surface, then the new feature data is compared with the learned historical feature data in the database, and the screen is controlled to be switched from the screen-off state to the screen-on state according to the comparison result. According to the scheme, new characteristic data can be constructed according to the current motion information and the contact surface information of the electronic equipment, when the new characteristic data meet conditions, the screen can be automatically lightened, and the speed of lightening the screen is improved.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The use of the terms "a" and "an" and "the" and similar referents in the context of describing the concepts of the invention (especially in the context of the following claims) are to be construed to cover both the singular and the plural. Moreover, unless otherwise indicated herein, recitation of ranges of values herein is merely intended to serve as a shorthand method of referring individually to each separate value falling within the range, unless otherwise indicated herein, and each separate value is incorporated into the specification as if it were individually recited herein. In addition, the steps of all methods described herein can be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The present invention is not limited to the order of steps described. The use of any and all examples, or exemplary language (e.g., "such as") provided herein, is intended merely to better illuminate the inventive concept and does not pose a limitation on the scope of the inventive concept unless otherwise claimed. Various modifications and adaptations will be apparent to those skilled in the art without departing from the spirit and scope.
The screen lighting method, the screen lighting device, the storage medium and the electronic device provided by the embodiment of the invention are described in detail, a specific example of an application program in the text explains the principle and the embodiment of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application program, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (8)
1. A screen lighting method, comprising:
acquiring historical motion information of the electronic equipment and historical contact surface information of the electronic equipment with the surface touched at the moment before a screen of the electronic equipment is lightened in a historical time period to obtain a plurality of historical motion information and corresponding historical contact surface information;
generating historical characteristic data according to each piece of historical motion information and the historical contact surface information corresponding to the historical motion information to obtain a plurality of historical characteristic data;
storing a plurality of the historical feature data in a database;
when a screen of electronic equipment is in a screen-off state and the electronic equipment receives a touch instruction, acquiring current motion information of the electronic equipment and information of a touch surface of the electronic equipment, wherein the surface of the electronic equipment comprises the screen and a shell;
constructing and generating new characteristic data according to the motion information and the contact surface information;
acquiring a plurality of historical characteristic data from a database obtained by learning;
comparing the new feature data with the plurality of historical feature data, respectively;
calculating the matching degree of the new characteristic data and each historical characteristic data to obtain a matching degree set, and taking the matching degree set as a comparison result;
and controlling the screen to be switched from the screen extinguishing state to the screen lightening state according to the comparison result.
2. The screen lighting method of claim 1, wherein the step of creating new feature data based on the motion information and the contact surface information comprises:
acquiring the inclination of the electronic equipment according to the motion information;
acquiring a contact area and a position parameter of a contact area according to the contact surface information;
generating new feature data based on the inclination, the contact area, and the position parameter.
3. The screen illumination method of claim 1, wherein the step of calculating the degree of matching of the new feature data with each of the historical feature data comprises:
calculating the deviation of the new characteristic data and the historical characteristic data;
and calculating the matching degree of the new characteristic data and the historical characteristic data according to the deviation.
4. The screen lighting method of claim 1, wherein the step of controlling the screen to be switched from the screen-off state to the screen-on state according to the comparison result comprises:
selecting the highest matching degree from the matching degree set;
judging whether the highest matching degree is larger than a preset threshold value or not;
and if so, controlling the screen to be switched from the screen extinguishing state to the screen lightening state.
5. A screen lighting device characterized by comprising:
the electronic equipment comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring current motion information of the electronic equipment and information of a contact surface of the electronic equipment, which is touched on the surface of the electronic equipment, when a screen of the electronic equipment is in a screen-off state and the electronic equipment receives a touch instruction, and the surface of the electronic equipment comprises the screen and a shell;
the generating module is used for constructing and generating new characteristic data according to the motion information and the contact surface information;
a comparison module comprising: the third acquisition submodule is used for acquiring a plurality of historical characteristic data from the database obtained by learning;
a comparison submodule for comparing the new feature data with the plurality of historical feature data, respectively;
the calculation submodule is used for calculating the matching degree of the new characteristic data and each historical characteristic data to obtain a matching degree set, and the matching degree set is used as a comparison result;
the processing module is used for controlling the screen to be switched from the screen-off state to the screen-on state according to the comparison result;
the acquisition module is further used for acquiring historical motion information of the electronic equipment and historical contact surface information of the electronic equipment with the surface touched at the moment before the screen of the electronic equipment is lighted each time in a historical time period to obtain a plurality of pieces of historical motion information and corresponding historical contact surface information;
the generating module is further configured to generate historical feature data according to each piece of historical motion information and the historical contact surface information corresponding to the historical motion information, so as to obtain a plurality of historical feature data;
the device further comprises: and the storage module is used for storing a plurality of historical characteristic data into a database.
6. The screen lighting apparatus of claim 5, wherein the generating module comprises:
the first obtaining submodule obtains the inclination of the electronic equipment according to the motion information;
the second acquisition submodule is used for acquiring the contact area and the position parameters of the contact area according to the contact surface information;
a generation submodule for generating characteristic data based on the inclination, the contact area and the position parameter.
7. A storage medium having stored therein a plurality of instructions adapted to be loaded by a processor for performing the steps of the screen illumination method as claimed in any one of claims 1 to 4.
8. An electronic device comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data; the processor is for performing the screen lighting method as recited in any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710526357.7A CN107346176B (en) | 2017-06-30 | 2017-06-30 | Screen lighting method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710526357.7A CN107346176B (en) | 2017-06-30 | 2017-06-30 | Screen lighting method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107346176A CN107346176A (en) | 2017-11-14 |
CN107346176B true CN107346176B (en) | 2021-01-26 |
Family
ID=60257207
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710526357.7A Expired - Fee Related CN107346176B (en) | 2017-06-30 | 2017-06-30 | Screen lighting method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107346176B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107765545B (en) * | 2017-12-06 | 2021-03-19 | 深圳Tcl新技术有限公司 | Automatic screen lightening method and device and computer storage medium |
CN109375859B (en) * | 2018-10-29 | 2020-11-27 | Oppo(重庆)智能科技有限公司 | Screen control method, device, terminal and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104216657A (en) * | 2014-09-05 | 2014-12-17 | 深圳市中兴移动通信有限公司 | Mobile terminal and operating method thereof |
CN105094648A (en) * | 2014-04-24 | 2015-11-25 | 富泰华工业(深圳)有限公司 | Screen activation system and method |
CN106020670A (en) * | 2016-05-24 | 2016-10-12 | 北京搜狗科技发展有限公司 | Screen lightening control method, device and electronic equipment |
CN106372476A (en) * | 2016-10-10 | 2017-02-01 | 深圳市金立通信设备有限公司 | Terminal and unlocking method thereof |
CN106598275A (en) * | 2016-11-03 | 2017-04-26 | 上海斐讯数据通信技术有限公司 | Method and system for automatically lightening screen of intelligent wearable equipment |
CN106775345A (en) * | 2016-11-11 | 2017-05-31 | 努比亚技术有限公司 | Mobile terminal bright screen control device and method |
-
2017
- 2017-06-30 CN CN201710526357.7A patent/CN107346176B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105094648A (en) * | 2014-04-24 | 2015-11-25 | 富泰华工业(深圳)有限公司 | Screen activation system and method |
CN104216657A (en) * | 2014-09-05 | 2014-12-17 | 深圳市中兴移动通信有限公司 | Mobile terminal and operating method thereof |
CN106020670A (en) * | 2016-05-24 | 2016-10-12 | 北京搜狗科技发展有限公司 | Screen lightening control method, device and electronic equipment |
CN106372476A (en) * | 2016-10-10 | 2017-02-01 | 深圳市金立通信设备有限公司 | Terminal and unlocking method thereof |
CN106598275A (en) * | 2016-11-03 | 2017-04-26 | 上海斐讯数据通信技术有限公司 | Method and system for automatically lightening screen of intelligent wearable equipment |
CN106775345A (en) * | 2016-11-11 | 2017-05-31 | 努比亚技术有限公司 | Mobile terminal bright screen control device and method |
Also Published As
Publication number | Publication date |
---|---|
CN107346176A (en) | 2017-11-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103412708B (en) | Task management method on terminal unit and terminal unit | |
US9781252B2 (en) | Information processing method, system and mobile terminal | |
EP3525075B1 (en) | Method for lighting up screen of double-screen terminal, and terminal | |
KR20190064637A (en) | False touch prevention method and terminal | |
CN105960626A (en) | Grip detection | |
CN109558061B (en) | Operation control method and terminal | |
CN108008896B (en) | Display control method and related product | |
CN108920069B (en) | Touch operation method and device, mobile terminal and storage medium | |
US20220171471A1 (en) | Key indication method and electronic device | |
CN107390923B (en) | Screen false touch prevention method and device, storage medium and terminal | |
CN112000269A (en) | Screen opening method and device and electronic equipment | |
US20210205698A1 (en) | Program, electronic device, and method | |
CN109407929B (en) | Desktop icon sorting method and terminal | |
CN109634438B (en) | Input method control method and terminal equipment | |
CN109314727A (en) | A kind of method and device controlling mobile terminal screen | |
CN111405110A (en) | Screen control method and device, storage medium and mobile terminal | |
CN108369447A (en) | The method and apparatus for controlling wearable electronic operating status | |
CN110351424A (en) | Gesture interaction method and terminal | |
CN107346176B (en) | Screen lighting method and device, storage medium and electronic equipment | |
CN108196781A (en) | The display methods and mobile terminal at interface | |
CN110244845B (en) | Haptic feedback method, haptic feedback device, electronic device and storage medium | |
CN108762648A (en) | Screen operator control method and mobile terminal | |
CN111145891A (en) | Information processing method and device and electronic equipment | |
CN107943406B (en) | touch point determining method of touch screen and terminal | |
CN109062469B (en) | Split screen display method and device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210126 |