CN106125954B - Input method based on terminal movement locus and device - Google Patents

Input method based on terminal movement locus and device Download PDF

Info

Publication number
CN106125954B
CN106125954B CN201610413028.7A CN201610413028A CN106125954B CN 106125954 B CN106125954 B CN 106125954B CN 201610413028 A CN201610413028 A CN 201610413028A CN 106125954 B CN106125954 B CN 106125954B
Authority
CN
China
Prior art keywords
word
terminal
track
entered
movement locus
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
CN201610413028.7A
Other languages
Chinese (zh)
Other versions
CN106125954A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610413028.7A priority Critical patent/CN106125954B/en
Publication of CN106125954A publication Critical patent/CN106125954A/en
Application granted granted Critical
Publication of CN106125954B publication Critical patent/CN106125954B/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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • 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

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 disclosure is directed to a kind of input method and device based on terminal movement locus, this method passes through under the input pattern of track, the movement locus of detection terminal and assist in identifying signal, wherein, movement locus is the track that user is formed according to the stroke mobile terminal of word to be entered, assist in identifying signal to be user form according to the stroke mobile terminal of word to be entered and is inputted by terminal during movement locus, assist in identifying stroke track of the signal for distinguishing word to be entered, and then according to movement locus and assist in identifying signal, the stroke track of word to be entered is identified from movement locus, word to be entered is determined according to the stroke track of word to be entered.User only needs the stroke mobile terminal according to word to be entered in the air in the method, so that it may to complete the input of word, better experience is brought to user.

Description

Input method based on terminal movement locus and device
Technical field
This disclosure relates to the communication technology more particularly to a kind of input method and device based on terminal movement locus.
Background technology
Universal with portable electronic device, people input the frequency of word also more and more on a portable electronic device Height, therefore, user experience when user increasingly pays close attention to the input efficiency of input method and carries out word input.At present on the market The method for inputting word is inputted to the clicking operation of the dummy keyboard on touch screen based on user mostly, also has user logical It crosses felt pen or finger tip is inputted, when user inputs a word, can show that multiple users may think in prompt column The word to be inputted is selected for user.
Invention content
To overcome the problems in correlation technique, the disclosure provides a kind of input method of the movement locus based on terminal And device.
According to the first aspect of the embodiments of the present disclosure, a kind of input method based on terminal movement locus is provided, including:
Under the input pattern of track, the movement locus of detection terminal, the movement locus is user according to word to be entered Stroke moves the track that the terminal is formed;
Detection assists in identifying signal, and the signal that assists in identifying is described in stroke movement of the user according to the word to be entered What terminal was inputted during forming the movement locus by the terminal, the signal that assists in identifying is for distinguishing described wait for Input the stroke track of word;
According to the movement locus and it is described assist in identifying signal, the word to be entered is identified from the movement locus Stroke track;
The word to be entered is determined according to the stroke track of the word to be entered;
Show the word to be entered.
Optionally, described when to assist in identifying signal be that user moves the terminal and forms each stroke of the word to be entered The signal of input is synchronized by the terminal;
It is described according to the movement locus and it is described assist in identifying signal, identified from the movement locus it is described wait for it is defeated Enter the stroke track of word, including:
According to the movement locus and it is described assist in identifying signal, identified from the movement locus and the auxiliary know Stroke track of the track that level signal synchronizes as the word to be entered.
Optionally, described to assist in identifying adjacent two pens of input sequence that signal is the terminal from the word to be entered User synchronizes the signal of input by the terminal when being moved between picture;
It is described according to the movement locus and it is described assist in identifying signal, identified from the movement locus it is described wait for it is defeated Enter the stroke track of word, including:
According to the movement locus and it is described assist in identifying signal, identified from the movement locus and the auxiliary know The track that level signal synchronizes, which is used as, assists in identifying track;
Determine in the movement locus except it is described assist in identifying track in addition to track be the word to be entered stroke track.
Optionally, the movement locus of the detection terminal, including:
Detect beginning input signal input by user;
It determines that the position of terminal when user inputs the beginning input signal is coordinate origin, determines the terminal Plane where screen is the plane where X-axis Y-axis, and Z axis is determined according to X-axis and Y-axis;
Detect moving direction, movement speed and the traveling time of the terminal;
According to the coordinate system of the foundation and moving direction of the terminal, movement speed and traveling time, the end is determined The movement locus at end.
Optionally, the signal that assists in identifying is the virtual push button input on touch screen that user passes through the terminal.
Optionally, the signal that assists in identifying is that user is inputted by the physical button in the terminal.
According to the second aspect of the embodiment of the present disclosure, a kind of input unit based on terminal movement locus is provided, including:
First detection module is configured as under the input pattern of track, the movement locus of detection terminal, the movement locus It is the track that user moves that the terminal is formed according to the stroke of word to be entered;
Second detection module is configured as detection and assists in identifying signal, and the signal that assists in identifying is user according to described The stroke of word to be entered, which moves, to be inputted by the terminal during the terminal forms the movement locus, the auxiliary Identification signal is used to distinguish the stroke track of the word to be entered;
Identification module is configured as detecting the movement locus and second detection according to the first detection module Module detect it is described assist in identifying signal, the stroke track of the word to be entered is identified from the movement locus;
Determining module, the stroke track for being configured as the word to be entered identified according to the identification module determine institute State word to be entered;
Display module is configured as showing the word to be entered that the determining module determines.
Optionally, described when to assist in identifying signal be that user moves the terminal and forms each stroke of the word to be entered The signal of input is synchronized by the terminal;
The identification module includes:
First identification submodule, according to the movement locus and it is described assist in identifying signal, know from the movement locus Do not go out and the stroke track for assisting in identifying the synchronous track of signal as the word to be entered.
Optionally, described to assist in identifying adjacent two pens of input sequence that signal is the terminal from the word to be entered User synchronizes the signal of input by the terminal when being moved between picture;
The identification module includes:
Second identification submodule, be configured as according to the movement locus and it is described assist in identifying signal, from the movement It is identified in track with the synchronous track of signal that assists in identifying as assisting in identifying track;
First determination sub-module, be configured to determine that in the movement locus except it is described assist in identifying track in addition to track be The stroke track of the word to be entered.
Optionally, the first detection module includes:
First detection sub-module is configured as detecting beginning input signal input by user;
Second determination sub-module is configured to determine that the position of terminal when user inputs the beginning input signal is Coordinate origin, the plane where determining the screen of the terminal are the plane where X-axis Y-axis, and Z axis is determined according to X-axis and Y-axis;
Second detection sub-module is configured as detecting moving direction, movement speed and the traveling time of the terminal;
Third determination sub-module is configured as moving direction, the mobile speed of the coordinate system and the terminal according to foundation Degree and traveling time, determine the movement locus of the terminal.
Optionally, the signal that assists in identifying is the virtual push button input on touch screen that user passes through the terminal.
Optionally, the signal that assists in identifying is that user is inputted by the physical button in the terminal.
According to the third aspect of the embodiment of the present disclosure, a kind of input unit based on terminal movement locus is provided, including:
Memory;
It is configured as the memory of storage processor-executable instruction;
Wherein, the processor is configured as:
Under the input pattern of track, the movement locus of detection terminal, the movement locus is user according to word to be entered Stroke moves the track that the terminal is formed;
Detection assists in identifying signal, and the signal that assists in identifying is described in stroke movement of the user according to the word to be entered What terminal was inputted during forming the movement locus by the terminal, the signal that assists in identifying is for distinguishing described wait for Input the stroke track of word;
According to the movement locus and it is described assist in identifying signal, the word to be entered is identified from the movement locus Stroke track;
The word to be entered is determined according to the stroke track of the word to be entered;
Show the word to be entered.
The technical scheme provided by this disclosed embodiment can include the following benefits:By in track input pattern Under, the movement locus of detection terminal and assist in identifying signal, wherein movement locus is that user moves according to the stroke of word to be entered The track that terminal is formed, it is the process that user forms movement locus according to the stroke mobile terminal of word to be entered to assist in identifying signal In inputted by terminal, assist in identifying signal for distinguishing the stroke track of word to be entered, and then according to movement locus and auxiliary Identification signal is helped, the stroke track of word to be entered is identified from movement locus, is determined and is waited for according to the stroke track of word to be entered Input word.User only needs the stroke mobile terminal according to word to be entered in the air in the method, so that it may to complete word Input, better experience is brought to user.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the present invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of flow of the input method of movement locus based on terminal shown according to an exemplary embodiment Figure.
Fig. 2 is the schematic diagram of the movement locus of terminal and the stroke track of word to be entered.
Fig. 3 is a kind of flow chart of input method based on terminal movement locus shown according to an exemplary embodiment.
Fig. 4 is a kind of flow chart of input method based on terminal movement locus shown according to an exemplary embodiment.
Fig. 5 is a kind of flow chart of input method based on terminal movement locus shown according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of input unit based on terminal movement locus shown according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of input unit based on terminal movement locus shown according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of input unit based on terminal movement locus shown according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of input unit based on terminal movement locus shown according to an exemplary embodiment.
Figure 10 is the entity for being a kind of input unit based on terminal movement locus shown according to an exemplary embodiment Block diagram.
Figure 11 is a kind of block diagram of input unit based on terminal movement locus shown according to an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is a kind of flow of the input method of movement locus based on terminal shown according to an exemplary embodiment Figure, this method are applied in terminal, which can be portable electronic device, such as smart mobile phone, as shown in Figure 1, the party Method includes the following steps.
In step S101, under the input pattern of track, the movement locus of detection terminal, the movement locus be user according to The track that the stroke mobile terminal of word to be entered is formed.
Track input pattern is newly defined input pattern of the present invention, inputted different from existing touch screen input, keyboard, Voice input pattern.According to one embodiment of the disclosure, track input pattern is the movement locus identification word based on terminal Pattern.For example, in one embodiment, after user opens track input pattern, user's hand-held terminal device is according to word to be entered Stroke mobile terminal device, i.e. user's using terminal writes a word to be entered in the air, which can be number, the Chinese Son, English alphabet.Can be by the kinematic parameter of the measuring terminals such as gyroscope, acceleration transducer in terminal, and then basis The movement locus that obtained kinematic parameter determines terminal is measured, which may include:The direction of motion, movement velocity, fortune Dynamic time etc..
In the present embodiment, user is in the regulation according to the stroke mobile terminal of word to be entered, and the track of terminal movement is not Only it is the track that the stroke of word to be entered is passed through, further includes the track between two adjacent strokes of input sequence, therefore, fortune Dynamic rail mark also includes two parts:The stroke track of word to be entered and assist in identifying track, the stroke track of word to be entered be wait for it is defeated The stroke for entering word is formed by track, assists in identifying and is formed between adjacent two strokes of input sequence that track is word to be entered Track.When word to be entered is made of a stroke, the stroke track of word to be entered is continuous track, when word to be entered by When multiple stroke compositions, the stroke track of word to be entered is discontinuous track, and it is usually discontinuous rail to assist in identifying track Mark.
In step s 102, detection assists in identifying signal, and it is stroke of the user according to word to be entered that this, which assists in identifying signal, What mobile terminal was inputted during forming movement locus by terminal, this assists in identifying pen of the signal for distinguishing word to be entered Draw track.
Since movement locus includes the stroke track of word to be entered and assists in identifying track two parts composition, in order to distinguish The stroke track of input word in movement locus and assist in identifying track, needs user's input to assist in identifying signal, which knows Level signal is that user inputs during mobile terminal forms movement locus, this assists in identifying signal word to be entered for identification Gesticulate track.It is that user moves when the terminal forms each stroke of word to be entered and synchronized by terminal that this, which assists in identifying signal, The signal of input, alternatively, this is moved between assisting in identifying adjacent two strokes of input sequence that signal is terminal from word to be entered User synchronizes the signal of input by terminal when dynamic.User can be auxiliary by this of the input of the virtual push button on the touch screen of terminal Identification signal is helped, this can also be inputted by the physical button in terminal and assist in identifying signal.For example, when user passes through terminal This of virtual push button input on touch screen is when assisting in identifying signal, after user is switched under estimation input pattern, in terminal Display interface on can show virtual push button, prompt message is also had beside the virtual push button, prompts user to be waited in input defeated The virtual push button is pinned when each stroke for entering word, and the virtual push button is decontroled when terminating the input of each stroke.In this way, when using When family starts to input first stroke of word to be entered, user press...withes one's finger the virtual push button, in first stroke input knot Beam, user decontrol the virtual push button, then the virtual push button is pinned in the position that mobile terminal starts to second stroke, input Second stroke decontrols the virtual push button after second stroke, and so on, until word to be entered input is completed.It needs It is moved according to word to be entered it is noted that the input mentioned in the present embodiment and following embodiment word to be entered all refers to user Dynamic terminal forms the process of movement locus.
In step s 103, according to movement locus and signal is assisted in identifying, word to be entered is identified from movement locus Stroke track.
In word input process to be entered, terminal can detect movement locus and assist in identifying signal, a kind of realization side simultaneously In formula, the letter of input is synchronized when customer mobile terminal forms each stroke of word to be entered when assisting in identifying signal by terminal Number when, terminal detects every time assists in identifying signal, determines that it is to be entered to assist in identifying the synchronous movement locus of signal with this The corresponding movement locus of stroke of word, in this way after word to be entered inputs, so that it may to determine the stroke rail of word to be entered Mark.In another realization method, detecting that the when of assisting in identifying signal records detection time, due to the movement rail in detection terminal During mark, the time for recording terminal movement is needed, therefore the detection time of each point of movement locus, Jin Er can be obtained After word end of input to be entered, the detection time of each point of the detection time and movement locus that assist in identifying signal is compared Compared with determining stroke track of the track synchronous with signal is assisted in identifying as word to be entered from movement locus.Above two Realization method moves between being also applied for assisting in identifying adjacent two strokes of input sequence that signal is terminal from word to be entered When user by terminal synchronize input signal the case where.
Fig. 2 is the schematic diagram of the movement locus of terminal and the stroke track of word to be entered, is existed as shown in Fig. 2, Fig. 2 is user The movement locus of terminal when inputting word to be entered " two ", the track of black and grey lines composition is that the movement of terminal is estimated in Fig. 2 The track of meter, black lines composition is the stroke track of word to be entered, and user can be at the corresponding track of input black lines It pins the input of the button in terminal and assists in identifying signal, alternatively, user can also press at the corresponding track of input grey lines Firmly the button input in terminal assists in identifying signal.
In step S104, word to be entered is determined according to the stroke track of word to be entered.
This step may be used existing technology and determine word to be entered, for example, in the prior art according to user using touch Pen or finger tip draw the track of word to be entered on input interface, terminal according to the track identification word to be entered that user draws, Same method may be used in the present embodiment, which is not described herein again.
In step S105, word to be entered is shown.
In the present embodiment, by under the input pattern of track, the movement locus of detection terminal and assist in identifying signal, In, the track that movement locus is user to be formed according to the stroke mobile terminal of word to be entered, assist in identifying signal be user according to What the stroke mobile terminal of word to be entered was inputted during forming movement locus by terminal, assist in identifying signal for distinguishing The stroke track of word to be entered, and then according to movement locus and assist in identifying signal, word to be entered is identified from movement locus Stroke track, word to be entered is determined according to the stroke track of word to be entered.In the method user only need in the air according to The stroke mobile terminal of word to be entered, so that it may to complete the input of word, better experience is brought to user.
Fig. 3 is a kind of flow chart of input method based on terminal movement locus shown according to an exemplary embodiment, As shown in figure 3, the method for the present embodiment includes the following steps.
In step s 201, under the input pattern of track, the movement locus of detection terminal, movement locus is user according to waiting for Input the track that the stroke mobile terminal of word is formed.
In step S202, detection assists in identifying signal, and it is that customer mobile terminal forms word to be entered to assist in identifying signal Each stroke when by terminal synchronize input signal.
It is synchronous that this, which assists in identifying signal with each stroke of word to be entered, i.e., user is formed to be entered in mobile terminal This is inputted while the stroke of word and assists in identifying signal, when mobile terminal moves between two strokes, does not input the auxiliary Identification signal.User can input this and assist in identifying signal by virtual push button in terminal or physical button, and user is every A stroke pins virtual push button when starting or physical button inputs this and assists in identifying signal, is decontroled when each stroke inputs completion Virtual push button or physical button.
In step S203, according to movement locus and assists in identifying signal, identify and assist in identifying from movement locus Stroke track of the track that signal synchronizes as word to be entered.
With reference to the associated description of step S103, which is not described herein again.
In step S204, word to be entered is determined according to the stroke track of word to be entered.
In step S205, word to be entered is shown.
In the present embodiment, when each stroke by forming word to be entered in customer mobile terminal passes through terminal and synchronizes input Assist in identifying signal, it is synchronous with each stroke of word to be entered that holding assists in identifying signal, and then according to movement locus and auxiliary Identification signal is helped, stroke track of the track synchronous with signal is assisted in identifying as word to be entered is identified from movement locus, So as to accurately identify the stroke track of word to be entered.
Fig. 4 is a kind of flow chart of input method based on terminal movement locus shown according to an exemplary embodiment, As shown in figure 4, the method for the present embodiment includes the following steps.
In step S301, under the input pattern of track, the movement locus of detection terminal, movement locus is user according to waiting for Input the track that the stroke mobile terminal of word is formed.
In step s 302, detection assists in identifying signal, and it is input sequence of the terminal from word to be entered to assist in identifying signal User synchronizes the signal of input by terminal when being moved between two adjacent strokes.
As shown in figure 3 unlike embodiment, this in the present embodiment assist in identifying signal not with each pen of word to be entered It draws and synchronizes, but the trajectory synchronization formed between the stroke of word to be entered, customer mobile terminal form each of word to be entered When stroke, this not being inputted and assists in identifying signal, when terminal moves between two strokes, i.e., terminal is moved to from current stroke When between next stroke, inputs this and assist in identifying signal.User can pass through the virtual push button or physical button in terminal It inputs this and assists in identifying signal, user pins virtual push button at the end of each stroke or physical button inputs this and assists in identifying letter Number, virtual push button or physical button are decontroled when each stroke inputs beginning.
In step S303, according to movement locus and assists in identifying signal, identify and assist in identifying from movement locus The track that signal synchronizes, which is used as, assists in identifying track.
In the present embodiment, since this assists in identifying the trajectory synchronization formed between signal and the stroke of word to be entered, According to movement locus and assist in identifying that signal identification goes out is to assist in identifying track, rather than the stroke track of word to be entered.
In step s 304, determine that the track in movement locus in addition to assisting in identifying track is the stroke rail of word to be entered Mark.
With reference to shown in Fig. 2, the track that grey lines indicate in Fig. 2 is to assist in identifying track, the track that black lines indicate It is the stroke track of word to be entered, as long as in identifying the stroke track for assisting in identifying track and word to be entered in movement locus Any one, can determine another track according to the track identified.
In step S305, word to be entered is determined according to the stroke track of word to be entered.
In step S306, word to be entered is shown.
In the present embodiment, user passes through end when being moved between two adjacent strokes of the input sequence of terminal from word to be entered The synchronous input in end assists in identifying signal, and then according to movement locus and assists in identifying signal, identified from movement locus with it is auxiliary It helps the track that identification signal synchronizes as track is assisted in identifying, determines that the track in movement locus in addition to assisting in identifying track is to wait for The stroke track for inputting word, so as to accurately identify the stroke track of word to be entered.
Fig. 5 is a kind of flow chart of input method based on terminal movement locus shown according to an exemplary embodiment, As shown in figure 5, the method for the present embodiment includes the following steps.
In step S401, under the input pattern of track, beginning input signal input by user is detected.
After user is switched to track input pattern, it can show that start button, user pass through click on the display page Start button input starts input signal, and terminal has detected whether beginning input signal.
In step S402, determines that the position that user inputs terminal when starting input signal is coordinate origin, determine terminal Screen where plane be X-axis Y-axis where plane, Z axis is determined according to X-axis and Y-axis.
In the present embodiment, the movement locus that terminal is determined in three-dimensional system of coordinate is needed, it is therefore desirable to first establish coordinate system. Using the position of terminal when detecting beginning input signal as coordinate origin in the present embodiment, by the plane where the screen of terminal The short side of terminal screen can be specifically determined as X-axis by the plane being determined as where X-axis Y-axis, and the long side of terminal screen is determined For Y-axis, Z axis is then determined according to the vertical relation of X-axis, Y-axis and Z axis, to establish coordinate system.
In step S403, moving direction, movement speed and the traveling time of detection terminal.
Movement technique, movement speed and the shifting of the detection terminals such as gyroscope, acceleration transducer in terminal can be passed through The dynamic time, by taking gyroscope as an example, by calling HTML5 gyroscope related application programming interface (Application Programming Interface, abbreviation API) moving direction, movement speed and traveling time are obtained, it is specific to call DeviceOrientationEvent obtains the moving direction of terminal, and DeviceMotionEvent is called to obtain movement speed, adjusts Traveling time is obtained with event.interval.
In step s 404, according to the coordinate system of the foundation and moving direction of terminal, movement speed and traveling time, really Determine the movement locus of terminal.
Assuming that original coordinates are (x1, yl), vectorial calculation is:V (speed) * T (time) * VD (vector)= Increase (x ', y '), the coordinate that primary movement terminates is:(x2, y2)=(x1, y1)+Increase (x ', y ').This implementation In example, primary movement includes:One stroke of word to be entered from start to end, and from the end of a stroke to another The beginning of stroke.It is calculated since terminal setting in motion, can obtain the movement locus of terminal, and the beginning of stroke and knot Beam is determined by assisting in identifying signal.
In step S405, detection assists in identifying signal, and it is stroke of the user according to word to be entered that this, which assists in identifying signal, What mobile terminal was inputted during forming movement locus by terminal, this assists in identifying pen of the signal for distinguishing word to be entered Draw track.
In step S406, according to movement locus and assists in identifying signal, word to be entered is identified from movement locus Stroke track.
In step S 407, word to be entered is determined according to the stroke track of word to be entered.
In step S408, word to be entered is shown.
The determination method of the movement locus of the present embodiment can be applied in any one above-mentioned embodiment, but this method It is not unique method, the movement locus of terminal can also be determined by other methods.
In the present embodiment, beginning input signal input by user is detected, determines that user inputs terminal when starting input signal Position be coordinate origin, determine that the plane where the screen of terminal is the plane where X-axis Y-axis, Z determined according to X-axis and Y-axis Axis, to establish coordinate system, the then moving direction of detection terminal, movement speed and traveling time, according to the coordinate of foundation Moving direction, movement speed and the traveling time of system and terminal, determine the movement locus of terminal.
Fig. 6 is a kind of block diagram of input unit based on terminal movement locus shown according to an exemplary embodiment.Such as Shown in Fig. 6, the device of the present embodiment includes first detection module 11, the second detection module 12, identification module 13, determining module 14 With display module 15.
First detection module 11 is configured as under the input pattern of track, the movement locus of detection terminal, the movement rail Mark is the track that user moves that the terminal is formed according to the stroke of word to be entered;
Second detection module 12 is configured as detection and assists in identifying signal, and the signal that assists in identifying is user according to institute The stroke for stating word to be entered is moved and is inputted by the terminal during the terminal forms the movement locus, described auxiliary Help stroke track of the identification signal for distinguishing the word to be entered;
Identification module 13 is configured as detecting the movement locus and described second according to the first detection module 11 Detection module 12 detect it is described assist in identifying signal, the stroke rail of the word to be entered is identified from the movement locus Mark;
Determining module 14, the stroke track for being configured as the word to be entered identified according to the identification module 13 are true The fixed word to be entered;
Display module 15 is configured as showing the word to be entered that the determining module 14 determines.
Fig. 7 is a kind of block diagram of input unit based on terminal movement locus shown according to an exemplary embodiment.Such as Shown in Fig. 7, on the basis of device shown in Fig. 6, the identification module 13 includes:First identification submodule 131.
In the present embodiment, the signal that assists in identifying is each pen that user moves that the terminal forms the word to be entered The signal of input is synchronized when picture by the terminal, the first identification submodule 131 is configured as according to the movement locus and institute State and assist in identifying signal, identified from the movement locus with it is described assist in identifying the synchronous track of signal be used as described in wait for it is defeated Enter the stroke track of word.
Optionally, the signal that assists in identifying is the virtual push button input on touch screen that user passes through the terminal. Alternatively, the signal that assists in identifying is that user is inputted by the physical button in the terminal.
Fig. 8 is a kind of block diagram of input unit based on terminal movement locus shown according to an exemplary embodiment.Such as Shown in Fig. 8, on the basis of device shown in Fig. 6, the identification module 13 includes:Second identification submodule 132 and first determines Submodule.
In the present embodiment, it is described assist in identifying signal be the terminal from the word to be entered input sequence it is adjacent two User synchronizes the signal of input by the terminal when being moved between a stroke, and the second identification submodule 132 is configured as basis The movement locus and it is described assist in identifying signal, identified from the movement locus and described to assist in identifying signal synchronous Track is configured to determine that in the movement locus as track, the first determination sub-module 133 is assisted in identifying except the auxiliary is known Track outside other track is the stroke track of the word to be entered.
Optionally, the signal that assists in identifying is the virtual push button input on touch screen that user passes through the terminal. Alternatively, the signal that assists in identifying is that user is inputted by the physical button in the terminal.
Fig. 9 is a kind of block diagram of input unit based on terminal movement locus shown according to an exemplary embodiment.Such as Shown in Fig. 9, on the basis of device shown in Fig. 6, the first detection module 11 includes:First detection sub-module 111, second is really Stator modules 112, the second detection sub-module 113 and third determination sub-module 114.
First detection sub-module 111 is configured as detecting beginning input signal input by user;
Second determination sub-module 112 is configured to determine that the position of terminal when user inputs the beginning input signal It is set to coordinate origin, the plane where determining the screen of the terminal is the plane where X-axis Y-axis, and Z is determined according to X-axis and Y-axis Axis;
Second detection sub-module 113 is configured as detecting moving direction, movement speed and the traveling time of the terminal;
Third determination sub-module 114 is configured as moving direction, the movement of the coordinate system and the terminal according to foundation Speed and traveling time determine the movement locus of the terminal.
About the input unit based on terminal movement locus in above-described embodiment, wherein modules execute the tool of operation Body mode is described in detail in the embodiment of the method, and explanation will be not set forth in detail herein.
Figure 10 is the entity for being a kind of input unit based on terminal movement locus shown according to an exemplary embodiment Block diagram, as shown in Figure 10, which includes:Processor 21 and memory 22 for storing 21 executable instruction of processor, are deposited Reservoir 22 is connected and communicated by system bus and processor 21.
Wherein, processor 21 is configured as:
Under the input pattern of track, the movement locus of detection terminal, the movement locus is user according to word to be entered Stroke moves the track that the terminal is formed;
Detection assists in identifying signal, and the signal that assists in identifying is described in stroke movement of the user according to the word to be entered What terminal was inputted during forming the movement locus by the terminal, the signal that assists in identifying is for distinguishing described wait for Input the stroke track of word;
According to the movement locus and it is described assist in identifying signal, the word to be entered is identified from the movement locus Stroke track;
The word to be entered is determined according to the stroke track of the word to be entered;
Show the word to be entered.
In the physical embodiment of the above-mentioned input unit based on terminal movement locus, it should be appreciated that during processor can be Central Processing Unit (English:Central Processing Unit, referred to as:CPU), it can also be other general processors, number Signal processor (English:Digital Signal Processor, referred to as:DSP), application-specific integrated circuit (English: Application Specific Integrated Circuit, referred to as:ASIC) etc..General processor can be microprocessor Or the processor can also be any conventional processor etc., and memory above-mentioned can be read-only memory (English: Read-only memory, abbreviation:ROM), random access memory (English:Random access memory, referred to as: RAM), flash memory, hard disk or solid state disk.The step of method in conjunction with disclosed in the embodiment of the present invention, can direct body Be now that hardware processor executes completion, or in processor hardware and software module combine and execute completion.
Figure 11 is a kind of block diagram of input unit based on terminal movement locus shown according to an exemplary embodiment.Example Such as, device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, and tablet is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 1, device 800 may include following one or more components:Processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of 802 usual control device 800 of processing component, such as with display, call, data communication, phase Machine operates and record operates associated operation.Processing component 802 may include that one or more processors 820 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown Example includes instruction for any application program or method that are operated on device 800, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 may include power management system System, one or more power supplys and other generated with for device 800, management and the associated component of distribution electric power.
Multimedia component 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When equipment 800 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor module 814 can detect the state that opens/closes of equipment 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800 Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application application-specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned Fig. 1 to Fig. 5 embodiments Shown in the input method based on terminal movement locus.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete above-mentioned Fig. 1 to Fig. 5 realities Apply the input method based on terminal movement locus shown in example.For example, the non-transitorycomputer readable storage medium can be with It is ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes so that mobile terminal is able to carry out the input side based on terminal movement locus shown in above-mentioned Fig. 1 to Fig. 5 embodiments Method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the present invention Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or Person's adaptive change follows the general principle of the present invention and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the invention is not limited in the precision architectures for being described above and being shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (11)

1. a kind of input method based on terminal movement locus, which is characterized in that including:
Under the input pattern of track, the movement locus of detection terminal, the movement locus is stroke of the user according to word to be entered The track that the mobile terminal is formed;
Detection assists in identifying signal, and the signal that assists in identifying is that user moves the terminal according to the stroke of the word to be entered Inputted by the terminal during forming the movement locus, it is described assist in identifying signal for distinguish it is described to be entered The stroke track of word;
According to the movement locus and it is described assist in identifying signal, the pen of the word to be entered is identified from the movement locus Draw track;
The word to be entered is determined according to the stroke track of the word to be entered;
Show the word to be entered;
Wherein, the movement locus of the detection terminal, including:
Detect beginning input signal input by user;
It determines that the position of terminal when user inputs the beginning input signal is coordinate origin, determines the screen of the terminal The plane at place is the plane where X-axis Y-axis, and Z axis is determined according to X-axis and Y-axis;
Detect moving direction, movement speed and the traveling time of the terminal;
According to the coordinate system of the foundation and moving direction of the terminal, movement speed and traveling time, the terminal is determined Movement locus;
Wherein, the movement locus includes two parts:The stroke track of word to be entered and assist in identifying track, the word to be entered Stroke track be word to be entered stroke be formed by track, it is described to assist in identifying the input sequence phase that track is word to be entered The track formed between two adjacent strokes.
2. according to the method described in claim 1, it is characterized in that, the signal that assists in identifying is that user moves the terminal shape At the word to be entered each stroke when by the terminal synchronize input signal;
It is described according to the movement locus and it is described assist in identifying signal, the word to be entered is identified from the movement locus Stroke track, including:
According to the movement locus and it is described assist in identifying signal, identified from the movement locus and assist in identifying letter with described Number stroke track of the synchronous track as the word to be entered.
3. according to the method described in claim 1, it is characterized in that, it is described assist in identifying signal be the terminal from it is described wait for it is defeated Enter user when moving between adjacent two strokes of input sequence of word and passes through the signal that the terminal synchronizes input;
It is described according to the movement locus and it is described assist in identifying signal, the word to be entered is identified from the movement locus Stroke track, including:
According to the movement locus and it is described assist in identifying signal, identified from the movement locus and assist in identifying letter with described Number synchronous track is as assisting in identifying track;
Determine in the movement locus except it is described assist in identifying track in addition to track be the word to be entered stroke track.
4. according to the method described in claim 1, it is characterized in that, the signal that assists in identifying is that user passes through the terminal What the virtual push button on touch screen inputted.
5. according to the method described in claim 1, it is characterized in that, the signal that assists in identifying is that user passes through in the terminal Physical button input.
6. a kind of input unit based on terminal movement locus, which is characterized in that including:
First detection module is configured as under the input pattern of track, the movement locus of detection terminal, and the movement locus is to use The track that the terminal is formed is moved according to the stroke of word to be entered in family;
Second detection module is configured as detection and assists in identifying signal, it is described assist in identifying signal be user according to it is described wait for it is defeated The stroke for entering word is moved and is inputted by the terminal during the terminal forms the movement locus, described to assist in identifying Signal is used to distinguish the stroke track of the word to be entered;
Identification module is configured as detecting the movement locus and second detection module according to the first detection module Assist in identifying signal described in detecting, the stroke track of the word to be entered is identified from the movement locus;
Determining module is configured as waiting for described in the stroke track determination of the word to be entered identified according to the identification module Input word;
Display module is configured as showing the word to be entered that the determining module determines;
Wherein, the first detection module includes:
First detection sub-module is configured as detecting beginning input signal input by user;
Second determination sub-module is configured to determine that the position of terminal when user inputs the beginning input signal is coordinate Origin, the plane where determining the screen of the terminal are the plane where X-axis Y-axis, and Z axis is determined according to X-axis and Y-axis;
Second detection sub-module is configured as detecting moving direction, movement speed and the traveling time of the terminal;
Third determination sub-module, be configured as according to the coordinate system of foundation and the moving direction of the terminal, movement speed and Traveling time determines the movement locus of the terminal;
Wherein, the movement locus includes two parts:The stroke track of word to be entered and assist in identifying track, the word to be entered Stroke track be word to be entered stroke be formed by track, it is described to assist in identifying the input sequence phase that track is word to be entered The track formed between two adjacent strokes.
7. device according to claim 6, which is characterized in that the signal that assists in identifying is that user moves the terminal shape At the word to be entered each stroke when by the terminal synchronize input signal;
The identification module includes:
First identification submodule, be configured as according to the movement locus and it is described assist in identifying signal, from the movement locus In identify and the stroke track for assisting in identifying the synchronous track of signal as the word to be entered.
8. device according to claim 7, which is characterized in that it is described assist in identifying signal be the terminal from it is described wait for it is defeated Enter user when moving between adjacent two strokes of input sequence of word and passes through the signal that the terminal synchronizes input;
The identification module includes:
Second identification submodule, be configured as according to the movement locus and it is described assist in identifying signal, from the movement locus In identify with the synchronous track of signal that assists in identifying as assisting in identifying track;
First determination sub-module, be configured to determine that in the movement locus except it is described assist in identifying track in addition to track be described The stroke track of word to be entered.
9. device according to claim 6, which is characterized in that the signal that assists in identifying is that user passes through the terminal What the virtual push button on touch screen inputted.
10. device according to claim 6, which is characterized in that the signal that assists in identifying is that user passes through the terminal On physical button input.
11. a kind of input unit based on terminal movement locus, which is characterized in that including:
Memory;
It is configured as the memory of storage processor-executable instruction;
Wherein, the processor is configured as:
Under the input pattern of track, the movement locus of detection terminal, the movement locus is stroke of the user according to word to be entered The track that the mobile terminal is formed;
Detection assists in identifying signal, and the signal that assists in identifying is that user moves the terminal according to the stroke of the word to be entered Inputted by the terminal during forming the movement locus, it is described assist in identifying signal for distinguish it is described to be entered The stroke track of word;
According to the movement locus and it is described assist in identifying signal, the pen of the word to be entered is identified from the movement locus Draw track;
The word to be entered is determined according to the stroke track of the word to be entered;
Show the word to be entered;
Wherein, the movement locus of the detection terminal, including:
Detect beginning input signal input by user;
It determines that the position of terminal when user inputs the beginning input signal is coordinate origin, determines the screen of the terminal The plane at place is the plane where X-axis Y-axis, and Z axis is determined according to X-axis and Y-axis;
Detect moving direction, movement speed and the traveling time of the terminal;
According to the coordinate system of the foundation and moving direction of the terminal, movement speed and traveling time, the terminal is determined Movement locus;
Wherein, the movement locus includes two parts:The stroke track of word to be entered and assist in identifying track, the word to be entered Stroke track be word to be entered stroke be formed by track, it is described to assist in identifying the input sequence phase that track is word to be entered The track formed between two adjacent strokes.
CN201610413028.7A 2016-06-13 2016-06-13 Input method based on terminal movement locus and device Active CN106125954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610413028.7A CN106125954B (en) 2016-06-13 2016-06-13 Input method based on terminal movement locus and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610413028.7A CN106125954B (en) 2016-06-13 2016-06-13 Input method based on terminal movement locus and device

Publications (2)

Publication Number Publication Date
CN106125954A CN106125954A (en) 2016-11-16
CN106125954B true CN106125954B (en) 2018-07-20

Family

ID=57270628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610413028.7A Active CN106125954B (en) 2016-06-13 2016-06-13 Input method based on terminal movement locus and device

Country Status (1)

Country Link
CN (1) CN106125954B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203278A (en) * 2017-05-17 2017-09-26 努比亚技术有限公司 One-handed performance input method, mobile terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887348A (en) * 2010-06-29 2010-11-17 深圳桑菲消费通信有限公司 Method for inputting characters on mobile terminal
CN102111479A (en) * 2009-12-24 2011-06-29 希姆通信息技术(上海)有限公司 Device for identifying text input movement locus and direction of mobile phone
CN103024502A (en) * 2012-12-19 2013-04-03 四川长虹电器股份有限公司 System and method achieving text hand input in intelligent television
CN105302298A (en) * 2015-09-17 2016-02-03 深圳市国华识别科技开发有限公司 Air writing pen-stopping system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111479A (en) * 2009-12-24 2011-06-29 希姆通信息技术(上海)有限公司 Device for identifying text input movement locus and direction of mobile phone
CN101887348A (en) * 2010-06-29 2010-11-17 深圳桑菲消费通信有限公司 Method for inputting characters on mobile terminal
CN103024502A (en) * 2012-12-19 2013-04-03 四川长虹电器股份有限公司 System and method achieving text hand input in intelligent television
CN105302298A (en) * 2015-09-17 2016-02-03 深圳市国华识别科技开发有限公司 Air writing pen-stopping system and method

Also Published As

Publication number Publication date
CN106125954A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN104598104B (en) Widget treating method and apparatus
CN104731688B (en) Point out the method and device of reading progress
CN105260360B (en) Name recognition methods and the device of entity
CN103995666B (en) A kind of method and apparatus of setting operating mode
CN107656682B (en) Mobile terminal and bending angle calculation method
EP3232314A1 (en) Method and device for processing an operation
CN106406562A (en) Data processing method and device
CN107656666A (en) Mobile terminal and rolling speed determine method
CN105094626B (en) Content of text selection method and device
EP3173918A1 (en) Icon position interchanging method and device
CN109144385A (en) The moving method and device of suspension ball
CN107704190A (en) Gesture identification method, device, terminal and storage medium
CN106201108B (en) Gloves control mode touch mode control method and device and electronic equipment
KR102186815B1 (en) Method, apparatus and recovering medium for clipping of contents
CN105511777A (en) Session display method and device of touch display screen
CN110059547A (en) Object detection method and device
CN108829475A (en) UI method for drafting, device and storage medium
CN105094500B (en) A kind of icon arrangement method and device
CN106125954B (en) Input method based on terminal movement locus and device
CN106126050B (en) Menu display method and device
CN107943317A (en) Input method and device
CN108182002A (en) Layout method, device, equipment and the storage medium of enter key
CN104951228B (en) Laying method, device and the terminal device of icon
CN104035578A (en) Method and device for controlling capacitance touch screen terminal
CN106792636A (en) terminal control method and device

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