CN109683734A - A kind of intelligent sound mouse self-defining key control method - Google Patents
A kind of intelligent sound mouse self-defining key control method Download PDFInfo
- Publication number
- CN109683734A CN109683734A CN201811637699.7A CN201811637699A CN109683734A CN 109683734 A CN109683734 A CN 109683734A CN 201811637699 A CN201811637699 A CN 201811637699A CN 109683734 A CN109683734 A CN 109683734A
- Authority
- CN
- China
- Prior art keywords
- self
- key
- defining key
- mouse
- defining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- 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/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/038—Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
Abstract
The invention discloses a kind of intelligent sound mouse self-defining key control methods, comprising: S1, the state and key assignments for detecting mouse self-defining key;S2, judgement record and the working condition of voiced translation engine;S3, translation software exercise different functions according to the various combination of the state and key signals of the mouse self-defining key and the recording and the working state signal of voiced translation engine.By the way that a self-defining key is arranged on conventional mouse key, after pressing mouse self-defining key, software will detect that the key assignments of the key, and start to record, recording is switched to export after being translated again after text, if the self-defining key of mouse is lifted, the recording of software can also terminate, and when realizing interpretative function using intelligent sound mouse, operating process is simple and convenient;In addition, this intelligent sound mouse self-defining key can realize voiced translation and draw word interpretative function, it is more comprehensive compared to such as existing computer end voiced translation technology.
Description
Technical field
The present invention relates to intelligent sound mouse-technique and technical field of voice interaction, specially a kind of intelligent sound mouse is certainly
Define key control method.
Background technique
Present mobile phone terminal has had the voiced translation scheme of comparative maturity, is essentially all to adjust the setting of software
It is good, there is a voice input button on the screen, pinning this button can be carried out voiced translation, terminate after release button defeated
Enter, people have formd certain use habit to this input mode.It, can only be by setting keyboard but in computer end
A key, press the key carry out voiced translation, lift key translation terminate, or with mouse click screen on one
Button realizes voiced translation, also pins button and carries out voiced translation, unclamps and stops translation, or clicks button and carry out
Voiced translation, again taps on stopping, and the voice translation functions of this computer end can not timely accomplish voiced translation, when use
It is very inconvenient.Based on this, plans intelligent sound mouse and one translation key is set, the long-pressing key can activate voice to turn over
The function of translating, such people can use the function of controlling voiced translation at any time.
A kind of interaction based on intelligent sound mouse of the prior art such as disclosure of the invention of Publication No. CN107818778A
System, including local computer and intelligent sound mouse;The mouse USB interface of intelligent sound mouse is by usb bus or wirelessly
Connect local computer;Intelligent sound mouse includes: voice acquisition module, semantic module, voice playing module, mouse
USB interface;Local computer includes: voice wake-up module, program controling module, speech recognition module, voice synthetic module, meter
Calculation machine USB interface.The present invention is broadcast by being provided with voice acquisition module, speech analysis module, voice in intelligent sound mouse
Amplification module, mouse built-in microphone, speaker and sound card, accurate semantic analysis understand, realize voice collecting and broadcasting, realize text
Broadcasting is read aloud in word translation, intelligent sound mouse interactive function and intelligent sound mouse action processing speed is improved, convenient for making
With, pass through voice open program, realize intelligent sound interaction.But it is cooperating mousebutton to realize interpretative function by voice
When, process is cumbersome, and intelligent sound mouse interpretative function is single.
Summary of the invention
The purpose of the present invention is to provide a kind of intelligent sound mouse self-defining key control methods, to solve above-mentioned background skill
For the intelligent sound mouse of the prior art proposed in art when cooperating mousebutton to realize interpretative function by voice, there are processes
It is cumbersome, and the problem that intelligent sound mouse interpretative function is single.
To achieve the above object, the invention provides the following technical scheme:
A kind of intelligent sound mouse self-defining key control method, method includes the following steps:
S1, the state and key assignments for detecting mouse self-defining key;
S2, judgement record and the working condition of voiced translation engine;
S3, translation software are according to the state and key signals of the mouse self-defining key and the recording and voiced translation
The various combination of the working state signal of engine exercises different functions.
Preferably, in the S1 detect mouse self-defining key state and key assignments be detect mouse self-defining key press with
It does not press, and representated by the time relationship of detection timer record pressed and lifted in different moments mouse self-defining key
Send the type of message.
More preferably, the message categories to be sent include " pressing " message, " clicking " message and " lifting " message.
Preferably, different functions is exercised according to various combination in the S3 to be pressed and record including at least self-defining key
It works with voiced translation engine, then continues to test whether self-defining key is pressed;Self-defining key is pressed and records and voiced translation
Engine does not work, then opens recording and voiced translation engine, and recording data is passed to translation engine interface;Self-defining key not by
It presses, record and voiced translation engine does not work and self-defining key is not clicked, then continue to test whether self-defining key is pressed;From
Definition key is not pressed, record and voiced translation engine does not work and self-defining key is clicked, then copies to Clipboard content simultaneously
It extracts, and uploads to translation interface and obtain result displaying on interface;And self-defining key be not pressed and record and voice turn over
Engine work is translated, then stop recording engine and stops recording, obtains translation result, and send the keyboard coding for identifying content to
Insertion symbol position.
Preferably, it includes voice translation functions and stroke word interpretative function that translation software, which exercises different functions, in the S3.
Compared with prior art, the beneficial effects of the present invention are: a kind of customized keying of intelligent sound mouse of the invention
Method processed, by the way that a self-defining key is arranged on conventional mouse key, after pressing mouse self-defining key, software will detect that this
Recording is switched to export after being translated again after text, if the self-defining key of mouse is lifted by the key assignments of key, and start to record
It rises, then the recording of software can also terminate, when realizing interpretative function using intelligent sound mouse, operating process is simple and convenient;
In addition, this intelligent sound mouse self-defining key can realize voiced translation and draw word interpretative function, turned over compared to such as existing computerized speech
It is more comprehensive to translate technology.The technical program can allow voiced translation to be promoted in computer end, and people is gradually allowed to receive and practise
It is used.
Detailed description of the invention
Fig. 1 is a kind of intelligent sound mouse self-defining key control method schematic diagram of the present invention;
Fig. 2 is intelligent sound mouse self-defining key key testing process schematic diagram in the present invention;
Fig. 3 is the testing process schematic diagram of interpretive scheme in the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, be a kind of intelligent sound mouse self-defining key control method, method includes the following steps:
S1, the state and key assignments for detecting mouse self-defining key.
The state and key assignments of mouse self-defining key are detected, the state and key assignments of mouse self-defining key are that detection mouse is customized
Key being pressed and not pressing, and the time of detection timer record pressed and lifted in different moments mouse self-defining key closes
The representative type that send message of system, wherein message categories include that " pressing " message, " clicking " message and " lifting " disappear
Breath.As shown in Fig. 2, detailed process are as follows: (1) 50ms timer timing detection voice key current state is set, if state is to press,
Recording time for pressing for the first time is initial value, and the time will be denoted as t1, the time lifted is initialized, and sends and press
Then message returns to timer, if the time pressed is not initial value, directly transmit the message of " pressing ";(2) if timer
It detects that state is not to press, the time lifted for the first time is recorded as t2.Whether true detect t2-t1 < 500ms, if at
It is vertical, send " clicking " message.If invalid, skip." lifting " message is sent later, and returns to timer, if lift
Time is not initial value, then directly transmits " clicking " message.
S2, judgement record and the working condition of voiced translation engine.
After the state and key assignments for monitoring mouse self-defining key, the work of identification recording and voiced translation engine need to be judged
Make state.
S3, translation software are according to the state and key signals of the mouse self-defining key and the recording and voiced translation
The various combination of the working state signal of engine exercises different functions.
Because the state and key signals of the mouse self-defining key are different in different moments, and recording and voice turn over
The working condition for translating engine is also different, and the combination of the two at a time is just relatively more, and translation software can be according to the mouse
The various combination of the working state signal of the state and key signals of mark self-defining key and the recording and voiced translation engine
Exercise different functions.Wherein, according to various combination exercise different functions including at least self-defining key be pressed and record with
The work of voiced translation engine, then continue to test whether self-defining key is pressed;Self-defining key be pressed and record and voiced translation draw
It holds up and does not work, then open recording and voiced translation engine, and recording data is passed into translation engine interface;Self-defining key is not pressed
Under, recording and voiced translation engine does not work and self-defining key is not clicked, then continue to test whether self-defining key is pressed;It makes by oneself
Adopted key is not pressed, record and voiced translation engine does not work and self-defining key is clicked, then content is copied to Clipboard and mentioned
It takes, and uploads to translation interface and obtain result displaying on interface;And self-defining key is not pressed and records and voiced translation
Engine work, then stopping recording engine and stops recording, and obtains translation result, and sends the keyboard coding for identifying content to slotting
Enter to accord with position.As shown in figure 3, detailed process are as follows: (1) detect key whether press, if pressed, judge identify engine whether work
Make, if continuing to test whether key is pressed working.If not working, recording and voiced translation engine are opened, and by number of recording
According to translation engine interface is passed to, until engine stops working.(2) whether detection key is pressed, if do not pressed, judges to identify
Whether engine is working, if do not worked, judges whether key is clicked, if it is not, continuing to monitor whether key is pressed.
If key is clicked, content is copied to Clipboard and extracted, and upload to translation interface, obtained result and show on interface.
If identification engine is working, stops recording engine and stop recording, obtain translation result.It will identify the keyboard coding hair of content
It is sent to insertion symbol position.
Include voice translation functions and draw word interpretative function in addition, translation software exercises different functions, realizes that voice turns over
Translate the process of function are as follows: the self-defining key for pinning mouse, after software detection is pressed to self-defining key, it will lasting recording simultaneously will
Text is converted into corresponding language and exports, and after the self-defining key of mouse lifts, software stops recording, such as: press mouse
After self-defining key, say that " today, weather was very good, you are in What in QQ chat window." then unclamp mouse self-defining key.Just
Can QQ chat in be automatically translated into " It ' s a lovely day today.What are you doing? " this section of text
Word.When realizing the function of drawing word translation, the passage on screen is selected, clicks mouse self-defining key, so that it may by what is chosen
Character translation is corresponding language.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with
A variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understanding
And modification, the scope of the present invention is defined by the appended.
Claims (5)
1. a kind of intelligent sound mouse self-defining key control method, which is characterized in that method includes the following steps:
S1, the state and key assignments for detecting mouse self-defining key;
S2, judgement record and the working condition of voiced translation engine;
S3, translation software are according to the state and key signals of the mouse self-defining key and the recording and voiced translation engine
The various combination of working state signal exercise different functions.
2. a kind of intelligent sound mouse self-defining key control method according to claim 1, which is characterized in that in the S1
The state and key assignments for detecting mouse self-defining key are to detect pressing and not pressing for mouse self-defining key, and detection timer is remembered
The type of message is sent representated by the time relationship of record pressed and lifted in different moments mouse self-defining key.
3. a kind of intelligent sound mouse self-defining key control method according to claim 2, which is characterized in that described to send out
The message categories sent include " pressing " message, " clicking " message and " lifting " message.
4. a kind of intelligent sound mouse self-defining key control method according to claim 1, which is characterized in that in the S3
According to various combination exercise different functions including at least self-defining key be pressed and record and voiced translation engine work, then after
Whether continuous detection self-defining key is pressed;Self-defining key be pressed and record and voiced translation engine do not work, then open recording and
Voiced translation engine, and recording data is passed into translation engine interface;Self-defining key is not pressed, records and voiced translation engine
It does not work and self-defining key is not clicked, then continue to test whether self-defining key is pressed;Self-defining key is not pressed, records and language
Sound translation engine does not work and self-defining key is clicked, then content is copied to Clipboard and extracted, and uploads to translation interface and obtain
Result is taken to show on interface;And self-defining key is not pressed and records and the work of voiced translation engine, then stops recording and draw
It holds up and stops recording, obtain translation result, and send insertion symbol position for the keyboard coding for identifying content.
5. a kind of intelligent sound mouse self-defining key control method according to claim 1, which is characterized in that in the S3
It includes voice translation functions and stroke word interpretative function that translation software, which exercises different functions,.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811637699.7A CN109683734A (en) | 2018-12-29 | 2018-12-29 | A kind of intelligent sound mouse self-defining key control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811637699.7A CN109683734A (en) | 2018-12-29 | 2018-12-29 | A kind of intelligent sound mouse self-defining key control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109683734A true CN109683734A (en) | 2019-04-26 |
Family
ID=66191226
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811637699.7A Pending CN109683734A (en) | 2018-12-29 | 2018-12-29 | A kind of intelligent sound mouse self-defining key control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109683734A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110674825A (en) * | 2019-09-27 | 2020-01-10 | 安徽咪鼠科技有限公司 | Character recognition method, device and system applied to intelligent voice mouse and storage medium |
CN111326158A (en) * | 2020-01-23 | 2020-06-23 | 深圳市安顺康医疗电子有限公司 | Voice control method based on intelligent terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1251440A (en) * | 1999-11-26 | 2000-04-26 | 陈清正 | Mouse and keyboard apparatus capable of controlling translation and sound-production and control method thereof |
CN101430681A (en) * | 2008-12-12 | 2009-05-13 | 刘一博 | Input method embedded with translation function |
CN105468586A (en) * | 2015-11-26 | 2016-04-06 | 百度在线网络技术(北京)有限公司 | Translation function implementation method and translation function implementation device |
CN207020643U (en) * | 2017-08-11 | 2018-02-16 | 黄炯藩 | A kind of mouse with voice translation functions |
CN107818778A (en) * | 2017-11-15 | 2018-03-20 | 安徽声讯信息技术有限公司 | A kind of interactive system based on intelligent sound mouse |
CN207473563U (en) * | 2017-11-29 | 2018-06-08 | 合肥讯飞数码科技有限公司 | A kind of speech processes mouse |
-
2018
- 2018-12-29 CN CN201811637699.7A patent/CN109683734A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1251440A (en) * | 1999-11-26 | 2000-04-26 | 陈清正 | Mouse and keyboard apparatus capable of controlling translation and sound-production and control method thereof |
CN101430681A (en) * | 2008-12-12 | 2009-05-13 | 刘一博 | Input method embedded with translation function |
CN105468586A (en) * | 2015-11-26 | 2016-04-06 | 百度在线网络技术(北京)有限公司 | Translation function implementation method and translation function implementation device |
CN207020643U (en) * | 2017-08-11 | 2018-02-16 | 黄炯藩 | A kind of mouse with voice translation functions |
CN107818778A (en) * | 2017-11-15 | 2018-03-20 | 安徽声讯信息技术有限公司 | A kind of interactive system based on intelligent sound mouse |
CN207473563U (en) * | 2017-11-29 | 2018-06-08 | 合肥讯飞数码科技有限公司 | A kind of speech processes mouse |
Non-Patent Citations (1)
Title |
---|
殷继彬: "《笔+触控交互界面的设计策略与研究》", 30 June 2016, 云南大学出版社 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110674825A (en) * | 2019-09-27 | 2020-01-10 | 安徽咪鼠科技有限公司 | Character recognition method, device and system applied to intelligent voice mouse and storage medium |
CN111326158A (en) * | 2020-01-23 | 2020-06-23 | 深圳市安顺康医疗电子有限公司 | Voice control method based on intelligent terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN207149252U (en) | Speech processing system | |
CN104850222B (en) | A kind of instruction identification method and electric terminal | |
CN107635147A (en) | Health information management TV based on multi-modal man-machine interaction | |
WO2019137066A1 (en) | Electric appliance control method and device | |
CN105635778A (en) | Voice interaction method and system of intelligent television | |
CN103116576A (en) | Voice and gesture interactive translation device and control method thereof | |
CN104360736A (en) | Gesture-based terminal control method and system | |
CN109448460A (en) | One kind reciting detection method and user equipment | |
CN105244042B (en) | A kind of speech emotional interactive device and method based on finite-state automata | |
CN109683734A (en) | A kind of intelligent sound mouse self-defining key control method | |
CN203149569U (en) | Voice and gesture interactive translation device | |
CN110288989A (en) | Voice interactive method and system | |
CN109599110A (en) | A kind of intelligent sound mouse voice key control method | |
CN105869636A (en) | Speech recognition apparatus and method thereof, smart television set and control method thereof | |
CN102934989A (en) | Heart sound recognition device and method based on neural network | |
CN104469543A (en) | Video marking device based on voice technology | |
CN107569246B (en) | Embedded controller fatigue risk measuring device and method thereof | |
CN109961789A (en) | One kind being based on video and interactive voice service equipment | |
CN106020647A (en) | Picture content automatic extracting method and system | |
CN109300478A (en) | A kind of auxiliary Interface of person hard of hearing | |
CN108419200A (en) | A kind of microphone array fault detection method and device | |
CN105425942A (en) | Method and system for pushing learning content to a display interface | |
CN103258544B (en) | A kind of examination system | |
CN106911832A (en) | A kind of method and device of voice record | |
CN204010691U (en) | A kind of portable electronic schedule memorandum phonetic prompt instrument |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Room 310, R & D center building, China (Hefei) international intelligent voice Industrial Park, No. 3333, Xiyou Road, hi tech Zone, Hefei City, Anhui Province Applicant after: ANHUI MIMOUSE TECHNOLOGY CO.,LTD. Address before: Room 306, R&D Center Building, China (Hefei) International Intelligent Voice Industry Park, 3333 Xiyou Road, Hefei High-tech Zone, Anhui Province Applicant before: ANHUI MIMOUSE TECHNOLOGY CO.,LTD. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190426 |
|
RJ01 | Rejection of invention patent application after publication |