CN110365371A - The method and its system, electronic equipment that trigger signal realizes translation system control are provided based on bluetooth equipment - Google Patents

The method and its system, electronic equipment that trigger signal realizes translation system control are provided based on bluetooth equipment Download PDF

Info

Publication number
CN110365371A
CN110365371A CN201910608904.5A CN201910608904A CN110365371A CN 110365371 A CN110365371 A CN 110365371A CN 201910608904 A CN201910608904 A CN 201910608904A CN 110365371 A CN110365371 A CN 110365371A
Authority
CN
China
Prior art keywords
translation
bluetooth equipment
trigger signal
app
text information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910608904.5A
Other languages
Chinese (zh)
Inventor
刘于平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shenglin Technology Co Ltd
Original Assignee
Shenzhen Shenglin Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shenglin Technology Co Ltd filed Critical Shenzhen Shenglin Technology Co Ltd
Priority to CN201910608904.5A priority Critical patent/CN110365371A/en
Publication of CN110365371A publication Critical patent/CN110365371A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/08Text analysis or generation of parameters for speech synthesis out of text, e.g. grapheme to phoneme translation, prosody generation or stress or intonation determination
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Theoretical Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Machine Translation (AREA)

Abstract

The method and its system, electronic equipment that trigger signal realizes translation system control are provided based on bluetooth equipment the present invention relates to a kind of, the trigger signal of a bluetooth equipment is provided, and translation APP starts to start after receiving trigger signal;And translation APP obtains the sound recorded through bluetooth equipment, is identified as carrying out the translation between each language after text information again;Text information after translation is carried out to the conversion of the text information of object language;And the text information of target voice is synthesized into target voice audio file and target voice audio file is played by bluetooth equipment.The method provided by the present invention for providing trigger signal realization translation system control based on bluetooth equipment makes it possible that all bluetooth equipments cooperation translation APP carry out translation.

Description

The method and its be that trigger signal realizes that translation system controls are provided based on bluetooth equipment System, electronic equipment
[technical field]
It is the present invention relates to artificial intelligence field, in particular to a kind of to provide trigger signal realization translation based on bluetooth equipment The method and its system, electronic equipment of system control.
[background technique]
With the development and progress of society, the paces of all trades and professions globalization are getting faster, regardless of above still existing in work In life, and it is also more and more using the demand linked up between the people of different language.Although the APP of major part mobile phone at present It has been switched on voice translation on line service with the desktop application of computer, has said that the people of different language has erected the bridge linked up for two Beam, but both modes be really it is not convenient enough, practicability is not high.
If hearer can be allowed to obtain and preferably use body in voiced translation service convergence to portable bluetooth equipment Test, convenience and usability can be improved, but existing interpreting equipment need by Bluetooth Low Energy (BLE, Bluetooth Low Energy) mode with translation APP communication, need to customize bimodulus earphone or bluetooth equipment, give routine use Bring great inconvenience.
It would therefore be highly desirable to provide a kind of new technique scheme that can effectively solve the above problems.
[summary of the invention]
To solve the problems, such as that the existing part bluetooth equipment APP that cannot arrange in pairs or groups is translated, the present invention provides a kind of based on indigo plant Tooth equipment provides the method and its system, electronic equipment that trigger signal realizes translation system control.
The present invention is in order to solve the above technical problems, provide the following technical solution: one kind providing triggering based on bluetooth equipment The method that signal realizes translation system control, it is characterised in that: it provides a bluetooth equipment the following steps are included: step S1 Trigger signal, translation APP (Application) start to start after receiving trigger signal;And step S2, translation APP obtain warp The sound that bluetooth equipment is recorded, is identified as carrying out the translation between each language after text information again;Step S3, by the text after translation This information carries out the conversion of the text information of object language;And step S4, the text information of target voice is synthesized into target language Sound audio file simultaneously plays target voice audio file by bluetooth equipment.
Preferably, APP is translated in above-mentioned steps S1 particular by AVRCP (Audio/Video Remote Control Profile) instruction or AT (Attention) instruction obtain trigger signal.
Preferably, above-mentioned steps S1 is specifically includes the following steps: step S11, sends operation life by bluetooth equipment key It enables in terminal operating system;Step S12, sending control signal to bluetooth is set after terminal operating system receives operation order It is standby, to open the channel HFP of bluetooth equipment;And step S13, translation APP is clicked, bluetooth equipment sends AVRCP by the channel HFP Instruction translates APP and starts to start to translation APP.
Preferably, APP is translated in above-mentioned steps S2 to record particular by the channel HFP of bluetooth equipment and collect recording Successful sound.
Preferably, above-mentioned steps S2 is specifically includes the following steps: step S21, bluetooth equipment pass through the channel HFP recording sound Sound, and successful sound will be recorded and be sent to translation APP;Step S22 translates APP by speech recognition and converts a sound to text This information;And step S23, translation APP carry out multilingual translation to above-mentioned text information.
Preferably, above-mentioned steps S21 is specifically includes the following steps: step S211, translation APP know ambient sound Not, when detecting the voice of target frequency, bluetooth equipment is by the channel HFP recorded voice, conversely, then stopping recording sound Sound;Step S212 will be sent to translation APP by recording successful sound.
Preferably, in above-mentioned steps S4 target voice audio file particular by bluetooth equipment A2DP (Advanced Audio Distribution Profile) channel broadcasting.
Preferably, above-mentioned steps S4 is specifically includes the following steps: step S41, sends the text information of target voice to TTS (Text-To-Speech) speech synthesis engine on APP is translated to obtain target language audio file;And step S42, lead to The channel A2DP for crossing bluetooth equipment plays target voice audio file.
The present invention is in order to solve the above technical problems, to provide another technical solution as follows: one kind providing touching based on bluetooth equipment It signals to realize the system that translation system controls, it is characterised in that: comprising: trigger module, for providing a bluetooth equipment Trigger signal, translation APP start to start after receiving trigger signal;Analysis module translates APP to the triggering from bluetooth equipment Signal is analyzed, and is obtained the type of bluetooth equipment with this and is matched corresponding operating mode;Recording module, to extraneous voice It is identified, the extraneous voice identified by voice is recorded;Translation module will record successful voice recognition into text The translation between each language is carried out after information again;Text information after translation is carried out object language by conversion and synthesis module The conversion of text information, then the text information of target voice is synthesized into target voice audio file;Playing module passes through bluetooth Device plays target voice audio file.
The present invention is in order to solve the above technical problems, to provide another technical solution as follows: a kind of electronic device comprising storage Unit and processing unit, the storage unit are used for single by the storage for storing computer program, the processing unit The computer program of member storage, which executes, provides the method that trigger signal realizes translation system control based on bluetooth equipment as described above In step.
Compared with prior art, provided by the present invention to provide trigger signal realization translation system control based on bluetooth equipment Method and its system, electronic equipment, have it is following the utility model has the advantages that
The present invention provides a kind of method for realizing translation system control based on bluetooth equipment offer trigger signal, especially by The trigger signal for providing a bluetooth equipment, which makes to translate after APP receives trigger signal, to be started to start, and translation APP acquisition is set through bluetooth After the sound of priming, it is identified as carrying out the translation between each language after text information again, then by the text information after translation The conversion for carrying out the text information of object language, finally synthesizes target voice audio file simultaneously for the text information of target voice It is played by bluetooth equipment.The present invention is to be operated by translating APP to bluetooth equipment, and then realize interpretative function, and right Bluetooth equipment itself does not make particular/special requirement, such that all bluetooth equipment cooperation translation APP carry out translation, expand simultaneously The envelop of function of bluetooth equipment.
Specifically, translation APP of the invention is instructed particular by AVRCP or AT instruction obtains trigger signal, certainly, For bluetooth BLE equipment, trigger signal can also be obtained by setting custom instruction.It is corresponding when pressing bluetooth equipment When key sends operating instruction and arrives mobile phone terminal, the terminal operating system of mobile phone terminal, which can receive and open, controls bluetooth equipment The channel HFP, thus the channel HFP can make bluetooth equipment control phone, such as answer, hang up, rejection, phonetic dialing, and translation APP is logical Start to start translation flow after crossing HFP channel reception to the AVRCP instruction of bluetooth equipment or AT instruction or custom instruction, with this Realize the control by translation APP to bluetooth equipment.
Further, bluetooth equipment is by the channel HFP recorded voice, and will record successful sound and be sent to translation APP, Acoustic information can be converted to text information by speech recognition by translation APP, and carry out multilingual to above-mentioned text information Translation, it is of course possible to the languages for carrying out language translation are unlimited, for example the international common language such as English, Japanese, Korean can be by Real-time accurate translation.
Translation APP can't record all sound in periphery, but the voice of specific objective frequency is selected to be recorded System, so that the processing of noise reduction can be realized.In certain specific embodiments of the invention, the voice frequency range that can choose exists Between 80~1200Hz, the voice of this range can form difference with the noise on periphery, so that noise be prevented to be recorded and be translated APP wrong identification translation, to interfere translation result.Certainly, translation APP detects that there is the voice Shi Huijin of target frequency on periphery Row recording, and then stops recording when not detecting the voice in target zone, in order to avoid function waste or bringing inconvenience, influences User experience.
The text information of translated mistake in the present invention obtains target language audio file by TTS speech synthesis engine Afterwards, it can be played out by the channel A2DP of bluetooth equipment.
The present invention also provides a kind of electronic devices comprising storage unit and processing unit, the storage unit is for depositing Computer program is stored up, the computer program that the processing unit is used to store by the storage unit executes described based on bluetooth Equipment provides the step in the method that trigger signal realizes that translation system controls, and provides trigger signal based on bluetooth equipment to obtain The method for realizing translation system control.Therefore, the electronic device, which also has, provides trigger signal based on bluetooth equipment with above-mentioned Realize the identical beneficial effect of method of translation system control, details are not described herein.
[Detailed description of the invention]
Fig. 1 is to provide trigger signal based on bluetooth equipment provided by first embodiment of the invention to realize translation system control Method step flow diagram;
Fig. 2 is the specific steps flow diagram of step S1 shown in Fig. 1;
Fig. 3 is the specific steps flow diagram of step S2 shown in Fig. 1;
Fig. 4 is the specific steps flow diagram of step S21 shown in Fig. 3;
Fig. 5 is the specific steps flow diagram of step S4 shown in Fig. 1;
Fig. 6 is to provide trigger signal based on bluetooth equipment provided by second embodiment of the invention to realize translation system control System the functional block diagram;
Fig. 7 is signal transmission figure between the functional module of the invention using bluetooth equipment combining translation APP realization translation;
Fig. 8 is the functional block diagram of electronic device provided by third embodiment of the invention.
Attached drawing mark explanation:
200, the system that trigger signal realizes translation system control is provided based on bluetooth equipment;20, trigger module;21, point Analyse module;22, recording module;23, translation module;24, conversion and synthesis module;25, playing module;P10, bluetooth equipment; P20, mobile phone;P30 translates APP;300, electronic device;31, storage unit;32, processing unit.
[specific embodiment]
In order to make the purpose of the present invention, technical solution and advantage are more clearly understood, below in conjunction with attached drawing and embodiment, The present invention will be described in further detail.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, It is not intended to limit the present invention.
It is translated referring to Fig. 1, the first embodiment of the present invention provides a kind of realize based on bluetooth equipment offer trigger signal The method of system control comprising following step:
Step S1, provides the trigger signal of a bluetooth equipment, and translation APP starts to start after receiving trigger signal;And
Step S2, translation APP obtain the sound recorded through bluetooth equipment, be identified as after text information carrying out again each language it Between translation;
Text information after translation is carried out the conversion of the text information of object language by step S3;And
The text information of target voice is synthesized target voice audio file and plays mesh by bluetooth equipment by step S4 Poster sound audio file.
It should be noted that can with translation APP carry out pairing connection bluetooth equipment without limitation, can be bluetooth ear The version of machine or Baffle Box of Bluetooth etc., the bluetooth equipment that pairing connection can be carried out with translation APP is also not construed as limiting, either bluetooth 3.0 versions and conventional Bluetooth equipment or 4.0 version of bluetooth before and low-power consumption bluetooth (BLE, Bluetooh later Low Energy), translation APP can receive trigger signal and carry out judgement identification to it, then make to it accordingly Instruction enables bluetooth equipment to connect with translation APP pairing, matches so that bluetooth equipment be made to can be used as interpreting equipment with translation APP It closes and uses.
Optionally, in some specific embodiments of the present invention, when the trigger signal is to be sent by bluetooth equipment key When AVRCP order, as shown in Figure 2, above-mentioned steps S1 may particularly include following steps:
Step S11 is sent in operation order to terminal operating system by bluetooth equipment key;
Step S12, terminal operating system issue control signal to bluetooth equipment, to open bluetooth after receiving operation order The channel HFP of equipment;And
Step S13 clicks translation APP, and bluetooth equipment sends AVRCP by the channel HFP and instructs to translation APP, translates APP Start to start.
In the present invention, the terminal operating system of mobile phone can be Android mobile device operation system (Android) or apple Any one in fruit mobile device operation system (IOS), two kinds of systems can be supported to receive the signal of bluetooth equipment;Terminal behaviour Control signal is issued after the operation order that system receives the transmission of bluetooth equipment key to bluetooth equipment, to open bluetooth equipment The channel HFP, later user can open manually translation APP software, bluetooth equipment can pass through the channel HFP send trigger signal To translation APP, to start the translation flow of translation APP.
In present embodiment, APP is translated particular by AVRCP (Audio/Video Remote Control Profile) instruction obtains trigger signal, trigger signal is obtained it is of course also possible to be instructed with AT (Attention), for low For power consumption bluetooth BLE equipment, it can also be arranged from command instruction and obtain trigger signal.
After translating the trigger signal that APP receives bluetooth equipment sending, it can bring into operation and trigger signal is analyzed, To obtain the type of bluetooth equipment and match corresponding operating mode.Particularly, translation APP can be according to the letter received Number the corresponding identification bluetooth equipments of difference types or version, the difference of type or version for bluetooth equipment translates APP energy It is enough to be accordingly converted to the operating mode for matching the bluetooth equipment.
Optionally, in other specific embodiments of the invention, as shown in Figure 3, above-mentioned steps S2 further comprises Following steps:
Step S21, bluetooth equipment will record successful sound and are sent to translation APP by the channel HFP recorded voice;
Step S22 translates APP by speech recognition and converts a sound to text information;And
Step S23, translation APP carry out multilingual translation to above-mentioned text information.
Specifically, bluetooth equipment is by the channel HFP recorded voice, and will record successful sound and be sent to translation APP, turns over Text information can be converted to acoustic information by speech recognition by translating APP, and is carried out multilingual to above-mentioned text information and turned over It translates, it is of course possible to which the languages for carrying out language translation are unlimited, for example the international common language such as English, Japanese, Korean can be by reality When accurate translation.
Further, in other specific embodiments of the invention, as shown in Figure 4, above-mentioned steps S21 is further wrapped Include following steps:
Step S211, translation APP identify that, when detecting the voice of target frequency, bluetooth is set to ambient sound It is standby to pass through the channel HFP recorded voice, conversely, then stopping recorded voice;
Step S212 will be sent to translation APP by recording successful sound.
Herein it is to be appreciated that translation APP can't record all sound in periphery, but select specific objective frequency Voice recorded, in certain specific embodiments of the invention, the voice frequency range that can choose 80~ Between 1200Hz, the voice of this range will not store the noise on periphery, and noise is prevented to be recorded and identify, interfere translation result. Particularly, translation APP can analyse and compare to the sound obtained by bluetooth equipment, when there is matched sound frequency, then Translate the instruction that APP sends beginning recorded voice to bluetooth equipment just can be recorded after bluetooth headset receives instruction by the channel HFP Sound processed.Certainly, translation APP, which is detected, will do it recording when there is the voice of target frequency on periphery, and ought not detect target Then stop recording when voice in range, in order to avoid function waste or bringing inconvenience, influences user's physical examination.Further, in this hair In other bright specific embodiments, as shown in Figure 5, above-mentioned steps S4 is further included steps of
Step S41 sends the TTS speech synthesis engine on translation APP for the text information of target voice to obtain mesh Poster says audio file;And
Step S42 plays target voice audio file by the channel A2DP of bluetooth equipment.
At this it is to be appreciated that in above-mentioned steps S4 target voice audio file particular by bluetooth equipment Bluetooth audio frequency Mode reaches an agreement on what the channel (A2DP, Advanced Audio Distribution Profile) played, and the channel A2DP can be with Bluetooth stereo audio is exported, (Text-To-Speech, voice close the text information of the translated mistake in the present invention by TTS At) engine obtain target language audio file after, can be played out by the channel A2DP of bluetooth equipment.
For bluetooth equipment, for example, for TWS (True Wireless Stereo, true wireless stereo) bluetooth headset For, Blue-tooth communication method is used between main earphone and set of headphones, connection wire has been abandoned in outside completely, and main earphone can be single Solely work, can monaural wear, also can ears wear, when needing variable body stereophony, then open set of headphones, can return automatically Even composition two-channel stereo sound pattern.When being translated, user can send translation to translation APP by master/slave earphone and refer to It enables, translation APP translate according to interpretive order and translation result is sent to main earphone or set of headphones, is deposited between major-minor earphone In a switching module, when one of main earphone and set of headphones are in reception state, another is then in transmission state, Conversely, then can switching state, and side's earphone is when inputting voice, and translation APP can make a response real-time, quickly, make another party Earphone can receive it is translated after voice messaging, will not influence user's two-party conversation quality.
It is translated referring to Fig. 6, the second embodiment of the present invention provides a kind of realize based on bluetooth equipment offer trigger signal The system 200 of system control comprising:
Trigger module 20, for providing the trigger signal of a bluetooth equipment, translation APP starts to open after receiving trigger signal It is dynamic;
Analysis module 21, translation APP analyze the trigger signal from bluetooth equipment, obtain bluetooth equipment with this Type simultaneously matches corresponding operating mode;
Recording module 22 identifies extraneous voice, the extraneous voice identified by voice is recorded;
Translation module 23 will record successful voice recognition into the translation carried out again between each language after text information;
Text information after translation is carried out the conversion of the text information of object language by conversion and synthesis module 24, then will The text information of target voice synthesizes target voice audio file;
Playing module 25 plays target voice audio file by bluetooth equipment.
Specifically, in the present embodiment, the related contents such as the translation of related text, text conversion and synthesis voice, and it is above-mentioned Consistent in first embodiment, therefore not to repeat here, and it should be noted that translating APP energy in the analysis module according to next It is analyzed from the trigger signal of bluetooth equipment and matches corresponding operating mode, specific embodiment is described as follows:
When bluetooth equipment is not carry out the common bluetooth headset of BLE (Bluetooth Low Energy) burning, open APP is translated, translation APP can test and analyze the physical button signal that bluetooth headset provides, and return and the normal blue Tooth earphone issues the operating mode that push button signalling matches;When bluetooth equipment is the translation bluetooth headset for having carried out BLE burning, Translation APP is opened, translation APP can test and analyze the physical button signal that bluetooth headset provides, be correspondingly connected with to know Bluetooth equipment type, with return with the matched operating mode of bluetooth equipment BLE;When bluetooth equipment be common Bluetooth audio device, Translation APP identifies particular content after can also realizing corresponding analysis, is converted to and the matched Working mould of bluetooth equipment to realize Formula.
As shown in Figure 7, the present invention also provides between the functional module for realizing translation using bluetooth equipment combining translation APP Signal transmission figure S20, the translation of related text, text conversion and synthesizes the related contents such as voice, equally with above-mentioned first embodiment In it is consistent, therefore not to repeat here.
Referring to Fig. 8, the third embodiment of the present invention provides an electronic equipment 300, the electronic equipment 300 includes storage Unit 31 and processing unit 32, the storage unit 31 is for storing computer program, and the processing unit 32 is for passing through institute The computer program for stating the storage of storage unit 31, which executes, provides trigger signal based on bluetooth equipment described in above-mentioned first embodiment Realize the specific steps of the method for translation system control.
In some specific embodiments of the present invention, the electronic equipment 300 can be hardware, be also possible to software.When When electronic equipment 300 is hardware, the various electronic equipments of video playing are can be with display screen and supported, including but unlimited In smart phone, tablet computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, pocket computer on knee and desk-top meter Calculation machine etc..When electronic equipment 300 is software, may be mounted in above-mentioned cited electronic equipment.It may be implemented into Multiple softwares or software module (such as providing multiple softwares of Distributed Services or software module), also may be implemented into list A software or software module.It is not specifically limited herein.
The storage unit 31 includes the storage unit of read-only memory (ROM), random access storage device (RAM) and hard disk etc. Point etc., the processing unit 32 according to the program being stored in the read-only memory (ROM) or can be loaded into random visit It asks the program in memory (RAM) and executes various movements appropriate and processing.In random access storage device (RAM), also deposit It contains the electronic equipment 3000 and operates required various programs and data.
The electronic equipment 300 may also include the importation (not shown) of keyboard, mouse etc.;The electronic equipment 300 It can also further comprise the output par, c (figure of cathode-ray tube (CRT), liquid crystal display (LCD) etc. and loudspeaker etc. Do not show);And the electronic equipment 300 can further comprise the communication of the network interface card of LAN card, modem etc. Part (not shown).The communications portion executes communication process via the network of such as internet.
Particularly, disclosed embodiment, the process described above with reference to flow chart may be implemented as counting according to the present invention Calculation machine software program.For example, disclosed embodiment of this invention may include a kind of computer program product comprising be carried on meter Computer program on calculation machine readable medium, the computer program include the program generation for method shown in execution flow chart Code.In such embodiments, which can be downloaded and installed from network by communications portion.
When the computer program is executed by the processing unit 32, executes the described of the application and provided based on bluetooth equipment The above-mentioned function of being limited in the method for trigger signal realization translation system control.It should be noted that calculating described herein Machine readable medium can be computer-readable signal media or computer readable storage medium either the two is any Combination.Computer readable storage medium for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, infrared ray or partly lead System, device or the device of body, or any above combination.The more specific example of computer readable storage medium can wrap It includes but is not limited to: there is electrical connection, the portable computer diskette, hard disk, random access storage device of one or more conducting wires (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc Read-only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
In this application, computer readable storage medium can also be any tangible medium for including or store program, should Program can be commanded execution system, device or device use or in connection.And in this application, computer can The signal media of reading may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying computer Readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, optical signal Or above-mentioned any appropriate combination.Computer-readable signal media can also be appointing other than computer readable storage medium What computer-readable medium, the computer-readable medium can be sent, propagated or transmitted for by instruction execution system, device Either device use or program in connection.The program code for including on computer-readable medium can be fitted with any When medium transmission, including but not limited to: wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
One or more programming languages or combinations thereof can be used to write the calculating for executing operation of the invention Machine program code, described program design language include object oriented program language -- such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing of the invention illustrate the system according to the various embodiments of the application, method With the architecture, function and operation in the cards of computer program product.In this regard, each of flowchart or block diagram Box can represent a part of a module, program segment or code, and a part of the module, program segment or code includes one A or multiple executable instructions for implementing the specified logical function.It should also be noted that in some realization sides as replacement In case, function marked in the box may also be distinct from that the sequence marked in attached drawing occurs.For example, two succeedingly indicate Box can actually be basically executed in parallel, they can also execute in the opposite order sometimes, herein based on being related to Function and determine.It is significant to note that in each box and block diagram and or flow chart in block diagram and or flow chart Box combination, can the dedicated hardware based systems of the functions or operations as defined in executing realize, or can be with It realizes using a combination of dedicated hardware and computer instructions.
Involved unit can be realized by way of software in an embodiment of the present invention, can also pass through hardware Mode realize.Described unit also can be set in the processor.
As on the other hand, the fourth embodiment of the present invention additionally provides a kind of computer-readable medium, which can Reading medium can be included in device described in above-described embodiment;It is also possible to individualism, and without the supplying dress In setting.Above-mentioned computer-readable medium carries one or more program, and described program specifically includes: providing a bluetooth equipment Trigger signal, translation APP receive trigger signal after start to start;And translation APP obtains the sound recorded through bluetooth equipment, It is identified as carrying out the translation between each language after text information again;Text information after translation is carried out to the text envelope of object language The conversion of breath;And the text information of target voice is synthesized into target voice audio file and target language is played by bluetooth equipment Sound audio file.
Compared with prior art, provided by the present invention to provide trigger signal realization translation system control based on bluetooth equipment Method and its system, electronic equipment, have it is following the utility model has the advantages that
The present invention provides a kind of method for realizing translation system control based on bluetooth equipment offer trigger signal, especially by The trigger signal for providing a bluetooth equipment, which makes to translate after APP receives trigger signal, to be started to start, and translation APP acquisition is set through bluetooth After the sound of priming, it is identified as carrying out the translation between each language after text information again, then by the text information after translation The conversion for carrying out the text information of object language, finally synthesizes target voice audio file simultaneously for the text information of target voice It is played by bluetooth equipment.The present invention is to be operated by translating APP to bluetooth equipment, and then realize interpretative function, and right Bluetooth equipment itself does not make particular/special requirement, such that all bluetooth equipment cooperation translation APP carry out translation, expand simultaneously The envelop of function of bluetooth equipment.
Specifically, translation APP of the invention is instructed particular by AVRCP or AT instruction obtains trigger signal, certainly, For bluetooth BLE equipment, trigger signal can also be obtained by setting custom instruction.It is corresponding when pressing bluetooth equipment When key sends operating instruction and arrives mobile phone terminal, the terminal operating system of mobile phone terminal, which can receive and open, controls bluetooth equipment The channel HFP, thus the channel HFP can make bluetooth equipment control phone, such as answer, hang up, rejection, phonetic dialing, and translation APP is logical Start to start translation flow after crossing HFP channel reception to the AVRCP instruction of bluetooth equipment or AT instruction or custom instruction, with this Realize the control by translation APP to bluetooth equipment.
Further, bluetooth equipment is by the channel HFP recorded voice, and will record successful sound and be sent to translation APP, Acoustic information can be converted to text information by speech recognition by translation APP, and carry out multilingual to above-mentioned text information Translation, it is of course possible to the languages for carrying out language translation are unlimited, for example the international common language such as English, Japanese, Korean can be by Real-time accurate translation.
Translation APP can't record all sound in periphery, but the voice of specific objective frequency is selected to be recorded System, so that the processing of noise reduction can be realized.In certain specific embodiments of the invention, the voice frequency range that can choose exists Between 80~1200Hz, the voice of this range can form difference with the noise on periphery, so that noise be prevented to be recorded and be translated APP wrong identification translation, to interfere translation result.Certainly, translation APP detects that there is the voice Shi Huijin of target frequency on periphery Row recording, and then stops recording when not detecting the voice in target zone, in order to avoid function waste or bringing inconvenience, influences User experience.
The text information of translated mistake in the present invention obtains target language audio file by TTS speech synthesis engine Afterwards, it can be played out by the channel A2DP of bluetooth equipment.
The present invention also provides a kind of electronic devices comprising storage unit and processing unit, the storage unit is for depositing Computer program is stored up, the computer program that the processing unit is used to store by the storage unit executes described based on bluetooth Equipment provides the step in the method that trigger signal realizes that translation system controls, and provides trigger signal based on bluetooth equipment to obtain The method for realizing translation system control.Therefore, the electronic device, which also has, provides trigger signal based on bluetooth equipment with above-mentioned Realize the identical beneficial effect of method of translation system control, details are not described herein.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in original of the invention Made any modification within then, equivalent replacement and improvement etc. should all be comprising within protection scope of the present invention.

Claims (10)

1. it is a kind of based on bluetooth equipment provide trigger signal realize translation system control method, it is characterised in that: it include with Lower step:
Step S1, provides the trigger signal of a bluetooth equipment, and translation APP starts to start after receiving trigger signal;And
Step S2, translation APP obtain the sound recorded through bluetooth equipment, are identified as carrying out between each language again after text information Translation;
Text information after translation is carried out the conversion of the text information of object language by step S3;And
The text information of target voice is synthesized target voice audio file and plays target language by bluetooth equipment by step S4 Sound audio file.
2. providing the method that trigger signal realizes translation system control, feature based on bluetooth equipment as described in the appended claim 1 It is: translates APP in above-mentioned steps S1 particular by AVRCP instruction or AT instruction and obtain trigger signal.
3. providing the method that trigger signal realizes translation system control, feature based on bluetooth equipment as described in the appended claim 1 Be: above-mentioned steps S1 specifically includes the following steps:
Step S11 is sent in operation order to terminal operating system by bluetooth equipment key;
Step S12, terminal operating system issue control signal to bluetooth equipment, to open bluetooth equipment after receiving operation order The channel HFP;And
Step S13 clicks translation APP, and bluetooth equipment is sent AVRCP and instructed to translation APP, translation APP by the channel HFP to be started Starting.
4. providing the method that trigger signal realizes translation system control, feature based on bluetooth equipment as described in the appended claim 1 It is: translates APP in above-mentioned steps S2 and recorded particular by the channel HFP of bluetooth equipment and collect the successful sound of recording Sound.
5. providing the method that trigger signal realizes translation system control, feature based on bluetooth equipment as described in the appended claim 1 Be: above-mentioned steps S2 specifically includes the following steps:
Step S21, bluetooth equipment will record successful sound and are sent to translation APP by the channel HFP recorded voice;
Step S22 translates APP by speech recognition and converts a sound to text information;And
Step S23, translation APP carry out multilingual translation to above-mentioned text information.
6. providing the method that trigger signal realizes translation system control, feature based on bluetooth equipment as described in the appended claim 1 Be: above-mentioned steps S21 specifically includes the following steps:
Step S211, translation APP identifies ambient sound, and when detecting the voice of target frequency, bluetooth equipment is logical The channel HFP recorded voice is crossed, conversely, then stopping recorded voice;
Step S212 will be sent to translation APP by recording successful sound.
7. providing the method that trigger signal realizes translation system control, feature based on bluetooth equipment as described in the appended claim 1 Be: target voice audio file is played particular by the channel A2DP of bluetooth equipment in above-mentioned steps S4.
8. providing the method that trigger signal realizes translation system control, feature based on bluetooth equipment as described in the appended claim 1 Be: above-mentioned steps S4 specifically includes the following steps:
Step S41 sends the TTS speech synthesis engine on translation APP for the text information of target voice to obtain target language Say audio file;And
Step S42 plays target voice audio file by the channel A2DP of bluetooth equipment.
9. a kind of provide the system that trigger signal realizes translation system control based on bluetooth equipment, it is characterised in that: comprising:
Trigger module, for providing the trigger signal of a bluetooth equipment, translation APP starts to start after receiving trigger signal;
Analysis module, translation APP analyze the trigger signal from bluetooth equipment, obtain the type of bluetooth equipment simultaneously with this Match corresponding operating mode;
Recording module identifies extraneous voice, the extraneous voice identified by voice is recorded;
Translation module will record successful voice recognition into the translation carried out again between each language after text information;
Text information after translation is carried out the conversion of the text information of object language by conversion and synthesis module, then by target language The text information of sound synthesizes target voice audio file;
Playing module plays target voice audio file by bluetooth equipment.
10. a kind of electronic device, it is characterised in that: the electronic device includes storage unit and processing unit, and the storage is single Member is for storing computer program, described in the computer program execution that the processing unit is used to store by the storage unit Step in the method for trigger signal realization translation system control is provided described in any one of claim 1-8 based on bluetooth equipment Suddenly.
CN201910608904.5A 2019-07-05 2019-07-05 The method and its system, electronic equipment that trigger signal realizes translation system control are provided based on bluetooth equipment Pending CN110365371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910608904.5A CN110365371A (en) 2019-07-05 2019-07-05 The method and its system, electronic equipment that trigger signal realizes translation system control are provided based on bluetooth equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910608904.5A CN110365371A (en) 2019-07-05 2019-07-05 The method and its system, electronic equipment that trigger signal realizes translation system control are provided based on bluetooth equipment

Publications (1)

Publication Number Publication Date
CN110365371A true CN110365371A (en) 2019-10-22

Family

ID=68218397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910608904.5A Pending CN110365371A (en) 2019-07-05 2019-07-05 The method and its system, electronic equipment that trigger signal realizes translation system control are provided based on bluetooth equipment

Country Status (1)

Country Link
CN (1) CN110365371A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111326158A (en) * 2020-01-23 2020-06-23 深圳市安顺康医疗电子有限公司 Voice control method based on intelligent terminal
CN111613252A (en) * 2020-04-29 2020-09-01 广州三人行壹佰教育科技有限公司 Audio recording method, device, system, equipment and storage medium
CN111680522A (en) * 2020-05-29 2020-09-18 刘于平 Method and system for realizing translation control based on electronic terminal and electronic equipment

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118186A (en) * 2009-12-31 2011-07-06 鼎亿数码科技(上海)有限公司 Connection method of Bluetooth device
CN102138337A (en) * 2008-08-13 2011-07-27 W·W·格雷林 Wearable headset with self-contained vocal feedback and vocal command
CN104303177A (en) * 2012-04-25 2015-01-21 寇平公司 Instant translation system
JP5856708B1 (en) * 2015-08-31 2016-02-10 株式会社Wing of Freedom Translation system and server
CN106412813A (en) * 2016-11-30 2017-02-15 深圳市高为通信技术有限公司 Real-time communication translation method with bluetooth headsets
CN106878917A (en) * 2015-12-11 2017-06-20 比亚迪股份有限公司 The transfer control method of information, system, terminal and data acquisition unit
CN107135476A (en) * 2017-06-27 2017-09-05 飞天诚信科技股份有限公司 A kind of Bluetooth adapter and its method of work
CN107833581A (en) * 2017-10-20 2018-03-23 广州酷狗计算机科技有限公司 A kind of method, apparatus and readable storage medium storing program for executing of the fundamental frequency for extracting sound
CN107885731A (en) * 2017-11-06 2018-04-06 深圳市沃特沃德股份有限公司 Voice translation method and device
CN108415904A (en) * 2018-01-12 2018-08-17 广东思派康电子科技有限公司 A kind of binary channels real time translating method
CN108922558A (en) * 2018-08-20 2018-11-30 广东小天才科技有限公司 Voice processing method, voice processing device and mobile terminal
CN109218883A (en) * 2018-08-27 2019-01-15 深圳市声临科技有限公司 A kind of interpretation method, translation system, TWS earphone and terminal
CN109587657A (en) * 2018-11-15 2019-04-05 深圳市友杰智新科技有限公司 A kind of method of speech processing and device based on bluetooth interpreting equipment
CN109905797A (en) * 2019-04-04 2019-06-18 深圳市合言信息科技有限公司 A kind of intelligence simultaneous interpretation bluetooth headset

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102138337A (en) * 2008-08-13 2011-07-27 W·W·格雷林 Wearable headset with self-contained vocal feedback and vocal command
CN102118186A (en) * 2009-12-31 2011-07-06 鼎亿数码科技(上海)有限公司 Connection method of Bluetooth device
CN104303177A (en) * 2012-04-25 2015-01-21 寇平公司 Instant translation system
JP5856708B1 (en) * 2015-08-31 2016-02-10 株式会社Wing of Freedom Translation system and server
CN106878917A (en) * 2015-12-11 2017-06-20 比亚迪股份有限公司 The transfer control method of information, system, terminal and data acquisition unit
CN106412813A (en) * 2016-11-30 2017-02-15 深圳市高为通信技术有限公司 Real-time communication translation method with bluetooth headsets
CN107135476A (en) * 2017-06-27 2017-09-05 飞天诚信科技股份有限公司 A kind of Bluetooth adapter and its method of work
CN107833581A (en) * 2017-10-20 2018-03-23 广州酷狗计算机科技有限公司 A kind of method, apparatus and readable storage medium storing program for executing of the fundamental frequency for extracting sound
CN107885731A (en) * 2017-11-06 2018-04-06 深圳市沃特沃德股份有限公司 Voice translation method and device
CN108415904A (en) * 2018-01-12 2018-08-17 广东思派康电子科技有限公司 A kind of binary channels real time translating method
CN108922558A (en) * 2018-08-20 2018-11-30 广东小天才科技有限公司 Voice processing method, voice processing device and mobile terminal
CN109218883A (en) * 2018-08-27 2019-01-15 深圳市声临科技有限公司 A kind of interpretation method, translation system, TWS earphone and terminal
CN109587657A (en) * 2018-11-15 2019-04-05 深圳市友杰智新科技有限公司 A kind of method of speech processing and device based on bluetooth interpreting equipment
CN109905797A (en) * 2019-04-04 2019-06-18 深圳市合言信息科技有限公司 A kind of intelligence simultaneous interpretation bluetooth headset

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111326158A (en) * 2020-01-23 2020-06-23 深圳市安顺康医疗电子有限公司 Voice control method based on intelligent terminal
CN111613252A (en) * 2020-04-29 2020-09-01 广州三人行壹佰教育科技有限公司 Audio recording method, device, system, equipment and storage medium
CN111680522A (en) * 2020-05-29 2020-09-18 刘于平 Method and system for realizing translation control based on electronic terminal and electronic equipment
CN111680522B (en) * 2020-05-29 2024-04-23 刘于平 Method and system for realizing translation control based on electronic terminal and electronic equipment

Similar Documents

Publication Publication Date Title
CN108962240B (en) Voice control method and system based on earphone
US10452349B2 (en) Electronic device and operation control method therefor
US20200186114A1 (en) Audio Signal Adjustment Method, Storage Medium, and Terminal
CN112863547B (en) Virtual resource transfer processing method, device, storage medium and computer equipment
US10349176B1 (en) Method for processing signals, terminal device, and non-transitory computer-readable storage medium
CN104604274B (en) Connect the method and apparatus of service between the subscriber devices using voice
CN108470034A (en) A kind of smart machine service providing method and system
CN110365371A (en) The method and its system, electronic equipment that trigger signal realizes translation system control are provided based on bluetooth equipment
CN104010267A (en) Method and system for supporting a translation-based communication service and terminal supporting the service
CN107481721A (en) Voice interactive method and wearable electronic for wearable electronic
CN111261144A (en) Voice recognition method, device, terminal and storage medium
CN110149805A (en) Double-directional speech translation system, double-directional speech interpretation method and program
CN103533519A (en) Short message broadcasting method and system
CN111862940A (en) Earphone-based translation method, device, system, equipment and storage medium
KR102374620B1 (en) Device and system for voice recognition
KR20130081176A (en) Mobile terminal and mothod for controling of the same
CN109104662A (en) Instruction executing method, operation response method, terminal and ear speaker device
CN109949795A (en) A kind of method and device of control smart machine interaction
CN108073572A (en) Information processing method and its device, simultaneous interpretation system
KR20200105259A (en) Electronic apparatus and method for controlling thereof
CN109360549A (en) A kind of data processing method, device and the device for data processing
CN107957908A (en) A kind of microphone sharing method, device, computer equipment and storage medium
CN109639908A (en) A kind of bluetooth headset, anti-eavesdrop method, apparatus, equipment and medium
JP2000207170A (en) Device and method for processing information
US20240031766A1 (en) Sound processing method and apparatus thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191022