WO2018023694A1 - 一种传输信号的方法和装置 - Google Patents
一种传输信号的方法和装置 Download PDFInfo
- Publication number
- WO2018023694A1 WO2018023694A1 PCT/CN2016/093511 CN2016093511W WO2018023694A1 WO 2018023694 A1 WO2018023694 A1 WO 2018023694A1 CN 2016093511 W CN2016093511 W CN 2016093511W WO 2018023694 A1 WO2018023694 A1 WO 2018023694A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- wave signal
- signal
- sequence
- value
- bit
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/02—Amplitude-modulated carrier systems, e.g. using on-off keying; Single sideband or vestigial sideband modulation
- H04L27/06—Demodulator circuits; Receiver circuits
- H04L27/066—Carrier recovery circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/02—Amplitude-modulated carrier systems, e.g. using on-off keying; Single sideband or vestigial sideband modulation
- H04L27/04—Modulator circuits; Transmitter circuits
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K7/00—Modulating pulses with a continuously-variable modulating signal
- H03K7/08—Duration or width modulation ; Duty cycle modulation
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M5/00—Conversion of the form of the representation of individual digits
- H03M5/02—Conversion to or from representation by pulses
- H03M5/04—Conversion to or from representation by pulses the pulses having two levels
- H03M5/06—Code representation, e.g. transition, for a given bit cell depending only on the information in that bit cell
- H03M5/12—Biphase level code, e.g. split phase code, Manchester code; Biphase space or mark code, e.g. double frequency code
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/3827—Portable transceivers
- H04B1/385—Transceivers carried on the body, e.g. in helmets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/02—Details ; arrangements for supplying electrical power along data transmission lines
- H04L25/0264—Arrangements for coupling to transmission lines
- H04L25/028—Arrangements specific to the transmitter end
- H04L25/0286—Provision of wave shaping within the driver
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/02—Details ; arrangements for supplying electrical power along data transmission lines
- H04L25/03—Shaping networks in transmitter or receiver, e.g. adaptive shaping networks
- H04L25/03828—Arrangements for spectral shaping; Arrangements for providing signals with specified spectral properties
- H04L25/03834—Arrangements for spectral shaping; Arrangements for providing signals with specified spectral properties using pulse shaping
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/38—Synchronous or start-stop systems, e.g. for Baudot code
- H04L25/40—Transmitting circuits; Receiving circuits
- H04L25/49—Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
- H04L25/4904—Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using self-synchronising codes, e.g. split-phase codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/0002—Modulated-carrier systems analog front ends; means for connecting modulators, demodulators or transceivers to a transmission line
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/02—Amplitude-modulated carrier systems, e.g. using on-off keying; Single sideband or vestigial sideband modulation
- H04L27/06—Demodulator circuits; Receiver circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1091—Details not provided for in groups H04R1/1008 - H04R1/1083
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R5/00—Stereophonic arrangements
- H04R5/04—Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/156—Arrangements in which a continuous pulse train is transformed into a train having a desired pattern
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/02—Amplitude-modulated carrier systems, e.g. using on-off keying; Single sideband or vestigial sideband modulation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/10—Frequency-modulated carrier systems, i.e. using frequency-shift keying
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/18—Phase-modulated carrier systems, i.e. using phase-shift keying
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R5/00—Stereophonic arrangements
- H04R5/033—Headphones for stereophonic communication
Definitions
- Embodiments of the present invention relate to the field of information technology, and, more particularly, to a method and apparatus for transmitting signals.
- a wired earphone which can communicate and transmit through an audio signal path corresponding to a headphone interface at a host end.
- the main communication process is as follows: (1) the terminal encodes and modulates the data that needs to be sent to the headset; (2) the terminal performs digital-to-analog conversion on the modulated signal; and (3) the terminal passes through the earphone cable connected to the earphone interface.
- the left channel line or the right channel line transmits the digital-to-analog converted modulated signal to the earphone; (4) the earphone demodulates and decodes the received signal.
- the transmission of the signal is transmitted by one channel line (for example, the left channel line or the right channel line), and the carrier needs to be recovered by the carrier recovery module at the receiving end for signal demodulation.
- Traditional carrier recovery is usually performed by circuits such as phase-locked loops; on the other hand, the decoding of signals also needs to be done by digital circuits. Therefore, the digital circuit structure for demodulation and decoding is relatively complicated and relatively expensive.
- Embodiments of the present invention provide a method and apparatus for transmitting a signal, so as to implement signal decoding by a decoding algorithm, thereby making the digital circuit structure simpler and further reducing the cost.
- a method of transmitting a signal comprising:
- the wearable communication device receives a modulated wave signal sent by the terminal device, and the modulated wave signal is a signal obtained by the terminal device encoding and modulating the original data;
- first mapping relationship where the first mapping relationship is used to indicate a one-to-one mapping relationship between the multiple time interval feature values and multiple coding sequences;
- the corresponding coding sequence can be determined, thereby recovering the original data.
- the complicated digital circuit in the prior art is avoided to decode, so that the digital circuit structure is simplified, thereby reducing the cost.
- the acquiring the multiple time interval feature values in the square wave signal includes:
- the multiple time interval feature values include: a first feature value, a second feature value, and a third feature value
- the plurality of coding sequences includes a first Manchester sequence, a second Manchester sequence, and a third Manchester sequence, each code sequence being composed of a second preset value and the first preset value, the square wave signal being used Representing the first preset value and the second preset value,
- the first mapping relationship specifically includes:
- the first feature value is corresponding to the first Manchester sequence, and the first Manchester sequence is specifically: the first bit is a value of the first preset value, and the second bit is a value of the second default value;
- the second feature value is corresponding to the second Manchester sequence, where the second Manchester sequence is specifically: the first bit is a value of the first preset value, and the second bit is a value. Place Determining a second preset value, where the third bit is a value of the second preset value;
- the third feature value is corresponding to the third Manchester sequence, where the third Manchester sequence is specifically: the first bit is a value of the first preset value, and the second bit is a value.
- time interval feature value is used to represent a time interval between any two adjacent high levels, the first bit being two adjacent high levels corresponding to the time interval feature value a first high level corresponding bit, the second bit being a first bit after the first bit, the third bit being a first after the second bit Bits.
- the original coding sequence is an original Manchester sequence obtained by Manchester coding the original data, and Performing a first decoding process on the square wave signal according to the multiple time interval feature values and the first mapping relationship to obtain an original coding sequence, including:
- the decoding result is a Manchester sequence including S bits, and S is a natural number greater than or equal to 2, and
- Performing a restoration process on the decoding result according to the bit included in the decoding result to obtain the original Manchester sequence including:
- the original Manchester sequence is determined based on the decoding result and the values of the last two bits of the original Manchester sequence.
- the wearable communication device receives the modulated wave signal sent by the terminal device, including:
- the wearable communication device receives the modulated wave signal sent by the terminal through a first channel line
- Demodulating the received modulated wave signal to obtain a signal to be decoded including:
- the carrier signal is obtained by amplitude modulation of a sine wave of a first frequency and a sine wave of a second frequency, where The frequency difference between a frequency and the second frequency is greater than or equal to 20 kHz.
- the receiving end device by transmitting the carrier signal together with the modulated wave signal to the receiving end device (for example, the wearable communication device), the receiving end device can directly demodulate the modulated wave signal according to the received carrier signal, thereby eliminating complicated
- the carrier recovery module further simplifies the digital circuitry and reduces costs.
- a method of transmitting a signal comprising:
- the terminal device encodes the original data to obtain an original coding sequence
- the modulated wave signal is transmitted to the wearable communication device.
- the modulating the original code sequence to obtain a modulated wave signal includes:
- the transmitting the modulated wave signal to the wearable communication device includes:
- the method further includes:
- the carrier signal Transmitting the carrier signal to the wearable communication device via a second channel line, the carrier signal The number is used by the wearable communication device to demodulate the received modulated wave signal to obtain a signal to be decoded.
- the receiving end device by transmitting the carrier signal together with the modulated wave signal to the receiving end device (for example, the wearable communication device), the receiving end device can directly demodulate the modulated wave signal according to the received carrier signal, thereby eliminating complicated
- the carrier recovery module further simplifies the digital circuitry and reduces costs.
- a wearable communication device that can perform the operations performed by the wearable communication device of the first aspect or any optional implementation of the first aspect.
- the wearable communication device may comprise a modular unit for performing the operations performed by the wearable communication device in any of the first aspect or the first aspect of the first aspect.
- a terminal device which can perform the operations performed by the terminal device in the second aspect or any optional implementation manner of the second aspect.
- the terminal device may include a module unit for performing the operations performed by the terminal device in any of the possible implementations of the second aspect or the second aspect described above.
- a wearable communication device comprising: a receiver, a transmitter, a processor, a memory, and a bus system, wherein the receiver, the transmitter, the memory, and the processor are connected by a bus system, and the memory is used for storing An instruction for executing the memory stored instruction to control a receiver to receive a signal, the transmitter to transmit a signal, and when the processor executes the memory stored instruction, the executing causes the processor to perform the first aspect or A method in any possible implementation on the one hand.
- a sixth aspect provides a terminal device, including: a receiver, a transmitter, a processor, a memory, and a bus system, wherein the receiver, the transmitter, the memory, and the processor are connected by a bus system, and the memory is configured to store an instruction,
- the processor is configured to execute instructions stored in the memory to control a receiver to receive a signal, the transmitter to transmit a signal, and when the processor executes the memory stored instructions, the executing causes the processor to perform the second aspect or the second aspect
- the method in any possible implementation.
- a computer storage medium storing program code for indicating an operation performed by the interface generating apparatus of the first aspect or any optional implementation of the first aspect .
- a computer storage medium storing program code for indicating execution of any of the optional aspects of the second aspect or the second aspect
- the current mode interface generates an operation performed by the device.
- the wearable communication device is a wired headset.
- an embodiment of the present invention provides a method and apparatus for transmitting a signal, so as to implement signal decoding by a decoding algorithm, thereby making the digital circuit structure simpler, thereby reducing cost.
- FIG. 1 is a schematic flow chart of a method of transmitting a signal according to an embodiment of the present invention, which is shown from the perspective of device interaction.
- FIG. 2 is a schematic diagram of raw data, and an original Manchester sequence obtained by Manchester encoding the original data.
- FIG. 3 is a schematic diagram of modulating a first carrier and a second carrier to obtain a target carrier.
- FIG. 4 is a schematic diagram of a modulated wave obtained by ASK-modulating an original Manchester sequence by a target carrier.
- Fig. 5 is a schematic diagram of demodulation of a modulated wave signal.
- Fig. 6 is a modulation waveform diagram and a square wave diagram in which the packet header signal is a hexadecimal number of 0xff.
- FIG. 7 is a schematic diagram of a one-to-one mapping relationship between a plurality of time interval feature values and a plurality of Manchester sequences.
- Figure 8 is a schematic diagram of the original data decoded from the original Manchester sequence.
- FIG. 9 is a schematic block diagram of a wearable communication device in accordance with an embodiment of the present invention.
- FIG. 10 is a schematic block diagram of a terminal device according to an embodiment of the present invention.
- FIG. 11 is another schematic block diagram of a wearable communication device in accordance with an embodiment of the present invention.
- FIG. 12 is another schematic block diagram of a terminal device according to an embodiment of the present invention.
- the wearable communication device may be a wearable device that can communicate with the terminal device through wired communication or wireless communication, such as a wristband or a headset.
- the wearable device can be used to implement functions such as heart rate detection, motion pacing, and the like.
- the earphone includes an earpiece (also referred to as an earplug or an earmuff), and the earpiece includes a speaker.
- the earphone is connected to the terminal through the earphone cable.
- the earphone cable includes a four-segment pin (or a four-segment earphone connector), and the four-segment pin can be inserted into the four-segment audio interface of the terminal.
- the terminal device in the embodiment of the present invention may be a variety of audio source devices, and the terminal device includes a four-segment audio interface, and after being connected with the four-stage pin of the earphone, the speaker can be powered and the speaker of the earphone can be driven (also Referring to the horn and the microphone, the four-segment audio interface is, for example, an active 3.5 mm jack.
- the terminal device may be a portable or desktop electronic device, such as various handheld terminals such as a mobile phone, a tablet computer, a music player, or a tape recorder, and is not limited to a communication terminal.
- FIG. 1 is a schematic flow diagram of a method 100 of transmitting signals in accordance with an embodiment of the present invention, as seen from the perspective of device interaction. It should be understood that FIG. 1 illustrates a detailed communication step or operation of a method of transmitting a signal, but these steps or operations are merely examples, and embodiments of the present invention may perform other operations or variations of the various operations in FIG. . Moreover, the various steps in FIG. 1 may be performed in a different order than that presented in FIG. 1, and it is possible that not all of the operations in FIG. 1 are to be performed.
- the method 100 includes:
- the terminal device encodes the original data to obtain an original coding sequence.
- the original data may be a sequence composed of binary numbers "1" and "0".
- the coding sequence can be obtained by encoding the original data.
- the encoding may be Manchester encoding, which may be a Manchester sequence.
- the sequence obtained by encoding the original data is referred to as the original Manchester sequence.
- the Manchester code can represent the binary number "1” with “10” and the "0” with “01".
- Figure 2 shows the raw data, as well as a schematic representation of the original Manchester sequence obtained by Manchester encoding the original data.
- 2a is a schematic diagram showing the original data "10101” by a square wave.
- 2b is a schematic diagram of a square wave of the Manchester sequence "1001100110” obtained by Manchester encoding the original data.
- the terminal generates a carrier signal.
- the carrier signal is used to modulate the original Manchester sequence.
- the modulation method may be an Amplitude Shift Keying (ASK) modulation process.
- ASK Amplitude Shift Keying
- ASK modulation is a method of modulation, and is merely illustrative, and should not be construed as limiting the invention, and the invention should not be limited thereto.
- the modulation method may further include Phase Shift Keying ("FSK”) modulation, Frequency Shift Keying ("PSK”), and the like.
- FSK Phase Shift Keying
- PSK Frequency Shift Keying
- the carrier signal referred to herein can be understood as a signal for carrying data to be transmitted or information to be transmitted, and the carrier signal itself does not carry a signal.
- the carrier signal is used to modulate the original Manchester sequence described above to obtain a modulated wave signal.
- the carrier signal can be a sine wave of a single frequency point.
- the carrier signal can be modulated by two sinusoids at different frequencies.
- the carrier (referred to as a target carrier for convenience of distinction and description) may be a sine wave of a first frequency (referred to as a first carrier for convenience of distinction and description) and a sine wave of a second frequency (for ease of distinction) And the description, recorded as the second carrier) is modulated.
- the frequency difference between the first frequency and the second frequency is greater than or equal to 20 kHz.
- the first frequency is 21 kHz and the second frequency is 1 kHz; alternatively, the first frequency is 30 kHz.
- the second frequency is 10 kHz.
- the first carrier is y c1
- the second carrier is y c2
- the target carrier formed by amplitude modulation is y c .
- f c1 is the frequency of y c1 (i.e., the first frequency)
- f c2 is the frequency of y c2 (i.e., the second frequency)
- ⁇ f c1 -f c2 ⁇ ⁇ 20 kHz.
- the envelope frequency of y c is 2f c2 and the communication rate is f c2 .
- 3 is a schematic diagram of modulating a first carrier and a second carrier to obtain a target carrier.
- FIG. 3c is a view of the first frequency
- a schematic diagram of a target carrier obtained by modulating a sine wave and a sine wave of a second frequency.
- first frequency and the second frequency listed herein are merely exemplary, and the present invention should not be limited in any way, as long as the frequency difference between the first frequency and the second frequency satisfies greater than or equal to 20 kHz. It falls within the scope of protection of the present invention.
- first carrier and the second carrier used to modulate the carrier signal are merely illustrative and should not be construed as limiting the invention.
- the present invention does not have the type and number of signals used to modulate the amplitude modulated wave. Specially limited.
- the terminal performs ASK modulation on the original Manchester sequence to obtain a modulated wave signal based on the carrier signal.
- the terminal performs ASK modulation on the original Manchester sequence obtained in S102 based on the carrier signal modulated at S104.
- ASK modulation is the same as the prior art, and for the sake of brevity, a detailed description of ASK modulation of the original Manchester sequence is omitted here.
- FIG. 4 is a diagram showing a modulated wave obtained by ASK-modulating an original Manchester sequence by a target carrier.
- 4a is a schematic diagram of a target carrier; and
- FIG. 4b is a schematic diagram of an original Manchester sequence.
- 4c is a schematic diagram of a modulated wave obtained by ASK-modulating an original Manchester sequence by a target carrier. It can be seen that the signal wave after ASK modulation exhibits a discontinuous waveform similar to a sine wave.
- the terminal sends a modulated wave signal to the earphone.
- the terminal may perform digital-to-analog conversion on the modulated wave signal through an audio codec unit, and after being amplified by an audio amplifier unit (Audio Amplifier Unit), send the processed modulated wave signal to the earphone.
- the modulated wave signal can be transmitted through a headphone cable connected between the terminal and the earphone.
- one end of the earphone cable includes a four-segment pin including a left channel L pin, a right channel R pin, a ground G pin, and a microphone M pin.
- the earphone is connected to the terminal through a four-stage pin of the earphone cable.
- the four-segment pin is used for connecting with the four-segment audio interface of the terminal, and the terminal is respectively led through the left channel L pin and the right channel R.
- the foot and microphone M pins drive the left and right speakers and microphone of the headphones.
- the earphone cable connected to the left channel L pin is a left channel L line.
- the headphone cable connected to the right channel R pin is the right channel R line
- the headphone cable connected to the microphone M pin is the microphone M line
- the headphone cable connected to the ground G pin is the ground line.
- the earphone may receive the modulated wave signal from the terminal through the left channel L line or the right channel R line (ie, an example of the first channel line).
- the S108 terminal sends the modulated wave signal to the earphone:
- the terminal transmits the modulated wave signal to the earphone through the first channel line
- the method 100 also includes:
- the terminal sends a carrier signal to the earphone through the second channel line, and the carrier signal is used by the earphone to demodulate the received modulated wave signal to obtain a signal to be decoded.
- the terminal can transmit the modulated wave signal through one of the left channel L line and the right channel R line (ie, an example of the first channel line), and passes through another channel line. (ie, an example of the second channel line) transmits a carrier (eg, the target carrier) signal.
- the first channel line may be a left channel L line
- the second channel line may be a right channel R line
- the first channel line may be a right channel R line
- the second channel line Can be left channel L line.
- the present invention is not particularly limited thereto.
- the receiving end (for example, the earphone) can demodulate the received modulated wave signal through a digital circuit, which requires a complex carrier recovery module to acquire the carrier.
- the target carrier signal can be obtained by two carrier modulations, that is, the target carrier is different from the single-frequency point carrier, and the corresponding carrier recovery module is more complicated, and therefore, more complex is needed.
- the digital circuit can realize the demodulation of the modulated wave signal.
- the terminal ie, an example of the transmitting end
- the second channel line ie, an example of the receiving end
- the complex carrier recovery module is eliminated, thereby reducing the complexity of the digital circuit.
- the earphone demodulates the received modulated wave signal to obtain a signal to be decoded.
- the earphone after receiving the modulated wave signal sent by the terminal through the first channel line and the carrier signal transmitted through the second channel line, the earphone can be directly used by an analog to digital converter (Analog to Digital Converter, referred to as “ADC”. ”) Acquire signals (including modulated wave signals and carrier signals). For example, if the modulated wave signal y m is transmitted by the left channel line and the carrier signal y c is transmitted by the right channel line, the process of demodulating the modulated wave signal can be as follows:
- y dm1 is the demodulated signal, that is, the signal to be decoded.
- the high frequency signal may be filtered by a low pass filter (Low Pass Filter, referred to as "LPF”) to obtain a signal to be decoded.
- LPF Low Pass Filter
- Fig. 5 shows a schematic diagram of demodulation of a modulated wave signal.
- 5a is a schematic diagram of the modulated wave signal y m ;
- FIG. 5b is a schematic diagram of the demodulated signal y c ;
- FIG. 5c is a schematic diagram of the demodulated signal y dm1 ;
- FIG. 5d is a schematic diagram of the low-pass filtered signal y dm2 . It can be seen that the low-pass filtered signal y dm2 filters out signals outside the frequency band and interference of excess frequency bands and frequencies.
- the earphone performs waveform shaping processing on the decoded signal to obtain a square wave signal.
- the earphone can perform waveform shaping processing on the signal to be decoded through a waveform shaping algorithm.
- the threshold value may be output by the comparator, and the waveform may be shaped according to the threshold value output by the comparator to obtain a square wave signal.
- the earphone after obtaining the square wave signal, can decode the square wave signal according to the mapping relationship between the plurality of time interval feature values and the plurality of coding sequences (for example, Manchester sequence) to obtain the original data.
- the mapping relationship between the plurality of time interval feature values and the plurality of coding sequences for example, Manchester sequence
- the square wave signal is decoded according to a mapping relationship between the plurality of time interval feature values and the plurality of coding sequences, to obtain the original data, including:
- the second decoding process is performed on the original Manchester sequence to obtain the original data.
- the earphone acquires a plurality of time interval feature values in the square wave signal.
- a square wave signal can be understood as a waveform composed of a plurality of high levels and a plurality of low levels.
- the first preset value can be represented by a high level.
- the time interval can be understood as the interval between the high levels corresponding to any two adjacent first preset values, or the time interval can be understood as the duration of the low level. In other words, the height corresponding to any two adjacent first preset values There is a time interval between the levels.
- the S114 headset acquires multiple time interval feature values in the square wave signal, including:
- the plurality of time interval feature values are acquired according to a period of the modulated wave signal, a pulse width, and the edge deviation.
- the earphone when the earphone receives the modulated wave signal transmitted by the terminal, the original data corresponding to the modulated wave signal is not known in advance, and therefore, the corresponding time interval feature values in the waveform of the modulated modulated wave signal cannot be respectively corresponding. At what time price characteristic value.
- three feature values included in the time interval feature value that is, the above t 1 , t 2 , and t 3 , may be acquired by setting a packet header signal for the modulated wave signal.
- the modulation waveform diagram after being encoded and modulated by the terminal can be a square wave diagram obtained by performing waveform shaping processing on the modulated wave of the packet header signal as shown in FIG. Also can be as shown in Figure 6.
- Fig. 6 shows a modulation waveform diagram and a square wave diagram in which the packet header signal is a hexadecimal number of 0xff. It can be understood that the hexadecimal number 0xff can correspond to the binary number 1111 1111, and the corresponding Manchester sequence sequence is 1010 1010 1010 1010. Therefore, the process of waveform shaping processing of the modulated wave according to the threshold value outputted by the comparator shown in FIG. 6 can obtain the period T s of the packet header signal, the pulse width T w , and when the threshold value of the comparator output is greater than zero.
- the edge deviation T u between the square wave and the pulse start point of the modulated wave signal By obtaining the rising edge and falling edge time of the header data, they are saved as an array rise[N] and an array fall[N], where N is the number of pulses in the packet header signal. Then there are:
- t(i) rise(i)-fall(i-1).
- the square wave signal is obtained by shaping the waveform according to the threshold value output by the comparator. Therefore, the length of each high level can be less than or equal to 1/2 T s . That is to say, there is a time interval between two high levels corresponding to any two consecutive first preset values, and the time interval is 2T u , that is, t 3 .
- the headset acquires a first mapping relationship.
- the first mapping relationship is used to indicate a one-to-one mapping relationship between a plurality of time interval feature values and a plurality of coding sequences (eg, Manchester sequences).
- the plurality of time interval feature values include: a first feature value, a second feature value, and a third feature value, the plurality of code sequences including a first Manchester sequence, a second Manchester sequence, and a third Manchester sequence, each The code sequence is composed of a second preset value and the first preset value, and the square wave signal is used to represent the first preset value and the second preset value,
- the first mapping relationship specifically includes:
- the first feature value is corresponding to the first Manchester sequence, where the first Manchester sequence is specifically: the first bit is a value of the first preset value, and the second bit is a second preset value;
- the second feature value is corresponding to the second Manchester sequence, where the second Manchester sequence is specifically: the first bit is a value of the first preset value, and the second bit is a value of the second preset. a value, the third bit is taken as the second preset value;
- the third eigenvalue is corresponding to the third Manchester sequence, where the third sequel is specifically: the first bit is a value of the first preset value, and the second bit is a value of the second preset. value;
- time interval feature value is used to represent a time interval between any two adjacent high levels, the first bit being the first of two adjacent high levels corresponding to the time interval feature value One A bit corresponding to a high level, the second bit being the first bit after the first bit, and the third bit being the first bit after the second bit.
- the modulated wave signal sent by the terminal device is Manchester-coded, that is, the first preset value may be “1”, and the second preset value may be “0”.
- the square wave corresponding to the sequence obtained by Manchester has the following three types:
- the corresponding square wave has a second feature value t 2 of the time interval feature. That is, the second feature value corresponds to the second Manchester sequence, and the second Manchester sequence is "100";
- FIG. 7 shows a schematic diagram of a one-to-one mapping relationship between a plurality of time interval feature values and a plurality of Manchester sequences.
- the time interval can be expressed as the time difference between the time when the rising edge of the second square wave of the two adjacent square waves appears and the falling edge of the first square wave, or can be understood as low power.
- the first bit may correspond to a bit corresponding to the first square wave (specifically, a high level) of the two adjacent square waves (specifically, a high level).
- the earphone decodes the square wave signal according to the first mapping relationship, and obtains a decoding result.
- the earphone can perform decoding according to the demodulated signal to be decoded to obtain a decoding result.
- the time interval feature value is the first feature value t 1
- the bit corresponding to the first square wave of the two adjacent square waves corresponding to the feature value of the time interval (ie, the first bit)
- the bit has a value of "1”
- the bit after the first bit ie, the second bit
- the time interval feature value is the second characteristic value t 2
- the value of the first bit is "1”
- the value of the second bit is "0”
- the value of the bit after the second bit ie, the third bit
- the value of the first bit is “1”.
- the value of the second bit may continue to be “1”, or may be based on the next time.
- the feature value of the interval is the value of the second bit (it can be understood that the second bit is the first bit of the next time interval corresponding to the next time interval).
- the waveform after the last pulse of the waveform diagram shown in FIG. 7 is agnostic, and may be a high level or a low level. That is to say, after the last high level of the square wave signal, the time interval feature value cannot be determined. Therefore, the bit corresponding to the last high level and subsequent bits cannot determine the value of the corresponding Manchester code.
- the value of the last bit can be determined based on the number of bits of the decoding result obtained by the decoding process in S118.
- the decoding result is a Manchester sequence including S bits, S is a natural number greater than or equal to 2, and
- the decoding result is restored according to the bit included in the decoding result to obtain an original Manchester sequence, including:
- the original Manchester sequence is determined based on the decoding result and the values of the last two bits of the original Manchester sequence.
- the decoding result is a Manchester sequence including S bits
- the value of mod(S, 2) when the value of mod(S, 2) is 0, it indicates that the decoding result is exactly two bits away from the original Manchester sequence, that is, Corresponds to the two bits corresponding to the last pulse as shown in FIG. In Figure 7, the last two bits have a value of "10" so that a complete Manchester sequence (i.e., the original Manchester sequence) can be obtained.
- the value of mod(S, 2) is 1, the decoding result is explained. Just one bit difference from the original Manchester sequence. In this case, the value of the bit not reflected in the square wave signal is added according to the last bit corresponding to the square wave signal.
- the decoding of S108 and the restoration processing in S120 may be collectively referred to as a first decoding process for processing the signal to be decoded to obtain an original coding sequence.
- the earphone performs a second decoding process on the original code sequence to obtain original data.
- the earphone decodes "10" in the original Manchester sequence to "1” according to the principle of Manchester encoding, and decodes "01” in the original Manchester sequence into "0", thereby restoring the original data.
- Figure 8 shows the process of decoding raw data from the original Manchester sequence.
- Fig. 8a shows a schematic diagram of the original Manchester sequence
- Fig. 8b shows a schematic diagram of the original data.
- the above-listed Manchester sequence is one form of the coding sequence, which is merely illustrative and should not be construed as limiting the invention, and the invention should not be limited thereto.
- the coding sequence may also be a sequence obtained by coding by other coding methods.
- first preset value listed above is “1”
- second preset value is “0”
- the correspondence between the first preset value and the high level is only an exemplary description, and should not be addressed.
- the present invention constitutes any limitation.
- the first preset value may also be “0”, and may further correspond to a high level in the square wave signal, and the second preset value may also be “1”.
- the present invention is not particularly limited thereto.
- the method for transmitting a signal according to the embodiment of the present invention may determine the corresponding coding sequence according to a plurality of time interval feature values and a one-to-one mapping relationship of the plurality of coding sequences, and the acquired plurality of time interval feature values, thereby Restore the original data.
- the complicated digital circuit in the prior art is avoided to decode, so that the digital circuit structure is simplified, thereby reducing the cost.
- FIGS. 1 through 8 a method of transmitting a signal according to an embodiment of the present invention is described in detail with reference to FIGS. 1 through 8.
- an apparatus for transmitting a signal according to an embodiment of the present invention will be described in detail with reference to FIGS. 9 and 12.
- FIG. 9 is a schematic block diagram of a wearable communication device 10 in accordance with an embodiment of the present invention. As shown in FIG. 9, the wearable communication device 10 includes:
- the receiving module 11 is configured to receive a modulated wave signal sent by the terminal device, where the modulated wave signal is a signal obtained by the terminal device encoding and modulating the original data;
- the demodulation module 12 is configured to demodulate the received modulated wave signal to obtain a signal to be decoded.
- the shaping module 13 is configured to perform waveform shaping processing on the signal to be decoded to obtain a square wave signal, wherein a high level in the square wave signal is used to indicate a first preset value, and any two adjacent first preset values There is a time interval between the corresponding high levels in the square wave signal;
- the obtaining module 14 is configured to acquire a plurality of time interval feature values in the square wave signal
- the obtaining module 14 is further configured to acquire a first mapping relationship, where the first mapping relationship is used to indicate a one-to-one mapping relationship between the plurality of time interval feature values and the plurality of coding sequences;
- the decoding module 15 is configured to perform a first decoding process on the square wave signal according to the plurality of time interval feature values and the first mapping relationship, to obtain an original code sequence, where the original code sequence is encoded by the terminal device get;
- the decoding module 15 is further configured to perform a second encoding process on the original coding sequence to obtain the original data.
- the wearable communication device 10 further includes:
- a processing module configured to set a packet header signal to the modulated wave signal
- the obtaining module 14 is further configured to: acquire, according to the packet header signal, a period of the packet header signal, a pulse width of the modulated wave signal, and a rising edge or a falling edge of the square wave when the threshold value of the comparator output is greater than zero An edge deviation between pulse start points of the wave signal, wherein the comparator is configured to perform the waveform shaping process on the modulated wave signal;
- the acquiring module 14 is specifically configured to acquire the plurality of time interval feature values according to the period, the pulse width, and the edge deviation of the modulated wave signal.
- the plurality of time interval feature values include: a first feature value, a second feature value, and a third feature value, the plurality of code sequences including a first Manchester sequence, a second Manchester sequence, and a third Manchester sequence, each The code sequence is composed of a second preset value and the first preset value, and the square wave signal is used to represent the first preset value and the second preset value,
- the first mapping relationship specifically includes:
- the first feature value is corresponding to the first Manchester sequence, where the first Manchester sequence is specifically: the first bit is a value of the first preset value, and the second bit is a second preset value;
- the second feature value is corresponding to the second Manchester sequence, where the second Manchester sequence is specifically: the first bit is a value of the first preset value, and the second bit is a value of the second preset. a value, the third bit is taken as the second preset value;
- the third eigenvalue is corresponding to the third Manchester sequence, where the third sequel is specifically: the first bit is a value of the first preset value, and the second bit is a value of the second preset. value;
- time interval feature value is used to represent a time interval between any two adjacent high levels, the first bit being the first of two adjacent high levels corresponding to the time interval feature value a high level corresponding bit, the second bit being the first bit after the first bit, and the third bit being the first bit after the second bit.
- the decoding module 15 is specifically configured to use the plurality of time interval feature values and Decoding the square wave signal to obtain a decoding result, the decoding result including at least one of the first Manchester sequence, the at least one second Manchester sequence, and the at least one third Manchester sequence; and according to the decoding As a result, the included bits are subjected to a restoration process to obtain the original Manchester sequence.
- the decoding result is a Manchester sequence including S bits, and S is a natural number greater than or equal to 2.
- the decoding module 15 When the decoding module 15 is used for performing the restoration processing on the decoding result, the decoding module 15 specifically includes:
- the decoding module 15 is configured to determine the original Manchester sequence according to the decoding result and the values of the last two bits of the original Manchester sequence.
- the receiving module 11 is specifically configured to receive, by using the first channel line, the modulated wave signal sent by the terminal;
- the receiving module 11 is further configured to receive, by using a second channel line, a carrier signal sent by the terminal, where the carrier signal is used to modulate the original code sequence to obtain the modulated wave signal;
- the demodulation module 15 is specifically configured to demodulate the modulated wave signal based on the carrier signal to obtain the to-be-decoded signal.
- the carrier signal is obtained by amplitude modulation of a sine wave of a first frequency and a sine wave of a second frequency, the frequency difference of the first frequency and the second frequency being greater than or equal to 20 kHz.
- the wearable communication device 10 is a wired headset.
- the wearable communication device 10 may correspond to an embodiment in accordance with the present invention.
- a wearable communication device in a method of transmitting a signal and each module in the wearable communication device 10 and the other operations and/or functions described above are respectively implemented in order to implement the corresponding flow of the method in FIG. Narration.
- the wearable communication device can determine the corresponding code sequence according to the one-to-one mapping relationship between the plurality of time interval feature values and the plurality of code sequences, and the acquired plurality of time interval feature values, thereby recovering the original data.
- the complicated digital circuit in the prior art is avoided to decode, so that the digital circuit structure is simplified, thereby reducing the cost.
- FIG. 10 is a schematic block diagram of a terminal device 20 according to an embodiment of the present invention.
- the terminal device 20 includes: an encoding module 21, configured to encode original data to obtain an original coding sequence;
- a modulation module 22 configured to modulate the original code sequence to obtain a modulated wave signal
- the sending module 23 is configured to send the modulated wave signal to the wearable communication device.
- the modulating module 22 is further configured to modulate a sine wave of the first frequency and a sine wave of the second frequency to obtain a carrier signal, where a frequency difference between the first frequency and the second frequency is greater than or equal to 20 kHz;
- the modulation module 22 is specifically configured to perform ASK modulation on the original code sequence based on the carrier signal to obtain the modulated wave signal.
- the sending module 23 is specifically configured to send the modulated wave signal to the wearable communication device by using a first channel line;
- the sending module 23 is further configured to send the carrier signal to the wearable communication device by using a second channel line, where the carrier signal is used by the wearable communication device to demodulate the received modulated wave signal to obtain a to-be-decoded signal.
- the wearable communication device is a wired headset.
- the terminal device 20 may correspond to a terminal device in a method of transmitting a signal according to an embodiment of the present invention, and each module in the terminal device 20 and the other operations and/or functions described above are respectively implemented to implement FIG. The corresponding process of the method in the following is not repeated here for the sake of brevity.
- the corresponding coding sequence can be determined, thereby recovering the original data.
- the complicated digital circuit in the prior art is avoided to decode, so that the digital circuit structure is simplified, thereby reducing the cost.
- FIG. 11 is another schematic block diagram of a wearable communication device 30 in accordance with an embodiment of the present invention.
- the wearable communication device 30 includes a receiver 31, a transmitter 32, a processor 33, a memory 34, and a bus system 35.
- the receiver 31, the transmitter 32, the processor 33, and the memory 34 are connected by a bus system 35 for storing instructions for executing instructions stored in the memory 34 to control the receiver 31 to receive.
- Signal and control transmitter 32 to send a signal.
- the receiver 31 is configured to receive a modulated wave signal sent by the terminal device, where the modulated wave signal is a signal obtained by the terminal device encoding and modulating the original data;
- the processor 33 is configured to demodulate the received modulated wave signal to obtain a signal to be decoded.
- the processor 33 is further configured to perform waveform shaping processing on the signal to be decoded to obtain a square wave signal, wherein a high level in the square wave signal is used to indicate a first preset value, and any two adjacent first presets The value has a time interval between the high levels corresponding to the square wave signal;
- the processor 33 is further configured to acquire a plurality of time interval feature values in the square wave signal
- the processor 33 is further configured to obtain a first mapping relationship, where the first mapping relationship is used to indicate a one-to-one mapping relationship between the plurality of time interval feature values and the plurality of coding sequences;
- the processor 33 is further configured to perform a first decoding process on the square wave signal according to the plurality of time interval feature values and the first mapping relationship to obtain an original code sequence, where the original code sequence is used by the terminal device Encoded;
- the processor 33 is further configured to perform a second decoding process on the original code sequence to obtain the original data.
- the processor in the embodiment of the present invention may be an integrated circuit chip with signal processing capability.
- each step of the foregoing method embodiment may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
- the above processor may be a CPU, the processor may be another general-purpose processor, a digital signal processor ("DSP"), an application specific integrated circuit (ASIC), and an off-the-shelf device.
- DSP digital signal processor
- ASIC application specific integrated circuit
- FPGA Field Programmable Gate Array
- the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
- the steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software in the decoding processor.
- the software can be located in random access memory, flash memory, read only memory, programmable read only memory or electrically erasable Program memory, registers, etc. are well-known storage media in the field.
- the storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method.
- the memory in embodiments of the invention may be a volatile memory or a non-volatile memory, or may include both volatile and nonvolatile memory.
- the non-volatile memory may be a read-only memory (Read-Only Memory (ROM), a programmable read only memory (PROM), or an erasable programmable read only memory (Erasable PROM). , referred to as "EPROM”), electrically erasable programmable read only memory (“EEPROM”) or flash memory.
- the volatile memory may be a Random Access Memory (“RAM”), which is used as an external cache.
- RAM Random Access Memory
- many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory.
- SDRAM Synchronous DRAM
- DDR SDRAM Double Data Rate SDRAM
- ESDRAM enhanced synchronous dynamic random access memory
- SLDRAM Synchronous DRAM
- DRAM Double Data Rate SDRAM
- ESDRAM enhanced SDRAM
- SLDRAM Synchronous DRAM
- DRAM Double Data Rate SDRAM
- ESDRAM enhanced SDRAM
- SLDRAM synchronously connected to the dynamic random access memory
- DRAM Synchronous DRAM
- DR RAM direct memory bus random access memory
- DR RAM Direct Rambus RAM
- bus system may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus.
- bus systems may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus.
- various buses are labeled as bus systems in the figure.
- each step of the above method may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
- the steps of the positioning method disclosed in the embodiments of the present invention may be directly implemented as hardware processor execution completion, or performed by hardware and software combination in the processor.
- the software can be located in a random storage medium, such as a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register, and the like.
- the storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.
- the processor 33 is configured to set a packet header signal to the modulated wave signal
- the processor 33 is further configured to acquire a period of the packet header signal, a pulse width of the modulated wave signal according to the packet header signal, and a rising edge or a lower edge of the square wave when the threshold value of the comparator output is greater than zero.
- the processor 33 is specifically configured to acquire the plurality of time interval feature values according to the period, the pulse width, and the edge deviation of the modulated wave signal.
- the plurality of time interval feature values include: a first feature value, a second feature value, and a third feature value, the plurality of code sequences including a first Manchester sequence, a second Manchester sequence, and a third Manchester sequence, each The code sequence is composed of a second preset value and the first preset value, and the square wave signal is used to represent the first preset value and the second preset value,
- the first mapping relationship specifically includes:
- the first feature value is corresponding to the first Manchester sequence, where the first Manchester sequence is specifically: the first bit is a value of the first preset value, and the second bit is a second preset value;
- the second feature value is corresponding to the second Manchester sequence, where the second Manchester sequence is specifically: the first bit is a value of the first preset value, and the second bit is a value of the second preset. a value, the third bit is taken as the second preset value;
- the third eigenvalue is corresponding to the third Manchester sequence, where the third sequel is specifically: the first bit is a value of the first preset value, and the second bit is a value of the second preset. value;
- time interval feature value is used to represent a time interval between any two adjacent high levels, the first bit being the first of two adjacent high levels corresponding to the time interval feature value a high level corresponding bit, the second bit being the first bit after the first bit, and the third bit being the first bit after the second bit.
- the processor 33 when the processor 33 performs the first decoding process on the square wave signal according to the multiple time interval feature values and the first mapping relationship, the processor 33 is specifically configured to use the multiple time interval feature values and Decoding the square wave signal to obtain a decoding result, the decoding result including at least one of the first Manchester sequence, the at least one second Manchester sequence, and the at least one third Manchester sequence; and according to the decoding As a result, the included bit is subjected to a restoration process to obtain the original Manchester sequence, and the original Manchester sequence is a sequence obtained by encoding the original data.
- the decoding result is a Manchester sequence including S bits, and S is a natural number greater than or equal to 2.
- the processor 33 When the processor 33 is used for performing the restoration processing on the decoding result, the processor 33 specifically includes:
- the processor 33 is configured to determine the original Manchester sequence according to the decoding result and the values of the last two bits of the original Manchester sequence.
- the receiver 31 is configured to receive, by using the first channel line, the modulated wave signal sent by the terminal;
- the receiver 31 is further configured to receive, by using a second channel line, a carrier signal sent by the terminal, where the carrier signal is used to modulate the original code sequence to obtain the modulated wave signal;
- the processor 33 is specifically configured to demodulate the modulated wave signal based on the carrier signal to obtain the signal to be decoded.
- the carrier signal is obtained by amplitude modulation of a sine wave of a first frequency and a sine wave of a second frequency, the frequency difference of the first frequency and the second frequency being greater than or equal to 20 kHz.
- the wearable communication device 30 is a wired headset.
- the wearable communication device 30 may correspond to a wearable communication device in a method of transmitting a signal according to an embodiment of the present invention, and each module in the wearable communication device 30 and the other operations described above and/or The functions are respectively implemented in order to implement the corresponding processes of the method in FIG. 1, and are not described herein for brevity.
- the wearable communication device can determine the corresponding code sequence according to the one-to-one mapping relationship between the plurality of time interval feature values and the plurality of code sequences, and the acquired plurality of time interval feature values, thereby recovering the original data.
- the complicated digital circuit in the prior art is avoided to decode, so that the digital circuit structure is simplified, thereby reducing the cost.
- FIG. 12 is a schematic block diagram of a terminal device 40 according to an embodiment of the present invention.
- the terminal device 40 includes a receiver 41, a transmitter 42, a processor 43, a memory 44, and a bus system 45.
- the receiver 41, the transmitter 42, the processor 43, and the memory 44 are connected by a bus system 45 for storing instructions for executing instructions stored in the memory 44 to control the receiver 41 to receive.
- Signal and control transmitter 42 to send a signal.
- the processor 43 is configured to modulate the original code sequence to obtain a modulated wave signal
- the transmitter 42 is configured to transmit the modulated wave signal to the wearable communication device.
- the processor 43 is further configured to: modulate a sine wave of the first frequency and a sine wave of the second frequency to obtain a carrier signal, where a frequency difference between the first frequency and the second frequency is greater than or equal to 20 kHz;
- the processor 43 is specifically configured to perform ASK modulation on the original code sequence based on the carrier signal to obtain the modulated wave signal.
- the transmitter 42 is specifically configured to send the modulated wave signal to the wearable communication device by using a first channel line;
- the transmitter 42 is further configured to send the carrier signal to the wearable communication device by using a second channel line, where the carrier signal is used by the wearable communication device to demodulate the received modulated wave signal to obtain a to-be-decoded signal.
- the wearable communication device is a wired headset.
- the terminal device 40 may correspond to a terminal device in a method of transmitting a signal according to an embodiment of the present invention, and each module in the terminal device 40 and the other operations and/or functions described above are respectively implemented to implement FIG. The corresponding process of the method in the following is not repeated here for the sake of brevity.
- the corresponding coding sequence can be determined, thereby recovering the original data.
- the complicated digital circuit in the prior art is avoided to decode, so that the digital circuit structure is simplified, thereby reducing the cost.
- the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
- the implementation process constitutes any limitation.
- the disclosed systems, devices, and The method can be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
- the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
- the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a disk, or an optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Power Engineering (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Theoretical Computer Science (AREA)
- Dc Digital Transmission (AREA)
- Near-Field Transmission Systems (AREA)
Abstract
本发明实施例公开了一种传输信号的方法、穿戴式通信设备和终端设备,能够通过解码算法实现信号解码,使得数字电路结构较为简单,进而降低成本。该方法包括:穿戴式通信设备接收终端设备发送的调制波信号;对接收到的调制波信号进行解调,得到待解码信号;对该待解码信号进行波形整形处理,得到方波信号,该方波信号中的高电平用于表示第一预设值,任意两个相邻的第一预设值在该方波信号中所对应的两个高电平之间具有时间间隔;获取该方波信号中的多个时间间隔特征值;获取该多个时间间隔特征值与多个编码序列的一一映射关系;根据该多个时间间隔特征值和该第一映射关系,对该方波信号进行第一解码处理和第二解码处理,得到该原始数据。
Description
本发明实施例涉及信息技术领域,并且更具体地,涉及一种传输信号的方法和装置。
随着物联网(Internet of Things,简称“IoT”)的兴起,传统的耳机领域也发生着改变,除了放音功能外,还逐渐加上心率检测、运动记步等信息交互的智能特性。
目前,已知一种有线耳机,能够通过主机端与耳机接口相对应的音频信号通路进行通信传输。其主要的通信过程如下:(1)终端将需要下发到耳机的数据进行编码和调制;(2)终端将已调信号进行数模转换;(3)终端通过与耳机接口相连的耳机线的左声道线或右声道线将数模转换后的调制信号传给耳机;(4)耳机对接收到的信号进行解调和解码。此过程中,一方面,信号的传输由一根声道线(例如,左声道线或者右声道线)来传输,需要在接收端通过载波恢复模块将载波恢复出来,以进行信号解调。传统的载波恢复通常是采用锁相环等电路进行;另一方面,信号的解码也需要通过数字电路来完成。因此,用于解调和解码的数字电路结构较为复杂,成本也相对较高。
发明内容
本发明实施例提供了一种传输信号的方法和装置,以通过解码算法实现信号解码,从而使得数字电路结构较为简单,进而降低成本。
第一方面,提供了一种传输信号的方法,所述方法包括:
穿戴式通信设备接收终端设备发送的调制波信号,所述调制波信号是由所述终端设备对原始数据进行编码和调制之后得到的信号;
对接收到的调制波信号进行解调,得到待解码信号;
对所述待解码信号进行波形整形处理,得到方波信号,所述方波信号中的高电平用于表示第一预设值,任意两个相邻的第一预设值在所述方波信号中所对应的两个高电平之间具有时间间隔;
获取所述方波信号中的多个时间间隔特征值;
获取第一映射关系,所述第一映射关系用于指示所述多个时间间隔特征值与多个编码序列的一一映射关系;
根据所述多个时间间隔特征值和所述第一映射关系,对所述方波信号进行第一解码处理,得到原始编码序列,所述原始编码序列由所述终端设备对所述原始数据进行编码得到;
对所述原始编码序列进行第二解码处理,得到所述原始数据。
因此,根据多个时间间隔特征值和多个编码序列的一一映射关系,以及获取到的多个时间间隔特征值,可以确定所对应的编码序列,从而恢复出原始数据。避免了现有技术中复杂的数字电路去进行解码,使得数字电路结构简单化,进而降低成本。
结合第一方面,在第一方面的第一种可能的实现方式中,所述获取所述方波信号中的多个时间间隔特征值,包括:
对所述调制波信号设置包头信号;
根据所述包头信号,获取所述包头信号的周期、所述调制波信号的脉冲宽度,以及在比较器输出的阈值大于零时所述方波信号中每个方波的上升沿或下降沿与所述调制波信号的脉冲起始点之间的边沿偏差,其中,所述比较器用于对所述调制波信号进行所述波形整形处理;
根据所述调制波信号的周期、脉冲宽度以及所述边沿偏差,获取所述多个时间间隔特征值。
结合第一方面及其上述可能的实现方式,在第一方面的第二种可能的实现方式中,所述多个时间间隔特征值包括:第一特征值、第二特征值和第三特征值,所述多个编码序列包括第一曼彻斯特序列、第二曼彻斯特序列和第三曼彻斯特序列,每个编码序列由第二预设值和所述第一预设值构成,所述方波信号用于表示所述第一预设值和所述第二预设值,
所述第一映射关系具体包括:
所述第一特征值与第一曼彻斯特序列对应,所述第一曼彻斯特序列具体为:在第一比特位取值为所述第一预设值,在第二比特位取值为所述第二预设值;
所述第二特征值与第二曼彻斯特序列对应,所述第二曼彻斯特序列具体为:在所述第一比特位取值为所述第一预设值,在所述第二比特位取值为所
述第二预设值,在所述第三比特位取值为所述第二预设值;
所述第三特征值与第三曼彻斯特序列对应,所述第三曼彻斯特序列具体为:在所述第一比特位取值为所述第一预设值,在所述第二比特位取值为所述第二预设值;
其中,所述时间间隔特征值用于表征任意两个相邻的高电平之间的时间间隔,所述第一比特位为与所述时间间隔特征值对应的两个相邻高电平中的第一个高电平对应的比特位,所述第二比特位为所述第一比特位之后的第一个比特位,所述第三比特位为所述第二比特位之后的第一个比特位。
结合第一方面及其上述可能的实现方式,在第一方面的第三种可能的实现方式中,所述原始编码序列为对所述原始数据进行曼彻斯特编码得到的原始曼彻斯特序列,以及,所述根据所述多个时间间隔特征值和所述第一映射关系,对所述方波信号进行第一解码处理,得到原始编码序列,包括:
根据所述多个时间间隔特征值与所述第一映射关系,对所述方波信号进行解码,得到解码结果,所述解码结果包括至少一个所述第一曼彻斯特序列、至少一个所述第二曼彻斯特序列和至少一个所述第三曼彻斯特序列;
根据所述解码结果所包括的比特位,对所述解码结果进行还原处理,得到所述原始曼彻斯特序列。
结合第一方面及其上述可能的实现方式,在第一方面的第四种可能的实现方式中,所述解码结果为包括S个比特位的曼彻斯特序列,S为大于或等于2的自然数,以及
根据所述解码结果所包括的比特位,对所述解码结果进行还原处理,得到所述原始曼彻斯特序列,包括:
在mod(S,2)=0时,根据所述原始曼彻斯特序列的最后两个比特位在所述方波信号中所对应的波形,确定所述原始数据的最后两个比特位的取值;或者,
在mod(S,2)=1时,根据所述原始曼彻斯特序列的倒数第二个个比特位在所述方波信号中所对应的波形,确定所述原始数据的最后两个比特位的取值;
根据所述解码结果和所述原始曼彻斯特序列的末两个比特位的取值,确定所述原始曼彻斯特序列。
结合第一方面及其上述可能的实现方式,在第一方面的第五种可能的实
现方式中,所述穿戴式通信设备接收终端设备发送的调制波信号,包括:
所述穿戴式通信设备通过第一声道线接收所述终端发送的所述调制波信号;
所述对接收到的调制波信号进行解调,得到待解码信号,包括:
通过第二声道线接收所述终端发送的载波信号,所述载波信号用于对所述原始编码序列进行调制,以得到所述调制波信号;
基于所述载波信号,对所述调制波信号进行解调,得到所述待解码信号。
结合第一方面及其上述可能的实现方式,在第一方面的第六种可能的实现方式中,所述载波信号由第一频率的正弦波和第二频率的正弦波调幅得到,所述第一频率与第二频率的频率差值大于或等于20kHz。
因此,通过将载波信号与调制波信号一同发送到接收端设备(例如,穿戴式通信设备),使得接收端设备可以直接根据接收到的载波信号对调制波信号进行解调,省去了复杂的载波恢复模块,进一步简化了数字电路,减少了成本。
第二方面,提供了一种传输信号的方法,所述方法包括:
终端设备对原始数据进行编码得到原始编码序列;
对所述原始编码序列进行调制得到调制波信号;
向穿戴式通信设备发送所述调制波信号。
结合第二方面,在第二方面的第一种可能的实现方式中,所述对所述原始编码序列进行调制得到调制波信号,包括:
对第一频率的正弦波和第二频率的正弦波进行调幅得到载波信号,所述第一频率与第二频率的频率差值大于或等于20kHz;
基于所述载波信号,对所述原始编码序列进行ASK调制得到所述调制波信号。
因此,通过对两个不同频率(具体地,频率之差大于或等于20kHz)的正弦波进行调幅得到载波信号,可以避免在下行通信过程形成的杂音。
结合第二方面及其上述可能的实现方式,在第二方面的第二种可能的实现方式中,所述向穿戴式通信设备发送所述调制波信号,包括:
通过第一声道线向所述穿戴式通信设备发送所述调制波信号;
所述方法还包括:
通过第二声道线向所述穿戴式通信设备发送所述载波信号,所述载波信
号用于所述穿戴式通信设备对接收到的所述调制波信号进行解调,以获得待解码信号。
因此,通过将载波信号与调制波信号一同发送到接收端设备(例如,穿戴式通信设备),使得接收端设备可以直接根据接收到的载波信号对调制波信号进行解调,省去了复杂的载波恢复模块,进一步简化了数字电路,减少了成本。
第三方面,提供了一种穿戴式通信设备,可以执行上述第一方面或第一方面的任意可选的实现方式中的穿戴式通信设备执行的操作。具体地,该穿戴式通信设备可以包括用于执行上述第一方面或第一方面的任意可能的实现方式中的穿戴式通信设备执行的操作的模块单元。
第四方面,提供了一种终端设备,可以执行上述第二方面或第二方面的任意可选的实现方式中的终端设备执行的操作。具体地,该终端设备可以包括用于执行上述第二方面或第二方面的任意可能的实现方式中的终端设备执行的操作的模块单元。
第五方面,提供了一种穿戴式通信设备,包括:接收器、发送器、处理器、存储器和总线系统,其中,接收器、发送器、存储器和处理器通过总线系统相连,存储器用于存储指令,该处理器用于执行该存储器存储的指令,以控制接收器接收信号,发送器发送信号,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第一方面或第一方面的任意可能的实现方式中的方法。
第六方面,提供了一种终端设备,包括:接收器、发送器、处理器、存储器和总线系统,其中,接收器、发送器、存储器和处理器通过总线系统相连,存储器用于存储指令,该处理器用于执行该存储器存储的指令,以控制接收器接收信号,发送器发送信号,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第二方面或第二方面的任意可能的实现方式中的方法。
第七方面,提供了一种计算机存储介质,该计算机存储介质中存储有程序代码,该程序代码用于指示执行上述第一方面或第一方面的任意可选的实现方式界面生成装置执行的操作。
第八方面,提供了一种计算机存储介质,该计算机存储介质中存储有程序代码,该程序代码用于指示执行上述第二方面或第二方面的任意可选的实
现方式界面生成装置执行的操作。
在上述某些实现方式中,所述穿戴式通信设备为有线耳机。
因此,本发明实施例提供了一种传输信号的方法和装置,以通过解码算法实现信号解码,从而使得数字电路结构较为简单,进而降低成本。
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是从设备交互的角度示出的根据本发明实施例的一种传输信号的方法的示意性流程图。
图2是原始数据,以及对原始数据进行曼彻斯特编码后得到的原始曼彻斯特序列的示意图。
图3是对第一载波和第二载波进行调制得到目标载波的示意图。
图4是通过目标载波对原始曼彻斯特序列进行ASK调制得到的调制波的示意图。
图5是通过对调制波信号进行解调的示意图。
图6是包头信号为十六进制数0xff的调制波形图和方波图。
图7是多个时间间隔特征值与多个曼彻斯特序列的一一映射关系的示意图。
图8是由原始曼彻斯特序列解码得到原始数据的示意图。
图9是根据本发明实施例的穿戴式通信设备的示意性框图。
图10是根据本发明实施例的终端设备的示意性框图。
图11是根据本发明实施例的穿戴式通信设备的另一示意性框图。
图12是根据本发明实施例的终端设备的另一示意性框图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创
造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。
应理解,本发明实施例所涉及的穿戴式通信设备可以为手环、耳机等可以通过有线通信或者无线通信方式与终端设备进行通信的可穿戴设备。该可穿戴设备可以用于实现心率检测、运动记步等功能。
以下,不失一般性,以终端设备向耳机传输信号为例,详细说明根据本发明实施例的传输信号的方法的具体过程。
应理解,本发明实施例涉及的耳机,包括听筒(也可称之为耳塞或耳罩),听筒中包括扬声器。耳机通过耳机线与终端连接,例如,耳机线包括四段式引脚(或者说,四段式耳机接头),该四段式引脚可以插入终端的四段式音频接口。
本发明实施例涉及的终端设备可以是各种音源设备,且该终端设备包括四段式音频接口,与耳机的四段式引脚连接后,可以为耳机提供电源,驱动耳机的扬声器(也可称之为喇叭)和麦克风,该四段式音频接口例如为有源3.5mm插孔。具体地,该终端设备可以是便携式或台式电子设备,例如可以是手机、平板电脑、音乐播放器或录音机等各种手持终端,而不仅限于通信终端。
还应理解,本发明所示出的终端设备与耳机之间传输信号的方法仅为示例性说明,而不应对本发明构成任何限定。本发明实施例同样适用于除耳机之外的其他可穿戴通信设备。
图1是从设备交互的角度示出的根据本发明实施例的传输信号的方法100的示意性流程图。应理解,图1示出了一种传输信号的方法的详细的通信步骤或操作,但这些步骤或操作仅是示例,本发明实施例还可以执行其它操作或者图1中的各种操作的变形。此外,图1中的各个步骤可以按照与图1呈现的不同的顺序来执行,并且有可能并非要执行图1中的全部操作。
下面详细说明方法100的详细步骤。
如图1所示,该方法100包括:
S102,终端设备对原始数据进行编码得到原始编码序列。
具体而言,该原始数据可以为由二进制数“1”和“0”构成的序列。通过对该原始数据进行编码可以得到编码序列。作为示例而非限定,该编码可以为曼彻斯特编码,该编码序列可以为曼彻斯特序列。为便于区分和说明,将对该原始数据编码得到的序列称为原始曼彻斯特序列。以下,为便于理解
和说明,以曼彻斯特编码后得到的曼彻斯特序列为例,说明本发明实施例的传输信号的方法的具体过程。
具体地,曼彻斯特编码可以将二进制数“1”用“10”表示,将“0”用“01”表示。图2示出了原始数据,以及对原始数据进行曼彻斯特编码后得到的原始曼彻斯特序列的示意图。其中,图2a是通过方形波来表示原始数据“10101”的示意图。图2b是对原始数据进行曼彻斯特编码得到的曼彻斯特序列“1001100110”的方形波的示意图。
S104,终端生成载波信号。
具体而言,载波信号用于对原始曼彻斯特序列进行调制处理。作为示例而非限定,该调制方法可以为幅移键控(Amplitude Shift Keying,简称“ASK”)调制处理。应理解,ASK调制作为调制的一种方法,仅用于作为示例性说明,而不应对本发明构成任何限定,本发明也不应限于此。例如,该调制方法还可以包括相移键控(Phase Shift Keying,简称“FSK”)调制、频移键控(Frequency Shift Keying,简称“PSK”)等等。以下,为方便理解和说明,以ASK调制为例,说明本发明实施例的传输信号的方法的具体过程。
需要说明的是,这里所说的载波信号可以理解为用于承载待传输数据或者待传输信息的信号,载波信号本身并不承载信号。载波信号用于对上述原始曼彻斯特序列进行调制处理,可以得到调制波信号。
示例性地,该载波信号可以为单频点的正弦波。
可选地,该载波信号可以由不同频点的两个正弦波调制得到。具体地,该载波(为便于区分和说明,记作目标载波)信号可以为第一频率的正弦波(为便于区分和说明,记作第一载波)和第二频率的正弦波(为便于区分和说明,记作第二载波)调制得到。为保证通信频率落在20kHz以内的频段,该第一频率与第二频率的频率差值大于或等于20kHz。例如,第一频率为21kHz,第二频率为1kHz;或者,第一频率为30kHz。第二频率为10kHz。
具体来说,假设第一载波为yc1,第二载波为yc2,调幅形成的目标载波为yc。则:
yc1=sin(2π*fc1*t);
yc2=sin(2π*fc2*t);
yc=yc1*yc2。
其中,fc1为yc1的频率(即,第一频率),fc2为yc2的频率(即,第二频
率),且,∣fc1-fc2∣≥20kHz。则yc的包络频率为2fc2,通信速率为fc2。
图3是对第一载波和第二载波进行调制得到目标载波的示意图。其中,图3a是第一频率(例如,fc1=21kHz)的正弦波的示意图,图3b是第二频率(例如,fc2=1kHz)的正弦波的示意图,图3c是对第一频率的正弦波和第二频率的正弦波进行调制后得到的目标载波的示意图。
应理解,这里所列举的第一频率与第二频率的取值仅为示例性说明,不应对本发明构成任何限定,只要第一频率与第二频率的频率差值满足大于或等于20kHz,均落入本发明的保护范围内。
还应理解,这里所列举的用于调制载波信号的第一载波和第二载波仅为示例性说明,不应对本发明构成任何限定,本发明对于用于调制调幅波的信号类型和数量并未特别限定。
S106,终端基于载波信号,对原始曼彻斯特序列进行ASK调制获得调制波信号。
具体而言,终端基于在S104调制得到的载波信号,对S102得到的原始曼彻斯特序列进行ASK调制。应理解,ASK调制的方法与现有技术相同,为了简洁,这里省略对原始曼彻斯特序列进行ASK调制的详细说明。
图4示出了通过目标载波对原始曼彻斯特序列进行ASK调制得到的调制波的示意图。其中,图4a是目标载波的示意图;图4b是原始曼彻斯特序列的示意图。图4c是通过目标载波对原始曼彻斯特序列进行ASK调制后得到的调制波的示意图。可以看到,ASK调制后的信号波呈现出类似正弦波的不连续波形。
S108,终端向耳机发送调制波信号。
具体而言,终端可以通过音频编解码单元(Audio Codec Unit)对调制波信号进行数模转换,并经过音频放大单元(Audio Amplifier Unit)的放大处理后,将处理后的调制波信号发送给耳机。具体地,可以通过连接于终端与耳机之间的耳机线传输调制波信号。
应理解,耳机线的一端包括四段式引脚,该四段式引脚包括左声道L引脚、右声道R引脚、接地G引脚与麦克风M引脚。耳机通过耳机线的四段式引脚与终端连接,具体地,该四段式引脚用于与终端的四段式音频接口连接,终端分别通过左声道L引脚、右声道R引脚和麦克风M引脚驱动耳机的左右喇叭和麦克风。其中,与左声道L引脚连接的耳机线为左声道L线,
与右声道R引脚连接的耳机线为右声道R线,与麦克风M引脚连接的耳机线为麦克风M线,与接地G引脚连接的耳机线为地线。
在本发明实施例中,耳机可以通过左声道L线或者右声道R线(即,第一声道线的一例)从终端接收调制波信号。
可选地,S108终端向耳机发送调制波信号:
终端通过第一声道线向耳机发送该调制波信号;
该方法100还包括:
终端通过第二声道线向耳机发送载波信号,该载波信号用于耳机对接收到的调制波信号进行解调,以获得待解码信号。
具体而言,终端可以通过左声道L线和右声道R线中的任意一根声道线(即,第一声道线的一例)发送调制波信号,并通过另一根声道线(即,第二声道线的一例)发送载波(例如,上述目标载波)信号。具体地说,第一声道线可以为左声道L线,第二声道线可以为右声道R线;或者,第一声道线可以为右声道R线,第二声道线可以为左声道L线。本发明对此并未特别限定。
需要说明的是,在当前技术中,接收端(例如,耳机)可以通过数字电路对接收到的调制波信号进行解调,这需要复杂的载波恢复模块来获取载波。进一步地,作为一个可选的实施例,目标载波信号可以由两个载波调制得到,即,目标载波不同于单频点载波,其对应的载波恢复模块更加复杂,因此,也就需要更加复杂的数字电路才能实现对调制波信号的解调。
在本发明实施例中,终端(即,发送端的一例)通过第二声道线将载波信号直接发送到耳机(即,接收端的一例),使得耳机可以直接根据接收到的载波信号进行解调处理,省去了复杂的载波恢复模块,从而降低数字电路的复杂度。
以下详细说明对调制波信号进行解调和解码(或者说,译码)的具体过程。
S110,耳机对接收到的调制波信号进行解调,得到待解码信号。
具体而言,耳机在接收到终端分别通过第一声道线发送的调制波信号和通过第二声道线发送的载波信号后,可以直接由模数转换器(Analog to Digital Converter,简称“ADC”)采集信号(包括调制波信号和载波信号)。例如,由左声道线传输调制波信号ym,由右声道线传输载波信号yc,则对调
制波信号进行解调的过程可以如下式所示:
ydm1=ym*yc,
其中,ydm1是解调后的信号,也即是待解码信号。
可选地,可以通过低通滤波器(Low Pass Filter,简称“LPF”)对高频信号进行滤除以得到待解码信号。
图5示出了通过对调制波信号进行解调的示意图。其中,图5a是调制波信号ym的示意图;图5b是解调信号yc的示意图;图5c是解调信号ydm1的示意图;图5d是经低通滤波后的信号ydm2的示意图。可以看到,经低通滤波后的信号ydm2滤除了频带以外的信号和多余的频段、频率的干扰。
S112,耳机对待解码信号进行波形整形处理,得到方波信号。
具体而言,耳机可以通过波形整形算法,对待解码信号进行波形整形处理。例如,可以通过比较器输出阈值,根据比较器输出的阈值,对波形进行整形处理,得到方波信号。
在本发明实施例中,耳机在得到方波信号之后,便可以根据多个时间间隔特征值与多个编码序列(例如,曼彻斯特序列)的映射关系,对该方波信号进行解码处理,得到原始数据。
可选地,根据多个时间间隔特征值与多个编码序列的映射关系,对该方波信号进行解码处理,得到原始数据,包括:
根据该多个时间间隔特征值与该第一映射关系,对该方波信号进行解码,得到解码结果,该解码结果包括至少一个该第一曼彻斯特序列、至少一个该第二曼彻斯特序列和至少一个该第三曼彻斯特序列;
根据该解码结果所包括的比特位,对该解码结果进行还原处理,得到原始曼彻斯特序列,该原始曼彻斯特序列是对该原始数据进行编码得到的序列;
对该原始曼彻斯特序列进行第二解码处理,得到该原始数据。
以下具体描述解码处理的过程。
S114,耳机获取方波信号中的多个时间间隔特征值。
具体而言,方波信号可以理解为由多个高电平和多个低电平组成的波形。在方波信号中,可以用高电平表示第一预设值。时间间隔可以理解为任意两个相邻的第一预设值所对应的高电平之间的间隔,或者说,时间间隔可以理解为低电平的时长。换句话说,任意两个相邻的第一预设值所对应的高
电平之间具有时间间隔。
可选地,S114耳机获取方波信号中的多个时间间隔特征值,包括:
对该调制波信号设置包头信号;
根据该包头信号,获取该包头信号的周期、该调制波信号的脉冲宽度,以及在比较器输出的阈值大于零时该方波信号中每个方波的上升沿或下降沿与该调制波信号的脉冲起始点之间的边沿偏差,其中,该比较器用于对该调制波信号进行该波形整形处理;
根据该调制波信号的周期、脉冲宽度以及该边沿偏差,获取该多个时间间隔特征值。
具体而言,由于耳机在接收到终端发送过来的调制波信号时,并不预先获知该调制波信号所对应的原始数据,故,无法根据确定调制波信号的波形中的时间间隔特征值分别对应于哪个时间价格特征值。本发明实施例可以通过为调制波信号设置包头信号的方式,获取时间间隔特征值所包括的三个特征值,即,上述t1、t2和t3。
举例来说,假设包头信号为十六进制数0xff,其被终端编码和调制后的调制波形图可如图6所示,对该包头信号的调制波进行波形整形处理后得到的方波图也可如图6所示。
图6示出了包头信号为十六进制数0xff的调制波形图和方波图。可以理解,十六进制数0xff可以对应于二进制数1111 1111,其对应的曼彻斯特序列序列为1010 1010 1010 1010。故可以由图6中所示的根据比较器输出的阈值,对调制波进行波形整形处理的过程,可以得到包头信号的周期Ts、脉冲宽度Tw以及在比较器输出的阈值大于零时所述方波与所述调制波信号的脉冲起始点之间的边沿偏差Tu。通过获取包头数据的上升沿和下降沿时刻,分别保存为数组rise[N]和数组fall[N],其中N为包头信号中脉冲的个数。则有:
由上文描述可知,时间间隔特征值可以通过t(i)=rise(i)-fall(i-1)来计算。由此,可以得出上述三个特征值。具体如下:
t1=Ts-Tw
t2=Ts+2*Tu
t3=2*Tu
由此可以计算得到三个特征值。
应理解,以上列举的用于获取时间间隔特征值所包括的三个特征值的具体方法,Ts、Tw以及Tu的计算式以及t1、t2和t3的计算式仅为示例性说明,不应对本发明构成任何限定。当包头信号不同时,Ts、Tw以及Tu的计算式不同,t1、t2和t3的计算式也不同,但t1、t2和t3的取值不变。通过其他的包头数据,获取t1、t2和t3的取值的方法均落入本发明的保护范围内。
由上文描述可知,方波信号是根据比较器输出的阈值对波形进行整形处理得到的,因此,每个高电平的时间长度可以是小于或者等于1/2Ts的。也就是说,任意两个连续的第一预设值所对应的两个高电平之间具有时间间隔,该时间间隔即为2Tu,即,t3。
S116,耳机获取第一映射关系。
具体而言,该第一映射关系用于指示多个时间间隔特征值与多个编码序列(例如,曼彻斯特序列)的一一映射关系。
可选地,该多个时间间隔特征值包括:第一特征值、第二特征值和第三特征值,该多个编码序列包括第一曼彻斯特序列、第二曼彻斯特序列和第三曼彻斯特序列,每个编码序列由第二预设值和所述第一预设值构成,该方波信号用于表示该第一预设值和该第二预设值,
该第一映射关系具体包括:
该第一特征值与第一曼彻斯特序列对应,该第一曼彻斯特序列具体为:在第一比特位取值为该第一预设值,在第二比特位取值为该第二预设值;
该第二特征值与第二曼彻斯特序列对应,该第二曼彻斯特序列具体为:在该第一比特位取值为该第一预设值,在该第二比特位取值为该第二预设值,在该第三比特位取值为该第二预设值;
该第三特征值与第三曼彻斯特序列对应,该第三曼彻斯特序列具体为:在该第一比特位取值为该第一预设值,在该第二比特位取值为该第二预设值;
其中,该时间间隔特征值用于表征任意两个相邻的高电平之间的时间间隔,该第一比特位为与该时间间隔特征值对应的两个相邻高电平中的第一个
高电平对应的比特位,该第二比特位为该第一比特位之后的第一个比特位,该第三比特位为该第二比特位之后的第一个比特位。
在本发明实施例中,由于终端设备发送的调制波信号是经过曼彻斯特编码的,即,第一预设值可以为“1”,第二预设值可以为“0”。
曼彻斯特编码得到的序列所对应的方形波具有以下三种类型:
1)当曼彻斯特序列为“1010”或者“0101”(或者说,曼彻斯特序列为“101”)时,即,分别对应于原始数据“11”或“00”,对应的方形波之间具有时间间隔特征的第一特征值t1。即,第一特征值与第一曼彻斯特序列对应,该第一曼彻斯特序列为“10”;
2)当曼彻斯特序列为“1001”时,即,分别对应于原始序列“10”,对应的方形波之间具有时间间隔特征的第二特征值t2。即,第二特征值与第二曼彻斯特序列对应,该第二曼彻斯特序列为“100”;
3)当曼彻斯特序列为“0110”(或者说,曼彻斯特序列为“11”)时,即,分别对应于原始序列“01”,对应的方形波之间具有时间间隔特征的第三特征值t3;即,第三特征值与第三曼彻斯特序列对应,该第三曼彻斯特序列为“11”。
图7示出了多个时间间隔特征值与多个曼彻斯特序列的一一映射关系的示意图。由图可以看到,时间间隔可以表示为两个相邻方形波中第二个方形波出现上升沿的时刻与第一个方形波出现下降沿的时刻的时间差,或者,也可以理解为低电平的时间长度。其中,第一比特位可以对应于该两个相邻方形波(具体地,高电平)中第一个方形波(具体地,高电平)所对应的比特位。
S118,耳机根据第一映射关系,对方波信号进行解码,得到解码结果。
由S116可知,时间间隔特征的三个特征值分别对应于曼彻斯特序列的三种取值情况。因此,耳机可以根据解调出的待解码信号,进行解码,以得到解码结果。
再参看图7,当时间间隔特征值为第一特征值t1时,在该时间间隔特征值对应的两个相邻方波中的第一个方波对应的比特位(即,第一比特位)的取值为“1”,在该第一比特位之后的比特位(即,第二比特位)的取值为“0”;当时间间隔特征值为第二特征值t2时,在第一比特位取值为“1”,在第二比特位取值为“0”,在该第二比特位之后的比特位(即,第三比特位)的取值
为“0”;在该时间间隔特征值为第三特征值t3时,在第一比特位取值为“1”,此时,可以继续为第二比特位取值为“1”,也可以根据下一个时间间隔的特征值,为该第二比特位(可以理解,对应于下一个时间间隔而言,该第二比特位为下一个时间间隔的第一比特位)取值。
需要说明的是,图7示出的波形图的最后一个脉冲之后的波形是不可知的,可能是高电平,也可能低电平。也就是说,在方波信号的最后一个高电平之后,无法确定时间间隔特征值。因此,该最后一个高电平所对应的比特位以及后续的比特位无法确定其对应的曼彻斯特码的取值。
S120,对该解码结果进行还原处理,得到原始编码序列。
由于曼彻斯特序列是对二进制序列进行曼彻斯特编码得到的,即,二进制数“1”对应曼彻斯特序列“10”,二进制数“0”对应曼彻斯特序列“01”,故一个完整的曼彻斯特序列所包含的比特位为2的整数倍。
因此,可以根据在S118中经解码处理得到的解码结果的比特位数来确定最后一个比特位的取值。
可选地,该解码结果为包括S个比特位的曼彻斯特序列,S为大于或等于2的自然数,以及
根据该解码结果所包括的比特位,对该解码结果进行还原处理,得到原始曼彻斯特序列,包括:
在mod(S,2)=0时,根据所述原始曼彻斯特序列的最后两个比特位在所述方波信号中所对应的波形,确定所述原始数据的最后两个比特位的取值;或者,
在mod(S,2)=1时,根据所述原始曼彻斯特序列的倒数第二个个比特位在所述方波信号中所对应的波形,确定所述原始数据的最后两个比特位的取值;
根据所述解码结果和所述原始曼彻斯特序列的末两个比特位的取值,确定所述原始曼彻斯特序列。
具体而言,假设该解码结果为包括S个比特位的曼彻斯特序列,当mod(S,2)的值为0时,说明该解码结果与原始曼彻斯特序列之间刚好差了两个比特,即可以对应于如图7所示的最后一个脉冲所对应的两个比特。在图7中,该最后两个比特位的取值为“10”,从而可以得到完整的曼彻斯特序列(即,原始曼彻斯特序列)。当mod(S,2)的值为1时,说明该解码结果
与原始曼彻斯特序列之间刚好差了一个比特。此情况下,根据方波信号所对应的最后一个比特位,补入未体现在方波信号中的比特位的取值。若该解码结果的最后一个比特位为“0”,则再加一个比特位,该比特为取值为“1”,构成“01”;若该解码结果的最后一个比特位为“1”,则再加一个比特位,该比特位的取值为“0”,构成“10”。
在本发明实施例中,S108的解码和S120中的还原处理可以合称为第一解码处理,用于对待解码信号进行处理,以得到原始编码序列。
S122,耳机对原始编码序列进行第二解码处理,得到原始数据。
具体而言,耳机根据曼彻斯特编码的原理,将原始曼彻斯特序列中的“10”解码为“1”,将原始曼彻斯特序列中的“01”解码为“0”,从而恢复出原始数据。
图8示出了由原始曼彻斯特序列解码得到原始数据的过程。其中,图8a示出了原始曼彻斯特序列的示意图;图8b示出了原始数据的示意图。
应理解,以上所列举的曼彻斯特序列作为编码序列的一种形式,仅为示例性说明,不应对本发明构成任何限定,本发明也不应限于此。例如,编码序列也可以为通过其他编码方式进行编码得到的序列。
还应理解,以上所列举的第一预设值为“1”,第二预设值为:“0”,以及第一预设值与高电平的对应关系仅为示例性说明,不应对本发明构成任何限定,例如,该第一预设值也可以为“0”,且可以进一步对应于方波信号中的高电平,该第二预设值也可以为“1”。本发明对此并未特别限定。
因此,本发明实施例的传输信号的方法,根据多个时间间隔特征值和多个编码序列的一一映射关系,以及获取到的多个时间间隔特征值,可以确定所对应的编码序列,从而恢复出原始数据。避免了现有技术中复杂的数字电路去进行解码,使得数字电路结构简单化,进而降低成本。
以上,结合图1至图8详细说明了根据本发明实施例的传输信号的方法。以下,结合图9和图12详细说明根据本发明实施例的传输信号的装置。
图9是根据本发明实施例的穿戴式通信设备10的示意性框图。如图9所示,该穿戴式通信设备10包括:
接收模块11,用于接收终端设备发送的调制波信号,该调制波信号是由该终端设备对原始数据进行编码和调制之后得到的信号;
解调模块12,用于对接收到的调制波信号进行解调,得到待解码信号;
整形模块13,用于对该待解码信号进行波形整形处理,得到方波信号,该方波信号中的高电平用于表示第一预设值,任意两个相邻的第一预设值在该方波信号中所对应的高电平之间具有时间间隔;
获取模块14,用于获取该方波信号中的多个时间间隔特征值;
该获取模块14还用于获取第一映射关系,该第一映射关系用于指示该多个时间间隔特征值与多个编码序列的一一映射关系;
解码模块15,用于根据该多个时间间隔特征值和该第一映射关系,对该方波信号进行第一解码处理,得到原始编码序列,该原始编码序列由终端设备对该原始数据进行编码得到;
该解码模块15还用于对该原始编码序列进行第二编码处理,得到该原始数据。
可选地,该穿戴式通信设备10还包括:
处理模块,用于对该调制波信号设置包头信号;
该获取模块14还用于,根据该包头信号,获取该包头信号的周期、该调制波信号的脉冲宽度,以及在比较器输出的阈值大于零时该方波的上升沿或下降沿与该调制波信号的脉冲起始点之间的边沿偏差,其中,该比较器用于对该调制波信号进行该波形整形处理;
该获取模块14具体用于根据该调制波信号的周期、脉冲宽度以及该边沿偏差,获取该多个时间间隔特征值。
可选地,该多个时间间隔特征值包括:第一特征值、第二特征值和第三特征值,该多个编码序列包括第一曼彻斯特序列、第二曼彻斯特序列和第三曼彻斯特序列,每个编码序列由第二预设值和所述第一预设值构成,该方波信号用于表示该第一预设值和该第二预设值,
该第一映射关系具体包括:
该第一特征值与第一曼彻斯特序列对应,该第一曼彻斯特序列具体为:在第一比特位取值为该第一预设值,在第二比特位取值为该第二预设值;
该第二特征值与第二曼彻斯特序列对应,该第二曼彻斯特序列具体为:在该第一比特位取值为该第一预设值,在该第二比特位取值为该第二预设值,在该第三比特位取值为该第二预设值;
该第三特征值与第三曼彻斯特序列对应,该第三曼彻斯特序列具体为:在该第一比特位取值为该第一预设值,在该第二比特位取值为该第二预设
值;
其中,该时间间隔特征值用于表征任意两个相邻的高电平之间的时间间隔,该第一比特位为与该时间间隔特征值对应的两个相邻高电平中的第一个高电平对应的比特位,该第二比特位为该第一比特位之后的第一个比特位,该第三比特位为该第二比特位之后的第一个比特位。
可选地,该解码模块15在用于根据该多个时间间隔特征值和该第一映射关系,对该方波信号进行第一解码处理时,具体用于根据该多个时间间隔特征值与该第一映射关系,对该方波信号进行解码,得到解码结果,该解码结果包括至少一个该第一曼彻斯特序列、至少一个该第二曼彻斯特序列和至少一个该第三曼彻斯特序列;并根据该解码结果所包括的比特位,对该解码结果进行还原处理,得到该原始曼彻斯特序列。可选地,该解码结果为包括S个比特位的曼彻斯特序列,S为大于或等于2的自然数,
该解码模块15在用于对该解码结果进行还原处理时,具体包括:
该解码模块15用于在mod(S,2)=0时,根据该原始曼彻斯特序列的最后两个比特位在该方波信号中所对应的波形,确定该原始数据的最后两个比特位的取值;或者,
在mod(S,2)=1时,根据该原始曼彻斯特序列的倒数第二个个比特位在该方波信号中所对应的波形,确定该原始数据的最后两个比特位的取值;
该解码模块15用于根据该解码结果和该原始曼彻斯特序列的末两个比特位的取值,确定该原始曼彻斯特序列。
可选地,该接收模块11具体用于通过第一声道线接收该终端发送的该调制波信号;
该接收模块11还用于通过第二声道线接收该终端发送的载波信号,该载波信号用于对该原始编码序列进行调制,以得到该调制波信号;
该解调模块15具体用于基于该载波信号,对该调制波信号进行解调,得到该待解码信号。
可选地,载波信号由第一频率的正弦波和第二频率的正弦波调幅得到,该第一频率与第二频率的频率差值大于或等于20kHz。
可选地,该穿戴式通信设备10为有线耳机。
根据本发明实施例的穿戴式通信设备10可对应于根据本发明实施例的
传输信号的方法中的穿戴式通信设备,并且,该穿戴式通信设备10中的各模块和上述其他操作和/或功能分别为了实现图1中的方法的相应流程,为了简洁,在此不再赘述。
因此,该穿戴式通信设备根据多个时间间隔特征值和多个编码序列的一一映射关系,以及获取到的多个时间间隔特征值,可以确定所对应的编码序列,从而恢复出原始数据。避免了现有技术中复杂的数字电路去进行解码,使得数字电路结构简单化,进而降低成本。
图10是根据本发明实施例的终端设备20的示意性框图。如图10所示,该终端设备20包括:编码模块21,用于对原始数据进行编码得到原始编码序列;
调制模块22,用于对该原始编码序列进行调制得到调制波信号;
发送模块23,用于向穿戴式通信设备发送该调制波信号。
可选地,该调制模块22还用于对第一频率的正弦波和第二频率的正弦波进行调制得到载波信号,该第一频率与第二频率的频率差值大于或等于20kHz;
该调制模块22具体用于基于该载波信号,对该原始编码序列进行ASK调制得到该调制波信号。
可选地,该发送模块23具体用于通过第一声道线向该穿戴式通信设备发送该调制波信号;
该发送模块23还用于通过第二声道线向该穿戴式通信设备发送该载波信号,该载波信号用于该穿戴式通信设备对接收到的该调制波信号进行解调,以获得待解码信号。
可选地,该穿戴式通信设备为有线耳机。
根据本发明实施例的终端设备20可对应于根据本发明实施例的传输信号的方法中的终端设备,并且,该终端设备20中的各模块和上述其他操作和/或功能分别为了实现图1中的方法的相应流程,为了简洁,在此不再赘述。
因此,根据多个时间间隔特征值和多个编码序列的一一映射关系,以及获取到的多个时间间隔特征值,可以确定所对应的编码序列,从而恢复出原始数据。避免了现有技术中复杂的数字电路去进行解码,使得数字电路结构简单化,进而降低成本。
图11是根据本发明实施例的穿戴式通信设备30的另一示意性框图。如
图11所示,该穿戴式通信设备30包括:接收器31、发送器32、处理器33、存储器34和总线系统35。其中,接收器31、发送器32、处理器33、存储器34通过总线系统35相连,该存储器34用于存储指令,该处理器33用于执行该存储器34存储的指令,以控制接收器31接收信号,并控制发送器32发送信号。
其中,该接收器31用于接收终端设备发送的调制波信号,该调制波信号是由该终端设备对原始数据进行编码和调制之后得到的信号;
该处理器33用于对接收到的调制波信号进行解调,得到待解码信号;
该处理器33还用于对该待解码信号进行波形整形处理,得到方波信号,该方波信号中的高电平用于表示第一预设值,任意两个相邻的第一预设值在该方波信号中所对应的高电平之间具有时间间隔;
该处理器33还用于获取该方波信号中的多个时间间隔特征值;
该处理器33还用于获取第一映射关系,该第一映射关系用于指示该多个时间间隔特征值与多个编码序列的一一映射关系;
该处理器33还用于根据该多个时间间隔特征值和该第一映射关系,对该方波信号进行第一解码处理,得到原始编码序列,该原始编码序列由该终端设备对该原始数据进行编码得到;
该处理器33还用于对该原始编码序列进行第二解码处理,得到该原始数据。
应理解,本发明实施例中的处理器可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是CPU、该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,简称“DSP”)、专用集成电路(Application Specific Integrated Circuit,简称“ASIC”)、现成可编程门阵列(Field Programmable Gate Array,简称“FPGA”)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件器组合执行完成。软件器可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编
程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。
还应理解,本发明实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,简称“ROM”)、可编程只读存储器(Programmable ROM,简称“PROM”)、可擦除可编程只读存储器(Erasable PROM,简称“EPROM”)、电可擦除可编程只读存储器(Electrically EPROM,简称“EEPROM”)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,简称“RAM”),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,简称“SRAM”)、动态随机存取存储器(Dynamic RAM,简称“DRAM”)、同步动态随机存取存储器(Synchronous DRAM,简称“SDRAM”)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,简称“DDR SDRAM”)、增强型同步动态随机存取存储器(Enhanced SDRAM,简称“ESDRAM”)、同步连接动态随机存取存储器(Synch link DRAM,简称“SLDRAM”)和直接内存总线随机存取存储器(Direct Rambus RAM,简称“DR RAM”)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
还应理解,该总线系统除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线系统。
在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的定位方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件器组合执行完成。软件器可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
可选地,该处理器33用于对该调制波信号设置包头信号;
该处理器33还用于根据该包头信号,获取该包头信号的周期、该调制波信号的脉冲宽度,以及在比较器输出的阈值大于零时该方波的上升沿或下
降沿与该调制波信号的脉冲起始点之间的边沿偏差,其中,该比较器用于对该调制波信号进行该波形整形处理;
该处理器33具体用于根据该调制波信号的周期、脉冲宽度以及该边沿偏差,获取该多个时间间隔特征值。
可选地,该多个时间间隔特征值包括:第一特征值、第二特征值和第三特征值,该多个编码序列包括第一曼彻斯特序列、第二曼彻斯特序列和第三曼彻斯特序列,每个编码序列由第二预设值和所述第一预设值构成,该方波信号用于表示该第一预设值和该第二预设值,
该第一映射关系具体包括:
该第一特征值与第一曼彻斯特序列对应,该第一曼彻斯特序列具体为:在第一比特位取值为该第一预设值,在第二比特位取值为该第二预设值;
该第二特征值与第二曼彻斯特序列对应,该第二曼彻斯特序列具体为:在该第一比特位取值为该第一预设值,在该第二比特位取值为该第二预设值,在该第三比特位取值为该第二预设值;
该第三特征值与第三曼彻斯特序列对应,该第三曼彻斯特序列具体为:在该第一比特位取值为该第一预设值,在该第二比特位取值为该第二预设值;
其中,该时间间隔特征值用于表征任意两个相邻的高电平之间的时间间隔,该第一比特位为与该时间间隔特征值对应的两个相邻高电平中的第一个高电平对应的比特位,该第二比特位为该第一比特位之后的第一个比特位,该第三比特位为该第二比特位之后的第一个比特位。
可选地,该处理器33在用于根据该多个时间间隔特征值和该第一映射关系,对该方波信号进行第一解码处理时,具体用于根据该多个时间间隔特征值与该第一映射关系,对该方波信号进行解码,得到解码结果,该解码结果包括至少一个该第一曼彻斯特序列、至少一个该第二曼彻斯特序列和至少一个该第三曼彻斯特序列;并根据该解码结果所包括的比特位,对该解码结果进行还原处理,得到该原始曼彻斯特序列,该原始曼彻斯特序列是对该原始数据进行编码得到的序列。
可选地,该解码结果为包括S个比特位的曼彻斯特序列,S为大于或等于2的自然数,
该处理器33在用于对该解码结果进行还原处理时,具体包括:
该处理器33用于在mod(S,2)=0时,根据该原始曼彻斯特序列的最后两个比特位在该方波信号中所对应的波形,确定该原始数据的最后两个比特位的取值;或者,
在mod(S,2)=1时,根据该原始曼彻斯特序列的倒数第二个个比特位在该方波信号中所对应的波形,确定该原始数据的最后两个比特位的取值;
该处理器33用于根据该解码结果和该原始曼彻斯特序列的末两个比特位的取值,确定该原始曼彻斯特序列。
可选地,该接收器31具体用于通过第一声道线接收该终端发送的该调制波信号;
该接收器31还用于通过第二声道线接收该终端发送的载波信号,该载波信号用于对该原始编码序列进行调制,以得到该调制波信号;
该处理器33具体用于基于该载波信号,对该调制波信号进行解调,得到该待解码信号。
可选地,载波信号由第一频率的正弦波和第二频率的正弦波调幅得到,该第一频率与第二频率的频率差值大于或等于20kHz。
可选地,该穿戴式通信设备30为有线耳机。
根据本发明实施例的穿戴式通信设备30可对应于根据本发明实施例的传输信号的方法中的穿戴式通信设备,并且,该穿戴式通信设备30中的各模块和上述其他操作和/或功能分别为了实现图1中的方法的相应流程,为了简洁,在此不再赘述。
因此,该穿戴式通信设备根据多个时间间隔特征值和多个编码序列的一一映射关系,以及获取到的多个时间间隔特征值,可以确定所对应的编码序列,从而恢复出原始数据。避免了现有技术中复杂的数字电路去进行解码,使得数字电路结构简单化,进而降低成本。
图12是根据本发明实施例的终端设备40的示意性框图。如图12所示,该终端设备40包括:接收器41、发送器42、处理器43、存储器44和总线系统45。其中,接收器41、发送器42、处理器43、存储器44通过总线系统45相连,该存储器44用于存储指令,该处理器43用于执行该存储器44存储的指令,以控制接收器41接收信号,并控制发送器42发送信号。
其中,该处理器43用于对该原始编码序列进行调制得到调制波信号;
该发送器42用于向穿戴式通信设备发送该调制波信号。
可选地,该处理器43还用于对第一频率的正弦波和第二频率的正弦波进行调制得到载波信号,该第一频率与第二频率的频率差值大于或等于20kHz;
该处理器43具体用于基于该载波信号,对该原始编码序列进行ASK调制得到该调制波信号。
可选地,该发送器42具体用于通过第一声道线向该穿戴式通信设备发送该调制波信号;
该发送器42还用于通过第二声道线向该穿戴式通信设备发送该载波信号,该载波信号用于该穿戴式通信设备对接收到的该调制波信号进行解调,以获得待解码信号。
可选地,该穿戴式通信设备为有线耳机。
根据本发明实施例的终端设备40可对应于根据本发明实施例的传输信号的方法中的终端设备,并且,该终端设备40中的各模块和上述其他操作和/或功能分别为了实现图1中的方法的相应流程,为了简洁,在此不再赘述。
因此,根据多个时间间隔特征值和多个编码序列的一一映射关系,以及获取到的多个时间间隔特征值,可以确定所对应的编码序列,从而恢复出原始数据。避免了现有技术中复杂的数字电路去进行解码,使得数字电路结构简单化,进而降低成本。
应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和
方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称“ROM”)、随机存取存储器(Random Access Memory,简称“RAM”)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。
Claims (24)
- 一种传输信号的方法,其特征在于,包括:穿戴式通信设备接收终端设备发送的调制波信号,所述调制波信号是由所述终端设备对原始数据进行编码调制之后得到的信号;对接收到的调制波信号进行解调,得到待解码信号;对所述待解码信号进行波形整形处理,得到方波信号,所述方波信号中的高电平用于表示第一预设值,任意两个相邻的第一预设值在所述方波信号中所对应的两个高电平之间具有时间间隔;获取所述方波信号中的多个时间间隔特征值;获取第一映射关系,所述第一映射关系用于指示所述多个时间间隔特征值与多个编码序列的一一映射关系;根据所述多个时间间隔特征值和所述第一映射关系,对所述方波信号进行第一解码处理,得到原始编码序列,所述原始编码序列由所述终端设备对所述原始数据进行编码得到;对所述原始编码序列进行第二解码处理,得到所述原始数据。
- 根据权利要求1所述的方法,其特征在于,所述获取所述方波信号中的多个时间间隔特征值,包括:对所述调制波信号设置包头信号;根据所述包头信号,获取所述包头信号的周期、所述调制波信号的脉冲宽度,以及在比较器输出的阈值大于零时所述方波信号中每个方波的上升沿或下降沿与所述调制波信号的脉冲起始点之间的边沿偏差,其中,所述比较器用于对所述调制波信号进行所述波形整形处理;根据所述调制波信号的周期、脉冲宽度以及所述边沿偏差,获取所述多个时间间隔特征值。
- 根据权利要求1或2所述的方法,其特征在于,所述多个时间间隔特征值包括:第一特征值、第二特征值和第三特征值,所述多个编码序列包括第一曼彻斯特序列、第二曼彻斯特序列和第三曼彻斯特序列,每个编码序列由第二预设值和所述第一预设值构成,所述方波信号用于表示所述第一预设值和所述第二预设值,所述第一映射关系具体包括:所述第一特征值与第一曼彻斯特序列对应,所述第一曼彻斯特序列具体 为:在第一比特位取值为所述第一预设值,在第二比特位取值为所述第二预设值;所述第二特征值与第二曼彻斯特序列对应,所述第二曼彻斯特序列具体为:在所述第一比特位取值为所述第一预设值,在所述第二比特位取值为所述第二预设值,在所述第三比特位取值为所述第二预设值;所述第三特征值与第三曼彻斯特序列对应,所述第三曼彻斯特序列具体为:在所述第一比特位取值为所述第一预设值,在所述第二比特位取值为所述第二预设值;其中,所述时间间隔特征值用于表征任意两个相邻的高电平之间的时间间隔,所述第一比特位为与所述时间间隔特征值对应的两个相邻高电平中的第一个高电平对应的比特位,所述第二比特位为所述第一比特位之后的第一个比特位,所述第三比特位为所述第二比特位之后的第一个比特位。
- 根据权利要求3所述的方法,其特征在于,所述原始编码序列为对所述原始数据进行曼彻斯特编码得到的原始曼彻斯特序列,以及,所述根据所述多个时间间隔特征值和所述第一映射关系,对所述方波信号进行第一解码处理,得到原始编码序列,包括:根据所述多个时间间隔特征值与所述第一映射关系,对所述方波信号进行解码,得到解码结果,所述解码结果包括至少一个所述第一曼彻斯特序列、至少一个所述第二曼彻斯特序列和至少一个所述第三曼彻斯特序列;根据所述解码结果所包括的比特位,对所述解码结果进行还原处理,得到所述原始曼彻斯特序列。
- 根据权利要求4所述的方法,其特征在于,所述解码结果为包括S个比特位的曼彻斯特序列,S为大于或等于2的自然数,以及根据所述解码结果所包括的比特位,对所述解码结果进行还原处理,得到所述原始曼彻斯特序列,包括:在mod(S,2)=0时,根据所述原始曼彻斯特序列的最后两个比特位在所述方波信号中所对应的波形,确定所述原始数据的最后两个比特位的取值;或者,在mod(S,2)=1时,根据所述原始曼彻斯特序列的倒数第二个个比特位在所述方波信号中所对应的波形,确定所述原始数据的最后两个比特位的取值;根据所述解码结果和所述原始曼彻斯特序列的末两个比特位的取值,确定所述原始曼彻斯特序列。
- 根据权利要求1至5中任一项所述的方法,其特征在于,所述穿戴式通信设备接收终端设备发送的调制波信号,包括:所述穿戴式通信设备通过第一声道线接收所述终端发送的所述调制波信号;所述对接收到的调制波信号进行解调,得到待解码信号,包括:通过第二声道线接收所述终端发送的载波信号,所述载波信号用于对所述原始编码序列进行调制,以得到所述调制波信号;基于所述载波信号,对所述调制波信号进行解调,得到所述待解码信号。
- 根据权利要求6所述的方法,其特征在于,所述载波信号由第一频率的正弦波和第二频率的正弦波调幅得到,所述第一频率与所述第二频率的频率差值大于或等于20kHz。
- 根据权利要求1至7中任一项所述的方法,其特征在于,所述穿戴式通信设备为有线耳机。
- 一种传输信号的方法,其特征在于,包括:终端设备对原始数据进行编码得到原始编码序列;对所述原始编码序列进行调制得到调制波信号;向穿戴式通信设备发送所述调制波信号。
- 根据权利要求9所述的方法,其特征在于,所述对所述原始编码序列进行调制得到调制波信号,包括:对第一频率的正弦波和第二频率的正弦波进行调幅得到载波信号,所述第一频率与第二频率的频率差值大于或等于20kHz;基于所述载波信号,对所述原始编码序列进行ASK调制得到所述调制波信号。
- 根据权利要求9或10所述的方法,其特征在于,所述向穿戴式通信设备发送所述调制波信号,包括:通过第一声道线向所述穿戴式通信设备发送所述调制波信号;所述方法还包括:通过第二声道线向所述穿戴式通信设备发送所述载波信号,所述载波信号用于所述穿戴式通信设备对接收到的所述调制波信号进行解调,以获得待 解码信号。
- 根据权利要求9至11中任一项所述的方法,其特征在于,所述穿戴式通信设备为有线耳机。
- 一种穿戴式通信设备,包括:接收模块,用于接收终端设备发送的调制波信号,所述调制波信号是由所述终端设备对原始数据进行编码和调制之后得到的信号;解调模块,用于对接收到的调制波信号进行解调,得到待解码信号;整形模块,用于对所述待解码信号进行波形整形处理,得到方波信号,所述方波信号中的高电平用于表示第一预设值,任意两个相邻的第一预设值在所述方波信号中所对应的高电平之间具有时间间隔;获取模块,用于获取所述方波信号中的多个时间间隔特征值;所述获取模块还用于获取第一映射关系,所述第一映射关系用于指示所述多个时间间隔特征值与多个编码序列的一一映射关系;解码模块,用于根据所述多个时间间隔特征值和所述第一映射关系,对所述方波信号进行第一解码处理,得到原始编码序列,所述原始编码序列由所述终端设备对所述原始数据进行编码得到;所述解码模块还用于对所述原始编码序列进行第二解码处理,得到所述原始数据。
- 根据权利要求13所述的穿戴式通信设备,其特征在于,所述穿戴式通信设备还包括:处理模块,用于对所述调制波信号设置包头信号;所述获取模块还用于,根据所述包头信号,获取所述包头信号的周期、所述调制波信号的脉冲宽度,以及在比较器输出的阈值大于零时所述方波的上升沿或下降沿与所述调制波信号的脉冲起始点之间的边沿偏差,其中,所述比较器用于对所述调制波信号进行所述波形整形处理;所述获取模块具体用于根据所述调制波信号的周期、脉冲宽度以及所述边沿偏差,获取所述多个时间间隔特征值。
- 根据权利要求13或14所述的穿戴式通信设备,其特征在于,所述多个时间间隔特征值包括:第一特征值、第二特征值和第三特征值,所述多个编码序列包括第一曼彻斯特序列、第二曼彻斯特序列和第三曼彻斯特序列,每个编码序列由第二预设值和所述第一预设值构成,所述方波信号用于 表示所述第一预设值和所述第二预设值,所述第一映射关系具体包括:所述第一特征值与第一曼彻斯特序列对应,所述第一曼彻斯特序列具体为:在第一比特位取值为所述第一预设值,在第二比特位取值为所述第二预设值;所述第二特征值与第二曼彻斯特序列对应,所述第二曼彻斯特序列具体为:在所述第一比特位取值为所述第一预设值,在所述第二比特位取值为所述第二预设值,在所述第三比特位取值为所述第二预设值;所述第三特征值与第三曼彻斯特序列对应,所述第三曼彻斯特序列具体为:在所述第一比特位取值为所述第一预设值,在所述第二比特位取值为所述第二预设值;其中,所述时间间隔特征值用于表征任意两个相邻的高电平之间的时间间隔,所述第一比特位为与所述时间间隔特征值对应的两个相邻高电平中的第一个高电平对应的比特位,所述第二比特位为所述第一比特位之后的第一个比特位,所述第三比特位为所述第二比特位之后的第一个比特位。
- 根据权利要求15所述的穿戴式通信设备,其特征在于,所述原始编码序列为对所述原始数据进行曼彻斯特编码得到的原始曼彻斯特序列,所述解码模块在用于根据所述多个时间间隔特征值和所述第一映射关系,对所述方波信号进行第一解码处理时,具体用于根据所述多个时间间隔特征值与所述第一映射关系,对所述方波信号进行解码处理,得到解码结果,所述解码结果包括至少一个所述第一曼彻斯特序列、至少一个所述第二曼彻斯特序列和至少一个所述第三曼彻斯特序列;并根据所述解码结果所包括的比特位,对所述解码结果进行还原处理,得到所述原始曼彻斯特序列。
- 根据权利要求16所述的穿戴式通信设备,其特征在于,所述解码结果为包括S个比特位的曼彻斯特序列,S为大于或等于2的自然数,所述解码模块在用于对所述解码结果进行还原处理时,具体包括:所述解码模块用于在mod(S,2)=0时,根据所述原始曼彻斯特序列的最后两个比特位在所述方波信号中所对应的波形,确定所述原始数据的最后两个比特位的取值;或者,在mod(S,2)=1时,根据所述原始曼彻斯特序列的倒数第二个个比特位在所述方波信号中所对应的波形,确定所述原始数据的最后两个比特位 的取值;所述解码模块用于根据所述解码结果和所述原始曼彻斯特序列的末两个比特位的取值,确定所述原始曼彻斯特序列。
- 根据权利要求13至17中任一项所述的穿戴式通信设备,其特征在于,所述接收模块具体用于通过第一声道线接收所述终端发送的所述调制波信号;所述接收模块还用于通过第二声道线接收所述终端发送的载波信号,所述载波信号用于对所述原始编码序列进行调制,以得到所述调制波信号;所述解调模块具体用于基于所述载波信号,对所述调制波信号进行解调,得到所述待解码信号。
- 根据权利要求18所述的穿戴式通信设备,其特征在于,所述载波信号由第一频率的正弦波和第二频率的正弦波调幅得到,所述第一频率与第二频率的频率差值大于或等于20kHz。
- 根据权利要求13至19中任一项所述的穿戴式通信设备,其特征在于,所述穿戴式通信设备为有线耳机。
- 一种终端设备,其特征在于,包括:编码模块,用于对原始数据进行编码得到原始编码序列;调制模块,用于对所述原始编码序列进行调制得到调制波信号;发送模块,用于向穿戴式通信设备发送所述调制波信号。
- 根据权利要求21所述的终端设备,其特征在于,所述调制模块还用于对第一频率的正弦波和第二频率的正弦波进行调制得到载波信号,所述第一频率与第二频率的频率差值大于或等于20kHz;所述调制模块具体用于基于所述载波信号,对所述原始编码序列进行ASK调制得到所述调制波信号。
- 根据权利要求21或22所述的终端设备,其特征在于,所述发送模块具体用于通过第一声道线向所述穿戴式通信设备发送所述调制波信号;所述发送模块还用于通过第二声道线向所述穿戴式通信设备发送所述载波信号,所述载波信号用于所述穿戴式通信设备对接收到的所述调制波信号进行解调,以获得待解码信号。
- 根据权利要求21至23中任一项所述的终端设备,其特征在于,所述穿戴式通信设备为有线耳机。
Priority Applications (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2016/093511 WO2018023694A1 (zh) | 2016-08-05 | 2016-08-05 | 一种传输信号的方法和装置 |
| EP16897474.9A EP3301876B1 (en) | 2016-08-05 | 2016-08-05 | Signal reception method and apparatus |
| CN201680000752.5A CN106464623B (zh) | 2016-08-05 | 2016-08-05 | 一种传输信号的方法和装置 |
| KR1020177029473A KR102031598B1 (ko) | 2016-08-05 | 2016-08-05 | 신호 송신 방법 및 장치 |
| US15/717,931 US10142141B2 (en) | 2016-08-05 | 2017-09-27 | Method and apparatus of transmitting signal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2016/093511 WO2018023694A1 (zh) | 2016-08-05 | 2016-08-05 | 一种传输信号的方法和装置 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/717,931 Continuation US10142141B2 (en) | 2016-08-05 | 2017-09-27 | Method and apparatus of transmitting signal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018023694A1 true WO2018023694A1 (zh) | 2018-02-08 |
Family
ID=58215578
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/093511 Ceased WO2018023694A1 (zh) | 2016-08-05 | 2016-08-05 | 一种传输信号的方法和装置 |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US10142141B2 (zh) |
| EP (1) | EP3301876B1 (zh) |
| KR (1) | KR102031598B1 (zh) |
| CN (1) | CN106464623B (zh) |
| WO (1) | WO2018023694A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110673813A (zh) * | 2019-09-29 | 2020-01-10 | 百度在线网络技术(北京)有限公司 | 一种数据处理方法、装置、电子设备和介质 |
| CN114826276A (zh) * | 2022-06-29 | 2022-07-29 | 青岛鼎信通讯股份有限公司 | 一种曼彻斯特解码方法、装置及可读存储介质 |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6778865B2 (ja) * | 2016-09-13 | 2020-11-04 | 福井 誠司 | 高速通信方法及び高速通信システム |
| US20190158127A1 (en) * | 2017-11-23 | 2019-05-23 | M31 Technology Corporation | Encoding and decoding architecture for high-speed data communication system and related physical layer circuit, transmitter and receiver and communication system thereof |
| CN106911334B (zh) * | 2017-02-28 | 2021-08-10 | 光和电科技(广东)有限公司 | 一种消防工业总线编码方法 |
| CN109412757B (zh) * | 2018-12-07 | 2021-01-22 | 上海爱信诺航芯电子科技有限公司 | 一种修正Miller自适应解码方法及装置 |
| CN109639361B (zh) * | 2018-12-21 | 2022-08-09 | 宁波傲视智绘光电科技有限公司 | 一种信号解码方法、通信终端和具有存储功能的装置 |
| CN111404638B (zh) * | 2019-12-16 | 2022-10-04 | 王振江 | 一种数字信号传输方法 |
| TWI733602B (zh) * | 2020-10-13 | 2021-07-11 | 瑞昱半導體股份有限公司 | 訊號處理器以及訊號處理方法 |
| CN113010141B (zh) * | 2021-03-04 | 2022-11-08 | 湖北三赫智能科技有限公司 | 一种信号首波信息提取方法、系统、装置及可读存储介质 |
| CN115801444A (zh) * | 2022-12-19 | 2023-03-14 | 成都不烦智能科技有限责任公司 | 数据传输方法、装置、系统及及存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110301439A1 (en) * | 2010-06-08 | 2011-12-08 | AliveUSA LLC | Wireless, ultrasonic personal health monitoring system |
| CN104284268A (zh) * | 2014-09-28 | 2015-01-14 | 北京塞宾科技有限公司 | 一种可采集数据信息的耳机及数据采集方法 |
| CN105635878A (zh) * | 2016-02-03 | 2016-06-01 | 深圳市汇顶科技股份有限公司 | 一种耳机工作模式的切换方法及一种耳机 |
| CN105769158A (zh) * | 2016-02-26 | 2016-07-20 | 广东欧珀移动通信有限公司 | 心率检测方法、检测系统、终端设备及耳机 |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5166952A (en) * | 1990-05-24 | 1992-11-24 | Cylink Corporation | Method and apparatus for the reception and demodulation of spread spectrum radio signals |
| JP2006262454A (ja) * | 2005-02-18 | 2006-09-28 | Matsushita Electric Ind Co Ltd | クロック再生方法及びマンチェスタ復号方法 |
| US8005160B2 (en) * | 2006-12-30 | 2011-08-23 | Nortel Networks Limited | Processing differentiated hierarchical modulation used in radio frequency communications |
| WO2009076156A2 (en) * | 2007-12-07 | 2009-06-18 | Christian Steele | System and method for determination of position |
| EP2138986A1 (en) * | 2008-06-27 | 2009-12-30 | THOMSON Licensing | A method and device for accommodating multiple remote controls |
| GB2470490B (en) * | 2009-02-17 | 2013-02-20 | Huawei Tech Co Ltd | Method and apparatus for generating a carrier frequency signal |
| US9351654B2 (en) | 2010-06-08 | 2016-05-31 | Alivecor, Inc. | Two electrode apparatus and methods for twelve lead ECG |
| US8301232B2 (en) | 2010-06-08 | 2012-10-30 | Alivecor, Inc. | Wireless, ultrasonic personal health monitoring system |
| US8509882B2 (en) | 2010-06-08 | 2013-08-13 | Alivecor, Inc. | Heart monitoring system usable with a smartphone or computer |
| CN102064852B (zh) * | 2010-11-03 | 2013-07-17 | 清华大学 | 副载波生成方法和装置、调制解调方法、发射和接收系统 |
| US20150073285A1 (en) | 2011-05-16 | 2015-03-12 | Alivecor, Inc. | Universal ecg electrode module for smartphone |
| WO2014036436A1 (en) | 2012-08-30 | 2014-03-06 | Alivecor, Inc. | Cardiac performance monitoring system for use with mobile communications devices |
-
2016
- 2016-08-05 EP EP16897474.9A patent/EP3301876B1/en not_active Not-in-force
- 2016-08-05 CN CN201680000752.5A patent/CN106464623B/zh active Active
- 2016-08-05 WO PCT/CN2016/093511 patent/WO2018023694A1/zh not_active Ceased
- 2016-08-05 KR KR1020177029473A patent/KR102031598B1/ko not_active Expired - Fee Related
-
2017
- 2017-09-27 US US15/717,931 patent/US10142141B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110301439A1 (en) * | 2010-06-08 | 2011-12-08 | AliveUSA LLC | Wireless, ultrasonic personal health monitoring system |
| CN104284268A (zh) * | 2014-09-28 | 2015-01-14 | 北京塞宾科技有限公司 | 一种可采集数据信息的耳机及数据采集方法 |
| CN105635878A (zh) * | 2016-02-03 | 2016-06-01 | 深圳市汇顶科技股份有限公司 | 一种耳机工作模式的切换方法及一种耳机 |
| CN105769158A (zh) * | 2016-02-26 | 2016-07-20 | 广东欧珀移动通信有限公司 | 心率检测方法、检测系统、终端设备及耳机 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110673813A (zh) * | 2019-09-29 | 2020-01-10 | 百度在线网络技术(北京)有限公司 | 一种数据处理方法、装置、电子设备和介质 |
| CN110673813B (zh) * | 2019-09-29 | 2023-04-07 | 阿波罗智联(北京)科技有限公司 | 一种数据处理方法、装置、电子设备和介质 |
| CN114826276A (zh) * | 2022-06-29 | 2022-07-29 | 青岛鼎信通讯股份有限公司 | 一种曼彻斯特解码方法、装置及可读存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106464623A (zh) | 2017-02-22 |
| EP3301876A4 (en) | 2018-05-30 |
| US10142141B2 (en) | 2018-11-27 |
| CN106464623B (zh) | 2019-12-06 |
| EP3301876B1 (en) | 2019-07-24 |
| EP3301876A1 (en) | 2018-04-04 |
| KR102031598B1 (ko) | 2019-11-08 |
| KR20180032525A (ko) | 2018-03-30 |
| US20180041366A1 (en) | 2018-02-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018023694A1 (zh) | 一种传输信号的方法和装置 | |
| US10798477B2 (en) | Wireless audio system and method for wirelessly communicating audio information using the same | |
| CN107645343B (zh) | 基于声波的数据发送/接收方法及数据传输系统 | |
| JP4338225B2 (ja) | デジタル補聴器プログラミング装置および方法 | |
| US8131391B2 (en) | Wireless digital audio music system | |
| JP2005537757A (ja) | 音波手段でデータを送信するシステムと方法 | |
| CN109561419A (zh) | 高可靠性的双耳无线耳机及用于双耳无线耳机的通信方法 | |
| CN105790854B (zh) | 一种基于声波的短距离数据传输方法及装置 | |
| US20220343927A1 (en) | Audio encoding and decoding method and audio encoding and decoding device | |
| JP6987232B2 (ja) | 音波通信を用いた近距離決済システム | |
| Novak et al. | Ultrasound proximity networking on smart mobile devices for IoT applications | |
| US20240333401A1 (en) | Method and system for improved acoustic transmission of data | |
| CN106209130A (zh) | 一种无线耳机和利用无线耳机输出音频数据的方法 | |
| CN108243481A (zh) | 文件传输方法及装置 | |
| CN104955044A (zh) | 目标网络接入及其导引方法以及其相应的终端 | |
| CN107396228A (zh) | 基于超声波的无线耳机及其控制系统 | |
| CN103840997A (zh) | 建立网络连接的方法及装置 | |
| CN107733896A (zh) | 一种基于声波的数据安全传输方法 | |
| WO2015120759A1 (zh) | 音频信号的传输方法、移动终端和智能密钥设备 | |
| US20150004954A1 (en) | Wireless Communication of Non-Audio Information Between Hearing Devices and Mobile Devices Using Audio Signals | |
| JP2004234603A (ja) | 無線音声信号発射モジュールを配置したコンピュータ装置 | |
| WO2019144726A1 (zh) | 一种数据传输方法、音频设备、智能终端 | |
| US20170063471A1 (en) | Audio signal transmission system with enhanced audio signal recognition and data processing method for the same | |
| CN106303936A (zh) | 数据转发设备,数据转发方法、装置和系统 | |
| CN105323012B (zh) | 声音数据传输系统与声音数据传输方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| REEP | Request for entry into the european phase |
Ref document number: 2016897474 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 20177029473 Country of ref document: KR Kind code of ref document: A |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16897474 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |