CN107450837A - 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
CN107450837A
CN107450837A CN201710632256.8A CN201710632256A CN107450837A CN 107450837 A CN107450837 A CN 107450837A CN 201710632256 A CN201710632256 A CN 201710632256A CN 107450837 A CN107450837 A CN 107450837A
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.)
Granted
Application number
CN201710632256.8A
Other languages
Chinese (zh)
Other versions
CN107450837B (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 terminal for responding blank screen gesture.When the mode of operation that this method is included in touching display screen is gesture mode, the blank screen gesture that user inputs on the touching display screen is obtained;Judge whether the blank screen gesture is to put out gesture corresponding to the predetermined registration operation performed under screen state;If so, then reporting blank screen gesture event to application layer, so that touching display screen shows gesture path corresponding with the blank screen gesture, and the mode of operation of the touching display screen is controlled to maintain gesture mode constant.It by using above-mentioned technical proposal, can effectively improve the problem of blank screen gesture is responded not in time, avoid touching display screen from recovering the situation generation of the leakage response blank screen gesture to after putting out screen by bright screen.

Description

Respond method, apparatus, storage medium and the mobile terminal of blank screen gesture
Technical field
The present embodiments relate to mobile terminal technology, more particularly to method, apparatus, the storage medium of response blank screen gesture And mobile terminal.
Background technology
Current mobile terminal, such as smart mobile phone, palm PC, tablet personal computer or handheld device etc. are commonly designed For the structure with touching display screen, in a manner of providing touch input, make the operation of user more convenient.
Blank screen gesture is one of current smart mobile phone and shown unique characteristics and with the function of the following sense of science and technology, when blank screen gesture After function is opened, the gesture behaviour that detection is acted on touching display screen can be also realized in the state of the standby blank screen of smart mobile phone Make, so as to trigger the corresponding function of interior of mobile phone or software.But current blank screen gesture handling process existing defects cause to move The response for the blank screen gesture that user inputs is not prompt enough under dynamic terminal-pair application scenes, and then, cause user intuitively to recognize It is not sensitive enough for the reaction of blank screen gesture function.
The content 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 embodiments of the invention provide a kind of method for responding blank screen gesture, including:
When the mode of operation 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 gesture corresponding to the predetermined registration operation performed under screen state;
If so, then 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 mode of operation maintain gesture mode it is constant.
Second aspect, the embodiment of the present invention additionally provide a kind of device for responding blank screen gesture, and the device includes:
Gesture acquisition module, touched for when the mode of operation of touching display screen is gesture mode, obtaining user described The blank screen gesture inputted on control display screen;
Gesture matching module, for judging whether the blank screen gesture is to put out corresponding to the predetermined registration operation performed under screen state Gesture;
Reporting events module, if being to put out gesture corresponding to the predetermined registration operation performed under screen state for the blank screen gesture, Blank screen gesture event is then reported to application layer, so that touching display screen shows gesture path corresponding with the blank screen gesture, and And the mode of operation of the control touching display screen maintains gesture mode constant.
The third aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer Program, the method that response blank screen gesture as described in the present embodiment of the invention is realized when the program is executed by processor.
Fourth aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, 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 showing, the touch-control The mode of operation of display screen maintains gesture mode constant;The processor, such as this hair is realized during for performing the computer program The method of response blank screen gesture described in bright embodiment.
The scheme of response blank screen gesture provided in an embodiment of the present invention, by detecting that the blank screen gesture currently inputted is to put out Corresponding to the predetermined registration operation performed under screen state during gesture, blank screen gesture event corresponding to the blank screen gesture is reported 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 and use above-mentioned technical proposal, can effectively improve blank screen gesture response not in time the problem of, avoid touching display screen by Bright screen recover to put out screen after leakage response blank screen gesture situation occur.
Brief description of the drawings
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 structured flowchart of device for responding blank screen gesture provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention.
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 limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with Corresponding to method, function, code, subroutine, subprogram etc..
Blank screen gesture function is the touching display screen in the case where mobile terminal (such as smart mobile phone) is in and puts out screen dormancy 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 mobile phone or opens the function of application program corresponding with blank screen gesture-type of pre-setting. For the ease of understanding blank screen gesture function, below to detecting that blank screen gesture to application layer opens the blank screen hand under screen state by putting out The flow of application program corresponding to gesture illustrates, and the flow includes:By gesture data deposit driving layer corresponding to blank screen gesture Default node in, wherein, gesture data includes gesture coordinate and gesture-type;It is effective that blank screen gesture data is performed by driving layer Property judge;If effectively, perform 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, and the dynamic of blank screen gesture is calculated according to the gesture coordinate and gesture-type Draw track, cartoon track data 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, application program corresponding to opening the blank screen gesture is performed as application layer Operation.
At present, user may be carried out continuous cut using blank screen gesture and sing operation.Performed by blank screen gesture and cut song operation Flow be usually that after the blank screen for cutting a song gesture is detected, mobile terminal responds the blank screen gesture, lights touch-control and shows Then screen extinguishes touching display screen again to show the track of the blank screen gesture.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 can not detect Blank screen gesture.The setting time after screen is put out again, touching display screen can just reenter gesture mode.The setting time is by system Default setting, it can typically take 2s or so.After screen is put out, and touching display screen is reentered before gesture mode, if user The blank screen gesture for cutting song is inputted again, then mobile terminal will not respond the blank screen gesture that this is used to cut song.Now, for user For, the blank screen gesture for cutting song of its input is not responded, so as to cause user intuitively to think the sound of blank screen gesture function Should be not sensitive enough.The scheme of response blank screen gesture provided in an embodiment of the present invention can be very good solve above-mentioned touching display screen Recovered to after putting out screen to leak the problem of responding blank screen gesture by bright screen.
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 perform, wherein, the device can be realized by software and/or hardware, can typically be integrated in mobile terminal In.As shown in figure 1, this method includes:
Step 110, when the mode of operation of touching display screen is gesture mode, obtain user on the touching display screen The blank screen gesture of input.
Wherein, the mode of operation of touching display screen includes gesture mode and normal mode.Under gesture mode, touch-control is shown Screen can detect 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.Touch chip to be arranged in touching display screen, if touching chip output touch-sensing Control signal to touching display screen, then touching display screen is in gesture mode.Touching display screen can detect under gesture mode The blank screen gesture of user's input.If chip output display signal is touched to touching display screen, based on the display signal in touch-control Form electric field between the upper and lower base plate of display screen, the liquid crystal in touching display screen deflects in the presence of electric field, realizes aobvious Show, now, 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 is appreciated that blank screen gesture is not limited to the touch hand inputted on touching display screen Gesture, it can also be operation detected by the sensor of mobile terminal etc..For example, the gesture for the smart mobile phone that rolls, from intelligence The gesture and press gesture of smart mobile phone frame etc. that the touching display screen overhead of energy mobile phone is whipped.
Exemplary, after system wake-up, inner nuclear layer calls driving layer interrupt processing function to perform, and driving layer passes through interruption Handle function and read the gesture data touched in chip, and by the default node of the gesture data write driver layer read. Wherein, gesture data includes gesture coordinate and default stop bits.For example, character corresponding to pre-defined stop bits is " # ". When user inputs blank screen gesture, chip is touched by the default deposit of gesture data deposit itself corresponding to the blank screen gesture detected In device.Chip is touched after the completion of blank screen gesture input is detected, the ending addition of the gesture data stored in a register “#”.Layer is driven when reading character, i.e. " # " corresponding to the stop bits, is wrirted music to presetting the gesture coordinate read in node 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 the coordinate represented by discrete point on quasi-plane continuous curve approximation.By the gesture path and in advance The blank screen gesture template first stored is matched, and determines blank screen gesture corresponding to the gesture path.It is understood that driving Layer can also just perform the drafting operation of gesture path without waiting for the stop bits is detected.Layer is driven to read gesture number with side Gesture path is drawn according to side, i.e., is painted every setting time length, driving layer according to the gesture data obtained in the time span A sub-trajectory of gesture path is made, until driving layer reads the stop bits, determines that gesture path is completed.
Wherein, the configuration mode of blank screen gesture template has many kinds, and 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, the gesture path that the frequency of occurrences corresponding to each blank screen gesture exceedes setpoint frequency is obtained, the frequency of occurrences is pulled out and exceedes The general character of the gesture path of setpoint frequency, target gesture path is fitted accordingly.By the target gesture path and corresponding blank screen Gesture forms blank screen gesture template.Before mobile terminal dispatches from the factory, by the blank screen gesture template configuration in mobile terminal.
And for example, gesture template as shown in Figure 2 correction interface schematic diagram, can set gesture template school in the terminal Orthofunction.When user enters gesture template calibration function interface, display is with the choice box 210 of drop-down menu function and hand-written Region 220, prompt user to select a blank screen gesture and input gesture path corresponding to the blank screen gesture selected.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 it is not detected by The instruction of gesture template calibration function is exited, then next the 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 the setting time cycle Template.Exemplary, user can set renewal time to be realized as update condition when using blank screen gesture function for the first time When the usage time of blank screen gesture function reaches the renewal time, update instruction is generated, is performed by update instruction triggering black Shield the renewal operation of gesture template.Optionally, the renewal time can also be the system default time.
Exemplary, the flow of the blank screen gesture template is updated according to the writing style of user to be:Driving layer is being examined When measuring the update instruction, using last blank screen gesture template renewal operation finish time as the time started, obtain by The gesture path of the blank screen gesture in time interval between time started to the current time for detecting update instruction.By this when Between blank screen gesture in section gesture path as training sample, the hand for respectively being included the sample 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 of the statistics sub- gesture path exceedes the number of setting deviation threshold.Determine that the number exceedes to set Determine the template gesture of threshold value, the template gesture is replaced 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, which is 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 now in touching display screen.Such as Shown in Fig. 3, for gesture path " W ", the gesture path is divided into the first sub- gesture using 3 characteristic points at flex point Track 301, the second sub- gesture path 302, the 3rd sub- 303 and the 4th sub- gesture path 304 of gesture path.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- sub-trajectory 305 of gesture path 301 and first is 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 exceedes the number of setting deviation threshold, if the number exceedes given threshold, adopts The gesture path of the blank screen gesture " W " stored in the template gesture is replaced with the gesture path of sample gesture " W ".So as to realize According to the personalized adjustment blank screen gesture template of the writing style of user, the discrimination of blank screen gesture is improved.
Step 120, judge whether the blank screen gesture is to put out gesture corresponding to the predetermined registration operation performed 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 cut Song operation, open flashlight application or other operations i.e. executable without bright screen.Optionally, can be dispatched from the factory in mobile terminal Before, by the form of white list by the operative configuration performed in the case where putting out screen state in the terminal.Mobile terminal can join After net, the new information for the white list of mobile terminal server push is obtained.It can be taken by accessing the mobile terminal The mode of business device downloads the mode of the white list, the white list that renewal mobile terminal is pre-configured with.
After detecting that user inputs blank screen gesture, the white list is inquired about according to the blank screen gesture, judges the blank screen gesture Whether the white list is belonged to.If, it is determined that the blank screen gesture is to put out gesture corresponding to the predetermined registration operation performed under screen state.
Step 130, if so, blank screen gesture event is then reported to application layer, so that touching display screen is shown and the blank screen Gesture path corresponding to gesture, and control the mode of operation of the touching display screen to maintain gesture mode constant.
Wherein, blank screen gesture event can drive layer to have blank screen gesture defeated with the representative that is used for that application layer consults in advance The event entered.
For example, touching chip when detecting that user inputs blank screen gesture, send and interrupt wake-up signal to inner nuclear layer.Kernel Layer is when getting interruption wake-up signal, execution system wake operation.If the blank screen gesture is effective, driving layer reports blank screen hand Gesture event is to application layer.Application layer obtains gesture coordinate and hand corresponding to the blank screen gesture after blank screen gesture event is received Gesture type.Application layer draws gesture path according to the gesture coordinate, and now, the touching display screen of mobile terminal is lighted, the gesture Track is displayed on touching display screen.When meeting default end display condition, touching display screen reverts to again puts out screen shape State.Wherein, the default display condition that terminates includes the display duration of setting, and the user of setting is directed to the operation of mobile terminal Deng.
Exemplary, if the blank screen gesture that user currently inputs is to put out hand corresponding to the predetermined registration operation performed under screen state Gesture, then drive layer to obtain gesture data corresponding to the blank screen gesture, Effective judgement is carried out based on the gesture data.It is determined that should When blank screen gesture is effective, blank screen gesture event is reported to application layer.Application layer obtains the hand after blank screen gesture event is received Gesture data, and the gesture coordinate and gesture-type included based on the gesture data draws blank screen gesture path, and shown in touch-control The screen display blank screen gesture path.Because blank screen gesture path to be shown is, it is necessary to light touching display screen.In touching display screen When lighting, control touching display screen switches without mode of operation, that is, it is that gesture mode is constant to maintain mode of operation.So as to, After touching display screen extinguishes again, if user inputs blank screen gesture immediately, because the mode of operation of touching display screen is still within Gesture mode, the blank screen gesture inputted again can be detected, and responded thereto, avoided and blank screen is switched to by bright screen The situation that blank screen gesture can not be detected in short period afterwards occurs.
Fig. 4 is a kind of Android system block schematic illustration provided in an embodiment of the present invention.Using the operating system shown in Fig. 4 as peace Exemplified by the mobile terminal of tall and erect (Android) system, the execution flow of blank screen gesture function provided in an embodiment of the present invention is introduced.Such as Shown in Fig. 4, Android system framework 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 Move.Wherein, by the hardware driving in inner nuclear layer 410 be designated as drive 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 provide 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 uses for each component of Android system, including following function:Media Storehouse (Media Framework), interface management (Surface Manager), SQLite (relational database engine) and FreeType (bitmap and vector fonts render) etc., its each function is exposed to developer by the ccf layer 430 of Android system Use.Ccf layer 430 provides a series of class libraries needed for exploitation Android application program, developer quickly should It is convenient to reuse component with program development, personalized extension can also be realized by inheriting, its 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..Should It is all kinds of with the application program of user's direct interaction with including on layer 440, or the service for running on backstage write by Java language Program, including desktop application, contact application, talk application, camera applications, Photo Browser, game, map, web browser Etc. program, and the other applications of developer's exploitation.
Exemplary, after the unlatching of blank screen gesture function, chip is touched when detecting blank screen gesture, generation one wakes up letter Number, and the wake-up signal is sent to inner nuclear layer.Inner nuclear layer execution system wake operation is triggered by the wake-up signal.Called out in system After waking up, inner nuclear layer calls driving layer interrupt processing function to perform, 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 catalogues.After the completion of digital independent, driving layer judges the gesture data Validity, the mode of availability deciding has many kinds, and the present embodiment is not especially limited.For example, driving layer is according to the gesture The gesture coordinate that packet contains determines gesture-type, and is stored in the default section using identified gesture-type as gesture data Point in.If the gesture-type is not default blank screen gesture, judge that gesture data is invalid.And for example, driving layer counts the gesture The number of data, judges whether the number meets the requirement for drawing default blank screen gesture, if it is not, then judge gesture data without Effect.When data are effective, driving layer reports blank screen gesture event.The blank screen gesture event is transmitted to framework 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 included according to the gesture data calculates blank screen hand Gesture track, the blank screen gesture path is plotted on touching display screen and shown.Then, application layer is based on the gesture read Gesture-type in data, open application program corresponding with the gesture-type.Wherein, gesture-type can be pre-set at The gesture for being used to realize a certain function in mobile terminal, can also be user-defined gesture.For example, gesture-type can be with It is O, represents and open camera.And for example, gesture-type can be V, represent and open flashlight etc..
It is understood that the execution flow of blank screen gesture function is not limited to the mode enumerated in the present embodiment.For example, It can also be and blank screen gesture event is reported in system wake-up, inner nuclear layer calls driving layer interrupt processing function to perform, driving Layer reads the operation for touching gesture data in chip by the interrupt processing function, and the gesture data is stored in into driving layer In default node;Given the correct time in blank screen gesture event, the parallel driving layer that performs reads gesture data, and hand is determined according to gesture data The operation of gesture type;For example, driving layer obtains the gesture data in the default node, the gesture data is obtained as curve matching The immediate gesture-type of blank screen gesture, the gesture-type is also served as into gesture data and is stored in the default node.Answering When receiving blank screen gesture event with layer, according to setting cycle detection, this presets whether the gesture data in node is ready to complete. When being ready to complete, application layer is preset by this and the gesture data is read in node.The gesture data read successfully and it is effective when, The gesture coordinate and gesture-type included according to the gesture data calculates blank screen gesture path, and the blank screen gesture path is drawn Shown on touching display screen.Then, application layer is opened and the hand based on the gesture-type in the gesture data read Application program corresponding to gesture type.
The technical scheme of the present embodiment, by detect the blank screen gesture currently inputted be put out performed under screen state it is default Corresponding to operation during gesture, report corresponding to the blank screen gesture that blank screen gesture event is to application layer, so that touching display screen is shown Gesture path corresponding with the blank screen gesture, and control the mode of operation of the touching display screen to maintain 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, it can effectively improve the problem of blank screen gesture is responded not in time, avoid touching display screen from being recovered by bright screen to after putting out screen The situation of 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 institutes Show, this method includes:
Step 510, user configuration blank screen gesture switch on off state when, driving layer obtain be directed to application layer in it is each The configuration information of the on off state of blank screen gesture.
Wherein, the configuration information includes the state whether opened for each blank screen gesture switch in application layer.
The switch for controlling blank screen gesture whether to enable is set in application layer and driving layer in advance.It can be switched in application layer The form displaying blank screen gesture switch of control, is turned on and off blank screen hand corresponding to blank screen gesture switch for selection by the user Gesture.For example, when user clicks on the blank screen gesture function option in setting, display interface switches to blank screen intelligent sketching, and this is black Screen intelligent sketching include pre-set blank screen gesture (as " O ", " V ", "<", " W " and " M " etc.) and corresponding blank screen gesture open Close, include the option of self-defined blank screen gesture.If user opens blank screen gesture switch corresponding to blank screen gesture " O ", show Enable blank screen gesture " O ".Now, the return value of switch control is changed into corresponding to start blackscreen gesture corresponding to 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.
Exemplary, the return value of switch control corresponding to each blank screen gesture in application layer monitoring blank screen intelligent sketching. The on off state of blank screen gesture in application layer is determined according to the return value of the switch control.Application layer using the on off state as Configuration information is issued to driving layer.
Step 520, driving layer send the configuration information to chip is touched, so that the touch chip is matched somebody with somebody according to Confidence breath, which is opened, interrupts arousal function corresponding to enabled blank screen gesture.
Wherein, interrupting arousal function is included based on the blank screen gesture detected, and interruption wake-up letter can be sent by touching chip Number to inner nuclear layer, to trigger the operation of inner nuclear layer execution system wake-up.When performing the interruption arousal function, chip hair is touched Send and interrupt wake-up signal to inner nuclear layer.
When driving layer receives the configuration information of the on off state based on blank screen gesture, the configuration information is sent to tactile Touch chip.Chip is touched after the configuration information is received, based on configuration information mark with the blank screen for waking up System Privileges Gesture.So as to, touch chip and only enabled blank screen gesture is responded, and reporting interruption wake-up signal, and ignore and do not open Blank screen gesture, avoid the blank screen gesture of user's not enabled from triggering the situation generation of system wake-up, reduce mobile terminal Power consumption.
Step 530, when user inputs blank screen gesture, the touch chip obtains corresponding to the blank screen gesture gesture and sat Mark.
Exemplary, touching display screen includes panel, contact sensor, flexible PCB and touches chip.Wherein, face Plate is the top layer of touching display screen, and the touch operation of user is acted on the panel.According to the structure of touching display screen and touch Chip design requirement makes contact sensor.Contact sensor is electrically connected by flexible PCB with touching chip.
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 show Display screen surface forms a coupled capacitor, and for high frequency electric, electric capacity is direct conductor, and then finger siphons away from contact point The electric current of one very little, this electric current flow out from the electrode on the corner of touching display screen respectively, and flow through this four electricity The electric current of pole is directly proportional to the distance of finger to corner, touches chip by the accurate calculating to this four current ratios, draws The position of touch point, i.e. gesture coordinate.
Step 540, chip is touched based on gesture coordinate identification blank screen gesture.
Gesture coordinate is carried out curve fitting in real time 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 after drafting and the blank screen gesture prestored 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 It is easy to drive layer to obtain the gesture-type while gesture coordinate is obtained, without driving layer to perform gesture matching again. Gesture coordinate is drawn in real time due to touching chip, improves execution speed.
It can also be stored it is understood that touching chip when detecting blank screen gesture input corresponding to blank screen gesture Gesture coordinate, when user to be determined inputs completion, gesture path is drawn based on the gesture coordinate, on the other hand, 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, then performing step Rapid 560, otherwise, perform step 580.
Touch chip and inquire about the configuration information, determine whether the blank screen gesture is the blank screen gesture having turned on, so as to know Interrupt whether arousal function is opened corresponding to the blank screen gesture, if so, then performing step 560, otherwise perform step 580.
Step 560, touch chip judge that arousal function is interrupted corresponding to the blank screen gesture have been opened, and is sent interruption and is waken up Signal is to inner nuclear layer.
If it is determined that the blank screen gesture of user's input has enabled, then touch chip and send interruption wake-up signal to inner nuclear layer.
Step 570, get interrupt wake-up signal when, inner nuclear layer is based on the interruption wake-up signal execution system and waken up Operation.
Step 580, touch chip judge that arousal function is interrupted corresponding to the blank screen gesture to be not switched on, and abandons sending interruption 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 scheme of the present embodiment, by touching chip setting interruption arousal function in advance, applied according to user The on off state of the blank screen gesture of layer configuration, opens for enabled blank screen gesture and interrupts arousal function, so as in blank screen gesture After input, however, it is determined that the blank screen gesture has enabled, then sends and interrupt wake-up signal to inner nuclear layer, otherwise, be not responding to the blank screen hand Gesture.Above-mentioned technical proposal can effectively prevent the situation that the unconscious input blank screen gesture of user causes system to be awakened as frequently as those utilized in conventional solutions Occur, reduce 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 system wake-up operation is detected, by driving layer interrupt processing function, from touching chip Gesture data corresponding to the interior blank screen gesture for reading user and currently inputting, and the gesture data is stored in the default section for driving layer Point in.
Wherein, system wake-up represents that mobile terminal is waken up by resting state.Can by user on touching display screen it is defeated 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 execution system wake 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 gesture that includes to the gesture data of driving layer 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 to the gesture coordinate in the gesture data that is read as curve matching Close gesture path.By way of the gesture path is matched with blank screen gesture template, identification user inputs black Shield gesture.
Interchangeable, driving layer can also not have to until detecting the stop bits, and just the gesture coordinate read is made Curve matching, can it be carried out curve fitting when the gesture data read by touch chip reaches setting number, until detection During to stop bits, by obtained gesture path and blank screen gesture template matches, so as to shorten needed for blank screen gesture identification when Between.
Step 640, judge whether blank screen gesture switch is in open mode corresponding to the blank screen gesture, if so, then holding Row step 650, otherwise perform step 690.
Wherein, the switch whether enabled in advance in application layer and driving layer setting control blank screen gesture.It is black in user configuration When shielding gesture switch, the configuration information that application layer is sent is received, so as to obtain for each blank screen gesture switch in application layer On off state.The on off state that the blank screen gesture being pre-configured in according on off state renewal in driving layer switchs, makes driving The state of blank screen gesture switch in layer is identical with the on off state in application layer.
Layer is driven to inquire about the blank screen gesture when checking blank screen gesture corresponding to the predetermined registration operation put out and performed under screen state The on off state of corresponding blank screen gesture switch.If blank screen gesture switch is open mode, it is determined that detected blank screen Gesture has been activated, then performs step 650, otherwise, performs step 690.
Step 650, judge whether the blank screen gesture is to put out gesture corresponding to the predetermined registration operation performed under screen state, if It is then to perform step 660, otherwise performs step 670.
Step 660, 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 mode of operation maintain gesture mode it is constant.
The switching of the mode of operation of touching display screen can be controlled by driving layer sending mode switching command.In touch-control When display screen is lighted to show the gesture path of the blank screen gesture currently inputted, if driving layer judges the behaviour that the blank screen gesture performs It is default when making to put out the operation performed under screen state, then not sending mode switching command to touching chip, now, touching display screen Mode of operation maintain gesture mode it is constant.
Step 670, driving layer report blank screen gesture event to application layer, and shown and the blank screen hand in touching display screen Corresponding to gesture during gesture path, control touching display screen exits gesture mode.
When blank screen gesture switch is in open mode corresponding to the blank screen gesture detected, driving layer reports blank screen gesture Event is to application layer.Application layer obtains gesture data corresponding to the blank screen gesture, based on this after blank screen gesture event is received Gesture data draws gesture path, lights touching display screen to show the gesture path.Due to detected blank screen gesture not It is to put out gesture corresponding to the predetermined registration operation performed under screen state, after touching display screen is lighted, the sending mode switching of driving layer refers to Order is 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, into normal mode mode have it is many in, no It is limited to the mode that the present embodiment is enumerated.For example, driving layer is lighted touch-control and shown when detecting operation of the user to wake source Screen, and control touching display screen to exit gesture mode etc..Wherein, wake source includes power key or major key (HOME keys) etc..
Step 680, detect touching display screen extinguish when, driving layer control touching display screen mode of operation 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 is to chip is touched, to control touching display screen to reenter gesture mode.
Step 690, abandon reporting blank screen gesture event to application layer.
Because driving layer determines that detected blank screen gesture corresponding to the predetermined registration operation performed under screen state of putting out is not opened With not reporting blank screen gesture event to application layer.Therefore, the blank screen gesture execution data acquisition that application layer will not be based on not enabled Operation.
The technical scheme of the present embodiment, by before blank screen gesture event is reported, the querying triggering blank screen gesture event Blank screen gesture whether enable, if so, then reporting blank screen gesture event otherwise, to abandon reporting blank screen gesture event to application layer To application layer.Above-mentioned technical proposal can avoid reporting the blank screen gesture event that the blank screen gesture do not opened triggers to application layer Situation occurs.
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 touch chip obtains corresponding to the blank screen gesture gesture and sat Mark.
Step 702, touch chip are based on gesture coordinate and identify the blank screen gesture to cut singer's gesture.
Step 703, touch chip judge that this cuts whether singer's gesture is enabled blank screen gesture, if so, then performing step 705, otherwise perform step 704.
Touch chip query configuration information to determine to cut whether singer's gesture has enabled, if so, then performing step 705, otherwise hold Row step 704.
Interruption arousal function corresponding to singer's gesture is cut described in step 704, touch chip judgement to be not switched on, and abandons sending interruption Wake-up signal is to inner nuclear layer.
If it is not enabled blank screen gesture to cut singer's gesture, touch chip is not responding to this and cuts singer's gesture, i.e., in not sending Disconnected wake-up signal is to inner nuclear layer.
Interruption arousal function corresponding to singer's gesture is cut described in step 705, touch chip judgement to have opened, and sends interruption wake-up Signal is to inner nuclear layer.
If it is enabled blank screen gesture to cut singer's gesture, touches chip and judge to cut interruption arousal function corresponding to 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 is based on the interruption wake-up signal execution system and waken up Operation.
Step 707, driving layer judgement cut whether singer's gesture is to put out gesture corresponding to the predetermined registration operation performed under screen state, if It is then to perform step 708, otherwise performs step 709.
Layer is driven 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 that user inputs is to cut song according to the gesture-type of reading Gesture, inquires about the gesture corresponding to the predetermined registration operation performed under screen state of putting out pre-set, and judgement is cut and operated corresponding to singer's gesture 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 is shown cuts singer with described Gesture path corresponding to gesture, and control the mode of operation of the touching display screen to maintain gesture mode constant.
When it is to put out gesture corresponding to the predetermined registration operation that is performed under screen state to cut singer's gesture, driving layer reports blank screen gesture thing Part to application layer, while not to touch chip sending mode switching command so that touching display screen mode of operation maintain gesture Pattern is constant.Now, if user inputs blank screen gesture immediately after touching display screen extinguishes again, touching display screen can also detect To the blank screen gesture of the new input.
Step 709, driving layer report blank screen gesture event to application layer, and shown and the blank screen hand in touching display screen Corresponding to gesture during gesture path, control touching display screen exits gesture mode.
Step 710, detect touching display screen extinguish when, driving layer control touching display screen mode of operation cut again Shift to gesture mode.
The technical scheme of the present embodiment, by the way that when user inputs blank screen gesture, blank screen gesture is identified by touching chip, System could be waken up by only opening the blank screen gesture of interruption arousal function;After system wake-up, driving layer is read by touch chip The recognition result of blank screen gesture judges that this cuts whether singer's gesture is to put out the predetermined registration operation performed under screen state to correspond to cut singer's gesture Gesture, if so, then 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 recovering to put out nothing in the setting time after shielding The situation of method detection blank screen gesture occurs, while can reduce mobile terminal power consumption.
Fig. 8 is a kind of structured flowchart of device for responding blank screen gesture provided in an embodiment of the present invention.The device can have soft Part and/or hardware are realized, are typically integrated in mobile terminal.As shown in figure 8, the device can include:
Gesture acquisition module 810, for when the mode of operation of touching display screen is gesture mode, obtaining 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 performed under screen state The gesture answered;
Reporting events module 830, if being to put out hand corresponding to the predetermined registration operation performed under screen state for the blank screen gesture Gesture, then blank screen gesture event is reported to application layer, so that touching display screen shows gesture path corresponding with the blank screen gesture, And the mode of operation of the touching display screen is controlled to maintain gesture mode constant.
The technical scheme of the present embodiment provides a kind of device for responding blank screen gesture, can effectively improve blank screen gesture sound Should not in time the problem of, touching display screen is avoided to recover the situation generation of the leakage response blank screen gesture to after putting out screen by bright screen.
Optionally, in addition to:
Wake operation detection module, for detecting the system wake-up operation based on blank screen gesture;
Gesture data read module, for before the blank screen gesture that is inputted on the touching display screen of user is obtained, By driving layer interrupt processing function, gesture data corresponding to the blank screen gesture is read from touching in chip, and by the hand Gesture data storage is in the default node of driving layer;
And gesture acquisition module 810 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, in addition to:
Mode switch module, if not being to put out hand corresponding to the predetermined registration operation performed under screen state for the blank screen gesture Gesture, then blank screen gesture event is reported to application layer, and show 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 mode of operation of touching display screen is controlled to back switch to gesture mode.
Optionally, in addition to:
Configuration information acquisition module, for switched in user configuration blank screen gesture on off state when, obtain for application The configuration information of the on off state of each blank screen gesture in layer;
Configuration information sending module, for the configuration information to be sent to chip is touched, so that the touch chip root Opened according to the configuration information and interrupt arousal function corresponding to enabled blank screen gesture.
Optionally, in addition to:
Gesture state judge 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, then the touch chip judges that arousal function is interrupted corresponding to the blank screen gesture have been opened, and is sent and is interrupted Wake-up signal to inner nuclear layer, the interruption wake-up signal is used to wake up system.
Optionally, in addition to:
Configuration information synchronization module, for switched in user configuration blank screen gesture on off state when, obtain for application The configuration information of the on off state of each blank screen gesture in layer, the blank screen in driving layer is preset at according to the configuration information update Gesture switchs;
Optionally, in addition to:
On off state judge module, for before blank screen gesture event to application layer is reported, judging the blank screen gesture Whether corresponding blank screen gesture switch is in open mode;
If so, blank screen gesture event is then reported to application layer;
Otherwise, abandon reporting blank screen gesture event to application layer.
Optionally, in addition to:
Pattern exits module, for when detecting operation of the user to wake source, lighting touching display screen, and controls and touches 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 for including computer executable instructions, and the computer can perform Instruct when being performed by computer processor for performing a kind of method for responding blank screen gesture, this method includes:
When the mode of operation 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 gesture corresponding to the predetermined registration operation performed under screen state;
If so, then 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 mode of operation maintain gesture mode it is constant.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap Include: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, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums (such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other The memory of type or its combination.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 programmed instruction and be used to perform to the first computer." storage is situated between term Matter " can include may reside within diverse location two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the programmed instruction that can be performed by one or more processors and (such as implement For computer program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer The operation for the response blank screen gesture that executable instruction is not limited to the described above, can also carry out any embodiment of the present invention and is provided Response blank screen gesture method in associative operation.
The embodiments of the invention provide 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 representation of mobile terminal provided in an embodiment of the present invention.As shown in figure 9, should Mobile terminal can include:Housing (not shown), touching display screen 912, physical button 913, memory 901, centre Manage device (Central Processing Unit, CPU) 902 (also known as processor, hereinafter referred to as CPU), circuit board (does not show in figure Go out) and power circuit (not shown).The touching display screen 912, for by user operation be converted into electric signal input to The processor, and show visual output signal;The physical button 913, including power key or HOME keys etc., used for obtaining Family operates, and sends wake-up signal to CPU902;The touching display screen 912 include touch chip, the touch chip, for Under the control of processor, the mode of operation of the touching display screen is set to maintain gesture mode constant, and, storage is directed to application layer In each blank screen gesture on off state configuration information, and determined whether according to the configuration information to open enabled blank screen Arousal function is interrupted corresponding to gesture, wherein, when performing the interruption arousal function, touch chip, which is sent, interrupts wake-up signal To inner nuclear layer;The circuit board is placed in the interior volume that the housing surrounds;The CPU902 and the memory 901 are set 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 realize following steps:In touching display screen When mode of operation 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 gesture corresponding to the predetermined registration operation performed under screen state;If so, blank screen gesture event is then reported to application layer, with Touching display screen is shown gesture path corresponding with the blank screen gesture, and control the mode of operation of the touching display screen Maintain gesture mode constant.
The mobile terminal also includes: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 device 910 and outside port 904, these parts are led to by one or more communication bus or signal wire 907 Letter.
It should be understood that diagram mobile terminal 900 is only an example of mobile terminal, and mobile terminal 900 Can have than more or less parts shown in figure, can combine two or more parts, or can be with Configured with different parts.Various parts shown in figure can be including one or more signal transactings and/or special Hardware, software including integrated circuit are realized in the combination of hardware and software.
The mobile terminal for being used to respond blank screen gesture that the present embodiment provides is described in detail below, the movement is whole End is by taking mobile phone as an example.
Memory 901, the memory 901 can be accessed by CPU902, Peripheral Interface 903 etc., and the memory 901 can Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories, Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU902 and deposited by Peripheral Interface 903, the Peripheral Interface 903 Reservoir 901.
I/O subsystems 909, the I/O subsystems 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 subsystems 909 can include display controller 9091 and for controlling one or more input controllers 9092 of other input/control devicess 910.Wherein, it is one or more Input controller 9092 receives electric signal from other input/control devicess 910 or sent to other input/control devicess 910 Electric signal, other input/control devicess 910 can include physical button (pressing button, rocker buttons etc.), dial, slip Switch, control stick, click on roller.What deserves to be explained is input controller 9092 can with it is following any one be connected:It is keyboard, red The instruction 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 Outgoing interface, visual output display can be included into figure, text, icon, video etc. to user, visual output.
Display controller 9091 in I/O subsystems 909 receives electric signal from touching display screen 912 or shown to touch-control Screen 912 sends electric signal.Touching display screen 912 detects the contact on touching display screen, and display controller 9091 will detect Contact is converted to be interacted with the user interface object that is shown on touching display screen 912, that is, is realized man-machine interaction, be shown in tactile User interface object on control display screen 912 can be the icon of running game, the icon that is 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 is shown by touch-control Shield the extension of the touch sensitive surface formed.
RF circuits 905, it is mainly used in establishing the communication of mobile phone and 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 circuits 905 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 905 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 905 can include being used to perform The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identify mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 906, it is mainly used in receiving voice data from Peripheral Interface 903, the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 911.
Loudspeaker 911, for the voice signal for receiving mobile phone from wireless network by RF circuits 905, it is reduced to sound And play the sound 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, it can effectively improve the problem of blank screen gesture is responded not in time, keep away Exempt from touching display screen and recover the situation generation of the leakage response blank screen gesture to after putting out screen by bright screen.
The executable present invention of device, storage medium and mobile terminal of the response blank screen gesture provided in above-described embodiment appoints The method for the response blank screen gesture that meaning embodiment is provided, possesses and performs the corresponding functional module of this method and beneficial effect.Not The ins and outs of detailed description in the above-described embodiments, reference can be made to the response blank screen gesture that any embodiment of the present invention is provided Method.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (11)

  1. A kind of 1. method for responding blank screen gesture, it is characterised in that including:
    When the mode of operation of touching display screen is gesture mode, the blank screen hand that user inputs on the touching display screen is obtained Gesture;
    Judge whether the blank screen gesture is to put out gesture corresponding to the predetermined registration operation performed under screen state;
    If so, blank screen gesture event is then reported to application layer, so that touching display screen shows hand corresponding with the blank screen gesture Gesture track, and control the mode of operation of the touching display screen to maintain gesture mode constant.
  2. 2. according to the method for claim 1, it is characterised in that inputted in acquisition user on the touching display screen black Before shielding gesture, in addition to:
    Detect the system wake-up operation based on blank screen gesture;
    After the system wake-up operation is detected, by driving layer interrupt processing function, read out of touch chip described black Shield gesture data corresponding to gesture, and the gesture data is stored in the default node of driving layer;
    And the blank screen gesture that user inputs on the touching display screen is obtained, including:
    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, identify that the gesture path determines the blank screen gesture.
  3. 3. according to the method for claim 1, it is characterised in that also 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 During gesture track, control touching display screen exits gesture mode;
    When detecting that touching display screen extinguishes, the mode of operation of touching display screen is controlled to back switch to gesture mode.
  4. 4. according to the method for claim 1, it is characterised in that also include:
    In the on off state of user configuration blank screen gesture switch, the on off state for being directed to each blank screen gesture in application layer is obtained Configuration information;
    The configuration information is sent to chip is touched, so that the touch chip is enabled according to configuration information opening Arousal function is interrupted corresponding to blank screen gesture.
  5. 5. according to the method for claim 4, it is characterised in that also include:
    When user inputs blank screen gesture, the touch chip judges whether the blank screen gesture is enabled blank screen gesture;
    If so, then the touch chip judges that arousal function is interrupted corresponding to the blank screen gesture have been opened, transmission, which is interrupted, to be waken up Signal to inner nuclear layer, the interruption wake-up signal is used to wake up system.
  6. 6. according to the method for claim 1, it is characterised in that also include:
    In the on off state of user configuration blank screen gesture switch, the on off state for being directed to 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 blank screen gesture event to application layer is reported, in addition to:
    Judge whether blank screen gesture switch is in open mode corresponding to the blank screen gesture;
    If so, blank screen gesture event is then reported to application layer;
    Otherwise, abandon reporting blank screen gesture event to application layer.
  7. 7. method according to any one of claims 1 to 6, it is characterised in that also include:
    When detecting operation of the user to wake source, touching display screen is lighted, and controls touching display screen to exit gesture mode, Wherein, the wake source includes power key or major key.
  8. A kind of 8. device for responding blank screen gesture, it is characterised in that including:
    Gesture acquisition module, show for when the mode of operation of touching display screen is gesture mode, obtaining user in the touch-control The blank screen gesture inputted in display screen;
    Gesture matching module, for judging whether the blank screen gesture is to put out hand corresponding to the predetermined registration operation performed under screen state Gesture;
    Reporting events module, if being to put out gesture corresponding to the predetermined registration operation performed under screen state for the blank screen gesture, on Blank screen gesture event is reported so that touching display screen shows gesture path corresponding with the blank screen gesture, and to be controlled to application layer The mode of operation for making the touching display screen maintains gesture mode constant.
  9. 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The method that the response blank screen gesture as described in any in claim 1 to 7 is realized during row.
  10. 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, it is characterised 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 mode of operation of the touching display screen maintain gesture mode It is constant;
    The processor, the response blank screen as described in any in claim 1 to 7 is realized during for performing the computer program The method of gesture.
  11. 11. mobile terminal according to claim 10, it is characterised in that
    The touch chip, it is additionally operable to the configuration information that storage is directed to the on off state of each blank screen gesture in application layer, and root Determine whether to open corresponding to enabled blank screen gesture according to the configuration information and interrupt arousal function, wherein, described in execution When interrupting arousal function, touch 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 true CN107450837A (en) 2017-12-08
CN107450837B 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)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563367A (en) * 2018-06-14 2018-09-21 爱图智能(深圳)有限公司 A kind of touch display screen automatically wakes up method and apparatus, read-write storage medium
CN108572732A (en) * 2018-04-02 2018-09-25 Oppo广东移动通信有限公司 Electronic device, blank screen gesture detecting method and Related product
WO2019019835A1 (en) * 2017-07-28 2019-01-31 Oppo广东移动通信有限公司 Method and device for responding to blank screen gesture, and storage medium and mobile terminal
CN111258455A (en) * 2020-01-17 2020-06-09 Oppo广东移动通信有限公司 Event stream processing method, event stream processing device and mobile terminal
CN111356217A (en) * 2020-02-17 2020-06-30 Oppo广东移动通信有限公司 Terminal control method, terminal control device, terminal equipment and storage medium
CN111580904A (en) * 2020-04-20 2020-08-25 北京小米移动软件有限公司 Display state switching method, display state switching device and storage medium
CN111625175A (en) * 2020-05-06 2020-09-04 Oppo(重庆)智能科技有限公司 Touch event processing method, touch event processing device, medium and electronic equipment
TWI779240B (en) * 2018-09-19 2022-10-01 大陸商北京集創北方科技股份有限公司 Fingerprint application method and information processing device using the same
CN115185447A (en) * 2022-07-22 2022-10-14 广东明创软件科技有限公司 Terminal control method and related device
WO2024109319A1 (en) * 2022-11-22 2024-05-30 Oppo广东移动通信有限公司 Device control method and apparatus, electronic device, and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104137034A (en) * 2011-11-30 2014-11-05 惠普发展公司,有限责任合伙企业 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
CN106576123A (en) * 2015-09-02 2017-04-19 华为技术有限公司 A method, an apparatus and an electronic device for controlling an electronic device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104137034A (en) * 2011-11-30 2014-11-05 惠普发展公司,有限责任合伙企业 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
CN106576123A (en) * 2015-09-02 2017-04-19 华为技术有限公司 A method, an apparatus and an electronic device for controlling an electronic device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019019835A1 (en) * 2017-07-28 2019-01-31 Oppo广东移动通信有限公司 Method and device for responding to blank screen gesture, and storage medium and mobile terminal
CN108572732A (en) * 2018-04-02 2018-09-25 Oppo广东移动通信有限公司 Electronic device, blank screen gesture detecting method and Related product
CN108563367A (en) * 2018-06-14 2018-09-21 爱图智能(深圳)有限公司 A kind of touch display screen automatically wakes up method and apparatus, read-write storage medium
TWI779240B (en) * 2018-09-19 2022-10-01 大陸商北京集創北方科技股份有限公司 Fingerprint application method and information processing device using the same
CN111258455A (en) * 2020-01-17 2020-06-09 Oppo广东移动通信有限公司 Event stream processing method, event stream processing device and mobile terminal
CN111258455B (en) * 2020-01-17 2023-08-18 Oppo广东移动通信有限公司 Event stream processing method, event stream processing device and mobile terminal
CN111356217A (en) * 2020-02-17 2020-06-30 Oppo广东移动通信有限公司 Terminal control method, terminal control 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
CN111580904A (en) * 2020-04-20 2020-08-25 北京小米移动软件有限公司 Display state switching method, display state switching device and storage medium
CN111625175A (en) * 2020-05-06 2020-09-04 Oppo(重庆)智能科技有限公司 Touch event processing method, touch event processing device, medium and electronic equipment
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
WO2024109319A1 (en) * 2022-11-22 2024-05-30 Oppo广东移动通信有限公司 Device control method and apparatus, electronic device, and readable storage medium

Also Published As

Publication number Publication date
CN107450837B (en) 2019-09-24
WO2019019835A1 (en) 2019-01-31

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
CN107395889A (en) Reduce method, apparatus, storage medium and the mobile terminal of mobile terminal power consumption
CN108595228B (en) Application program prediction model establishing method and device, storage medium and mobile terminal
CN107483721B (en) Control method, device, storage medium and mobile terminal based on blank screen gesture
CN107479816B (en) Recognition methods, device, storage medium and the mobile terminal of blank screen gesture
CN107748686A (en) Starting guide method, apparatus, storage medium and the intelligent terminal of application program
US10466849B2 (en) Method and terminal for preventing unintentional triggering of a touch key and storage medium
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
CN107391021B (en) Recognition methods, device, storage medium and the mobile terminal of blank screen gesture
CN107479700A (en) Blank screen gestural control method, device, storage medium and mobile terminal
CN104636065A (en) Method and device for awakening terminal
CN107450838A (en) Response method, device, storage medium and the mobile terminal of blank screen gesture
CN106708520A (en) Touch screen control method and device of mobile terminal and mobile terminal
CN107463290A (en) Response control mehtod, device, storage medium and the mobile terminal of touch operation
CN107529636A (en) Improve method, apparatus, storage medium and the mobile terminal of blank screen gesture response
CN113552993B (en) Instruction triggering method and device based on key, storage medium and terminal equipment
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
CN109107148A (en) control method, device, storage medium and mobile terminal
CN109683792A (en) A kind of voice interactive method, device, storage medium and mobile terminal
CN106843440A (en) A kind of mobile terminal restarts control method, device and mobile terminal
CN113126780A (en) Input method, input device, electronic equipment and readable storage medium
CN116662151A (en) Debugging method and device based on service orchestration, terminal equipment and storage medium

Legal Events

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

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

Applicant after: 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.

GR01 Patent grant
GR01 Patent grant