CN106909250A - A kind of processing method of touch operation, device and mobile terminal - Google Patents

A kind of processing method of touch operation, device and mobile terminal Download PDF

Info

Publication number
CN106909250A
CN106909250A CN201710117878.7A CN201710117878A CN106909250A CN 106909250 A CN106909250 A CN 106909250A CN 201710117878 A CN201710117878 A CN 201710117878A CN 106909250 A CN106909250 A CN 106909250A
Authority
CN
China
Prior art keywords
touch
event
upper strata
screen
touch operation
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
CN201710117878.7A
Other languages
Chinese (zh)
Other versions
CN106909250B (en
Inventor
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710117878.7A priority Critical patent/CN106909250B/en
Publication of CN106909250A publication Critical patent/CN106909250A/en
Application granted granted Critical
Publication of CN106909250B publication Critical patent/CN106909250B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of processing method of touch operation, device and mobile terminal.The method includes:When detecting touch-screen and being touched by the first object, the event of pressing is reported to upper strata;When judging that the first object is more than the first predetermined threshold value with the current touch area of touch-screen, false touch information is reported to upper strata;When detecting the first object and leaving the touch-screen, the event of lifting is reported to upper strata;Corresponding false-touch prevention treatment is carried out to pressing the corresponding touch operation of event according to false touch information and event of lifting by upper strata., by using above-mentioned technical proposal, the position that can be prevented effectively from beyond finger or other objects are because of the mistaken touch operation caused by wide area touch screen for the embodiment of the present invention.

Description

A kind of processing method of touch operation, device and mobile terminal
Technical field
The present embodiments relate to touch screen technology field, more particularly to a kind of processing method of touch operation, device and Mobile terminal.
Background technology
At present, touch-screen has turned into the standard configuration of most mobile terminals, and mobile terminal user can be light by touch-screen Quickly realize the various operations to mobile terminal.Based on allow mobile terminal screen on can show more contents and carry The factors such as the perception experience of user are risen, the size of touch-screen is increasing, under this trend, in order to take into account mobile terminal just The property taken and aesthetics, screen accounting become a New Set for measurement mobile terminal performance.In order to pursue screen accounting higher, Reduce influence of the screen frame to visual effect, narrow frame or Rimless design have turned into each mobile terminal manufacturer and tried to be the first use The means for optimizing mobile terminal, and narrow frame and Rimless mobile terminal are also increasingly favored by consumer.
User often occurs to be touched due to the positions such as palm or tiger's jaw imprudence during using mobile terminal Touch-screen and cause the situation of false triggering, for using large scale screen, design in particular by narrow frame or Rimless For mobile terminal, the probability that such case occurs is bigger.Therefore, a kind of false-touch prevention scheme is needed badly to reduce the hair of above-mentioned situation It is raw.
The content of the invention
The embodiment of the present invention provides a kind of processing method of touch operation, device and mobile terminal, it is possible to achieve touch-screen False-touch prevention.
In a first aspect, a kind of processing method of touch operation is the embodiment of the invention provides, including:
When detecting touch-screen and being touched by the first object, the event of pressing is reported to upper strata;
When judging that first object is more than the first predetermined threshold value with the current touch area of the touch-screen, to described Upper strata reports false touch information;
When detecting first object and leaving the touch-screen, the event of lifting is reported to the upper strata;
The corresponding touch behaviour of event is pressed to described according to the false touch information and the event of lifting by the upper strata Carry out corresponding false-touch prevention treatment.
Second aspect, the embodiment of the invention provides a kind of processing unit of touch operation, including:
Reporting events module is pressed, for when detecting touch-screen and being touched by the first object, being reported to upper strata and pressing thing Part;
False touch information reporting module, for judging that first object is big with the current touch area of the touch-screen When the first predetermined threshold value, false touch information is reported to the upper strata;
Reporting events module is lifted, for when detecting first object and leaving the touch-screen, to the upper strata Report the event of lifting;
Touch operation processing module, for by the upper strata according to the false touch information and the event of lifting to described Pressing the corresponding touch operation of event carries out corresponding false-touch prevention treatment.
The third aspect, the embodiment of the invention provides a kind of mobile terminal, including memory, and processor and storage are in storage On device and can processor operation computer program, it is characterised in that reality during computer program described in the computing device Existing following steps:
When detecting touch-screen and being touched by the first object, the event of pressing is reported to upper strata;
When judging that first object is more than the first predetermined threshold value with the current touch area of the touch-screen, to described Upper strata reports false touch information;
When detecting first object and leaving the touch-screen, the event of lifting is reported to the upper strata;
The corresponding touch behaviour of event is pressed to described according to the false touch information and the event of lifting by the upper strata Carry out corresponding false-touch prevention treatment.
The processing scheme of the touch operation provided in the embodiment of the present invention, when detecting touch-screen and being touched by the first object, The event of pressing is reported to upper strata, when judging that the first object is more than the first predetermined threshold value with the current touch area of touch-screen, to Upper strata reports false touch information, when detecting the first object and leaving touch-screen, the event of lifting is reported to upper strata, finally by upper strata root According to false touch information and event of lifting corresponding false-touch prevention treatment is carried out to pressing the corresponding touch operation of event.By using above-mentioned Technical scheme, the position that can be prevented effectively from beyond finger or other objects are grasped because of the mistaken touch caused by wide area touch screen Make.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of the processing method of touch operation provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the processing method of another touch operation provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the processing method of another touch operation provided in an embodiment of the present invention;
Fig. 4 is a kind of structured flowchart of the processing unit of touch operation provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by specific embodiment.May be appreciated It is that specific embodiment described herein is used only for explaining the present invention, rather than limitation of the invention.Further need exist for explanation , for the ease of description, part rather than entire infrastructure related to the present invention is illustrate only in accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The treatment described as flow chart or method.Although each step to be described as flow chart the treatment of order, many of which Step can be implemented concurrently, concomitantly or simultaneously.Additionally, the order of each step can be rearranged.When its operation The treatment can be terminated during completion, it is also possible to have the additional step being not included in accompanying drawing.The treatment can be with Corresponding to method, function, code, subroutine, subprogram etc..
Fig. 1 is a kind of schematic flow sheet of the processing method of touch operation provided in an embodiment of the present invention, and the method can be with Performed by the processing unit of touch operation, wherein the device can be realized by software and/or hardware, can typically be integrated in mobile terminal In.As shown in figure 1, the method includes:
Step 101, when detecting touch-screen and being touched by the first object, the event of pressing is reported to upper strata.
Exemplary, concretely smart mobile phone and panel computer etc. are integrated with touch-screen to the mobile terminal in the present embodiment Equipment.
Exemplary, the first object may include the object that touch-screen is capable of identify that, such as finger of user, palm and tiger's jaw Position, may also include other such as felt pen, gloves and trouser pocket cloth objects.
The touch-screen that existing mobile terminal is used has resistive touch screen, capacitive touch screen and piezoelectric type touch screen etc., When the first object touches touch-screen, touch-screen can get touch information, be touched by the first object so as to detect touch-screen. By taking capacitive touch screen as an example, touch-screen can sense the change of electric capacity, when the first object touches touch-screen, touch-screen The change of electric capacity is sensed, and then gets touch information, touch information includes the x coordinate and y-coordinate, contact surface of touch location Size (including long and width etc.) and the touch data such as touch pressure value.
Exemplary, can detect whether touch-screen is touched by the first object in this step by driving layer, detecting When being touched, reported to upper strata and press (DOWN) event.Upper strata described in the embodiment of the present invention can be ccf layer.
Optionally, reported to upper strata press event while, also include:When starting to report touch-screen to be touched to upper strata Touch data.After touch-screen is touched by the first object, the touch data that driving layer will can get reports framework in time Layer, makes ccf layer be operated accordingly in quick execution according to touch data of suitable opportunity.The first object leave touch-screen it Before, touch-screen can in real time be sensed and touched, so driving layer also can in real time obtain touch data, and will be acquired Touch data reports ccf layer in time.
Step 102, when judging that the current touch area of the first object and touch-screen is more than the first predetermined threshold value, to upper strata Report false touch information.
Generally, user can on the touchscreen be operated using finger, and finger is limited with the contact area of touch-screen, and one As can be less than certain numerical value.But when palm or tiger's jaw skin, or other objects imprudence touch touch-screen, its Contact area with touch-screen would generally be larger, therefore can judge whether to there occurs that mistaken touch is operated according to area is touched.
For a touch operation, drive layer when detecting touch-screen and being touched, the event of pressing is reported to ccf layer, drive Dynamic layer reports (UP) event of lifting to ccf layer when detecting object and leaving, and ccf layer presses event and lift according to what is received The event of rising is responded to touch operation.
There is a kind of false-touch prevention scheme in the prior art, when detecting touch-screen and being touched by an object, first judge the object Whether the current touch area with touch-screen is more than certain threshold value, if being more than, is judged to maloperation, does not report and presses thing Part;If being not more than, it is judged to normal touch, reports the event of pressing.Inventor has found that the false-touch prevention scheme has following lacking Fall into:Because the positions such as palm are typically a process for gradual change when touch-screen is contacted, that is, it is to become big from small to touch area, Most starting touch area when contact less than above-mentioned threshold value, therefore can report the event of pressing, when palm leaves touch-screen, The event of lifting can be still reported, causes ccf layer to respond the maloperation.
In the embodiment of the present invention, drive layer after the event of pressing is reported, can the object of real-time judge first and touch-screen work as Whether preceding touch area is more than the first predetermined threshold value, if being more than, can be explained and mistaken touch occurs, and false touch information is reported to ccf layer. Wherein, the contact area of finger and screen during normal touch can be determined by the means such as investigation or sampling, and then sets first Predetermined threshold value;Also the first predetermined threshold value can be set according to the touch of user custom.The embodiment of the present invention is to the first predetermined threshold value Specific set-up mode and concrete numerical value do not limit.The false touch information can be embodied in the form of flag bit, for example, hair During raw false touch, the value of the flag bit for setting is 1, and when there is no false touch, the value of the flag bit for setting is 0.
Preferably, while false touch information is reported to upper strata, also include:When stopping reporting touch-screen to be touched to upper strata Touch data.So set and be advantageous in that, judging the first object with the current touch area of touch-screen more than first During predetermined threshold value, it has been determined that false touch occurs, stopping reports the touch data can to prevent what ccf layer may cause to thus secondary false touch It is long by or the maloperation such as slide and responded, reach more comprehensive false-touch prevention effect.Additionally, stopping reports touch data may be used also Reduce data and report brought power consumption penalty.
Step 103, when detecting the first object and leaving touch-screen, the event of lifting is reported to upper strata.
It is exemplary, when driving layer to detect the first object to leave touch-screen, illustrate that this false touch operation terminates, can be to Ccf layer reports the event of lifting, and ccf layer is pressed the corresponding false touch operation of event to this carries out corresponding false-touch prevention treatment.
Step 104, entered to pressing the corresponding touch operation of event according to false touch information and event of lifting by the upper strata The corresponding false-touch prevention treatment of row.
It is exemplary, when ccf layer receives false touch information, be known that touch herein most start press event with And ensuing event of lifting is the event that can cause misoperation of touch screen, then ccf layer can take corresponding strategy to come right This maloperation carries out false-touch prevention treatment, so avoids the objects such as palm and causes maloperation to touch-screen on the touchscreen.
Exemplary, because different touch locations correspond to operation objects different on screen, operation object can be Application icon, button, desktop and website links etc..Different operation objects may to the response mechanism of touch operation It is different, some operation objects may can just respond touch operation after ccf layer receives the event of lifting, and some behaviour Making object can may just have responded to touch operation before ccf layer receives the event of lifting, it is therefore desirable to carry out pin False-touch prevention treatment to property.
Optionally, this step may include:Judge to press whether the corresponding touch operation of event is held by the upper strata OK;If so, then recovering the state being performed before to the touch operation;If it is not, then shielding the touch operation.It is exemplary , recover the state being performed before to the touch operation, it will be appreciated that to eliminate influence of the touch operation to mobile terminal, The result for such as performing the touch operation is that the first button is triggered, and is performed corresponding with first button event that is triggered Operation, such as from the first changing interface to second contact surface, then the state that is performed before to the touch operation of recovery be from Second contact surface switches back into the first interface, as the first button is not triggered.Exemplary, the touch operation is shielded, can It is interpreted as preventing the touch operation from being performed, though have received the event of lifting, do not perform that the event of lifting will trigger touches Touch operation.
The processing method of touch operation provided in an embodiment of the present invention, the bottom of mobile terminal detects touch-screen by first When object is touched, the event of pressing is reported to upper strata, judge that the first object is pre- more than first with the current touch area of touch-screen If during threshold value, false touch information is reported to upper strata, when detecting the first object and leaving touch-screen, the event of lifting is reported to upper strata, most Corresponding false-touch prevention treatment is carried out to pressing the corresponding touch operation of event according to false touch information and event of lifting by upper strata afterwards. By using above-mentioned technical proposal, the position that can be prevented effectively from beyond finger or other objects are because caused by wide area touch screen Mistaken touch operation.
Optionally, it is described when detecting touch-screen and being touched by the first object on the basis of above-mentioned technical proposal, to upper strata The event of pressing is reported, including:When detecting touch-screen and being touched by the first object, if judging first object and the touch The current touch area of screen is less than the second predetermined threshold value, then report the event of pressing to upper strata.Wherein, the setting of the second predetermined threshold value Mode can be similar with the first predetermined threshold value, and concrete numerical value can be identical, also can be different.Optimize herein and be advantageous in that, if the first thing Touch area when body is touched with touch-screen rigid connection is less than the second predetermined threshold value, and explanation is probably normal touch, so on upper strata Report presses event.If now judging, the first object is more than or equal to the second predetermined threshold value with the current touch area of touch-screen, It is false touch that can be explained, then will not report the event of pressing to upper strata, and the moment since false touch most completes the work of false-touch prevention, section About system resource.
Fig. 2 is the schematic flow sheet of the processing method of another touch operation provided in an embodiment of the present invention, the method bag Include following steps:
Step 201, when detecting touch-screen and being touched by the first object, the event of pressing is reported to ccf layer.
Step 202, whether the current touch area of the first object and touch-screen is judged more than the first predetermined threshold value, if so, Then perform step 203;Otherwise, step 202 is repeated.
Step 203, false touch information is reported to ccf layer.
Step 204, when detecting the first object and leaving touch-screen, the event of lifting is reported to ccf layer.
Step 205, by ccf layer judge press the corresponding touch operation of event whether be start application program operate, if It is then to perform step 206;Otherwise, step 209 is performed.
Exemplary, many different application programs, the Initiated Mechanism of these application programs can be loaded in the terminal It is probably different, some application programs will start when receiving and pressing event, and some application programs are being received Can just start when lifting event, therefore targetedly false-touch prevention can be carried out according to the different Initiated Mechanisms of different application Treatment.
Exemplary, whether the icon comprising application program is sentenced in coordinate that can be according to corresponding to touching area or region It is disconnected to press whether the corresponding touch operation of event is to start application program operation.
Step 206, the startup type for determining the application program to be started, when type is started to press event startup, Perform step 207;When type is started to lift event startup, step 208 is performed.
The started application program of step 207, closing.
Exemplary, the corresponding process of started application program can be closed, the application program that will be started is corresponding Process is killed, and the process name of the corresponding process of the application program to be started specifically can be first obtained by ccf layer, and according to process Name kills corresponding process.It is understood that when the moment distance for reporting false touch information reports the moment foot of the event of pressing When enough close, although application program starts because receiving the event of pressing, but application program is from starting to display application interface Be also need the regular hour (interface of such as application program generally needs certain drafting time, just can after completing Send to display screen and shown), if closing the process of application program before application interface shows, user will not perceive Had been switched on to application program, can effectively eliminate interference of the false touch to user.If additionally, the application interface of application program has shown Show, after performing this step, the application program that this user wouldn't like to start can be closed voluntarily, reduce the manual-lock behaviour of user Make, equally reached good false-touch prevention effect.
Step 208, the startup for preventing the application program to be started.
Exemplary, though have received the event of lifting, the startup application program that the event of lifting will be triggered is not performed Operation.
Step 209, by ccf layer, according to false touch information and event of lifting, to pressing, event is corresponding other kinds of to be touched Touching operation carries out corresponding false-touch prevention treatment.
The embodiment of the present invention by using above-mentioned technical proposal, when mistaken touch operation want start certain application program when, Targetedly false-touch prevention treatment can be carried out according to the startup type of application program, it is to avoid application program is opened by mistake because of mistaken touch It is dynamic.
Fig. 3 is the schematic flow sheet of the processing method of another touch operation provided in an embodiment of the present invention, the method bag Include following steps:
Step 301, detect touch-screen and touched by current object.
Step 302, whether the current touch area of current object and touch-screen is judged less than the second predetermined threshold value, if so, Then perform step 304;Otherwise, step 303 is performed.
Step 303, to ccf layer do not report the event of pressing, terminate flow.
Exemplary, this step may also include and for the touch data upload state of touch location be set as suspended state, examine Measure after current object leaves touch-screen, when detecting the touch location again and being touched by an object, using the object as current Object, and return to execution step 302.
Exemplary, the touch data of touch location uploads state and is in suspended state, i.e. driving layer will not be to ccf layer Report the touch data of touch location.
Step 304, the event of pressing is reported to ccf layer, touch number when starting to report touch-screen to be touched to ccf layer According to execution step 305.
Step 305, whether the current touch area of current object and touch-screen is judged more than the first predetermined threshold value, if so, Then perform step 306;Otherwise, step 305 is repeated.
Step 306, false touch information is reported to ccf layer, touch number when stopping reporting touch-screen to be touched to ccf layer According to.
It should be noted that the touch data for stopping being reported to ccf layer here refers to because current described in step 305 The touch data produced when object is contacted with touch-screen, the upload of the touch data when other positions of touch-screen are touched is not received The influence of this step.
Step 307, when detecting current object and leaving touch-screen, the event of lifting is reported to ccf layer.
Step 308, by ccf layer judge press the corresponding touch operation of event whether be start application program operate, if It is then to perform step 309;Otherwise, step 312 is performed.
Step 309, the startup type for determining the application program to be started, when type is started to press event startup, Perform step 310;When type is started to lift event startup, step 311 is performed.
The started application program of step 310, closing.
Step 311, the startup for preventing the application program to be started.
Step 312, by ccf layer, according to false touch information and event of lifting, to pressing, event is corresponding other kinds of to be touched Touching operation carries out corresponding false-touch prevention treatment.
The embodiment of the present invention can comprehensively be identified to mistaken touch and prevent in time by using above-mentioned technical proposal False touch is processed, and enables in particular to effectively prevent application program because of mistaken touch by error starting.
Fig. 4 is a kind of structured flowchart of the processing unit of touch operation provided in an embodiment of the present invention, and the device can be by soft Part and/or hardware realization, are typically integrated in mobile terminal, can be by performing the processing method of touch operation come to touch operation Processed.As shown in figure 4, the device includes:
Reporting events module 401 is pressed, for when detecting touch-screen and being touched by the first object, being reported to upper strata and being pressed Event;
False touch information reporting module 402, for judging the current touch face of first object and the touch-screen When product is more than the first predetermined threshold value, false touch information is reported to the upper strata;
Reporting events module 403 is lifted, for when detecting first object and leaving the touch-screen, on described Layer reports the event of lifting;
Touch operation processing module 404, for by the way that the upper strata is according to the false touch information and described lifts event pair It is described to press the corresponding touch operation of event and carry out corresponding false-touch prevention treatment.
The processing unit of touch operation provided in an embodiment of the present invention, when detecting touch-screen and being touched by the first object, to Upper strata reports the event of pressing, when judging that the first object is more than the first predetermined threshold value with the current touch area of touch-screen, upwards Layer reports false touch information, when detecting the first object and leaving touch-screen, the event of lifting is reported to upper strata, finally by upper strata according to False touch information and event of lifting carry out corresponding false-touch prevention treatment to pressing the corresponding touch operation of event.By using above-mentioned skill Art scheme, the position that can be prevented effectively from beyond finger or other objects are operated because of the mistaken touch caused by wide area touch screen.
Optionally, the touch operation processing module is used for:
Press whether the corresponding touch operation of event has been performed by described in the judgement of the upper strata;
If so, then recovering the state being performed before to the touch operation;If it is not, then shielding the touch operation.
Optionally, it is described to press whether the corresponding touch operation of event has been performed by described in the judgement of the upper strata, wrap Include:
By pressing whether the corresponding touch operation of event is to start application program to operate described in the judgement of the upper strata, if Start application program operation, it is determined that the startup type of the application program to be started;
When the startup type starts to press event, determine that the touch operation has been performed;When the startup class When type starts to lift event, determine that the touch operation is not performed;
The state for recovering to be performed before to the touch operation, including:
Close started application program;
The shielding touch operation, including:
Prevent the startup of the application program to be started.
Optionally, the device also includes touch data reporting module, for reporting the same of the event of pressing to the upper strata When, touch data when starting to report the touch-screen to be touched to the upper strata;False touch information is reported to the upper strata Meanwhile, touch data when stopping reporting the touch-screen to be touched to the upper strata.
Optionally, the reporting events module of pressing is used for:
When detecting touch-screen and being touched by the first object, if judging, first object is touched with the current of the touch-screen Area is touched less than the second predetermined threshold value, then reports the event of pressing to upper strata.
A kind of mobile terminal is the embodiment of the invention provides, can integrated shifting provided in an embodiment of the present invention in the mobile terminal The information acquisition device of dynamic terminal.Fig. 5 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention.Such as Fig. 5 institutes Show, the mobile terminal can include:Housing (not shown), memory 501, central processing unit (Central Processing Unit, CPU) 502 (also known as processors, hereinafter referred to as CPU), circuit board (not shown) and power circuit (not shown).The circuit board is placed in the interior volume that the housing is surrounded;The CPU502 and the memory 501 It is arranged on the circuit board;The power circuit, powers for each circuit or device for the mobile terminal;It is described to deposit Reservoir 501, for storing executable program code;The CPU502 is by reading store in the memory 501 executable Program code runs computer program corresponding with the executable program code, to realize following steps:
When detecting touch-screen and being touched by the first object, the event of pressing is reported to upper strata;
When judging that first object is more than the first predetermined threshold value with the current touch area of the touch-screen, to described Upper strata reports false touch information;
When detecting first object and leaving the touch-screen, the event of lifting is reported to the upper strata;
The corresponding touch behaviour of event is pressed to described according to the false touch information and the event of lifting by the upper strata Carry out corresponding false-touch prevention treatment.
The mobile terminal also includes:Peripheral Interface 503, RF (Radio Frequency, radio frequency) circuit 505, audio-frequency electric Road 506, loudspeaker 511, power management chip 508, input/output (I/O) subsystem 509, touch-screen 512, other input/controls Control equipment 510 and outside port 504, these parts are communicated by one or more communication bus or holding wire 507.
It should be understood that diagram mobile terminal 500 is only an example of mobile terminal, and mobile terminal 500 Can have than the more or less part shown in figure, can combine two or more parts, or can be with Configured with different parts.Various parts shown in figure can be including one or more signal transactings and/or special Integrated circuit is realized in the combination of interior hardware, software or hardware and software.
The mobile terminal for touch operation treatment that the present embodiment is provided is described in detail below, the movement end End is by taking mobile phone as an example.
Memory 501, the memory 501 can be accessed by CPU502, Peripheral Interface 503 etc., and the memory 501 can With including high-speed random access memory, nonvolatile memory can also be included, such as one or more disk memories, Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU502 and deposited by Peripheral Interface 503, the Peripheral Interface 503 Reservoir 501.
I/O subsystems 509, the I/O subsystems 509 can be by the input/output peripheral in equipment, such as touch-screen 512 With other input/control devicess 510, Peripheral Interface 503 is connected to.I/O subsystems 509 can include the He of display controller 5091 One or more input controllers 5092 for controlling other input/control devicess 510.Wherein, one or more input controls Device processed 5092 receives electric signal or sends electric signal to other input/control devicess 510 from other input/control devicess 510, Other input/control devicess 510 can be including physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole, click roller.What deserves to be explained is, input controller 5092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 512, the touch-screen 512 is the input interface and output interface between customer mobile terminal and user, By visual output display to user, visual output can be including figure, text, icon, video etc..
Display controller 5091 in I/O subsystems 509 receives electric signal or is sent out to touch-screen 512 from touch-screen 512 Electric signals.Contact on the detection touch-screen of touch-screen 512, the contact that display controller 5091 will be detected is converted to and display The interaction of the user interface object on touch-screen 512, that is, realize man-machine interaction, is displayed in the user interface on touch-screen 512 Object can be the icon of running game, the icon etc. that is networked to corresponding network.What deserves to be explained is, equipment can also include light Mouse, light mouse is the extension for not showing the visual touch sensitive surface for exporting, or the touch sensitive surface formed by touch-screen.
RF circuits 505, are mainly used in setting up the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 505 are received and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 505 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications Number, and communicated with communication network and other equipment by the electromagnetic signal.RF circuits 505 can be included for performing The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, ID mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 506, is mainly used in receiving voice data from Peripheral Interface 503, and the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 511.
Loudspeaker 511, for the voice signal for receiving mobile phone from wireless network by RF circuits 505, is reduced to sound And play the sound to user.
Power management chip 508, for being powered by the hardware that CPU502, I/O subsystem and Peripheral Interface are connected And power management.
Mobile terminal provided in an embodiment of the present invention, the position that can be prevented effectively from beyond finger or other objects are because of large area Mistaken touch operation caused by Touch screen.
The processing unit and mobile terminal of the touch operation provided in above-described embodiment can perform any embodiment of the present invention The processing method of the touch operation for being provided, possesses the execution corresponding functional module of the method and beneficial effect.Not in above-mentioned reality The ins and outs of detailed description in example are applied, reference can be made to the processing method of the touch operation that any embodiment of the present invention is provided.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also More other Equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of processing method of touch operation, it is characterised in that including:
When detecting touch-screen and being touched by the first object, the event of pressing is reported to upper strata;
When judging that first object is more than the first predetermined threshold value with the current touch area of the touch-screen, to the upper strata Report false touch information;
When detecting first object and leaving the touch-screen, the event of lifting is reported to the upper strata;
Press the corresponding touch operation of event and enter to described according to the false touch information and the event of lifting by the upper strata The corresponding false-touch prevention treatment of row.
2. method according to claim 1, it is characterised in that it is described by the upper strata according to the false touch information and institute The event of lifting is stated to press the corresponding touch operation of event and carry out corresponding false-touch prevention treatment to described, including:
Press whether the corresponding touch operation of event has been performed by described in the judgement of the upper strata;
If so, then recovering the state being performed before to the touch operation;If it is not, then shielding the touch operation.
3. method according to claim 2, it is characterised in that described to judge described to press event correspondingly by the upper strata Touch operation whether be performed, including:
By pressing whether the corresponding touch operation of event is to start application program to operate described in the judgement of the upper strata, if starting Application program is operated, it is determined that the startup type of the application program to be started;
When the startup type starts to press event, determine that the touch operation has been performed;When the startup type is When lifting event startup, determine that the touch operation is not performed;
The state for recovering to be performed before to the touch operation, including:
Close started application program;
The shielding touch operation, including:
Prevent the startup of the application program to be started.
4. according to any described methods of claim 1-3, it is characterised in that
Reported to the upper strata press event while, also include:
Touch data when starting to report the touch-screen to be touched to the upper strata;
While false touch information is reported to the upper strata, also include:
Touch data when stopping reporting the touch-screen to be touched to the upper strata.
5. according to any described methods of claim 1-3, it is characterised in that the touch-screen that detects is touched by the first object When, the event of pressing is reported to upper strata, including:
When detecting touch-screen and being touched by the first object, if judging the current touch face of first object and the touch-screen Product is less than the second predetermined threshold value, then report the event of pressing to upper strata.
6. a kind of processing unit of touch operation, it is characterised in that including:
Reporting events module is pressed, for when detecting touch-screen and being touched by the first object, the event of pressing being reported to upper strata;
False touch information reporting module, for judging the current touch area of first object and the touch-screen more than the During one predetermined threshold value, false touch information is reported to the upper strata;
Reporting events module is lifted, for when detecting first object and leaving the touch-screen, being reported to the upper strata Lift event;
Touch operation processing module, for being pressed to described according to the false touch information and the event of lifting by the upper strata The corresponding touch operation of event carries out corresponding false-touch prevention treatment.
7. device according to claim 6, it is characterised in that the touch operation processing module is used for:
Press whether the corresponding touch operation of event has been performed by described in the judgement of the upper strata;
If so, then recovering the state being performed before to the touch operation;If it is not, then shielding the touch operation.
8. device according to claim 7, it is characterised in that described to judge described to press event correspondingly by the upper strata Touch operation whether be performed, including:
By pressing whether the corresponding touch operation of event is to start application program to operate described in the judgement of the upper strata, if starting Application program is operated, it is determined that the startup type of the application program to be started;
When the startup type starts to press event, determine that the touch operation has been performed;When the startup type is When lifting event startup, determine that the touch operation is not performed;
The state for recovering to be performed before to the touch operation, including:
Close started application program;
The shielding touch operation, including:
Prevent the startup of the application program to be started.
9. according to any described devices of claim 6-8, it is characterised in that the reporting events module of pressing is used for:
When detecting touch-screen and being touched by the first object, if judging the current touch face of first object and the touch-screen Product is less than the second predetermined threshold value, then report the event of pressing to upper strata.
10. a kind of mobile terminal, it is characterised in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, it is characterised in that realize following steps during computer program described in the computing device:
When detecting touch-screen and being touched by the first object, the event of pressing is reported to upper strata;
When judging that first object is more than the first predetermined threshold value with the current touch area of the touch-screen, to the upper strata Report false touch information;
When detecting first object and leaving the touch-screen, the event of lifting is reported to the upper strata;
Press the corresponding touch operation of event and enter to described according to the false touch information and the event of lifting by the upper strata The corresponding false-touch prevention treatment of row.
CN201710117878.7A 2017-03-01 2017-03-01 Touch operation processing method and device and mobile terminal Active CN106909250B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710117878.7A CN106909250B (en) 2017-03-01 2017-03-01 Touch operation processing method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710117878.7A CN106909250B (en) 2017-03-01 2017-03-01 Touch operation processing method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106909250A true CN106909250A (en) 2017-06-30
CN106909250B CN106909250B (en) 2020-01-14

Family

ID=59185997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710117878.7A Active CN106909250B (en) 2017-03-01 2017-03-01 Touch operation processing method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106909250B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562261A (en) * 2017-08-08 2018-01-09 Tcl海外电子(惠州)有限公司 Display device control method and device
CN109254684A (en) * 2018-08-22 2019-01-22 Oppo广东移动通信有限公司 Touchscreen events report method and its device, terminal device, storage medium
CN109992156A (en) * 2019-03-25 2019-07-09 努比亚技术有限公司 A kind of false-touch prevention method, mobile terminal and computer readable storage medium
CN111399691A (en) * 2020-04-26 2020-07-10 Oppo广东移动通信有限公司 Screen touch detection method, mobile terminal and computer storage medium
CN112162689A (en) * 2020-09-18 2021-01-01 维沃移动通信有限公司 Input method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693037A (en) * 2012-05-04 2012-09-26 深圳桑菲消费通信有限公司 Shortcut method for starting a plurality of application programs in touch screen mobile terminals
CN103365588A (en) * 2012-04-11 2013-10-23 华为终端有限公司 Touch screen operation processing method and touch equipment
CN105302369A (en) * 2015-10-27 2016-02-03 上海救要救信息科技有限公司 Method and system for preventing or reducing misoperations of touch screen
CN105739786A (en) * 2016-01-29 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Method and device for starting application program in screen-off state
US20160349981A1 (en) * 2015-05-25 2016-12-01 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Control system for virtual mouse and control method thereof
CN106354400A (en) * 2015-07-17 2017-01-25 华为终端(东莞)有限公司 Touching operation identification method and device thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365588A (en) * 2012-04-11 2013-10-23 华为终端有限公司 Touch screen operation processing method and touch equipment
CN102693037A (en) * 2012-05-04 2012-09-26 深圳桑菲消费通信有限公司 Shortcut method for starting a plurality of application programs in touch screen mobile terminals
US20160349981A1 (en) * 2015-05-25 2016-12-01 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Control system for virtual mouse and control method thereof
CN106354400A (en) * 2015-07-17 2017-01-25 华为终端(东莞)有限公司 Touching operation identification method and device thereof
CN105302369A (en) * 2015-10-27 2016-02-03 上海救要救信息科技有限公司 Method and system for preventing or reducing misoperations of touch screen
CN105739786A (en) * 2016-01-29 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Method and device for starting application program in screen-off state

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562261A (en) * 2017-08-08 2018-01-09 Tcl海外电子(惠州)有限公司 Display device control method and device
CN109254684A (en) * 2018-08-22 2019-01-22 Oppo广东移动通信有限公司 Touchscreen events report method and its device, terminal device, storage medium
CN109992156A (en) * 2019-03-25 2019-07-09 努比亚技术有限公司 A kind of false-touch prevention method, mobile terminal and computer readable storage medium
CN111399691A (en) * 2020-04-26 2020-07-10 Oppo广东移动通信有限公司 Screen touch detection method, mobile terminal and computer storage medium
CN111399691B (en) * 2020-04-26 2023-10-10 Oppo广东移动通信有限公司 Screen touch detection method, mobile terminal and computer storage medium
CN112162689A (en) * 2020-09-18 2021-01-01 维沃移动通信有限公司 Input method and device and electronic equipment

Also Published As

Publication number Publication date
CN106909250B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN106527818B (en) Control method, device and the mobile terminal of touch operation on a kind of mobile terminal
CN106775084B (en) A kind of false-touch prevention method, device and mobile terminal of touch screen
CN106855784A (en) Prevent method, device and the terminal of touch key-press false triggering
CN106708263A (en) Method and device for preventing mistaken touch of touch screens and mobile terminal
CN106775087B (en) Touch screen control method and device of mobile terminal and mobile terminal
CN106598335B (en) A kind of touch screen control method, device and mobile terminal of mobile terminal
WO2018107897A1 (en) Touch screen control method and device, mobile terminal, and storage medium
CN107294522A (en) Response method, device, storage medium and electronic equipment based on touch key-press
EP3336679B1 (en) Method and terminal for preventing unintentional triggering of a touch key and storage medium
CN106909250A (en) A kind of processing method of touch operation, device and mobile terminal
CN106681555A (en) Touch screen control method and device of mobile terminal and mobile terminal
CN106855785A (en) Method, device and the mobile terminal of screen false-touch prevention are realized during a kind of hands grasping
CN106775405A (en) A kind of touch-screen false-touch prevention method of mobile terminal, device and mobile terminal
CN106406633A (en) Touch screen edge error touch prevention method and device and mobile terminal
CN106681554B (en) A kind of control method of mobile terminal touch screen, device and mobile terminal
CN106775407A (en) A kind of touch-screen control method of mobile terminal, device and mobile terminal
CN106855783A (en) A kind of method of false-touch prevention, device and mobile terminal
CN106708407A (en) Method and device for preventing mistaken triggering of touch key and mobile terminal
CN106598249A (en) Wrong touch prevention method and device for touch key, and mobile terminal
CN106406904A (en) Information processing method, electronic equipment and information processing device
CN106502470A (en) Prevent method, device and the terminal of touch key-press false triggering
CN106681635A (en) Method and device for preventing split screen touch by mistake and mobile terminal
CN106775085B (en) A kind of method, device and mobile terminal of screen edge false-touch prevention
CN106775086A (en) A kind of touch-screen control method of mobile terminal, device and mobile terminal
CN107357458B (en) Touch key response method and device, storage medium and mobile terminal

Legal Events

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

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

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

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

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant