CN110069167A - Touch point sweep-out method, mobile terminal and computer readable storage medium - Google Patents
Touch point sweep-out method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN110069167A CN110069167A CN201910366684.XA CN201910366684A CN110069167A CN 110069167 A CN110069167 A CN 110069167A CN 201910366684 A CN201910366684 A CN 201910366684A CN 110069167 A CN110069167 A CN 110069167A
- Authority
- CN
- China
- Prior art keywords
- screen
- touch point
- tangent
- facial image
- camera
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000001815 facial effect Effects 0.000 claims description 66
- 230000033001 locomotion Effects 0.000 claims description 11
- 230000006870 function Effects 0.000 description 20
- 230000006854 communication Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 11
- 230000005611 electricity Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000005059 dormancy Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000005764 inhibitory process Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
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)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of touch point sweep-out method, mobile terminal and computer readable storage medium, the touch point sweep-out method include: when the first screen is in wake-up states and the second screen in a dormant state when, detect whether to meet tangent screen condition;If meeting tangent screen condition, controls first screen and enter dormant state, and discharge the touch point on first screen;Control the touch point information that application layer removes caching;Wake up second screen.By the invention it is possible to which double screen is avoided to switch the point residual condition being easy to appear, prevent because of the phenomenon that point residual causes false triggering generation.
Description
Technical field
The present invention relates to technical field of mobile terminals more particularly to touch point sweep-out method, mobile terminal and computer can
Read storage medium.
Background technique
In the prior art, Dual-band Handy Phone is switched to screen B when carrying out screens switch, such as from screen A, and screen A stops
When dormancy, release only is carried out to the touch point on screen A.Due to the buffering of system, it is understood that there may be point residual condition, thus
The phenomenon that after leading to wake-up screen B, remaining point will affect operation of the user to screen B, cause false triggering.
Summary of the invention
The main purpose of the present invention is to provide a kind of touch point sweep-out method, mobile terminal and computer-readable storage mediums
Matter, it is intended to solve Dual-band Handy Phone in the prior art and, due to the presence of residual condition, cause false triggering when carrying out screens switch
The technical issues of.
To achieve the above object, the present invention provides a kind of touch point sweep-out method, is applied to mobile terminal, described mobile whole
End includes the first screen and the second screen, and the touch point sweep-out method includes:
When the first screen be in wake-up states and the second screen in a dormant state when, detect whether to meet tangent screen condition;
If meeting tangent screen condition, controls first screen and enter dormant state, and discharge on first screen
Touch point;
Control the touch point information that application layer removes caching;
Wake up second screen.
Optionally, it is described when the first screen is in wake-up states and the second screen in a dormant state when, detect whether full
The step of sufficient tangent screen condition includes:
When the first screen be in wake-up states and the second screen in a dormant state when, detect whether that receiving tangent screen refers to
It enables;
If receiving tangent screen instruction, meet tangent screen condition.
Optionally, it is described when the first screen is in wake-up states and the second screen in a dormant state when, detect whether
After the step of receiving tangent screen instruction, further includes:
If not receiving tangent screen instruction, detect whether the first camera takes facial image;
If first camera does not take facial image, detect whether second camera takes facial image;
If the second camera takes facial image, meet tangent screen condition, wherein first camera and institute
It states the first screen and is in the same face, the second camera and second screen are in the same face.
Optionally, if the second camera includes: the step of taking facial image, meet tangent screen condition
If the second camera takes facial image, it is similar to preset facial image to detect the facial image
Whether degree is greater than or equal to preset threshold;
If the similarity of the facial image and preset facial image is greater than or equal to preset threshold, meet tangent screen item
Part.
Optionally, the step of touch point information of the control application layer removing caching includes:
Flag bit is sent to application layer, the touch point letter for removing caching is executed when receiving the flag bit for application layer
The movement of breath.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal includes: the first screen
Curtain, the second screen, memory, processor and to be stored in the touch point that can be run on the memory and on the processor clear
Except program, the touch point clear program realizes the step of touch point sweep-out method as described above when being executed by the processor
Suddenly.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
It is stored with touch point clear program on storage medium, is realized when the touch point clear program is executed by processor as described above
The step of touch point sweep-out method.
In the present invention, when the first screen be in wake-up states and the second screen in a dormant state when, detect whether to meet
Tangent screen condition;If meeting tangent screen condition, controls first screen and enter dormant state, and discharge on first screen
Touch point;Control the touch point information that application layer removes caching;Wake up second screen.By the invention it is possible to avoid double
The point residual condition that screen switching is easy to appear has prevented because of the phenomenon that point residual causes false triggering generation.
Detailed description of the invention
The hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of one embodiment of inventive touch point sweep-out method;
Fig. 4 is the positional relationship of the first camera and the first screen signal in one embodiment of inventive touch point sweep-out method
Figure;
Fig. 5 is the positional relationship of second camera and the second screen signal in one embodiment of inventive touch point sweep-out method
Figure.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
In the embodiment of the present invention, touch point sweep-out method is applied to mobile terminal, which can be in a variety of manners
To implement.For example, mobile terminal involved in the present invention may include such as mobile phone, tablet computer, laptop, palm electricity
The mobile terminals such as brain, personal digital assistant (Personal Digital Assistant, PDA).
It will be illustrated by taking tablet computer as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to other types of mobile whole
End.
Referring to Fig. 1, the hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention, the terminal
100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V
(audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, storage
The components such as device 109, processor 110 and power supply 111.It will be understood by those skilled in the art that terminal structure shown in Fig. 1
The restriction to mobile terminal is not constituted, mobile terminal may include components more more or fewer than diagram, or combine certain
Component or different component layouts.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that terminal 100 executes can also be provided (for example, call signal receives sound, message connects
Quiet down sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of terminal posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as terminal, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 107 may include touch panel 1071 and its
His input equipment 1072.Touch panel 1071, also referred to as touch screen collect the touch operation (ratio of user on it or nearby
Such as user is using finger, stylus any suitable object or attachment on touch panel 1071 or near touch panel 1071
Operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detecting apparatus
With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring
Signal transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is converted
At contact coordinate, then processor 110 is given, and order that processor 110 is sent can be received and executed.Furthermore, it is possible to adopt
Touch panel 1071 is realized with multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out to main screen page display terminal whole
Monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation
Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing
Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 109 of computer storage medium
Believe module, Subscriber Interface Module SIM and touch point clear program, processor 110 can be used for calling to be stored in memory 109
Touch point clear program, and execute following steps:
When the first screen be in wake-up states and the second screen in a dormant state when, detect whether to meet tangent screen condition;
If meeting tangent screen condition, controls first screen and enter dormant state, and discharge on first screen
Touch point;
Control the touch point information that application layer removes caching;
Wake up second screen.
Further, processor 110 can be used for calling the touch point clear program stored in memory 109, also execute
Following steps:
When the first screen be in wake-up states and the second screen in a dormant state when, detect whether that receiving tangent screen refers to
It enables;
If receiving tangent screen instruction, meet tangent screen condition.
Further, processor 110 can be used for calling the touch point clear program stored in memory 109, also execute
Following steps:
If not receiving tangent screen instruction, detect whether the first camera takes facial image;
If first camera does not take facial image, detect whether second camera takes facial image;
If the second camera takes facial image, meet tangent screen condition, wherein first camera and institute
It states the first screen and is in the same face, the second camera and second screen are in the same face.
Further, processor 110 can be used for calling the touch point clear program stored in memory 109, also execute
Following steps:
If the second camera takes facial image, it is similar to preset facial image to detect the facial image
Whether degree is greater than or equal to preset threshold;
If the similarity of the facial image and preset facial image is greater than or equal to preset threshold, meet tangent screen item
Part.
Further, processor 110 can be used for calling the touch point clear program stored in memory 109, also execute
Following steps:
Flag bit is sent to application layer, the touch point letter for removing caching is executed when receiving the flag bit for application layer
The movement of breath.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
It is the flow diagram of one embodiment of inventive touch point sweep-out method referring to Fig. 3, Fig. 3.
In one embodiment, touch point sweep-out method is applied to mobile terminal, and mobile terminal includes the first screen and the
Two screens, touch point sweep-out method include:
Step S10, when the first screen be in wake-up states and the second screen in a dormant state when, detect whether meet cut
Set of hanging scrolls part;
In the present embodiment, touch point sweep-out method is applied to mobile terminal, which is dual-screen mobile terminal, including
Two screens, using any one screen is as the first screen in two screens, another screen is as the second screen.
In the present embodiment, when the first screen of mobile terminal is in wake-up states and another screen (i.e. the second screen) is in
When dormant state, currently whether can meet tangent screen condition by detection, to control screens switch.
In one alternative embodiment, on the screen being waken up, virtual touching button is provided, if user clicks this virtually manually
Button is touched, that is, can trigger tangent screen instruction.The virtual touching button of display, works as movement i.e. on the first screen in wake-up states
Terminal receives user when clicking tangent screen instruction of virtual touching button triggering, assert and currently meets tangent screen condition.
In another alternative embodiment, tangent screen can also be carried out relative to the position of user according to mobile terminal.It is readily appreciated that
, for user when using mobile terminal, face is in the state faced with the screen used.Therefore, control the first
One camera collection image, the first camera and the first screen are in the same face.It is the removing of inventive touch point referring to Fig. 4, Fig. 4
The positional diagram of first camera and the first screen in one embodiment of method.As shown in figure 4, the acquisition of the first camera
Image is the image in front of the first screen.Face datection is carried out to the image of the first camera acquisition, to determine the first camera shooting
It whether there is facial image in the image of head acquisition.If illustrating to use there are facial image in the image of the first camera acquisition
Family is currently still using the first screen, without switching over;If facial image is not present in the image of the first camera acquisition,
Illustrating user currently may not continue to using the first screen, therefore, control second camera acquire image, second camera with
Second screen is in the same face.Referring to Fig. 5, Fig. 5 is second camera and the in one embodiment of inventive touch point sweep-out method
The positional diagram of two screens.As shown in figure 5, the image of second camera acquisition is the image in front of the second screen.
Face datection is carried out to the image of second camera acquisition, with the presence or absence of face figure in the image to determine second camera acquisition
Picture.If illustrating that user currently wants to use the second screen there are facial image in the image of second camera acquisition.And it is present
First screen is in wake-up states, and the second screen in a dormant state, therefore, is assert and currently meets tangent screen condition.
Step S20 controls first screen and enters dormant state, and discharge described first if meeting tangent screen condition
Touch point on screen;
In the present embodiment, if meeting tangent screen condition, preset suspend mode function is run, is stopped so that the first screen of control enters
Dormancy state, and discharge the touch point on first screen.
Step S30, control application layer remove the touch point information of caching;
In the present embodiment, control application layer removes the touch point information of caching.It will remain in system cache mechanism
The touch point information of layer is also disposed.It specifically can be by sending flag bit to application layer, so that application layer is receiving mark
The movement for removing the touch point information for being buffered in upper layer is executed when will position.In the present embodiment, which can be previously added suspend mode
In function, in suspend mode function operation, flag bit is just sent to application layer.
Step S40 wakes up second screen.
In the present embodiment, when by the first screens switch to the second screen, the touch point on the first screen is discharged, and control
Application layer removes the touch point information of caching, i.e., after being checked movement twice, just wakes up the second screen.
In the present embodiment, when the first screen be in wake-up states and the second screen in a dormant state when, detect whether full
Sufficient tangent screen condition;If meeting tangent screen condition, controls first screen and enter dormant state, and discharge on first screen
Touch point;Control the touch point information that application layer removes caching;Wake up second screen.Through this embodiment, not only into
The release of row screen point, and further control application layer removes the touch point information of caching, can switch to avoid double screen and be easy to appear
Point residual condition, prevented because of point residual the phenomenon that causing false triggering generation.
Further, in one embodiment of inventive touch point sweep-out method, step S10 includes:
Step S101, when the first screen be in wake-up states and the second screen in a dormant state when, detect whether to receive
It is instructed to tangent screen;
Step S102 meets tangent screen condition if receiving tangent screen instruction.
In the present embodiment, on the screen being waken up, virtual touching button is provided, if user clicks the virtual touching manually
Button can trigger tangent screen instruction.The virtual touching button of display, works as mobile terminal i.e. on the first screen in wake-up states
When receiving user and clicking tangent screen instruction of virtual touching button triggering, assert and currently meets tangent screen condition.
Further, in one embodiment of inventive touch point sweep-out method, after step slol, further includes:
Step S103 detects whether the first camera takes facial image if not receiving tangent screen instruction;
In the present embodiment, tangent screen can also be carried out relative to the position of user according to mobile terminal.It is easily understood that with
When using mobile terminal, face is in the state faced with the screen used at family.Therefore, when do not receive tangent screen instruction
When, the first camera collection image is controlled first, and the first camera and the first screen are in the same face.It is this referring to Fig. 4, Fig. 4
Invent the positional diagram of the first camera and the first screen in one embodiment of touch point sweep-out method.As shown in figure 4, the
The image of one camera acquisition is the image in front of the first screen.Face datection is carried out to the image of the first camera acquisition,
It whether there is facial image in image to determine the acquisition of the first camera.
Step S104 detects whether second camera takes if first camera does not take facial image
Facial image;
In the present embodiment, if illustrating that user currently still makes there are facial image in the image of the first camera acquisition
With the first screen, without switching over;If facial image is not present in the image of the first camera acquisition, illustrate that user is current
It may not continue to using the first screen, therefore, control second camera acquires image, and second camera is in the second screen
The same face.It is the position of second camera and the second screen in one embodiment of inventive touch point sweep-out method referring to Fig. 5, Fig. 5
Relation schematic diagram.As shown in figure 5, the image of second camera acquisition is the image in front of the second screen.
Step S105 meets tangent screen condition if the second camera takes facial image, wherein described first takes the photograph
Picture head and first screen are in the same face, and the second camera and second screen are in the same face.
In the present embodiment, Face datection is carried out to the image of second camera acquisition, to determine second camera acquisition
It whether there is facial image in image.If illustrating that user currently thinks there are facial image in the image of second camera acquisition
To use the second screen.And present first screen is in wake-up states, the second screen in a dormant state, therefore, is assert current
Meet tangent screen condition.
In the present embodiment, the position according to mobile terminal relative to user carries out tangent screen automatically, improves double screen terminal
Property easy to use.
Further, in one embodiment of inventive touch point sweep-out method, if the second camera takes people
Face image, then the step of meeting tangent screen condition include:
If the second camera takes facial image, it is similar to preset facial image to detect the facial image
Whether degree is greater than or equal to preset threshold;If the similarity of the facial image and preset facial image is greater than or equal to default threshold
Value, then meet tangent screen condition.
In the present embodiment, in order to make screen automatically switch more to be bonded user's needs, second camera shooting is being detected
There are when facial image, further determine that whether the facial image and the similarity of preset facial image are greater than or equal in image
Preset threshold.Preset facial image is the facial image of mobile terminal affiliated user, that is, whether the user before determining the second screen
For mobile terminal affiliated user.If the similarity of facial image and preset facial image is greater than or equal to preset threshold, illustrate
User before second screen is mobile terminal affiliated user, greatly may be very that the user currently wants using the second screen, therefore,
Assert and currently meets tangent screen condition.
Further, in one embodiment of inventive touch point sweep-out method, step S30 includes:
Flag bit is sent to application layer, the touch point letter for removing caching is executed when receiving the flag bit for application layer
The movement of breath.
In the present embodiment, control application layer removes the touch point information of caching.It will remain in system cache mechanism
The touch point information of layer is also disposed.It specifically can be by sending flag bit to application layer, so that application layer is receiving mark
The movement for removing the touch point information for being buffered in upper layer is executed when will position.In the present embodiment, which can be previously added suspend mode
In function, in suspend mode function operation, flag bit is just sent to application layer.
Existing double screen terminal, due to the presence of caching mechanism, when carrying out tangent screen, it may appear that touch point information remains in
Upper layer, in the present embodiment, when tangent screen, control application layer removes the touch point information for being buffered in upper layer, can switch to avoid double screen
The point residual condition being easy to appear has prevented because of the phenomenon that point residual causes false triggering generation.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with touch point clear program, the touch point clear program realizes following steps when being executed by processor:
When the first screen be in wake-up states and the second screen in a dormant state when, detect whether to meet tangent screen condition;
If meeting tangent screen condition, controls first screen and enter dormant state, and discharge on first screen
Touch point;
Control the touch point information that application layer removes caching;
Wake up second screen.
Further, following steps are also realized when the touch point clear program is executed by processor:
When the first screen be in wake-up states and the second screen in a dormant state when, detect whether that receiving tangent screen refers to
It enables;
If receiving tangent screen instruction, meet tangent screen condition.
Further, following steps are also realized when the touch point clear program is executed by processor:
If not receiving tangent screen instruction, detect whether the first camera takes facial image;
If first camera does not take facial image, detect whether second camera takes facial image;
If the second camera takes facial image, meet tangent screen condition, wherein first camera and institute
It states the first screen and is in the same face, the second camera and second screen are in the same face.
Further, following steps are also realized when the touch point clear program is executed by processor:
If the second camera takes facial image, it is similar to preset facial image to detect the facial image
Whether degree is greater than or equal to preset threshold;
If the similarity of the facial image and preset facial image is greater than or equal to preset threshold, meet tangent screen item
Part.
Further, following steps are also realized when the touch point clear program is executed by processor:
Flag bit is sent to application layer, the touch point letter for removing caching is executed when receiving the flag bit for application layer
The movement of breath.
Each embodiment of the specific embodiment of computer readable storage medium of the present invention and above-mentioned touch point sweep-out method
Essentially identical, this will not be repeated here.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of touch point sweep-out method, which is characterized in that be applied to mobile terminal, the mobile terminal include the first screen with
And second screen, the touch point sweep-out method include:
When the first screen be in wake-up states and the second screen in a dormant state when, detect whether to meet tangent screen condition;
If meeting tangent screen condition, controls first screen and enter dormant state, and discharge the touch on first screen
Point;
Control the touch point information that application layer removes caching;
Wake up second screen.
2. touch point sweep-out method as described in claim 1, which is characterized in that it is described when the first screen be in wake-up states and
Second screen in a dormant state when, detect whether that the step of meeting tangent screen condition includes:
When the first screen be in wake-up states and the second screen in a dormant state when, detect whether to receive tangent screen instruction;
If receiving tangent screen instruction, meet tangent screen condition.
3. touch point sweep-out method as claimed in claim 2, which is characterized in that described when the first screen is in wake-up states
And second screen in a dormant state when, after the step of detecting whether to receive tangent screen instruction, further includes:
If not receiving tangent screen instruction, detect whether the first camera takes facial image;
If first camera does not take facial image, detect whether second camera takes facial image;
If the second camera takes facial image, meet tangent screen condition, wherein first camera and described the
One screen is in the same face, and the second camera and second screen are in the same face.
4. touch point sweep-out method as claimed in claim 3, which is characterized in that if the second camera takes people
Face image, then the step of meeting tangent screen condition include:
If the second camera takes facial image, the similarity for detecting the facial image and preset facial image is
It is no to be greater than or equal to preset threshold;
If the similarity of the facial image and preset facial image is greater than or equal to preset threshold, meet tangent screen condition.
5. touch point sweep-out method according to any one of claims 1 to 4, which is characterized in that the control application layer is clear
Except caching touch point information the step of include:
Flag bit is sent to application layer, the touch point information for removing caching is executed when receiving the flag bit for application layer
Movement.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes: the first screen, the second screen, memory, processing
Device and it is stored in the touch point clear program that can be run on the memory and on the processor, journey is removed in the touch point
Sequence realizes following steps when being executed by the processor:
When the first screen be in wake-up states and the second screen in a dormant state when, detect whether to meet tangent screen condition;
If meeting tangent screen condition, controls first screen and enter dormant state, and discharge the touch on first screen
Point;
Control the touch point information that application layer removes caching;
Wake up second screen.
7. mobile terminal as claimed in claim 6, which is characterized in that the touch point clear program is executed by the processor
When also realize following steps:
When the first screen be in wake-up states and the second screen in a dormant state when, detect whether to receive tangent screen instruction;
If receiving tangent screen instruction, meet tangent screen condition.
8. mobile terminal as claimed in claim 6, which is characterized in that the mobile terminal further includes the first camera and
Two cameras, first camera and first screen are in the same face, the second camera and second screen
In the same face, the touch point clear program also realizes following steps when being executed by the processor:
If not receiving tangent screen instruction, detect whether the first camera takes facial image;
If first camera does not take facial image, detect whether second camera takes facial image;
If the second camera takes facial image, meet tangent screen condition.
9. mobile terminal as claimed in claim 6, which is characterized in that the touch point clear program is executed by the processor
When the step of also realizing touch point sweep-out method as described in claim 4 or 5.
10. a kind of computer readable storage medium, which is characterized in that be stored with touch point on the computer readable storage medium
Clear program realizes the touch as described in any one of claims 1 to 5 when the touch point clear program is executed by processor
The step of point sweep-out method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910366684.XA CN110069167B (en) | 2019-05-05 | 2019-05-05 | Touch point cleaning method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910366684.XA CN110069167B (en) | 2019-05-05 | 2019-05-05 | Touch point cleaning method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110069167A true CN110069167A (en) | 2019-07-30 |
CN110069167B CN110069167B (en) | 2024-01-09 |
Family
ID=67370075
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910366684.XA Active CN110069167B (en) | 2019-05-05 | 2019-05-05 | Touch point cleaning method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110069167B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111651277A (en) * | 2020-06-11 | 2020-09-11 | 深圳创维-Rgb电子有限公司 | Memory cleaning method, intelligent terminal and readable storage medium |
CN112698753A (en) * | 2021-01-05 | 2021-04-23 | 京东方科技集团股份有限公司 | Touch display device, control method and system |
CN112817551A (en) * | 2021-02-26 | 2021-05-18 | 北京小米移动软件有限公司 | Display state control method, device, terminal and storage medium |
CN117424957A (en) * | 2023-09-15 | 2024-01-19 | 荣耀终端有限公司 | Camera mode switching method and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104636065A (en) * | 2014-12-31 | 2015-05-20 | 小米科技有限责任公司 | Method and device for awakening terminal |
CN107943384A (en) * | 2017-10-31 | 2018-04-20 | 努比亚技术有限公司 | Terminal and its screens switch, lighting control method, computer-readable recording medium |
CN108885491A (en) * | 2017-01-20 | 2018-11-23 | 华为技术有限公司 | A kind of screen switching and dual-screen electronic device of dual-screen electronic device |
CN109144304A (en) * | 2018-02-13 | 2019-01-04 | 北京仁光科技有限公司 | At least one display window distributing adjustment and touch-control automatic calibrating method and system |
CN109213462A (en) * | 2018-08-07 | 2019-01-15 | 武汉斗鱼网络科技有限公司 | Android horizontal/vertical screen method of data synchronization, device, terminal and readable medium |
CN109271227A (en) * | 2018-09-27 | 2019-01-25 | 南昌努比亚技术有限公司 | False-touch prevention method, apparatus and computer readable storage medium |
CN110286865A (en) * | 2019-06-20 | 2019-09-27 | 上海摩软通讯技术有限公司 | A kind of display methods and electronic equipment of touch screen |
WO2020011166A1 (en) * | 2018-07-13 | 2020-01-16 | 奇酷互联网络科技(深圳)有限公司 | Mobile terminal, and method and apparatus for controlling same to turn off screen |
-
2019
- 2019-05-05 CN CN201910366684.XA patent/CN110069167B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104636065A (en) * | 2014-12-31 | 2015-05-20 | 小米科技有限责任公司 | Method and device for awakening terminal |
CN108885491A (en) * | 2017-01-20 | 2018-11-23 | 华为技术有限公司 | A kind of screen switching and dual-screen electronic device of dual-screen electronic device |
CN107943384A (en) * | 2017-10-31 | 2018-04-20 | 努比亚技术有限公司 | Terminal and its screens switch, lighting control method, computer-readable recording medium |
CN109144304A (en) * | 2018-02-13 | 2019-01-04 | 北京仁光科技有限公司 | At least one display window distributing adjustment and touch-control automatic calibrating method and system |
WO2020011166A1 (en) * | 2018-07-13 | 2020-01-16 | 奇酷互联网络科技(深圳)有限公司 | Mobile terminal, and method and apparatus for controlling same to turn off screen |
CN109213462A (en) * | 2018-08-07 | 2019-01-15 | 武汉斗鱼网络科技有限公司 | Android horizontal/vertical screen method of data synchronization, device, terminal and readable medium |
CN109271227A (en) * | 2018-09-27 | 2019-01-25 | 南昌努比亚技术有限公司 | False-touch prevention method, apparatus and computer readable storage medium |
CN110286865A (en) * | 2019-06-20 | 2019-09-27 | 上海摩软通讯技术有限公司 | A kind of display methods and electronic equipment of touch screen |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111651277A (en) * | 2020-06-11 | 2020-09-11 | 深圳创维-Rgb电子有限公司 | Memory cleaning method, intelligent terminal and readable storage medium |
CN111651277B (en) * | 2020-06-11 | 2024-03-26 | 深圳创维-Rgb电子有限公司 | Memory cleaning method, intelligent terminal and readable storage medium |
CN112698753A (en) * | 2021-01-05 | 2021-04-23 | 京东方科技集团股份有限公司 | Touch display device, control method and system |
CN112698753B (en) * | 2021-01-05 | 2024-04-16 | 京东方科技集团股份有限公司 | Touch display device, control method and system |
CN112817551A (en) * | 2021-02-26 | 2021-05-18 | 北京小米移动软件有限公司 | Display state control method, device, terminal and storage medium |
CN117424957A (en) * | 2023-09-15 | 2024-01-19 | 荣耀终端有限公司 | Camera mode switching method and electronic equipment |
CN117424957B (en) * | 2023-09-15 | 2024-06-07 | 荣耀终端有限公司 | Camera mode switching method, electronic device, chip, storage medium, and program product |
Also Published As
Publication number | Publication date |
---|---|
CN110069167B (en) | 2024-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110069167A (en) | Touch point sweep-out method, mobile terminal and computer readable storage medium | |
CN110134471A (en) | A kind of screens switch animation control methods, terminal and computer readable storage medium | |
CN109195213A (en) | Mobile terminal screen control method, mobile terminal and computer readable storage medium | |
CN108989873A (en) | Barrage information display method, mobile terminal and computer readable storage medium | |
CN108965602A (en) | Application program display methods, mobile terminal and computer readable storage medium | |
CN108958936A (en) | Application programe switch-over method, mobile terminal and computer readable storage medium | |
CN109587329A (en) | Screen lighting method, mobile terminal and computer readable storage medium | |
CN109542325A (en) | Double-sided screen touch control method, double-sided screen terminal, readable storage medium storing program for executing | |
CN109889651A (en) | A kind of notification message processing method, terminal and computer readable storage medium | |
CN110213444A (en) | Display methods, device, mobile terminal and the storage medium of mobile terminal message | |
CN110087267A (en) | Method for switching network, device, electronic equipment and readable storage medium storing program for executing | |
CN108958932A (en) | A kind of control method of background application, terminal and computer readable storage medium | |
CN108900765A (en) | A kind of shooting based reminding method, mobile terminal and computer readable storage medium | |
CN108833132A (en) | log acquisition control method, terminal and computer readable storage medium | |
CN110174934A (en) | A kind of power button device and mobile terminal | |
CN109981892A (en) | A kind of screen display method, mobile terminal and computer readable storage medium | |
CN109151201A (en) | A kind of Anti-addiction method, mobile terminal and computer storage medium | |
CN110167004A (en) | A kind of network registering method, mobile terminal and computer readable storage medium | |
CN110083294A (en) | Screen interception method, terminal and computer readable storage medium | |
CN110007817A (en) | A kind of message treatment method and mobile terminal, computer readable storage medium | |
CN108897451A (en) | The recognition methods of major-minor display screen, mobile terminal and computer readable storage medium | |
CN109144577A (en) | A kind of screen awakening method, terminal and computer readable storage medium | |
CN109189482A (en) | A kind of display control method, terminal and computer readable storage medium | |
CN110174987A (en) | A kind of keypress function defines method, double screen terminal and computer-readable medium | |
CN110377458A (en) | Data reconstruction method, mobile terminal and computer readable 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |