CN102790664A - One-to-many wireless data transmission method and device - Google Patents
One-to-many wireless data transmission method and device Download PDFInfo
- Publication number
- CN102790664A CN102790664A CN2011101301356A CN201110130135A CN102790664A CN 102790664 A CN102790664 A CN 102790664A CN 2011101301356 A CN2011101301356 A CN 2011101301356A CN 201110130135 A CN201110130135 A CN 201110130135A CN 102790664 A CN102790664 A CN 102790664A
- Authority
- CN
- China
- Prior art keywords
- data
- receiving
- transmitting
- data transmission
- receiving device
- 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
- 230000005540 biological transmission Effects 0.000 title claims abstract description 41
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000012790 confirmation Methods 0.000 claims abstract description 18
- 238000012545 processing Methods 0.000 claims description 8
- 230000003252 repetitive effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 230000002265 prevention Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a one-to-many wireless data transmission method and device. The method mainly comprises the following steps that: a transmission end adds a sequence number to each transmit data for encoding and receives a confirmation signal transmitted back by receiving devices, if more than one receiving device does not transmit back the confirmation signal, the transmission end repeats to send the data of the corresponding sequence number; the receiving devices receive the data including the sequence number and judge whether the sequence numbers are repetitive, if so, the receiving devices abandon the data. By using the method, the problem that the conventional wireless devices mutually interfere in the one-to-many transmission and only can carry out the one-to-one transmission can be solved.
Description
Technical Field
The present invention relates to a one-to-many wireless data transmission method and apparatus, and more particularly, to a related technique for enabling a transmitting end to transmit data to more than two receiving apparatuses simultaneously without mutual interference, thereby facilitating data sharing.
Background
With the development of technology, in addition to traditional sound equipment, many different forms of electronic devices have a function of playing music, such as computers (PCs, NBs, etc.) and mobile phones, and these devices are designed to provide more than one sound source input interface and multiple sound source output interfaces in terms of audio output, some of the sound source output interfaces are used to connect with speakers and some of the sound source output interfaces are used to connect with earphones, however, in actual use, only one sound source output interface outputs audio, for example, when one sound source output interface is connected with a speaker, the sound source output interface can play audio openly through the speaker, but when another sound source output interface is connected with an earphone, that is, only the audio output interface connected with the earphone outputs audio, the audio output interface connected with the speaker immediately stops outputting, and the above design is mainly based on that the audio playing openly may cause interference to others, the user can listen to the audio by wearing the earphone, however, once the earphone is used for outputting, only a single user wearing the earphone can hear the audio, and the audio cannot be shared with other people except the user, even if the other people wear the earphone, the audio cannot be shared.
For the above situation, if the used earphone is wired, or the sound source output interface can be divided into two or three by using a splitter, so that more wired earphones can be plugged into the earphone to share the audio, but the wireless earphone can only transmit one-to-one, because the wireless earphone adopts digital wireless transmission, a special ID is provided between the transmitting end and the receiving end of the general digital wireless transmission earphone, so as to separate other unrelated transmitting and receiving signal data in the wireless transmission data, thereby avoiding the signal data from being mistakenly transmitted or intercepted, and meanwhile, when the receiving end receives the data series flow, the receiving end can also return an Acknowledgement (ACK) signal to the transmitting end by using the ID, thereby avoiding the phenomenon that the data series flow is not received by the receiving end due to the external environmental interference, but the return acknowledgement design also enables the digital wireless transmission earphone to be used only in one-to-one transmission mode, when two (or more) receiving terminals receive the signal of the transmitting terminal at the same time, the receiving terminals will return the confirmation signal at the same time after receiving the signal and interfere with each other, so that the transmitting terminal can not receive the returned confirmation signal and repeat the transmission all the time; moreover, if only one of the receiving terminals does not return the confirmation signal because of not receiving the signal, but the transmitting terminal does not repeatedly transmit because of receiving the confirmation signal returned by the other receiving terminal, the receiving terminal which does not receive the signal cannot receive the signal which is transmitted complementarily, and the sound breaking phenomenon occurs; based on the above situation, one digital wireless transmitter can only be used with one wireless earphone; the wireless transmission technology has the advantages that the wireless transmission technology has the security function of eavesdropping prevention, and is different from the common earphone adopting Frequency Modulation (FM) or Amplitude Modulation (AM) wireless broadcasting, and although the quantity of the earphones is not limited, the wireless transmission technology does not have the security function of eavesdropping prevention; but has the disadvantage of not being shareable.
Disclosure of Invention
Therefore, the present invention is directed to a one-to-many wireless data transmission method, which solves the problem of mutual interference that may occur when an acknowledgement signal is returned during the existing wireless data transmission, so that more than two receiving terminals can normally receive data transmitted by the same transmitting terminal and thus the data can be shared conveniently.
The technical means adopted to achieve the above object is to make the one-to-many wireless data transmission method have a transmitting end data transmission flow, and the transmitting end data transmission flow executes the following steps after a transmitting end establishes a connection with more than one receiving device:
loading new data;
adding a serial number into the loaded data;
transmitting the data added with the serial number;
receiving the return confirmation signal, and judging whether all connected receiving devices return the confirmation signal; if all the return channels are returned, repeating the previous step;
if any receiving device does not return the confirmation signal, the previous data is repeatedly transmitted.
Another technical means for achieving the above object is to provide the one-to-many wireless data transmission method with a receiving end data transmission process, wherein the receiving end data transmission process executes the following steps after a receiving device establishes a connection with a transmitting end:
receiving data;
comparing the data sequence numbers;
judging whether the data serial numbers are repeated, if not, outputting the data, then returning a confirmation signal, and then returning to the step of receiving the data;
if the data sequence number is repeated, discarding the data, then returning a confirmation signal, and then returning to the step of receiving the data;
as can be seen from the above, the present invention adds a serial number to each data transmitted by a transmitting end, each receiving device will first determine whether the serial number of the data is repeated when receiving each data, if not, the data is output (played) and an acknowledgement signal is returned, if the serial number of the data is repeated, it indicates that more than two receiving devices simultaneously receive the data transmitted by the transmitting end, and more than one receiving device does not return an acknowledgement signal to the transmitting end because it does not receive the data, and the transmitting end repeatedly transmits the data with the same serial number under the condition that it is determined that the receiving device does not return an acknowledgement signal, at this time, the receiving device that has previously received the data will repeatedly receive the data with the same serial number, so will discard the data and return an acknowledgement signal, by using the method, when the transmitting end simultaneously transmits the data to more than two receiving devices, it can be ensured that all receiving devices can receive the data, when any receiving device does not receive the data, the transmitting terminal repeatedly transmits the data to ensure that all receiving devices do not cause data interruption, and the receiving devices repeatedly receiving the data with the same serial number can automatically discard the data through serial number comparison to ensure that the receiving devices can normally operate, so that more than two receiving devices can simultaneously share the data transmitted by the transmitting terminal by using the method.
Drawings
FIG. 1 is a schematic diagram of the overall architecture of the present invention.
Fig. 2 is a schematic diagram of a transmitting end structure according to a preferred embodiment of the present invention.
Fig. 3 is a flow chart of transmitting-end data transmission according to a preferred embodiment of the present invention.
Fig. 4 is a schematic diagram of a receiving end structure according to a preferred embodiment of the present invention.
Fig. 5 is a flow chart of receiving end data transmission according to a preferred embodiment of the present invention.
Fig. 6 is a schematic diagram of a receiving end structure according to another preferred embodiment of the present invention.
[ description of main element symbols ]
10 host computer 11 USB interface
20 digital wireless transmitter 21 transmitting end processor
22 transmit circuit 23 receive circuit
30 receiver 31 receiving end processor
32 receiving circuit 33 transmitting circuit
34 audio processing circuit 35 loudspeaker
36 microphone.
Detailed Description
Referring to fig. 1, a digital wireless transmitter 20 is mainly installed on a host 10 as a transmitting end, the digital wireless transmitter 20 can be simultaneously connected to more than two receiving devices 30, and the receiving devices 30 simultaneously receive data sent by the digital wireless transmitter 20; the aforementioned host 10 includes, but is not limited to: in the present embodiment, the host 10 is a personal computer having one or more USB interface 11, and the digital wireless transmitter 20 is connected to one of the USB interface 11 for transmitting data (e.g. audio) sent from the personal computer via the USB interface 11; the receiving device 30 is a wireless earphone, i.e. the invention provides more than two wireless earphones for simultaneously receiving the audio data sent by a personal computer.
Referring to fig. 2, a basic structure diagram of the digital wireless transmitter 20 is disclosed, which includes:
a transmitting end processor 21 having more than one input end and one output end, wherein one input end is connected with the host 10 for encoding the data loaded by the host 10;
a transmitting circuit 22, disposed at the output end of the transmitting end processor 21, for transmitting;
a receiving circuit 23, disposed on the other input end of the transmitting end processor 21, for receiving the acknowledgement signal returned by each receiving device 30; wherein:
the transmitting end processor 21 is built with a transmitting end data transmission process, and after the digital wireless transmitter 20 establishes a connection with more than one receiving device 30, the following steps are executed (see fig. 3):
loading new data from the host 10 (step 301);
adding a sequence number to the loaded data (step 302), so that the data scheduled to be sent has sequence;
sending the data added with the sequence number (step 303);
receiving the feedback confirmation signals (step 304), and then determining whether all the connected receiving devices 30 have returned confirmation signals (step 305);
if all the receiving devices 30 have returned the acknowledgement signal, go back to step 301 to repeat the previous step;
otherwise, if any receiving device 30 does not return the acknowledgement signal, the process returns to step 303 to repeatedly send the previous data.
Since the present invention allows more than two receiving devices 30 to receive the data sent by the digital wireless transmitter 20 with the same ID at the same time, when any receiving device 30 does not receive the data and does not return the confirmation signal, the digital wireless transmitter 20 will repeatedly send the previous data, so as to ensure that the connected receiving devices 30 can receive the audio normally without interruption. Since the digital wireless transmitter 20 may repeatedly transmit data with the same sequence number, the receiving device 30 has a corresponding design based on the requirement of normal and smooth reception.
Referring to fig. 4, a basic structure diagram of a receiving device 30 is disclosed, which includes:
a receiving end processor 31 having an input end and more than one output end;
a receiving circuit 32, disposed at the input end of the receiving end processor 31, for receiving the data sent by the digital wireless transmitter 20;
a transmitting circuit 33, disposed at an output of the receiving end processor 31, for transmitting back the acknowledgement signal;
an audio processing circuit 34 having a set of input terminals and a set of output terminals, wherein one input terminal is connected to the output terminal of the receiving terminal processor 31, and the output terminal is connected to a set of speakers 35 for playing audio; wherein,
the receiving end processor 31 is built with a receiving end data transmission process, and after the receiving apparatus 30 establishes a connection with the digital wireless transmitter 20, the following steps are executed (see fig. 5):
receiving data by the receiving circuit 32 (step 501);
comparing the data sequence numbers (step 502), and further judging whether the sequence numbers of the received data are repeated (step 503);
if the data sequence number is not repeated, the data is output (step 504) to the audio processing circuit 34 for conversion processing, and then output to the speaker 35 for playing;
returning an acknowledgement signal after outputting the data (step 505), and then returning to the step of receiving the data (step 501);
if the data sequence number is repeated, the data is discarded (step 506), followed by returning an acknowledgement (step 505) and then returning to the step of receiving data (step 501).
As described above, in order to ensure that all the receiving devices 30 can receive data, if any receiving device 30 does not return an acknowledgement signal because it does not receive data, the digital wireless transmitter 20 will repeatedly transmit data to all the connected receiving devices 30 to ensure that all the receiving devices 30 do not cause data interruption; for the receiving device 30 that has normally received the signal, the signal repeatedly transmitted by the digital wireless transmitter 20 must be responded, so the receiving device 30 can sort each received data according to the sequence number by using the receiving end data transmission process built in the receiving end processor 31, and compare the data sequence numbers to determine whether the sequence numbers of the received data are repeated, if the sequence numbers of the received data are repeated, the data are discarded, thereby ensuring the normal signal reception of the receiving device 30.
As shown in fig. 6, the audio processing circuit 34 of the receiving apparatus 30 may further have a Microphone (MIC)36 on one input end thereof, so that the microphone 36 captures sound, the input sound is converted into digital form by the audio processing circuit 34 and then sent back to the receiving processor 31, and the digital form is sent to the transmitting circuit 33 by the receiving processor 31 and sent back to the host 10 via the digital wireless transmitter 20. The receiving device 30 may be a Headset (Headset) with a Microphone (MIC), and when only a single receiving device 30 is connected to the digital wireless transmitter 20, the probability of data retransmission is low, and the bandwidth occupied by the data transmission is also low, so that the Headset can return voice data to the digital wireless transmitter 20 and send the voice data back to the host 10 through the digital wireless transmitter 20 for two-way communication.
Therefore, the invention overcomes the technical bottleneck that the traditional digital wireless transmission data can only be transmitted one to one, so that more than two wireless receiving devices can simultaneously receive the data sent by the same transmitting terminal, thereby effectively achieving the purpose of sharing.
Claims (8)
1. A one-to-many wireless data transmission method has a transmitting end data transmission process, after the transmitting end establishes connection with more than one receiving device, the transmitting end data transmission process executes the following steps:
loading new data;
adding a serial number into the loaded data;
transmitting the data added with the serial number;
receiving the return confirmation signal, and judging whether all connected receiving devices return the confirmation signal; if all the feedback is carried out, repeating the steps;
if any receiving device does not return the confirmation signal, the previous data is repeatedly transmitted.
2. A one-to-many wireless data transmission apparatus, comprising:
a transmitter processor having more than one input and one output, and having the transmitter data transmission flow of claim 1 built therein;
the transmitting circuit is arranged on the output end of the transmitting end processor and used for transmitting;
and the receiving circuit is arranged on the other input end of the transmitting end processor.
3. A one-to-many wireless data transmission method has a receiving end data transmission process, after a receiving device and a transmitting end establish a connection, the receiving end data transmission process executes the following steps:
receiving data;
comparing the data sequence numbers;
judging whether the data serial numbers are repeated, if not, outputting the data, then returning a confirmation signal, and then returning to the step of receiving the data;
if the data sequence number is repeated, the data is discarded, then an acknowledgement signal is returned, and then the step of receiving the data is returned.
4. A receiving device implementing the method of claim 3, comprising:
a receiving end processor having an input end and more than one output end, and built-in with a receiving end data transmission flow according to claim 3;
the receiving circuit is arranged on the input end of the receiving end processor;
and the transmitting circuit is arranged on an output end of the receiving end processor.
5. The receiving device as claimed in claim 4, further comprising an audio processing circuit having a set of inputs and a set of outputs, wherein one of the inputs is connected to the output of the receiving processor and the output is connected to a set of speakers.
6. The receiving device as claimed in claim 5, wherein a microphone is disposed on an input of the audio processing circuit.
7. The receiving device of claim 4, wherein the receiving device is a wireless headset.
8. The receiving device of claim 6, wherein the receiving device is a headset including a microphone.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101301356A CN102790664A (en) | 2011-05-19 | 2011-05-19 | One-to-many wireless data transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101301356A CN102790664A (en) | 2011-05-19 | 2011-05-19 | One-to-many wireless data transmission method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102790664A true CN102790664A (en) | 2012-11-21 |
Family
ID=47155972
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011101301356A Pending CN102790664A (en) | 2011-05-19 | 2011-05-19 | One-to-many wireless data transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102790664A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103490966A (en) * | 2013-10-10 | 2014-01-01 | 北京航天发射技术研究所 | Dual-redundancy CAN bus data receiving and processing method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1918841A (en) * | 2004-02-13 | 2007-02-21 | 诺基亚公司 | Identification and re-transmission of missing parts |
CN101296161A (en) * | 2007-04-26 | 2008-10-29 | 华为技术有限公司 | Method, system, device, receiving equipment and transmitting equipment for data retransmission |
CN101841469A (en) * | 2010-03-24 | 2010-09-22 | 北京创毅视讯科技有限公司 | Data transmitting method, system and device in Internet of things |
CN102055690A (en) * | 2009-10-27 | 2011-05-11 | 领特德国有限公司 | Vectored data transmission methdo and apparatus |
-
2011
- 2011-05-19 CN CN2011101301356A patent/CN102790664A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1918841A (en) * | 2004-02-13 | 2007-02-21 | 诺基亚公司 | Identification and re-transmission of missing parts |
CN101296161A (en) * | 2007-04-26 | 2008-10-29 | 华为技术有限公司 | Method, system, device, receiving equipment and transmitting equipment for data retransmission |
CN102055690A (en) * | 2009-10-27 | 2011-05-11 | 领特德国有限公司 | Vectored data transmission methdo and apparatus |
CN101841469A (en) * | 2010-03-24 | 2010-09-22 | 北京创毅视讯科技有限公司 | Data transmitting method, system and device in Internet of things |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103490966A (en) * | 2013-10-10 | 2014-01-01 | 北京航天发射技术研究所 | Dual-redundancy CAN bus data receiving and processing method |
CN103490966B (en) * | 2013-10-10 | 2016-08-24 | 北京航天发射技术研究所 | A kind of dual-redundant CAN bus method for receiving and processing data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11877131B2 (en) | Un-tethered wireless audio system | |
CN109314813B (en) | Earphone wireless communication method, master earphone, slave earphone and earphone system | |
US9838062B2 (en) | Wireless headset system with two different radio protocols | |
CN109348364A (en) | A kind of wireless microphone system, control method and audio/video conference system | |
CN202310099U (en) | Wireless sounder and system for playing audio through same | |
CN103391118A (en) | Bluetooth headset and audio sharing method by virtue of Bluetooth headsets | |
CN104025559A (en) | Transferring of audio routing in a premises distribution network | |
JP2006313513A (en) | Wireless peripheral system for use with computer | |
CN102857609B (en) | Radio signal is transmitted between earphone and base station | |
CN204559840U (en) | A kind of earphone with Data Control plate | |
CN104980191A (en) | Sharing method for Bluetooth audio packet | |
CN109298846B (en) | Audio transmission method and device, electronic equipment and storage medium | |
CN112335328B (en) | Method and system for transmitting audio data and wireless audio system | |
JP3117272U (en) | Wireless transceiver for audio signals | |
CN108055620B (en) | Wireless sound card device | |
CN106162399B (en) | Earphone with data control board and use method thereof | |
CN102790664A (en) | One-to-many wireless data transmission method and device | |
CN101924968A (en) | Audio converter | |
CN110224773A (en) | A kind of FM tuning methods of vehicle-mounted K song system | |
CN201590888U (en) | Audio converter | |
CN103338416A (en) | Music sharing system and method of wireless card earphone | |
CN207603896U (en) | A kind of Wireless sound card device | |
CN220020607U (en) | Mixer based on Bluetooth and USB | |
EP2922222B1 (en) | Electronic device and audio-data transmission method | |
CN216134569U (en) | Wireless microphone system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20121121 |