CN107450837B - Respond method, apparatus, storage medium and the mobile terminal of blank screen gesture - Google Patents

Respond method, apparatus, storage medium and the mobile terminal of blank screen gesture Download PDF

Info

Publication number
CN107450837B
CN107450837B CN201710632256.8A CN201710632256A CN107450837B CN 107450837 B CN107450837 B CN 107450837B CN 201710632256 A CN201710632256 A CN 201710632256A CN 107450837 B CN107450837 B CN 107450837B
Authority
CN
China
Prior art keywords
gesture
blank screen
screen
touching display
blank
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
CN201710632256.8A
Other languages
Chinese (zh)
Other versions
CN107450837A (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 CN201710632256.8A priority Critical patent/CN107450837B/en
Publication of CN107450837A publication Critical patent/CN107450837A/en
Priority to PCT/CN2018/091632 priority patent/WO2019019835A1/en
Application granted granted Critical
Publication of CN107450837B publication Critical patent/CN107450837B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

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)

Abstract

The embodiment of the invention discloses a kind of method, apparatus, storage medium and mobile terminals for responding blank screen gesture.This method includes obtaining the blank screen gesture that user inputs on the touching display screen when the operating mode of touching display screen is gesture mode;Judge whether the blank screen gesture is to put out the corresponding gesture of the predetermined registration operation executed under screen state;If so, reporting blank screen gesture event to application layer, so that touching display screen shows gesture path corresponding with the blank screen gesture, and the operating mode for controlling the touching display screen maintains gesture mode constant.By using above-mentioned technical proposal, the problem of blank screen gesture is responded not in time can effectively improve, touching display screen is avoided to restore by bright screen to generation the case where putting out screen back leak response blank screen gesture.

Description

Respond method, apparatus, storage medium and the mobile terminal of blank screen gesture
Technical field
The present embodiments relate to method, apparatus, the storage mediums of mobile terminal technology, more particularly to response blank screen gesture And mobile terminal.
Background technique
Current mobile terminal, such as smart phone, palm PC, tablet computer or handheld device etc. are commonly designed For the structure with touching display screen, to provide in a manner of touch input, keep the operation of user more convenient.
Blank screen gesture is that one of current smart phone shows unique characteristics and has the function of the scientific and technological following sense, when blank screen gesture After function is turned on, the gesture behaviour that detection acts on touching display screen can also be realized in the state of smart phone standby blank screen Make, to trigger the corresponding function of interior of mobile phone or software.But current blank screen gesture process flow existing defects cause to move Dynamic terminal is not prompt enough to the response for the blank screen gesture that user under application scenes inputs, and in turn, user is caused intuitively to recognize Reaction for blank screen gesture function is not sensitive enough.
Summary of the invention
Method, apparatus, storage medium and the mobile terminal of response blank screen gesture provided in an embodiment of the present invention, can be effective The problem of ground improves the response of blank screen gesture not in time.
In a first aspect, the embodiment of the invention provides a kind of methods for responding blank screen gesture, comprising:
When the operating mode of touching display screen is gesture mode, acquisition user inputs black on the touching display screen Shield gesture;
Judge whether the blank screen gesture is to put out the corresponding gesture of the predetermined registration operation executed under screen state;
If so, report blank screen gesture event to application layer so that touching display screen show it is corresponding with the blank screen gesture Gesture path, and control the touching display screen operating mode maintain gesture mode it is constant.
Second aspect, the embodiment of the invention also provides a kind of device for responding blank screen gesture, which includes:
Gesture obtain module, for the operating mode in touching display screen be gesture mode when, obtain user in the touching The blank screen gesture inputted on control display screen;
Gesture matching module, for judging whether the blank screen gesture is that put out the predetermined registration operation executed under screen state corresponding Gesture;
Event reporting module, if being to put out the corresponding gesture of predetermined registration operation executed under screen state for the blank screen gesture, Then report blank screen gesture event to application layer, so that touching display screen shows gesture path corresponding with the blank screen gesture, and And the operating mode of the control touching display screen maintains gesture mode constant.
The third aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the method for response blank screen gesture as described in the embodiments of the present invention when the program is executed by processor.
Fourth aspect, the embodiment of the invention also provides a kind of mobile terminals, including touching display screen, memory, processing Device and storage on a memory and the computer program that can run on a processor, the touching display screen, including touch chip, For detecting the blank screen gesture of user's input;The touch chip, for under the control of a processor, making the touch-control aobvious The operating mode of display screen maintains gesture mode constant;The processor realizes such as this hair when for executing the computer program The method of blank screen gesture is responded described in bright embodiment.
The scheme of response blank screen gesture provided in an embodiment of the present invention, by detecting that blank screen gesture currently entered is to put out When the corresponding gesture of the predetermined registration operation executed under screen state, report the corresponding blank screen gesture event of the blank screen gesture to application layer, So that touching display screen shows gesture path corresponding with the blank screen gesture, and control the Working mould of the touching display screen Formula maintains gesture mode constant, it is thus possible to respond rapidly to the blank screen gesture that user newly inputs after touching display screen extinguishing.It is logical Cross by adopting the above technical scheme, can effectively improve blank screen gesture response not in time the problem of, avoid touching display screen by Bright screen restores to generation the case where putting out screen back leak response blank screen gesture.
Detailed description of the invention
Fig. 1 is a kind of flow chart of method for responding blank screen gesture provided in an embodiment of the present invention;
Fig. 2 is gesture template correction interface schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of the sub- gesture path of blank screen gesture path provided in an embodiment of the present invention;
Fig. 4 is a kind of Android system block schematic illustration provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of method that system is waken up based on blank screen gesture provided in an embodiment of the present invention;
Fig. 6 is the flow chart of the method for another response blank screen gesture provided in an embodiment of the present invention;
Fig. 7 is the flow chart of the method for another response blank screen gesture provided in an embodiment of the present invention;
Fig. 8 is a kind of structural block diagram of device for responding blank screen gesture provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
Blank screen gesture function is the touching display screen in the case where mobile terminal (such as smart phone) is in and puts out screen suspend mode It is run with low power consumpting state, to detect the blank screen gesture for acting on touching display screen in the case where putting out screen state, and according to the blank screen hand Gesture wakes up a certain function of smart phone or opens the function of pre-set application program corresponding with blank screen gesture-type. Blank screen gesture function in order to facilitate understanding detects that blank screen gesture to application layer opens the blank screen hand to by putting out below under screen state The process of the corresponding application program of gesture is illustrated, which includes: by the corresponding gesture data deposit driving layer of blank screen gesture Default node in, wherein gesture data includes gesture coordinate and gesture-type;It is effective that blank screen gesture data is executed by driving layer Property judgement;If effectively, executing blank screen gesture event by ccf layer to distribute;After application layer receives blank screen gesture event, by Application layer presets node out of driving layer and reads gesture coordinate, calculates the dynamic of blank screen gesture according to the gesture coordinate and gesture-type Draw track, cartoon track data be sent to frame buffer (FrameBuffer), with according to the screen refresh rate of setting by the animation Track is refreshed to touching display screen, is shown;Then, it is executed by application layer and opens the corresponding application program of blank screen gesture Operation.
Currently, user may carry out continuously cutting song operation using blank screen gesture.Song operation is cut by the execution of blank screen gesture Process be usually that after detecting that is cut a blank screen gesture for song, mobile terminal responds the blank screen gesture, light touch-control and show Shield the track to show the blank screen gesture, then extinguishes touching display screen again.Wherein, touching display screen exits detection in bright screen The gesture mode of blank screen gesture, into normal mode, and touching display screen is in the normal mode, and touching display screen cannot detect Blank screen gesture.The setting time after putting out screen again, touching display screen can just reenter gesture mode.The setting time is by system Default setting can generally take 2s or so.After putting out screen, and touching display screen reenters before gesture mode, if user The blank screen gesture for cutting song is inputted again, then mobile terminal will not respond this for cutting the blank screen gesture of song.At this point, for user For, the blank screen gesture for cutting song of input is not responded, thus, cause user intuitively to think the sound of blank screen gesture function It should be not sensitive enough.The scheme of response blank screen gesture provided in an embodiment of the present invention can be very good to solve above-mentioned touching display screen Restore by bright screen to the problem of putting out screen back leak response blank screen gesture.
Fig. 1 is a kind of flow chart of method for responding blank screen gesture provided in an embodiment of the present invention, and this method can be by ringing The device of blank screen gesture is answered to execute, wherein the device can be implemented by software and/or hardware, and can generally be integrated in mobile terminal In.As shown in Figure 1, this method comprises:
Step 110, touching display screen operating mode be gesture mode when, obtain user on the touching display screen The blank screen gesture of input.
Wherein, the operating mode of touching display screen includes gesture mode and normal mode.Under gesture mode, touch-control is shown Screen can detecte blank screen gesture.In the normal mode, touching display screen can not detect blank screen gesture.The work of touching display screen Pattern switching can be by touch chip controls.It touches chip to be set in touching display screen, if touching chip exports touch-sensing Signal is controlled to touching display screen, then touching display screen is in gesture mode.Touching display screen can detecte under gesture mode The blank screen gesture of user's input.If touching chip output displays signal to touching display screen, based on the display signal in touch-control Electric field is formed between the upper and lower base plate of display screen, the liquid crystal in touching display screen deflects under the action of electric field, realizes aobvious Show, at this point, touching display screen is in normal mode.
Blank screen gesture can be user after the unlatching of blank screen gesture function, in the touch-control in the mobile terminal for putting out screen state The touch gestures inputted on display screen.It can be understood that blank screen gesture is not limited to the touch hand inputted on touching display screen Gesture can also be the operation etc. detected by the sensor of mobile terminal.For example, the gesture for the smart phone that rolls, from intelligence The gesture etc. of gesture and pressing smart phone frame that the touching display screen overhead of energy mobile phone is whipped.
Illustratively, after system wake-up, inner nuclear layer calls driving layer interrupt processing function to execute, and driving layer passes through interruption It handles function and reads the gesture data touched in chip, and will be in the default node for the gesture data write driver layer that read. Wherein, gesture data includes gesture coordinate and preset stop bits.For example, the pre-defined corresponding character of stop bits is " # ".? When user inputs blank screen gesture, the corresponding gesture data deposit preset deposit in itself of blank screen gesture that chip will test is touched In device.Chip is touched after the completion of detecting blank screen gesture input, the ending of the gesture data stored in a register is added "#".Driving layer wrirtes music to the gesture coordinate read in default node when reading the corresponding character, i.e. " # " of the stop bits Line is fitted to obtain and the immediate gesture path of blank screen gesture.Wherein, curve matching is a kind of data processing method, i.e., with company Portray or than the functional relation between coordinate represented by discrete point on quasi-plane to continuous curve approximation.By the gesture path and in advance The blank screen gesture template first stored is matched, and determines the corresponding blank screen gesture of the gesture path.It is understood that driving Layer also may not need the drafting operation for waiting and detecting that the stop bits just executes gesture path.Drive layer that can read gesture number with side Gesture path is drawn according to side, i.e., every setting time length, layer is driven to be drawn according to the gesture data obtained in the time span A sub-trajectory of gesture path is produced, until driving layer reads the stop bits, determines that gesture path is completed.
Wherein, there are many kinds of the configuration modes of blank screen gesture template, the embodiment of the present invention is not especially limited.For example, should Blank screen gesture template is that the track of the blank screen gesture of user's normal use blank screen gesture function input to certain amount is united Meter obtains the gesture path that the corresponding frequency of occurrences of each blank screen gesture is more than setpoint frequency, and pulling out the frequency of occurrences is more than The general character of the gesture path of setpoint frequency fits target gesture path accordingly.By the target gesture path and corresponding blank screen Gesture forms blank screen gesture template.Before mobile terminal factory, by the blank screen gesture template configuration in mobile terminal.
For another example, gesture template as shown in Figure 2 corrects interface schematic diagram, and gesture template school can be arranged in the terminal Orthofunction.When user enters gesture template calibration function interface, show that there is the choice box 210 of drop-down menu function and hand-written Region 220 prompts user to select a blank screen gesture and inputs the selected corresponding gesture path of blank screen gesture.It is defeated in user After entering blank screen gesture path, by the blank screen gesture of user's selection and the gesture path associated storage of the new input.If being not detected The instruction of gesture template calibration function is exited, then the next blank screen gesture and blank screen gesture path of user's selection are obtained, by this Blank screen gesture and blank screen gesture path associated storage, until detecting the instruction for exiting gesture template calibration function.
Optionally, the blank screen gesture can be updated according to the writing style of mobile terminal user according to set time period Template.Illustratively, user can be set renewal time as update condition, realize when using blank screen gesture function for the first time When blank screen gesture function is when reaching the renewal time using the time, generation update instruction is executed black by update instruction triggering Shield the update operation of gesture template.Optionally, which can also be the system default time.
Illustratively, it may is that driving layer is being examined according to the process that the writing style of user updates the blank screen gesture template When measuring the update instruction, using last blank screen gesture template update operation finish time as the time started, acquisition by The gesture path of blank screen gesture in time started to the time interval between the current time for detecting update instruction.When by this Between blank screen gesture in section gesture path as training sample, the hand for including by the sample respectively by the characteristic point set Gesture track is divided at least two sub- gesture paths.Determine the template gesture of same gesture type and the sub- gesture rail of sample gesture Deviation between mark.The deviation for counting the sub- gesture path is more than the number of setting deviation threshold.Determine that the number is more than to set The template gesture for determining threshold value replaces the template gesture using sample gesture.Fig. 3 is a kind of blank screen hand provided in an embodiment of the present invention The schematic diagram of the sub- gesture path of gesture track.It should be noted that the blank screen gesture path in Fig. 3 is that driving layer is putting out screen state The track that the blank screen gesture of lower identification user input obtains, does not show blank screen gesture path in touching display screen at this time.Such as Shown in Fig. 3, for gesture path " W ", the gesture path is divided into the first sub- gesture using 3 characteristic points being located at inflection point Track 301, the second sub- gesture path 302, the sub- gesture path 303 of third and the 4th sub- gesture path 304.Using same feature The gesture path of blank screen gesture " W " in blank screen gesture template is divided into the first sub-trajectory 305, the second sub-trajectory 306, the by point Three sub-trajectories 307 and the 4th sub-trajectory 308.The first sub- gesture path 301 and the first sub-trajectory 305 are compared, determines the first deviation. Likewise, comparing remaining three groups of sub-trajectories respectively, the deviation between respective sub-trajectory is determined.Respectively by identified deviation with Setting deviation threshold is compared.Determination deviation is more than that the number of setting deviation threshold is adopted if the number is more than given threshold The gesture path of the blank screen gesture " W " stored in the template gesture is replaced with the gesture path of sample gesture " W ".To realize According to the adjustment blank screen gesture template of the writing style personalization of user, the discrimination of blank screen gesture is improved.
Step 120 judges whether the blank screen gesture is to put out the corresponding gesture of the predetermined registration operation executed under screen state.
Wherein, predetermined registration operation is the operation i.e. executable in the case where touching display screen is non-lit up.For example, it may be cutting It sings operation, open flashlight application or other operations i.e. executable without bright screen.Optionally, it can dispatch from the factory in mobile terminal Before, by way of white list in the terminal by the operative configuration executed in the case where putting out screen state.Mobile terminal can join After net, the update message for the white list of mobile terminal server push is obtained.It can be by accessing mobile terminal clothes The mode of business device downloads the mode of the white list, updates the preconfigured white list of mobile terminal.
After detecting that user inputs blank screen gesture, which is inquired according to the blank screen gesture, judges the blank screen gesture Whether the white list is belonged to.If so, determining that the blank screen gesture is to put out the corresponding gesture of the predetermined registration operation executed under screen state.
Step 130, if so, reporting blank screen gesture event to application layer, so that touching display screen is shown and the blank screen The corresponding gesture path of gesture, and the operating mode for controlling the touching display screen maintains gesture mode constant.
Wherein, blank screen gesture event can be driving layer has blank screen gesture defeated with what application layer consulted in advance for representing The event entered.
For example, touching chip when detecting that user inputs blank screen gesture, sends and interrupt wake-up signal to inner nuclear layer.Kernel Layer executes system wake-up operation when getting interruption wake-up signal.If the blank screen gesture is effective, layer is driven to report blank screen hand Gesture event is to application layer.Application layer obtains the corresponding gesture coordinate of the blank screen gesture and hand after receiving blank screen gesture event Gesture type.Application layer draws gesture path according to the gesture coordinate, at this point, the touching display screen of mobile terminal is lighted, the gesture Track is displayed on touching display screen.When meeting preset end display condition, touching display screen reverts to again puts out screen shape State.Wherein, preset to terminate the display duration that display condition includes setting, the user of setting is directed to the operation of mobile terminal Deng.
Illustratively, if user's blank screen gesture currently entered is to put out the corresponding hand of the predetermined registration operation executed under screen state Gesture then drives layer to obtain the corresponding gesture data of blank screen gesture, carries out Effective judgement based on the gesture data.It should determining When blank screen gesture is effective, report blank screen gesture event to application layer.Application layer obtains the hand after receiving blank screen gesture event Gesture data, and the gesture coordinate and gesture-type that include based on the gesture data draw blank screen gesture path, and show in touch-control The screen display blank screen gesture path.Due to blank screen gesture path to be shown, need to light touching display screen.In touching display screen When lighting, control touching display screen switches without operating mode, i.e., maintenance operating mode is that gesture mode is constant.To, After touching display screen extinguishes again, if user inputs blank screen gesture immediately, since the operating mode of touching display screen is still within Gesture mode can detecte the blank screen gesture inputted again, and respond thereto, and avoids and switches to blank screen by bright screen The case where blank screen gesture can not be detected in short period afterwards generation.
Fig. 4 is a kind of Android system block schematic illustration provided in an embodiment of the present invention.It is peace with operating system shown in Fig. 4 For the mobile terminal of tall and erect (Android) system, the execution process of blank screen gesture function provided in an embodiment of the present invention is introduced.Such as Shown in Fig. 4, Android system frame includes inner nuclear layer 410, core class libraries layer 420, ccf layer 430 and application layer 440 from the bottom to top. Wherein, inner nuclear layer 410 provides core system service, including safety, memory management, management of process, network protocol stack and hardware drive It moves.Wherein, by the hardware driving in inner nuclear layer 410 be denoted as driving layer 411, the driving layer 411 include touching display screen driving, Webcam driver etc..Core class libraries layer 420 includes Android running environment (Android Runtime) and class libraries (Libraries). Wherein, Android Runtime provides most of available function in Java programming language core class libraries, including core library (Core Libraries) and Dalvik virtual machine (Dalvik VM).Each Android application program is in Dalvik virtual machine Example, operate in the process of themselves.Class libraries is used for the various components of Android system, including following function: media Library (Media Framework), interface management (Surface Manager), SQLite (relational database engine) and FreeType (bitmap and vector fonts rendering) etc., each function is exposed to developer by the ccf layer 430 of Android system It uses.A series of class libraries needed for ccf layer 430 provides exploitation Android application program, answer developer quickly With program development, facilitate reuse component, can also realize personalized extension by inheriting, the service provided includes component pipe The service of managing, window management service, system data source component, space frame, resource management service and installation kit management service etc..It answers With including all kinds of application programs directly interacted with user, or the service for running on backstage write by Java language on layer 440 Program, including desktop application, contact application, talk application, camera applications, Photo Browser, game, map, web browser Etc. programs and developer exploitation other applications.
Illustratively, after the unlatching of blank screen gesture function, chip is touched when detecting blank screen gesture, is generated one and is waken up letter Number, and the wake-up signal is sent to inner nuclear layer.Inner nuclear layer, which is triggered, by the wake-up signal executes system wake-up operation.It is called out in system After waking up, inner nuclear layer calls driving layer interrupt processing function to execute, and driving layer is read by the interrupt processing function and touched in chip Gesture data, and the gesture data of reading is stored in the default node of driving layer.Wherein, default node can be file section Point, such as can be the virtual file node under proc-D catalogue.After the completion of reading data, driving layer determines the gesture data Validity, there are many kinds of the modes of availability deciding, and the present embodiment is not especially limited.For example, driving layer is according to the gesture The gesture coordinate that data include determines gesture-type, and is stored in the default section for identified gesture-type as gesture data Point in.If the gesture-type is not preset blank screen gesture, determine that gesture data is invalid.For another example, driving layer counts the gesture The number of data, determines whether the number meets the requirement for drawing preset blank screen gesture, if it is not, then determine gesture data without Effect.When data are effective, driving layer reports blank screen gesture event.The blank screen gesture event is transmitted to frame by core class libraries layer Layer, and distributed by ccf layer, reach application layer.Application layer is when getting blank screen gesture event, by the default section of driving layer Point reads gesture data.After gesture data is ready to complete, the gesture coordinate for including according to the gesture data calculates blank screen hand The blank screen gesture path is plotted on touching display screen and shows by gesture track.Then, application layer is based on read gesture Gesture-type in data opens application program corresponding with the gesture-type.Wherein, gesture-type, which can be, is pre-set at The gesture for realizing a certain function in mobile terminal can also be the customized gesture of user.For example, gesture-type can be with It is O, represents and open camera.For another example, gesture-type can be V, represents and opens flashlight etc..
It is understood that the execution process of blank screen gesture function is not limited to the mode enumerated in the present embodiment.For example, It can also be and report blank screen gesture event in system wake-up, inner nuclear layer calls driving layer interrupt processing function to execute, driving Layer reads the operation for touching gesture data in chip by the interrupt processing function, and the gesture data is stored in driving layer In default node;It gives the correct time in blank screen gesture event, the parallel driving layer that executes reads gesture data, determines hand according to gesture data The operation of gesture type;For example, driving layer obtains the gesture data in the default node, which is obtained as curve matching The gesture-type is also used as gesture data to be stored in the default node by the immediate gesture-type of blank screen gesture.It is answering When receiving blank screen gesture event with layer, whether it is ready to complete according to the gesture data in the setting cycle detection default node. When being ready to complete, application layer is preset by this and reads the gesture data in node.The gesture data read successfully and it is effective when, The gesture coordinate and gesture-type for including according to the gesture data calculate blank screen gesture path, which is drawn It is shown on touching display screen.Then, application layer is opened and the hand based on the gesture-type in read gesture data The corresponding application program of gesture type.
The technical solution of the present embodiment, by detect blank screen gesture currently entered be put out executed under screen state it is default When operating corresponding gesture, report the corresponding blank screen gesture event of the blank screen gesture to application layer, so that touching display screen is shown Gesture path corresponding with the blank screen gesture, and the operating mode for controlling the touching display screen maintains gesture mode not Become, it is thus possible to respond rapidly to the blank screen gesture that user newly inputs after touching display screen extinguishing.By using above-mentioned technical side Case can effectively improve the problem of blank screen gesture is responded not in time, touching display screen avoided to restore by bright screen to after putting out screen The case where leakage response blank screen gesture, occurs.
Fig. 5 is a kind of flow chart of method that system is waken up based on blank screen gesture provided in an embodiment of the present invention.Such as Fig. 5 institute Show, this method comprises:
Step 510, in the switch state of user configuration blank screen gesture switch, driving layer is obtained for each in application layer The configuration information of the switch state of blank screen gesture.
Wherein, which includes the state for each blank screen gesture switch whether application layer is opened.
Switch whether application layer and driving layer setting control blank screen gesture enable in advance.It can be in application layer to switch The form of control shows blank screen gesture switch, opens or closes the blank screen gesture for selection by the user and switchs corresponding blank screen hand Gesture.For example, display interface switches to blank screen intelligent sketching, this is black when user clicks the blank screen gesture function option in setting Shielding intelligent sketching includes that pre-set blank screen gesture (such as " O ", " V ", " < ", " W " and " M ") and corresponding blank screen gesture are opened It closes, further includes the option of customized blank screen gesture.If user opens blank screen gesture " O " corresponding blank screen gesture switch, show It enables blank screen gesture " O ".At this point, to become start blackscreen gesture corresponding for the return value of the corresponding switch control of blank screen gesture " O " Preset value (for example, return value represents start blackscreen gesture for 1).The preset value can be set by program developer.
Illustratively, in application layer monitoring blank screen intelligent sketching the corresponding switch control of each blank screen gesture return value. The switch state of blank screen gesture in application layer is determined according to the return value of the switch control.Application layer using the switch state as Configuration information is issued to driving layer.
The configuration information is sent to touch chip by step 520, driving layer, so that the touch chip is matched according to Confidence breath opens the corresponding interruption arousal function of enabled blank screen gesture.
Wherein, interrupting arousal function includes being touched chip based on the blank screen gesture detected and sending interruption and wake up and believed Number to inner nuclear layer, to trigger the operation that inner nuclear layer executes system wake-up.When executing the interruption arousal function, chip hair is touched It send and interrupts wake-up signal to inner nuclear layer.
When driving layer receives the configuration information of the switch state based on blank screen gesture, which is sent to touching Touch chip.Chip is touched after receiving the configuration information, the blank screen for waking up system permission is had based on configuration information mark Gesture.To, it touches chip and only enabled blank screen gesture is responded, and reporting interruption wake-up signal, and ignore and do not open Blank screen gesture, the case where avoiding the blank screen gesture trigger system wake-up of user's not enabled generation, reduces mobile terminal Power consumption.
Step 530, when user inputs blank screen gesture, the touchs chip obtains the blank screen gesture corresponding gesture seat Mark.
Illustratively, touching display screen includes panel, contact sensor, flexible circuit board and touches chip.Wherein, face Plate is the surface layer of touching display screen, and the touch operation of user acts on the panel.According to the structure and touch of touching display screen Chip design requirement makes contact sensor.Contact sensor is electrically connected by flexible circuit board with chip is touched.
By taking capacitor touch-control display screen as an example, when user inputs blank screen gesture, due to human body electric field, user and touch-control are aobvious Display screen surface forms a coupled capacitor, and for high-frequency current, capacitor is direct conductor, and then finger is siphoned away from contact point The electric current of one very little, this electric current are flowed out from the electrode on the quadrangle of touching display screen respectively, and flow through this four electricity The electric current of pole is directly proportional at a distance from finger to quadrangle, touches chip by accurately calculating to this four current ratios, obtains The position of touch point, i.e. gesture coordinate.
Step 540 touches chip based on gesture coordinate identification blank screen gesture.
It carries out curve fitting in real time to gesture coordinate for example, touching chip, the blank screen gesture for obtaining user's input is closest Gesture path.When detecting that user inputs completion, by the blank screen gesture path and pre-stored blank screen gesture after drafting Template is matched.The blank screen gesture of user's input is determined according to matching result, and stores the gesture-type of the blank screen gesture, with Convenient for driving layer while obtaining gesture coordinate, available gesture-type, without driving layer to execute gesture matching again. Gesture coordinate is drawn in real time due to touching chip, improves execution speed.
It is understood that touching chip it is corresponding can also to store blank screen gesture when detecting blank screen gesture input Gesture coordinate when user to be determined inputs completion, draws gesture path based on the gesture coordinate, in this regard, the embodiment of the present invention is not Make specific limit.
Step 550, touch chip judge whether the blank screen gesture is enabled blank screen gesture, if so, executing step Rapid 560, otherwise, execute step 580.
It touches chip and inquires the configuration information, determine whether the blank screen gesture is the blank screen gesture having turned on, thus, know Whether the corresponding interruption arousal function of the blank screen gesture is opened, if so, 560 are thened follow the steps, it is no to then follow the steps 580.
Step 560, touch chip determine that the corresponding interruption arousal function of the blank screen gesture has been opened, and send and interrupt wake-up Signal is to inner nuclear layer.
If it is determined that the blank screen gesture of user's input has enabled, then touches chip and send interruption wake-up signal to inner nuclear layer.
Step 570, get interrupt wake-up signal when, inner nuclear layer be based on the interruptions wake-up signal execution system wake-up Operation.
Step 580, touch chip determine that the corresponding interruption arousal function of the blank screen gesture is not switched on, and abandon sending and interrupt Wake-up signal is to inner nuclear layer.
If it is determined that the blank screen gesture not enabled of user's input, then touch chip and abandon responding the blank screen gesture, i.e., do not send Wake-up signal is interrupted to inner nuclear layer.Therefore, mobile terminal will not be waken up because of the input of the blank screen gesture of the not enabled.
The technical solution of the present embodiment is being applied by touching chip setting interruption arousal function in advance according to user The switch state of the blank screen gesture of layer configuration, opens for enabled blank screen gesture and interrupts arousal function, thus, in blank screen gesture After input, however, it is determined that the blank screen gesture has enabled, then sends interruption wake-up signal to inner nuclear layer and be otherwise not responding to the blank screen hand Gesture.Above-mentioned technical proposal can effectively prevent the case where unconscious input blank screen gesture of user causes system to be awakened as frequently as those utilized in conventional solutions Occur, reduces the power consumption of mobile terminal.
Fig. 6 is the flow chart of the method for another response blank screen gesture provided in an embodiment of the present invention.As shown in fig. 6, should Method includes:
Step 610, after detecting system wake-up operation, by driving layer interrupt processing function, from touching chip The corresponding gesture data of interior reading user blank screen gesture currently entered, and the gesture data is stored in the default section of driving layer Point in.
Wherein, system wake-up indicates that mobile terminal is waken up by dormant state.It can be defeated on touching display screen by user The touch operation triggering system wake-up entered.For example, touching chip when detecting touch operation, a wake-up signal, transmission are generated The wake-up signal is to inner nuclear layer.Inner nuclear layer is based on the wake-up signal and executes system wake-up operation.
Step 620, driving layer read the gesture data in the default node.
Step 630, when detecting the stop bits of the gesture data, the driving layer gesture that includes to the gesture data Coordinate obtains gesture path as curve matching, identifies that the gesture path determines the blank screen gesture.
When detecting stop bits, driving layer obtains most the gesture coordinate in read gesture data as curve matching Close gesture path.By the way that the gesture path and blank screen gesture template are carried out matched mode, identification user is inputted black Shield gesture.
Alternatively, driving layer can also not have to until detecting the stop bits, just make to read gesture coordinate Curve matching can carry out curve fitting when the gesture data read by touch chip reaches setting number, until detection When to stop bits, by obtained gesture path and blank screen gesture template matching, when so as to shorten needed for blank screen gesture identification Between.
Step 640 judges whether the corresponding blank screen gesture switch of the blank screen gesture is in the open state, if so, holding Row step 650, it is no to then follow the steps 690.
Wherein, switch whether blank screen gesture enables is controlled in application layer and driving layer setting in advance.It is black in user configuration When shielding gesture switch, the configuration information that application layer is sent is received, to obtain for blank screen gesture switch each in application layer Switch state.The switch state that the blank screen gesture switch being pre-configured in driving layer is updated according to the switch state, makes to drive The state of blank screen gesture switch in layer is identical as the switch state in application layer.
Driving layer inquires the blank screen gesture when checking the corresponding blank screen gesture of the predetermined registration operation put out and executed under screen state The switch state of corresponding blank screen gesture switch.If blank screen gesture switch is in an open state, it is determined that detected blank screen Gesture has been activated, and thens follow the steps 650, otherwise, executes step 690.
Step 650, judge the blank screen gesture whether be put out the corresponding gesture of the predetermined registration operation executed under screen state, if It is to then follow the steps 660, it is no to then follow the steps 670.
Step 660 reports blank screen gesture event to application layer so that touching display screen show it is corresponding with the blank screen gesture Gesture path, and control the touching display screen operating mode maintain gesture mode it is constant.
The switching of the operating mode of touching display screen can be controlled by driving layer sending mode switching command.In touch-control When the gesture path that display screen is lighted to show blank screen gesture currently entered, if driving layer judges the behaviour that the blank screen gesture executes Preset when making to put out the operation executed under screen state, then sending mode switching command is not to chip is touched, at this point, touching display screen Operating mode maintain gesture mode it is constant.
Step 670, driving layer report blank screen gesture event to application layer, and shows and the blank screen hand in touching display screen When the corresponding gesture path of gesture, control touching display screen exits gesture mode.
It is switched in the open state in the corresponding blank screen gesture of blank screen gesture detected, driving layer reports blank screen gesture Event is to application layer.Application layer obtains the corresponding gesture data of blank screen gesture after receiving blank screen gesture event, and being based on should Gesture data draws gesture path, lights touching display screen to show the gesture path.Not due to detected blank screen gesture It is to put out the corresponding gesture of the predetermined registration operation executed under screen state, after touching display screen is lighted, driving layer sending mode switching refers to It enables to chip is touched, so that touching display screen exits gesture mode, into normal mode.
It is understood that triggering touching display screen exits gesture mode, the mode into normal mode has in very much, no It is limited to the mode that the present embodiment is enumerated.For example, driving layer is lighted touch-control and is shown when detecting operation of the user to wake source Screen, and control touching display screen and exit gesture mode etc..Wherein, wake source includes power key or major key (HOME key) etc..
Step 680, detect touching display screen extinguish when, driving layer control touching display screen operating mode cut again Shift to gesture mode.
If mobile terminal does not exit blank screen gesture function, when touching display screen extinguishes again, layer output mode is driven Switching command reenters gesture mode to chip is touched, to control touching display screen.
Step 690 is abandoned reporting blank screen gesture event to application layer.
Since driving layer determines that the detected corresponding blank screen gesture of predetermined registration operation executed under screen state of putting out is not opened With not reporting blank screen gesture event to application layer.Therefore, application layer will not execute data acquisition based on the blank screen gesture of not enabled Operation.
The technical solution of the present embodiment, by before reporting blank screen gesture event, the querying triggering blank screen gesture event Blank screen gesture whether enable, if so, blank screen gesture event is reported otherwise to abandon reporting blank screen gesture event to application layer To application layer.Above-mentioned technical proposal can to avoid report the blank screen gesture event for the blank screen gesture trigger that do not open to application layer It happens.
Fig. 7 is the flow chart of the method for another response blank screen gesture provided in an embodiment of the present invention.As shown in fig. 7, should Method includes:
Step 701, when user inputs blank screen gesture, the touchs chip obtains the blank screen gesture corresponding gesture seat Mark.
Step 702, touch chip are based on gesture coordinate and identify that the blank screen gesture is to cut singer's gesture.
Step 703, touch chip judge that this cuts whether singer's gesture is enabled blank screen gesture, if so, thening follow the steps 705, it is no to then follow the steps 704.
It touches the determination of chip query configuration information and cuts whether singer's gesture has enabled, if so, thening follow the steps 705, otherwise hold Row step 704.
The corresponding interruption arousal function of singer's gesture is cut described in step 704, touch chip judgement to be not switched on, and is abandoned sending and be interrupted Wake-up signal is to inner nuclear layer.
If cutting singer's gesture not is enabled blank screen gesture, touches chip and be not responding to this and cut singer's gesture, i.e., does not send Disconnected wake-up signal is to inner nuclear layer.
The corresponding interruption arousal function of singer's gesture is cut described in step 705, touch chip judgement to have opened, and is sent and is interrupted wake-up Signal is to inner nuclear layer.
If cutting singer's gesture is enabled blank screen gesture, touches chip judgement and cut the corresponding interruption arousal function of singer's gesture It has been opened that, send and interrupt wake-up signal to inner nuclear layer.
Step 706, get interrupt wake-up signal when, inner nuclear layer be based on the interruptions wake-up signal execution system wake-up Operation.
Step 707, driving layer judgement cut singer's gesture whether be put out the corresponding gesture of the predetermined registration operation executed under screen state, if It is to then follow the steps 708, it is no to then follow the steps 709.
Drive layer after system wake-up, by interrupt processing function by reading gesture data in touch chip, the gesture number According to including gesture coordinate and gesture-type.Driving layer determines that the blank screen gesture of user's input is to cut song according to the gesture-type of reading Gesture, inquiry is pre-set to put out the corresponding gesture of the predetermined registration operation executed under screen state, and the corresponding operation of singer's gesture is cut in judgement Whether carried out in the case where putting out screen.
Step 708, driving layer report blank screen gesture event to journey is applied, so that touching display screen, which is shown, cuts singer with described The corresponding gesture path of gesture, and the operating mode for controlling the touching display screen maintains gesture mode constant.
When cutting singer's gesture is to put out the corresponding gesture of the predetermined registration operation that executes under screen state, driving layer reports blank screen gesture thing Part is to application layer, while not to chip sending mode switching command is touched, so that the operating mode of touching display screen maintains gesture Mode is constant.At this point, touching display screen can also detect if user inputs blank screen gesture immediately after touching display screen extinguishes again To the blank screen gesture of the new input.
Step 709, driving layer report blank screen gesture event to application layer, and shows and the blank screen hand in touching display screen When the corresponding gesture path of gesture, control touching display screen exits gesture mode.
Step 710, detect touching display screen extinguish when, driving layer control touching display screen operating mode cut again Shift to gesture mode.
The technical solution of the present embodiment, by identifying blank screen gesture by touching chip when user inputs blank screen gesture, The blank screen gesture for only opening interruption arousal function could wake up system;After system wake-up, driving layer is read by touch chip The recognition result of blank screen gesture is to cut singer's gesture, judges that this cuts whether singer's gesture is to put out the predetermined registration operation executed under screen state to correspond to Gesture, if so, show this cut the gesture path of singer's gesture when, control touching display screen do not exit gesture mode, otherwise, Control touching display screen exits gesture mode.Above-mentioned technical proposal can effectively avoid restoring to put out nothing in the setting time after shielding The case where method detection blank screen gesture, occurs, while can reduce mobile terminal power consumption.
Fig. 8 is a kind of structural block diagram of device for responding blank screen gesture provided in an embodiment of the present invention.The device can have soft Part and/or hardware realization, are typically integrated in mobile terminal.As shown in figure 8, the apparatus may include:
Gesture obtain module 810, for the operating mode in touching display screen be gesture mode when, obtain user described The blank screen gesture inputted on touching display screen;
Gesture matching module 820, for judging whether the blank screen gesture is to put out the predetermined registration operation pair executed under screen state The gesture answered;
Event reporting module 830, if being to put out the corresponding hand of predetermined registration operation executed under screen state for the blank screen gesture Gesture then reports blank screen gesture event to application layer, so that touching display screen shows gesture path corresponding with the blank screen gesture, And the operating mode for controlling the touching display screen maintains gesture mode constant.
The technical solution of the present embodiment provides a kind of device for responding blank screen gesture, can effectively improve blank screen gesture and rings Should not in time the problem of, avoids touching display screen from restoring by bright screen to generation the case where putting out screen back leak response blank screen gesture.
Optionally, further includes:
Wake operation detection module, for detecting the system wake-up operation based on blank screen gesture;
Gesture data read module, for before obtaining the blank screen gesture that inputs on the touching display screen of user, By driving layer interrupt processing function, the corresponding gesture data of the blank screen gesture is read from touching in chip, and by the hand Gesture data are stored in the default node of driving layer;
And gesture obtains module 810 and is specifically used for:
Read the gesture data in the default node;
When detecting the stop bits of the gesture data, curve matching is made to the gesture coordinate that the gesture data includes Gesture path is obtained, identifies that the gesture path determines the blank screen gesture.
Optionally, further includes:
Mode switch module, if not being to put out the corresponding hand of predetermined registration operation executed under screen state for the blank screen gesture Gesture then reports blank screen gesture event to application layer, and shows gesture path corresponding with the blank screen gesture in touching display screen When, control touching display screen exits gesture mode;
When detecting that touching display screen extinguishes, the operating mode for controlling touching display screen back switches to gesture mode.
Optionally, further includes:
Configuration information obtains module, when switch state for switch in user configuration blank screen gesture, obtains for applying The configuration information of the switch state of each blank screen gesture in layer;
Configuration information sending module, for the configuration information to be sent to touch chip, so that the touch chip root The corresponding interruption arousal function of enabled blank screen gesture is opened according to the configuration information.
Optionally, further includes:
Gesture state judgment module, for when user inputs blank screen gesture, the touch chip to judge the blank screen hand Whether gesture is enabled blank screen gesture;
If so, the touch chip determines that the corresponding interruption arousal function of the blank screen gesture has been opened, sends and interrupt Wake-up signal is to inner nuclear layer, and the interruption wake-up signal is for waking up system.
Optionally, further includes:
Configuration information synchronization module when switch state for switching in user configuration blank screen gesture, is obtained for application The configuration information of the switch state of each blank screen gesture in layer is preset at the blank screen in driving layer according to the configuration information update Gesture switch;
Optionally, further includes:
Switch state judgment module, for before reporting blank screen gesture event to application layer, judging the blank screen gesture Whether corresponding blank screen gesture switch is in the open state;
If so, reporting blank screen gesture event to application layer;
Otherwise, it abandons reporting blank screen gesture event to application layer.
Optionally, further includes:
Mode exits module, for lighting touching display screen when detecting operation of the user to wake source, and controls touching Control display screen exits gesture mode, wherein the wake source includes power key or major key.
The embodiment of the present invention also provides a kind of storage medium comprising computer executable instructions, and the computer is executable It instructs when being executed by computer processor for executing a kind of method for responding blank screen gesture, this method comprises:
When the operating mode of touching display screen is gesture mode, acquisition user inputs black on the touching display screen Shield gesture;
Judge whether the blank screen gesture is to put out the corresponding gesture of the predetermined registration operation executed under screen state;
If so, report blank screen gesture event to application layer so that touching display screen show it is corresponding with the blank screen gesture Gesture path, and control the touching display screen operating mode maintain gesture mode it is constant.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Lan Basi (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term Matter " may include may reside in different location (such as by network connection different computer systems in) two or More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement For computer program).
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention The operation for the response blank screen gesture that executable instruction is not limited to the described above, can also be performed any embodiment of that present invention and is provided Response blank screen gesture method in relevant operation.
The embodiment of the invention provides a kind of mobile terminal, sound provided in an embodiment of the present invention can be integrated in the mobile terminal Answer the device of blank screen gesture.Fig. 9 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.As shown in figure 9, should Mobile terminal may include: shell (not shown), touching display screen 912, physical button 913, memory 901, centre Reason device (Central Processing Unit, CPU) 902 (also known as processor, hereinafter referred to as CPU), circuit board (do not show in figure Out) and power circuit (not shown).The touching display screen 912, is input to for user's operation to be converted into electric signal The processor, and show visual output signal;The physical button 913, including power key or HOME key etc. are used for obtaining Family operation issues wake-up signal to CPU902;The touching display screen 912 includes touching chip, and the touch chip is used for Under the control of processor, the operating mode of the touching display screen is made to maintain gesture mode constant, and, storage is directed to application layer In each blank screen gesture switch state configuration information, and determine whether to open enabled blank screen according to the configuration information The corresponding interruption arousal function of gesture, wherein when executing the interruption arousal function, touch chip and send interruption wake-up signal To inner nuclear layer;The circuit board is placed in the space interior that the shell surrounds;The CPU902 and the memory 901 are arranged On the circuit board;The power circuit, for each circuit or the device power supply for the electronic equipment;The memory 901, for storing executable program code;The CPU902 is by reading the executable program stored in the memory 901 Code runs computer program corresponding with the executable program code, to perform the steps of in touching display screen When operating mode is gesture mode, the blank screen gesture that user inputs on the touching display screen is obtained;Judge the blank screen hand Whether gesture is to put out the corresponding gesture of the predetermined registration operation executed under screen state;If so, report blank screen gesture event to application layer, with So that touching display screen is shown gesture path corresponding with the blank screen gesture, and controls the operating mode of the touching display screen Maintain gesture mode constant.
The mobile terminal further include: Peripheral Interface 903, RF (Radio Frequency, radio frequency) circuit 905, audio-frequency electric Road 906, loudspeaker 911, power management chip 908, input/output (I/O) subsystem 909, touching display screen 912, other are defeated Enter/control equipment 910 and outside port 904, these components are led to by one or more communication bus or signal wire 907 Letter.
It should be understood that illustrating the example that mobile terminal 900 is only mobile terminal, and mobile terminal 900 It can have than shown in the drawings more or less component, can combine two or more components, or can be with It is configured with different components.Various parts shown in the drawings can include one or more signal processings and/or dedicated It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Just the mobile terminal provided in this embodiment for responding blank screen gesture is described in detail below, and the movement is whole End takes the mobile phone as an example.
Memory 901, the memory 901 can be accessed by CPU902, Peripheral Interface 903 etc., and the memory 901 can It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU902 and deposited by Peripheral Interface 903, the Peripheral Interface 903 Reservoir 901.
I/O subsystem 909, the I/O subsystem 909 can show the input/output peripheral in equipment, such as touch-control Screen 912 and other input/control devicess 910, are connected to Peripheral Interface 903.I/O subsystem 909 may include display controller 9091 and one or more input controllers 9092 for controlling other input/control devicess 910.Wherein, one or more Input controller 9092 receives electric signal from other input/control devicess 910 or sends to other input/control devicess 910 Electric signal, other input/control devicess 910 may include physical button (push button, rocker buttons etc.), dial, sliding Switch, clicks idler wheel at control stick.It is worth noting that input controller 9092 can with it is following any one connect: it is keyboard, red The indicating equipment of external port, USB interface and such as mouse.
Touching display screen 912, the touching display screen 912 are input interfaces between consumer electronic devices and user and defeated Visual output is shown to user by outgoing interface, and visual output may include figure, text, icon, video etc..
Display controller 9091 in I/O subsystem 909 receives electric signal from touching display screen 912 or shows to touch-control Screen 912 sends electric signal.Touching display screen 912 detects the contact on touching display screen, what display controller 9091 will test Contact is converted to and is shown in the interaction of the user interface object on touching display screen 912, i.e. realization human-computer interaction is shown in touching User interface object on control display screen 912 can be the icon of running game, the icon for being networked to corresponding network etc..It is worth saying Bright, equipment can also include light mouse, and light mouse is not show the touch sensitive surface visually exported, or shown by touch-control Shield the extension of the touch sensitive surface formed.
RF circuit 905 is mainly used for establishing the communication of mobile phone Yu wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuit 905 receives and sends RF letter Number, RF signal is also referred to as electromagnetic signal, and RF circuit 905 converts electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuit 905 may include for executing The known circuit of these functions comprising but it is not limited to antenna system, RF transceiver, one or more amplifiers, tuner, one A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 906 is mainly used for receiving audio data from Peripheral Interface 903, which is converted to telecommunications Number, and the electric signal is sent to loudspeaker 911.
Loudspeaker 911 is reduced to sound for mobile phone to be passed through RF circuit 905 from the received voice signal of wireless network And the sound is played to user.
Power management chip 908, the hardware for being connected by CPU902, I/O subsystem and Peripheral Interface are powered And power management.
Mobile terminal provided in an embodiment of the present invention can effectively improve the problem of blank screen gesture is responded not in time, keep away Exempt from touching display screen to restore by bright screen to generation the case where putting out screen back leak response blank screen gesture.
The executable present invention of device, storage medium and the mobile terminal of the response blank screen gesture provided in above-described embodiment appoints The method of response blank screen gesture provided by embodiment of anticipating, has and executes the corresponding functional module of this method and beneficial effect.Not The technical detail of detailed description in the above-described embodiments, reference can be made to response blank screen gesture provided by any embodiment of the invention Method.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (11)

1. a kind of method for responding blank screen gesture characterized by comprising
When the operating mode of touching display screen is gesture mode, the blank screen hand that user inputs on the touching display screen is obtained Gesture, wherein the gesture mode is that the touching display screen has the function of detecting a kind of operating mode of blank screen gesture;
Judge whether the blank screen gesture is to put out the corresponding gesture of the predetermined registration operation executed under screen state;
If so, reporting blank screen gesture event to application layer, so that touching display screen shows hand corresponding with the blank screen gesture Gesture track, and the operating mode for controlling the touching display screen maintains gesture mode constant.
2. the method according to claim 1, wherein being inputted on the touching display screen in acquisition user black Before screen gesture, further includes:
Detect the system wake-up operation based on blank screen gesture;
After detecting the system wake-up operation, by driving layer interrupt processing function, read out of touch chip described black Shield the corresponding gesture data of gesture, and the gesture data is stored in the default node of driving layer;
And obtain the blank screen gesture that user inputs on the touching display screen, comprising:
Read the gesture data in the default node;
When detecting the stop bits of the gesture data, the gesture coordinate that the gesture data includes is obtained as curve matching Gesture path identifies that the gesture path determines the blank screen gesture.
3. the method according to claim 1, wherein further include:
If it is not, then reporting blank screen gesture event to application layer, and hand corresponding with the blank screen gesture is shown in touching display screen When gesture track, control touching display screen exits gesture mode;
When detecting that touching display screen extinguishes, the operating mode for controlling touching display screen back switches to gesture mode.
4. the method according to claim 1, wherein further include:
In the switch state of user configuration blank screen gesture switch, the switch state for each blank screen gesture in application layer is obtained Configuration information;
The configuration information is sent to touch chip, so that the touch chip is enabled according to configuration information opening The corresponding interruption arousal function of blank screen gesture.
5. according to the method described in claim 4, it is characterized by further comprising:
When user inputs blank screen gesture, the touch chip judges whether the blank screen gesture is enabled blank screen gesture;
If so, the touch chip determines that the corresponding interruption arousal function of the blank screen gesture has been opened, sends and interrupt wake-up Signal is to inner nuclear layer, and the interruption wake-up signal is for waking up system.
6. the method according to claim 1, wherein further include:
In the switch state of user configuration blank screen gesture switch, the switch state for each blank screen gesture in application layer is obtained Configuration information, according to the configuration information update be preset at driving layer in blank screen gesture switch;
And before reporting blank screen gesture event to application layer, further includes:
Judge whether the corresponding blank screen gesture switch of the blank screen gesture is in the open state;
If so, reporting blank screen gesture event to application layer;
Otherwise, it abandons reporting blank screen gesture event to application layer.
7. method according to any one of claims 1 to 6, which is characterized in that further include:
When detecting operation of the user to wake source, touching display screen is lighted, and controls touching display screen and exits gesture mode, Wherein, the wake source includes power key or major key.
8. a kind of device for responding blank screen gesture characterized by comprising
Gesture obtains module, and when for the operating mode in touching display screen being gesture mode, it is aobvious in the touch-control to obtain user The blank screen gesture inputted in display screen, wherein the gesture mode is that the touching display screen has the function of detecting blank screen gesture A kind of operating mode;
Gesture matching module, for judging whether the blank screen gesture is to put out the corresponding hand of predetermined registration operation executed under screen state Gesture;
Event reporting module, if being to put out the corresponding gesture of predetermined registration operation executed under screen state for the blank screen gesture, on It reports blank screen gesture event to application layer, so that touching display screen shows gesture path corresponding with the blank screen gesture, and controls The operating mode for making the touching display screen maintains gesture mode constant.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The method of the response blank screen gesture as described in any in claim 1 to 7 is realized when row.
10. a kind of mobile terminal, including touching display screen, memory, processor and storage are on a memory and can be in processor The computer program of upper operation, which is characterized in that
The touching display screen, including chip is touched, for detecting the blank screen gesture of user's input;
The touch chip, under the control of a processor, making the operating mode of the touching display screen maintain gesture mode It is constant;
The processor realizes the response blank screen as described in any in claim 1 to 7 when for executing the computer program The method of gesture.
11. mobile terminal according to claim 10, which is characterized in that
The touch chip is also used to store the configuration information for the switch state of each blank screen gesture in application layer, and root Determine whether to open the corresponding interruption arousal function of enabled blank screen gesture according to the configuration information, wherein described in execution When interrupting arousal function, touches chip and send interruption wake-up signal to inner nuclear layer.
CN201710632256.8A 2017-07-28 2017-07-28 Respond method, apparatus, storage medium and the mobile terminal of blank screen gesture Active CN107450837B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710632256.8A CN107450837B (en) 2017-07-28 2017-07-28 Respond method, apparatus, storage medium and the mobile terminal of blank screen gesture
PCT/CN2018/091632 WO2019019835A1 (en) 2017-07-28 2018-06-15 Method and device for responding to blank screen gesture, and storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710632256.8A CN107450837B (en) 2017-07-28 2017-07-28 Respond method, apparatus, storage medium and the mobile terminal of blank screen gesture

Publications (2)

Publication Number Publication Date
CN107450837A CN107450837A (en) 2017-12-08
CN107450837B true CN107450837B (en) 2019-09-24

Family

ID=60490296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710632256.8A Active CN107450837B (en) 2017-07-28 2017-07-28 Respond method, apparatus, storage medium and the mobile terminal of blank screen gesture

Country Status (2)

Country Link
CN (1) CN107450837B (en)
WO (1) WO2019019835A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450837B (en) * 2017-07-28 2019-09-24 Oppo广东移动通信有限公司 Respond method, apparatus, storage medium and the mobile terminal of blank screen gesture
CN108572732B (en) * 2018-04-02 2021-06-29 Oppo广东移动通信有限公司 Electronic device, black screen gesture detection method and related product
TWI779240B (en) * 2018-09-19 2022-10-01 大陸商北京集創北方科技股份有限公司 Fingerprint application method and information processing device using the same
CN111258455B (en) * 2020-01-17 2023-08-18 Oppo广东移动通信有限公司 Event stream processing method, event stream processing device and mobile terminal
CN111356217B (en) * 2020-02-17 2023-07-21 Oppo广东移动通信有限公司 Terminal control method, device, terminal equipment and storage medium
CN111580904B (en) * 2020-04-20 2023-05-16 北京小米移动软件有限公司 Display state switching method, display state switching device and storage medium
CN111625175B (en) * 2020-05-06 2021-06-22 Oppo(重庆)智能科技有限公司 Touch event processing method, touch event processing device, medium and electronic equipment
CN115185447A (en) * 2022-07-22 2022-10-14 广东明创软件科技有限公司 Terminal control method and related device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2510774A (en) * 2011-11-30 2014-08-13 Hewlett Packard Development Co Input mode based on location of hand gesture
CN104238916A (en) * 2014-09-16 2014-12-24 广东欧珀移动通信有限公司 Application or application function starting method of mobile terminal, and mobile terminal
CN104391707B (en) * 2014-12-05 2018-01-30 上海斐讯数据通信技术有限公司 The startup method and starter of a kind of application program
CN104572186A (en) * 2014-12-25 2015-04-29 深圳市金立通信设备有限公司 Method for executing operation instruction
CN104951078A (en) * 2015-06-26 2015-09-30 上海斐讯数据通信技术有限公司 Method and system for waking up black screen through gestures
CN105183352B (en) * 2015-09-01 2018-12-11 广东欧珀移动通信有限公司 A kind of method and device for realizing more gesture identifications under terminal black state
WO2017035818A1 (en) * 2015-09-02 2017-03-09 华为技术有限公司 Method of controlling electronic apparatus, and device and electronic apparatus utilizing same
CN105426095A (en) * 2015-10-28 2016-03-23 广东欧珀移动通信有限公司 Method and apparatus for turning on imaging function of mobile terminal in screen-off state
CN107450837B (en) * 2017-07-28 2019-09-24 Oppo广东移动通信有限公司 Respond method, apparatus, storage medium and the mobile terminal of blank screen gesture

Also Published As

Publication number Publication date
WO2019019835A1 (en) 2019-01-31
CN107450837A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN107450837B (en) Respond method, apparatus, storage medium and the mobile terminal of blank screen gesture
CN107463329B (en) Detection method, device, storage medium and the mobile terminal of blank screen gesture
CN107479816B (en) Recognition methods, device, storage medium and the mobile terminal of blank screen gesture
CN107483721B (en) Control method, device, storage medium and mobile terminal based on blank screen gesture
CN107395889A (en) Reduce method, apparatus, storage medium and the mobile terminal of mobile terminal power consumption
CN108920156A (en) Application program prediction model method for building up, device, storage medium and terminal
CN107402713B (en) Accelerate method, apparatus, storage medium and the mobile terminal of the processing of blank screen gesture
CN108363593A (en) Application program preloads method, apparatus, storage medium and terminal
CN107748686A (en) Starting guide method, apparatus, storage medium and the intelligent terminal of application program
CN108958830A (en) Application program launching method, device, storage medium and terminal
CN108829457A (en) Application program prediction model update method, device, storage medium and terminal
CN107450838B (en) Response method and device of black screen gesture, storage medium and mobile terminal
CN107479700B (en) Black screen gesture control method and device, storage medium and mobile terminal
CN108829456A (en) Application program preloads method, apparatus, storage medium and terminal
CN108804153A (en) Preloading method, apparatus, storage medium and the terminal of application program
CN107391021B (en) Recognition methods, device, storage medium and the mobile terminal of blank screen gesture
CN107783803A (en) System optimization method, device, storage medium and the intelligent terminal of intelligent terminal
CN108829229A (en) Screen control method, device, storage medium and intelligent terminal
CN107402675A (en) A kind of response method of touch operation, device, storage medium and terminal
CN108733193A (en) Method, apparatus, storage medium and the intelligent terminal of adjustment frame per second
CN107529636A (en) Improve method, apparatus, storage medium and the mobile terminal of blank screen gesture response
CN107395888B (en) Processing method, device, storage medium and the mobile terminal of blank screen gesture
CN107766218A (en) system optimization method, device, storage medium and terminal device
CN106843440B (en) A kind of mobile terminal restarts control method, device and mobile terminal
CN109107148A (en) control method, device, storage medium and mobile terminal

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

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 OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant