CN107765980A - Input method and device, terminal device and computer-readable recording medium - Google Patents

Input method and device, terminal device and computer-readable recording medium Download PDF

Info

Publication number
CN107765980A
CN107765980A CN201710908927.9A CN201710908927A CN107765980A CN 107765980 A CN107765980 A CN 107765980A CN 201710908927 A CN201710908927 A CN 201710908927A CN 107765980 A CN107765980 A CN 107765980A
Authority
CN
China
Prior art keywords
input frame
gesture
input
terminal device
content
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.)
Pending
Application number
CN201710908927.9A
Other languages
Chinese (zh)
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710908927.9A priority Critical patent/CN107765980A/en
Publication of CN107765980A publication Critical patent/CN107765980A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • 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
    • G06F3/04842Selection of displayed objects or displayed text elements

Abstract

The invention provides a kind of input method, methods described includes:The input frame of detection terminal equipment is activated and has a gesture that user sends after input content;Judge the type of the gesture;If the gesture is the first default gesture, predetermined registration operation is performed according to the application scenarios of the input frame.The present invention also provides a kind of input unit, terminal device and computer-readable recording medium.The present invention can be identified user gesture during being inputted using input frame and carry out corresponding operating, be convenient for users to operate.

Description

Input method and device, terminal device and computer-readable recording medium
Technical field
The present invention relates to intelligent terminal technical field, and in particular to a kind of input method and device, terminal device and calculating Machine readable storage medium storing program for executing.
Background technology
At present, as the terminal device such as the development of electronics and the communication technology, mobile phone, tablet personal computer is widely used.Eventually Information is inputted in input frame usually using input frame input information, user in end equipment, then click function button performs next The operation of step.Some inconvenience sometimes be present in this input method.For example, when user will send message (such as wechat message), often It is secondary to complete after inputting, it is necessary to find " transmission " button, then click on " transmission " button." transmission " button wants occupied terminal equipment certain Screen area, be unfavorable for the simple and beautiful at interface, and user operate it is also not convenient enough.Some application programs are in order to save Save interface layout, " transmissions " button and other function buttons be placed on same position, two functions according to input frame content oneself Dynamic switching, same inconvenient user's operation.
The content of the invention
In view of the foregoing, it is necessary to propose a kind of input method and device, terminal device and readable storage medium storing program for executing, it can To identify user gesture during being inputted using input frame and carry out corresponding operating, it is convenient for users to operate.
The first aspect of the application provides a kind of input method, and methods described includes:
The input frame of detection terminal equipment is activated and has a gesture that user sends after input content;
Judge the type of the gesture;
If the gesture is the first default gesture, predetermined registration operation is performed according to the application scenarios of the input frame.
In alternatively possible implementation, the described first default gesture be included on the touch-screen of the terminal device to Right slip or upward sliding.
It is described to be included according to the application scenarios of input frame execution predetermined registration operation in alternatively possible implementation:
Send the content in the input frame;Or
Inquired about or searched for using the content in the input frame as condition;Or
The cursor of the terminal device is moved into next input frame from current input frame;Or
Preserve the content in the input frame.
In alternatively possible implementation, methods described also includes:
If the gesture is the second default gesture, all or part of content in the input frame is deleted, wherein described the Two default gestures are included on the touch-screen of the terminal device to be slided to the left.
In alternatively possible implementation, methods described also includes:
When sending the content in the input frame, the content in the input frame shows animation.
In alternatively possible implementation, methods described also includes:
After input frame in the terminal device is activated and has input content, the terminal device is sensed by the gesture The position pressed;
If there are word, triggering shearing, the function of replicating, paste in the position pressed;
If the position pressed does not have word, corresponding operation is performed according to the type of the gesture, it is described to touch The position of pressure is the original position of the gesture.
The second aspect of the application provides a kind of input unit, and described device includes:
Detection unit, the input frame for detection terminal equipment are activated and have a gesture that user sends after input content;
Judging unit, for judging the type of the gesture;
Operating unit, if being the first default gesture for the gesture, performed according to the application scenarios of the input frame pre- If operation.
In alternatively possible implementation, the described first default gesture be included on the touch-screen of the terminal device to Right slip or upward sliding.
It is described to be included according to the application scenarios of input frame execution predetermined registration operation in alternatively possible implementation:
Send the content in the input frame;Or
Inquired about or searched for using the content in the input frame as condition;Or
The cursor of the terminal device is moved into next input frame from current input frame;Or
Preserve the content in the input frame.
In alternatively possible implementation, described device also includes:
Unit is deleted, if being the second default gesture for the gesture, is deleted in all or part in the input frame Hold, slided to the left wherein the described second default gesture is included on the touch-screen of the terminal device.
In alternatively possible implementation, described device also includes:
Animation display unit, for when sending the content in the input frame, the content in the input frame to show Show animation.
In alternatively possible implementation, described device also includes:
Conflict solving unit, for after the input frame of the terminal device is activated and has input content, described in sensing The position that terminal device is pressed by the gesture;If there is word the position pressed, what triggering was sheared, and replicated, pasting Function;If the position pressed does not have word, corresponding operation is performed according to the type of the gesture, it is described to press Position is the original position of the gesture.
The third aspect of the application provides a kind of terminal device, and the terminal device includes processor, and the processor is used The input method is realized when the computer program stored in memory is performed.
The fourth aspect of the application provides a kind of computer-readable recording medium, is stored thereon with computer program, described The input method is realized when computer program is executed by processor.
The input frame of detection terminal equipment of the present invention is activated and has a gesture that user goes out after input content;Judge the hand The type of gesture;If the gesture is the first default gesture, predetermined registration operation is performed according to the application scenarios of the input frame.The present invention User gesture can be identified during being inputted using input frame and carry out corresponding operating, be convenient for users to operate.
Brief description of the drawings
Fig. 1 is the flow chart for the input method that the embodiment of the present invention one provides;
Fig. 2 is the structure chart for the input unit that the embodiment of the present invention two provides;
Fig. 3 is the schematic diagram for the terminal device that the embodiment of the present invention three provides.
Main element symbol description
Terminal device 1
Input unit 10
Memory 20
Processor 30
Computer program 40
Detection unit 201
Judging unit 202
Operating unit 203
Following embodiment will combine above-mentioned accompanying drawing and further illustrate the present invention.
Embodiment
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention Applying example, the present invention will be described in detail.It should be noted that in the case where not conflicting, embodiments herein and embodiment In feature can be mutually combined.
Elaborate many details in the following description to facilitate a thorough understanding of the present invention, described embodiment only Only it is part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill The every other embodiment that personnel are obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention The implication that technical staff is generally understood that is identical.Term used in the description of the invention herein is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Preferably, input method of the invention is applied in one or more terminal device.The terminal device is one Kind can be according to the instruction for being previously set or storing, and the automatic numerical computations and/or the equipment of information processing, its hardware of carrying out include But be not limited to microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Programmable gate array (Field-Programmable Gate Array, FPGA), digital processing unit (Digital Signal Processor, DSP), embedded device etc..
The terminal device, which may be, but not limited to, any one, to pass through keyboard, mouse, remote control, touch with user The mode such as plate or voice-operated device carries out the electronic product of man-machine interaction, for example, tablet personal computer, smart mobile phone, personal digital assistant (Personal Digital Assistant, PDA), intelligent wearable equipment etc..
Embodiment one
Fig. 1 is the flow chart for the input method that the embodiment of the present invention one provides.As shown in figure 1, this method specifically include with Lower step:
101:The input frame of detection terminal equipment is activated and has a gesture that user sends after input content.
The input frame can be any input frame shown on the screen of terminal device, for inputting information.For example, institute The address box that input frame can be search for application (such as Baidu, Google) is stated, for inputting the network address to be opened, either The search box of search for application, for inputting search key.And for example, the input frame can be instant messaging application program The message input frame of (such as wechat, QQ), for inputting the new information to be sent.For another example, the input frame can be that system is stepped on The input frame at interface is recorded, for inputting the username and password used in login system.
It can judge whether input frame is activated by the way of any suitable.For example, the input frame can be detected Whether it is clicked, if detecting, the input frame is clicked, and the input frame is activated.And for example, cursor can be detected whether The input frame is moved into, cursor is moved into the input frame if detecting, the input frame is activated.
, can be with the specified touch area of detection terminal equipment after the input frame of terminal device is activated and has input content The gesture that user sends.For example, the gesture that user sends in the input frame can be detected.And for example, the terminal can be detected The gesture that user sends in the interface of input method of equipment and the input frame.Or the input frame of terminal device is activated and had , can be with user sends (in i.e. whole touch-screen) in the optional touch region of detection terminal equipment gesture after input content.
102:Judge the type of the gesture.
The gesture can include the first default gesture, and the described first default gesture can be included in the terminal device On touch-screen to the right slide or upward sliding.The gesture can also include the second default gesture, and the described second default gesture can Slided to the left on the touch-screen of the terminal device with being included in.
The identification parameter (such as displacement, translational speed, moving direction etc.) of different gestures can be pre-set, according to The identification parameter judges the type of the gesture.For example, the displacement slided to the right is 100px (i.e. 100 pixels), it is mobile Speed is 100px/s (i.e. 100 pixels/second), and moving direction is to the right.If detecting, user presses the touch of the terminal device Unclamped after the mobile segment distance of screen, displacement is more than 100px, and translational speed is more than 100px/s, and moving direction is to the right, then The gesture is judged to slide to the right, that is, judges the gesture for the first default gesture.And for example, the displacement of upward sliding is 100px (i.e. 100 pixels), translational speed are 100px/s (i.e. 100 pixels/second), and moving direction is upward.If detect user Press after the touch-screen moves a segment distance and unclamp, displacement is more than 100px, and translational speed is more than 100px/s, movement side To being upward, then it is upward sliding to be judged as the gesture, that is, judges the gesture for the first default gesture.For another example, slide to the left Dynamic displacement is 100px (i.e. 100 pixels), and translational speed is 100px/s (i.e. 100 pixels/second), moving direction be to It is left.If detecting that user is pressed after the touch-screen moves a segment distance to unclamp, displacement is more than 100px, and translational speed is big In 100px/s, moving direction is to the left, to be then judged as the gesture to slide to the left, that is, judges that the gesture is default for second Gesture.
103:If the gesture is the first default gesture, predetermined registration operation is performed according to the application scenarios of the input frame.
In the present embodiment, the described first default gesture be included on the touch-screen of the terminal device slide to the right or to Upper slip.Therefore, if the gesture be on the touch-screen of the terminal device to the right slide or upward sliding, according to described in The application scenarios of input frame perform predetermined registration operation.
Performing predetermined registration operation according to the application scenarios of the input frame can include:Determine the type (example of the input frame Such as message input frame) and/or the terminal device current display interface (such as dialog interface of instant messaging application program), Corresponding predetermined registration operation is performed according to the type of the input frame and/or the current display interface of the terminal device.
Specifically, in the present embodiment, performing predetermined registration operation according to the application scenarios of the input frame can include:Send Content in the input frame.For example, the input frame inputs for the message of instant messaging application program (such as wechat, QQ) Frame, if the gesture is the first default gesture, send the content in the message input frame.
Or it can be included according to the application scenarios of input frame execution predetermined registration operation:In in the input frame Appearance is inquired about or searched for as condition.For example, the input frame is the search of search for application (such as Baidu, Google) Frame, if the gesture is the first default gesture, inquired about using the search key of search box input as condition or Search.
Or it can be included according to the application scenarios of input frame execution predetermined registration operation:By the light of the terminal device Mark moves to next input frame from current input frame.For example, current display interface is the system login interface of the terminal device, institute The user name input frame that input frame is system login interface is stated, if the gesture is the first default gesture, the terminal is set Standby cursor moves to the Password Input frame at system login interface from the user name input frame.
Or it can be included according to the application scenarios of input frame execution predetermined registration operation:Preserve in the input frame Content.For example, Password Input frame of the input frame for the screen-lock password of the setting terminal device, if the gesture is first Default gesture, then preserve the password set in the Password Input frame.
Predetermined registration operation, which is performed, according to the application scenarios of the input frame can also be other operations.For example, the input frame For order input frame, if the gesture is the first default gesture, the order inputted in the order input frame is performed.And for example, The input frame is the address box of search for application, if the gesture is the first default gesture, opens the address box pair The webpage answered.
The input frame of the input method detection terminal equipment of embodiment one is activated and has what user after input content sent Gesture;Judge the type of the gesture;If the gesture is the first default gesture, performed according to the application scenarios of the input frame Predetermined registration operation.The input method of embodiment one can be identified user gesture and be carried out during being inputted using input frame Corresponding operating, it is convenient for users to operate.
In another embodiment, methods described can also include:If the gesture is the second default gesture, delete described defeated Enter all or part of content in frame, slided to the left wherein the described second default gesture is included on the touch-screen of the terminal device It is dynamic.For example, the input frame is the message input frame of instant messaging application program, if the gesture is the second default gesture, Delete the full content in the message input frame, or the partial content deleted in the message input frame (such as deletes institute State the word or word recently entered in message input frame).
In another embodiment, methods described can also include:When sending the content in the input frame, according to described Content in input frame shows animation.For example, show that the content in the input frame is moved to destination locations from the input frame Animation.For example, the input frame is the message input frame of instant messaging application program, and the current of the terminal device shows Show that interface includes the dialog region of the communication application program, after detecting the first default gesture, sending the message input During content in frame, show that the content in the message input frame is moved to the dynamic of the dialog region from the message input frame Draw, such as show that the word in the message input frame waves to the animation of the dialog region from the message input frame.
In another embodiment, methods described can also include:It is activated and has defeated in the input frame of the terminal device After entering content, the position that the terminal device is pressed by the gesture is sensed;If there is word (or institute the position pressed The distance for stating the position pressed and word is less than or equal to pre-determined distance), then the function that triggering is sheared, replicates, pasted;If institute Stating the position pressed does not have word (or the distance of the position pressed and word is more than pre-determined distance), then according to the hand The type of gesture performs corresponding operation (perform and operated corresponding to operation corresponding to the first default gesture or the second default gesture), The position that presses is the original position of the gesture.Therefore, the present invention can touch in input process according to the gesture The difference of the position of pressure triggers different functions, avoids and performs the function of predetermined registration operation with being cut in input frame according to gesture The function phase conflict cut, replicate, pasted.
Embodiment two
Fig. 2 is the structure chart for the input unit that the embodiment of the present invention two provides.As shown in Fig. 2 the input unit 10 can With including:Detection unit 201, judging unit 202, operating unit 203.
Detection unit 201, the input frame for detection terminal equipment are activated and have a hand that user sends after input content Gesture.
The input frame can be any input frame shown on the screen of terminal device, for inputting information.For example, institute The address box that input frame can be search for application (such as Baidu, Google) is stated, for inputting the network address to be opened, either The search box of search for application, for inputting search key.And for example, the input frame can be instant messaging application program The message input frame of (such as wechat, QQ), for inputting the new information to be sent.For another example, the input frame can be that system is stepped on The input frame at interface is recorded, for inputting the username and password used in login system.
It can judge whether input frame is activated by the way of any suitable.For example, the input frame can be detected Whether it is clicked, if detecting, the input frame is clicked, and the input frame is activated.And for example, cursor can be detected whether The input frame is moved into, cursor is moved into the input frame if detecting, the input frame is activated.
, can be with the specified touch area of detection terminal equipment after the input frame of terminal device is activated and has input content The gesture that user sends.For example, the gesture that user sends in the input frame can be detected.And for example, the terminal can be detected The gesture that user sends in the interface of input method of equipment and the input frame.Or the input frame of terminal device is activated and had , can be with user sends (in i.e. whole touch-screen) in the optional touch region of detection terminal equipment gesture after input content.
Judging unit 202, for judging the type of the gesture.
The gesture can include the first default gesture, and the described first default gesture can be included in the terminal device On touch-screen to the right slide or upward sliding.The gesture can also include the second default gesture, and the described second default gesture can Slided to the left on the touch-screen of the terminal device with being included in.
The identification parameter (such as displacement, translational speed, moving direction etc.) of different gestures can be pre-set, according to The identification parameter judges the type of the gesture.For example, the displacement slided to the right is 100px (i.e. 100 pixels), it is mobile Speed is 100px/s (i.e. 100 pixels/second), and moving direction is to the right.If detecting, user presses the touch of the terminal device Unclamped after the mobile segment distance of screen, displacement is more than 100px, and translational speed is more than 100px/s, and moving direction is to the right, then The gesture is judged to slide to the right, that is, judges the gesture for the first default gesture.And for example, the displacement of upward sliding is 100px (i.e. 100 pixels), translational speed are 100px/s (i.e. 100 pixels/second), and moving direction is upward.If detect user Press after the touch-screen moves a segment distance and unclamp, displacement is more than 100px, and translational speed is more than 100px/s, movement side To being upward, then it is upward sliding to be judged as the gesture, that is, judges the gesture for the first default gesture.For another example, slide to the left Dynamic displacement is 100px (i.e. 100 pixels), and translational speed is 100px/s (i.e. 100 pixels/second), moving direction be to It is left.If detecting that user is pressed after the touch-screen moves a segment distance to unclamp, displacement is more than 100px, and translational speed is big In 100px/s, moving direction is to the left, to be then judged as the gesture to slide to the left, that is, judges that the gesture is default for second Gesture.
Operating unit 203, if being the first default gesture for the gesture, performed according to the application scenarios of the input frame Predetermined registration operation.
In the present embodiment, the described first default gesture be included on the touch-screen of the terminal device slide to the right or to Upper slip.Therefore, if the gesture be on the touch-screen of the terminal device to the right slide or upward sliding, according to described in The application scenarios of input frame perform predetermined registration operation.
Performing predetermined registration operation according to the application scenarios of the input frame can include:Determine the type (example of the input frame Such as message input frame) and/or the terminal device current display interface (such as dialog interface of instant messaging application program), Corresponding predetermined registration operation is performed according to the type of the input frame and/or the current display interface of the terminal device.
Specifically, in the present embodiment, performing predetermined registration operation according to the application scenarios of the input frame can include:Send Content in the input frame.For example, the input frame inputs for the message of instant messaging application program (such as wechat, QQ) Frame, if the gesture is the first default gesture, send the content in the message input frame.
Or it can also be included according to the application scenarios of input frame execution predetermined registration operation:With in the input frame Content is inquired about or searched for as condition.For example, the input frame is the search of search for application (such as Baidu, Google) Frame, if the gesture is the first default gesture, inquired about using the search key of search box input as condition or Search.
Or it can be included according to the application scenarios of input frame execution predetermined registration operation:By the light of the terminal device Mark moves to next input frame from current input frame.For example, current display interface is the system login interface of the terminal device, institute The user name input frame that input frame is system login interface is stated, if the gesture is the first default gesture, the terminal is set Standby cursor moves to the Password Input frame at system login interface from the user name input frame.
Or it can be included according to the application scenarios of input frame execution predetermined registration operation:Preserve in the input frame Content.For example, Password Input frame of the input frame for the screen-lock password of the setting terminal device, if the gesture is first Default gesture, then preserve the password set in the Password Input frame.
Predetermined registration operation, which is performed, according to the application scenarios of the input frame can also be other operations.For example, the input frame For order input frame, if the gesture is the first default gesture, the order inputted in the order input frame is performed.And for example, The input frame is the address box of search for application, if the gesture is the first default gesture, opens the address box pair The webpage answered.
User sends after the input frame of the detection terminal equipment of input unit 10 of embodiment two is activated and has input content Gesture;Judge the type of the gesture;If the gesture is the first default gesture, held according to the application scenarios of the input frame Row predetermined registration operation.The input unit 10 of embodiment two can identify user gesture simultaneously during being inputted using input frame Corresponding operating is carried out, is convenient for users to operate.
In another embodiment, the input unit 10 can also include:
Unit is deleted, if being the second default gesture for the gesture, is deleted in all or part in the input frame Hold, slided to the left wherein the described second default gesture is included on the touch-screen of the terminal device.For example, the input frame is The message input frame of instant messaging application program, if the gesture is the second default gesture, delete in the message input frame Full content, or the partial content deleted in the message input frame (such as deletes last defeated in the message input frame The word or word entered).
In another embodiment, the input unit 10 can also include:
Animation display unit, for when sending the content in the input frame, the content in the input frame to show Show animation.For example, show that the content in the input frame is moved to the animation of destination locations from the input frame.For example, The input frame is the message input frame of instant messaging application program, and the current display interface of the terminal device includes described lead to Believe the dialog region of application program, after detecting the first default gesture, in the content in sending the message input frame, display Content in the message input frame is moved to the animation of the dialog region from the message input frame, such as disappears described in display Word in breath input frame waves to the animation of the dialog region from the message input frame.
In another embodiment, the input unit 10 can also include:
Conflict solving unit, for after the input frame of the terminal device is activated and has input content, described in sensing The position that terminal device is pressed by the gesture;If the position pressed have word (or the position pressed with text The distance of word is less than or equal to pre-determined distance), then the function that triggering is sheared, replicates, pasted;If the position pressed does not have Word (or the distance of the position pressed and word is more than pre-determined distance), then performed according to the type of the gesture corresponding Operation (perform and operated corresponding to operation corresponding to the first default gesture or the second default gesture), the position that presses is The original position of the gesture.Therefore, the difference of position that the present invention can press in input process according to the gesture come Different functions is triggered, avoids and the function of predetermined registration operation and the work(sheared, replicate, pasted in input frame is performed according to gesture Can mutually it conflict.
Embodiment three
Fig. 3 is the schematic diagram for the terminal device that the embodiment of the present invention three provides.The terminal device 1 include memory 20, Processor 30 and the computer program 40 that can be run in the memory 20 and on the processor 30 is stored in, for example, it is defeated Enter program.The processor 30 realizes the step in above-mentioned input method embodiment when performing the computer program 40, such as Step 101~103 shown in Fig. 1.Or the processor 30 realizes that said apparatus is implemented when performing the computer program 40 The function of each module/unit in example, such as unit 201~203.
Exemplary, the computer program 40 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 20, and are performed by the processor 30, to complete the present invention.Described one Individual or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used for Implementation procedure of the computer program 40 in the terminal device 1 is described.For example, the computer program 40 can be divided Detection unit 201 in Fig. 2, judging unit 202, operating unit 203 are cut into, each module concrete function is referring to embodiment two.
The terminal device 1 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.It will be understood by those skilled in the art that the schematic diagram 3 is only the example of terminal device 1, do not form to terminal device It 1 restriction, can include than illustrating more or less parts, either combine some parts or different parts, such as institute Input-output equipment, network access equipment, bus etc. can also be included by stating terminal device 1.
Alleged processor 30 can be CPU (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor 30 can also be any conventional processor Deng the processor 30 is the control centre of the terminal device 1, utilizes various interfaces and the whole terminal device 1 of connection Various pieces.
The memory 20 can be used for storing the computer program 40 and/or module/unit, and the processor 30 passes through Operation performs the computer program and/or module/unit being stored in the memory 20, and calls and be stored in memory Data in 20, realize the various functions of the terminal device 1.The memory 20 can mainly include storing program area and storage Data field, wherein, storing program area can storage program area, (for example sound plays the application program needed at least one function Function, image player function etc.) etc.;Storage data field can store uses created data (such as sound according to terminal device 1 Frequency evidence, phone directory etc.) etc..In addition, memory 20 can include high-speed random access memory, can also include non-volatile Memory, such as hard disk, internal memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card), at least one disk memory, flush memory device or other Volatile solid-state part.
If the integrated module/unit of the terminal device 1 is realized in the form of SFU software functional unit and as independent Production marketing in use, can be stored in a computer read/write memory medium.It is real based on such understanding, the present invention All or part of flow in existing above-described embodiment method, the hardware of correlation can also be instructed come complete by computer program Into described computer program can be stored in a computer-readable recording medium, and the computer program is being executed by processor When, can be achieved above-mentioned each embodiment of the method the step of.Wherein, the computer program includes computer program code, described Computer program code can be source code form, object identification code form, executable file or some intermediate forms etc..The meter Calculation machine computer-readable recording medium can include:Can carry any entity or device of the computer program code, recording medium, USB flash disk, Mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory Device (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..Need what is illustrated It is that the content that the computer-readable medium includes can be fitted according to legislation in jurisdiction and the requirement of patent practice When increase and decrease, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium, which does not include electric carrier wave, to be believed Number and telecommunication signal.
In several embodiments provided by the present invention, it should be understood that disclosed terminal device and method, Ke Yitong Other modes are crossed to realize.For example, terminal device embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode when actually realizing.
In addition, each functional unit in each embodiment of the present invention can be integrated in same treatment unit, can also That unit is individually physically present, can also two or more units be integrated in same unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of hardware adds software function module.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as to the involved claim of limitation.This Outside, it is clear that the word of " comprising " one is not excluded for other units or step, and odd number is not excluded for plural number.Stated in terminal device claim Multiple units or terminal device can also be realized by same unit or terminal device by software or hardware.The first, the Second-class word is used for representing title, and is not offered as any specific order.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although reference The present invention is described in detail for preferred embodiment, it will be understood by those within the art that, can be to the present invention's Technical scheme is modified or equivalent substitution, without departing from the spirit and scope of technical solution of the present invention.

Claims (10)

1. a kind of input method, it is characterised in that methods described includes:
The input frame of detection terminal equipment is activated and has a gesture that user sends after input content;
Judge the type of the gesture;
If the gesture is the first default gesture, predetermined registration operation is performed according to the application scenarios of the input frame.
2. the method as described in claim 1, it is characterised in that the described first default gesture is included in touching for the terminal device Touch screen on to the right slide or upward sliding.
3. the method as described in claim 1, it is characterised in that described to perform default behaviour according to the application scenarios of the input frame Work includes:
Send the content in the input frame;Or
Inquired about or searched for using the content in the input frame as condition;Or
The cursor of the terminal device is moved into next input frame from current input frame;Or
Preserve the content in the input frame.
4. the method as described in any one in claim 1-3, it is characterised in that methods described also includes:
If the gesture is the second default gesture, all or part of content in the input frame is deleted, wherein described second is pre- Slided to the left if gesture is included on the touch-screen of the terminal device.
5. the method as described in any one in claim 1-3, it is characterised in that methods described also includes:
When sending the content in the input frame, the content in the input frame shows animation.
6. the method as described in any one in claim 1-3, it is characterised in that methods described also includes:
After input frame in the terminal device is activated and has input content, sense the terminal device and pressed by the gesture Position;
If there are word, triggering shearing, the function of replicating, paste in the position pressed;
If the position pressed does not have word, corresponding operation is performed according to the type of the gesture, it is described to press Position is the original position of the gesture.
7. a kind of input unit, it is characterised in that described device includes:
Detection unit, the input frame for detection terminal equipment are activated and have a gesture that user sends after input content;
Judging unit, for judging the type of the gesture;
Operating unit, if being the first default gesture for the gesture, default behaviour is performed according to the application scenarios of the input frame Make.
8. device as claimed in claim 7, it is characterised in that described to perform default behaviour according to the application scenarios of the input frame Work includes:
Send the content in the input frame;Or
Inquired about or searched for using the content in the input frame as condition;Or
The cursor of the terminal device is moved into next input frame from current input frame;Or
Preserve the content in the input frame.
9. a kind of terminal device, it is characterised in that the terminal device includes processor, and the processor is used to perform memory The input method as described in any one in claim 1-6 is realized during the computer program of middle storage.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that:The computer program The input method as described in any one in claim 1-6 is realized when being executed by processor.
CN201710908927.9A 2017-09-29 2017-09-29 Input method and device, terminal device and computer-readable recording medium Pending CN107765980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710908927.9A CN107765980A (en) 2017-09-29 2017-09-29 Input method and device, terminal device and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710908927.9A CN107765980A (en) 2017-09-29 2017-09-29 Input method and device, terminal device and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107765980A true CN107765980A (en) 2018-03-06

Family

ID=61267830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710908927.9A Pending CN107765980A (en) 2017-09-29 2017-09-29 Input method and device, terminal device and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107765980A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110806834A (en) * 2019-10-30 2020-02-18 北京字节跳动网络技术有限公司 Information processing method and device based on input method, electronic equipment and medium
CN112527183A (en) * 2020-12-23 2021-03-19 北京华宇信息技术有限公司 Method and device for deleting text by hand drawing
CN114063855A (en) * 2021-11-12 2022-02-18 北京字跳网络技术有限公司 Content input method, device, equipment and medium of instant communication software

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8499258B1 (en) * 2012-03-04 2013-07-30 Lg Electronics Inc. Touch input gesture based command
CN104102411A (en) * 2014-07-17 2014-10-15 广东欧珀移动通信有限公司 Text editing method and text editing device
CN104239381A (en) * 2013-06-07 2014-12-24 三星电子株式会社 Portable terminal and user interface method in portable terminal
CN104360808A (en) * 2014-12-04 2015-02-18 李方 Method and device for editing documents by using symbolic gesture instructions
CN104410561A (en) * 2013-10-29 2015-03-11 贵阳朗玛信息技术股份有限公司 Method and device for sending chat emoticon
CN105183184A (en) * 2015-08-27 2015-12-23 广东欧珀移动通信有限公司 Character processing method and terminal
CN105389114A (en) * 2015-11-10 2016-03-09 北京新美互通科技有限公司 Content input method and device
CN105867820A (en) * 2016-03-31 2016-08-17 百度在线网络技术(北京)有限公司 Text editing method and device for touch screen
CN106293113A (en) * 2015-05-29 2017-01-04 敖青 A kind of interactive character input system and exchange method thereof
CN106557248A (en) * 2015-09-22 2017-04-05 阿里巴巴集团控股有限公司 Content input method and device
CN106775411A (en) * 2016-12-24 2017-05-31 珠海市魅族科技有限公司 Display control method and system
CN106896976A (en) * 2015-12-18 2017-06-27 中兴通讯股份有限公司 The changing method of the object that cursor is chosen, device and terminal
CN106951165A (en) * 2017-03-30 2017-07-14 维沃移动通信有限公司 A kind of word editing method and mobile terminal

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8499258B1 (en) * 2012-03-04 2013-07-30 Lg Electronics Inc. Touch input gesture based command
CN104239381A (en) * 2013-06-07 2014-12-24 三星电子株式会社 Portable terminal and user interface method in portable terminal
CN104410561A (en) * 2013-10-29 2015-03-11 贵阳朗玛信息技术股份有限公司 Method and device for sending chat emoticon
CN104102411A (en) * 2014-07-17 2014-10-15 广东欧珀移动通信有限公司 Text editing method and text editing device
CN104360808A (en) * 2014-12-04 2015-02-18 李方 Method and device for editing documents by using symbolic gesture instructions
CN106293113A (en) * 2015-05-29 2017-01-04 敖青 A kind of interactive character input system and exchange method thereof
CN105183184A (en) * 2015-08-27 2015-12-23 广东欧珀移动通信有限公司 Character processing method and terminal
CN106557248A (en) * 2015-09-22 2017-04-05 阿里巴巴集团控股有限公司 Content input method and device
CN105389114A (en) * 2015-11-10 2016-03-09 北京新美互通科技有限公司 Content input method and device
CN106896976A (en) * 2015-12-18 2017-06-27 中兴通讯股份有限公司 The changing method of the object that cursor is chosen, device and terminal
CN105867820A (en) * 2016-03-31 2016-08-17 百度在线网络技术(北京)有限公司 Text editing method and device for touch screen
CN106775411A (en) * 2016-12-24 2017-05-31 珠海市魅族科技有限公司 Display control method and system
CN106951165A (en) * 2017-03-30 2017-07-14 维沃移动通信有限公司 A kind of word editing method and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110806834A (en) * 2019-10-30 2020-02-18 北京字节跳动网络技术有限公司 Information processing method and device based on input method, electronic equipment and medium
CN112527183A (en) * 2020-12-23 2021-03-19 北京华宇信息技术有限公司 Method and device for deleting text by hand drawing
CN114063855A (en) * 2021-11-12 2022-02-18 北京字跳网络技术有限公司 Content input method, device, equipment and medium of instant communication software

Similar Documents

Publication Publication Date Title
US10705783B2 (en) Showing interactions as they occur on a whiteboard
US9152529B2 (en) Systems and methods for dynamically altering a user interface based on user interface actions
WO2021232930A1 (en) Application screen splitting method and apparatus, storage medium and electric device
US7596761B2 (en) Application user interface with navigation bar showing current and prior application contexts
CN102207826B (en) A kind of method and system of scribble
CN112154427A (en) Progressive display user interface for collaborative documents
CN104541239A (en) Text select and enter
CN104954549B (en) Electronic device and communication means
EP3084634B1 (en) Interaction with spreadsheet application function tokens
CN106991179A (en) Data-erasure method, device and mobile terminal
CN107291355A (en) Screenshotss control method and device, terminal device and storage medium
CN105518604A (en) Feedback for lasso selection
CN108170342A (en) Application Program Interface display methods and device, terminal, readable storage medium storing program for executing
CN113194024B (en) Information display method and device and electronic equipment
CN113179204B (en) Message withdrawal method and device and electronic equipment
CN113518026A (en) Message processing method and device and electronic equipment
CN105426049B (en) A kind of delet method and terminal
CN107765980A (en) Input method and device, terminal device and computer-readable recording medium
CN104077065A (en) Method for displaying virtual keyboard by touch screen terminal and touch screen terminal
CN107037888A (en) A kind of input method, device and the device for input
CN105009038A (en) Electronic device having touch-sensitive user interface and related operating method
CN104750401A (en) Touch method and related device as well as terminal equipment
US10733169B2 (en) Interactive user interface for refreshable objects in shared documents
CN110069183A (en) The method and apparatus of information for rendering
CN107807783A (en) Terminal operation method and device, computer installation and readable storage medium storing program for executing

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180306

RJ01 Rejection of invention patent application after publication