CN104615342B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN104615342B
CN104615342B CN201310535842.2A CN201310535842A CN104615342B CN 104615342 B CN104615342 B CN 104615342B CN 201310535842 A CN201310535842 A CN 201310535842A CN 104615342 B CN104615342 B CN 104615342B
Authority
CN
China
Prior art keywords
touch
touch area
electronic equipment
control instruction
judging result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310535842.2A
Other languages
Chinese (zh)
Other versions
CN104615342A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310535842.2A priority Critical patent/CN104615342B/en
Publication of CN104615342A publication Critical patent/CN104615342A/en
Application granted granted Critical
Publication of CN104615342B publication Critical patent/CN104615342B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Landscapes

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

Abstract

The invention discloses a kind of information processing method and electronic equipments, this method is applied to the first electronic equipment, first electronic equipment can be with the second electronic equipment into row data communication, the touch control unit of first electronic equipment include the first touch area and with different second touch area in the first touch area, this method includes:Detection obtains the first sliding touch operation of touch-control touch control unit;Whether the first glide direction for judging the operation of the first sliding touch is to be drawn from the first touch area to the first direction of the second touch area, obtains the first judging result;When it is first direction that the first judging result, which shows the first glide direction, the first control instruction to the second electronic equipment is generated and sent, so that the second electronic equipment is by performing the first control instruction, to realize the first function corresponding with the first control instruction.Through the above technical solutions, solving electronic equipment in the prior art there is technical issues that slide the accuracy for improving response touch control operation by mistake.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, more particularly to a kind of information processing method and electronic equipment.
Background technology
With the continuous development of science and technology, touch-control display technology has obtained quick development, and user can be by direct Operation touching display screen carrys out control electronics, and more directly perceived, more lively operating experience is brought to user.It is carried on Vehicles Collected from Market The touch control devices such as touching display screen, the Trackpad of confession are then sentenced detecting that sliding touch operation meets from specified position cut-in The operation break as effectively operation, responds effective operation immediately and completes corresponding function.
However, present inventor during technical solution, it is found that the prior art is deposited in the embodiment of the present application is realized In following technical problem:
The detection that existing touch control device operates sliding touch judge it is too simple, as only judged its slide Starting point and/or direction cause electronic equipment of the prior art the problem of being responded by mistake to slide occur, such as:It is existing Electronic equipment only judges the direction of slide, easily by slide to the right continuously choose choose operation by mistake response for slide turn over Page.As it can be seen that electronic equipment there is technical issues that slide by mistake in the prior art.
The content of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for solving electronic equipment in the prior art There is to slide the accuracy for improving response slide by mistake.
The embodiment of the present application provides a kind of information processing method, applied to the first electronic equipment, first electronic equipment Can with the second electronic equipment into row data communication, the touch control unit of first electronic equipment include the first touch area and with Different second touch area in first touch area, the described method includes:
Detection obtains the first sliding touch operation of touch control unit described in touch-control;
Whether the first glide direction for judging the first sliding touch operation is to be drawn from first touch area to institute The first direction of the second touch area is stated, obtains the first judging result;
When it is the first direction that first judging result, which shows first glide direction, first is generated and sent Control instruction is to second electronic equipment, so that second electronic equipment is by performing first control instruction, with reality Now the first function corresponding with first control instruction.
Optionally, whether first glide direction for judging the first sliding touch operation is from first touch-control Region is drawn to the first direction of second touch area, is obtained the first judging result, is specifically included:
Obtain the initial point position of the first sliding touch operation and terminating point position;
Judge the initial point position with first distance value on the first side of first touch area whether less than default Threshold value obtains the second judging result;
When second judging result shows that first distance value is less than the predetermined threshold value, the terminating point is judged Whether the second distance value of position and the second side of second touch area is less than the predetermined threshold value, obtains the described 3rd and sentences Disconnected result;
Wherein, when the 3rd judging result shows that the second distance value is less than the predetermined threshold value, first is determined Judging result is the first direction for first glide direction.
Optionally, first control instruction that generates and sends is specifically included to second electronic equipment:
Judge whether the first sliding touch operation streaks the 3rd touch area, obtain the 4th judging result, wherein institute The 3rd touch area is stated as region adjacent with first touch area and second touch area in the touch control unit;
When the 4th judging result shows that three touch area is streaked in the first sliding touch operation, generation And the second control instruction in first control instruction is sent to second electronic equipment;
It is raw when the 4th judging result shows that the first sliding touch operation does not streak three touch area Into and send the 3rd control instruction in first control instruction to second electronic equipment, wherein second control refers to Order function corresponding with the 3rd control instruction is different.
Optionally, whether touched from described first in first glide direction for judging the first sliding touch operation It controls region to draw to the first direction of second touch area, after obtaining the first judging result, the method further includes:
When it is not the first direction that first judging result, which shows first glide direction, described first is judged Whether glide direction is to be drawn from second touch area to the second direction of first touch area, obtains the 5th and judges knot Fruit;
When it is second direction that the 5th judging result, which shows first glide direction, the 4th control is generated and sent To second electronic equipment, the 4th control instruction is different from the function that first control instruction includes for instruction.
Optionally, the 4th control instruction that generates and sends is specifically included to second electronic equipment:
Judge whether the first sliding touch operation streaks the 3rd touch area, obtain the 6th judging result, wherein institute The 3rd touch area is stated as region adjacent with first touch area and second touch area in the touch control unit;
When the 6th judging result shows that three touch area is streaked in the first sliding touch operation, generation And the 5th control instruction in the 4th control instruction is sent to second electronic equipment;
It is raw when the 6th judging result shows that the first sliding touch operation does not streak three touch area Into and send the 6th control instruction in the 4th control instruction to second electronic equipment, wherein the 5th control refers to Order function corresponding with the 6th control instruction is different.
The embodiment of the present application also provides a kind of first electronic equipment, and first electronic equipment can be with the second electronic equipment Into row data communication, the touch control unit of first electronic equipment include the first touch area and with first touch area not The second identical touch area, first electronic equipment include:
First detection unit, for detecting the first sliding touch operation for obtaining touch control unit described in touch-control;
First judging unit, for judging whether the first glide direction of first sliding touch operation is from described the One touch area is drawn to the first direction of second touch area, obtains the first judging result;
First generation unit shows that first glide direction is the first direction for working as first judging result When, the first control instruction is generated and sent to second electronic equipment, so that second electronic equipment passes through described in execution First control instruction, to realize the first function corresponding with first control instruction.
Optionally, first judging unit is specifically used for:
Obtain the initial point position of the first sliding touch operation and terminating point position;
Judge the initial point position with first distance value on the first side of first touch area whether less than default Threshold value obtains the second judging result;
When second judging result shows that first distance value is less than the predetermined threshold value, the terminating point is judged Whether the second distance value of position and the second side of second touch area is less than the predetermined threshold value, obtains the described 3rd and sentences Disconnected result;
Wherein, when the 3rd judging result shows that the second distance value is less than the predetermined threshold value, determine described First judging result is the first direction for first glide direction.
Optionally, first generation unit is specifically used for:
Judge whether the first sliding touch operation streaks the 3rd touch area, obtain the 4th judging result, wherein institute The 3rd touch area is stated as region adjacent with first touch area and second touch area in the touch control unit;
When the 4th judging result shows that three touch area is streaked in the first sliding touch operation, generation And the second control instruction in first control instruction is sent to second electronic equipment;
It is raw when the 4th judging result shows that the first sliding touch operation does not streak three touch area Into and send the 3rd control instruction in first control instruction to second electronic equipment, wherein second control refers to Order function corresponding with the 3rd control instruction is different.
Optionally, first electronic equipment further includes:
Second judgment unit, for first glide direction for judging first sliding touch operation whether be from First touch area is drawn to the first direction of second touch area, after obtaining the first judging result, when described the One judging result shows first glide direction when not being the first direction, judge first glide direction whether be from Second touch area is drawn to the second direction of first touch area, obtains the 5th judging result;
Second generation unit, for when it is second direction that the 5th judging result, which shows first glide direction, The 4th control instruction is generated and sent to second electronic equipment, the 4th control instruction and the first control instruction bag The function of containing is different.
Optionally, second generation unit is specifically used for:
Judge whether the first sliding touch operation streaks the 3rd touch area, obtain the 6th judging result, wherein institute The 3rd touch area is stated as region adjacent with first touch area and second touch area in the touch control unit;
When the 6th judging result shows that three touch area is streaked in the first sliding touch operation, generation And the 5th control instruction in the 4th control instruction is sent to second electronic equipment;
It is raw when the 6th judging result shows that the first sliding touch operation does not streak three touch area Into and send the 6th control instruction in the 4th control instruction to second electronic equipment, wherein the 5th control refers to Order function corresponding with the 6th control instruction is different.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects Fruit:
1st, the first electronic equipment by judge the first sliding touch operate glide direction whether be specify from first touch Region is controlled to draw to the direction of the second touch area, to judge whether the first slide is effective, and in the cunning of the first slide Dynamic direction generates and sends the first control instruction when being and being drawn from first area to the direction of the second touch area, i.e. electronic equipment exists Judge to judge whether its region streaked is drawn from the first touch area to the second touch area during the operation of the first sliding touch, avoid It is responded in the slide of any region, has what slide was responded by mistake so as to solve electronic equipment in the prior art Technical problem, and then improve the technique effect of response sliding touch operating accuracy.
2nd, when judging whether the operation of the first sliding touch is effective, the initial point position of the first slide is determined whether Whether first distance value on the first side of the first touch area of distance is less than the middle stop position of predetermined threshold value and the first slide Whether the second distance value for putting the second side of the second touch area of distance is less than predetermined threshold value, in the first distance value and second distance Value just judges that the operation of the first sliding touch is effective when being respectively less than predetermined threshold value, rung so as to further improve to operate sliding touch The accuracy answered.
3rd, since the difference that the application electronic equipment is operated according to the first sliding touch originates and it is concurrent to stop Area generation It send different touch commands and whether the 3rd touch area is streaked according to the first slide generates and sends no touch-control and refer to Order provides a variety of different touch control manners, and correspondence adds different functions, improves user experience.
Description of the drawings
Fig. 1 is a kind of flow diagram for information processing method that the embodiment of the present application one provides;
Fig. 2 is the outline structural diagram for the first electronic equipment that the embodiment of the present application one provides;
Fig. 3 is a kind of block diagram for first electronic equipment that the embodiment of the present application two provides.
Specific embodiment
In technical solution provided by the embodiments of the present application, by judge the first sliding touch operate glide direction whether For it is specified from the first touch area draw to the second touch area direction, to judge whether the first slide effective, and The glide direction of first slide generates and sends the first control when being and being drawn from first area to the direction of the second touch area Instruction, avoids the slide in any region from being responded, and exists so as to solve electronic equipment in the prior art to sliding behaviour The technical issues of making to respond by mistake, to improve the accuracy of response sliding touch operation.
Below in conjunction with the accompanying drawings to main realization principle, specific embodiment and its correspondence of the embodiment of the present application technical solution The advantageous effect that can reach is explained in detail.
Embodiment one
It please referring to Fig.1, the embodiment of the present application provides a kind of information processing method, applied to the first electronic equipment, described the One electronic equipment can be with the second electronic equipment into row data communication, and the touch control unit of first electronic equipment includes first and touches Control region and with different second touch area in first touch area, the described method includes:
S101:Detection obtains the first sliding touch operation of touch control unit described in touch-control;
S102:Whether the first glide direction for judging the first sliding touch operation is to be drawn from first touch area To the first direction of second touch area, the first judging result is obtained;
S103:When it is the first direction that first judging result, which shows first glide direction, generation is concurrent The first control instruction is sent to second electronic equipment, so that second electronic equipment refers to by performing first control Order, to realize the first function corresponding with first control instruction.
It please refers to Fig.2, the first electronic equipment that the application provides is can be with the second electronic equipment into row data communication New contact control mouse, second electronic equipment are the electronic equipments such as laptop, desktop computer, tablet computer.Wherein, first The touch control unit of electronic equipment includes the first touch area, the second touch area and the 3rd touch area, and the 3rd touch area is set Put between the first touch area and the second touch area, i.e. the 3rd touch area respectively with the first touch area and the second touch-control Region is adjacent.It, then can direct the first touch area of touch-control when user needs the left button function using mouse;When user needs Using mouse right button function when, then direct the second touch area of touch-control;When user is needed using mouse roller, then directly touch Control the second touch area.
In specific implementation process, the processing of the first electronic equipment possesses beyond the function that conventional keys mouse has, and may be used also The first sliding touch obtained with detection on touch control unit operates, and detects and judge first sliding touch operation, when judging The operation of first sliding touch generates and sends corresponding control instruction to the second electronic equipment when effective, so that the second electronic equipment Corresponding control instruction is performed so as to fulfill corresponding function.Such as:First electronic equipment detects effective first sliding touch During operation, deletion instruction is generated and sent to the second electronic equipment so that the second electronic equipment is based on the deletion instruction received The content chosen on the display screen of second electronic equipment is deleted.
In order to accurately respond the first slide of user, the first electronic equipment performs S101 detections and obtains described in touch-control The first sliding touch operation of touch control unit, and and then perform S102 and judge that the first of the first sliding touch operation slides Whether direction is to be drawn from first touch area to the first direction of second touch area, obtains the first judging result. Wherein, the first judging result is there are two kinds of situations, the first is not from for the first glide direction of the first sliding touch operation The first direction of one touch area Hua Zhidie touch areas, the operation of the first sliding touch may be only in the first touch areas or the It slides two touch areas, it is also possible to be to be drawn from the second touch area to the first touch area, it is therefore desirable to determine whether;The Two kinds of first glide directions then operated for the first sliding touch are the first party from the first touch area Hua Zhidie touch areas To, then S103 is continued to execute at this time.
S103:When it is the first direction that first judging result, which shows first glide direction, generation is concurrent The first control instruction is sent to second electronic equipment, so that second electronic equipment refers to by performing first control Order, to realize the first function corresponding with first control instruction.Specifically, the first control instruction can be the first electricity of design The pre-set instruction of designer of sub- equipment, or user according to oneself need voluntarily select set instruction, It such as deletes, replicate, shear, move control instruction.
In specific implementation process, the 3rd touch area is additionally provided between the first touch area and the second touch area, I.e. the first touch area has subregion adjacent with the second touch area, and rest part is non-conterminous, then user is in the first electronics When being slided on the touch control unit of equipment, the first sliding touch is operated it is possible that streaking the 3rd touch area, it is also possible to not streak the Three touch areas.Therefore the first electronic equipment is touched when generating and sending the first control instruction for streaking and not streaking the 3rd The first sliding touch operation in control region generates and sends different control instructions.Specifically, judge that the first sliding touch operates The 3rd touch area whether is streaked, obtains the 4th judging result;When the 4th judging result shows that the operation of the first sliding touch is streaked During three touch areas, the second control instruction in the first control instruction is generated and sent to second electronic equipment;When When four judging results show that three touch areas is not streaked in the operation of the first sliding touch, first control instruction is generated and sent In the 3rd control instruction to second electronic equipment, wherein second control instruction and the corresponding work(of the 3rd control instruction Can be different, if the second control instruction is to delete to instruct, the 3rd control instruction can be then the instructions such as stickup, duplication, shearing.Specifically In implementation process, when whether judge the first glide direction is first direction, in order to reduce the probability of response by mistake, the first electronics is set It is standby to obtain the initial point position of the first sliding touch operation and terminating point position first;Then the operation of the first sliding touch is judged Whether initial point position and first distance value on the first side of the first touch area are less than predetermined threshold value, obtain second and judge knot Fruit, wherein the first of the first touch area while for it is non-conterminous with the second touch area while, and predetermined threshold value then be designer It is pre-set according to the size of the touch control unit of the first electronic equipment;It is preset when the second judging result shows that the first distance value is less than During threshold value, the second of the terminating point position and the second side of the second touch area of the first sliding touch operation is determined whether Whether distance value is less than predetermined threshold value, obtains the 3rd judging result, wherein the second side of the second touch area is and first The non-conterminous side in touch area;And it when the 3rd judging result shows that the second distance value is less than the predetermined threshold value, determines First judging result is first direction for the first glide direction.
Such as:Assuming that the second electronic equipment being connected with the first electronic equipment is a laptop, user is in the first electricity The first sliding touch operation is carried out on sub- equipment touch control unit.First electronic equipment detects first obtains the operation of the first sliding touch Initial point position and terminating point position be respectively(1,1)With(6,6);And then, the first electronic equipment judges starting point position It puts(1,1)In the first touch area and first distance value on the first side of the first touch area of distance is 1, terminating point position (6,6)In the second touch area and the second distance value on the second side of the second touch area of distance is 1.5, and judges first Distance value and second distance value are respectively less than predetermined threshold value 2, then obtain the first judging result at this time and show that the first glide direction is First direction, the first electronic equipment generate and send the first control instruction to laptop, and laptop is receiving After one control instruction, perform the first control instruction and complete corresponding function.
Opposite, when the second judging result shows that the first distance value not less than predetermined threshold value, determines that the first judging result is First glide direction is not first direction;When the 3rd judging result shows second distance value not less than predetermined threshold value, the is also determined One judging result is not first direction for the first glide direction, i.e., the first electronic equipment obtains first and judges to tie under both of these case Fruit shows that the first glide direction is not first direction.Such as:The initial point position and terminating point that the detection of first electronic equipment obtains Position is respectively(2,1)With(6,6);And then, the first electronic equipment judges initial point position(2,1)In the first touch area In and the first side of the first touch area of distance the first distance value for 2, terminating point position(6,6)In the second touch area and The second distance value on the second side of the second touch area of distance is 1.5, judges that the first distance value is not less than predetermined threshold value 2, really Fixed first glide direction is not first direction.It is operated in response to different sliding touch, the first electronic equipment further performs such as Lower step:
The first step:When it is not first direction that the first judging result, which shows first glide direction, the first slip is judged Whether direction is to be drawn from the second touch area to the second direction of the first touch area, obtains the 5th judging result.
Second step:When it is second direction that the 5th judging result, which shows the first glide direction, the 4th control is generated and sent To second electronic equipment, the 4th control instruction is different from the function that first control instruction includes for instruction.On the contrary , when it is not second direction that the 5th judging result, which shows the first glide direction, the first electronic equipment performs left mouse button or the right side The corresponding function of key.
Likewise, the first sliding touch operation drawn from the second touch area to the first touch area also has, there are two types of slide Mode:The first sliding type is finally drawn to streak the 3rd touch area since the second touch area to the first touch area; Second of sliding type is directly to be drawn to the first touch area without the 3rd touch area from the second touch area.For this Two kinds of different sliding types, the first electronic equipment is by judging whether the first sliding touch operation streaks the 3rd Touch Zone Domain obtains the 6th judging result;When the 6th judging result shows that three touch areas is streaked in the operation of the first sliding touch, generation And the 5th control instruction in the 4th control instruction is sent to second electronic equipment;When the 6th judging result shows described The operation of one sliding touch is not when streaking three touch areas, generates and sends the 6th control instruction in the 4th control instruction to institute The second electronic equipment is stated, corresponding function is different wherein the 5th control instruction is with the 6th control instruction.
Such as:Assuming that the second electronic equipment is tablet computer, the first electronic equipment is Wireless touch mouse and the second electronics Equipment is connected, and the 5th control instruction in the 3rd control instruction is max volume regulating command.User is from Wireless touch mouse Second touch area starts to streak the 3rd touch area sliding touch to the first touch area, and Wireless touch mouse inspection at this time obtains The coordinate points of start-stop touch point position of the first sliding touch operation of user are respectively(10,6)、(2,1);Then, wirelessly Contact control mouse is according to the coordinate of initial point position(10,6)Judge the starting point of the first sliding touch operation in the second Touch Zone Domain and according to the coordinate of terminating point position(2,1)The terminating point of the first sliding touch operation is judged in the first touch area, that The first glide direction for judging the operation of the first sliding touch is to be drawn from the second touch area to the second of the first touch area Direction;Further, Wireless touch mouse judges whether the track of the first sliding touch operation streaks the 3rd touch area, judges Go out the first slide and streak the 3rd touch area, therefore produce and send the max volume regulating command in the 3rd control instruction To tablet computer so that it is maximum that tablet computer, which receives and performs the instruction by its volume adjustment,.
In the above-described embodiments, whether the first electronic equipment is finger by judging the glide direction that the first sliding touch operates Fixed draws from the first touch area to the direction of the second touch area, to judge whether the first slide is effective, and first The glide direction of slide generates and sends the first control instruction when being and being drawn from first area to the direction of the second touch area, That is electronic equipment judges whether its region streaked is drawn from the first touch area to second when judging that the first sliding touch operates Touch area avoids the slide in any region from being responded, and exists so as to solve electronic equipment in the prior art to cunning The technical issues of dynamic operation responds by mistake, and then improve the technique effect of response sliding touch operating accuracy.
Also, when judging whether the operation of the first sliding touch is effective, the starting point of the first slide is determined whether Whether first distance value on the first side of the first touch area of positional distance is less than the suspension of predetermined threshold value and the first slide Whether the second distance value on the second side of the second touch area of point positional distance is less than predetermined threshold value, in the first distance value and second Just judge that the operation of the first sliding touch is effective when distance value is respectively less than predetermined threshold value, sliding touch is grasped so as to further improve Make the accuracy responded.
Meanwhile the different startings that are operated in the above-described embodiments according to the first sliding touch due to the application electronic equipment and Stop Area generation and send different touch commands and whether the generation of the 3rd touch area is streaked simultaneously according to the first slide No touch command is sent, provides a variety of different touch control manners, and correspondence adds different functions, improves user Experience.
Embodiment two
It please refers to Fig.3, the embodiment of the present application provides a kind of first electronic equipment, and first electronic equipment can be with second Electronic equipment includes the first touch area and is touched with described first into row data communication, the touch control unit of first electronic equipment Different second touch area in region is controlled, first electronic equipment includes:
First detection unit 301, for detecting the first sliding touch operation for obtaining touch control unit described in touch-control;
First judging unit 302, whether the first glide direction for judging the first sliding touch operation is from institute It states the first touch area to draw to the first direction of second touch area, obtains the first judging result;
First generation unit 303 shows that first glide direction is described first for working as first judging result During direction, the first control instruction is generated and sent to second electronic equipment, so that second electronic equipment passes through execution First control instruction, to realize the first function corresponding with first control instruction.
In specific implementation process, first judging unit 301 is specifically used for:Obtain the first sliding touch operation Initial point position and terminating point position;Judge the first of the first side of the initial point position and first touch area away from Whether it is less than predetermined threshold value from value, obtains the second judging result;When second judging result shows that first distance value is small When the predetermined threshold value, judge the terminating point position and second touch area the second side second distance value whether Less than the predetermined threshold value, the 3rd judging result is obtained;Wherein, the second distance is shown in the 3rd judging result When value is less than the predetermined threshold value, it is that first glide direction is the first direction to determine first judging result.
In specific implementation process, when the first glide direction of the first sliding touch operation is first direction, described first Generation unit 303 is specifically used for:Judge whether the first sliding touch operation streaks the 3rd touch area, obtain the 4th and judge As a result, wherein described 3rd touch area in the touch control unit with first touch area and second touch area Adjacent region;When the 4th judging result shows that three touch area is streaked in the first sliding touch operation, The second control instruction in first control instruction is generated and sent to second electronic equipment;When the described 4th judgement knot When fruit shows that three touch area is not streaked in the first sliding touch operation, first control instruction is generated and sent In the 3rd control instruction to second electronic equipment, wherein second control instruction and the corresponding work(of the 3rd control instruction It can be different.
The first sliding touch operation in response to different directions produces and performs different control instructions, first electricity Sub- equipment further includes:
Second judgment unit 304, for first glide direction for judging first sliding touch operation whether It is to be drawn from first touch area to the first direction of second touch area, after obtaining the first judging result, works as institute It states the first judging result to show first glide direction when not being the first direction, whether judges first glide direction It is to be drawn from second touch area to the second direction of first touch area, obtains the 5th judging result;
Second generation unit 305 shows that first glide direction is second direction for working as the 5th judging result When, the 4th control instruction is generated and sent to second electronic equipment, and the 4th control instruction refers to the described first control Make the function of including different.
In specific implementation process, when the first glide direction of the first sliding touch operation is second direction, described second Generation unit 305 is specifically used for:Judge whether the first sliding touch operation streaks the 3rd touch area, obtain the 6th and judge As a result, wherein described 3rd touch area in the touch control unit with first touch area and second touch area Adjacent region;When the 6th judging result shows that three touch area is streaked in the first sliding touch operation, The 5th control instruction in the 4th control instruction is generated and sent to second electronic equipment;When the described 6th judgement knot When fruit shows that three touch area is not streaked in the first sliding touch operation, the 4th control instruction is generated and sent In the 6th control instruction to second electronic equipment, wherein the 5th control instruction and the corresponding work(of the 6th control instruction It can be different.
By one or more of the embodiment of the present application technical solution, following one or more technology effects can be realized Fruit:
1st, the first electronic equipment by judge the first sliding touch operate glide direction whether be specify from first touch Region is controlled to draw to the direction of the second touch area, to judge whether the first slide is effective, and in the cunning of the first slide Dynamic direction generates and sends the first control instruction when being and being drawn from first area to the direction of the second touch area, i.e. electronic equipment exists Judge to judge whether its region streaked is drawn from the first touch area to the second touch area during the operation of the first sliding touch, avoid It is responded in the slide of any region, has what slide was responded by mistake so as to solve electronic equipment in the prior art Technical problem, and then improve the technique effect of response sliding touch operating accuracy.
2nd, when judging whether the operation of the first sliding touch is effective, the initial point position of the first slide is determined whether Whether first distance value on the first side of the first touch area of distance is less than the middle stop position of predetermined threshold value and the first slide Whether the second distance value for putting the second side of the second touch area of distance is less than predetermined threshold value, in the first distance value and second distance Value just judges that the operation of the first sliding touch is effective when being respectively less than predetermined threshold value, rung so as to further improve to operate sliding touch The accuracy answered.
3rd, since the difference that the application electronic equipment is operated according to the first sliding touch originates and it is concurrent to stop Area generation It send different touch commands and whether the 3rd touch area is streaked according to the first slide generates and sends no touch-control and refer to Order provides a variety of different touch control manners, and correspondence adds different functions, improves user experience.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program production of upper implementation The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, equipment(System)And the flow of computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these modification and variations.

Claims (8)

1. a kind of information processing method, applied to the first electronic equipment, first electronic equipment can be with the second electronic equipment Into row data communication, the touch control unit of first electronic equipment include the first touch area and with first touch area not The second identical touch area, the described method includes:
Detection obtains the first sliding touch operation of touch control unit described in touch-control;
Whether the first glide direction for judging first sliding touch operation is to be drawn from first touch area to described the The first direction of two touch areas obtains the first judging result;
When it is the first direction that first judging result, which shows first glide direction, the first control is generated and sent Instruction is to second electronic equipment so that second electronic equipment is by performing first control instruction, with realize with Corresponding first function of first control instruction,
Wherein described first control instruction that generates and sends is specifically included to second electronic equipment:
Judge whether first sliding touch operation streaks the 3rd touch area, obtain the 4th judging result, wherein described the Three touch areas are region adjacent with first touch area and second touch area in the touch control unit;
When the 4th judging result shows that three touch area is streaked in the first sliding touch operation, generation is concurrent The second control instruction in first control instruction is sent to second electronic equipment;
When the 4th judging result shows that the first sliding touch operation does not streak three touch area, generation is simultaneously The 3rd control instruction in first control instruction is sent to second electronic equipment, wherein second control instruction and The corresponding function of 3rd control instruction is different.
2. the method as described in claim 1, which is characterized in that described to judge that the first of the first sliding touch operation slides Whether direction is to be drawn from first touch area to the first direction of second touch area, obtains the first judging result, It specifically includes:
Obtain the initial point position of the first sliding touch operation and terminating point position;
Judge whether the initial point position and first distance value on the first side of first touch area are less than predetermined threshold value, Obtain the second judging result;
When second judging result shows that first distance value is less than the predetermined threshold value, the terminating point position is judged Whether it is less than the predetermined threshold value with the second distance value on the second side of second touch area, obtains the 3rd judging result;
Wherein, when the 3rd judging result shows that the second distance value is less than the predetermined threshold value, the first judgement is determined As a result it is the first direction for first glide direction.
3. the method as described in claim 1, which is characterized in that judge that the first of the first sliding touch operation slides described Whether dynamic direction is to be drawn from first touch area to the first direction of second touch area, obtains the first judging result Afterwards, the method further includes:
When it is not the first direction that first judging result, which shows first glide direction, judge that described first slides Whether direction is to be drawn from second touch area to the second direction of first touch area, obtains the 5th judging result;
When it is second direction that the 5th judging result, which shows first glide direction, the 4th control instruction is generated and sent To second electronic equipment, the 4th control instruction is different from the function that first control instruction includes.
4. method as claimed in claim 3, which is characterized in that the 4th control instruction that generates and sends is to the described second electricity Sub- equipment, specifically includes:
Judge whether first sliding touch operation streaks the 3rd touch area, obtain the 6th judging result, wherein described the Three touch areas are region adjacent with first touch area and second touch area in the touch control unit;
When the 6th judging result shows that three touch area is streaked in the first sliding touch operation, generation is concurrent The 5th control instruction in the 4th control instruction is sent to second electronic equipment;
When the 6th judging result shows that the first sliding touch operation does not streak three touch area, generation is simultaneously The 6th control instruction in the 4th control instruction is sent to second electronic equipment, wherein the 5th control instruction and The corresponding function of 6th control instruction is different.
5. a kind of first electronic equipment, first electronic equipment can with the second electronic equipment into row data communication, described the The touch control unit of one electronic equipment include the first touch area and with different second touch area in first touch area, First electronic equipment includes:
First detection unit, for detecting the first sliding touch operation for obtaining touch control unit described in touch-control;
First judging unit, for judging whether the first glide direction of the first sliding touch operation is to be touched from described first It controls region to draw to the first direction of second touch area, obtains the first judging result;
First generation unit, for when it is the first direction that first judging result, which shows first glide direction, The first control instruction is generated and sent to second electronic equipment, so that second electronic equipment is by performing described first Control instruction, to realize the first function corresponding with first control instruction, wherein first generation unit is specifically used for:
Judge whether first sliding touch operation streaks the 3rd touch area, obtain the 4th judging result, wherein described the Three touch areas are region adjacent with first touch area and second touch area in the touch control unit;
When the 4th judging result shows that three touch area is streaked in the first sliding touch operation, generation is concurrent The second control instruction in first control instruction is sent to second electronic equipment;
When the 4th judging result shows that the first sliding touch operation does not streak three touch area, generation is simultaneously The 3rd control instruction in first control instruction is sent to second electronic equipment, wherein second control instruction and The corresponding function of 3rd control instruction is different.
6. the first electronic equipment as claimed in claim 5, which is characterized in that first judging unit is specifically used for:
Obtain the initial point position of the first sliding touch operation and terminating point position;
Judge whether the initial point position and first distance value on the first side of first touch area are less than predetermined threshold value, Obtain the second judging result;
When second judging result shows that first distance value is less than the predetermined threshold value, the terminating point position is judged Whether it is less than the predetermined threshold value with the second distance value on the second side of second touch area, obtains the 3rd judging result;
Wherein, when the 3rd judging result shows that the second distance value is less than the predetermined threshold value, described first is determined Judging result is the first direction for first glide direction.
7. the first electronic equipment as claimed in claim 5, which is characterized in that first electronic equipment further includes:
Second judgment unit, for whether being from described in first glide direction for judging the first sliding touch operation First touch area is drawn to the first direction of second touch area, after obtaining the first judging result, is sentenced when described first Break the result shows that when first glide direction is not the first direction, judge whether first glide direction is from described Second touch area is drawn to the second direction of first touch area, obtains the 5th judging result;
Second generation unit, for when it is second direction that the 5th judging result, which shows first glide direction, generating And send what the 4th control instruction was included to second electronic equipment, the 4th control instruction and first control instruction Function is different.
8. the first electronic equipment as claimed in claim 7, which is characterized in that second generation unit is specifically used for:
Judge whether first sliding touch operation streaks the 3rd touch area, obtain the 6th judging result, wherein described the Three touch areas are region adjacent with first touch area and second touch area in the touch control unit;
When the 6th judging result shows that three touch area is streaked in the first sliding touch operation, generation is concurrent The 5th control instruction in the 4th control instruction is sent to second electronic equipment;
When the 6th judging result shows that the first sliding touch operation does not streak three touch area, generation is simultaneously The 6th control instruction in the 4th control instruction is sent to second electronic equipment, wherein the 5th control instruction and The corresponding function of 6th control instruction is different.
CN201310535842.2A 2013-11-01 2013-11-01 A kind of information processing method and electronic equipment Active CN104615342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310535842.2A CN104615342B (en) 2013-11-01 2013-11-01 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310535842.2A CN104615342B (en) 2013-11-01 2013-11-01 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104615342A CN104615342A (en) 2015-05-13
CN104615342B true CN104615342B (en) 2018-06-01

Family

ID=53149816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310535842.2A Active CN104615342B (en) 2013-11-01 2013-11-01 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104615342B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991714A (en) * 2015-06-16 2015-10-21 惠州Tcl移动通信有限公司 Mobile equipment and alarm control method of same
CN106325721A (en) * 2015-06-18 2017-01-11 联想移动通信软件(武汉)有限公司 Operation method and device for sensing areas on terminal touch screen and terminal
CN108958627B (en) * 2018-07-04 2022-04-01 Oppo广东移动通信有限公司 Touch operation method and device, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609191A (en) * 2012-01-14 2012-07-25 广东欧珀移动通信有限公司 Browsing interaction method for incoming messages of touchscreen cellphones
CN102662557A (en) * 2012-03-07 2012-09-12 上海华勤通讯技术有限公司 Mobile terminal and unlock method
CN103207691A (en) * 2012-01-11 2013-07-17 联想(北京)有限公司 Operation instruction generation method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI417764B (en) * 2007-10-01 2013-12-01 Giga Byte Comm Inc A control method and a device for performing a switching function of a touch screen of a hand-held electronic device
TW200921478A (en) * 2007-11-06 2009-05-16 Giga Byte Comm Inc A picture-page scrolling control method of touch panel for hand-held electronic device and device thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103207691A (en) * 2012-01-11 2013-07-17 联想(北京)有限公司 Operation instruction generation method and electronic equipment
CN102609191A (en) * 2012-01-14 2012-07-25 广东欧珀移动通信有限公司 Browsing interaction method for incoming messages of touchscreen cellphones
CN102662557A (en) * 2012-03-07 2012-09-12 上海华勤通讯技术有限公司 Mobile terminal and unlock method

Also Published As

Publication number Publication date
CN104615342A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
US11301126B2 (en) Icon control method and terminal
CN104345950B (en) A kind of method and electronic equipment of information processing
CN104317452B (en) Method for controlling large-screen intelligent device
CN104133581A (en) Physical object detection and touchscreen interaction
AU2013348880A1 (en) Split-screen display method and apparatus, and electronic device thereof
CN103019427A (en) Control method and electronic equipment
JP2013530587A5 (en)
CN102768595B (en) A kind of method and device identifying touch control operation instruction on touch-screen
CN104364734A (en) Remote session control using multi-touch inputs
CN109857303A (en) Interaction control method and device
CN107797722A (en) Touch screen icon selection method and device
CN103902183B (en) A kind of information processing method and electronic equipment
CN104298434B (en) A kind of information processing method and electronic equipment
CN104615342B (en) A kind of information processing method and electronic equipment
CN103309483B (en) A kind of electronic equipment and touch information input method
CN105204754B (en) The one-handed performance method and device of touch screen
CN104063142B (en) Information processing method, device and electronic equipment
CN105824534B (en) A kind of information processing method and electronic equipment
CN107463319A (en) Information processing method and device, storage medium, electronic equipment
CN106990900A (en) One kind writing implementation method and device
CN107092433B (en) Touch control method and device of touch control all-in-one machine
CN103455258A (en) Touch input identification method and electronic device
CN103914244B (en) The method and electronic equipment of a kind of information processing
CN103809912A (en) Tablet personal computer based on multi-touch screen
CN108132721B (en) Method for generating drag gesture, touch device and portable electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant