WO2016034036A1 - 信号的编解码方法、装置及系统 - Google Patents
信号的编解码方法、装置及系统 Download PDFInfo
- Publication number
- WO2016034036A1 WO2016034036A1 PCT/CN2015/086847 CN2015086847W WO2016034036A1 WO 2016034036 A1 WO2016034036 A1 WO 2016034036A1 CN 2015086847 W CN2015086847 W CN 2015086847W WO 2016034036 A1 WO2016034036 A1 WO 2016034036A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- binary bit
- level
- bit value
- duration
- value
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/50—Transmitters
- H04B10/516—Details of coding or modulation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/079—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
- H04B10/0795—Performance monitoring; Measurement of transmission parameters
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/11—Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/50—Transmitters
- H04B10/501—Structural aspects
- H04B10/502—LED transmitters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/50—Transmitters
- H04B10/516—Details of coding or modulation
- H04B10/524—Pulse modulation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/60—Receivers
- H04B10/66—Non-coherent receivers, e.g. using direct detection
- H04B10/69—Electrical arrangements in the receiver
- H04B10/695—Arrangements for optimizing the decision element in the receiver, e.g. by using automatic threshold control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B11/00—Transmission systems employing ultrasonic, sonic or infrasonic waves
-
- 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/4902—Pulse width modulation; Pulse position modulation
Definitions
- the present invention relates to the field of communications, and in particular, to a signal encoding and decoding method, apparatus, and system.
- Wireless optical communication is an emerging, short-range, high-speed wireless optical communication technology developed in light-emitting diode (LED) technology.
- the basic principle of wireless optical communication is to use LED light to switch faster than fluorescent light and incandescent light, and communicate with high frequency flicker of LED light source. In simple terms, there is light for binary 1, and no light for binary 0.
- a high-speed optical signal containing digital information is photoelectrically converted to obtain information.
- Wireless optical communication technology can be used to make wireless optical encryption keys because its data is not easily interfered and captured.
- Optical communication equipment is simple and unsuitable for damage or degaussing.
- wireless optical communication Compared with microwave technology, wireless optical communication has a very rich spectrum of resources, which is unmatched by general microwave communication and wireless communication; wireless wireless communication can be applied to any communication protocol and is suitable for any environment; in terms of security, wireless Compared with traditional magnetic materials, optical communication does not need to worry about degaussing, and does not have to worry about theft of communication content.
- the equipment for wireless optical communication is flexible and convenient to install, and is suitable for large-scale popularization.
- the light and the darkness of the light signal emitted by the LED light of the portable electronic device may randomly change, so that the recognition rate of the optical signal is low; on the other hand, the strobe of the LED light of different electronic devices
- the characteristics are different, and the receiving parameters set at the receiving end of the light are largely relaxed in order to be able to adapt to the transmitting end, which makes some portable electronic devices with better strobo characteristics lower in order to adapt to the receiving parameters. Performance, even then, there is still a portable electronic device that does not match this parameter, and its signal recognition rate is still low; also, when the parameters of the optical signal transmitted by the LED lamp change, the receiving end needs to be upgraded, which makes System upgrade maintenance has become complicated.
- the receiving end of the light of the prior art has a low recognition rate of the optical signal emitted by the LED lamp of the portable electronic device, and the system upgrade and maintenance of the receiving end of the optical is complicated.
- the technical solution adopted by the present invention to solve the above technical problem is to provide a method for encoding and decoding a wireless signal, comprising the following steps: encoding, at the transmitting end, the first binary bit value in the data to be the first one.
- the level between the second binary bit values in the data is encoded as a level between the second turns, and the levels are separated by a separation mark, wherein the first time is not equal to the second time
- Converting the encoded electrical signal into a wireless signal from the transmitting end receiving the wireless signal at the receiving end and converting it into an electrical signal; and decoding the electrical signal at the receiving end in the following manner: recording the respective levels of the electrical signal The continuous meantime; calculating a first average value Ta of m maximum continuous turns, and a second average value Tb of n minimum continuous turns, where m, n are positive integers and refer to the first two of the data respectively Determining a distribution ratio value of the binary bit value and the second binary bit value; calculating a decision length Td according to
- the present invention also provides a method for decoding a wireless signal for decoding an electrical signal converted by a wireless signal, the decoding method comprising the steps of: recording a continuous duration of each level of the electrical signal; Calculating a first average value Ta of m maximum continuous turns, and a second average value Tb of n minimum continuous turns, where m, n are positive integers and refer to the first binary bit value and the data respectively Determining a distribution ratio value of the second binary bit value; calculating a decision length Td according to the first average value and the second average value; comparing the duration of each level with the decision length, and determining the result according to the comparison result The binary bit value represented by the level; and the integration of each binary bit value to recover the data characterized by the electrical signal.
- the present invention also provides a signal decoding apparatus for decoding an electrical signal converted by a wireless signal, the decoding apparatus comprising: a module for recording a continuous level of each level of the electrical signal a module for calculating an average of m maximum continuous turns, and an average of n minimum continuous turns, where m, n are positive integers and refer to the first binary bit value and the first in the data, respectively a distribution ratio value of the binary bit value; a module for calculating a decision length based on the first average value and the second average value; for comparing the duration of each level with the decision length, according to The comparison result judges that the level is represented a module of binary bit values; and means for integrating each binary bit value to recover data represented by the electrical signal.
- the present invention also proposes a receiving end comprising the decoding device as described above.
- the present invention further provides a communication system, including: a transmitting end, the transmitting end includes an encoding device, configured to encode a first binary bit value in the data to a level that lasts for the first time, The second binary bit value in the data is encoded as a level between successive second turns, each level being separated by a separation mark, wherein the first turn is not equal to the second turn; and as described above The receiving end.
- the present invention uses an encoding method with higher communication efficiency and recognition rate, and can decode the parameters of the receiving end according to the received optical signal after decoding, and realize decoding of the optical signal.
- this method adaptive reception of optical signals transmitted by most of the LEDs of the transmitting end can be realized.
- the receiving end does not need to be upgraded.
- FIG. 1 shows a block diagram of an optical communication system in accordance with an embodiment of the present invention.
- FIG. 2 shows a flow chart of optical signal encoding and transmission according to a first embodiment of the present invention.
- FIG. 3 shows a flow chart of optical signal reception and decoding in accordance with an embodiment of the present invention.
- FIG. 4 shows an exemplary encoded electrical signal of optical communication in accordance with a first embodiment of the present invention.
- FIG. 5 is a flow chart showing the encoding and transmission of optical communication according to the second embodiment of the present invention.
- FIG. 6 is a flow chart showing reception and decoding of optical communication according to a second embodiment of the present invention.
- FIG. 7 shows an exemplary encoded electrical signal of optical communication in accordance with a second embodiment of the present invention.
- FIG. 8 is a flow chart showing the encoding and transmission of optical communication according to a third embodiment of the present invention.
- FIG. 9 is a flowchart showing reception and decoding of optical communication according to a third embodiment of the present invention.
- FIG. 10 shows an exemplary encoded electrical signal of optical communication in accordance with a third embodiment of the present invention.
- 11 is a flow chart showing the encoding and transmission of an optical signal according to a fourth embodiment of the present invention.
- 12 is a flow chart showing a method of receiving and decoding an optical signal according to a fourth embodiment of the present invention.
- FIG. 13 shows an exemplary encoded electrical signal of optical communication in accordance with a fourth embodiment of the present invention.
- embodiments of the present invention provide methods of encoding and decoding optical signals.
- it is a method of encoding and decoding a stroboscopic signal emitted from an LED lamp of a portable electronic device.
- a method of packet coding solves the problem that, in coding, data to be transmitted can be divided into a plurality of data units, each data unit containing one or more bits. These data units are then converted into a plurality of electrical signal units, each of which represents the bits of the corresponding data unit in terms of the number of level transitions or the number of levels.
- the interval between adjacent electrical signal units is represented by a fixed level.
- Level transitions can only contain low-to-high transitions, or only low-to-high transitions, and can include low-to-high transitions and lows.
- Level to high transition The level of one bit in the electrical signal unit can be either high level or low level, and the level in the electrical signal unit can be different.
- the gap between the electrical signal units allows the identification of consecutive bits to occur only in a single electrical signal unit, and in this shorter time interval, the signal is identified due to random delay. The probability of error will be greatly reduced, so this method can improve the reliability of communication.
- the additionally set inter-group spacing is only used for the isolated packet but does not carry any information, resulting in a decrease in communication efficiency.
- the present invention proposes another encoding method, that is, representing different binary bit values by the duration of the level rather than the level of the level. Specifically, encoding a first binary bit value, such as binary 0, to a level that lasts for the first time, and encoding a second binary bit value in the data, such as binary one, for a second
- the level between turns e.g., the first time is not equal to the second time.
- the level between the first turn and the second pass may be either a high level or a low level.
- a separation mark is set between each level to isolate it.
- the binary bit value represented by the level can be identified by comparing the duration of each level with a decision length. In this way, the transmitting end and the receiving end can smoothly decode the signal transmitted by the transmitting end even if they are not synchronized.
- a further problem is that due to the delay of the LED lamp flicker control, the transmission end is not always designed to be consistent at the control level. For example, the transmitter may expect the duration of the level to be 2ms, and the resulting signal will continue to reach 5ms in duration. Therefore, the need for a lengthy judgment can tolerate such deviations.
- the decision length of the first inter-turn and the second inter-turn average is set in advance, and it is impossible to prepare to recognize the level at which the first average should be continued, and the actual continuous day exceeds the aforementioned average value.
- the choice of the first gap and the second gap which are more disparate, can partially alleviate this problem, but the longer continuous period leads to a decline in communication efficiency.
- the decision length is adaptively determined, and the receiving end can well adapt to various transmitting ends. Moreover, since it is no longer necessary to set a fixed judgment length, it is no longer necessary to update the judgment length.
- the transmitting and receiving processes of this embodiment can be implemented on various electronic devices.
- 1 shows a block diagram of an optical communication system including an transmitting end 101 and a receiving end 102 in accordance with an embodiment of the present invention.
- the transmitting end 10 1 transmits an optical signal to the receiving end 102.
- the transmitting end 101 can be implemented as various portable electronic devices. Examples of portable electronic devices include, but are not limited to, cell phones, tablets, and dedicated communication terminals.
- FIG. 2 is a flow chart of encoding and transmitting an optical signal according to the first embodiment of the present invention, and the flow includes:
- Step 201 Encode data to be transmitted as an electrical signal. Specifically, the binary 0 in the data is encoded as the high level of the first inter-turn TO, encoding the binary 1 in the data as the high level of the second inter-turn T1, where TO is less than T1; Use a low level as a separation mark.
- These data to be sent can be text, pictures, audio and/or video.
- Tl is an exemplary encoded electrical signal showing a relationship between bit values and level persistence, and the durations of the four high levels in the figure are respectively Tl, TO, TO, Tl.
- T0 is 2ms and Tl is 30ms.
- the low level between the high level is used as the separation flag, and the separation flag can also be regarded as a flag for ending the data.
- the continuous low level of the low level can be set shorter to improve communication efficiency.
- Step 202 Convert the electrical signal into an optical signal.
- the light-emitting diode is controlled by an electrical signal to transmit data in the form of an optical signal.
- Figure 4 is an ideal form of encoding an electrical signal.
- the signal is converted to a visible light signal, there may be random fluctuations in the duration of the partial level, which deviates from the form shown in Figure 4, which requires the receiver to recognize it by decoding.
- FIG. 3 is a flowchart of a method for receiving and decoding an optical signal according to a first embodiment of the present invention, and the process includes:
- Step 301 Receive an optical signal and convert it into an electrical signal.
- the electrical signal is an electrical signal transmitted as described above.
- the signal continues for the first time.
- the high level of T0 represents binary 0, and the high level of T1 continues for the second time.
- step 302 an electrical signal is detected, and a continuous period of each high level of the electrical signal is recorded.
- step 303 an average value Ta of m maximum continuous turns, and an average value Tb of n minimum continuous turns, where m, n are positive integers and refer to binary 0 and binary 1 in the data, respectively The distribution ratio value is determined.
- m, n need only be a positive integer greater than or equal to 3.
- the upper limit of m is the number of high levels M around the second turn T1
- the upper limit of n is the number N of high levels that last for the first time between the first turn. In the case where the total number of high levels in the electrical signal is limited, it can be known by the following means.
- the distribution ratio values of binary 0 and binary 1 in the data are predetermined. This allows the aforementioned ⁇ , ⁇ to be obtained by multiplying all of the high-level numbers ⁇ by the distribution ratio values of 0 and 1.
- m can be less than or equal to ⁇ , ⁇ is less than or equal to ⁇ .
- the distribution ratio values of binary 0 and binary 1 of the data are random.
- the distribution ratio of binary 0 is generally 40 ⁇ 3 ⁇ 4-60%.
- m is less than or equal to 0.4 ⁇
- ⁇ is less than or equal to 0.4 ⁇ .
- m is less than or equal to ⁇ / 3
- n is less than or equal to P / 3.
- a decision length Td is calculated based on the first average value Ta and the second average value Ta.
- step 305 the continuous time and the decision length Td of each high level are compared, and the binary bit value represented by the high level is determined according to the comparison result.
- the high level represents a binary 0; conversely, if Tn > Td, the high level represents a binary one.
- each binary bit value is integrated to recover the data.
- the transmitting and receiving processes of this embodiment can be implemented on various electronic devices.
- the sender can be implemented as each Portable electronic device.
- portable electronic devices include, but are not limited to, cell phones, tablets, and dedicated communication terminals.
- FIG. 5 is a flow chart of encoding and transmitting an optical signal according to a second embodiment of the present invention.
- the flow includes:
- Step 501 Encode data to be transmitted as an electrical signal. Specifically, the binary 0 in the data is encoded as a high level for the first inter-turn TO, and the binary 1 in the data is encoded as a high level for the second inter-turn T1, where TO is greater than T1; Use a low level as a separation mark.
- These data to be sent can be text, pictures, audio and/or video.
- Tl 7 is an exemplary encoded electrical signal showing a relationship between bit values and level persistence, and the durations of the four high levels in the figure are respectively Tl, TO, TO, Tl. , represents binary data 011 0.
- T0 is 30ms and Tl is 2ms.
- the low level between the high levels acts as a separation flag, which can also be seen as a sign that the end of the data is complete.
- the continuous low level of the low level can be set shorter to improve communication efficiency.
- Step 502 Convert the electrical signal into an optical signal.
- the light-emitting diode is controlled by an electrical signal to transmit data in the form of an optical signal.
- Figure 7 is an ideal form of encoding an electrical signal.
- the signal is converted to a visible light signal, there may be random fluctuations in the duration of the partial level, which deviates from the form shown in Figure 7, which requires the receiver to recognize it by decoding.
- FIG. 6 is a flowchart of a method for receiving and decoding an optical signal according to a second embodiment of the present invention.
- the flow includes:
- Step 601 Receive an optical signal and convert it into an electrical signal.
- the electrical signal is an electrical signal transmitted as described above.
- the signal continues for the first time.
- the high level of T0 represents binary 0, and the high level of T1 continues for the second time.
- step 602 an electrical signal is detected, and a continuous period of each high level of the electrical signal is recorded.
- the number of high levels is large, a portion of the high level can be detected for a continuous period. The number of this part should be large enough to be a sample of the entire electrical signal.
- step 603 an average value Ta of m maximum continuous turns, and an average of n minimum continuous turns are calculated.
- m, n need only be a positive integer greater than or equal to 3.
- the upper limit of m is the number of high levels M around the second turn T1
- the upper limit of n is the number N of high levels that last for the first time between the first turn. In the case where the total number of high levels in the electrical signal is limited, it can be known by the following means.
- the distribution ratio values of binary 0 and binary 1 in the data are predetermined. This allows the aforementioned ⁇ , ⁇ to be obtained by multiplying all of the high-level numbers ⁇ by the distribution ratio values of 0 and 1.
- m can be less than or equal to ⁇ , ⁇ is less than or equal to ⁇ .
- the distribution ratio values of binary 0 and binary 1 of the data are random.
- the distribution ratio of binary 0 is generally 40 ⁇ 3 ⁇ 4-60%.
- m is less than or equal to 0.4 ⁇
- ⁇ is less than or equal to 0.4 ⁇ .
- m is less than or equal to ⁇ / 3
- n is less than or equal to P / 3.
- a decision length Td is calculated based on the first average value Ta and the second average value Ta.
- step 305 the continuous diurnal sum and the decision length Td of each high level are compared, and the binary bit value represented by the high level is judged according to the comparison result.
- each binary bit value is integrated to recover the data.
- the transmission and reception processes of the present embodiment can be implemented on various electronic devices.
- the transmitting end can be implemented as a variety of portable electronic devices. Examples of portable electronic devices include, but are not limited to, mobile phones, tablets, and Communication terminal used.
- FIG. 8 is a flowchart of encoding and transmitting an optical signal according to a third embodiment of the present invention.
- the flow includes:
- Step 801 Encode data to be transmitted as an electrical signal. Specifically, the binary 0 in the data is encoded as the low level of the first inter-turn TO, and the binary 1 in the data is encoded as the low level of the second inter-turn T1, where TO is less than T1; The high level is used as a separation mark.
- These data to be sent can be text, pictures, audio and/or video.
- 10 is an exemplary encoded electrical signal showing a relationship between bit values and low level persistence, and the durations of the four low levels in the figure are respectively Tl, TO, TO, Tl, represents binary data 1 001.
- Tl is 2ms
- T1 is 30ms.
- a high level between low levels is used as a separation flag, which can also be seen as a sign that the end of a data.
- the continuous high level of the high level can be set shorter to improve communication efficiency.
- Step 802 converting the electrical signal into an optical signal.
- the light-emitting diode is controlled by an electrical signal to transmit data in the form of an optical signal.
- Figure 10 is an ideal form of encoding an electrical signal.
- the signal is converted to a visible light signal, there may be random fluctuations in the duration of the partial level, which deviates from the form shown in Figure 4, which requires the receiver to recognize it by decoding.
- FIG. 9 is a flowchart of a method for receiving and decoding an optical signal according to a third embodiment of the present invention, and the flow includes:
- Step 901 Receive an optical signal and convert it into an electrical signal.
- the electrical signal is an electrical signal transmitted as described above.
- the signal continues for the first time.
- the low level of T0 represents the binary 0, and the low level of T1 lasts for the second time.
- step 902 an electrical signal is detected, and the duration of each low level of the electrical signal is recorded.
- the number of low levels is large, it is possible to detect a portion of the low level of continuous day. The number of this part should be large enough to be a sample of the entire electrical signal.
- step 903 an average value Ta of m maximum continuous turns, and an average value Tb of n minimum continuous turns, where m, n are positive integers and refer to binary 0 and binary 1 in the data, respectively Distribution ratio Ok.
- m, n need only be a positive integer greater than or equal to 3.
- the upper limit of m is the number of low levels M around the second turn T1
- the upper limit of n is the number N of low levels that last for the first time between the first turn.
- the distribution ratio values of binary 0 and binary 1 in the data are predetermined. This allows the aforementioned ⁇ , ⁇ to be obtained by multiplying all low-level numbers ⁇ by the distribution ratio values of 0 and 1.
- m can be less than or equal to ⁇ , ⁇ is less than or equal to ⁇ .
- the distribution ratio values of binary 0 and binary 1 of the data are random.
- the distribution ratio of binary 0 is generally 40 ⁇ 3 ⁇ 4-60%.
- m is less than or equal to 0.4 ⁇
- ⁇ is less than or equal to 0.4 ⁇ .
- m is less than or equal to ⁇ / 3
- n is less than or equal to P / 3.
- a decision length Td is calculated based on the first average value Ta and the second average value Ta.
- step 905 the continuous time and the decision length Td of each low level are compared, and the binary bit value represented by the low level is determined according to the comparison result.
- the low level represents a binary 0; conversely, if Tn > Td, the low level represents a binary one.
- each binary bit value is integrated to recover the data.
- the transmitting and receiving processes of this embodiment can be implemented on various electronic devices.
- the sender can be implemented as a variety of portable electronic devices. Examples of portable electronic devices include, but are not limited to, mobile phones, tablets, and specialized communication terminals.
- FIG. 11 is a flowchart of encoding and transmitting an optical signal according to a fourth embodiment of the present invention. Includes:
- Step 1101 Encode data to be transmitted as an electrical signal.
- the binary 0 in the data is encoded as the level of the first inter-turn TO, encoding the binary 1 in the data as the level of the second inter-turn T1, where TO is less than T1; here, representing the binary 0
- the level can be either high or low.
- the level representing binary 1 can also be high or low; each level is separated by a transition.
- These data to be sent can be text, pictures, audio and/or video.
- FIG. 13 is an exemplary encoded electrical signal showing a relationship between bit values and level persistence, and the durations of the eight levels in the figure are respectively T1, TO, TO, Tl, Tl, TO, Tl, TO, represents binary data 10011010.
- T0 is 2ms and T1 is 30ms.
- Adjacent levels that represent different binary values are always different, that is, separated by hopping. Therefore, it is not necessary to use the low level in the foregoing embodiment to separate the levels representing the binary values.
- Step 202 Convert the electrical signal into an optical signal.
- the light-emitting diode is controlled by an electrical signal to transmit data in the form of an optical signal.
- Figure 13 is an ideal form of encoding an electrical signal.
- the signal is converted to a visible light signal, there may be random fluctuations in the duration of the partial level, which deviates from the form shown in Fig. 13, which requires the receiving end to recognize by decoding.
- FIG. 12 it is a flowchart of a method for receiving and decoding an optical signal according to a fourth embodiment of the present invention, where the process includes:
- Step 1201 Receive an optical signal and convert it into an electrical signal.
- the electrical signal is an electrical signal transmitted as described above.
- the signal continues for the first time.
- the level of T0 represents binary 0, and the level of T1 continues for the second time.
- step 1202 an electrical signal is detected, and the duration of each level of the electrical signal is recorded.
- step 1203 an average value Ta of m maximum continuous turns, and an average value Tb of n minimum continuous turns , where m , n are positive integers and refer to binary 0 and binary 1 in the data, respectively.
- the distribution ratio value is determined.
- m, n need only be a positive integer greater than or equal to 3.
- the upper limit of m is the number M of the levels which continue to be around the second turn T1
- the upper limit of n is the number ⁇ of the level which continues to be around the first turn TO.
- ⁇ , ⁇ can be known in the following manner.
- the distribution ratio values of binary 0 and binary 1 in the data are predetermined. This can be obtained by multiplying all the number of levels ⁇ by the distribution ratio values of 0 and 1, respectively.
- m can be less than or equal to ⁇ , ⁇ is less than or equal to ⁇ .
- the distribution ratio values of binary 0 and binary 1 of the data are random.
- the distribution ratio of binary 0 is generally 40 ⁇ 3 ⁇ 4-60%.
- m is less than or equal to 0.4 ⁇
- ⁇ is less than or equal to 0.4 ⁇ .
- m is less than or equal to ⁇ / 3
- n is less than or equal to P / 3.
- n need only be freely selected under the condition of a positive integer greater than or equal to 3 without risk of exceeding the upper limit.
- a decision length Td is calculated based on the first average value Ta and the second average value Ta.
- step 305 the continuous time and the decision length Td of each level are compared, and the binary bit value represented by the level is judged based on the comparison result.
- Tn ⁇ Td the level represents a binary 0; conversely, if Tn > Td, the level represents a binary one.
- each binary bit value is integrated to recover the data.
- the method of the present embodiment for encoding communication efficiency can be improved and a high recognition rate can be maintained. And by adaptively setting the decision length to decode, on the one hand, it can avoid setting a common decision length on the transmitting end, on the other hand, avoid setting a fixed decision length to the receiving end, and avoiding the risk of inconvenience of upgrading. Further, compared with the first to third embodiments, since the reference level for a certain period of time is no longer used as the separation flag, the transmission time can be shortened.
- the first inter-turn TO and the second inter-turn T1 may be widely disparity, for example, the second IjT is 2 ms, and the T1 is 30 ms. Therefore, if the number of levels of T1 continuing in the transmission signal is greater than the number of levels continuing TO, the overall transmission time of the signal will be greatly increased.
- the following determination can be made in advance: when the number of binary values 1 to be transmitted (represented by the level of the continuous T1) is greater than the number of binary values 0 (indicated by the level of the continuous TO) ⁇ , you can do a whole value flip, that is, the binary value 1 and the binary value 0 are interchanged, as the original data is 101111001 , flipped to 010000110.
- the above flipping is not necessarily for the entire data, but also for a certain segmentation of the data.
- the data to be transmitted is divided into multiple segments (for example, a data of 27 is transmitted, the data is divided into three segments, and each of the nine binary values is used), and each segment performs the foregoing determination steps, and the segments that need to be flipped are inverted.
- the present invention also provides a signal decoding apparatus for decoding an electrical signal converted by a wireless signal, the decoding apparatus comprising:
- a module for integrating each binary bit value to recover data represented by the electrical signal [0134]
- the present invention also proposes a receiving end comprising the decoding device as described above.
- the present invention also provides a communication system including a transmitting end and a receiving end.
- the transmitting end includes an encoding device for encoding the first binary bit value in the data to a level that lasts for the first time, and encoding the second binary bit value in the data to continue for the second time Level, wherein the first time is not equal to the second time.
- the receiving end is the receiving end as described above.
- An encoding method and a decoding method, apparatus and system for an optical signal proposed by the present invention use an encoding method with higher communication efficiency and recognition rate, and can decode according to the received optical signal. Adapt to the parameters of the receiving end to realize the decoding of the optical signal. By this method, adaptive reception of optical signals transmitted by most of the LEDs of the transmitting end can be realized. When the parameters of the optical signal at the transmitting end change, the receiving end does not need to be upgraded.
- the present invention can also be implemented with an acoustic signal, which can be an infrasound signal, an audible wave signal, and an ultrasonic signal.
- an acoustic signal which can be an infrasound signal, an audible wave signal, and an ultrasonic signal.
- embodiments of the invention may be implemented in a variety of wireless signals, such as the aforementioned optical signals and acoustic signals.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Optical Communication System (AREA)
- Dc Digital Transmission (AREA)
Abstract
Description
Claims
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017512963A JP6499275B2 (ja) | 2014-09-05 | 2015-08-13 | 信号の符号化/復号化方法、装置およびシステム |
| KR1020177007480A KR101906079B1 (ko) | 2014-09-05 | 2015-08-13 | 신호의 코딩/디코딩 방법, 장치 및 시스템 |
| EP15838412.3A EP3190538B1 (en) | 2014-09-05 | 2015-08-13 | Signal encoding and decoding methods, device and system |
| US15/449,981 US10200120B2 (en) | 2014-09-05 | 2017-03-05 | Signal encoding and decoding method, device and system |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410453403.1A CN105450299B (zh) | 2014-09-05 | 2014-09-05 | 信号的编解码方法及系统 |
| CN201410453403.1 | 2014-09-05 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/449,981 Continuation US10200120B2 (en) | 2014-09-05 | 2017-03-05 | Signal encoding and decoding method, device and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016034036A1 true WO2016034036A1 (zh) | 2016-03-10 |
Family
ID=55439108
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/086847 Ceased WO2016034036A1 (zh) | 2014-09-05 | 2015-08-13 | 信号的编解码方法、装置及系统 |
Country Status (6)
| Country | Link |
|---|---|
| US (1) | US10200120B2 (zh) |
| EP (1) | EP3190538B1 (zh) |
| JP (1) | JP6499275B2 (zh) |
| KR (1) | KR101906079B1 (zh) |
| CN (1) | CN105450299B (zh) |
| WO (1) | WO2016034036A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112822226A (zh) * | 2019-11-15 | 2021-05-18 | 杭州海康威视数字技术股份有限公司 | 一种数据传输方法、装置、电子设备及机器可读存储介质 |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105225297B (zh) * | 2014-05-29 | 2018-05-25 | 深圳光启智能光子技术有限公司 | 移动终端光子数据传输方法、传输装置以及光子数据接收装置 |
| CN107592184A (zh) * | 2017-10-08 | 2018-01-16 | 胡明建 | 一种以时间采压计数作为信号识别的设计方法 |
| CN112181262B (zh) * | 2019-07-01 | 2022-04-01 | 上海嗨普智能信息科技股份有限公司 | 信息交互系统及方法 |
| CN110535479B (zh) * | 2019-09-04 | 2021-11-09 | 北京新时大众网络科技有限公司 | 一种通过广播识别信息的系统 |
| CN113014522B (zh) * | 2020-12-30 | 2022-10-25 | 南斗六星系统集成有限公司 | 一种无线数据的解码方法及系统 |
| CN117060999A (zh) * | 2021-09-23 | 2023-11-14 | 追觅创新科技(苏州)有限公司 | 一种红外通讯方法及装置、存储介质及电子装置 |
| JP7270197B1 (ja) * | 2022-03-30 | 2023-05-10 | 池上通信機株式会社 | 高輝度光源からの光の輝度レベルを検出するための方法 |
| CN115833998A (zh) * | 2023-02-21 | 2023-03-21 | 江西飞尚科技有限公司 | 二总线通讯编码方法及系统 |
| CN117014106B (zh) * | 2023-09-28 | 2024-04-05 | 佛山市顺德弘金电器科技有限公司 | 一种无线信号的解码方法及装置 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1496005A (zh) * | 2002-07-31 | 2004-05-12 | 中国科学院过程工程研究所 | 二进制数字信号的编码方法及其信号传输方法和电路 |
| KR20070048898A (ko) * | 2005-11-07 | 2007-05-10 | 삼성전자주식회사 | 액정 표시 장치의 구동 장치에서의 디코더 및 상기디코더를 포함하는 액정 표시 장치의 구동 장치 |
| CN102799840A (zh) * | 2011-05-23 | 2012-11-28 | 中兴通讯股份有限公司 | 数据传输方法及装置 |
| CN104268753A (zh) * | 2014-09-30 | 2015-01-07 | 深圳光启创新技术有限公司 | 光子通用卡、声波通用卡、使用光子通用卡进行支付的方法及系统 |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS49120571A (zh) * | 1973-03-17 | 1974-11-18 | ||
| US4817115A (en) * | 1987-02-27 | 1989-03-28 | Telxon Corporation | Encoding and decoding system for electronic data communication system |
| JPH09246973A (ja) * | 1996-03-11 | 1997-09-19 | N T T Data Tsushin Kk | データ通信方法及びデータ変調及び復調システム |
| TW536871B (en) * | 2002-01-31 | 2003-06-11 | Elan Microelectronics Corp | Wireless communication coding method for representing digital data with variable length signal |
| US20040174933A1 (en) * | 2003-03-07 | 2004-09-09 | Electronic Data Systems Corporation | System and method for data communications using an adaptive pulse width modulation protocol |
| EP2134026A1 (fr) * | 2008-06-11 | 2009-12-16 | Gemplus | Procédé de transmission de données à haut débit et dispositif(s) correspondant(s) |
| US8934528B2 (en) * | 2011-03-30 | 2015-01-13 | Silicon Laboratories Inc. | Transition interval coding for serial communication |
| CN102386977A (zh) * | 2011-10-20 | 2012-03-21 | 航天科工深圳(集团)有限公司 | 一种用于光纤传输的数据发送、接收方法、装置及设备 |
| US8767814B2 (en) * | 2012-03-09 | 2014-07-01 | Infineon Technologies Ag | Pulse-width modulator and methods of implementing and using the same |
| CN103378923A (zh) * | 2012-04-18 | 2013-10-30 | 北京鼎合远传技术有限公司 | 基于频率调制的基带传输编码方法及其装置 |
| CN103812557B (zh) * | 2013-07-31 | 2015-05-27 | 深圳光启创新技术有限公司 | 可见光信号的编码和解码方法、装置及系统 |
| JP6441465B2 (ja) * | 2014-09-05 | 2018-12-19 | クワーン チー インテリジェント フォトニック テクノロジー リミテッド | 光信号の符号化/復号化方法及びその装置 |
-
2014
- 2014-09-05 CN CN201410453403.1A patent/CN105450299B/zh active Active
-
2015
- 2015-08-13 WO PCT/CN2015/086847 patent/WO2016034036A1/zh not_active Ceased
- 2015-08-13 KR KR1020177007480A patent/KR101906079B1/ko not_active Expired - Fee Related
- 2015-08-13 JP JP2017512963A patent/JP6499275B2/ja not_active Expired - Fee Related
- 2015-08-13 EP EP15838412.3A patent/EP3190538B1/en active Active
-
2017
- 2017-03-05 US US15/449,981 patent/US10200120B2/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1496005A (zh) * | 2002-07-31 | 2004-05-12 | 中国科学院过程工程研究所 | 二进制数字信号的编码方法及其信号传输方法和电路 |
| KR20070048898A (ko) * | 2005-11-07 | 2007-05-10 | 삼성전자주식회사 | 액정 표시 장치의 구동 장치에서의 디코더 및 상기디코더를 포함하는 액정 표시 장치의 구동 장치 |
| CN102799840A (zh) * | 2011-05-23 | 2012-11-28 | 中兴通讯股份有限公司 | 数据传输方法及装置 |
| CN104268753A (zh) * | 2014-09-30 | 2015-01-07 | 深圳光启创新技术有限公司 | 光子通用卡、声波通用卡、使用光子通用卡进行支付的方法及系统 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112822226A (zh) * | 2019-11-15 | 2021-05-18 | 杭州海康威视数字技术股份有限公司 | 一种数据传输方法、装置、电子设备及机器可读存储介质 |
| CN112822226B (zh) * | 2019-11-15 | 2022-09-02 | 杭州海康威视数字技术股份有限公司 | 一种数据传输方法、装置、电子设备及机器可读存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP3190538B1 (en) | 2021-06-16 |
| KR101906079B1 (ko) | 2018-10-08 |
| US20170180043A1 (en) | 2017-06-22 |
| CN105450299B (zh) | 2019-08-30 |
| KR20170044164A (ko) | 2017-04-24 |
| JP6499275B2 (ja) | 2019-04-10 |
| US10200120B2 (en) | 2019-02-05 |
| EP3190538A4 (en) | 2018-05-30 |
| CN105450299A (zh) | 2016-03-30 |
| JP2017535103A (ja) | 2017-11-24 |
| EP3190538A1 (en) | 2017-07-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2016034036A1 (zh) | 信号的编解码方法、装置及系统 | |
| WO2015014160A1 (zh) | 基于多阶幅度调制的可见光信号的编码和解码方法、装置及系统 | |
| JP6167237B2 (ja) | 可視光信号のエンコードとデコード方法、装置及びシステム | |
| TWI634535B (zh) | 顯示裝置用資料傳送系統 | |
| US10511406B1 (en) | Power saving in a twisted wire pair communication network | |
| US20130287403A1 (en) | Methods and apparatus for modulating light to concurrently convey high rate data and low rate data | |
| WO2015043231A1 (zh) | 可见光信号发送、接收处理方法、发射端、接收端及系统 | |
| WO2016034033A1 (zh) | 一种光信号编码、解码方法及装置 | |
| CN107659360A (zh) | 一种差分多脉冲位置调制装置 | |
| US10116420B2 (en) | Error retransmission mechanism-comprised methods, apparatuses and systems for transmitting and receiving visible light signal | |
| US9859978B2 (en) | Self-adaptive receiving method, device, and system for radio signal | |
| CN111108702B (zh) | 用于对基于光的通信报文进行解码的技术 | |
| US20220216917A1 (en) | Light communication method and process for the self-adaptive reception of a light communication signal | |
| CN115065408B (zh) | 基于光学相机的多优先级分层编码方法、装置及存储介质 | |
| US11133891B2 (en) | Systems and methods for self-synchronized communications | |
| CN102664688A (zh) | 偏振差分脉位调制方法 | |
| CN101057465A (zh) | 在混沌通信系统中用于多路接入的数据发送方法和设备以及数据接收方法和设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15838412 Country of ref document: EP Kind code of ref document: A1 |
|
| REEP | Request for entry into the european phase |
Ref document number: 2015838412 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2017512963 Country of ref document: JP Kind code of ref document: A |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 20177007480 Country of ref document: KR Kind code of ref document: A |