CN107422860B - Control method and device based on black screen gesture, storage medium and mobile terminal - Google Patents

Control method and device based on black screen gesture, storage medium and mobile terminal Download PDF

Info

Publication number
CN107422860B
CN107422860B CN201710632957.1A CN201710632957A CN107422860B CN 107422860 B CN107422860 B CN 107422860B CN 201710632957 A CN201710632957 A CN 201710632957A CN 107422860 B CN107422860 B CN 107422860B
Authority
CN
China
Prior art keywords
mode
target
application program
gesture
starting
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.)
Active
Application number
CN201710632957.1A
Other languages
Chinese (zh)
Other versions
CN107422860A (en
Inventor
韩通
郭明强
石仁栋
汪昊
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710632957.1A priority Critical patent/CN107422860B/en
Publication of CN107422860A publication Critical patent/CN107422860A/en
Application granted granted Critical
Publication of CN107422860B publication Critical patent/CN107422860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment

Abstract

The embodiment of the invention discloses a control method and device based on a black screen gesture, a storage medium and a mobile terminal. The method comprises the following steps: when the display screen is in a black screen state, receiving a black screen gesture input by a user and acquiring gesture data of the mobile terminal in the process of receiving the black screen gesture; determining a corresponding target application program according to the received black screen gesture; determining a corresponding target starting mode according to whether the posture data meet preset conditions or not, wherein the target starting mode comprises a common mode and a private mode; and awakening the display screen and starting the target application program according to the target starting mode. By adopting the technical scheme, the embodiment of the invention enriches the functions of the black screen gesture and can effectively protect the privacy of the user.

Description

Control method and device based on black screen gesture, storage medium and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of touch control, in particular to a control method and device based on a black screen gesture, a storage medium and a mobile terminal.
Background
Currently, a display screen has become a standard configuration of a mobile terminal, and the size of the display screen is increasing, and has become one of the most power consuming devices in the mobile terminal, so that when a user does not use the mobile terminal for a while, the display screen needs to be turned off to be in a dormant state.
When a user wants to recover the use of the mobile terminal, the user needs to wake up the screen, and a common wake-up mode is to press an entity key such as a power key or press a fingerprint sensor or other devices, and the service life of the user may be affected by frequently pressing the above components, so that many mobile terminals support the wake-up mode of a black screen gesture.
The black screen gesture generally refers to a gesture action which is detected by the mobile terminal and acts on the touch screen when the display screen is in a black screen state. The appearance of the black screen gesture enriches the awakening mode of the mobile terminal, however, the control scheme based on the black screen gesture is only limited to awakening the mobile terminal or starting the corresponding application program, and is still single, and further optimization is required.
Disclosure of Invention
The embodiment of the invention provides a control method, a control device, a storage medium and a mobile terminal based on a black screen gesture, and can optimize a control scheme based on the black screen gesture.
In a first aspect, an embodiment of the present invention provides a control method based on a black screen gesture, including:
when the display screen is in a black screen state, receiving a black screen gesture input by a user and acquiring gesture data of the mobile terminal in the process of receiving the black screen gesture;
determining a corresponding target application program according to the received black screen gesture;
determining a corresponding target starting mode according to whether the attitude data meets a preset condition, wherein the target starting mode comprises a common mode and a private mode;
and awakening the display screen and starting the target application program according to the target starting mode.
In a second aspect, an embodiment of the present invention provides a control device based on a black screen gesture, including:
the gesture receiving module is used for receiving a black screen gesture input by a user when the display screen is in a black screen state;
the gesture data acquisition module is used for acquiring gesture data of the mobile terminal in the process of receiving the black screen gesture;
the application determination module is used for determining a corresponding target application program according to the received black screen gesture;
the starting mode determining module is used for determining a corresponding target starting mode according to whether the posture data meet preset conditions or not, wherein the target starting mode comprises a common mode and a private mode;
and the application starting module is used for awakening the display screen and starting the target application program according to the target starting mode.
In a third aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a control method based on a black screen gesture according to an embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the control method based on the black-screen gesture according to the embodiment of the present invention when executing the computer program.
According to the control scheme based on the black screen gesture, the black screen gesture is received in the black screen state, the gesture data of the mobile terminal are obtained in the receiving process, the corresponding target application program is determined according to the black screen gesture, whether the target starting mode corresponding to the target application program is the common mode or the private mode is determined according to the fact that whether the gesture data meet the preset conditions, and finally the display screen is awakened and the target application program is started according to the target starting mode. By adopting the technical scheme, the starting mode of the application program is determined according to the gesture data of the mobile terminal in the process of inputting the black screen gesture while the application program is started according to the black screen gesture, the functions of the black screen gesture are enriched, and when the user inputs the black screen gesture, other people cannot be aware of the gesture of the mobile terminal, so that the privacy of the user can be effectively protected.
Drawings
Fig. 1 is a schematic flowchart of a control method based on a black screen gesture according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an android system framework provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of a black screen gesture input according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a swing of a mobile terminal according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating another control method based on a black screen gesture according to an embodiment of the present invention;
FIG. 6a is a schematic diagram of a desktop under a normal mode according to an embodiment of the present invention;
fig. 6b is a schematic diagram of a desktop in a private mode according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating another control method based on a black screen gesture according to an embodiment of the present invention;
FIG. 8 is a flowchart illustrating another control method based on a black screen gesture according to an embodiment of the present invention;
FIG. 9a is a schematic diagram of a common-mode common-class application interface according to an embodiment of the present invention;
fig. 9b is a schematic diagram of a public application interface in a private mode according to an embodiment of the present invention;
fig. 10 is a block diagram of a control device based on a black screen gesture according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart illustrating a control method based on a black-screen gesture according to an embodiment of the present invention, where the method may be performed by a control device based on a black-screen gesture, where the device may be implemented by software and/or hardware, and may be generally integrated in a mobile terminal. As shown in fig. 1, the method includes:
step 101, when the display screen is in a black screen state, receiving a black screen gesture input by a user and acquiring gesture data of the mobile terminal in the process of receiving the black screen gesture.
For example, the mobile terminal in the embodiment of the present invention may include a mobile device provided with a touch display screen, such as a mobile phone, a tablet computer, and a media player. As a display device of a mobile terminal, a touch panel, a display panel and a cover glass are generally integrated in a touch display screen, and the touch display screen has a touch function and a display function.
For example, when the user does not need to use the mobile terminal, the display of the mobile terminal is usually turned off, such as pressing a power key. In addition, when the user places the mobile terminal in the bright screen state aside and does not perform any operation, the display screen can be automatically turned off after a period of time. In addition to the above two cases, there may be other cases that the display screen needs to be turned off, and after the display screen is turned off, the mobile terminal will be in a black screen (screen off) state, and at this time, the system of the mobile terminal is generally in a sleep state.
For example, the black screen gesture input by the user is received when the display screen is in the black screen state, and may also be optimized to be received when the black screen gesture event is detected when the display screen is in the black screen state. The black screen gesture event can be an event which is negotiated in advance by the driving layer and the application layer and is used for representing that the black screen gesture input exists. The advantage of setting up like this can avoid mobile terminal to be in the gesture receiving state under the black screen state continuously, saves the power consumption. Optionally, the detecting of the black screen gesture event may include detecting that a preset area of the display screen is touched, and may also include detecting a proximity event of a proximity sensor, and the like, which is not limited in the embodiment of the present invention. The preset area is a partial area of the display screen, for example, a rectangular area located at the upper left corner of the display screen, the rectangular area may be smaller, and the length and the width of the rectangular area may be a first preset proportion value of the length of the display screen and a second preset proportion value of the width of the display screen, respectively, for example, the length is 1/10 of the length of the display screen, and the width is 1/10 of the width of the display screen.
In the embodiment of the present invention, the black screen gesture may be a touch gesture input by a user on the display screen in the black screen state after the black screen gesture function is turned on. Fig. 2 is a schematic diagram of an android system framework provided in an embodiment of the present invention. Taking the mobile terminal with the operating system shown in fig. 2 as an Android system as an example, an execution flow of the black screen gesture function provided by the embodiment of the present invention is described. As shown in fig. 2, the android system framework includes, from bottom to top, a kernel layer 210, a core class library layer 220, a framework layer 230, and an application layer 240. The kernel layer 210 provides core system services, including security, memory management, process management, network protocol stack, and hardware drivers. The hardware driver in the kernel layer 210 is referred to as a driving layer 211, and the driving layer 211 includes a touch screen driver, a camera driver, and the like. The core class library layer 220 includes an Android Runtime environment (Android Runtime) and class Libraries (Libraries). Among them, Android Runtime provides most of the functions available in Java programming language Core class Libraries, including Core Libraries (Core Libraries) and Dalvik virtual machines (Dalvik VM). Each android application is an instance in a Dalvik virtual machine, running in their own process. The class library is used by each component of the android system, and comprises the following functions: media library (Media Framework), interface Manager (Surface Manager), SQLite (relational database engine), FreeType (bitmap and vector font rendering), etc., each of which is exposed to the developer for use by the Framework layer 230 of the android system. The framework layer 230 provides a series of class libraries required for developing android applications, so that developers can develop the applications quickly, reuse components conveniently, and also realize personalized extension through inheritance, and the provided services include component management services, window management services, system data source components, space frameworks, resource management services, installation package management services and the like. The application layer 240 includes various applications that interact directly with the user, or service programs written in Java language and running in the background, including desktop applications, contact applications, call applications, camera applications, picture browsers, games, maps, web browsers, and other applications developed by developers.
Illustratively, after the function of the black screen gesture is started, when the touch chip detects the black screen gesture, a wake-up signal is generated, and the wake-up signal is sent to the kernel layer. And triggering the kernel layer to execute a system wake-up operation through the wake-up signal. After the system is awakened, the kernel layer calls a drive layer interrupt function to execute the operation of reading the gesture data in the touch chip, and the read gesture data is stored in a preset node of the drive layer. The setting node may be a file node, for example, a virtual file node in a proc-D directory. After the data reading is completed, the driving layer determines the validity of the gesture data, and there are many ways for determining the validity, which is not limited in this embodiment. For example, the driving layer determines the type of the black screen gesture according to the coordinate information contained in the gesture data, and stores the determined gesture type as gesture data in the preset node. And if the gesture type is not the preset black screen gesture, judging that the gesture data is invalid. And if not, judging that the gesture data is invalid. And when the data is valid, reporting a black screen gesture event by the driving layer. The black screen gesture event is transmitted to the framework layer through the core class library layer and distributed through the framework layer to reach the application layer. When the application layer acquires the black screen gesture event, the gesture data are read by the preset node of the driving layer. After the gesture data are prepared, calculating the action track of the black screen gesture according to the coordinate information contained in the gesture data, and drawing the black screen gesture track on the display screen for displaying. Then, the application layer opens an application program corresponding to the gesture type based on the gesture type in the read gesture data. The gesture type can be a gesture which is preset in the mobile terminal and used for achieving a certain function, and can also be a user-defined gesture, and different gesture types correspond to application programs to be started. For example, the gesture type may be that O represents turning on the camera. As another example, the gesture type may be V, representing turning on a flashlight, or the like. Fig. 3 is a schematic diagram of a black screen gesture input according to an embodiment of the present invention, as shown in fig. 3, a user inputs a black screen gesture with a gesture type V on a screen.
Illustratively, the gesture data may be acquired by a gesture sensor integrated in the mobile terminal. The attitude sensor may include at least one of a gravity sensor, a gyro sensor, a geomagnetic sensor, and a direction sensor. The attitude data may include velocity, acceleration, angular velocity, angular acceleration, change in center of gravity, change in position, change in direction, and tilt angle with respect to a reference, among others.
And 102, determining a corresponding target application program according to the received black screen gesture.
For example, different types of black screen gestures may be preset to correspond to the application program, as described above, gesture type O corresponds to the camera application, gesture type V corresponds to the flashlight application, and so on. Optionally, the step may specifically include: and acquiring the action track of the received black screen gesture, identifying the type of the black screen gesture according to the action track, and determining a corresponding target application program according to the type of the black screen gesture. The target application is the application that needs to be opened after waking up the display screen.
And 103, determining a target starting mode corresponding to the target application program according to whether the posture data meet the preset conditions.
In the embodiment of the invention, the target starting mode comprises a common mode and a private mode. With the rapid popularization of mobile terminals, application programs loaded on the mobile terminals are more and more abundant, many users can not leave the mobile terminals in life and work, the application programs contain a large amount of privacy data of the users, including chat records, financial data, work file contents and the like, and the contents need to be effectively protected.
Illustratively, when the gesture data does not meet the preset condition, the corresponding target starting mode is a normal mode, and when the gesture data meets the preset condition, the corresponding target starting mode is a private mode. The private mode can be a mode which is convenient for a mobile terminal owner to operate, such as automatically logging in an account corresponding to a target application program, and automatically entering a nearest operation interface; the common mode can be a mode for hiding and displaying privacy information of the owner of the mobile terminal, and the use of the target application program to be started by other people is generally not influenced in the mode, such as entering an account login page of the target application program, entering an initial interface of the target application program and the like. For example, the preset condition may be determined according to a black screen gesture input by a user when performing a black screen gesture setting. If the user enters a black screen gesture setting interface of the application program P, the gesture of the mobile terminal is controlled according to a form which is considered by the user to be not easy to be found by others and the input of the black screen gesture is carried out, the gesture of the mobile terminal in the process of inputting the black screen gesture by the user is analyzed by the mobile terminal, the analysis result can be provided for the user as a preset condition, the user can conveniently control the gesture of the mobile terminal when inputting the black screen gesture according to the indication of the analysis result next time, and the purpose of entering the private mode of the application program P is achieved.
And 104, awakening the display screen and starting the target application program according to the target starting mode.
Illustratively, after a user inputs a black screen gesture in a black screen state, the mobile terminal can determine a target application program to be started and which mode the target application program needs to be started in through the steps, and then the display screen is awakened, namely the display screen is controlled to be lightened, and the target application program is started in the target starting mode, so that the purpose of starting the target application program in different modes according to different input modes of the black screen gesture can be achieved, the privacy of the owner of the mobile terminal is protected, and the use of the target application program by other people is not influenced.
According to the control method based on the black screen gesture, the black screen gesture is received in the black screen state, the gesture data of the mobile terminal are obtained in the receiving process, the corresponding target application program is determined according to the black screen gesture, whether the target starting mode corresponding to the target application program is the common mode or the private mode is determined according to the fact that whether the gesture data meet the preset conditions, and finally the display screen is awakened and the target application program is started according to the target starting mode. By adopting the technical scheme, the starting mode of the application program is determined according to the gesture data of the mobile terminal in the process of inputting the black screen gesture while the application program is started according to the black screen gesture, the functions of the black screen gesture are enriched, and when the user inputs the black screen gesture, other people cannot be aware of the gesture of the mobile terminal, so that the privacy of the user can be effectively protected.
In one embodiment, the specific implementation form of the private mode and the common mode can be determined by the target application program corresponding to the black screen gesture. Specifically, the waking up the display screen and starting the target application program according to the target start mode includes: determining a type of the target application; determining an opening strategy corresponding to the target opening mode according to the type; and awakening the display screen and starting the target application program according to the starting strategy. The method has the advantages of better conforming to the characteristics of the application program, better facilitating the use of the owner of the mobile terminal and protecting the privacy of the owner of the mobile terminal. The general mode opening policy and the private mode opening policy corresponding to different types of applications may be determined by the application itself, for example, by an installation Package (such as an Android Package, APK for short), may also be determined by a system of the mobile terminal, and may also be freely set by an owner of the mobile terminal. Several implementations are given below as illustrative illustrations.
Firstly, the type of the target application program is a desktop, the opening strategy corresponding to the common mode is to hide icons of preset private applications, and the opening strategy corresponding to the private mode is to display icons of all application programs in the desktop. Correspondingly, waking up the display screen and starting the target application program according to the starting strategy comprises: when the target starting mode is a common mode, awakening the display screen and displaying a desktop, and hiding an icon of a preset private application in the desktop; and when the target opening mode is a private mode, awakening the display screen and displaying icons of all application programs in the desktop. It should be noted that the desktop may include a plurality of pages, where icons of all applications may be icons of all applications in the desktop of the first page, which conforms to the conventional display manner; or icons of all application programs loaded in the mobile terminal, so that the user can conveniently and quickly enter the application program to be started. For example, the owner of the mobile terminal can preset application programs (preset private applications) which are not expected to be discovered or used by others, and icons of the application programs are not displayed in the normal mode, so that the use permission of the application programs in the mobile terminal by others can be limited.
Secondly, the type of the target application program is an account application, the opening policy corresponding to the normal mode is to enter an account login page of the target application program or automatically login a normal account of the target application program, and the opening policy corresponding to the private mode is to automatically login a private account of the target application program. Correspondingly, waking up the display screen and starting the target application program according to the starting strategy comprises: when the target starting mode is a common mode, awakening the display screen and entering an account login page of the target application program or automatically logging in a common account of the target application program; and when the target opening mode is a private mode, awakening the display screen and automatically logging in a private account of the target application program. The account application may include an application program in which an account name and a password of an account are set by a mobile terminal owner, the account name may be a mobile phone number, a mailbox or other types of character strings, and the password may be a character password, a graphic password, a fingerprint password, and the like. For example, the account application may be a social application such as WeChat, microblog or QQ, a shopping application such as Taobao and Jingdong, or a reading application such as a browser and a library, and the embodiment of the present invention is not limited specifically. Optionally, in order to eliminate confusion of others, the account number of the owner of the mobile terminal is better hidden, a normal account and a private account can be set, and when others enter the normal account by inputting a black screen gesture in the mobile terminal, the others are unaware that the owner of the mobile terminal has other account numbers which do not want to be known by others. Furthermore, a plurality of private accounts can be provided, each private account can correspond to an input mode of a black screen gesture, and a mobile terminal owner can conveniently and quickly enter different private accounts of the target application program by changing the input mode of the black screen gesture. Specifically, waking up the display screen and automatically logging in the private account of the target application program may include analyzing the target private account corresponding to the change rule of the touch pressure, and waking up the display screen and automatically logging in the private account of the target application program.
Thirdly, the type of the target application program is public application, the opening strategy corresponding to the common mode is an initial interface for entering the target application program, and the opening strategy corresponding to the private mode is an interface for entering the latest access. Correspondingly, waking up the display screen and starting the target application program according to the starting strategy comprises: when the target starting mode is a common mode, awakening the display screen and entering an initial interface of the target application program; and when the target starting mode is a private mode, awakening the display screen and entering a latest access interface. The common application may include an application program that does not support account setting and may also include an application program that supports account setting but does not set an account by the owner of the mobile terminal. For example, the public applications may include office software, calculators, maps, readers, and audio/video players. For example, the initial page may include a default home page or welcome page of the application, etc., which may be the same as the page when the application was first installed and launched. For example, the last access interface of the office software may be a last unprocessed document interface or a last opened document interface; the most recent access interface of the calculator may be a result interface displaying the last operation; the most recent access interface of the map may be the last queried address or route interface; the latest access interface of the reader can be a page displayed according to the last reading progress; the latest access interface of the audio and video player can be a page displayed according to the last playing progress. Further, when the target start mode is a normal mode, waking up the display screen and entering an initial interface of the target application program, which may further include: hiding historical usage traces. For example, it is possible for a browser to hide the browsing history as well as hiding the information within the favorites. Therefore, when other people continue to perform other operations from the initial interface, the privacy information of the owner of the mobile terminal can not be seen, and the information safety is further ensured.
It will be appreciated that the types of applications described above are merely examples, and that other types of applications are possible, and are not illustrated here. The same mobile terminal may simultaneously include the above two or more types of application programs, that is, the control method based on the black screen gesture in the embodiment of the present invention may simultaneously include the above at least two implementation manners and execute corresponding steps.
In one embodiment, waking up the display screen and starting the target application according to the target start-up mode may further include: and awakening the display screen and receiving unlocking information input by a user, and starting the target application program according to the target starting mode when the unlocking information passes verification. Specifically, waking up the display screen and receiving the unlocking information input by the user may further include: and awakening the display screen and entering an unlocking information input interface, and receiving unlocking information input by a user. For example, the unlocking information may be character password information, graphic password information, or the like, or may also be biometric features such as fingerprint information, and may be used to unlock the mobile terminal to obtain the usage right of the mobile terminal. The optimization here is particularly suitable for application scenarios in which the owner of the mobile terminal is required by others to tell passwords or enter passwords, which the owner of the mobile terminal has to tell for special reasons. The special reason may be, for example, a threat of malicious persons, a case where an acquaintance such as a relative or friend is not willing to reject the request, or a case where another person needs to temporarily help use his/her mobile terminal. When other people enter the target application program corresponding to the black screen gesture by inputting correct passwords, the user does not want to access the target application program in a common mode, and the doubt of other people is eliminated, so that the privacy safety of the user can be further ensured. For example, for a desktop, when the target open mode is a normal mode, waking up the display screen and displaying the desktop, and hiding an icon of a preset private application in the desktop, which may specifically be: when the target starting mode is a common mode, awakening the display screen and receiving unlocking information input by a user, when the unlocking information passes verification, displaying a desktop, and hiding an icon of a preset private application in the desktop; when the target starting mode is a private mode, waking up the display screen and displaying icons of all application programs in the desktop, which may specifically be: when the target opening mode is the private mode, awakening the display screen and receiving unlocking information input by a user, and when the unlocking information passes verification, displaying icons of all application programs in the desktop. For other types of applications, the embodiments of the present invention are not described in detail.
In an embodiment, determining the corresponding target start mode according to whether the gesture data meets the preset condition may include many implementation manners, and the preset condition may be set based on the privacy level of the target application program or the input habit of the user. Several implementations are given below as illustrative illustrations, assuming that the pose data includes the tilt angle of the mobile terminal, in particular, the tilt angle of the back of the mobile terminal, with respect to the horizontal.
Firstly, when the minimum value of the inclination angle is smaller than a first preset value, the corresponding target starting mode is determined to be a common mode, and when the minimum value of the inclination angle is larger than or equal to the first preset value, the corresponding target starting mode is determined to be a private mode. Generally, in the process of inputting a black screen gesture by most users, a mobile terminal may be flatly placed on the surface of an object such as a desktop, and at this time, the inclination angle of the mobile terminal relative to the horizontal plane is relatively small and is close to 0 degree; the mobile terminal may also be held in the user's hand, and in a more comfortable holding state, the tilt angle of the mobile terminal to the horizontal is typically around 45 degrees, rarely exceeding 60 degrees. For example, in the embodiment of the present invention, the first preset value may be greater than or equal to 60 degrees, and in order to make it less likely that others may mistakenly enter the private mode of the target application program, the first preset value may also be set to be larger, for example, 80 degrees. For example, when the owner of the mobile terminal wants to open the target application program in the private mode, the owner of the mobile terminal can hold the mobile terminal in a holding manner close to 90 degrees (the mobile terminal is close to and vertical to the horizontal plane) and input a black screen gesture, and when the mobile terminal detects that the inclination angle is larger than 80 degrees, the corresponding target opening mode is determined to be the private mode. The method has the advantages that the target starting mode can be determined directly according to the inclination angle data, extra calculation is not needed, and the target starting mode can be determined rapidly, so that the speed of starting the target application program is improved on the whole.
And secondly, when the difference value between the maximum value and the minimum value of the inclination angle is smaller than a second preset value, determining that the corresponding target starting mode is a common mode, and when the difference value between the maximum value and the minimum value of the inclination angle is larger than or equal to the second preset value, determining that the corresponding target starting mode is a private mode. Generally, in the process of inputting a black screen gesture by most users, the mobile terminal may be flatly placed on the surface of an object such as a desktop, and the change of the inclination angle of the mobile terminal relative to the horizontal plane during the period is very small and is close to 0 degree; the mobile terminal may be held in the hand of the user, and for smooth and accurate input of the black screen gesture, the inertial input manner of the ordinary person keeps the mobile terminal stable, so the change of the inclination angle is also small, and is generally less than 5 degrees. For example, in the embodiment of the present invention, the first preset value may be greater than or equal to 10 degrees, and in order to make it less likely that others mistakenly enter the private mode of the target application program, the second preset value may also be set to be larger, for example, 30 degrees. For example, when the owner of the mobile terminal wants to open the target application program in the private mode, the owner of the mobile terminal may swing the mobile terminal forward or backward during the input of the black screen gesture (for example, the top of the mobile terminal rotates away from the user side and moves backward when approaching the user side), so that the tilt angle of the mobile terminal relative to the horizontal plane is greatly changed, and the mobile terminal detects that the difference between the maximum value and the minimum value of the tilt angle is greater than 30 degrees, and then the corresponding target open mode is determined to be the private mode. Fig. 4 is a schematic swinging diagram of a mobile terminal according to an embodiment of the present invention, as shown in fig. 4, a front 401 of the mobile terminal faces a user side, when the user starts to input a black-screen gesture, the mobile terminal is in a first posture 402 corresponding to a maximum value β of an inclination angle, the mobile terminal changes to a second posture 403 along with the input of the black-screen gesture, and a difference γ between the two is β - α, which indicates that the mobile terminal swings backwards, and when γ is greater than 30 degrees, it is determined that a target open mode is a private mode. If the mobile terminal is in the second posture 403 when the user starts inputting the black screen gesture, and the mobile terminal changes to the first posture 402 along with the input of the black screen gesture, it is said that the mobile terminal swings forward. The advantage of this kind of mode lies in, the accessible carries out simple screening and operation to inclination data and can confirms the target mode of opening, can confirm the target mode of opening fast, guarantees the speed of opening the target application, and disguise and security are high, effectively avoids other people carelessly to miss the entering secret mode.
And thirdly, when the swinging frequency of the mobile terminal is determined to be smaller than a third preset value according to the inclination angle, determining that the corresponding target starting mode is a common mode, and when the swinging frequency of the mobile terminal is determined to be larger than or equal to the third preset value according to the inclination angle, determining that the corresponding target starting mode is a private mode. On the second basis, the number of times the mobile terminal swings back and forth may be counted (e.g., front when the top of the mobile terminal rotates away from the user side and back when the top of the mobile terminal rotates closer to the user side, as described above). For example, extreme values appearing in the variation curve of the inclination angle may be associated with the wobbling, i.e., the number of the extreme values appearing is equal to the number of wobbling times. In order to improve the accuracy of the swing frequency determination and avoid misidentifying slight shaking as a swing, the current extreme value is determined as a swing when the difference between the current extreme value and the last extreme value is greater than a preset difference value. As described above, the general user basically keeps the mobile terminal still while inputting the black screen gesture, so that the back and forth swing does not occur. For example, the third preset value may be greater than or equal to 1, and the third preset value may be set to be larger, for example, 2, in order to make it less likely that others may mistakenly enter the private mode of the target application. For example, when the owner of the mobile terminal wants to open the target application program in the private mode, the owner of the mobile terminal may swing the mobile terminal back and forth 2 times in the process of inputting the black screen gesture, and when the mobile terminal detects that the swing time is equal to 2, it is determined that the corresponding target open mode is the private mode. The method has the advantages of high safety and capability of effectively preventing others from entering the private mode by mistake.
And fourthly, when the matching degree of the change curve of the inclination angle and the preset curve is smaller than a third preset value, determining that the corresponding target starting mode is a common mode, and when the matching degree of the change curve of the inclination angle and the preset curve is larger than or equal to the third preset value, determining that the corresponding target starting mode is a private mode. The matching degree may include matching modes such as peak error comparison and absolute error comparison, the embodiment of the present invention is not particularly limited, and the third preset value may be set according to the specific matching mode. The fourth mode has the advantages that the change situation of the inclination angle in the whole input process is judged, the cracking difficulty is high, and the safety is higher.
It can be understood that the above several manners may also be combined, and under the condition that more than two determination conditions are simultaneously satisfied, the corresponding target open mode is determined to be the private mode. For example, when the difference between the maximum value and the minimum value of the inclination angle is greater than or equal to a second preset value and the number of times of swinging of the mobile terminal is determined to be greater than or equal to a third preset value according to the inclination angle, determining that the corresponding target starting mode is the private mode. Other combinations are not described in detail in the embodiments of the present invention.
Fig. 5 is a schematic flowchart of another control method based on a black-screen gesture according to an embodiment of the present invention, which is applicable to a case where a target application is a desktop, and the method includes:
step 501, when the display screen is in a black screen state, receiving a black screen gesture input by a user and acquiring gesture data of the mobile terminal in the process of receiving the black screen gesture.
Step 502, determining that the corresponding target application program is a desktop according to the received black screen gesture.
Step 503, judging whether the inclination angle in the attitude data is smaller than A, if so, executing step 504; otherwise, go to step 507.
It is understood that the determination in this step may be replaced by other methods described above.
And step 504, determining that the target starting mode is a common mode.
And 505, determining an opening strategy of the common mode corresponding to the desktop.
And step 506, waking up the display screen and displaying the desktop, hiding the icon of the preset private application in the desktop, and ending the process.
And step 507, determining that the target opening mode is a private mode.
And step 508, determining the starting strategy of the private mode corresponding to the desktop.
And step 59, waking up the display screen, displaying icons of all application programs in the desktop, and ending the process.
Fig. 6a is a schematic view of a desktop in a normal mode according to an embodiment of the present invention, and fig. 6b is a schematic view of a desktop in a private mode according to an embodiment of the present invention. Comparing fig. 6a and fig. 6b, it can be known that the private application is preset as the wechat, the icon of the wechat application is hidden in the normal mode, and meanwhile, the arrangement of the desktop icon is adaptively adjusted, so that other people cannot easily perceive the hidden application in the mobile terminal.
In the embodiment of the invention, when the user needs to enter the desktop according to the black screen gesture, the user enters different desktops according to different judgment results of the size of the inclination angle in the gesture data, so that the privacy application of the user can be protected safely and covertly.
Fig. 7 is a schematic flowchart of another control method based on a black-screen gesture according to an embodiment of the present invention, which is applicable to protection of an account application, and takes WeChat as an example, the method includes:
step 701, when the display screen is in a black screen state, receiving a black screen gesture input by a user and acquiring gesture data of the mobile terminal in the process of receiving the black screen gesture.
Step 702, determining that the corresponding target application program is WeChat according to the received black screen gesture.
Step 703, judging whether the difference value between the maximum value and the minimum value of the inclination angle in the attitude data is smaller than B, if so, executing step 704; otherwise, step 707 is executed.
It is understood that the determination in this step may be replaced by other methods described above.
And step 704, determining that the target starting mode is a common mode.
Step 705, determining the type of the WeChat as the account application and obtaining the opening strategy of the common mode corresponding to the account application.
Step 706, awakening the display screen and automatically logging in the ordinary account a of the WeChat, and ending the process.
And step 707, determining that the target opening mode is a private mode.
Step 708, determining the type of the WeChat as an account application and obtaining a private mode opening strategy corresponding to the account application.
Step 709, judging whether the difference value is within a preset difference value interval, if so, executing step 710; otherwise, step 711 is performed.
Illustratively, the grades of the private accounts can be further divided according to the difference values, so that the purpose of entering different private accounts can be achieved.
And step 710, waking up the display screen, automatically logging in the first private account b of the WeChat, and ending the process.
And 711, waking up the display screen, automatically logging in the second private account c of the WeChat, and ending the process.
According to the embodiment of the invention, when the user needs to enter a certain account application according to the black screen gesture, the user enters different accounts according to different judgment results of the difference value between the maximum value and the minimum value of the inclination angle, and under the condition that the security of the private account is ensured, the user can also automatically log in different private accounts.
Fig. 8 is a flowchart of another control method based on a black screen gesture according to an embodiment of the present invention, which is applicable to protecting a public application, and for example, WPS OFFICE (document processing software, hereinafter referred to as WPS), the method includes the following steps:
step 801, when the display screen is in a black screen state, receiving a black screen gesture input by a user and acquiring gesture data of the mobile terminal in the process of receiving the black screen gesture.
And step 802, determining that the corresponding target application program is the WPS according to the received black screen gesture.
Step 803, judging whether the matching degree of the change curve of the inclination angle in the attitude data and a preset curve is smaller than C, if so, executing step 804; otherwise, step 807 is performed.
It is understood that the determination in this step may be replaced by other methods described above.
And step 804, determining that the target starting mode is a common mode.
And step 805, determining that the type of the WPS is a public application, and acquiring a starting strategy of a common mode corresponding to the public application.
And step 806, waking up the display screen, entering an initial interface of the WPS, and ending the process.
Step 807, determine the target open mode as the private mode.
And 808, determining that the WPS type is a public application and acquiring an opening strategy of a private mode corresponding to the public application.
Step 809, waking up the display screen and opening the document processed last time in the WPS, and ending the process.
Fig. 9a is a schematic view of a common-mode common-class application interface provided in an embodiment of the present invention, and fig. 9b is a schematic view of a private-mode common-class application interface provided in an embodiment of the present invention. The interface in fig. 9a shows an initial interface of the WPS, when another person enters the WPS in the normal mode, the application program can be normally used, and when the owner of the mobile terminal enters the WPS in the private mode, the owner of the mobile terminal can directly see the document in the DOC format of the XX report processed last time, which is convenient for the user to use.
According to the embodiment of the invention, when a user needs to enter a certain public application according to the black screen gesture, the user can enter different interfaces of the application according to different judgment results of the change of the inclination angle in the gesture data, so that the use history of the user can be protected safely and covertly, and the user of the mobile terminal can conveniently and quickly enter the nearest access interface.
Fig. 10 is a block diagram of a control device based on a black screen gesture according to an embodiment of the present invention, where the control device may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and may enter different modes of an application program by executing a control method based on a black screen gesture. As shown in fig. 10, the apparatus includes:
a gesture receiving module 1001, configured to receive a black screen gesture input by a user when a display screen is in a black screen state;
the gesture data acquisition module 1002 is configured to acquire gesture data of the mobile terminal in the process of receiving the black screen gesture;
an application determining module 1003, configured to determine a corresponding target application according to the received black screen gesture;
an open mode determining module 1004, configured to determine a corresponding target open mode according to whether the gesture data meets a preset condition, where the target open mode includes a normal mode and a private mode;
an application starting module 1005, configured to wake up the display screen and start the target application according to the target starting mode.
According to the control device based on the black screen gesture, the application program is started according to the black screen gesture, meanwhile, the starting mode of the application program is determined according to the posture data of the mobile terminal in the process of inputting the black screen gesture, functions of the black screen gesture are enriched, when a user inputs the black screen gesture, other people cannot be aware of the posture of the mobile terminal, and privacy of the user can be effectively protected.
Optionally, the waking up the display screen and starting the target application according to the target start mode includes:
determining a type of the target application;
determining an opening strategy corresponding to the target opening mode according to the type;
and awakening the display screen and starting the target application program according to the starting strategy.
Optionally, the type of the target application program is a desktop, the opening policy corresponding to the common mode is to hide icons of a preset private application, and the opening policy corresponding to the private mode is to display icons of all application programs in the desktop;
awakening the display screen and starting the target application program according to the starting strategy, comprising:
when the target starting mode is a common mode, awakening the display screen and displaying a desktop, and hiding an icon of a preset private application in the desktop;
and when the target opening mode is a private mode, awakening the display screen and displaying icons of all application programs in the desktop.
Optionally, the type of the target application program is an account application, the opening policy corresponding to the normal mode is to enter an account login page of the target application program or to automatically login a normal account of the target application program, and the opening policy corresponding to the private mode is to automatically login a private account of the target application program;
awakening the display screen and starting the target application program according to the starting strategy, comprising:
when the target starting mode is a common mode, awakening the display screen and entering an account login page of the target application program or automatically logging in a common account of the target application program;
and when the target opening mode is a private mode, awakening the display screen and automatically logging in a private account of the target application program.
Optionally, the type of the target application program is a public application, the opening policy corresponding to the normal mode is an initial interface for entering the target application program, and the opening policy corresponding to the private mode is an interface for entering a latest access;
awakening the display screen and starting the target application program according to the starting strategy, comprising:
when the target starting mode is a common mode, awakening the display screen and entering an initial interface of the target application program;
and when the target starting mode is a private mode, awakening the display screen and entering a latest access interface.
Optionally, waking up the display screen and starting the target application program according to the target start mode includes:
awakening the display screen and receiving unlocking information input by a user;
and when the unlocking information passes the verification, starting the target application program according to the target starting mode.
Optionally, the gesture data includes an inclination angle of the mobile terminal relative to a horizontal plane, and the determining of the corresponding target start mode according to whether the gesture data meets a preset condition includes:
when the minimum value of the inclination angle is smaller than a first preset value, determining that the corresponding target starting mode is a common mode, and when the minimum value of the inclination angle is larger than or equal to the first preset value, determining that the corresponding target starting mode is a private mode; or the like, or, alternatively,
when the difference value between the maximum value and the minimum value of the inclination angle is smaller than a second preset value, determining that the corresponding target starting mode is a common mode, and when the difference value between the maximum value and the minimum value of the inclination angle is larger than or equal to the second preset value, determining that the corresponding target starting mode is a private mode; or the like, or, alternatively,
when the number of times of swinging of the mobile terminal is determined to be smaller than a third preset value according to the inclination angle, determining that the corresponding target starting mode is a common mode, and when the number of times of swinging of the mobile terminal is determined to be larger than or equal to the third preset value according to the inclination angle, determining that the corresponding target starting mode is a private mode; or the like, or, alternatively,
and when the matching degree of the change curve of the inclination angle and the preset curve is greater than or equal to a fourth preset value, determining that the corresponding target starting mode is a private mode.
Embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for black-screen gesture-based control, the method including:
when the display screen is in a black screen state, receiving a black screen gesture input by a user and acquiring gesture data of the mobile terminal in the process of receiving the black screen gesture;
determining a corresponding target application program according to the received black screen gesture;
determining a corresponding target starting mode according to whether the attitude data meets a preset condition, wherein the target starting mode comprises a common mode and a private mode;
and awakening the display screen and starting the target application program according to the target starting mode.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the control operation based on the black screen gesture described above, and may also perform related operations in the control method based on the black screen gesture provided by any embodiments of the present invention.
The embodiment of the invention provides a mobile terminal, wherein a screen display control device provided by the embodiment of the invention can be integrated in the mobile terminal. Fig. 11 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in fig. 11, the mobile terminal may include: a housing (not shown), a memory 1101, a Central Processing Unit (CPU) 1102 (also called a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU1102 and the memory 1101 are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory 1101 for storing executable program code; the CPU1102 runs a computer program corresponding to the executable program code by reading the executable program code stored in the memory 1101 to implement the steps of:
when the display screen is in a black screen state, receiving a black screen gesture input by a user and acquiring gesture data of the mobile terminal in the process of receiving the black screen gesture;
determining a corresponding target application program according to the received black screen gesture;
determining a corresponding target starting mode according to whether the attitude data meets a preset condition, wherein the target starting mode comprises a common mode and a private mode;
and awakening the display screen and starting the target application program according to the target starting mode.
The mobile terminal further includes: peripheral interfaces 1103, RF (Radio Frequency) circuits 1105, audio circuits 1106, speakers 1111, power management chip 1108, input/output (I/O) subsystems and other input/control devices, touch screen 1112, other input/control devices 1110, and external ports 1104, which communicate through one or more communication buses or signal lines 1107.
It should be understood that the illustrated mobile terminal 1000 is merely one example of a mobile terminal and that the mobile terminal 1000 may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail a mobile terminal for application control based on a black screen gesture according to this embodiment, where the mobile terminal is a mobile phone as an example.
A memory 1101, the memory 1101 being accessible by the CPU1102, the peripheral interface 1103, or the like, the memory 1101 may comprise high speed random access memory, and may also comprise non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 1103, the peripheral interface 1103 may connect input and output peripherals of the device to the CPU1102 and the memory 1101.
An I/O subsystem 1109, the I/O subsystem 1109 may connect input and output peripherals on the device, such as the touch screen 1112 and other input/control devices 1110, to the peripheral interface 1103. The I/O subsystem 1109 may include a display controller 11091 and one or more input controllers 11092 for controlling other input/control devices 1110. Where one or more input controllers 11092 receive electrical signals from or send electrical signals to other input/control devices 1110, the other input/control devices 1110 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels, etc. It is noted that the input controller 11092 may be connected to any one of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 1112, which touch screen 1112 is an input interface and an output interface between the user's mobile terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 11091 in the I/O subsystem 1109 receives electrical signals from the touch screen 1112 or sends electrical signals to the touch screen 1112. The touch screen 1112 detects a contact on the touch screen, the display controller 11091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 1112, i.e., implements a human-machine interaction, and the user interface object displayed on the touch screen 1112 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 1105 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, RF circuit 1105 receives and transmits RF signals, also referred to as electromagnetic signals, through which RF circuit 1105 converts electrical signals to or from electromagnetic signals and communicates with a communication network and other devices. The RF circuitry 1105 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 1106 is mainly used to receive audio data from the peripheral interface 1103, convert the audio data into an electric signal, and transmit the electric signal to the speaker 1111.
The speaker 1111 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 1105 to sound and play the sound to the user.
And a power management chip 1108 for supplying power and managing power to the hardware connected to the CPU1102, the I/O subsystem, and the peripheral interface.
According to the mobile terminal provided by the embodiment of the invention, the starting mode of the application program is determined according to the posture data of the mobile terminal in the process of inputting the black screen gesture while the application program is started according to the black screen gesture, so that the functions of the black screen gesture are enriched, and when the user inputs the black screen gesture, other people cannot be aware of the posture of the mobile terminal, so that the privacy of the user can be effectively protected.
The control device, the storage medium and the mobile terminal based on the black screen gesture provided in the above embodiments can execute the control method based on the black screen gesture provided in any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method. Technical details that are not described in detail in the above embodiments may be referred to a control method based on a black screen gesture provided in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A control method based on a black screen gesture is characterized by comprising the following steps:
when the display screen is in a black screen state, receiving a black screen gesture input by a user and acquiring attitude data of the mobile terminal in the process of receiving the black screen gesture, wherein the attitude data is acquired through an attitude sensor integrated in the mobile terminal, the attitude sensor comprises at least one of a gravity sensor, a gyroscope sensor, a geomagnetic sensor and a direction sensor, and the attitude data comprises at least one of speed, acceleration, angular velocity, angular acceleration, gravity center variation, position variation, direction variation and an inclination angle of a relative reference object;
determining a corresponding target application program according to the received black screen gesture, wherein the target application program is an application program which is started after a display screen is awakened;
determining a corresponding target starting mode according to whether the posture data meets a preset condition, wherein the target starting mode comprises a common mode and a private mode, the preset condition is determined according to a black screen gesture input by a user during black screen gesture setting, or the preset condition is set based on the privacy degree of a target application program or the input habit of the user;
and awakening the display screen and starting the target application program according to the target starting mode.
2. The method of claim 1, wherein waking up the display screen and starting the target application according to the target-on mode comprises:
determining a type of the target application;
determining an opening strategy corresponding to the target opening mode according to the type;
and awakening the display screen and starting the target application program according to the starting strategy.
3. The method according to claim 2, wherein the type of the target application program is a desktop, the opening policy corresponding to the normal mode is to hide icons of a preset private application, and the opening policy corresponding to the private mode is to display icons of all application programs in the desktop;
awakening the display screen and starting the target application program according to the starting strategy, comprising:
when the target starting mode is a common mode, awakening the display screen and displaying a desktop, and hiding an icon of a preset private application in the desktop;
and when the target opening mode is a private mode, awakening the display screen and displaying icons of all application programs in the desktop.
4. The method according to claim 2, wherein the type of the target application program is an account application, the opening policy corresponding to the normal mode is to enter an account login page of the target application program or to automatically login to a normal account of the target application program, and the opening policy corresponding to the private mode is to automatically login to a private account of the target application program;
awakening the display screen and starting the target application program according to the starting strategy, comprising:
when the target starting mode is a common mode, awakening the display screen and entering an account login page of the target application program or automatically logging in a common account of the target application program;
and when the target opening mode is a private mode, awakening the display screen and automatically logging in a private account of the target application program.
5. The method according to claim 2, wherein the type of the target application program is a public application, the opening policy corresponding to the normal mode is an initial interface for entering the target application program, and the opening policy corresponding to the private mode is an opening policy for entering a latest access interface;
awakening the display screen and starting the target application program according to the starting strategy, comprising:
when the target starting mode is a common mode, awakening the display screen and entering an initial interface of the target application program;
and when the target starting mode is a private mode, awakening the display screen and entering a latest access interface.
6. The method of claim 1, wherein waking up the display screen and starting the target application according to the target-on mode comprises:
awakening the display screen and receiving unlocking information input by a user;
and when the unlocking information passes the verification, starting the target application program according to the target starting mode.
7. The method according to any one of claims 1 to 6, wherein the gesture data includes an inclination angle of the mobile terminal with respect to a horizontal plane, and determining the corresponding target on mode according to whether the gesture data meets a preset condition includes:
when the minimum value of the inclination angle is smaller than a first preset value, determining that the corresponding target starting mode is a common mode, and when the minimum value of the inclination angle is larger than or equal to the first preset value, determining that the corresponding target starting mode is a private mode; or the like, or, alternatively,
when the difference value between the maximum value and the minimum value of the inclination angle is smaller than a second preset value, determining that the corresponding target starting mode is a common mode, and when the difference value between the maximum value and the minimum value of the inclination angle is larger than or equal to the second preset value, determining that the corresponding target starting mode is a private mode; or the like, or, alternatively,
when the number of times of swinging of the mobile terminal is determined to be smaller than a third preset value according to the inclination angle, determining that the corresponding target starting mode is a common mode, and when the number of times of swinging of the mobile terminal is determined to be larger than or equal to the third preset value according to the inclination angle, determining that the corresponding target starting mode is a private mode; or the like, or, alternatively,
and when the matching degree of the change curve of the inclination angle and the preset curve is greater than or equal to a fourth preset value, determining that the corresponding target starting mode is a private mode.
8. A control device based on a black screen gesture, comprising:
the gesture receiving module is used for receiving a black screen gesture input by a user when the display screen is in a black screen state;
the gesture data acquisition module is used for acquiring gesture data of the mobile terminal in the process of receiving the black screen gesture, wherein the gesture data is acquired through a gesture sensor integrated in the mobile terminal, the gesture sensor comprises at least one of a gravity sensor, a gyroscope sensor, a geomagnetic sensor and a direction sensor, and the gesture data comprises at least one of speed, acceleration, angular speed, angular acceleration, gravity center variation, position variation, direction variation and an inclination angle of a relative reference object;
the application determination module is used for determining a corresponding target application program according to the received black screen gesture, wherein the target application program is an application program which is started after the display screen is awakened;
the starting mode determining module is used for determining a corresponding target starting mode according to whether the posture data meets a preset condition or not, wherein the target starting mode comprises a common mode and a private mode, the preset condition is determined according to a black screen gesture input by a user when the user sets the black screen gesture, or the preset condition is set based on the privacy degree of a target application program or the input habit of the user;
and the application starting module is used for awakening the display screen and starting the target application program according to the target starting mode.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a black-screen gesture-based control method according to any one of claims 1 to 7.
10. A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for controlling based on black screen gestures according to any one of claims 1 to 7 when executing the computer program.
CN201710632957.1A 2017-07-28 2017-07-28 Control method and device based on black screen gesture, storage medium and mobile terminal Active CN107422860B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710632957.1A CN107422860B (en) 2017-07-28 2017-07-28 Control method and device based on black screen gesture, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710632957.1A CN107422860B (en) 2017-07-28 2017-07-28 Control method and device based on black screen gesture, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN107422860A CN107422860A (en) 2017-12-01
CN107422860B true CN107422860B (en) 2020-01-14

Family

ID=60430722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710632957.1A Active CN107422860B (en) 2017-07-28 2017-07-28 Control method and device based on black screen gesture, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN107422860B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106778131B (en) * 2016-11-30 2019-12-31 Oppo广东移动通信有限公司 Display method and device of hidden information and terminal
CN109462882A (en) * 2018-09-03 2019-03-12 珠海格力电器股份有限公司 Control method, device and the terminal of terminal
CN110516420A (en) * 2019-08-23 2019-11-29 芯海科技(深圳)股份有限公司 Verification method, device, electronic equipment and readable storage medium storing program for executing
CN110532743A (en) * 2019-08-23 2019-12-03 芯海科技(深圳)股份有限公司 Verification method, device, electronic equipment and computer readable storage medium
CN110865858A (en) * 2019-10-28 2020-03-06 维沃移动通信有限公司 Screen awakening method and electronic equipment
CN113342407B (en) * 2021-06-25 2023-01-24 歌尔科技有限公司 Screen control method and device, electronic equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139354A (en) * 2013-01-31 2013-06-05 广东欧珀移动通信有限公司 Method and device for unlocking cell phone
CN104331231A (en) * 2014-11-27 2015-02-04 广东欧珀移动通信有限公司 Screen unlocking method and screen unlocking device of mobile terminal
CN104424410A (en) * 2013-09-05 2015-03-18 深圳市艾酷通信软件有限公司 Method for rapidly starting application in safety class by mobile intelligent terminal and system for rapidly starting application in safety class by mobile intelligent terminal
CN104700016A (en) * 2015-03-17 2015-06-10 上海与德通讯技术有限公司 Starting method and device of application program
CN106060191A (en) * 2015-04-14 2016-10-26 Lg电子株式会社 Mobile terminal
CN106570364A (en) * 2016-10-28 2017-04-19 上海斐讯数据通信技术有限公司 Method and system for unlocking mobile terminal and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139354A (en) * 2013-01-31 2013-06-05 广东欧珀移动通信有限公司 Method and device for unlocking cell phone
CN104424410A (en) * 2013-09-05 2015-03-18 深圳市艾酷通信软件有限公司 Method for rapidly starting application in safety class by mobile intelligent terminal and system for rapidly starting application in safety class by mobile intelligent terminal
CN104331231A (en) * 2014-11-27 2015-02-04 广东欧珀移动通信有限公司 Screen unlocking method and screen unlocking device of mobile terminal
CN104700016A (en) * 2015-03-17 2015-06-10 上海与德通讯技术有限公司 Starting method and device of application program
CN106060191A (en) * 2015-04-14 2016-10-26 Lg电子株式会社 Mobile terminal
CN106570364A (en) * 2016-10-28 2017-04-19 上海斐讯数据通信技术有限公司 Method and system for unlocking mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN107422860A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
CN107422860B (en) Control method and device based on black screen gesture, storage medium and mobile terminal
CN107450839B (en) Control method and device based on black screen gesture, storage medium and mobile terminal
CN107395889B (en) Method and device for reducing power consumption of mobile terminal, storage medium and mobile terminal
ES2872960T3 (en) Gesture-based control method with screen off, and storage medium and mobile terminal thereof
US9027117B2 (en) Multiple-access-level lock screen
JP2019508793A (en) Method and apparatus for invoking a function in an application
WO2019019817A1 (en) Control method and apparatus based on black screen gesture, storage medium, and mobile terminal
TWI675329B (en) Information image display method and device
WO2019218886A1 (en) Application pre-loading management method, device, storage medium and smart terminal
CN111758095A (en) Method and terminal for quickly opening application or application function
CN108235767B (en) Payment application isolation method and device and terminal
WO2017114391A1 (en) Method, apparatus, and electronic device based on use of electronic device by multiple accounts
EP3699789A1 (en) Method and device for security verification and mobile terminal
US9536073B2 (en) Device-based application security
US20220012317A1 (en) Systems and methods for providing a continuous biometric authentication of an electronic device
US20190340343A1 (en) Application interface display method, apparatus, and terminal, and storage medium
WO2017088745A1 (en) Information processing method and apparatus, and electronic device
KR102253155B1 (en) A method for providing a user interface and an electronic device therefor
US9648497B2 (en) Mobile terminal and login control method thereof
US9424416B1 (en) Accessing applications from secured states
US20170147809A1 (en) Enhancing security of a mobile device using pre-authentication sequences
KR20180014614A (en) Electronic device and method for processing touch event thereof
CN106778131B (en) Display method and device of hidden information and terminal
KR20160045428A (en) Unlock method and apparatus
US10902101B2 (en) Techniques for displaying secure content for an application through user interface context file switching

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant