CN109254691A - A kind of false-touch prevention method, apparatus and storage medium - Google Patents

A kind of false-touch prevention method, apparatus and storage medium Download PDF

Info

Publication number
CN109254691A
CN109254691A CN201811162901.5A CN201811162901A CN109254691A CN 109254691 A CN109254691 A CN 109254691A CN 201811162901 A CN201811162901 A CN 201811162901A CN 109254691 A CN109254691 A CN 109254691A
Authority
CN
China
Prior art keywords
false
touch prevention
respond style
touch
prevention region
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
CN201811162901.5A
Other languages
Chinese (zh)
Other versions
CN109254691B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811162901.5A priority Critical patent/CN109254691B/en
Publication of CN109254691A publication Critical patent/CN109254691A/en
Application granted granted Critical
Publication of CN109254691B publication Critical patent/CN109254691B/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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Abstract

The invention discloses a kind of false-touch prevention method and devices, computer readable storage medium, wherein the described method includes: determining false-touch prevention region according to the false-touch prevention object of setting;The operation for acting on the false-touch prevention region is received, determines the respond style of the operation;According to the respond style of the operation, the operation is responded.The embodiment of the present invention also provides the device and computer readable storage medium for realizing the above method.The present invention can prevent the mistake of user from touching operation, and the user experience is improved.

Description

A kind of false-touch prevention method, apparatus and storage medium
Technical field
The present invention relates to terminal operation technical field more particularly to a kind of false-touch prevention method, apparatus and storage mediums.
Background technique
Currently, touch screen has become the standard configuration of most terminals, user can relaxedly and rapidly be realized pair by touch screen The various operations of terminal.In order to allow terminal screen on show more contents and promote the factors such as sensory experience of user, The size of touch screen is increasing.
Since the size of touch screen is larger, user may generate the mistake touching operation to screen in use, such as: Play the operation for eating chicken in application, user searches for room, it is easy to it accidentally contacts sector of fire, to cause shot, leaks position cruelly, this Sample just will appear the touch-screen event of some non-user wishes, frequently occurs accidentally touching event, influences the experience of user.
Therefore, it is urgent to provide a kind of false-touch prevention technical solutions, can prevent the mistake of user from touching operation.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of false-touch prevention method, apparatus and storage medium, it can prevent user's Accidentally touching operation.
The technical solution of the embodiment of the present invention is achieved in that
On the one hand, the embodiment of the present invention provides a kind of false-touch prevention method, which comprises according to the false-touch prevention pair of setting As determining false-touch prevention region;The operation for acting on the false-touch prevention region is received, determines the respond style of the operation;According to The respond style of the operation responds the operation.
On the other hand, the embodiment of the present invention provides the device for realizing above-mentioned false-touch prevention method, and described device includes: storage Device, processor and it is stored in the computer program that can be run on the memory and on the processor, the processor is held The row computer program, to realize: according to the false-touch prevention object of setting, determining false-touch prevention region;Reception acts on described anti- The operation for accidentally touching region, determines the respond style of the operation;According to the respond style of the operation, the operation is rung It answers.
On the other hand, a kind of computer readable storage medium for realizing above-mentioned false-touch prevention method is provided.
False-touch prevention method, apparatus provided in an embodiment of the present invention and computer readable storage medium, wherein the method packet It includes: according to the false-touch prevention object of setting, determining false-touch prevention region;The operation for acting on the false-touch prevention region is received, determines institute State the respond style of operation;According to the respond style of the operation, the operation is responded;It so, it is possible to prevent user Mistake touch operation, promoted user experience.
Detailed description of the invention
The hardware structural diagram of Fig. 1 optional mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow diagram of false-touch prevention method in the embodiment of the present invention one;
Fig. 4 is the flow diagram of false-touch prevention method in the embodiment of the present invention two;
Fig. 4-1 is the interface display effect diagram of the motion profile of user on the touchscreen in the embodiment of the present invention two;
Fig. 5 is the flow diagram of false-touch prevention method in the embodiment of the present invention three;
Fig. 5-1 is the interface display effect signal of clicking operation of the user on false-touch prevention region in the embodiment of the present invention three Figure;
Fig. 6 is the structural schematic diagram of anti-error-touch device in the embodiment of the present invention four.
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.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special For moving except purpose element, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic 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, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
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 mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives 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, color temperature sensor And other sensors.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor The brightness of display panel 1061 can be adjusted according to the light and shade of ambient light, proximity sensor can be moved in mobile terminal 100 When in one's ear, display panel 1061 and/or backlight are closed.As a kind of motion sensor, accelerometer sensor can detect each The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone on direction when static The application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of posture, (such as the step counting of Vibration identification correlation function Device, percussion) etc.;Color temperature sensor is used to detect the colour temperature of environment light;The fingerprint sensor that can also configure as mobile phone, pressure pass Other sensings such as sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer, infrared sensor Device, 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 generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using 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 integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing 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.
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.
The technical solution of the present invention is further elaborated in the following with reference to the drawings and specific embodiments.
Embodiment one
The embodiment of the present invention provides a kind of false-touch prevention method, is applied to terminal, and the function that this method is realized can pass through Processor caller code in terminal realizes that certain program code can be stored in computer storage medium, it is seen then that The terminal includes at least pocessor and storage media.
Here, the terminal can be various types of setting with information processing capability during specific embodiment It is standby, such as the terminal not only may include mobile electronic device, it can be with stationary electronic devices, during realization, the end End includes mobile phone, tablet computer, desktop computer, personal digital assistant, navigator, digital telephone, visual telephone, television set etc..
Fig. 3 is the flow diagram of false-touch prevention method in the embodiment of the present invention one, as shown in figure 3, this method comprises:
Step S301 determines false-touch prevention region according to the false-touch prevention object of setting;
Here, false-touch prevention object is that non-user wish touches object, i.e., user in the operating process to terminal not Want the object touched.Wherein, preset false-touch prevention object can be configured according to the actual demand of user, such as: Yong Hu It eats in chicken application and searches for room, user touches button in order to prevent at this time, therefore, using button as the anti-of setting Accidentally touching object.
According to preset false-touch prevention object, the region comprising false-touch prevention object can be determined as to false-touch prevention region, it is anti-error Touching region can be with the region of arbitrary shape, and the application is without limitation.
Such as: ibid example, user eat chicken application in search for room, using button as set false-touch prevention object, According to the false-touch prevention object of setting, the touch screen for being 2 centimetres by the radius comprising button and centered on button Region is as false-touch prevention region.
In practical applications, for the various application programs for running on terminal, the false-touch prevention object of every kind of application program is not Together, according to the false-touch prevention object of different application programs, different application programs is arranged different false-touch prevention regions, when answering When being started with program, the corresponding false-touch prevention region of this application program is worked.
It should be noted that false-touch prevention region can there are relationships with affiliated partner when determining false-touch prevention region, here, close Joining object is the object for having incidence relation with false-touch prevention object, such as: false-touch prevention object is button, and affiliated partner is Search for the search button in room.Can be in the presence of only affiliated partner, the region where false-touch prevention object is false-touch prevention Region.Such as: ibid example, search room are affiliated partner, and the region comprising button is false-touch prevention region, are only being searched for When room, the region comprising button is false-touch prevention region.
Step S302 receives the operation for acting on the false-touch prevention region, determines the respond style of the operation;
Wherein, the operation in false-touch prevention region is acted on can include: the operation such as slide, clicking operation.
After false-touch prevention region determines, the operation for acting on false-touch prevention region is received, acts on false-touch prevention area receiving It when the operation in domain, needs to respond the operation for acting on false-touch prevention region, the false-touch prevention strategy of setting, determination acts on anti- The accidentally respond style of the operation in touching region.Here, false-touch prevention strategy is configured according to the actual demand of user, such as: it receives The operation for acting on false-touch prevention region is slide, and according to the slide received, determination acts on false-touch prevention region The respond style of operation is the first kind;Receiving and acting on the operation in false-touch prevention region is clicking operation, according in display interface Whether include target object, determines that the respond style for the operation for acting on false-touch prevention region is the first kind or Second Type. Here, receive act on false-touch prevention region operation be clicking operation when, whether wrapped according to the target area in display interface Target object has been included, has determined that the respond style for the operation for acting on false-touch prevention region is the first kind or Second Type.
Wherein, first kind characterization shields the operation for acting on false-touch prevention region, and Second Type is characterized to effect Operation in false-touch prevention region is responded.
Step S303 responds the operation according to the respond style of the operation.
The operation for acting on false-touch prevention region is responded according to determining respond style, such as: determining response class Type is the first kind, then shields to the operation for acting on false-touch prevention region;Determining respond style is Second Type, then right The operation for acting on false-touch prevention region is responded.
In embodiments of the present invention, according to the false-touch prevention object of setting, false-touch prevention region is determined;Reception acts on described anti- The operation for accidentally touching region, determines the respond style of the operation;According to the respond style of the operation, the operation is rung It answers;It so, it is possible to prevent the mistake of user from touching operation, promote user experience.
Embodiment two
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of false-touch prevention method, and this method is applied to terminal, the party The function that method is realized can realize that certain program code can be stored in by the processor caller code in terminal In computer storage medium, it is seen then that the terminal includes at least pocessor and storage media.
Fig. 4 is the flow diagram of false-touch prevention method in the embodiment of the present invention two, as shown in figure 4, this method comprises:
Step S401 determines false-touch prevention region according to the false-touch prevention object of setting;
Step S402 receives the operation for acting on the false-touch prevention region;
When the finger of user operates on false-touch prevention region, terminal receives the user behaviour for acting on false-touch prevention region Make.
Step S403 determines the motion profile of the slide if the operation is slide;
The operation for acting on false-touch prevention region is received, if the operation for acting on false-touch prevention region is slide, detection The motion profile of this slide obtains the initial position and final position of motion profile.
For example, motion profile is from operating area to move to false-touch prevention region, or from false-touch prevention regional movement to operation Region, here, operating area are different from false-touch prevention region, and operating area is the display area except false-touch prevention region.
Step S404, the initial position of the motion profile are located at operating area, and the final position of the motion profile Positioned at the false-touch prevention region, determine that the respond style of the operation is the first kind;The operating area is different from described anti- Accidentally touching region;
The initial position of the motion profile of slide is located at operating area, and final position is located at false-touch prevention region, is formed One, from operating area to the motion profile of false-touch prevention regional movement, can determine according to above-mentioned motion profile and act on false-touch prevention The respond style of the operation in region is the first kind.
Here, operating area is different from false-touch prevention region, and operating area is the region except false-touch prevention region.The first kind Characterization shields the operation for acting on false-touch prevention region.
Such as: as shown in Fig. 4-1, when the finger of user is from operating area to false-touch prevention regional movement, one is formed from behaviour Make motion profile of the region to false-touch prevention regional movement, terminal receives the motion profile of user, determines the start bit of motion profile Setting in operating area, final position is located at false-touch prevention region, at this point it is possible to determine the sound for acting on the operation in false-touch prevention region Answering type is the first kind.
Step S405 shields the operation according to the first kind.
When the respond style for determining the operation for acting on false-touch prevention region is the first kind, to acting on false-touch prevention region Operation is shielded, without response.
Such as: for user when chicken game is eaten in object for appreciation, user setting includes that the region of button is false-touch prevention region, Yong Hu When searching for room, finger is formed from operating area to false-touch prevention regional movement from operating area to the fortune of false-touch prevention regional movement Dynamic rail mark, it is not intended to touch button, can determine that the respond style of the slide is the first kind at this time, to touch The operation of button in false-touch prevention region is shielded, and is not responded thereto.
In false-touch prevention method provided in an embodiment of the present invention, the operation is slide;Determine the slide Motion profile;The initial position of the motion profile is located at operating area, and the final position of the motion profile is positioned at described False-touch prevention region determines that the respond style of the operation is the first kind;According to the first kind, the operation is shielded It covers, and then prevents the mistake of user from touching operation.
Embodiment three
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of false-touch prevention method, and this method is applied to terminal, the party The function that method is realized can realize that certain program code can be stored in by the processor caller code in terminal In computer storage medium, it is seen then that the terminal includes at least pocessor and storage media.
Fig. 5 is the flow diagram of false-touch prevention method in the embodiment of the present invention three, as shown in figure 5, this method comprises:
Step S501 determines false-touch prevention region according to the false-touch prevention object of setting;
Step S502 receives the operation for acting on the false-touch prevention region;
Step S503 detects the target area of setting with the presence or absence of target object, obtains if the operation is clicking operation To testing result;
The operation for acting on false-touch prevention region is received, if the operation for acting on false-touch prevention region is clicking operation, according to Clicking operation determines that the target area of detection setting whether there is target object, obtains testing result.
As shown in fig. 5-1, the finger of user acts on false-touch prevention region, generates the click behaviour for acting on false-touch prevention region Make.
Here, testing result includes two kinds of situations: there are target objects, or the target area of setting for the target area of setting There is no target objects.
The target area of the detection setting whether there is target object, obtain testing result, comprising: determine the setting Target area in object type;If the type of the object is consistent with preset kind, the target area of the setting is determined There are target objects;If the type of the object is not consistent with preset kind, determine that mesh is not present in the target area of the setting Mark object.
The target area of the detection setting whether there is target object, obtains testing result, can also include: that acquisition is set The profile information of object in fixed target area, the type of object is determined according to the profile information of object, in the target area of setting Whether the type of test object is consistent with preset kind in domain, if the type of object is consistent with preset kind, the target set There are target objects in region;If the type of object is not consistent with preset kind, target object is not present in the target area set.
Such as: for user when chicken game is eaten in object for appreciation, user sets target area, and the preset kind set is behaved, inspection The profile information for surveying target object in target area, the type of target object is determined according to the profile information of obtained target object For people, determine the type of target object: people is with preset kind: people is consistent, and illustrates that there are target objects for target area;
It should be noted that target area, preset kind, target object can be set according to the actual demand of user It sets.
Step S504 determines the respond style of the operation according to the testing result;
The respond style for acting on the operation in false-touch prevention region is determined according to testing result, if the testing result is setting Target area there are target object, then respond style is Second Type, if the testing result be the target area that sets not There are target objects, then respond style is the first kind.
Step S505 responds the operation according to the respond style of the operation.
The operation for acting on false-touch prevention region is responded according to determining respond style, determining respond style is the One type then shields the operation for acting on false-touch prevention region;Determining respond style is Second Type, then to acting on The operation in false-touch prevention region is responded.
The target of setting is detected if the operation is clicking operation in false-touch prevention method provided in an embodiment of the present invention Region whether there is target object, obtain testing result;The respond style that the operation is determined according to the testing result, according to The respond style of the operation responds the operation, can prevent the mistake of user from touching operation, promote user experience.
Example IV
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of anti-error-touch device, as shown in fig. 6, described device packet It includes: memory 601, processor 602 and being stored in the computer program that can be run on memory 601 and on processor 602, locate Reason device 602 executes the computer program, to realize:
According to the false-touch prevention object of setting, false-touch prevention region is determined;
The operation for acting on the false-touch prevention region is received, determines the respond style of the operation;
According to the respond style of the operation, the operation is responded.
In one embodiment, when processor 602 executes the computer program, if realizing the operation for sliding behaviour Make, the respond style of the determination operation, comprising: determine the motion profile of the slide;The motion profile Initial position is located at operating area, and the final position of the motion profile is located at the false-touch prevention region, determines the operation Respond style be the first kind;The operating area is different from the false-touch prevention region.
In one embodiment, when processor 602 executes the computer program, if realizing the operation to click behaviour Make, the respond style of the determination operation, comprising: detect the target area of setting with the presence or absence of target object, examined Survey result;The respond style of the operation is determined according to the testing result.
In one embodiment, when processor 602 executes the computer program, the target area of the detection setting is realized With the presence or absence of target object, testing result is obtained, comprising: determine the type of object in the target area of the setting;If described The type of object is consistent with preset kind, determines that there are target objects for the target area of the setting;If the type of the object It is not consistent with preset kind, determines that target object is not present in the target area of the setting.
In one embodiment, it when processor 602 executes the computer program, realizes described true according to the testing result The respond style of the fixed operation, comprising: the testing result is that the target object, the sound is not present in the target area Answering type is the first kind.
In one embodiment, it when processor 602 executes the computer program, realizes described true according to the testing result The respond style of the fixed operation, comprising: the testing result is that there are the target object, the responses for the target area Type is Second Type.
In one embodiment, when processor 602 executes the computer program, the response according to the operation is realized Type responds the operation, comprising: according to the first kind, shields to the operation.
In one embodiment, when processor 602 executes the computer program, the response according to the operation is realized Type responds the operation, comprising: according to the Second Type, executes the corresponding operation processing of the operation.
It should be noted that memory 601 in the embodiment of the present invention can memory 160 in corresponding diagram 1, processor 602 can controller 180 in corresponding diagram 1.
It need to be noted that: the description of apparatus above embodiment, be with the description of above method embodiment it is similar, With the similar beneficial effect of same embodiment of the method, therefore do not repeat them here.For undisclosed skill in apparatus of the present invention embodiment Art details please refers to the description of embodiment of the present invention method and understands, to save length, therefore repeats no more.
Embodiment six
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of computer readable storage medium, and the computer can It reads to be stored with computer program on storage medium, the realization when computer program is executed by processor:
According to the false-touch prevention object of setting, false-touch prevention region is determined;
The operation for acting on the false-touch prevention region is received, determines the respond style of the operation;
According to the respond style of the operation, the operation is responded.
In one embodiment, when the computer program is executed by processor, if realizing that the operation is slide, The respond style of the determination operation, comprising: determine the motion profile of the slide;The starting of the motion profile Position is located at operating area, and the final position of the motion profile is located at the false-touch prevention region, determines the sound of the operation Answering type is the first kind;The operating area is different from the false-touch prevention region.
In one embodiment, when the computer program is executed by processor, if realizing that the operation is clicking operation, The respond style of the determination operation: the target area of setting is detected with the presence or absence of target object, obtains testing result;Root The respond style of the operation is determined according to the testing result.
In one embodiment, when the computer program is executed by processor, the target area of the detection setting is realized With the presence or absence of target object, testing result is obtained, comprising: determine the type of object in the target area of the setting;If described The type of object is consistent with preset kind, determines that there are target objects for the target area of the setting;If the type of the object It is not consistent with preset kind, determines that target object is not present in the target area of the setting.
In one embodiment, it when the computer program is executed by processor, realizes and institute is determined according to the testing result State the respond style of operation, comprising: the testing result is that the target object, the response class is not present in the target area Type is the first kind.
In one embodiment, it when the computer program is executed by processor, realizes described true according to the testing result The respond style of the fixed operation, comprising: the testing result is that there are the target object, the responses for the target area Type is Second Type.
In one embodiment, when the computer program is executed by processor, the response according to the operation is realized Type responds the operation, comprising: according to the first kind, shields to the operation.
In one embodiment, when the computer program is executed by processor, the response according to the operation is realized Type responds the operation, comprising: according to the Second Type, executes the corresponding operation processing of the operation.
It need to be noted that: the description of the above terminal embodiment item, be with above method description it is similar, have same The identical beneficial effect of embodiment of the method, therefore do not repeat them here.For undisclosed technical detail in terminal embodiment of the present invention, Those skilled in the art please refers to the description of embodiment of the present invention method and understands, to save length, which is not described herein again.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction " in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these specific features, knot Structure or characteristic can combine in any suitable manner in one or more embodiments.It should be understood that in various implementations of the invention In example, magnitude of the sequence numbers of the above procedures are not meant that the order of the execution order, and the execution sequence of each process should be with its function It can determine that the implementation process of the embodiments of the invention shall not be constituted with any limitation with internal logic.The embodiments of the present invention Serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
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 device 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 device 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 device.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit;Both it can be located in one place, and may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, which exists When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: movable storage device, read-only deposits The various media that can store program code such as reservoir (Read Only Memory, ROM), magnetic or disk.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the present invention is implemented Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words, The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention. And storage medium above-mentioned includes: various Jie that can store program code such as movable storage device, ROM, magnetic or disk Matter.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of false-touch prevention method, which is characterized in that the described method includes:
According to the false-touch prevention object of setting, false-touch prevention region is determined;
The operation for acting on the false-touch prevention region is received, determines the respond style of the operation;
According to the respond style of the operation, the operation is responded.
2. the method according to claim 1, wherein if the operation is slide, described in the determination The respond style of operation, comprising:
Determine the motion profile of the slide;
The initial position of the motion profile is located at operating area, and the final position of the motion profile is located at the false-touch prevention Region determines that the respond style of the operation is the first kind;The operating area is different from the false-touch prevention region.
3. the method according to claim 1, wherein if the operation is clicking operation, described in the determination The respond style of operation, comprising:
The target area of detection setting whether there is target object, obtain testing result;
The respond style of the operation is determined according to the testing result.
4. according to the method described in claim 3, it is characterized in that, the target area of the detection setting whether there is target pair As obtaining testing result, comprising:
Determine the type of object in the target area of the setting;
If the type of the object is consistent with preset kind, determine that there are target objects for the target area of the setting;If described The type of object is not consistent with preset kind, determines that target object is not present in the target area of the setting.
5. according to the method described in claim 3, it is characterized in that, the sound for determining the operation according to the testing result Answer type, comprising:
The testing result is that the target object is not present in the target area, and the respond style is the first kind.
6. according to the method described in claim 3, it is characterized in that, the sound for determining the operation according to the testing result Answer type, comprising:
The testing result is the target area there are the target object, and the respond style is Second Type.
7. method according to claim 2 or 5, which is characterized in that according to the respond style of the operation, to the operation It is responded, comprising:
According to the first kind, the operation is shielded.
8. according to the method described in claim 6, it is characterized in that, being carried out according to the respond style of the operation to the operation Response, comprising:
According to the Second Type, the corresponding operation processing of the operation is executed.
9. a kind of anti-error-touch device, which is characterized in that described device includes: memory, processor and is stored in the memory Computer program that is upper and can running on the processor, the processor execute the computer program, to realize:
According to the false-touch prevention object of setting, false-touch prevention region is determined;
The operation for acting on the false-touch prevention region is received, determines the respond style of the operation;
According to the respond style of the operation, the operation is responded.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes such as false-touch prevention method described in any item of the claim 1 to 8 when the computer program is executed by processor.
CN201811162901.5A 2018-09-30 2018-09-30 False touch prevention method and device and storage medium Active CN109254691B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811162901.5A CN109254691B (en) 2018-09-30 2018-09-30 False touch prevention method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811162901.5A CN109254691B (en) 2018-09-30 2018-09-30 False touch prevention method and device and storage medium

Publications (2)

Publication Number Publication Date
CN109254691A true CN109254691A (en) 2019-01-22
CN109254691B CN109254691B (en) 2022-03-18

Family

ID=65045331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811162901.5A Active CN109254691B (en) 2018-09-30 2018-09-30 False touch prevention method and device and storage medium

Country Status (1)

Country Link
CN (1) CN109254691B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445408A (en) * 2019-09-02 2021-03-05 Oppo(重庆)智能科技有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN113608816A (en) * 2021-08-18 2021-11-05 北京字跳网络技术有限公司 Progress adjusting method and device, electronic equipment and storage medium
CN115277938A (en) * 2021-04-29 2022-11-01 北京小米移动软件有限公司 Call control method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571693A (en) * 2014-12-22 2015-04-29 联想(北京)有限公司 Information processing method and electronic equipment
CN105930088A (en) * 2016-05-31 2016-09-07 联想(北京)有限公司 Input method and electronic equipment
CN107402712A (en) * 2017-07-26 2017-11-28 广东欧珀移动通信有限公司 A kind of response method of touch operation, device, storage medium and terminal
CN107422916A (en) * 2017-07-26 2017-12-01 广东欧珀移动通信有限公司 A kind of response method of touch operation, device, storage medium and terminal
CN107450773A (en) * 2017-07-25 2017-12-08 维沃移动通信有限公司 A kind of false-touch prevention method, terminal and computer-readable recording medium
US20180024692A1 (en) * 2015-01-30 2018-01-25 Nubia Technology Co., Ltd. Method and apparatus for preventing accidental touch operation on mobile terminals
CN108319386A (en) * 2018-01-08 2018-07-24 维沃移动通信有限公司 A kind of display screen false-touch prevention method and mobile terminal
CN108388400A (en) * 2018-01-25 2018-08-10 维沃移动通信有限公司 A kind of operation processing method and mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571693A (en) * 2014-12-22 2015-04-29 联想(北京)有限公司 Information processing method and electronic equipment
US20180024692A1 (en) * 2015-01-30 2018-01-25 Nubia Technology Co., Ltd. Method and apparatus for preventing accidental touch operation on mobile terminals
CN105930088A (en) * 2016-05-31 2016-09-07 联想(北京)有限公司 Input method and electronic equipment
CN107450773A (en) * 2017-07-25 2017-12-08 维沃移动通信有限公司 A kind of false-touch prevention method, terminal and computer-readable recording medium
CN107402712A (en) * 2017-07-26 2017-11-28 广东欧珀移动通信有限公司 A kind of response method of touch operation, device, storage medium and terminal
CN107422916A (en) * 2017-07-26 2017-12-01 广东欧珀移动通信有限公司 A kind of response method of touch operation, device, storage medium and terminal
CN108319386A (en) * 2018-01-08 2018-07-24 维沃移动通信有限公司 A kind of display screen false-touch prevention method and mobile terminal
CN108388400A (en) * 2018-01-25 2018-08-10 维沃移动通信有限公司 A kind of operation processing method and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445408A (en) * 2019-09-02 2021-03-05 Oppo(重庆)智能科技有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN112445408B (en) * 2019-09-02 2022-08-05 Oppo(重庆)智能科技有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN115277938A (en) * 2021-04-29 2022-11-01 北京小米移动软件有限公司 Call control method and device, electronic equipment and storage medium
CN113608816A (en) * 2021-08-18 2021-11-05 北京字跳网络技术有限公司 Progress adjusting method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109254691B (en) 2022-03-18

Similar Documents

Publication Publication Date Title
CN108037893A (en) A kind of display control method of flexible screen, device and computer-readable recording medium
CN107748645A (en) Reading method, mobile terminal and computer-readable recording medium
CN109213401A (en) Double-sided screen application icon method for sorting, mobile terminal and readable storage medium storing program for executing
CN108762876A (en) A kind of input method switching method, mobile terminal and computer storage media
CN109407957A (en) Screen touch control method, terminal and computer readable storage medium
CN108172161A (en) Display methods, mobile terminal and computer readable storage medium based on flexible screen
CN109992183A (en) Preview picture and the method for selection, terminal and storage medium
CN110300435A (en) A kind of communication pattern switching method, terminal and computer readable storage medium
CN110134306A (en) A kind of data sharing method, device and computer readable storage medium
CN109254691A (en) A kind of false-touch prevention method, apparatus and storage medium
CN108829302A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN108563388A (en) Screen operating method, mobile terminal and computer readable storage medium
CN110347306A (en) A kind of multi-screen display method, terminal and computer readable storage medium
CN110460568A (en) A kind of automated reporting method, terminal and computer readable storage medium
CN109445945A (en) Memory allocation method, mobile terminal, server and the storage medium of application program
CN109522276A (en) Application icon management method, terminal and computer readable storage medium
CN109101301A (en) A kind of display control method, mobile terminal and computer readable storage medium
CN107645588A (en) A kind of message informing processing method, terminal and computer-readable recording medium
CN107273006A (en) A kind of method for information display, equipment and computer-readable recording medium
CN109683741A (en) Function triggering method, device and computer readable storage medium
CN109710209A (en) A kind of split screen comparison method, equipment and computer readable storage medium
CN109740121A (en) A kind of searching method of mobile terminal, mobile terminal and storage medium
CN109683796A (en) A kind of interaction control method, equipment and computer readable storage medium
CN109948368A (en) A kind of privacy authority control method, equipment and computer readable storage medium
CN109710168A (en) A kind of screen touch method, equipment 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