CN106531164B - A kind of data inputting method and device - Google Patents
A kind of data inputting method and device Download PDFInfo
- Publication number
- CN106531164B CN106531164B CN201611028699.8A CN201611028699A CN106531164B CN 106531164 B CN106531164 B CN 106531164B CN 201611028699 A CN201611028699 A CN 201611028699A CN 106531164 B CN106531164 B CN 106531164B
- Authority
- CN
- China
- Prior art keywords
- window
- text information
- sentence
- inputted
- text
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000000284 resting effect Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000008901 benefit Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/221—Announcement of recognition results
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of data inputting method and devices.Method includes: to be instructed according to windows exchange when receiving windows exchange instruction and switch to the second window by first window;It identifies the first voice messaging inputted during switching to the second window by first window, obtains corresponding first text information of the first voice messaging;The first text information is inputted into corresponding target window as unit of sentence.According to the technical solution of the present invention, it can ensure that first text information will not be instructed lag due to windows exchange or is accidentally dispersedly input to wrong window in advance as far as possible, and then ensure that first text information can be input to the correct window that input as far as possible, when to avoid the first text information being inputted as unit of word, may by the segment word erroneous input in the first text information to mistake window and correctly window there is the phenomenon that text loss.
Description
Technical field
The present invention relates to field of terminal technology, in particular to a kind of data inputting method and device.
Background technique
Currently, the voice messaging of input is converted in the input voice information into multiple windows and using speech recognition technology
It is all that the text information that will identify that is inputted in respective window as unit of word when for text information, i.e. speech recognition technology
After the voice messaging that user inputs is identified as text information, the text information that can be will identify that is word for word in input window, this is just
Cause during windows exchange, when windows exchange Operation delay or in advance when, segment word can be by erroneous input to mistake
Window in, while correctly input window will appear lose text the phenomenon that.
Summary of the invention
The present invention provides a kind of data inputting method and device, can basis to when receiving windows exchange instruction
Windows exchange instruction switches to the second window by first window, so by the first voice messaging be identified as the first text information it
Afterwards, the first text information can be inputted into corresponding target window as unit of sentence, to ensure first text as far as possible
Information will not be instructed lag due to windows exchange or is accidentally dispersedly input to different windows in advance, and then be ensured as far as possible
First text information can be input to the correct window that input, and carry out the first text information to avoid as unit of word
When input, may by the segment word erroneous input in the first text information to mistake window and correctly window there is text
The phenomenon that loss.
The present invention provides a kind of data inputting method, comprising:
When receiving windows exchange instruction, is instructed according to the windows exchange and the second window is switched to by first window;
It identifies the first voice messaging inputted during switching to second window by the first window, obtains
Corresponding first text information of first voice messaging;
First text information is inputted into corresponding target window as unit of sentence, wherein the target window packet
Include the first window or second window.
In one embodiment, the identification inputs during switching to second window by the first window
The first voice messaging, obtain corresponding first text information of first voice messaging, comprising:
Identify the institute inputted in the preset window switching time section for switching to second window by the first window
The first voice messaging is stated, first text information is obtained;
Cache first text information.
It is in one embodiment, described that first text information is inputted into corresponding target window as unit of sentence,
Include:
Identify the target end position of first sentence in first text information;
First part's text before target end position described in first text information is inputted into first window
Mouthful;
Second part text after target end position described in first text information is inputted into second window
Mouthful.
It is in one embodiment, described that first text information is inputted into corresponding target window as unit of sentence,
Include:
Identify the target text that the voice messaging inputted when receiving the windows exchange and instructing is converted;
Determine relative position of the target text in first text information;
When the relative position is located at the front half section of first text information, by first text information with sentence
Second window is inputted for unit;
When the relative position is located at the second half section of first text information, by first text information with sentence
The first window is inputted for unit.
In one embodiment, before receiving windows exchange instruction, the method also includes:
When resting on the first window, the second voice messaging inputted to the first window is identified, obtain described
Corresponding second text information of second voice messaging;
Second text information is inputted into the first window as unit of word or as unit of sentence.
In one embodiment, the method also includes:
When second text information is inputted the first window as unit of word, if will be described as unit of sentence
First text information input second window when to first text information of first window importation, then delete to
The first text information of the part of the first window input.
In one embodiment, the sentence includes at least one of the following:
It constitutes complete semantic word, constitute complete semantic phrase, with the sentence of comma ending, the sentence to end up with branch
With the sentence to be ended up with fullstop.
The present invention also provides a kind of message input devices, comprising:
Switching module, for being instructed according to the windows exchange and being cut by first window when receiving windows exchange instruction
Shift to the second window;
First identification module inputs during switching to second window by the first window for identification
First voice messaging obtains corresponding first text information of first voice messaging;
First input module, for first text information to be inputted corresponding target window as unit of sentence,
In, the target window includes the first window or second window.
In one embodiment, first identification module includes:
First identification submodule, cuts in the preset window for switching to second window by the first window for identification
First voice messaging inputted in the period is changed, first text information is obtained;
Cache sub-module, for caching first text information.
In one embodiment, first input module includes:
Second identification submodule, for identification in first text information first sentence target end position;
First input submodule, for by the first part before target end position described in first text information
Text inputs the first window;
Second input submodule, for by the second part after target end position described in first text information
Text inputs second window.
In one embodiment, first input module includes:
Third identifies submodule, and the voice messaging inputted for identification when receiving the windows exchange and instructing is converted
Target text;
Submodule is determined, for determining relative position of the target text in first text information;
Third input submodule, when for being located at the front half section of first text information when the relative position, by institute
It states the first text information and inputs second window as unit of sentence;
4th input submodule, when second half section for being located at first text information when the relative position, by institute
It states the first text information and inputs the first window as unit of sentence.
In one embodiment, described device further include:
Second identification module, for when resting on the first window, identifying before receiving windows exchange instruction
The second voice messaging inputted to the first window, obtains corresponding second text information of second voice messaging;
Second input module, for second text information to be inputted described as unit of word or as unit of sentence
One window.
In one embodiment, described device further include:
Removing module is used for when second text information is inputted the first window as unit of word, if with language
Sentence is when first text information is inputted second window by unit to first text of first window importation
Information then deletes the first text information of the part inputted to the first window.
In one embodiment, the sentence includes at least one of the following:
It constitutes complete semantic word, constitute complete semantic phrase, with the sentence of comma ending, the sentence to end up with branch
With the sentence to be ended up with fullstop.
The technical scheme provided by this disclosed embodiment can include the following benefits:
When receiving windows exchange instruction, it can be instructed according to windows exchange and the second window is switched to by first window,
And then after the first voice messaging is identified as the first text information, the first text information can be inputted as unit of sentence
Corresponding target window, thus ensure as far as possible first text information will not due to windows exchange instruct lag or in advance and by
Mistake be dispersedly input to mistake window, and then ensure as far as possible first text information can be input to input it is correct
Window may be by the part text in the first text information when to avoid being inputted the first text information as unit of word
Word erroneous input to mistake window and correctly window there is the phenomenon that text loss.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by written explanation
Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, with reality of the invention
It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of data inputting method shown according to an exemplary embodiment.
Fig. 2 is the flow chart of another data inputting method shown according to an exemplary embodiment.
Fig. 3 is the flow chart of another data inputting method shown according to an exemplary embodiment.
Fig. 4 is the flow chart of another data inputting method shown according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of message input device shown according to an exemplary embodiment.
Fig. 6 is the block diagram of another message input device shown according to an exemplary embodiment.
Fig. 7 is the block diagram of another message input device shown according to an exemplary embodiment.
Fig. 8 is the block diagram of another message input device shown according to an exemplary embodiment.
Fig. 9 is the block diagram of another message input device shown according to an exemplary embodiment.
Specific embodiment
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein
Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
In the related technology, the voice of input is believed in the input voice information into multiple windows and using speech recognition technology
It is all that the text information that will identify that is inputted in respective window as unit of word when breath is converted to text information, i.e., voice is known
It, can be by the word for word input window of the text information after identification after the voice messaging that user inputs is identified as text information by other technology
In, this is resulted in during windows exchange, when windows exchange Operation delay or in advance when, segment word can be by erroneous input
Input window will appear the phenomenon that losing text into the window of mistake, while correctly, such as: when windows exchange Operation delay
When, in the sentence that should be inputted into the window after switching before several words can be cut in the window before erroneous input to switching
Rear several words in the sentence can be only received in window after changing, thus cause information in the window after switching to be lost, and example
Such as, when windows exchange operation shifts to an earlier date, the rear several words in sentence that should be inputted into the window before switching can be by accidentally defeated
Enter in the window to switching, is lost so as to cause information in the window before switching.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure provides a kind of data inputting method, and this method is suitable for
In information input program, system or device, executing subject can be mobile phone, tablet computer, computer etc., as shown in Figure 1, on
The method of stating includes step S101 to step S103:
In step s101, it when receiving windows exchange instruction, is instructed according to windows exchange and is switched to by first window
Second window;
First window, the second window include input frame or dialog box.The windows exchange instructs window from the user to cut
Change operation, and windows exchange operation can be when resting on first window, (mark can be this to the mark of the second window
Minimum window of second window etc.) clicking operation etc..
In step s 102, the first voice letter that identification inputs during switching to the second window by first window
Breath, obtains corresponding first text information of the first voice messaging;
When can be the reception of windows exchange instruction by the start time that first window switches to the process of the second window
Between, alternatively, at the beginning of its start time can be the reference time section before receiving windows exchange instruction (when
So, reference time section as small as possible should such as can be 200 milliseconds, 500 milliseconds), such as: when connecing for windows exchange instruction
When being T between the time receiving, it is time T or is the T- ginseng by the start time that first window switches to second window this handoff procedure
Examine the period (such as T-200 milliseconds).
When the first voice messaging is identified as the first text information, the cloud installed in executing subject can be used and know
The phonitic entry methods such as sound, Iflytek or other speech recognition technologies are identified, and input can be combined in identification
Voice messaging in pause duration, the information such as semanteme are identified.
In step s 103, the first text information is inputted into corresponding target window as unit of sentence, wherein target window
Mouth includes first window or the second window.
When receiving windows exchange instruction, it can be instructed according to windows exchange and the second window is switched to by first window,
And then after the first voice messaging is identified as the first text information, the first text information can be inputted as unit of sentence
Corresponding target window, thus ensure as far as possible first text information will not due to windows exchange instruct lag or in advance and by
Mistake be dispersedly input to mistake window, and then ensure as far as possible first text information can be input to input it is correct
Window may be by the part text in the first text information when to avoid being inputted the first text information as unit of word
Word erroneous input to mistake window and correctly window there is the phenomenon that text loss.
In one embodiment, above-mentioned step S102 shown in FIG. 1 can be performed as:
Identify the first voice letter inputted in the preset window switching time section for switching to the second window by first window
Breath, obtains the first text information;
The start time of preset window switching time section is the receiving time of windows exchange instruction, or
When the start time of preset window switching time section is a reference before receiving windows exchange instruction
Between section beginning (i.e. the reference time section at the beginning of).
And preset window switching time section can freely be set, or be often able to institute according to user in window switching process
The long occupancy duration of the sentence said is set, for example, user usually can may only say one or two of sentence in window switching process
(certainly, this one or two of sentence is it is also possible to be all half), thus, preset window switching time section can be one or two of sentence
Occupancy duration.
Cache the first text information.
By caching first text information, first text information blindly can be input to the second window for the time being,
It is input to the window of mistake to avoid the first text information, while avoiding correct window lost part text information.
As shown in Fig. 2, in one embodiment, above-mentioned step S103 shown in FIG. 1 may include step S201 to step
S203:
In step s 201, the target end position of first sentence in the first text information is identified;
Since user is before the end position of each sentence often has the end position of pause or each sentence
Information has often constituted complete semanteme, thus, it, can pausing and semanteme in conjunction with user when identifying target end position
Integrality identifies, such as: when the first text information is " graduate to XX XX colleges and universities ", if detecting the voice of " XX "
There is speech pause between the voice of " graduating from XX colleges and universities ", then can determine that target end position is " ground ", or if the
The corresponding text of voice messaging before one text information is " I comes from ", then according to semantic integrality it is found that " XX " with
" I comes from " constitutes complete semanteme, thus, it still can determine that the target end position of first sentence is " ground ".
It will (may include that target end position exists before target end position in the first text information in step S202
It is interior) first part's text input first window;
In step S203, the second part text after target end position in the first text information is inputted into the second window
Mouthful, according to son as exemplified above it is found that when the first text information is " graduating to XX XX colleges and universities ", can incite somebody to action " XX " be input to
The first window stopped before windows exchange " will graduate from XX colleges and universities " and be input to the second window stopped after windows exchange.
When due to windows exchange, it may be instructed due to windows exchange in advance and when leading to user's switch window, it should be to
The sentence inputted in first window does not input completely, thus, the first text information is inputted accordingly as unit of by sentence
When target window, the target end position of first sentence in the first text information can be identified, and then the first text is believed
First part's text in breath before target end position is input to first window, to avoid first window from losing information, together
When, the second part text after target end position in the first text information is input to the second window, so that the second window
Receive the second part text that user should input.
As shown in figure 3, in one embodiment, above-mentioned step S103 shown in FIG. 1 can also include that step S301 is extremely walked
Rapid S304:
In step S301, the target text that the voice messaging inputted when receiving windows exchange and instructing is converted is identified
Word;
The target text is the corresponding text information of voice messaging received by the time of reception of windows exchange instruction.
In step s 302, relative position of the target text in the first text information is determined;
Wherein, relative position, that is, target text row in first text information of the target text in the first text information
Column position.
In step S303, when relative position is located at the front half section of the first text information, by the first text information with language
Sentence is that unit inputs the second window;
In step s 304, when relative position is located at the second half section of the first text information, by the first text information with language
Sentence is unit input first window, such as: when the first text information one shares 11 texts, it is somebody's turn to do if the target text is located at
In preceding 5 words of 11 texts, then the relative position of the target text is located at the front half section of first text information, if the mesh
Mark text is located in rear 5 words of 11 texts, then after the relative position of the target text is located at first text information
Half section, certainly, if the target position text is the 6th word of 11 texts, illustrate that the relative position of the target text is
The middle position of first text information, and under default situations, middle position can also be considered as the relative position be located at this
The front half section of one text information, it is, of course, also possible to it is specified according to the personalization of user, which is appointed as first text
The second half section of word information.
During windows exchange, when relative position of the target text in first text information is located at the first text
When the front half section of information, illustrate that first text information is likely to be input to the second window, only windows exchange refers to
It enables and slightly being lagged compared to voice input, therefore, it is possible to the first text information be inputted the second window as unit of sentence, with to the greatest extent
It likely ensure that the first text information is input to correct window, the second window avoided to lose information as far as possible;Similarly,
During windows exchange, when relative position is located at the second half section of the first text information, illustrate first text
Word information is likely to be input to first window, and only user is not yet in time for the first voice messaging inputting the first window
Mouth just has input windows exchange operation and windows exchange instruction is caused somewhat to shift to an earlier date, therefore, it is possible to which the first text is believed
Breath is input to first window as unit of sentence, to ensure that the first text information is input to correct window as far as possible, to the greatest extent may be used
It is avoided that first window loses information.
As shown in figure 4, in one embodiment, before executing step S101, the above method may also include step S401
With step S402:
In step S401, when resting on first window, identifies the second voice messaging inputted to first window, obtain
Corresponding second text information of second voice messaging;
In step S402, the second text information is inputted into first window as unit of word or as unit of sentence.
When user rests on first window, the second text is identified as in the second voice messaging that will be inputted to first window
After information, can according to the user's choice demand by the second text information as unit of word (i.e. word for word) or sentence be unit
First window is inputted, to meet the personalized input demand of user.
Certainly, when user rests on the second window, text letter is being converted by the voice messaging inputted to the second window
When breath, can also by the text information after conversion as unit of word (i.e. word for word) or sentence be unit input the second window, with
Meet the personalized input demand of user.
In one embodiment, method further include:
When the second text information is inputted first window as unit of word, if by the first text information as unit of sentence
To the first text information of first window importation when inputting the second window, then the part the inputted to first window is deleted
One text information.
When the second text information is inputted first window as unit of word, if by the first text as unit of by sentence
The first text information of part is accidentally input to first window as unit of word to first window when the second window of information input, then
Extra the first text information of part to first window erroneous input can be deleted.
Certainly, due to that may include and part the first text information weight into the information of first window input before
Multiple text information, thus, in order to avoid accidentally delete, if as unit of sentence by the first text information input the second window when
The first text information of part is had input to first window, then can further judge whether first text information of part is located at
The end position of the information inputted in one window confirms that first text information of part is certain if being located at end position
It is erroneous input, therefore, it is possible to delete first text information of part at end position.
In one embodiment, sentence includes at least one of the following:
It constitutes complete semantic word, constitute complete semantic phrase, with the sentence of comma ending, the sentence to end up with branch
With the sentence to be ended up with fullstop.
The sentence, which can be, constitutes complete semantic word, and the word may include a word or multiple words, as " in my love
" I " in China " is exactly one and constitutes complete semantic word, or " Zhang San " also constitutes a complete semantic word;
The sentence, which can also be, constitutes complete semantic phrase, and constituting complete semantic phrase can be with Chinese idiom, common saying etc.;
It (is teased with the sentence of comma ending, with the punctuation mark in the sentence of branch ending and the sentence to be ended up with fullstop
Number, branch, fullstop) can be user speech input, or the voice inputted in speech recognition process according to user
In pause duration add automatically (such as: when user inputs voice, if dead time between certain two syllable compared with
It is short, then in speech recognition process, comma can be added automatically between the corresponding text of the two syllables, if the two sounds
Dead time between section is moderate, then in speech recognition process, can add automatically between the corresponding text of the two syllables
Bonus point number, can be to the two syllables pair in speech recognition process if the dead time between the two syllables is longer
Fullstop is added automatically between the text answered), or according to the semantic integrity of the text identified in speech recognition process
Add automatically etc..
As shown in figure 5, the present invention also provides a kind of message input devices, comprising:
Switching module 501 is configured as being instructed according to windows exchange by first window when receiving windows exchange instruction
Switch to the second window;
First identification module 502, is configured as identifying and inputs during switching to the second window by first window
First voice messaging obtains corresponding first text information of the first voice messaging;
First input module 503 is configured as unit of sentence the first text information inputting corresponding target window,
Wherein, target window includes first window or the second window.
As shown in fig. 6, in one embodiment, above-mentioned first identification module 502 shown in fig. 5 may include:
First identification submodule 5021, is configured as identifying and cut in the preset window for switching to the second window by first window
The first voice messaging inputted in the period is changed, the first text information is obtained;
Cache sub-module 5022 is configured as the first text information of caching.
As shown in fig. 7, in one embodiment, above-mentioned first input module 503 shown in fig. 5 may include:
Second identification submodule 5031, is configured as the target stop bits of first sentence in the first text information of identification
It sets;
First input submodule 5032 is configured as the first part before target end position in the first text information
Text inputs first window;
Second input submodule 5033 is configured as the second part after target end position in the first text information
Text inputs the second window.
As shown in figure 8, in one embodiment, above-mentioned first input module 503 shown in fig. 5 may include:
Third identifies submodule 5034, is configured as identifying the voice messaging institute inputted when receiving windows exchange and instructing
The target text of conversion;
It determines submodule 5035, is configured to determine that relative position of the target text in the first text information;
Third input submodule 5036 is configured as when relative position is located at the front half section of the first text information, by
One text information inputs the second window as unit of sentence;
4th input submodule 5037 is configured as when relative position is located at the second half section of the first text information, by
One text information inputs first window as unit of sentence.
As shown in figure 9, in one embodiment, above-mentioned device shown in fig. 5 may also include that
Second identification module 901 is configured as before receiving windows exchange instruction, when resting on first window,
It identifies the second voice messaging inputted to first window, obtains corresponding second text information of the second voice messaging;
Second input module 902 is configured as inputting the second text information into as unit of word or as unit of sentence
One window.
In one embodiment, device further include:
Removing module is configured as when the second text information is inputted first window as unit of word, if being with sentence
Unit will the first text information when inputting the second window to the first text information of first window importation, then delete to the
The first text information of part of one window input.
In one embodiment, sentence includes at least one of the following:
It constitutes complete semantic word, constitute complete semantic phrase, with the sentence of comma ending, the sentence to end up with branch
With the sentence to be ended up with fullstop.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Finally, the message input device in the present invention is suitable for terminal device.For example, it may be mobile phone, computer,
Digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant
Deng.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (12)
1. a kind of data inputting method characterized by comprising
When receiving windows exchange instruction, is instructed according to the windows exchange and the second window is switched to by first window;
It identifies the first voice messaging inputted during switching to second window by the first window, obtains described
Corresponding first text information of first voice messaging;
First text information is inputted into corresponding target window as unit of sentence, wherein the target window includes institute
State first window or second window;
Before receiving windows exchange instruction, the method also includes:
When resting on the first window, identifies the second voice messaging inputted to the first window, obtain described second
Corresponding second text information of voice messaging;
When second text information is inputted the first window as unit of word, if by described first as unit of sentence
To first text information of first window importation when text information inputs second window, then Xiang Suoshu is deleted
The first text information of the part of first window input.
2. the method according to claim 1, wherein
It is described to identify the first voice messaging inputted during switching to second window by the first window, it obtains
Corresponding first text information of first voice messaging, comprising:
Identify described the inputted in the preset window switching time section for switching to second window by the first window
One voice messaging obtains first text information;
Cache first text information.
3. the method according to claim 1, wherein
It is described that first text information is inputted into corresponding target window as unit of sentence, comprising:
Identify the target end position of first sentence in first text information;
First part's text before target end position described in first text information is inputted into the first window;
Second part text after target end position described in first text information is inputted into second window.
4. the method according to claim 1, wherein
It is described that first text information is inputted into corresponding target window as unit of sentence, comprising:
Identify the target text that the voice messaging inputted when receiving the windows exchange and instructing is converted;
Determine relative position of the target text in first text information;
When the relative position is located at the front half section of first text information, by first text information with sentence for singly
Position inputs second window;
When the relative position is located at the second half section of first text information, by first text information with sentence for singly
Position inputs the first window.
5. the method according to claim 1, wherein the method also includes:
Second text information is inputted into the first window as unit of word or as unit of sentence.
6. the method according to any one of claims 1 to 5, which is characterized in that
The sentence includes at least one of the following:
Constitute complete semantic word, constitute complete semantic phrase, with the sentence of comma ending, with the sentence of branch ending and with
The sentence of fullstop ending.
7. a kind of message input device characterized by comprising
Switching module, for being instructed according to the windows exchange and being switched to by first window when receiving windows exchange instruction
Second window;
First identification module, first inputted during switching to second window by the first window for identification
Voice messaging obtains corresponding first text information of first voice messaging;
First input module, for first text information to be inputted corresponding target window as unit of sentence, wherein institute
Stating target window includes the first window or second window;
Described device further include:
Second identification module, for when resting on the first window, identifying to institute before receiving windows exchange instruction
The second voice messaging for stating first window input, obtains corresponding second text information of second voice messaging;
Removing module is used for when second text information is inputted the first window as unit of word, if being with sentence
To first text information of first window importation when first text information is inputted second window by unit,
Then delete the first text information of the part inputted to the first window.
8. device according to claim 7, which is characterized in that
First identification module includes:
First identification submodule, for identification in the preset window switching for switching to second window by the first window
Between first voice messaging that inputs in section, obtain first text information;
Cache sub-module, for caching first text information.
9. device according to claim 7, which is characterized in that
First input module includes:
Second identification submodule, for identification in first text information first sentence target end position;
First input submodule, for by first part's text before target end position described in first text information
Input the first window;
Second input submodule, for by the second part text after target end position described in first text information
Input second window.
10. device according to claim 7, which is characterized in that
First input module includes:
Third identifies submodule, the mesh that the voice messaging inputted for identification when receiving the windows exchange and instructing is converted
Mark text;
Submodule is determined, for determining relative position of the target text in first text information;
Third input submodule, when for being located at the front half section of first text information when the relative position, by described
One text information inputs second window as unit of sentence;
4th input submodule, when second half section for being located at first text information when the relative position, by described
One text information inputs the first window as unit of sentence.
11. device according to claim 7, which is characterized in that described device further include:
Second input module, for second text information to be inputted first window as unit of word or as unit of sentence
Mouthful.
12. device according to any one of claims 7 to 11, which is characterized in that
The sentence includes at least one of the following:
Constitute complete semantic word, constitute complete semantic phrase, with the sentence of comma ending, with the sentence of branch ending and with
The sentence of fullstop ending.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611028699.8A CN106531164B (en) | 2016-11-18 | 2016-11-18 | A kind of data inputting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611028699.8A CN106531164B (en) | 2016-11-18 | 2016-11-18 | A kind of data inputting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106531164A CN106531164A (en) | 2017-03-22 |
CN106531164B true CN106531164B (en) | 2019-06-14 |
Family
ID=58351802
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611028699.8A Active CN106531164B (en) | 2016-11-18 | 2016-11-18 | A kind of data inputting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106531164B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1708787A (en) * | 2002-10-30 | 2005-12-14 | 三星电子株式会社 | Method for encoding digital audio using advanced psychoacoustic model and apparatus thereof |
CN102750949A (en) * | 2012-07-16 | 2012-10-24 | 深圳市车音网科技有限公司 | Voice recognition method and device |
CN103176591A (en) * | 2011-12-21 | 2013-06-26 | 上海博路信息技术有限公司 | Text location and selection method based on voice recognition |
CN104317474A (en) * | 2014-09-22 | 2015-01-28 | 腾讯科技(深圳)有限公司 | Window switching method and device |
CN104899080A (en) * | 2014-03-05 | 2015-09-09 | 腾讯科技(深圳)有限公司 | Method and apparatus for switching real-time image in instant messaging |
CN105808733A (en) * | 2016-03-10 | 2016-07-27 | 深圳创维-Rgb电子有限公司 | Display method and apparatus |
CN105872803A (en) * | 2015-12-30 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Method and device for controlling voices of smart television |
-
2016
- 2016-11-18 CN CN201611028699.8A patent/CN106531164B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1708787A (en) * | 2002-10-30 | 2005-12-14 | 三星电子株式会社 | Method for encoding digital audio using advanced psychoacoustic model and apparatus thereof |
CN103176591A (en) * | 2011-12-21 | 2013-06-26 | 上海博路信息技术有限公司 | Text location and selection method based on voice recognition |
CN102750949A (en) * | 2012-07-16 | 2012-10-24 | 深圳市车音网科技有限公司 | Voice recognition method and device |
CN104899080A (en) * | 2014-03-05 | 2015-09-09 | 腾讯科技(深圳)有限公司 | Method and apparatus for switching real-time image in instant messaging |
CN104317474A (en) * | 2014-09-22 | 2015-01-28 | 腾讯科技(深圳)有限公司 | Window switching method and device |
CN105872803A (en) * | 2015-12-30 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Method and device for controlling voices of smart television |
CN105808733A (en) * | 2016-03-10 | 2016-07-27 | 深圳创维-Rgb电子有限公司 | Display method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN106531164A (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107301860B (en) | Voice recognition method and device based on Chinese-English mixed dictionary | |
CN106531167B (en) | Voice information processing method and device | |
KR101880378B1 (en) | Speech synthesis method and device | |
KR101735212B1 (en) | Method and device for voiceprint identification | |
CN106384593A (en) | Voice information conversion and information generation method and device | |
CN102324191B (en) | Method and system for synchronously displaying audio book word by word | |
US20160019816A1 (en) | Language Learning Tool | |
CN106653030A (en) | Punctuation mark adding method and device | |
CN105074817A (en) | Systems and methods for switching processing modes using gestures | |
RU2016146267A (en) | TRANSFER INSIDE THE CALL | |
CN105529027A (en) | Voice identification method and apparatus | |
WO2016042815A1 (en) | Speech interaction apparatus and method | |
CN103956167A (en) | Visual sign language interpretation method and device based on Web | |
CN106126080B (en) | Voice management method and device | |
CN104572081B (en) | A kind of method and device for controlling application switching | |
KR20160131505A (en) | Method and server for conveting voice | |
CN106210927A (en) | A kind of track switching method and apparatus | |
CN106354269A (en) | Voice input method and device | |
CN107910021A (en) | A kind of symbol insertion method and device | |
CN111768763A (en) | Acoustic model training method and device, electronic equipment and storage medium | |
CN106531164B (en) | A kind of data inputting method and device | |
CN105488370A (en) | Children mode unlock method and device | |
CN106205607B (en) | Voice information processing method and speech information processing apparatus | |
CN111105781B (en) | Voice processing method, device, electronic equipment and medium | |
CN110473524B (en) | Method and device for constructing voice recognition system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 100191 Beijing, Huayuan Road, Haidian District No. 2 peony technology building, 5 floor, A503 Patentee after: Yunzhisheng Intelligent Technology Co., Ltd. Address before: 100191 Beijing, Huayuan Road, Haidian District No. 2 peony technology building, 5 floor, A503 Patentee before: Beijing Yunzhisheng Information Technology Co., Ltd. |