Summary of the invention
Technical matters to be solved by this invention is: a kind of snap information interactive system is provided, can improves the information input speed, thereby improve information interaction speed.
In addition, the present invention also provides a kind of snap information exchange method, can improve the information input speed, thereby improves information interaction speed.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of snap information interactive system, described system comprise that information sends terminal, information receiving terminal;
Described information sends terminal and comprises:
-touch-screen passes through information input from touch screen;
Collection of-input trajectory and processing unit are in order to gather and to handle the information input trajectory of importing on touch-screen;
-information transmitting unit is sent to described information receiving terminal in order to the information input trajectory that will gather;
Described information receiving terminal comprises:
-information receiving unit is in order to receive the information input trajectory that described information transmitting unit sends;
-display unit is in order to present the information input trajectory that described information receiving unit receives.
As a preferred embodiment of the present invention,, one or more independent input areas are set on described touch-screen according to screen size; At independent input block input area i input information, surpass when not having other actions in the setting-up time when touch end of input at independent input area i, perhaps when new touch input appears at other independent input block input areas, perhaps when new touch input appears at that other except that independent input block input area i are regional in the touch-screen, maybe when the control button is finished in the input of clicking correspondence, judge and finish in the input of independent input block input area i; The operator realizes quick input information by alternately switching input at the independent input block input area of difference.
As a preferred embodiment of the present invention,, one or more independent input areas are set on described touch-screen according to screen size; Each independent input area is set at least one structure sensitizing range; When the touch input occurs in the described structure sensitizing range, judge that new input once begins; If input is arranged before this, previous input finish.
As a preferred embodiment of the present invention, described information sends terminal and further comprises coding unit, in order to the original screen coordinate of finishing the information input trajectory storage representation mode to the sentence of input, individual character, stroke; Calculate and intercharacterly stay whitely, implement the convergent-divergent in the proportional range, finish the normalization of character; Described information transmitting unit will be sent to the information receiving unit of information receiving terminal through the information encoded input trajectory;
Described information receiving terminal further comprises decoding unit, and in order to being decoded into whole sentence through the information encoded input trajectory, sentence comprises character or/and illustrate, and character and diagram comprise stroke data, and stroke data comprises some tracing points and display parameter thereof.
As a preferred embodiment of the present invention, described information receiving terminal further comprises tectonic element, decoded information input trajectory data in order to the input decoding unit, according to the width of the viewing area of current device system, highly, the shape of viewing area, the display parameter constraint of information receiving terminal configuration, construct the absolute location coordinates of whole sentence on screen.
As a preferred embodiment of the present invention, described information sends terminal and further comprises compression unit, in order to the compressed information input trajectory; Adopt " data packet length " to reach the expression mode of " packet content ", the sentence track of succinct description input adopts the compression algorithm compression then, is convenient to storage and transmission; Described information transmitting unit will be sent to the information receiving unit of information receiving terminal through the information compressed input trajectory;
Described information receiving terminal further comprises the decompress(ion) unit, in order to utilizing decompression algorithm to decompress through the information compressed input trajectory, is expressed as the expression mode that " data packet length " reaches " packet content ".
As a preferred embodiment of the present invention, described system comprises the Data Format Transform unit, in order to the information input trajectory is converted to picture format, then sends by information transmitting unit.
As a preferred embodiment of the present invention, described system comprises the track edit cell, and the user clicks the viewing area of the information input trajectory commentaries on classics of typing; System acquisition goes out the absolute coordinates of click location, and then according to the information content of typing, display position and parameter are instead released current click on area between character i and i+1, then display highlighting; Insertion for follow-up deletion, rollback, space and fresh information.
The information interacting method of above-mentioned snap information interactive system, described method comprises the steps:
Step S11, send the information input from touch screen of terminal by information;
Input trajectory collection and processing unit that step S12, information send terminal are captured in the information input trajectory of importing on the touch-screen;
Step S15, information send the terminal information transmitting element information input trajectory of gathering are sent to described information receiving terminal;
The information receiving unit of step S21, information receiving terminal receives the information input trajectory that described information transmitting unit sends;
The display unit of step S25, information receiving terminal presents the information input trajectory that described information receiving unit receives.
As a preferred embodiment of the present invention, at least two of described touch-screen settings are input area independently;
At input area i input information, surpass when not having other actions in the setting-up time when touch end of input at input area i, perhaps when new touch input appears at other input areas, perhaps when new touch input appeared in the touch-screen zone of other except that input area i, judgement was finished in the input of input area i;
The operator realizes quick input information by alternately switching input at different input areas.
As a preferred embodiment of the present invention, described method also comprises step S14 behind step S12: described information sends the coding unit of terminal and finishes the storage representation mode of the original screen coordinate of information input trajectory to the sentence of importing, individual character, stroke; Calculate and intercharacterly stay whitely, implement the convergent-divergent in the proportional range, finish the normalization of character; Thereby in step S15, described information transmitting unit will be sent to the information receiving unit of information receiving terminal through the information encoded input trajectory;
Described method also comprises step S23 behind step S21: the decoding unit of described information receiving terminal will be decoded into whole sentence through the information encoded input trajectory, sentence comprises character or/and diagram, character and diagram comprise stroke data, and stroke data comprises some tracing points and display parameter thereof.
As a preferred embodiment of the present invention, described method also comprises step S24 behind step S23: the decoded information input trajectory data of the tectonic element input decoding unit of described information receiving terminal, according to the width of the viewing area of current device system, highly, the shape of viewing area, the display parameter constraint of information receiving terminal configuration, construct the absolute location coordinates of whole sentence on screen.
As a preferred embodiment of the present invention, described method also comprises step S13 behind step S12: described information sends the compression unit compressed information input trajectory of terminal; Adopt " data packet length " to reach the expression mode of " packet content ", the sentence track of succinct description input adopts the compression algorithm compression then, is convenient to storage and transmission; Described information transmitting unit will be sent to the information receiving unit of information receiving terminal through the information compressed input trajectory;
Described method also comprises step S22 behind step S21: the decompress(ion) unit of described information receiving terminal will utilize decompression algorithm to decompress through the information compressed input trajectory, be expressed as the expression mode that " data packet length " reaches " packet content ".
Beneficial effect of the present invention is: snap information interactive system and exchange method that the present invention proposes, and on equipment, by direct written informations of method such as finger, felt pens with touch-screen or class touch-screen effect.Finger book input trajectory acquisition component of the present invention is directly gathered the track of input contents such as input characters, symbol, pattern, after sampling, coding, compression, sends to the receiving party; The take over party is presented on the screen by reverse decompress(ion), decoding and track structure, perhaps is depicted as picture user storage and transmission.Whole process need not the information by computer Recognition user input, thereby has omitted identifying, selection course complicated in the existing information interactive system.
This method have high input speed, no discrimination problem, personalized strong, false proof, import advantages such as different literals symbol or pattern, transmission data are little easily.
Embodiment
Describe the preferred embodiments of the present invention in detail below in conjunction with accompanying drawing.
Embodiment one
See also Fig. 1, the present invention has disclosed a kind of snap information interactive system, and described system comprises that information sends terminal 10, information receiving terminal 20.
Described information sends terminal 10 and comprises: touch-screen 101, input trajectory collection and processing unit 102, coding unit 103, compression unit 104, information transmitting unit 105.
[touch-screen]
The user is by touch-screen 101 input informations; Can be with finger, also can be with reference book write information such as felt pens.
Described touch-screen 101 is provided with at least two independently input areas.At input area i input information, surpass when not having other actions in the setting-up time when touch end of input at input area i, perhaps when new touch input appears at other input areas, perhaps when new touch input appears at that other except that input area i are regional in the touch-screen, maybe when the control button is finished in the input of clicking correspondence, judge and finish in the input of input area i.The operator realizes quick input information by alternately switching input at different input areas.
[input trajectory collection and processing unit]
The information input trajectory that input trajectory is gathered and processing unit 102 is imported on touch-screen 101 in order to the collection user, and the information input trajectory is transferred to coding unit 103 encode.Certainly, also can directly be sent to information receiving terminal 20 without coding by information transmitting unit 105.
[coding unit]
Coding unit 103 is in order to the original screen coordinate of finishing the information input trajectory storage representation mode to the sentence of input, individual character, stroke; Calculate and intercharacterly stay whitely, implement the convergent-divergent in the proportional range, finish the normalization of character.
[compression unit]
Compression unit 104 is in order to compression process coding unit 103 information encoded input trajectories; Adopt " data packet length " to reach the expression mode of " packet content ", the sentence track of succinct description input adopts the compression algorithm compression then, is convenient to storage and transmission.
[information transmitting unit]
Described information transmitting unit 105 will be sent to the information receiving unit 201 of information receiving terminal through coding and information compressed input trajectory data.
Described information receiving terminal 20 comprises information receiving unit 201, decompress(ion) unit 202, decoding unit 203, tectonic element 204, display unit 205.
[information receiving unit]
Information receiving unit 201 is in order to receive the information input trajectory that described information transmitting unit 101 sends.
[decompress(ion) unit]
Decompress(ion) unit 202 is expressed as the expression mode that " data packet length " reaches " packet content " in order to utilizing decompression algorithm to decompress through the information compressed input trajectory.
[decoding unit]
Decoding unit 203 will be in order to being decoded into whole sentence through the information encoded input trajectory, and sentence comprises character or/and illustrate, and character and diagram comprise stroke data, and stroke data comprises some tracing points and display parameter thereof.
[tectonic element]
Tectonic element 204 is in order to the decoded information input trajectory data of input decoding unit 203, according to the width of the viewing area of current device system, highly, the shape of viewing area, the display parameter constraint of information receiving terminal configuration, construct the absolute location coordinates of whole sentence on screen.
[display unit]
Described information receiving unit receives display unit 205 in order to present, through the information input trajectory of decompress(ion) unit 202 decompress(ion)s, decoding unit 203 decodings, tectonic element 204 structures.
In addition, described system can also comprise the track edit cell.The user clicks the viewing area of the finger book list unit of typing, and system acquisition goes out absolute coordinates, and then according to the content of the finger book of typing, display position and parameter are instead released current click on area between character i and i+1, then display highlighting.For follow-up deletion, rollback and space and the insertion of finger book newly, the insertion of data such as other icon files.Be the editor that typing refers to book in essence.
More than introduced the composition of snap information interactive system of the present invention, the present invention has also disclosed the information interacting method of above-mentioned information interaction system when disclosing above-mentioned information interaction system.Described information interacting method comprises the steps:
[step S11] sends the information input from touch screen of terminal by information.
At least two of described touch-screen settings are input area independently; At input area i input information, surpass when not having other actions in the setting-up time when touch end of input at input area i, perhaps when new touch input appears at other input areas (appearing at input area j as new touch input), perhaps when new touch input appeared in the touch-screen zone of other except that input area i, judgement was finished in the input of input area i; The operator realizes quick input information by alternately switching input at different input areas.
Input trajectory collection and processing unit that [step S12] information sends terminal are captured in the information input trajectory of importing on the touch-screen.
[step S13] described information sends the compression unit compressed information input trajectory of terminal; Adopt " data packet length " to reach the expression mode of " packet content ", the sentence track of succinct description input adopts the compression algorithm compression then, is convenient to storage and transmission.
[step S14] described information sends the coding unit of terminal and finishes the storage representation mode of the original screen coordinate of information input trajectory to the sentence of importing, individual character, stroke; Calculate and intercharacterly stay whitely, implement the convergent-divergent in the proportional range, finish the normalization of character.
[step S15] described information transmitting unit will be sent to the information receiving unit of information receiving terminal through coding and information compressed input trajectory data.
The information receiving unit of [step S21] information receiving terminal receives the information input trajectory that described information transmitting unit sends.
The decompress(ion) unit of [step S22] described information receiving terminal will utilize decompression algorithm to decompress through the information compressed input trajectory, be expressed as the expression mode that " data packet length " reaches " packet content ".
The decoding unit of [step S23] described information receiving terminal will be decoded into whole sentence through the information encoded input trajectory, and sentence comprises character or/and illustrate, and character and diagram comprise stroke data, and stroke data comprises some tracing points and display parameter thereof.
The decoded information input trajectory data of the tectonic element input decoding unit of [step S24] described information receiving terminal, according to the width of the viewing area of current device system, highly, the shape of viewing area, the display parameter constraint of information receiving terminal configuration, construct the absolute location coordinates of whole sentence on screen.
The display unit of [step S25] information receiving terminal presents described information receiving unit reception, through the information input trajectory of decompress(ion) unit decompress(ion), decoding unit decodes, tectonic element structure.
Embodiment two
When the present invention utilizes touch-screen to write, gather input trajectory, directly do not do handwritten form identification, but, put in order, coding, compression, transmission, decompress(ion), decoding, methods such as demonstration, the method for realization message communication by sampling.
The present invention does not do character recognition transmission character handwriting trace to message receiver and demonstration by the direct input character track of touch-screen, do character and write changes in coordinates difference tolerance minimizing transmitted data amount in the moving process, the normalization operation done in character makes hand-written character more regular, judge that in the screen zones of different thereby waiting-timeout is removed in the end of the beginning of fresh character and old character from or button is confirmed to operate by starting to write a little, the demonstration that length and width and the shape by the dynamic calculation viewing area adapts to non-regular domain.
See also Fig. 2, the present embodiment information interaction system comprises that information sends terminal 10, information receiving terminal 20.
Described information sends terminal 10 and comprises: mutual context display unit 11, refer to book input content display unit 12, refer to book input trajectory acquisition component 13, refer to book control assembly 14, sampling thief 15, scrambler 16, compression member 17, transmit block 18.
Wherein, the message that mutual context display unit 11 sends in order to the display message transmit leg, including but not limited to: time, sender, message content.
Refer to that book input content display unit 12 is used to show the content of the finger book of current input, support to touch and click assigned address that display highlighting is carried out editing operations such as deletion at assigned address.
Refer to that book input trajectory acquisition component 13 is used for the track that acquisition operations person writes on screen.Input area is provided with according to screen size and operator, shows one to a plurality of independently input areas.When an input area, refer to that book system relies on the load button of time or index control assembly to decide a character input to finish.When input area is regional greater than one, index system can also rely on the operator to begin the first stroke in new region, decide the character or the figure input of an input area to finish, the operator realizes that by alternately switching input in zones of different quick typing refers to book.
Refer to book control assembly 14 for placing the load button that the character input finishes, refer to that book can not import the space backspace character, parameters such as allocation index display color, stroke weight, display styles, input time-out time are placed and are sent exit button.
Sampling thief 15 is used to gather the touch-screen of index input to be pressed, and moves and release time the coordinate of record motion track.And put the number of the point of coordinate absolute difference in tolerance in length and breadth before and after filtering out in the moving process with the point of the collection that reduces sampling thief.
Scrambler 16 is used to finish original screen coordinate to the sentence that refers to the book built-in system, individual character, the storage representation mode of stroke.Calculate up and down too much of character and stay whitely, implement the convergent-divergent in the proportional range, finish the normalization of character.
Compression member 17 at first adopts the expression mode of [data packet length]+[packet content], and the sentence track of succinct description input adopts compression algorithm to be compressed to smaller length then, is convenient to storage and transmission.
Transmit block 18 is used to finish the function of peer-to-peer system transmission on the picture network of the data that refer to book after the compression.
See also Fig. 3, above-mentioned information sends the terminal information process of transmitting and comprises the steps:
The rough draft of importing parameter and last time is read in step S101, initialization;
Step S102, present display interface, display interface comprises context interface, input content, input field, operational zone etc.;
Step S103, wait user's input information or operation; If input takes place, turn to step S104; If operation takes place, turn to step S105;
Step S104, whether judge new input operation in new input field, if turn to step S106; Otherwise turn to step S107;
Step S105, executive button operation turn to step S108;
Step S106, typing current character, the typing of beginning fresh character; Turn to step S104;
Step S107, the input of continuation current character; Turn to step S104;
Step S108, judge whether to withdraw from, if turn to step S109; Otherwise, turn to step S104;
Input trajectory collection and processing unit that step S109, information send terminal are captured in the information input trajectory of importing on the touch-screen.
Step S110, described information send the compression unit compressed information input trajectory of terminal; Adopt " data packet length " to reach the expression mode of " packet content ", the sentence track of succinct description input adopts the compression algorithm compression then, is convenient to storage and transmission.
Step S111, described information send the coding unit of terminal and finish the storage representation mode of the original screen coordinate of information input trajectory to the sentence of importing, individual character, stroke; Calculate and intercharacterly stay whitely, implement the convergent-divergent in the proportional range, finish the normalization of character.
Step S112, described information transmitting unit will be sent to the information receiving unit of information receiving terminal through coding and information compressed input trajectory data.
Step S113, finish.
Please continue to consult Fig. 2, information receiving terminal 20 comprises receiving-member 21, separates pressure part 22, demoder 23, constructor 24, refer to book received content display unit 25.
Receiving-member 21 is used to finish the finger book data that receiving end/sending end sends from the network.
Separate pressure part 22 and be used for utilizing decompression algorithm to decompress the finger book data after the compression, be expressed as then [data packet length]+the expression mode of [packet content].
Demoder 23 is used for the data behind the decompress(ion) are decoded into whole sentence, and sentence comprises character and diagram, and diagram and character comprise stroke, and stroke comprises some tracing points and color etc. and shows that ginseng is plain.
Constructor 24 is used for the decoded finger book data of constructor input decoder, according to the width of the viewing area of current device system, highly, the shape of viewing area, the display parameter constraint of this application configuration of this equipment constructs the absolute location coordinates of whole sentence on screen.
Refer to that book received content display unit 25 is used for information such as the coordinate of the display dot of constructing according to constructor and color, directly draws associated picture on screen.
See also Fig. 4, the message pick-up process of above-mentioned information receiving terminal comprises the steps:
Parameter is read in step S201, initialization; The information receiving unit of information receiving terminal receives the information input trajectory that described information transmitting unit sends.
The decompress(ion) unit of step S202, described information receiving terminal will utilize decompression algorithm to decompress through the information compressed input trajectory, be expressed as the expression mode that " data packet length " reaches " packet content ".
The decoding unit of step S203, described information receiving terminal will be decoded into whole sentence through the information encoded input trajectory, and sentence comprises character or/and illustrate, and character and diagram comprise stroke data, and stroke data comprises some tracing points and display parameter thereof.
Step S204, obtain viewing area size and shape.
The decoded information input trajectory data of the tectonic element input decoding unit of step S205, described information receiving terminal, according to the width of the viewing area of current device system, highly, the shape of viewing area, the display parameter constraint of information receiving terminal configuration, construct the absolute location coordinates of whole sentence on screen.
The display unit of step S206, information receiving terminal presents described information receiving unit reception, through the information input trajectory of decompress(ion) unit decompress(ion), decoding unit decodes, tectonic element structure.
Step S207, finish.
In sum, information interaction system and exchange method that the present invention proposes are on the equipment with touch-screen or class touch-screen effect, by direct written informations of method such as finger, felt pens.Finger book input trajectory acquisition component of the present invention is directly gathered the track of input contents such as input characters, symbol, pattern, after sampling, coding, compression, sends to the receiving party; The take over party is presented on the screen by reverse decompress(ion), decoding and track structure, perhaps is depicted as picture user storage and transmission.Whole process need not the information by computer Recognition user input, thereby has omitted complicated identifying, selection course.
This method have high input speed, no discrimination problem, personalized strong, false proof, import advantages such as different literals symbol or pattern, transmission data are little easily.
Different being of input method of the present invention and blank input: do not need mouse, direct collection touch track, do not need to generate picture, support editor, determine that the method that the individual character input finishes can be overtime by judging whether, also can pass through button, the more important thing is the present invention can also by start to write a little screen up and down diverse location come that word input finishes on the quick identification, support the adjustment of ranks automatic screen.
Embodiment three
Input area of the present invention can have more than two, and certainly, the present invention is also therewith unrestricted.In the present embodiment, described system only is provided with an input area, triggers the input execution by button and incident, also can realize conception of the present invention.
According to screen size, an independent input area (being generally upper left corner part, can certainly be other parts) is set on described touch-screen; This independent input area is set at least one structure sensitizing range; When the touch input occurs in the described structure sensitizing range the k time, judge that new input once begins, once the input of (the k-1 time) is finished before.
As, a screen input area upper left corner sensitivity.After finger trace enters into upper right, lower-left or bottom right, enter upper leftly once more, just be judged as new input block and begun.In this time, whether this position sensing enters the first stroke of a Chinese character sensitizing range of input content in essence once more.
In addition, judge that method that input finishes can also finish to surpass when not having other actions in the setting-up time by judging, or judge that whether clicking corresponding input finishes the control button.
Embodiment four
The difference of present embodiment and embodiment one is that in the present embodiment, described system can also comprise the Data Format Transform unit.With a pile track data, be converted into gif by the Data Format Transform unit, picture formats such as jpg, the present invention just is not limited in internal system of the present invention and uses like this, can issue common website, multimedia message, mail etc.Crucial part of the present invention is, does not do identification in the place of input, and directly acquisition trajectories aftertreatment reduces the man-machine interaction stand-by period, compares nature and smoothness alternately.
Here description of the invention and application is illustrative, is not to want with scope restriction of the present invention in the above-described embodiments.Here the distortion of disclosed embodiment and change are possible, and the various parts of the replacement of embodiment and equivalence are known for those those of ordinary skill in the art.Those skilled in the art are noted that under the situation that does not break away from spirit of the present invention or essential characteristic, and the present invention can be with other form, structure, layout, ratio, and realize with other assembly, material and parts.Under the situation that does not break away from the scope of the invention and spirit, can carry out other distortion and change here to disclosed embodiment.