CN104580755A - Method for playing long-distance voice by using wireless communication module - Google Patents

Method for playing long-distance voice by using wireless communication module Download PDF

Info

Publication number
CN104580755A
CN104580755A CN201410740626.6A CN201410740626A CN104580755A CN 104580755 A CN104580755 A CN 104580755A CN 201410740626 A CN201410740626 A CN 201410740626A CN 104580755 A CN104580755 A CN 104580755A
Authority
CN
China
Prior art keywords
communication module
wireless communication
data signal
remote
carry out
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
CN201410740626.6A
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 G&T INDUSTRIAL DEVELOPMENT Co Ltd
Original Assignee
SHENZHEN G&T INDUSTRIAL DEVELOPMENT 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 G&T INDUSTRIAL DEVELOPMENT Co Ltd filed Critical SHENZHEN G&T INDUSTRIAL DEVELOPMENT Co Ltd
Priority to CN201410740626.6A priority Critical patent/CN104580755A/en
Publication of CN104580755A publication Critical patent/CN104580755A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a method for playing remote voice by using a wireless communication module. The method for playing the remote voice by using the wireless communication module comprises the following steps: step A, communication connection between the wireless communication module and far-end equipment is built; step B, the wireless communication module is used for receiving text content to be played through a serial port and the text content to be played is switched to be speech flow; step C, the wireless communication module is used for switching the speech flow to be a voice data signal, and copying the voice data signal into a buffer memory space of an launcher; step D, the wireless communication module activates a voice awaking event, and uses communication connection to send the voice data signal in the buffer memory space of the launcher to the far-end equipment.

Description

Wireless communication module is utilized to carry out the method for remote speech broadcasting
Technical field
The present invention relates to wireless communication technology, especially, relate to a kind of method utilizing wireless communication module to carry out remote speech broadcasting.
Background technology
Along with the fast development of wireless communication technology, the application of wireless communication module is more and more extensive.General wireless communication module support voice function, and the phonetic function of wireless communication module mainly contains two kinds at present: one is voice call function, is namely to utilize wireless communication module to call; Another kind is TTS (Text to Speech, from Text To Speech) playing function, is namely to convert corresponding voice in this locality and export to play to local user and listen to.But, separate, mutual repulsion when the voice call function of traditional wireless communication module and TTS playing function, therefore the phonetic function of wireless communication module relatively limits to, be difficult to meet the demand of the remote speech broadcasting that may exist in real life, such as failure detection result played to remote monitoring personnel etc. with voice mode.
Based on the above-mentioned problems in the prior art, the invention provides a kind of method utilizing wireless communication module to carry out remote speech broadcasting.
Summary of the invention
One of them object of the present invention is above-mentioned defect in order to improve prior art and provides a kind of method utilizing wireless communication module to carry out remote speech broadcasting.
The method utilizing wireless communication module to carry out remote speech broadcasting provided by the invention, comprising: steps A: wireless communication module and remote equipment are set up to converse and be connected; Step B: described wireless communication module receives word content to be played by serial ports, and convert described word content to be played to voice flow; Step C: described wireless communication module converts described voice flow to speech data signal, and copy described speech data signal to transmitter buffer space; Step D: described wireless communication module starts voice wake events, and utilize described call connection that the speech data signal in described transmitter buffer space is sent to described remote equipment.
Carry out in a kind of preferred embodiment of the method for remote speech broadcasting at the wireless communication module that utilizes provided by the invention, described wireless communication module is pre-defined a transmitter buffer space, described transmitter buffer space is used for storing described speech data signal specially, and it is to there being a fixing memory address.
Carry out in a kind of preferred embodiment of the method for remote speech broadcasting at the wireless communication module that utilizes provided by the invention, the size in described transmitter buffer space is 320 bytes.
Carry out in a kind of preferred embodiment of the method for remote speech broadcasting at the wireless communication module that utilizes provided by the invention, described communication module also definition simultaneously has a pointer, the memory address of speech data signal described in described pointed.
Carry out in a kind of preferred embodiment of the method for remote speech broadcasting at the wireless communication module that utilizes provided by the invention, also comprise: step e: judge that whether in addition current speech data signal needs are sent out, if had, repeated execution of steps C and step D, until all speech data signals are all sent to described remote equipment.
Carry out in a kind of preferred embodiment of the method for remote speech broadcasting at the wireless communication module that utilizes provided by the invention, described wireless communication module produces the first interrupt event when reading the centre position in described transmitter buffer space, and the second interrupt event can be produced when reading the interruption position in described transmitter buffer space, wherein, described step e performs between described first interrupt event and described second break period.
Carry out in a kind of preferred embodiment of the method for remote speech broadcasting at the wireless communication module that utilizes provided by the invention, described speech data signal is pulse code modulation data signal.
Carry out in a kind of preferred embodiment of the method for remote speech broadcasting at the wireless communication module that utilizes provided by the invention, also comprise: step F: described remote equipment receives described speech data signal, and remotely play and described speech data signal word content accordingly.
Carry out in a kind of preferred embodiment of the method for remote speech broadcasting at the wireless communication module that utilizes provided by the invention, described steps A comprises: described wireless communication module is after the start that powers on, dial long-range number by ATD order, and the remote equipment corresponding with described long-range number is set up to converse and is connected.
Carry out in a kind of preferred embodiment of the method for remote speech broadcasting at the wireless communication module that utilizes provided by the invention, described wireless communication module receives word content to be played by serial ports and comprises: after described wireless communication module and described remote equipment establish a communications link, by AT order, described word content to be played is issued the serial ports of described wireless communication module, wherein, the AT order sent to the serial ports of described wireless communication module is: AT+GTTS=1, " word content to be played ".
Compared to prior art, remote speech broadcasting method provided by the invention utilizes wireless communication module convert word content to be played to voice flow and convert speech data signal to further, and to be connected with the call of setting up between remote equipment by described wireless communication module described speech data signal is sent to described remote equipment, thus realize remotely carrying out speech play, thus make remote monitoring personnel can obtain failure detection result in real time by voice mode, the phonetic function of spread radio communication module effectively, it is made to meet real life or the broadcasting of the remote speech in producing demand.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings, wherein:
Fig. 1 is the schematic flow sheet of a kind of embodiment of the method utilizing wireless communication module to carry out remote speech broadcasting provided by the invention.
Embodiment
Be clearly and completely described to the technical scheme in the embodiment of the present invention below, obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The method utilizing wireless communication module to carry out remote speech broadcasting provided by the invention mainly plays two technology basis in the voice call of wireless communication module and TTS realizes one section of statement to play to long-range listening to.Refer to Fig. 1, it is the schematic flow sheet of a kind of embodiment of the method utilizing wireless communication module to carry out remote speech broadcasting provided by the invention.Described method can comprise the following steps:
Step S1, wireless communication module and remote equipment are set up to converse and are connected;
Particularly, described wireless communication module, after the start that powers on, can dial long-range number by ATD order, and the remote equipment corresponding with described long-range number is set up to converse and connected.Described remote equipment is the equipment be about to for listening to speech play content.
Step S2, described wireless communication module receives word content to be played by serial ports;
After described wireless communication module and described remote equipment establish a communications link, word content to be played can be issued the serial ports of described wireless communication module by local device by AT order, described wireless communication module can receive described word content to be played by serial ports.In a particular embodiment, it is AT+GTTS=1 that the AT order to serial ports transmission can be specially, " word content to be played ".
Step S3, converts described word content to be played to voice flow;
After receiving described word content to be played, described wireless communication module can utilize the TTS sound bank of its inside to convert the word content that described band is play to natural-sounding stream, thus realizes the real-time conversion from word to voice.
Step S4, converts described voice flow to speech data signal;
Described voice flow is simulating signal, therefore, described voice flow can be converted to voice digital signal, such as PCM (Pulse Code Modulation, pulse code modulation (PCM)) data-signal further by analog to digital (A/D) conversion by described wireless communication module.
Step S5, copies described speech data signal to transmitter buffer space;
Specifically, described wireless communication module can pre-define a transmitter buffer space, and described transmitter buffer space is used for storing described speech data signal specially, and it is to there being a fixing memory address.In the present embodiment, the size in described transmitter buffer space can be the two-dimensional array of 320 bytes.In addition, described communication module also defines simultaneously has a pointer, the memory address of speech data signal described in described pointed.
Described wireless communication module is after converting described voice flow to speech data signal, can in units of the size in described transmitter buffer space, copy described speech data signal to described transmitter buffer space, namely copy the speech data of 320 bytes to described transmitter buffer space at every turn.
Step S6, starts voice wake events and the speech data signal in described transmitter buffer space is sent to remote equipment.
After copying described speech data signal to described transmitter buffer space, described wireless communication module can start a voice wake events, marks currently can carry out data transmission; Further, the speech data signal of described transmitter buffer interior volume can read out by described wireless communication module further, and utilizes the call of setting up between its with described remote equipment to be connected, and described speech data signal is sent to described remote equipment.
Step S7, judge that whether in addition current speech data signal needs to be sent out, if had, repeated execution of steps S4 ~ step S6, until all speech data signals are all sent to described remote equipment;
In a particular embodiment, described wireless communication module can produce an interrupt event when reading the centre position in described transmitter buffer space, and another interrupt event can be produced when reading the interruption position in described transmitter buffer space, between above-mentioned two interrupt events, described wireless communication module can judge that whether in addition current speech data signal needs to be sent out, if had, then described wireless communication module can repeated execution of steps S4 ~ step S6, repeatedly copy described speech data content and start voice wake events and carry out data transmission, until all speech data signals are all sent to described remote equipment.
Step S8, described remote equipment remotely receives described speech data signal by described call connection, and is described word content to be played by described speech data content recovery, and by playing word content described in uppick.
Compared to prior art, remote speech broadcasting method provided by the invention utilizes wireless communication module convert word content to be played to voice flow and convert speech data signal to further, and to be connected with the call of setting up between remote equipment by described wireless communication module described speech data signal is sent to described remote equipment, thus realize remotely carrying out speech play, thus make remote monitoring personnel can obtain failure detection result in real time by voice mode, the phonetic function of spread radio communication module effectively, it is made to meet real life or the broadcasting of the remote speech in producing demand.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize description of the present invention to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical field, be all in like manner included within scope of patent protection of the present invention.

Claims (10)

1. utilize wireless communication module to carry out a method for remote speech broadcasting, it is characterized in that, comprising:
Steps A: wireless communication module and remote equipment are set up to converse and be connected;
Step B: described wireless communication module receives word content to be played by serial ports, and convert described word content to be played to voice flow;
Step C: described wireless communication module converts described voice flow to speech data signal, and copy described speech data signal to transmitter buffer space;
Step D: described wireless communication module starts voice wake events, and utilize described call connection that the speech data signal in described transmitter buffer space is sent to described remote equipment.
2. utilize wireless communication module to carry out the method for remote speech broadcasting as claimed in claim 1, it is characterized in that, described wireless communication module is pre-defined a transmitter buffer space, described transmitter buffer space is used for storing described speech data signal specially, and it is to there being a fixing memory address.
3. utilize wireless communication module to carry out the method for remote speech broadcasting as claimed in claim 2, it is characterized in that, the size in described transmitter buffer space is 320 bytes.
4. utilize wireless communication module to carry out the method for remote speech broadcasting as claimed in claim 2, it is characterized in that, described communication module also definition simultaneously has a pointer, the memory address of speech data signal described in described pointed.
5. utilize wireless communication module to carry out the method for remote speech broadcasting as claimed in claim 1, it is characterized in that, also comprise:
Step e: judge that whether in addition current speech data signal needs to be sent out, if had, repeated execution of steps C and step D, until all speech data signals are all sent to described remote equipment.
6. utilize wireless communication module to carry out the method for remote speech broadcasting as claimed in claim 5, it is characterized in that, described wireless communication module produces the first interrupt event when reading the centre position in described transmitter buffer space, and the second interrupt event can be produced when reading the interruption position in described transmitter buffer space, wherein, described step e performs between described first interrupt event and described second break period.
7. utilize wireless communication module to carry out the method for remote speech broadcasting as claimed in claim 1, it is characterized in that, described speech data signal is pulse code modulation data signal.
8. utilize wireless communication module to carry out the method for remote speech broadcasting as claimed in claim 1, it is characterized in that, also comprise:
Step F: described remote equipment receives described speech data signal, and remotely play and described speech data signal word content accordingly.
9. utilize wireless communication module to carry out the method for remote speech broadcasting as claimed in claim 1, it is characterized in that, described steps A comprises: described wireless communication module is after the start that powers on, dial long-range number by ATD order, and the remote equipment corresponding with described long-range number is set up to converse and is connected.
10. utilize wireless communication module to carry out the method for remote speech broadcasting as claimed in claim 9, it is characterized in that, described wireless communication module receives word content to be played by serial ports and comprises: after described wireless communication module and described remote equipment establish a communications link, by AT order, described word content to be played is issued the serial ports of described wireless communication module, wherein, the AT order sent to the serial ports of described wireless communication module is: AT+GTTS=1, " word content to be played ".
CN201410740626.6A 2014-12-08 2014-12-08 Method for playing long-distance voice by using wireless communication module Pending CN104580755A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410740626.6A CN104580755A (en) 2014-12-08 2014-12-08 Method for playing long-distance voice by using wireless communication module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410740626.6A CN104580755A (en) 2014-12-08 2014-12-08 Method for playing long-distance voice by using wireless communication module

Publications (1)

Publication Number Publication Date
CN104580755A true CN104580755A (en) 2015-04-29

Family

ID=53095881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410740626.6A Pending CN104580755A (en) 2014-12-08 2014-12-08 Method for playing long-distance voice by using wireless communication module

Country Status (1)

Country Link
CN (1) CN104580755A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563468A (en) * 2018-03-30 2018-09-21 深圳市冠旭电子股份有限公司 A kind of method, apparatus and Baffle Box of Bluetooth of Baffle Box of Bluetooth data processing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030037403A (en) * 2001-11-05 2003-05-14 주식회사 다산아이티웍스 System for provided of portable telecommunication terminal's bell using text to speech technology
CN101510917A (en) * 2009-03-11 2009-08-19 宇龙计算机通信科技(深圳)有限公司 Silent call method for mobile terminal and mobile terminal
CN101610465A (en) * 2008-06-18 2009-12-23 朗讯科技公司 Communication method and communication system for converting text information into voice information
CN103596155A (en) * 2012-08-16 2014-02-19 三星电子株式会社 Method for providing voice call using text data and electronic device thereof
CN103973877A (en) * 2013-02-06 2014-08-06 北京壹人壹本信息科技有限公司 Method and device for using characters to realize real-time communication in mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030037403A (en) * 2001-11-05 2003-05-14 주식회사 다산아이티웍스 System for provided of portable telecommunication terminal's bell using text to speech technology
CN101610465A (en) * 2008-06-18 2009-12-23 朗讯科技公司 Communication method and communication system for converting text information into voice information
CN101510917A (en) * 2009-03-11 2009-08-19 宇龙计算机通信科技(深圳)有限公司 Silent call method for mobile terminal and mobile terminal
CN103596155A (en) * 2012-08-16 2014-02-19 三星电子株式会社 Method for providing voice call using text data and electronic device thereof
CN103973877A (en) * 2013-02-06 2014-08-06 北京壹人壹本信息科技有限公司 Method and device for using characters to realize real-time communication in mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563468A (en) * 2018-03-30 2018-09-21 深圳市冠旭电子股份有限公司 A kind of method, apparatus and Baffle Box of Bluetooth of Baffle Box of Bluetooth data processing
CN108563468B (en) * 2018-03-30 2021-09-21 深圳市冠旭电子股份有限公司 Bluetooth sound box data processing method and device and Bluetooth sound box
US11199893B2 (en) 2018-03-30 2021-12-14 Shenzhen Grandsun Electronic Co., Ltd. Method, device for processing data of bluetooth speaker, and bluetooth speaker

Similar Documents

Publication Publication Date Title
CN109361984B (en) Charging box, wireless earphone, earphone set and voice processing system
CN102724367B (en) Mobile phone extension system, signal transfer equipment and mobile phone
CN204129445U (en) Intelligent radio alarm clock
CN103312425A (en) Wireless broadcasting system
CN200990152Y (en) Studying machine capable of making pronunciation correction
CN101631159A (en) Device and method utilizing subsonic wave for controlling mobile phone operation
CN102820032A (en) Speech recognition system and method
CN204518006U (en) A kind of have the audio amplifier that the support text storage of function reported in word
CN104301023A (en) Voice communication system based on Beidou RDSS and communication method thereof
CN104580755A (en) Method for playing long-distance voice by using wireless communication module
CN202230449U (en) Wireless electronic equipment integrating microphone, mouse, laser pointer and page-turning functions
CN104639287A (en) Ultrasonic communication coding method and system
CN103916683A (en) OTT device with karaoke function
CN105915293A (en) Voice digital information transmission system and method based on wireless acoustic signals
CN205584447U (en) A bluetooth headset for web -based instruction is interactive
CN205142202U (en) Digital interphone
CN204966045U (en) TTS system based on 3G module
CN101009897A (en) Apparatus and method for outputting audio data using wireless terminal
CN204558010U (en) Wireless wifi audio transmission app system
CN103619073A (en) WLAN-based audio sharing method and mobile terminal
CN102752019A (en) Data sending, receiving and transmitting method and system based on headset jack
CN205645008U (en) English listening apparatus
CN203827328U (en) Wireless signal interaction device
CN202093669U (en) Multimedia teaching equipment
CN210606615U (en) Text-to-speech broadcasting system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 518052, A, building two, phase 1057, science and technology building, Nanhai Road, Shenzhen, Guangdong, Nanshan District, China 501A

Applicant after: FIBOCOM WIRELESS INC.

Address before: 518052, A, building two, phase 1057, science and technology building, Nanhai Road, Shenzhen, Guangdong, Nanshan District, China 501A

Applicant before: Shenzhen G&T Industrial Development Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN G+T INDUSTRIAL DEVELOPMENT CO., LTD. TO: SHENZHEN FIBOCOM WIRELESS INC.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150429

RJ01 Rejection of invention patent application after publication