WO2019154065A1 - Method and communication device for wireless optical communication - Google Patents

Method and communication device for wireless optical communication Download PDF

Info

Publication number
WO2019154065A1
WO2019154065A1 PCT/CN2019/072650 CN2019072650W WO2019154065A1 WO 2019154065 A1 WO2019154065 A1 WO 2019154065A1 CN 2019072650 W CN2019072650 W CN 2019072650W WO 2019154065 A1 WO2019154065 A1 WO 2019154065A1
Authority
WO
WIPO (PCT)
Prior art keywords
source symbol
information
source
symbol
index information
Prior art date
Application number
PCT/CN2019/072650
Other languages
French (fr)
Chinese (zh)
Inventor
黄伟
方平
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201810714877.5A external-priority patent/CN110138451B/en
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP19750347.7A priority Critical patent/EP3737005B1/en
Priority to JP2020542844A priority patent/JP7204762B2/en
Priority to KR1020207023336A priority patent/KR102314275B1/en
Priority to US16/968,366 priority patent/US11165504B2/en
Publication of WO2019154065A1 publication Critical patent/WO2019154065A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/11Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
    • H04B10/114Indoor or close-range type systems
    • H04B10/116Visible light communication

Definitions

  • the present application relates to the field of mobile communications technologies, and in particular, to a method and a communication device for wireless optical communication.
  • LiFi Light fidelity
  • VLC visible light communication
  • the channel coding is used as the VLC physical layer at a fixed rate.
  • a concatenated code composed of a Reed-Solomon (RS) code or an RS code and a convolutional code is used as a channel coding of the VLC physical layer, and is released.
  • RS Reed-Solomon
  • LDPC high performance low density parity check code
  • the code rate is set according to the preset channel model and the channel state information (CSI) of the feedback channel, and the rate adaptation cannot be implemented according to the dynamic channel of the VLC physical layer.
  • the code rate setting of the channel coding is low, resulting in check bit redundancy and reduced transmission efficiency; and when the actual channel condition is inferior to the preset channel model
  • the code rate of the channel coding is set too high, and sufficient check bits cannot be provided, resulting in deterioration of channel performance.
  • Embodiments of the present application provide a method and a communication device for wireless optical communication to improve data transmission efficiency in wireless optical communication.
  • the wireless optical communication may be infrared light communication, visible light communication, free space optical communication, or ultraviolet light communication.
  • the solution provided by the present application can be applied to any one of the foregoing wireless optical communications. Some embodiments provided by the present application are described by taking wireless optical communication as visible light communication as an example. The technical solution is as follows:
  • a method for wireless optical communication is provided, the method being applied to a first device, the method comprising:
  • Receiving a data frame sent by the second device and acquiring, according to the data frame, an encoding symbol, a length of the source symbol, a number of the source symbols, degree information of the source symbol, and index information of the source symbol, where
  • the degree information of the source symbol indicates the number of source symbols included in each source symbol group participating in the encoding process
  • the index information of the source symbol indicates an index of source symbols included in each source symbol group participating in the encoding process
  • the code symbol and a preset code rate decoding algorithm determine the source symbol.
  • the first device receives the data frame sent by the second device. Then, the first device acquires the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol according to the data frame. Thereafter, the first device determines a mapping relationship between the source symbol and the encoded symbol according to the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol. Finally, the first device determines the source symbol according to the mapping relationship, the encoding symbol, and the preset codeless decoding algorithm.
  • the second device generates the encoded information according to the adaptive code rate, and sends the encoded information to the first device through the data frame.
  • the first device may generate corresponding source symbols according to the foregoing coding information, so as to implement code rate adaptation according to the dynamic channel of the VLC physical layer.
  • the data frame carries the degree information of the source symbol and the index information of the source symbol, and according to the data frame, the degree information and the location of the source symbol are obtained.
  • the index information of the source symbol including:
  • the data frame carries a first random seed of the degree information of the source symbol and a first random seed of the index information of the source symbol, according to the data frame, Obtaining the degree information of the source symbol and the index information of the source symbol, including:
  • the first random seed of the degree information of the source symbol and the first random seed of the index information of the source symbol are generated by corresponding to the degree information of the source symbol and the index information of the source symbol, and the data frame is reduced.
  • the amount of data carried increases the transmission rate of data frames.
  • the data frame carries a second random seed of the degree information of the source symbol and a second random seed of the index information of the source symbol, according to the data frame, Obtaining the degree information of the source symbol and the index information of the source symbol, including:
  • the third random seed of the index information of the source symbol and the second random seed of the index information of the source symbol further reduce the amount of data carried in the data frame, thereby improving the transmission of the data frame. rate.
  • the data frame carries an identifier information identifier of the source symbol, and according to the data frame, acquiring degree information of the source symbol and index information of the source symbol, include:
  • the correspondence between the degree information of the source symbol and the index information of the source symbol is stored in advance, and the data frame carries only the encoded information, so that the data amount of the data frame is smaller.
  • the transfer rate is faster.
  • the data frame further carries the first check information, where the method further includes:
  • Second verification information according to the degree information of the source symbol, the index information of the source symbol, and a preset verification algorithm; if the second verification information is the same as the first verification information, And performing the step of determining a mapping relationship between the source symbol and the encoded symbol according to the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol.
  • the data frame further carries data mode information, where the method further includes:
  • a method for wireless optical communication is provided, the method being applied to a second device, the method comprising:
  • the second device acquires the source symbol, the length of the source symbol, and the number of source symbols. Then, the second device generates the encoded symbol, the degree information of the source symbol, and the index information of the source symbol according to the source symbol and the preset codeless encoding algorithm. Finally, the second device generates a data frame according to the coding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol, and transmits the data frame to the first device. In this way, the second device generates the encoded information according to the adaptive code rate, and sends the encoded information to the first device through the data frame.
  • the first device may generate corresponding source symbols according to the foregoing coding information, so as to implement code rate adaptation according to the dynamic channel of the VLC physical layer.
  • the first random seed of the degree information of the source symbol and the first random seed of the index information of the source symbol are generated by corresponding to the degree information of the source symbol and the index information of the source symbol, and the data frame is reduced.
  • the amount of data carried increases the transmission rate of data frames.
  • the third random seed of the index information of the source symbol and the second random seed of the index information of the source symbol further reduce the amount of data carried in the data frame, thereby improving the transmission of the data frame. rate.
  • the correspondence between the degree information of the source symbol and the index information of the source symbol is stored in advance, and the data frame carries only the encoded information, so that the data amount of the data frame is smaller.
  • the transfer rate is faster.
  • the method further includes:
  • Generating a data frame according to the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol including:
  • the method further includes:
  • Generating a data frame according to the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol including:
  • the information encapsulation manner corresponding to the data mode information according to the coding symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, the index information of the source symbol, and the Data mode information, generating data frames.
  • a communication device for wireless optical communication comprising:
  • a receiving module configured to receive a data frame sent by the second device
  • an acquiring module configured to acquire, according to the data frame, a coded symbol, a length of the source symbol, a number of the source symbol, a degree information of the source symbol, and a location
  • the index information of the source symbol wherein the degree information of the source symbol indicates the number of source symbols included in each source symbol group participating in the encoding process, and the index information of the source symbol indicates each source symbol group participating in the encoding process
  • An index of the included source symbol where the first determining module is configured to determine the source symbol according to the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and index information of the source symbol And a mapping relationship between the coded symbol and the second determining module, configured to determine the source symbol according to the mapping relationship, the coded symbol, and a preset codeless rate decoding algorithm.
  • the data frame carries the degree information of the source symbol and the index information of the source symbol
  • the acquiring module is specifically configured to:
  • the data frame carries a first random seed of the degree information of the source symbol and a first random seed of the index information of the source symbol
  • the acquiring module is specifically configured to: :
  • the data frame carries a second random seed of the degree information of the source symbol and a second random seed of the index information of the source symbol, where the acquiring module is specifically configured to: :
  • the data frame carries the coded information identifier of the source symbol
  • the acquiring module is specifically configured to:
  • the data frame further carries the first check information
  • the communications device further includes:
  • a generating module configured to generate second verification information according to the degree information of the source symbol, the index information of the source symbol, and a preset verification algorithm
  • a third determining module configured to: if the second verification The information is the same as the first check information, and triggers the first determining module to perform, according to the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol. And determining a mapping relationship between the source symbol and the encoded symbol.
  • the data frame further carries data mode information
  • the communications device further includes:
  • a fourth determining module configured to determine, according to a correspondence between the pre-stored data mode information and the information acquiring manner, an information acquiring manner corresponding to the data mode information in the data frame; the acquiring module is specifically configured to: The information acquiring manner corresponding to the data mode information in the data frame, and acquiring the degree information of the source symbol and the index information of the source symbol according to the data frame.
  • a communication device for wireless optical communication comprising:
  • An obtaining module configured to acquire a source symbol, a length of the source symbol, and a number of the source symbols
  • a first generating module configured to generate, according to the source symbol and a preset codeless coding algorithm, an encoding symbol, degree information of the source symbol, and index information of the source symbol, where the degree of the source symbol
  • the information indicates the number of source symbols included in each source symbol group participating in the encoding process, and the index information of the source symbol indicates an index of source symbols included in each source symbol group participating in the encoding process;
  • a sending module configured to generate a data frame according to the coded symbol, a length of the source symbol, a number of the source symbol, degree information of the source symbol, and index information of the source symbol, and send the data frame to the first device Send the data frame.
  • the sending module is specifically configured to:
  • the sending module is specifically configured to:
  • the sending module is specifically configured to:
  • the sending module is specifically configured to:
  • the communications apparatus further includes:
  • a second generation module configured to generate first verification information according to the degree information of the source symbol, the index information of the source symbol, and a preset verification algorithm
  • the sending module is specifically configured to:
  • the communications apparatus further includes:
  • a determining module configured to determine, according to the pre-stored data mode information and the information encapsulation manner, an information encapsulation manner corresponding to the data mode information in the data frame;
  • the sending module is specifically configured to:
  • the information encapsulation manner corresponding to the data mode information according to the coding symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, the index information of the source symbol, and the Data mode information, generating data frames.
  • a first device comprising: one or more processors, one or more memories, one or more baseband processing modules, one or more light source detectors, one or Multiple optical antennas;
  • memory is used to store program instructions
  • the processor configured to control the baseband processing module, the light source detector, and the optical antenna to perform the method according to the first aspect according to program instructions stored in the memory;
  • the optical antenna is configured to receive a light intensity signal, and send the light intensity signal to the photodetector;
  • the photodetector is configured to receive a light intensity signal, convert the light intensity signal into a biased electrical signal, and send the biased electrical signal to the baseband processing module, wherein the biased electrical signal can be Is a biased current signal or a biased voltage signal;
  • the baseband processing module is configured to receive an electrical signal with a bias, and perform demodulation processing and decoding processing on the biased electrical signal to generate a source symbol.
  • a second device comprising: one or more processors, one or more memories, one or more baseband processing modules, one or more light source drivers, one or more Light source
  • memory is used to store program instructions
  • the processor configured to control the baseband processing module, the light source driver, and the light source according to the program instructions stored in the memory to perform the method of the second aspect;
  • the baseband processing module is configured to perform coding processing and modulation processing on the source symbol, generate a data frame, and send the data frame to the light source driver;
  • the light source driver is configured to generate a direct current or a direct current voltage, and superimpose the received data frame with a direct current or a direct current voltage to generate an electrical signal with a bias, and send the biased electrical signal to the Light source
  • the light source is configured to generate a light intensity signal according to an electrical signal with a bias.
  • a computer readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of the first aspect.
  • a computer readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of the second aspect.
  • the first device receives the data frame sent by the second device. Then, the first device acquires the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol according to the data frame. Thereafter, the first device determines a mapping relationship between the source symbol and the encoded symbol according to the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol. Finally, the first device determines the source symbol according to the mapping relationship, the encoding symbol, and the preset codeless decoding algorithm.
  • the second device generates the encoded information according to the adaptive code rate, and sends the encoded information to the first device through the data frame.
  • the first device may generate corresponding source symbols according to the foregoing coding information, so as to implement code rate adaptation according to the dynamic channel of the VLC physical layer.
  • FIG. 1 is a schematic diagram of a network system according to an embodiment of the present application.
  • FIG. 2 is a flowchart of a method for a method for wireless optical communication according to an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of a data frame according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a data frame according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a data frame according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a data frame according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a data frame according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a communication apparatus for wireless optical communication according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a communication apparatus for wireless optical communication according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a communication apparatus for wireless optical communication according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a communication apparatus for wireless optical communication according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of a communication apparatus for wireless optical communication according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of a communication apparatus for wireless optical communication according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of a device according to an embodiment of the present application.
  • adaptive coding is a communication technology that can adaptively adjust the code rate according to the channel environment, so that communication performance can be guaranteed with redundancy at a small cost. Therefore, adaptive coding becomes a key technology that balances communication performance and transmission efficiency in a dynamic channel environment.
  • a concatenated code composed of an RS code or an RS code and a convolutional code is determined as a channel coding, and in the IEEE.
  • a high performance low density parity check code (LDPC) is proposed as one of the physical layer channel coding.
  • LDPC high performance low density parity check code
  • the wireless optical channel is fragile and is easily blocked by obstacles, and the received signal strength is large in the dynamic range in the moving scene; (2) the wireless optical channel is subjected to the radiation mode of the light source end (such as the surface of the light emitting chip, the reflective cup, and the package lens). Etc.) and photodetector response function (field of view, carrier diffusion, quantum efficiency, etc.) have a greater impact; (3) the channel environment is complex, channel reciprocity is poor.
  • the conventional fixed rate coding such as code length and code rate, needs to be preset according to a preset channel model and channel state information (CSI) obtained according to the feedback channel.
  • the too low code rate results in a decrease in transmission efficiency due to redundant check bits; and when the channel condition is inferior to the assumption, the too high code rate cannot provide more parity bits because This leads to performance degradation, making it difficult to implement rate adaptation in a dynamic VLC channel.
  • Some researchers have proposed a scheme of codeless codec transmission, and study the coding structure, coding type, degree distribution and low complexity of the wireless optical channel. Decoding algorithms, etc., are expected to be able to achieve efficient transmission of approximate channel capacity in wireless optical communication by the feature of code rate-free code rate adaptation.
  • Rateless coding or fountain code coding is a coding scheme that can implement code rate adaptation according to the channel environment.
  • the simple principle is to divide the original data into a certain number of data packets at the coding end. These packets are encoded, and each packet packet after encoding has global partial information. As long as the decoding end correctly receives a sufficient number of encoded data packets in the packet data stream, all original data packets can be recovered with a certain probability, without considering which specific encoded data packets in the encoded data packet stream are received and The corresponding receiving order can realize the codeless rate decoding. And the system only needs a simple feedback or no feedback to achieve rate adaptation, so the channel capacity utilization is high, and it can adapt to various types of wireless transmission channels.
  • the decoding complexity of the codeless rate code is linear complexity, which is good for heterogeneous users, and supports interrupted transmission, and the decoding end does not need to consider the order of receiving symbols.
  • the traditional codeless rate code is a binary erasure channel (BEC) based on the transmission control protocol (TCP)/internet protocol (IP) Internet and is oriented to data packets.
  • the application layer forward error correction (AL-FEC) is designed. This type of erasure channel is characterized in that a packet is either received correctly or discarded due to errors, congestion, incorrect routing, and the like.
  • the traditional typical application of codeless rate coding is applied as application layer coding in multimedia broadcast multicast service (MBMS) and digital video broadcasting (DVB), and as FEC coding specification.
  • the code was adopted by the 3rd generation partnership project (3GPP) MBMS and DVB-T.
  • 3GPP 3rd generation partnership project
  • the traditional wireless channels are generally fading channels and noisy channels, and are inevitably subject to noise interference during transmission.
  • the encoding node directly receives the input soft information that is interfered and transmits it to the check node, thereby resulting in the correctness of the node likelihood information at the beginning of decoding.
  • the hard decision decoding algorithm based on the traditional codeless decoding will introduce many errors, resulting in performance degradation.
  • the codeless rate code in order to generalize the codeless rate code to a more generalized wireless channel such as a wireless relay channel, an additive white Gaussian noise channel, and a fading channel (including a Rayleigh channel and a Rice channel), it is necessary to adopt a soft decision belief propagation (such as soft decision). Algorithms such as belief propagation, BP) algorithm to achieve reliability decoding.
  • BP belief propagation
  • the code length of the codeless code encoding is generally longer, thus introducing the decoding delay and the storage space overhead.
  • the researchers redesigned the codeless structure, coding type and degree distribution to design a short code codeless rate code suitable for delay sensitive scenes and fading channels.
  • Strider code and Spinal code are two high-performance codeless code codes suitable for Gaussian channel.
  • the embodiment of the present application provides a method for wireless optical communication, which can be applied to a scenario of an indoor high-speed VLC network and an outdoor VLC network based on LiFi technology.
  • the indoor high-speed VLC network can be composed of indoor lighting and smart mobile terminals (such as mobile phones, wearable devices, etc.).
  • the outdoor VLC network may be composed of a vehicle-mounted intelligent terminal and an infrastructure (such as a street light, a traffic light, a billboard, etc.), or may be composed of a vehicle-mounted intelligent terminal and a vehicle-mounted intelligent terminal.
  • FIG. 1 is a schematic diagram of a network system provided by an embodiment of the present application. A second device and a first device are included in the network system.
  • the second device is a network device or a terminal device that can generate and transmit an optical signal, and specifically may be a device capable of generating an optical signal, such as an indoor lighting, a street light, a traffic light, a vehicle light, a base station, and the like.
  • the second device is also capable of receiving an optical signal.
  • the first device is a network device or a terminal device capable of receiving an optical signal, such as an intelligent mobile terminal, an in-vehicle intelligent terminal, and other intelligent terminals. Further optionally, the first device can also generate and transmit an optical signal. Data can be transmitted between the second device and the first device through visible light to implement data communication.
  • the second device performs encoding processing on the source symbols that need to be transmitted to obtain coded symbols and encoding parameters.
  • the second device then encapsulates the encoded symbols and encoding parameters into data frames and sends them to the first device.
  • the first device receives the data frame, and decodes the encoded symbol according to the encoding parameter, thereby obtaining the source symbol.
  • the embodiment of the present application provides a method for wireless optical communication, which can implement code rate adaptation according to a dynamic channel of a VLC physical layer, as shown in FIG. 2, and the specific processing flow is as follows:
  • Step 201 The second device acquires a source symbol, a length of the source symbol, and a number of source symbols.
  • the second device when the second device needs to communicate with the first device, the second device may acquire the source symbol to be encoded, the length of the source symbol, and the number of source symbols.
  • Step 202 The second device generates, according to the source symbol and the preset codeless coding algorithm, the coding symbol, the degree information of the source symbol, and the index information of the source symbol.
  • the degree information of the source symbol indicates the number of source symbols included in each source symbol group participating in the encoding process, and the index information of the source symbol indicates an index of the source symbol included in each source symbol group participating in the encoding process.
  • a codeless coding algorithm may be pre-stored in the second device.
  • the algorithm may be a codeless rate encoding algorithm for a system code (such as a RaptorQ code) or a codeless rate encoding algorithm for a non-system code, which is not limited in this application.
  • the second device may perform encoding processing on the source symbol according to the codeless coding algorithm to obtain a coded symbol, and generate coded information.
  • the coding information may include degree information of the source symbol and index information of the source symbol.
  • the source symbols may be grouped into a plurality of source symbol groups, and the source symbols in the respective source symbol groups are subjected to encoding processing (such as bitwise exclusive OR processing) to obtain encoded symbols.
  • the degree information of the source symbol indicates the number of source symbols included in each source symbol group participating in the encoding process, and the index information of the source symbol indicates an index of the source symbol included in each source symbol group participating in the encoding process.
  • the second device performs encoding processing on 10 source symbols, and the index of the source symbols is 1 to 10.
  • the second device groups the source symbols into four source symbol groups: (1, 3, 5), (2, 4, 6), (1, 3, 8, 9) and (2, 4, 5, 6, 10) .
  • the degree information of the source symbol is 3, 3, 4, and 5, and the index information of the source symbol is 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, 10 .
  • Step 203 The second device generates a data frame according to the coded symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol, and sends the data frame to the first device.
  • the second device may obtain the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol.
  • the data frame is encapsulated into a physical layer, and then the data frame of the physical layer is sent to the first device through a dynamic channel of the VLC physical layer established between the first device.
  • the structure of the data frame may include: a physical layer preamble, a physical layer header, and a physical layer data load.
  • the physical layer synchronization preamble is used for synchronizing data frames between the second device and the first device, and the physical layer synchronization preamble is a time domain sequence, and channel coding and line coding are not required.
  • the physical layer header may include the following fields: data mode, channel number, modulation and run length limited coding scheme index (MCS-ID), source symbol length and number (source symbol) Length and number, SSLN), dimming pattern, compensation symbol, reserved fields, and header check sequence (HCS).
  • MCS-ID modulation and run length limited coding scheme index
  • HCS header check sequence
  • the data mode is used to carry the data mode information of the data frame
  • the channel number is used to carry the band information of the visible light of the data frame
  • the MCS-ID is used to carry the modulation mode information, the line coding mode information, and the optical clock of the data frame.
  • the optical clock rate information is different from the code type and the code rate information that the MCS-ID is used to carry the channel coding in the IEEE 802.15.7 standard protocol.
  • the MCS-ID in the embodiment of the present application is used to carry the line coding mode information.
  • the SSLN is configured to carry the length information of the source symbol and the number of source symbols in the data frame; the dimming mode is used to carry the dimming mode information and the dimming percentage information supported by the data frame; and the compensation symbol is used to carry the dimming ratio.
  • Information; the reserved area is used for extension of the subsequent function of the data frame; the HCS is used to carry the check code of the physical layer header.
  • the physical layer data load may include the following fields: degree and source symbol index (DSSI), channel estimation sequence (CES), several coded symbols, and pad bits.
  • DSSI degree and source symbol index
  • CES channel estimation sequence
  • pad bits The DSSI is used to carry the degree information of the source symbol of the data frame and the index information of the source symbol
  • the CES is used to carry the channel estimation and channel equalization information of the data frame
  • the code symbol is used to encode the source symbol carrying the data frame.
  • the encoded symbol obtained after processing; the padding bits are used to prevent the data in the physical layer data payload from being mistaken for the boundary of the data frame.
  • the second device may generate a data frame of the physical layer by any one of the following methods:
  • the SSLN is set in the physical layer header
  • the DSSI is set in the physical layer data payload.
  • the DSSI is set in the physical layer header
  • the SSLN is set in the physical layer data payload.
  • both DSSI and SSLN are set in the physical layer header.
  • DSSI and SSLN are set in the physical layer data payload.
  • the embodiment of the present application introduces the SSLN in the physical layer header, and the DSSI is set in the physical layer data load as an example. Other situations are similar, and the description is not repeated herein.
  • the location of each field in the physical layer header and the location of each field in the physical layer data load may be adjusted and set by the designer according to actual needs. This application is not limited.
  • the manner in which the second device generates the data frame according to the coded symbol, the length of the source symbol, the number of the source symbol, the degree information of the source symbol, and the index information of the source symbol may be various, and the embodiment of the present application provides several A feasible processing method is introduced in combination with the specific structure of the data frame of the physical layer.
  • the second device encapsulates the coded symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol to obtain a data frame.
  • the second device may encapsulate the encoding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol. In the data frame, and sent to the first device.
  • the second device In a second manner, as shown in FIG. 4, the second device generates a first random seed of the degree information of the source symbol according to the degree information of the source symbol, the index information of the source symbol, and the preset first pseudo random number generation algorithm. a first random seed of index information of the source symbol; performing a encapsulation process on the first random seed of the first random seed and the index information of the source symbol of the encoded symbol, the length of the source symbol, the number of source symbols, and the degree information of the source symbol, Get the data frame.
  • the first pseudo random number generation algorithm may be pre-stored in the second device.
  • the second device may respectively generate the first random seed of the degree information of the source symbol and the first random number of the index information of the source symbol according to the first pseudo random number generation algorithm. seed.
  • the second device may encapsulate the first random seed of the coding symbol, the length of the source symbol, the number of source symbols, the first random seed of the source symbol, and the first random seed of the index information of the source symbol in the data frame, and send the data to the data frame.
  • the first random seed of the index information of the source symbol may be a sequence of random seeds, the number of random seeds is the same as the number of source symbol groups, and each random seed is generated by index information of source symbols in the corresponding source symbol group.
  • the degree information of the source symbol is 3, 3, 4, and 5, and the index information of the source symbol is 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, 10,
  • the second device may generate 2 (ie, the first random seed of the degree information of the source symbol) according to the 3, 3, 4, 5 and the first pseudo random number generation algorithm.
  • the second device can generate 2, 7 according to 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, 10 and the first pseudo random number generation algorithm. , 9, 11 (the first random seed of the index information of the source symbol).
  • the first random seed of the degree information of the source symbol and the first random seed of the index information of the source symbol are generated by corresponding to the degree information of the source symbol and the index information of the source symbol, and the data frame is reduced.
  • the amount of data carried increases the transmission rate of data frames.
  • the second device In a third mode, as shown in FIG. 5, the second device generates a third random seed of the index information of the source symbol according to the index information of the source symbol, the degree information of the source symbol, and the preset third pseudo random number generation algorithm. Generating a second random seed of the degree information of the source symbol and a second random number of the index information of the source symbol according to the degree information of the source symbol, the third random seed of the index information of the source symbol, and the preset second pseudo random number generating algorithm a seed; performing a encapsulation process on the second random seed of the encoding information, the length of the source symbol, the number of source symbols, the second random seed of the source symbol, and the index information of the source symbol to obtain a data frame.
  • the second device may pre-store the number of source symbol groups corresponding to the second pseudo-random number generation algorithm, the third pseudo-random algorithm, and the degree information of the source symbol, where the second pseudo-random number generation algorithm,
  • the third pseudo-random algorithm and the first pseudo-random number generating algorithm in the second mode may be the same or different, and are not limited in the embodiment of the present application.
  • the second device may generate a second random seed of the degree information of the source symbol according to the degree information of the source symbol and the second pseudo random number generation algorithm. Then, the second device generates a third random seed of the index information of the source symbol according to the index information of the source symbol, the number of source symbol groups corresponding to the degree information of the source symbol, and the third pseudo random number generation algorithm. Then, the second device may generate a second random seed of the index information of the source symbol according to the third random seed of the index information of the source symbol, the degree information of the source symbol, and the second pseudo random number generation algorithm.
  • the second device may encapsulate the second random seed of the coding symbol, the length of the source symbol, the number of source symbols, the second random seed of the degree information of the source symbol, and the second random seed of the index information of the source symbol in the data frame, and send the data to the data frame.
  • the second random seed of the index information of the source symbol is a random seed of the third random seed of the index information of the source symbol.
  • the degree information of the source symbol is 3, 3, 4, and 5, and the index information of the source symbol is 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, 10, the number of source symbol groups corresponding to the degree information of the source symbol is 4, and the second device may generate 2 according to the 3, 3, 4, 5, and the second pseudo random number generation algorithms (ie, the degree information of the source symbol) Two random seeds).
  • the second device can generate the algorithm according to 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, 10, and 4 and the third pseudo random number generation algorithm.
  • the third random seed of the index information of the source symbol and the second random seed of the index information of the source symbol further reduce the amount of data carried in the data frame, thereby improving the transmission of the data frame. rate.
  • the second device determines, according to the pre-stored coding information, the correspondence between the degree information of the source symbol and the index information of the source symbol, and determines the degree information and the source symbol of the corresponding source symbol.
  • Encoding information identifier of the source symbol of the index information encapsulating the encoded symbol, the length of the source symbol, the number of source symbols, and the encoding information identifier of the source symbol to obtain a data frame.
  • the correspondence between the coding information identifier and the degree information of the source symbol and the index information of the source symbol may be pre-stored in the second device.
  • the second device may query the degree information and the source of the corresponding source symbol in the correspondence between the coding information identifier and the degree information of the source symbol and the index information of the source symbol.
  • the encoded information identifier of the index information of the symbol may be encapsulate the coded symbol, the length of the source symbol, the number of source symbols, and the coded information identifier of the source symbol in the data frame, and send the data to the first device.
  • the correspondence between the coding information identifier and the degree information of the source symbol and the index information of the source symbol is 4B, and the degree information of the source symbol is 3, 3, 4, 5, and the source.
  • the index information of the symbols is 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, and 10.
  • the correspondence between the degree information of the source symbol and the index information of the source symbol is stored in advance, and the data frame carries only the encoded information, so that the data amount of the data frame is smaller.
  • the transfer rate is faster.
  • Step 204 The first device receives the data frame sent by the second device.
  • the first device may receive, by using a dynamic channel of the VLC physical layer established between the second device, the second device to send a data frame of the physical layer.
  • Step 205 The first device acquires, according to the data frame, an encoding symbol, a length of the source symbol, a number of source symbols, degree information of the source symbol, and index information of the source symbol.
  • the degree information of the source symbol indicates the number of source symbols included in each source symbol group participating in the encoding process, and the index information of the source symbol indicates an index of the source symbol included in each source symbol group participating in the encoding process.
  • the first device may obtain the coded symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol according to the data frame.
  • the manner in which the first device obtains the degree information of the source symbol and the index information of the source symbol according to the data frame may be various.
  • the embodiment of the present application provides several feasible processing manners, and combines the data frames of the physical layer. The specific structure is introduced.
  • the data frame carries the degree information of the active symbol and the index information of the source symbol
  • the first device can acquire the source carried in the data frame.
  • the degree information of the symbol and the index information of the source symbol can be acquired.
  • the first device may parse the data frame to obtain degree information of the source symbol and index information of the source symbol carried in the data frame.
  • the second mode is directed to the second mode in step 203: as shown in FIG. 4, the first random seed carrying the degree information of the active symbol and the first random seed of the index information of the source symbol in the data frame,
  • a device may generate degree information of the source symbol and index information of the source symbol according to the first random seed of the degree information of the source symbol and the first random seed of the index information of the source symbol.
  • the first device may pre-store the first pseudo-random number generation algorithm and the number of source symbol groups corresponding to the degree information of the source symbol.
  • the first device may parse the data frame to obtain a first random seed of the degree information of the source symbol carried in the data frame, and a first random seed of the index information of the source symbol.
  • the first device may generate the degree information of the source symbol according to the first random seed of the degree information of the source symbol, the number of source symbol groups corresponding to the degree information of the source symbol, and the first pseudo random number generation algorithm.
  • the index information of the source symbol is generated according to the degree information of the source symbol, the first random seed of the index information of the source symbol, and the first pseudo random number generation algorithm.
  • the second device may generate the algorithm according to the 4, 2 and the first pseudo random number generation algorithm. , 3, 4, 5.
  • the second device can generate 1, 3, 5, 2, 4, 6, according to (3, 3, 4, 5), (2, 7, 9, 11) and the first pseudo random number generation algorithm, respectively. 1, 3, 8, 9, 2, 4, 5, 6, 10.
  • the first random seed of the degree information of the source symbol and the first random seed of the index information of the source symbol are generated by corresponding to the degree information of the source symbol and the index information of the source symbol, and the data frame is reduced.
  • the amount of data carried increases the transmission rate of data frames.
  • the third mode is directed to the third mode in step 203: as shown in FIG. 5, the second random seed carrying the degree information of the active symbol and the second random seed of the index information of the source symbol in the data frame, first
  • the specific processing procedure of the device for obtaining the degree information of the source symbol and the index information of the source symbol according to the data frame is: a second random seed of the first device according to the degree information of the source symbol, a second random seed of the index information of the source symbol, and a pre- a second pseudo-random number generation algorithm, which generates a third random seed of the source symbol and a degree information of the source symbol; a third random seed according to the index information of the source symbol, a degree information of the source symbol, and a preset number
  • the three pseudo random number generation algorithm generates index information of the source symbol.
  • the number of source symbol groups corresponding to the second pseudo random number generation algorithm, the third pseudo random number generation algorithm, and the degree information of the source symbol may be pre-stored in the first device.
  • the first device may parse the data frame to obtain a second random seed of the degree information of the source symbol carried in the data frame and a second random seed of the index information of the source symbol. Then, the first device may generate an algorithm according to the second random seed of the degree information of the source symbol, the second random seed of the index information of the source symbol, the number of source symbol groups corresponding to the degree information of the source symbol, and the second pseudo random number generation algorithm, A third random seed of the degree information of the source symbol and the index information of the source symbol is generated.
  • the first device generates index information of the source symbol according to the degree information of the source symbol, the third random seed of the index information of the source symbol, and the third pseudo random number generation algorithm.
  • the number of source symbol groups corresponding to the degree information of the source symbol is 4, the second random seed of the degree information of the source symbol is 2, and the second random seed of the index information of the source symbol is 5, and the second device can be based on 4 , 2, 5, and a second pseudo-random number generation algorithm, generating (3, 3, 4, 5) and (2, 7, 9, 11), and then, the second device can be based on (3, 3, 4, 5, respectively) , (2, 7, 9, 11) and the third pseudo-random number generation algorithm, generating 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, 10 .
  • the third random seed of the index information of the source symbol and the second random seed of the index information of the source symbol further reduce the amount of data carried in the data frame, thereby improving the transmission of the data frame. rate.
  • the fourth mode is directed to the fourth mode in step 203: as shown in FIG. 6, the data frame carries the coding information identifier of the active symbol, and the first device acquires the degree information of the source symbol and the source symbol according to the data frame.
  • the specific processing procedure of the index information is: the first device determines the degree information of the source symbol corresponding to the coding information identifier of the source symbol according to the correspondence between the degree information of the source symbol and the index information of the source symbol according to the pre-stored coding information identifier. And index information of the source symbol.
  • the correspondence between the coding information identifier and the degree information of the source symbol and the index information of the source symbol may be pre-stored in the first device.
  • the correspondence is the same as the corresponding relationship pre-stored by the second device.
  • the first device may parse the data frame to obtain an identifier of the coded information carried in the data frame.
  • the first device may query whether there is an entry corresponding to the coded information identifier in the correspondence between the coded information identifier and the degree information of the source symbol and the index information of the source symbol, and if yes, obtain the degree of the corresponding source symbol. Index information for information and source symbols.
  • the coding information identifier is 4B in the correspondence between the coding information identifier and the source information and the source symbol index information, and the source symbol degree information is 3, 3, 4, 5, and the source.
  • the index information of the symbols is 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, and 10.
  • the correspondence between the degree information of the source symbol and the index information of the source symbol is stored in advance, and the data frame carries only the encoded information, so that the data amount of the data frame is smaller.
  • the transfer rate is faster.
  • Step 206 The first device determines, according to the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol, a mapping relationship between the source symbol and the encoded symbol.
  • the first device may further generate a mapping relationship between the source symbol and the encoded symbol.
  • the mapping relationship between the source symbol and the encoding symbol may be represented by an encoding matrix or a generating matrix or a Tanner graph, and may also be represented by other methods, which is not limited in this application.
  • Step 207 The first device determines the source symbol according to the mapping relationship, the coded symbol, and the preset codeless rate decoding algorithm.
  • the first device has a code-free decoding algorithm pre-stored, and the code-free decoding algorithm may select a soft-decision-confidence propagation algorithm, or may select another code-free decoding algorithm that carries soft information.
  • the code-free decoding algorithm may select a soft-decision-confidence propagation algorithm, or may select another code-free decoding algorithm that carries soft information. This application is not limited.
  • the first device may further decode the coded symbol according to the mapping relationship, the coded symbol, and the codeless rate decoding algorithm, thereby obtaining the source symbol.
  • the second device may perform verification and protection on the degree information of the source symbol and the index information of the source symbol according to the preset verification algorithm, as shown in FIG. 7.
  • the specific processing procedure is: the second device is based on the source symbol.
  • the degree information, the index information of the source symbol, and the preset verification algorithm generate the first verification information.
  • the specific processing of step 203 is: the second device generates a data frame according to the coded symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, the index information of the source symbol, and the first check information.
  • a verification algorithm may be pre-stored in the second device. After generating the degree information of the source symbol and the index information of the source symbol, the second device may generate the first verification information according to the verification algorithm, the degree information of the source symbol, and the index information of the source symbol. Then, the second device may encapsulate the coding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, the index information of the source symbol, and the first check information in the data frame, and send the data to the first device.
  • the step of performing protection check on the degree information of the source symbol and the index information of the source symbol according to the preset verification algorithm by the second device, as shown in FIG. 7, the first frame is also carried in the data frame.
  • the first device may perform verification on the degree information of the source symbol and the index information of the source symbol according to the first verification information.
  • the specific processing procedure is: the first device according to the degree information of the source symbol and the index information of the source symbol.
  • the index information determines the mapping relationship between the source symbol and the encoded symbol.
  • a verification algorithm may be pre-stored in the first device.
  • the verification algorithm is the same as the verification algorithm pre-stored by the second device.
  • the first device may parse the data frame to obtain degree information of the source symbol carried in the data frame, index information of the source symbol, and first check information. Then, the first device generates second check information according to the degree information of the source symbol, the index information of the source symbol, and the check algorithm, and determines whether the second check information is the same as the first check information. If the second check information is the same as the first check information, it indicates that the degree information of the source symbol and the index information of the source symbol do not change during the transmission, and the first device may be based on the length of the source symbol and the source symbol.
  • the number of the source symbols, the degree information of the source symbols, and the index information of the source symbols determine the mapping relationship between the source symbols and the encoded symbols. If the second check information is different from the first check information, it indicates that the degree information of the source symbol and the index information of the source symbol change during the transmission, and the first device may request the second device to perform retransmission.
  • the second device may also generate the first check information according to different information.
  • the second device may Generating, according to the first random seed of the first random seed and the index information of the source symbol of the check information, the first random seed of the source symbol, the first check information; and the third device in step 203, the second device may further a second random seed of the verification algorithm, the second random seed of the degree information of the source symbol, and the index information of the source symbol, to generate the first verification information; and for the fourth mode in step 203, the second device may also be based on the calibration The algorithm and the encoded information identifier are generated to generate the first verification information.
  • the first device may also generate a second check according to the first random seed of the check algorithm, the first random seed of the degree information of the source symbol, and the index information of the source symbol.
  • the first device may further generate the second check information according to the second random seed of the check algorithm, the second random seed of the degree information of the source symbol, and the index information of the source symbol.
  • the first device may further generate second check information according to the check algorithm and the coded information identifier, and determine whether the second check information is the same as the first check information.
  • the specific processing procedure is similar to the processing described above, and will not be described again in this application.
  • the second device may select different information encapsulation manners to generate data frames according to different data mode information.
  • the specific processing process is: the second device determines the data frame according to the pre-stored data mode information and the information encapsulation manner.
  • the specific processing procedure of step 203 is: the second device is based on the information encapsulation manner corresponding to the data mode information, according to the coding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol.
  • Data mode information generating data frames.
  • the IEEE divides the data mode of the data frame of the VLC physical layer into a single mode, a packed mode, and a burst mode according to the VLC service type in the released 802.15.7 standard protocol. ) and on-off Keying dimmed mode.
  • single mode mode is used for short data or small file data transmission (such as response signal, connection signal, beacon signal or information broadcast, etc.)
  • each data frame includes one physical layer data unit (physical layer) Data unit, PPDU).
  • Packet mode and burst mode are used for high-speed transmission of long data or large file data.
  • the key-switching dimming mode is used to support the dimming requirement. As shown in FIG. 3, the dimming mode field and the compensation symbol field can be implemented in the data frame.
  • the second device may directly encapsulate the degree information of the source symbol and the index information of the source symbol into the data frame, and send the data frame to the first device.
  • the second device may select the degree information of the corresponding source symbol and the source symbol when transmitting the data frame.
  • the encoded information identifier of the index information is encapsulated in the data frame and sent to the first device.
  • the correspondence between the data mode information and the information encapsulation mode may be pre-stored in the second device.
  • the second device may be configured according to the correspondence between the pre-stored data mode information and the information encapsulation mode. Determine the corresponding information encapsulation method. For example, when the data mode information of the data frame is the packet mode and the burst mode, the degree information of the source symbol and the index information of the source symbol or the index information of the first random seed and the source symbol of the degree information of the source symbol are A second random seed of the random seed or the symbol information of the source symbol and a second random seed of the index information of the source symbol are encapsulated in the data frame, and the data frame is transmitted to the first device.
  • the coded information identifier is encapsulated in the data frame, and the data frame is sent to the first device.
  • the second device may be configured to generate a data frame according to different data mode information according to different data mode information, where the data frame may also carry data mode information, and the first device may be configured according to different data modes.
  • Information selecting different information acquisition methods to obtain the degree information of the source symbol and the index information of the source symbol.
  • the specific processing procedure is: determining the data pattern in the data frame according to the correspondence between the pre-stored data pattern information and the information acquisition manner. The information acquisition manner corresponding to the information; based on the information acquisition manner corresponding to the data pattern information in the data frame, the degree information of the source symbol and the index information of the source symbol are obtained according to the data frame.
  • the correspondence between the data mode information and the information acquisition manner may be pre-stored in the first device.
  • the correspondence between the data mode information and the information acquiring manner is the same as the corresponding relationship between the data mode information and the information encapsulation manner pre-stored by the second device.
  • the first device may receive the data frame, the data frame may be parsed to obtain data mode information. Then, the first device may determine a corresponding information acquisition manner according to the pre-stored data mode information and the information acquisition manner correspondence relationship. For example, when the data mode of the data frame is the packet mode and the burst mode, the first random seed and the source symbol of the degree information of the source symbol carried in the data frame and the index information of the source symbol or the degree information of the source symbol are acquired.
  • the second random seed of the index information or the second random seed of the degree information of the source symbol and the second random seed of the index information of the source symbol is obtained.
  • the first device receives the data frame sent by the second device. Then, the first device acquires the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol according to the data frame. Thereafter, the first device determines a mapping relationship between the source symbol and the encoded symbol according to the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol. Finally, the first device determines the source symbol according to the mapping relationship, the encoding symbol, and the preset codeless decoding algorithm.
  • the second device generates the encoded information according to the adaptive code rate, and sends the encoded information to the first device through the data frame.
  • the first device may generate corresponding source symbols according to the foregoing coding information, so as to implement code rate adaptation according to the dynamic channel of the VLC physical layer.
  • the embodiment of the present application further provides a communication device for wireless optical communication, where the communication device is applied to a first device, as shown in FIG. 8, the communication device includes:
  • the receiving module 810 is configured to receive a data frame sent by the second device.
  • the obtaining module 820 is configured to obtain, according to the data frame, an encoding symbol, a length of the source symbol, a number of source symbols, degree information of the source symbol, and index information of the source symbol, where the degree information of the source symbol indicates each source participating in the encoding process.
  • the number of source symbols included in the symbol group, and the index information of the source symbol indicates an index of source symbols included in each source symbol group participating in the encoding process;
  • the first determining module 830 is configured to determine, according to the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol, a mapping relationship between the source symbol and the encoded symbol;
  • the second determining module 840 is configured to determine the source symbol according to the mapping relationship, the encoding symbol, and the preset codeless decoding algorithm.
  • the data frame carries the degree information of the active symbol and the index information of the source symbol
  • the obtaining module 820 is specifically configured to:
  • the first random seed that carries the first random seed of the degree information of the active symbol and the index information of the source symbol in the data frame is specifically configured to:
  • the second random seed of the information information of the source symbol and the second random seed of the index information of the source symbol are carried in the data frame, and the acquiring module 820 is specifically configured to:
  • the index information of the source symbol is generated according to the third random seed of the index information of the source symbol, the degree information of the source symbol, and the preset third pseudo random number generation algorithm.
  • the data frame carries an encoded information identifier of the active symbol
  • the obtaining module 820 is specifically configured to:
  • the data frame also carries the first check information.
  • the communications device further includes:
  • the generating module 850 is configured to generate second verification information according to the degree information of the source symbol, the index information of the source symbol, and a preset verification algorithm.
  • the third determining module 860 is configured to: if the second check information is the same as the first check information, trigger the first determining module 830 to perform according to the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the source symbol. Index information, the step of determining the mapping relationship between the source symbol and the encoded symbol.
  • the data frame also carries data mode information.
  • the communications apparatus further includes:
  • the fourth determining module 870 is configured to determine, according to the correspondence between the pre-stored data mode information and the information acquiring manner, an information acquiring manner corresponding to the data mode information in the data frame;
  • the obtaining module 820 is specifically configured to:
  • the degree information of the source symbol and the index information of the source symbol are obtained according to the data frame based on the information acquiring manner corresponding to the data mode information in the data frame.
  • the first device receives the data frame sent by the second device by using the receiving module 810. Then, the first device acquires, by the acquiring module 820, the encoded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol according to the data frame. Then, the first device determines, by the first determining module 830, a mapping relationship between the source symbol and the encoded symbol according to the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol. Finally, the first device determines the source symbol by the second determining module 840 according to the mapping relationship, the encoding symbol, and the preset codeless decoding algorithm.
  • the second device generates the encoded information according to the adaptive code rate, and sends the encoded information to the first device through the data frame.
  • the first device may generate corresponding source symbols according to the foregoing coding information, so as to implement code rate adaptation according to the dynamic channel of the VLC physical layer.
  • the embodiment of the present application further provides a communication device for wireless optical communication, and the communication device is applied to a second device.
  • the communication device includes:
  • An obtaining module 1110 configured to acquire a source symbol, a length of the source symbol, and a number of source symbols
  • the first generating module 1120 is configured to generate, according to the source symbol and the preset codeless encoding algorithm, the encoded information, the degree information of the source symbol, and the index information of the source symbol, where the degree information of the source symbol indicates each of the participating encoding processes.
  • the number of source symbols included in the source symbol group, and the index information of the source symbol indicates an index of source symbols included in each source symbol group participating in the encoding process;
  • the sending module 1130 is configured to generate a data frame according to the coded symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol, and send the data frame to the first device.
  • the sending module 1130 is specifically configured to:
  • the coding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol are encapsulated to obtain a data frame.
  • the sending module 1130 is specifically configured to:
  • the first random seed of the first random seed and the index information of the source symbol of the coding symbol, the length of the source symbol, the number of source symbols, and the degree information of the source symbol are encapsulated to obtain a data frame.
  • the sending module 1130 is specifically configured to:
  • the second random seed of the encoding information, the length of the source symbol, the number of source symbols, the second random seed of the source symbol, and the index information of the source symbol are encapsulated to obtain a data frame.
  • the sending module 1130 is specifically configured to:
  • the communications apparatus further includes:
  • the second generation module 1140 is configured to generate first verification information according to the degree information of the source symbol, the index information of the source symbol, and a preset verification algorithm.
  • the sending module 1130 is specifically configured to:
  • a data frame is generated according to the coding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, the index information of the source symbol, and the first parity information.
  • the communication device further includes:
  • a determining module 1150 configured to determine, according to the pre-stored data mode information and the information encapsulation manner, an information encapsulation manner corresponding to the data mode information in the data frame;
  • the sending module 1130 is specifically configured to:
  • the data frame is generated based on the information encapsulation method corresponding to the data mode information, according to the coding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, the index information of the source symbol, and the data pattern information.
  • the second device acquires the source symbol, the length of the source symbol, and the number of the source symbols through the obtaining module 1110. Then, the second device generates, by the first generation module 1120, the coding symbol, the degree information of the source symbol, and the index information of the source symbol according to the source symbol and the preset codeless coding algorithm. Finally, the second device generates a data frame by the sending module 1130 according to the encoding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol, and sends the data frame to the first device.
  • the second device generates the encoded information according to the adaptive code rate, and sends the encoded information to the first device through the data frame.
  • the first device may generate corresponding source symbols according to the foregoing coding information, so as to implement code rate adaptation according to the dynamic channel of the VLC physical layer.
  • the embodiment of the present application further provides a first device, which may be a terminal device or a network device.
  • the first device includes one or more processors 1410, one or more memories 1420, one or more baseband processing modules 1430, one or more photodetectors 1460, one or more optics Antenna 1470.
  • the memory 1420 is configured to store program instructions.
  • the processor 1410 is configured to control the baseband processing module 1430, the light source detector 1460, and the optical antenna 1470 to perform the method for wireless optical communication performed by the first device according to the program instructions stored in the memory 1420.
  • the optical antenna 1470 is configured to receive a light intensity signal and transmit the light intensity signal to the photodetector 1460.
  • the photodetector 1460 is configured to receive the light intensity signal, convert the light intensity signal into a biased electrical signal, and send the biased electrical signal to the baseband processing module 1430, wherein the biased electrical signal can be a band Offset current signal or biased voltage signal.
  • the baseband processing module 1430 is configured to receive the biased electrical signal, and perform demodulation processing and decoding processing on the biased electrical signal to generate a source symbol.
  • the first device may further include one or more radio frequency transceivers 1490 for receiving or transmitting radio frequency signals.
  • the processor 1410, the memory 1420, the baseband processing module 1430, the electrical detector 1460, and the radio frequency transceiver 1490 are connected by a bus.
  • the baseband processing module 1430 may perform channel estimation, add a channel estimation sequence to the data frame, add a synchronization preamble to the data frame, or add a dimming mode or the like to the data frame.
  • the first device may further include a communication interface 1480.
  • the communication interface 1480 is configured to receive a data packet sent by another network device, parse the data packet, obtain a source symbol in the data packet, and send the source symbol to the baseband processing module 1430.
  • the first device may further include one or more light source drivers 1440 and one or more light sources 1450.
  • the role of the light source driver 1440 and the light source 1450 can be referred to the related description in the second device described below.
  • the embodiment of the present application further provides a second device, which may be a terminal device or a network device.
  • the second device includes one or more processors 1410, one or more memories 1420, one or more baseband processing modules 1430, one or more light source drivers 1440, one or more light sources 1450. .
  • the memory 1420 is configured to store program instructions.
  • the processor 1410 is configured to control the baseband processing module 1430, the light source driver 1440, and the light source 1450 to perform the method for wireless optical communication performed by the second device according to the program instructions stored in the memory 1402.
  • the baseband processing module 1430 is configured to perform encoding processing and modulation processing on the source symbols, generate a data frame, and send the data frame to the light source driver 1440.
  • the light source driver 1440 is configured to generate a direct current or a direct current voltage, and superimpose the received data frame with a direct current or a direct current voltage to generate an electrical signal with a bias, and send the biased electrical signal to the light source 1450. .
  • a light source 1450 is configured to generate a light intensity signal based on the biased electrical signal.
  • the second device may further include one or more radio frequency transceivers 1490 for receiving or transmitting radio frequency signals.
  • the processor 1410, the memory 1420, the baseband processing module 1430, the light source driver 1440, and the radio frequency transceiver 1490 are connected by a bus.
  • the baseband processing module 1430 may perform channel estimation, add a channel estimation sequence to the data frame, add a synchronization preamble to the data frame, or add a dimming mode or the like to the data frame.
  • the second device may further include a communication interface 1480.
  • the communication interface 1480 is configured to perform encapsulation processing on the source symbols, obtain data packets, and send the data packets to other network devices.
  • the second device may further include one or more photodetectors 1460, and one or more optical antennas 1470.
  • the role of photodetector 1460 and optical antenna 1470 can be referred to the related description in the first device described above.
  • the embodiment of the present application further provides a computer readable storage medium, including instructions for causing a computer to execute a method performed by the first device when the instruction is run on a computer.
  • the embodiment of the present application further provides a computer readable storage medium, including instructions for causing a computer to execute a method performed by the second device when the instruction is run on a computer.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the present application provides a method and communication device for wireless optical communication, relating to the technical field of mobile communication. The method comprises: receiving data frames sent by a second equipment; acquiring encoded symbols, the length of source symbols, the number of source symbols, degree information of source symbols and index information of source symbols according to the data frames, wherein the degree information of source symbols represents the number of source symbols contained in various source symbol groups that participate in an encoding process, and wherein the index information of source symbols represents indexes of source symbols contained in various source symbol groups that participate in the encoding process; determining a mapping relation between the source symbols and the encoded symbols according to the length of source symbols, the number of source symbols, the degree information of source symbols and the index information of source symbols; and determining the source symbols according to the mapping relation, the encoded symbols and a preset codeless rate decoding algorithm. Code rate self-adaption can be realized according to a dynamic channel of VLC physical layer by using the present application.

Description

一种用于无线光通信的方法及通信装置Method and communication device for wireless optical communication
本申请要求申请日为2018年02月08日、申请号为201810133531.6、名称为“一种适用于可见光通信的无码率传输方法及设备”的中国专利申请,以及申请日为2018年06月29日、申请号为201810714877.5、名称为“一种用于无线光通信的方法及通信装置”的中国专利申请的优先权,所述申请的全部内容通过引用结合在本申请中。This application requires a Chinese patent application with the application date of February 8, 2018, application number 201810133531.6, and the name "a method and device for transmission of non-code rate for visible light communication", and the application date is June 29, 2018. The priority of the Chinese Patent Application No. 201810714877.5, entitled "A Method and Communication Device for Wireless Optical Communication", the entire contents of which is hereby incorporated by reference.
技术领域Technical field
本申请涉及移动通信技术领域,尤其涉及一种用于无线光通信的方法及通信装置。The present application relates to the field of mobile communications technologies, and in particular, to a method and a communication device for wireless optical communication.
背景技术Background technique
随着移动互联网与物联网的快速发展,移动用户的业务流量呈爆炸式增长。以可见光通信(visible light communication,VLC)为代表的光保真技术(light fidelity,LiFi)因其具有超大带宽、绿色高能效、无电磁干扰以及易部署等优点,逐渐成为下一代移动通信的关键技术。With the rapid development of the mobile Internet and the Internet of Things, the business traffic of mobile users has exploded. Light fidelity (LiFi), represented by visible light communication (VLC), has become the key to next-generation mobile communications due to its advantages of large bandwidth, green energy efficiency, no electromagnetic interference, and easy deployment. technology.
目前,在电气和电子工程师协会(institute of electrical and electronics engineers,IEEE)发布的标准协议和提案中,以固定码率编码作为VLC物理层的信道编码。例如,在发布的IEEE 802.15.7标准协议中,以里德-所罗门(reed-solomon,RS)码或RS码与卷积码构成的级联码作为VLC物理层的信道编码,而在发布的IEEE802.15.13提案中,以高性能的低密度奇偶校验码(low density parity check code,LDPC)作为VLC物理层的信道编码。Currently, in the standard protocols and proposals issued by the Institute of Electrical and Electronics Engineers (IEEE), the channel coding is used as the VLC physical layer at a fixed rate. For example, in the published IEEE 802.15.7 standard protocol, a concatenated code composed of a Reed-Solomon (RS) code or an RS code and a convolutional code is used as a channel coding of the VLC physical layer, and is released. In the proposal of IEEE802.15.13, a high performance low density parity check code (LDPC) is used as the channel coding of the VLC physical layer.
然而,在固定码率编码中,其码率是根据预设的信道模型和反馈信道的信道状态信息(channel state information,CSI)进行设置的,无法根据VLC物理层的动态信道实现码率自适应。这样,当实际信道状况优于预设的信道模型的信道状况时,信道编码的码率设置偏低,导致校验位冗余,降低传输效率;而当实际信道状况劣于预设的信道模型的信道状况时,信道编码的码率设置偏高,无法提供足够的校验位、导致信道性能恶化。However, in the fixed rate coding, the code rate is set according to the preset channel model and the channel state information (CSI) of the feedback channel, and the rate adaptation cannot be implemented according to the dynamic channel of the VLC physical layer. . Thus, when the actual channel condition is better than the channel condition of the preset channel model, the code rate setting of the channel coding is low, resulting in check bit redundancy and reduced transmission efficiency; and when the actual channel condition is inferior to the preset channel model When the channel condition is set, the code rate of the channel coding is set too high, and sufficient check bits cannot be provided, resulting in deterioration of channel performance.
发明内容Summary of the invention
本申请实施例提供了一种用于无线光通信的方法及通信装置,以提高无线光通信中的数据传输效率。所述无线光通信可以为红外光通信、可见光通信、自由空间光通信或紫外光通信等。本申请提供的方案可应用于上述无线光通信中的任一种,本申请提供的一些实施例以无线光通信为可见光通信为例进行说明。该技术方案如下:Embodiments of the present application provide a method and a communication device for wireless optical communication to improve data transmission efficiency in wireless optical communication. The wireless optical communication may be infrared light communication, visible light communication, free space optical communication, or ultraviolet light communication. The solution provided by the present application can be applied to any one of the foregoing wireless optical communications. Some embodiments provided by the present application are described by taking wireless optical communication as visible light communication as an example. The technical solution is as follows:
第一方面,提供了一种用于无线光通信的方法,所述方法应用于第一设备,所述方法包括:In a first aspect, a method for wireless optical communication is provided, the method being applied to a first device, the method comprising:
接收第二设备发送的数据帧;根据所述数据帧,获取编码符号、源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,其中,所述源符 号的度信息表示参与编码处理的各源符号组所包含的源符号的数目,所述源符号的索引信息表示参与编码处理的各源符号组所包含的源符号的索引;根据所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,确定所述源符号和所述编码符号的映射关系;根据所述映射关系、所述编码符号以及预设的无码率译码算法,确定所述源符号。Receiving a data frame sent by the second device, and acquiring, according to the data frame, an encoding symbol, a length of the source symbol, a number of the source symbols, degree information of the source symbol, and index information of the source symbol, where The degree information of the source symbol indicates the number of source symbols included in each source symbol group participating in the encoding process, and the index information of the source symbol indicates an index of source symbols included in each source symbol group participating in the encoding process; Determining, by the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol, a mapping relationship between the source symbol and the encoded symbol; The code symbol and a preset code rate decoding algorithm determine the source symbol.
本申请的实施例中,首先,第一设备接收第二设备发送的数据帧。然后,第一设备根据数据帧,获取编码符号、源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息。之后,第一设备根据源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息,确定源符号和编码符号的映射关系。最后,第一设备根据映射关系、编码符号以及预设的无码率译码算法,确定源符号。这样,第二设备根据自适应码率,生成编码信息,并通过数据帧发送给第一设备。第一设备均可以根据上述编码信息生成对应的源符号,从而实现根据VLC物理层的动态信道实现码率自适应。In the embodiment of the present application, first, the first device receives the data frame sent by the second device. Then, the first device acquires the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol according to the data frame. Thereafter, the first device determines a mapping relationship between the source symbol and the encoded symbol according to the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol. Finally, the first device determines the source symbol according to the mapping relationship, the encoding symbol, and the preset codeless decoding algorithm. In this way, the second device generates the encoded information according to the adaptive code rate, and sends the encoded information to the first device through the data frame. The first device may generate corresponding source symbols according to the foregoing coding information, so as to implement code rate adaptation according to the dynamic channel of the VLC physical layer.
在一种可能的实现方式中,所述数据帧中携带有所述源符号的度信息和所述源符号的索引信息,所述根据所述数据帧,获取所述源符号的度信息和所述源符号的索引信息,包括:In a possible implementation, the data frame carries the degree information of the source symbol and the index information of the source symbol, and according to the data frame, the degree information and the location of the source symbol are obtained. The index information of the source symbol, including:
获取所述数据帧中携带的所述源符号的度信息和所述源符号的索引信息。Obtaining degree information of the source symbol and index information of the source symbol carried in the data frame.
在一种可能的实现方式中,所述数据帧中携带有所述源符号的度信息的第一随机种子和所述源符号的索引信息的第一随机种子,所述根据所述数据帧,获取所述源符号的度信息和所述源符号的索引信息,包括:In a possible implementation manner, the data frame carries a first random seed of the degree information of the source symbol and a first random seed of the index information of the source symbol, according to the data frame, Obtaining the degree information of the source symbol and the index information of the source symbol, including:
根据所述源符号的度信息的第一随机种子、所述源符号的索引信息的第一随机种子和预设的第一伪随机数生成算法,生成所述源符号的度信息和所述源符号的索引信息。Generating degree information of the source symbol and the source according to a first random seed of the degree information of the source symbol, a first random seed of index information of the source symbol, and a preset first pseudo random number generating algorithm Index information for symbols.
本申请的实施例中,通过将源符号的度信息和源符号的索引信息对应生成源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子,减小了数据帧中携带的数据量,提高了数据帧的传输速率。In the embodiment of the present application, the first random seed of the degree information of the source symbol and the first random seed of the index information of the source symbol are generated by corresponding to the degree information of the source symbol and the index information of the source symbol, and the data frame is reduced. The amount of data carried increases the transmission rate of data frames.
在一种可能的实现方式中,所述数据帧中携带有所述源符号的度信息的第二随机种子和所述源符号的索引信息的第二随机种子,所述根据所述数据帧,获取所述源符号的度信息和所述源符号的索引信息,包括:In a possible implementation, the data frame carries a second random seed of the degree information of the source symbol and a second random seed of the index information of the source symbol, according to the data frame, Obtaining the degree information of the source symbol and the index information of the source symbol, including:
根据所述源符号的度信息的第二随机种子、所述源符号的索引信息的第二随机种子和预设的第二伪随机数生成算法,生成所述源符号的索引信息的第三随机种子和所述源符号的度信息;根据所述源符号的索引信息的第三随机种子、所述源符号的度信息和预设的第三伪随机数生成算法,生成所述源符号的索引信息。Generating, according to the second random seed of the degree information of the source symbol, the second random seed of the index information of the source symbol, and a preset second pseudo random number generating algorithm, generating a third random of the index information of the source symbol Generating degree information of the seed and the source symbol; generating an index of the source symbol according to a third random seed of the index information of the source symbol, degree information of the source symbol, and a preset third pseudo random number generating algorithm information.
本申请的实施例中,通过将源符号的索引信息的第三随机种子生成和源符号的索引信息的第二随机种子,进一步减小了数据帧中携带的数据量,提高了数据帧的传输速率。In the embodiment of the present application, the third random seed of the index information of the source symbol and the second random seed of the index information of the source symbol further reduce the amount of data carried in the data frame, thereby improving the transmission of the data frame. rate.
在一种可能的实现方式中,所述数据帧中携带有所述源符号的编码信息标识,所述根据所述数据帧,获取所述源符号的度信息和所述源符号的索引信息,包括:In a possible implementation manner, the data frame carries an identifier information identifier of the source symbol, and according to the data frame, acquiring degree information of the source symbol and index information of the source symbol, include:
根据预先存储的编码信息标识与源符号的度信息和源符号的索引信息三者的对应 关系,确定所述源符号的编码信息标识对应的所述源符号的度信息和所述源符号的索引信息。Determining the degree information of the source symbol and the index of the source symbol corresponding to the coding information identifier of the source symbol according to the correspondence between the degree information of the source symbol and the index information of the source symbol. information.
在本申请实施例中,通过预先存储编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系,数据帧中只携带有编码信息,从而使数据帧的数据量更小,传输速率更快。In the embodiment of the present application, the correspondence between the degree information of the source symbol and the index information of the source symbol is stored in advance, and the data frame carries only the encoded information, so that the data amount of the data frame is smaller. The transfer rate is faster.
在一种可能的实现方式中,所述数据帧中还携带有第一校验信息,所述方法还包括:In a possible implementation manner, the data frame further carries the first check information, where the method further includes:
根据所述源符号的度信息、所述源符号的索引信息和预设的校验算法,生成第二校验信息;如果所述第二校验信息与所述第一校验信息相同,则执行所述根据所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,确定所述源符号和所述编码符号的映射关系步骤。Generating second verification information according to the degree information of the source symbol, the index information of the source symbol, and a preset verification algorithm; if the second verification information is the same as the first verification information, And performing the step of determining a mapping relationship between the source symbol and the encoded symbol according to the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol.
在一种可能的实现方式中,所述数据帧中还携带有数据模式信息,所述方法还包括:In a possible implementation manner, the data frame further carries data mode information, where the method further includes:
根据预先存储的数据模式信息和信息获取方式的对应关系,确定所述数据帧中的数据模式信息对应的信息获取方式;所述根据所述数据帧,获取源符号的度信息和源符号的索引信息,包括:Determining an information acquisition manner corresponding to the data mode information in the data frame according to the correspondence between the pre-stored data mode information and the information acquisition manner; and obtaining the degree information of the source symbol and the index of the source symbol according to the data frame Information, including:
基于所述数据帧中的数据模式信息对应的信息获取方式,根据所述数据帧,获取所述源符号的度信息和所述源符号的索引信息。And obtaining, according to the data frame, degree information of the source symbol and index information of the source symbol according to the information acquiring manner corresponding to the data mode information in the data frame.
第二方面,提供了一种用于无线光通信的方法,所述方法应用于第二设备,所述方法包括:In a second aspect, a method for wireless optical communication is provided, the method being applied to a second device, the method comprising:
获取源符号、所述源符号的长度和所述源符号的数目;Obtaining a source symbol, a length of the source symbol, and a number of the source symbols;
根据所述源符号和预设的无码率编码算法,生成编码符号、所述源符号的度信息和所述源符号的索引信息,其中,所述源符号的度信息表示参与编码处理的各源符号组所包含的源符号的数目,所述源符号的索引信息表示参与编码处理的各源符号组所包含的源符号的索引;Generating, according to the source symbol and a preset codeless coding algorithm, coding symbols, degree information of the source symbols, and index information of the source symbols, where the degree information of the source symbols indicates each of the participating coding processes a number of source symbols included in the source symbol group, the index information of the source symbol indicating an index of source symbols included in each source symbol group participating in the encoding process;
根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,并向第一设备发送所述数据帧。Generating a data frame according to the coded symbol, a length of the source symbol, a number of the source symbol, degree information of the source symbol, and index information of the source symbol, and transmitting the data frame to a first device .
本申请的实施例中,首先,第二设备获取源符号、源符号的长度和源符号的数目。然后,第二设备根据源符号和预设的无码率编码算法,生成编码符号、源符号的度信息和源符号的索引信息。最后,第二设备根据编码符号、源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息,生成数据帧,并向第一设备发送数据帧。这样,第二设备根据自适应码率,生成编码信息,并通过数据帧发送给第一设备。第一设备均可以根据上述编码信息生成对应的源符号,从而实现根据VLC物理层的动态信道实现码率自适应。In the embodiment of the present application, first, the second device acquires the source symbol, the length of the source symbol, and the number of source symbols. Then, the second device generates the encoded symbol, the degree information of the source symbol, and the index information of the source symbol according to the source symbol and the preset codeless encoding algorithm. Finally, the second device generates a data frame according to the coding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol, and transmits the data frame to the first device. In this way, the second device generates the encoded information according to the adaptive code rate, and sends the encoded information to the first device through the data frame. The first device may generate corresponding source symbols according to the foregoing coding information, so as to implement code rate adaptation according to the dynamic channel of the VLC physical layer.
在一种可能的实现方式中,所述根据所述编码符号、源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,包括:In a possible implementation, the generating, according to the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol, a data frame, including :
对所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息进行封装处理,得到数据帧。Encapsulating the encoded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol to obtain a data frame.
在一种可能的实现方式中,所述根据所述编码符号、源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,包括:In a possible implementation, the generating, according to the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol, a data frame, including :
根据所述源符号的度信息、所述源符号的索引信息和预设的第一伪随机数生成算法,生成所述源符号的度信息的第一随机种子和所述源符号的索引信息的第一随机种子;Generating, according to the degree information of the source symbol, the index information of the source symbol, and a preset first pseudo random number generating algorithm, the first random seed of the degree information of the source symbol and the index information of the source symbol First random seed;
对所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息的第一随机种子和所述源符号的索引信息的第一随机种子进行封装处理,得到数据帧。Encapsulating the first random seed of the coding symbol, the length of the source symbol, the number of the source symbols, the first random seed of the degree information of the source symbol, and the index information of the source symbol, to obtain a coding process Data Frame.
本申请的实施例中,通过将源符号的度信息和源符号的索引信息对应生成源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子,减小了数据帧中携带的数据量,提高了数据帧的传输速率。In the embodiment of the present application, the first random seed of the degree information of the source symbol and the first random seed of the index information of the source symbol are generated by corresponding to the degree information of the source symbol and the index information of the source symbol, and the data frame is reduced. The amount of data carried increases the transmission rate of data frames.
在一种可能的实现方式中,所述根据所述编码符号、源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,包括:In a possible implementation, the generating, according to the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol, a data frame, including :
根据所述源符号的索引信息、所述源符号的度信息和预设的第三伪随机数生成算法,生成所述源符号的索引信息的第三随机种子;Generating a third random seed of the index information of the source symbol according to the index information of the source symbol, the degree information of the source symbol, and a preset third pseudo random number generation algorithm;
根据所述源符号的度信息、所述源符号的索引信息的第三随机种子和预设的第二伪随机数生成算法,生成所述源符号的度信息的第二随机种子和所述源符号的索引信息的第二随机种子;Generating a second random seed of the degree information of the source symbol and the source according to the degree information of the source symbol, the third random seed of the index information of the source symbol, and a preset second pseudo random number generating algorithm a second random seed of index information of the symbol;
对所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息的第二随机种子和所述源符号的索引信息的第二随机种子进行封装处理,得到数据帧。Encapsulating the second random seed of the coding symbol, the length of the source symbol, the number of the source symbols, the second random seed of the degree information of the source symbol, and the index information of the source symbol, to obtain a coding process Data Frame.
本申请的实施例中,通过将源符号的索引信息的第三随机种子生成和源符号的索引信息的第二随机种子,进一步减小了数据帧中携带的数据量,提高了数据帧的传输速率。In the embodiment of the present application, the third random seed of the index information of the source symbol and the second random seed of the index information of the source symbol further reduce the amount of data carried in the data frame, thereby improving the transmission of the data frame. rate.
在一种可能的实现方式中,所述根据所述编码符号、源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,包括:In a possible implementation, the generating, according to the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol, a data frame, including :
根据预先存储的编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系,确定对应所述源符号的度信息和所述源符号的索引信息的所述源符号的编码信息标识;Determining, according to the pre-stored coding information, a correspondence relationship between the degree information of the source symbol and the index information of the source symbol, and determining the coding information of the source symbol corresponding to the degree information of the source symbol and the index information of the source symbol. Identification
对所述编码符号、源符号的长度、所述源符号的数目、所述源符号的编码信息标识进行封装处理,得到数据帧。Encapsulating the encoded symbol, the length of the source symbol, the number of the source symbols, and the encoded information identifier of the source symbol to obtain a data frame.
在本申请实施例中,通过预先存储编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系,数据帧中只携带有编码信息,从而使数据帧的数据量更小,传输速率更快。In the embodiment of the present application, the correspondence between the degree information of the source symbol and the index information of the source symbol is stored in advance, and the data frame carries only the encoded information, so that the data amount of the data frame is smaller. The transfer rate is faster.
在一种可能的实现方式中,所述方法还包括:In a possible implementation manner, the method further includes:
根据所述源符号的度信息、所述源符号的索引信息和预设的校验算法,生成第一校验信息;Generating first verification information according to the degree information of the source symbol, the index information of the source symbol, and a preset verification algorithm;
所述根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,包括:Generating a data frame according to the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol, including:
根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息、所述源符号的索引信息和所述第一校验信息,生成数据帧。Generating a data frame according to the encoded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, the index information of the source symbol, and the first parity information.
在一种可能的实现方式中,所述方法还包括:In a possible implementation manner, the method further includes:
根据预先存储的数据模式信息和信息封装方式,确定所述数据帧中的数据模式信息对应的信息封装方式;Determining, according to the pre-stored data mode information and the information encapsulation manner, an information encapsulation manner corresponding to the data mode information in the data frame;
所述根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,包括:Generating a data frame according to the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol, including:
基于所述数据模式信息对应的信息封装方式,根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息、所述源符号的索引信息和所述数据模式信息,生成数据帧。And according to the information encapsulation manner corresponding to the data mode information, according to the coding symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, the index information of the source symbol, and the Data mode information, generating data frames.
第三方面,提供了一种用于无线光通信的通信装置,所述通信装置应用于第一设备,所述通信装置包括:In a third aspect, a communication device for wireless optical communication is provided, the communication device being applied to a first device, the communication device comprising:
接收模块,用于接收第二设备发送的数据帧;获取模块,用于根据所述数据帧,获取编码符号、源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,其中,所述源符号的度信息表示参与编码处理的各源符号组所包含的源符号的数目,所述源符号的索引信息表示参与编码处理的各源符号组所包含的源符号的索引;第一确定模块,用于根据所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,确定所述源符号和所述编码符号的映射关系;第二确定模块,用于根据所述映射关系、所述编码符号以及预设的无码率译码算法,确定所述源符号。a receiving module, configured to receive a data frame sent by the second device, and an acquiring module, configured to acquire, according to the data frame, a coded symbol, a length of the source symbol, a number of the source symbol, a degree information of the source symbol, and a location The index information of the source symbol, wherein the degree information of the source symbol indicates the number of source symbols included in each source symbol group participating in the encoding process, and the index information of the source symbol indicates each source symbol group participating in the encoding process An index of the included source symbol, where the first determining module is configured to determine the source symbol according to the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and index information of the source symbol And a mapping relationship between the coded symbol and the second determining module, configured to determine the source symbol according to the mapping relationship, the coded symbol, and a preset codeless rate decoding algorithm.
在一种可能的实现方式中,所述数据帧中携带有所述源符号的度信息和所述源符号的索引信息,所述获取模块,具体用于:In a possible implementation, the data frame carries the degree information of the source symbol and the index information of the source symbol, and the acquiring module is specifically configured to:
获取所述数据帧中携带的所述源符号的度信息和所述源符号的索引信息。Obtaining degree information of the source symbol and index information of the source symbol carried in the data frame.
在一种可能的实现方式中,所述数据帧中携带有所述源符号的度信息的第一随机种子和所述源符号的索引信息的第一随机种子,所述获取模块,具体用于:In a possible implementation manner, the data frame carries a first random seed of the degree information of the source symbol and a first random seed of the index information of the source symbol, where the acquiring module is specifically configured to: :
根据所述源符号的度信息的第一随机种子、所述源符号的索引信息的第一随机种子和预设的第一伪随机数生成算法,生成所述源符号的度信息和所述源符号的索引信息。Generating degree information of the source symbol and the source according to a first random seed of the degree information of the source symbol, a first random seed of index information of the source symbol, and a preset first pseudo random number generating algorithm Index information for symbols.
在一种可能的实现方式中,所述数据帧中携带有所述源符号的度信息的第二随机种子和所述源符号的索引信息的第二随机种子,所述获取模块,具体用于:In a possible implementation, the data frame carries a second random seed of the degree information of the source symbol and a second random seed of the index information of the source symbol, where the acquiring module is specifically configured to: :
根据所述源符号的度信息的第二随机种子、所述源符号的索引信息的第二随机种子和预设的第二伪随机数生成算法,生成所述源符号的索引信息的第三随机种子和所述源符号的度信息;根据所述源符号的索引信息的第三随机种子、所述源符号的度信息和预设的第三伪随机数生成算法,生成所述源符号的索引信息。Generating, according to the second random seed of the degree information of the source symbol, the second random seed of the index information of the source symbol, and a preset second pseudo random number generating algorithm, generating a third random of the index information of the source symbol Generating degree information of the seed and the source symbol; generating an index of the source symbol according to a third random seed of the index information of the source symbol, degree information of the source symbol, and a preset third pseudo random number generating algorithm information.
在一种可能的实现方式中,所述数据帧中携带有所述源符号的编码信息标识,所述获取模块,具体用于:In a possible implementation, the data frame carries the coded information identifier of the source symbol, and the acquiring module is specifically configured to:
根据预先存储的编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系,确定所述源符号的编码信息标识对应的所述源符号的度信息和所述源符号的索引信息。Determining the degree information of the source symbol and the index of the source symbol corresponding to the coding information identifier of the source symbol according to the correspondence between the degree information of the source symbol and the index information of the source symbol. information.
在一种可能的实现方式中,所述数据帧中还携带有第一校验信息,所述通信装置 还包括:In a possible implementation, the data frame further carries the first check information, and the communications device further includes:
生成模块,用于根据所述源符号的度信息、所述源符号的索引信息和预设的校验算法,生成第二校验信息;第三确定模块,用于如果所述第二校验信息与所述第一校验信息相同,则触发第一确定模块执行所述根据所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,确定所述源符号和所述编码符号的映射关系步骤。a generating module, configured to generate second verification information according to the degree information of the source symbol, the index information of the source symbol, and a preset verification algorithm, and a third determining module, configured to: if the second verification The information is the same as the first check information, and triggers the first determining module to perform, according to the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol. And determining a mapping relationship between the source symbol and the encoded symbol.
在一种可能的实现方式中,所述数据帧中还携带有数据模式信息,所述通信装置还包括:In a possible implementation, the data frame further carries data mode information, and the communications device further includes:
第四确定模块,用于根据预先存储的数据模式信息和信息获取方式的对应关系,确定所述数据帧中的数据模式信息对应的信息获取方式;所述获取模块,具体用于:基于所述数据帧中的数据模式信息对应的信息获取方式,根据所述数据帧,获取所述源符号的度信息和所述源符号的索引信息。a fourth determining module, configured to determine, according to a correspondence between the pre-stored data mode information and the information acquiring manner, an information acquiring manner corresponding to the data mode information in the data frame; the acquiring module is specifically configured to: The information acquiring manner corresponding to the data mode information in the data frame, and acquiring the degree information of the source symbol and the index information of the source symbol according to the data frame.
第四方面,提供了一种用于无线光通信的通信装置,所述通信装置应用于第二设备,所述通信装置包括:In a fourth aspect, a communication device for wireless optical communication is provided, the communication device being applied to a second device, the communication device comprising:
获取模块,用于获取源符号、所述源符号的长度和所述源符号的数目;An obtaining module, configured to acquire a source symbol, a length of the source symbol, and a number of the source symbols;
第一生成模块,用于根据所述源符号和预设的无码率编码算法,生成编码符号、所述源符号的度信息和所述源符号的索引信息,其中,所述源符号的度信息表示参与编码处理的各源符号组所包含的源符号的数目,所述源符号的索引信息表示参与编码处理的各源符号组所包含的源符号的索引;a first generating module, configured to generate, according to the source symbol and a preset codeless coding algorithm, an encoding symbol, degree information of the source symbol, and index information of the source symbol, where the degree of the source symbol The information indicates the number of source symbols included in each source symbol group participating in the encoding process, and the index information of the source symbol indicates an index of source symbols included in each source symbol group participating in the encoding process;
发送模块,用于根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,并向第一设备发送所述数据帧。a sending module, configured to generate a data frame according to the coded symbol, a length of the source symbol, a number of the source symbol, degree information of the source symbol, and index information of the source symbol, and send the data frame to the first device Send the data frame.
在一种可能的实现方式中,所述发送模块,具体用于:In a possible implementation manner, the sending module is specifically configured to:
对所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息进行封装处理,得到数据帧。Encapsulating the encoded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol to obtain a data frame.
在一种可能的实现方式中,所述发送模块,具体用于:In a possible implementation manner, the sending module is specifically configured to:
根据所述源符号的度信息、所述源符号的索引信息和预设的第一伪随机数生成算法,生成所述源符号的度信息的第一随机种子和所述源符号的索引信息的第一随机种子;Generating, according to the degree information of the source symbol, the index information of the source symbol, and a preset first pseudo random number generating algorithm, the first random seed of the degree information of the source symbol and the index information of the source symbol First random seed;
对所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息的第一随机种子和所述源符号的索引信息的第一随机种子进行封装处理,得到数据帧。Encapsulating the first random seed of the coding symbol, the length of the source symbol, the number of the source symbols, the first random seed of the degree information of the source symbol, and the index information of the source symbol, to obtain a coding process Data Frame.
在一种可能的实现方式中,所述发送模块,具体用于:In a possible implementation manner, the sending module is specifically configured to:
根据所述源符号的索引信息、所述源符号的度信息和预设的第三伪随机数生成算法,生成所述源符号的索引信息的第三随机种子;Generating a third random seed of the index information of the source symbol according to the index information of the source symbol, the degree information of the source symbol, and a preset third pseudo random number generation algorithm;
根据所述源符号的度信息、所述源符号的索引信息的第三随机种子和预设的第二伪随机数生成算法,生成所述源符号的度信息的第二随机种子和所述源符号的索引信息的第二随机种子;Generating a second random seed of the degree information of the source symbol and the source according to the degree information of the source symbol, the third random seed of the index information of the source symbol, and a preset second pseudo random number generating algorithm a second random seed of index information of the symbol;
对所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息 的第二随机种子和所述源符号的索引信息的第二随机种子进行封装处理,得到数据帧。Encapsulating the second random seed of the coding symbol, the length of the source symbol, the number of the source symbols, the second random seed of the degree information of the source symbol, and the index information of the source symbol, to obtain a coding process Data Frame.
在一种可能的实现方式中,所述发送模块,具体用于:In a possible implementation manner, the sending module is specifically configured to:
根据预先存储的编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系,确定对应所述源符号的度信息和所述源符号的索引信息的所述源符号的编码信息标识;Determining, according to the pre-stored coding information, a correspondence relationship between the degree information of the source symbol and the index information of the source symbol, and determining the coding information of the source symbol corresponding to the degree information of the source symbol and the index information of the source symbol. Identification
对所述编码符号、源符号的长度、所述源符号的数目、所述源符号的编码信息标识进行封装处理,得到数据帧。Encapsulating the encoded symbol, the length of the source symbol, the number of the source symbols, and the encoded information identifier of the source symbol to obtain a data frame.
在一种可能的实现方式中,所述通信装置还包括:In a possible implementation manner, the communications apparatus further includes:
第二生成模块,用于根据所述源符号的度信息、所述源符号的索引信息和预设的校验算法,生成第一校验信息;a second generation module, configured to generate first verification information according to the degree information of the source symbol, the index information of the source symbol, and a preset verification algorithm;
所述发送模块,具体用于:The sending module is specifically configured to:
根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息、所述源符号的索引信息和所述第一校验信息,生成数据帧。Generating a data frame according to the encoded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, the index information of the source symbol, and the first parity information.
在一种可能的实现方式中,所述通信装置还包括:In a possible implementation manner, the communications apparatus further includes:
确定模块,用于根据预先存储的数据模式信息和信息封装方式,确定所述数据帧中的数据模式信息对应的信息封装方式;a determining module, configured to determine, according to the pre-stored data mode information and the information encapsulation manner, an information encapsulation manner corresponding to the data mode information in the data frame;
所述发送模块,具体用于:The sending module is specifically configured to:
基于所述数据模式信息对应的信息封装方式,根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息、所述源符号的索引信息和所述数据模式信息,生成数据帧。And according to the information encapsulation manner corresponding to the data mode information, according to the coding symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, the index information of the source symbol, and the Data mode information, generating data frames.
第五方面,提供了一种第一设备,所述第一设备包括:一个或多个处理器、一个或多个存储器、一个或多个基带处理模块、一个或多个光源探测器、一个或多个光学天线;In a fifth aspect, a first device is provided, the first device comprising: one or more processors, one or more memories, one or more baseband processing modules, one or more light source detectors, one or Multiple optical antennas;
其中,所述存储器,用于存储程序指令;Wherein the memory is used to store program instructions;
所述处理器,用于根据所述存储器中存储的程序指令控制所述基带处理模块、所述光源探测器和所述光学天线执行第一方面所述的方法;The processor, configured to control the baseband processing module, the light source detector, and the optical antenna to perform the method according to the first aspect according to program instructions stored in the memory;
所述光学天线,用于接收光强信号,并将所述光强信号发送给所述光电探测器;The optical antenna is configured to receive a light intensity signal, and send the light intensity signal to the photodetector;
所述光电探测器,用于接收光强信号,将光强信号转化为带偏置的电信号,并将带偏置的电信号发送给所述基带处理模块,其中带偏置的电信号可以为带偏置的电流信号或带偏置的电压信号;The photodetector is configured to receive a light intensity signal, convert the light intensity signal into a biased electrical signal, and send the biased electrical signal to the baseband processing module, wherein the biased electrical signal can be Is a biased current signal or a biased voltage signal;
所述基带处理模块,用于接收带偏置的电信号,并对带偏置的电信号进行解调制处理和解码处理,生成源符号。The baseband processing module is configured to receive an electrical signal with a bias, and perform demodulation processing and decoding processing on the biased electrical signal to generate a source symbol.
第六方面,提供了一种第二设备,所述第二设备包括:一个或多个处理器、一个或多个存储器、一个或多个基带处理模块、一个或多个光源驱动器、一个或多个光源;In a sixth aspect, a second device is provided, the second device comprising: one or more processors, one or more memories, one or more baseband processing modules, one or more light source drivers, one or more Light source
其中,所述存储器,用于存储程序指令;Wherein the memory is used to store program instructions;
所述处理器,用于根据存储器中存储的程序指令控制基带处理模块、光源驱动器和光源执行第二方面所述的方法;The processor, configured to control the baseband processing module, the light source driver, and the light source according to the program instructions stored in the memory to perform the method of the second aspect;
所述基带处理模块,用于对源符号进行编码处理和调制处理,生成数据帧,并将 该数据帧发送给所述光源驱动器;The baseband processing module is configured to perform coding processing and modulation processing on the source symbol, generate a data frame, and send the data frame to the light source driver;
所述光源驱动器,用于生成直流电流或直流电压,并将接收到的数据帧与直流电流或直流电压进行叠加处理,生成带偏置的电信号,并将带偏置的电信号发给所述光源;The light source driver is configured to generate a direct current or a direct current voltage, and superimpose the received data frame with a direct current or a direct current voltage to generate an electrical signal with a bias, and send the biased electrical signal to the Light source
所述光源,用于根据带偏置的电信号,产生光强信号。The light source is configured to generate a light intensity signal according to an electrical signal with a bias.
第七方面,提供了一种计算机可读存储介质,包括指令,当所述指令在计算机上运行时,使所述计算机执行第一方面所述的方法。In a seventh aspect, a computer readable storage medium is provided, comprising instructions that, when executed on a computer, cause the computer to perform the method of the first aspect.
第八方面,提供了一种计算机可读存储介质,包括指令,当所述指令在计算机上运行时,使所述计算机执行第二方面所述的方法。In an eighth aspect, a computer readable storage medium is provided, comprising instructions that, when executed on a computer, cause the computer to perform the method of the second aspect.
本申请的实施例中,首先,第一设备接收第二设备发送的数据帧。然后,第一设备根据数据帧,获取编码符号、源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息。之后,第一设备根据源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息,确定源符号和编码符号的映射关系。最后,第一设备根据映射关系、编码符号以及预设的无码率译码算法,确定源符号。这样,第二设备根据自适应码率,生成编码信息,并通过数据帧发送给第一设备。第一设备均可以根据上述编码信息生成对应的源符号,从而实现根据VLC物理层的动态信道实现码率自适应。In the embodiment of the present application, first, the first device receives the data frame sent by the second device. Then, the first device acquires the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol according to the data frame. Thereafter, the first device determines a mapping relationship between the source symbol and the encoded symbol according to the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol. Finally, the first device determines the source symbol according to the mapping relationship, the encoding symbol, and the preset codeless decoding algorithm. In this way, the second device generates the encoded information according to the adaptive code rate, and sends the encoded information to the first device through the data frame. The first device may generate corresponding source symbols according to the foregoing coding information, so as to implement code rate adaptation according to the dynamic channel of the VLC physical layer.
附图说明DRAWINGS
图1为本申请实施例提供的网络系统的示例图;FIG. 1 is a schematic diagram of a network system according to an embodiment of the present application;
图2为本申请实施例提供的一种用于无线光通信的方法的方法流程图;2 is a flowchart of a method for a method for wireless optical communication according to an embodiment of the present application;
图3为本申请实施例提供的一种数据帧的结构示意图;FIG. 3 is a schematic structural diagram of a data frame according to an embodiment of the present disclosure;
图4为本申请实施例提供的一种数据帧的结构示意图;FIG. 4 is a schematic structural diagram of a data frame according to an embodiment of the present disclosure;
图5为本申请实施例提供的一种数据帧的结构示意图;FIG. 5 is a schematic structural diagram of a data frame according to an embodiment of the present disclosure;
图6为本申请实施例提供的一种数据帧的结构示意图;FIG. 6 is a schematic structural diagram of a data frame according to an embodiment of the present disclosure;
图7为本申请实施例提供的一种数据帧的结构示意图;FIG. 7 is a schematic structural diagram of a data frame according to an embodiment of the present disclosure;
图8为本申请实施例提供的一种用于无线光通信的通信装置的结构示意图;FIG. 8 is a schematic structural diagram of a communication apparatus for wireless optical communication according to an embodiment of the present disclosure;
图9为本申请实施例提供的一种用于无线光通信的通信装置的结构示意图;FIG. 9 is a schematic structural diagram of a communication apparatus for wireless optical communication according to an embodiment of the present disclosure;
图10为本申请实施例提供的一种用于无线光通信的通信装置的结构示意图;FIG. 10 is a schematic structural diagram of a communication apparatus for wireless optical communication according to an embodiment of the present disclosure;
图11为本申请实施例提供的一种用于无线光通信的通信装置的结构示意图;FIG. 11 is a schematic structural diagram of a communication apparatus for wireless optical communication according to an embodiment of the present disclosure;
图12为本申请实施例提供的一种用于无线光通信的通信装置的结构示意图;FIG. 12 is a schematic structural diagram of a communication apparatus for wireless optical communication according to an embodiment of the present disclosure;
图13为本申请实施例提供的一种用于无线光通信的通信装置的结构示意图;FIG. 13 is a schematic structural diagram of a communication apparatus for wireless optical communication according to an embodiment of the present disclosure;
图14为本申请实施例提供的一种设备的结构示意图。FIG. 14 is a schematic structural diagram of a device according to an embodiment of the present application.
具体实施方式Detailed ways
近年来,随着移动互联网与物联网的快速发展,移动用户的业务流量呈爆炸式增长。为了实现热点高容量、低功耗大连接和低时延高可靠的通信连接,以扩展频谱带 宽的高频传输成为下一代移动通信的关键技术。其中,以VLC技术为代表的LiFi因其具有超大带宽、绿色高能效、无电磁干扰以及易部署等优点,成为构建具有高频谱效率与高功率效率超密集异构网络的重要选择。但是对于VLC,由于其传输链路存在视距易遮挡、易中断、接收信号强度动态范围大等不利因素影响。针对上述问题,包括诸如光多输入多输出(multi-input multi-output,MIMO)技术、自适应光学系统、自适应编码调制等技术被提出以适用于VLC传输。其中,自适应编码是一种能够根据信道环境,自适应调整码率,从而能以较小的代价冗余保证通信性能的一种通信技术。因而,自适应编码成为在动态信道环境下兼顾通信性能与传输效率的关键技术。In recent years, with the rapid development of the mobile Internet and the Internet of Things, the business traffic of mobile users has exploded. In order to achieve hot-spot high-capacity, low-power large connections and low-latency and high-reliability communication connections, high-frequency transmission with spread spectrum bandwidth has become a key technology for next-generation mobile communications. Among them, LiFi represented by VLC technology has become an important choice for building ultra-dense heterogeneous networks with high spectral efficiency and high power efficiency due to its advantages of large bandwidth, green energy efficiency, no electromagnetic interference and easy deployment. However, for VLC, due to its transmission link, there are unfavorable factors such as easy occlusion of line of sight, easy interruption, and large dynamic range of received signal strength. In response to the above problems, techniques such as multi-input multi-output (MIMO) technology, adaptive optics, adaptive code modulation, etc., have been proposed for VLC transmission. Among them, adaptive coding is a communication technology that can adaptively adjust the code rate according to the channel environment, so that communication performance can be guaranteed with redundancy at a small cost. Therefore, adaptive coding becomes a key technology that balances communication performance and transmission efficiency in a dynamic channel environment.
在已经发布的包括电气和电子工程师协会(institute of electrical and electronics engineers,IEEE)802.15.7标准协议中,确定以RS码或RS码与卷积码构成的级联码作为信道编码,而在IEEE 802.15.13提案中,高性能的低密度奇偶校验码(low density parity check code,LDPC)被提出作为物理层信道编码的一种。虽然这些信道编码被证明在传统的无线射频(radio frequency,RF)通信中具有较好的性能,却不是无线光信道包括VLC信道的最佳选择。其原因在于(1)无线光信道脆弱,容易受到障碍物遮挡,接收信号强度在移动场景中动态范围大;(2)无线光信道受光源端辐射模式(如发光芯片表面、反射杯、封装透镜等)与光电探测器响应函数(视场角、载流子扩散、量子效率等)影响较大;(3)信道环境复杂,信道互易性差。传统的固定码率编码,其码长与码率等编码参数,需要根据预设的信道模型以及根据反馈信道得到的信道状态信息(channel state information,CSI)进行预设。当信道条件优于假设时,过低的码率因冗余的校验位而导致传输效率降低;而当信道条件劣于假设时,过高的码率因为不能提供更多的校验位而导致性能恶化,因而很难在动态的VLC信道中实现码率自适应。为了解决固定码率在VLC信道中难以实现码率自适应的缺点,有研究者提出无码率编译码传输的方案,研究适用于无线光信道的编码结构、编码类型、度分布、低复杂度译码算法等,期待能够通过无码率码码率自适应的特点,真正在无线光通信中实现逼近信道容量的高效传输。In the already published Institute of Electrical and Electronics Engineers (IEEE) 802.15.7 standard protocol, a concatenated code composed of an RS code or an RS code and a convolutional code is determined as a channel coding, and in the IEEE. In the 802.15.13 proposal, a high performance low density parity check code (LDPC) is proposed as one of the physical layer channel coding. Although these channel coding proves to have better performance in conventional radio frequency (RF) communication, it is not the best choice for wireless optical channels including VLC channels. The reason is that (1) the wireless optical channel is fragile and is easily blocked by obstacles, and the received signal strength is large in the dynamic range in the moving scene; (2) the wireless optical channel is subjected to the radiation mode of the light source end (such as the surface of the light emitting chip, the reflective cup, and the package lens). Etc.) and photodetector response function (field of view, carrier diffusion, quantum efficiency, etc.) have a greater impact; (3) the channel environment is complex, channel reciprocity is poor. The conventional fixed rate coding, such as code length and code rate, needs to be preset according to a preset channel model and channel state information (CSI) obtained according to the feedback channel. When the channel condition is better than the hypothesis, the too low code rate results in a decrease in transmission efficiency due to redundant check bits; and when the channel condition is inferior to the assumption, the too high code rate cannot provide more parity bits because This leads to performance degradation, making it difficult to implement rate adaptation in a dynamic VLC channel. In order to solve the shortcomings of the fixed rate in the VLC channel, it is difficult to realize the rate adaptation. Some researchers have proposed a scheme of codeless codec transmission, and study the coding structure, coding type, degree distribution and low complexity of the wireless optical channel. Decoding algorithms, etc., are expected to be able to achieve efficient transmission of approximate channel capacity in wireless optical communication by the feature of code rate-free code rate adaptation.
无码率编码(rateless coding)或称为喷泉码编码是一种可以根据信道环境实现码率自适应的编码方案,其简单的原理是在编码端将原始数据分割成一定数量的数据包,对这些数据包进行编码,编码后的每个分组数据包都有全局的部分信息。解码端只要正确接收到这个分组数据包流中足够数量的编码数据包即可以一定概率恢复出所有原始数据包,而不必考虑接收到的是编码数据包流中的具体哪几个编码数据包及其对应的接收顺序,即可实现无码率译码。并且系统只需要一个简单的反馈或不需要反馈即可实现码率自适应,因而信道容量利用率高,能够适应各类无线传输信道。同时无码率码的译码复杂度为线性复杂度,对异质用户支持性好,同时支持中断续传,并且解码端无需考虑接收符号的顺序。但是传统的无码率码是基于传输控制协议(transmission control protocol,TCP)/互联网协议(internet protocol,IP)的互联网(Internet)等二进制纠删信道(binary erasure channel,BEC)且面向数据分组而设计的应用层前向纠错码(application layer forward error correction,AL-FEC)。这种纠删信道的特点在于:一个数据包要么被正确接收,要么由于误码、拥塞、错误路由等原因被丢弃。基于以上特性,无码率编码的传统典型应用是作为应 用层编码应用于多媒体广播多播业务(multimedia broadcast multicast service,MBMS)及数字视频广播(digital video broadcasting,DVB)中,并作为FEC编码规范码被第三代合作伙伴计划(3rd generation partnership project,3GPP)MBMS与DVB-T采用。而传统的无线信道一般都是衰落信道及噪声信道,传输过程中不可避免会受到噪声的干扰。在解码端,编码节点会直接接收到受到干扰的输入软信息,并传递给校验节点,由此导致的译码开始时节点似然信息的正确性得不到保证。而传统无码率译码所基于的硬判决译码算法会引入很多错误,从而导致性能恶化。因此,为了将无码率码推广应用于无线中继信道、加性高斯白噪声信道、衰落信道(包括瑞利信道和莱斯信道)等更广义的无线信道,需要采用诸如软判决置信传播(belief propagation,BP)算法等算法,以实现可靠性译码。另外,为了保证译码成功率,无码率编码的码长一般都比较长,这样就引入了译码时延和存储空间的开销。结合信道似然信息,研究者重新设计无码率的编码结构、编码类型以及度分布,从而设计出适用于时延敏感场景及衰落信道的短码无码率码。其中,Strider码与Spinal码就是适用于高斯信道下的两种高性能无码率码。Rateless coding or fountain code coding is a coding scheme that can implement code rate adaptation according to the channel environment. The simple principle is to divide the original data into a certain number of data packets at the coding end. These packets are encoded, and each packet packet after encoding has global partial information. As long as the decoding end correctly receives a sufficient number of encoded data packets in the packet data stream, all original data packets can be recovered with a certain probability, without considering which specific encoded data packets in the encoded data packet stream are received and The corresponding receiving order can realize the codeless rate decoding. And the system only needs a simple feedback or no feedback to achieve rate adaptation, so the channel capacity utilization is high, and it can adapt to various types of wireless transmission channels. At the same time, the decoding complexity of the codeless rate code is linear complexity, which is good for heterogeneous users, and supports interrupted transmission, and the decoding end does not need to consider the order of receiving symbols. However, the traditional codeless rate code is a binary erasure channel (BEC) based on the transmission control protocol (TCP)/internet protocol (IP) Internet and is oriented to data packets. The application layer forward error correction (AL-FEC) is designed. This type of erasure channel is characterized in that a packet is either received correctly or discarded due to errors, congestion, incorrect routing, and the like. Based on the above characteristics, the traditional typical application of codeless rate coding is applied as application layer coding in multimedia broadcast multicast service (MBMS) and digital video broadcasting (DVB), and as FEC coding specification. The code was adopted by the 3rd generation partnership project (3GPP) MBMS and DVB-T. The traditional wireless channels are generally fading channels and noisy channels, and are inevitably subject to noise interference during transmission. At the decoding end, the encoding node directly receives the input soft information that is interfered and transmits it to the check node, thereby resulting in the correctness of the node likelihood information at the beginning of decoding. However, the hard decision decoding algorithm based on the traditional codeless decoding will introduce many errors, resulting in performance degradation. Therefore, in order to generalize the codeless rate code to a more generalized wireless channel such as a wireless relay channel, an additive white Gaussian noise channel, and a fading channel (including a Rayleigh channel and a Rice channel), it is necessary to adopt a soft decision belief propagation (such as soft decision). Algorithms such as belief propagation, BP) algorithm to achieve reliability decoding. In addition, in order to ensure the decoding success rate, the code length of the codeless code encoding is generally longer, thus introducing the decoding delay and the storage space overhead. Combined with the channel likelihood information, the researchers redesigned the codeless structure, coding type and degree distribution to design a short code codeless rate code suitable for delay sensitive scenes and fading channels. Among them, Strider code and Spinal code are two high-performance codeless code codes suitable for Gaussian channel.
本申请实施例提供了一种用于无线光通信的方法,该方法可以应用于基于LiFi技术的室内高速VLC网络和室外VLC网络的场景。其中,室内高速VLC网络可以由安装在室内的照明灯和智能移动终端(比如手机、可穿戴设备等)组成。室外VLC网络可以由车载智能终端和基础设施(比如路灯、交通灯、广告牌等)组成,也可以由车载智能终端与车载智能终端组成。如图1所示,为本申请实施例提供的网络系统的示例图。在该网络系统中包括第二设备和第一设备。其中,所述第二设备为能产生和发送光信号的网络设备或终端设备,具体可以为室内照明灯、路灯、交通灯、车灯、基站等能产生光信号的设备,进一步可选地,所述第二设备还能接收光信号。第一设备为能接收光信号的网络设备或终端设备,如可以为智能移动终端、车载智能终端、以及其它智能终端,进一步可选地,所述第一设备还能产生和发送光信号。第二设备和第一设备之间可以通过可见光进行数据的传输,以实现数据的通信。在第二设备与第一设备通信过程中,首先,第二设备会将需要发送的源符号进行编码处理,得到编码符号和编码参数。然后,第二设备将编码符号和编码参数封装成数据帧,并发送给第一设备。最后,第一设备接收该数据帧,根据编码参数对编码符号进行解码,从而得到源符号。The embodiment of the present application provides a method for wireless optical communication, which can be applied to a scenario of an indoor high-speed VLC network and an outdoor VLC network based on LiFi technology. Among them, the indoor high-speed VLC network can be composed of indoor lighting and smart mobile terminals (such as mobile phones, wearable devices, etc.). The outdoor VLC network may be composed of a vehicle-mounted intelligent terminal and an infrastructure (such as a street light, a traffic light, a billboard, etc.), or may be composed of a vehicle-mounted intelligent terminal and a vehicle-mounted intelligent terminal. FIG. 1 is a schematic diagram of a network system provided by an embodiment of the present application. A second device and a first device are included in the network system. The second device is a network device or a terminal device that can generate and transmit an optical signal, and specifically may be a device capable of generating an optical signal, such as an indoor lighting, a street light, a traffic light, a vehicle light, a base station, and the like. The second device is also capable of receiving an optical signal. The first device is a network device or a terminal device capable of receiving an optical signal, such as an intelligent mobile terminal, an in-vehicle intelligent terminal, and other intelligent terminals. Further optionally, the first device can also generate and transmit an optical signal. Data can be transmitted between the second device and the first device through visible light to implement data communication. During the communication between the second device and the first device, first, the second device performs encoding processing on the source symbols that need to be transmitted to obtain coded symbols and encoding parameters. The second device then encapsulates the encoded symbols and encoding parameters into data frames and sends them to the first device. Finally, the first device receives the data frame, and decodes the encoded symbol according to the encoding parameter, thereby obtaining the source symbol.
本申请实施例提供了一种用于无线光通信的方法,可以根据VLC物理层的动态信道实现码率自适应,如图2所示,具体处理流程如下:The embodiment of the present application provides a method for wireless optical communication, which can implement code rate adaptation according to a dynamic channel of a VLC physical layer, as shown in FIG. 2, and the specific processing flow is as follows:
步骤201,第二设备获取源符号、源符号的长度和源符号的数目。Step 201: The second device acquires a source symbol, a length of the source symbol, and a number of source symbols.
在实施中,当第二设备需要与第一设备进行通信时,第二设备可以获取待编码的源符号、源符号的长度和源符号的数目。In an implementation, when the second device needs to communicate with the first device, the second device may acquire the source symbol to be encoded, the length of the source symbol, and the number of source symbols.
步骤202,第二设备根据源符号和预设的无码率编码算法,生成编码符号、源符号的度信息和源符号的索引信息。Step 202: The second device generates, according to the source symbol and the preset codeless coding algorithm, the coding symbol, the degree information of the source symbol, and the index information of the source symbol.
其中,源符号的度信息表示参与编码处理的各源符号组所包含的源符号的数目,源符号的索引信息表示参与编码处理的各源符号组所包含的源符号的索引。The degree information of the source symbol indicates the number of source symbols included in each source symbol group participating in the encoding process, and the index information of the source symbol indicates an index of the source symbol included in each source symbol group participating in the encoding process.
在实施中,第二设备中可以预先存储有无码率编码算法。其中,该算法可以为针对系统码(比如RaptorQ码)的无码率编码算法,也可以为针对非系统码的无码率编 码算法,本申请不作限定。第二设备在得到待编码的源符号后,可以根据该无码率编码算法对源符号进行编码处理,得到编码符号,并生成编码信息。其中,编码信息可以包括源符号的度信息和源符号的索引信息。In an implementation, a codeless coding algorithm may be pre-stored in the second device. The algorithm may be a codeless rate encoding algorithm for a system code (such as a RaptorQ code) or a codeless rate encoding algorithm for a non-system code, which is not limited in this application. After obtaining the source symbol to be encoded, the second device may perform encoding processing on the source symbol according to the codeless coding algorithm to obtain a coded symbol, and generate coded information. The coding information may include degree information of the source symbol and index information of the source symbol.
第二设备在对源符号进行编码处理时,可以将源符号组成多个源符号组,并对各个源符号组中的源符号进行编码处理(比如对位异或处理),得到编码符号。其中,源符号的度信息表示参与编码处理的各源符号组所包含的源符号的数目,源符号的索引信息表示参与编码处理的各源符号组所包含的源符号的索引。例如,第二设备要对10个源符号进行编码处理,源符号的索引为1至10。第二设备将源符号组成四个源符号组:(1、3、5)、(2、4、6)、(1、3、8、9)和(2、4、5、6、10)。则源符号的度信息为3、3、4、5,源符号的索引信息为1、3、5、2、4、6、1、3、8、9、2、4、5、6、10。When the second device performs encoding processing on the source symbols, the source symbols may be grouped into a plurality of source symbol groups, and the source symbols in the respective source symbol groups are subjected to encoding processing (such as bitwise exclusive OR processing) to obtain encoded symbols. The degree information of the source symbol indicates the number of source symbols included in each source symbol group participating in the encoding process, and the index information of the source symbol indicates an index of the source symbol included in each source symbol group participating in the encoding process. For example, the second device performs encoding processing on 10 source symbols, and the index of the source symbols is 1 to 10. The second device groups the source symbols into four source symbol groups: (1, 3, 5), (2, 4, 6), (1, 3, 8, 9) and (2, 4, 5, 6, 10) . Then, the degree information of the source symbol is 3, 3, 4, and 5, and the index information of the source symbol is 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, 10 .
步骤203,第二设备根据编码符号、源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息,生成数据帧,并向第一设备发送数据帧。Step 203: The second device generates a data frame according to the coded symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol, and sends the data frame to the first device.
在实施中,第二设备得到编码符号、源符号的度信息和源符号的索引信息后,可以将编码符号、源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息封装成物理层的数据帧,然后通过与第一设备之间建立的VLC物理层的动态信道向第一设备发送物理层的数据帧。In an implementation, after obtaining the coded symbol, the degree information of the source symbol, and the index information of the source symbol, the second device may obtain the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol. The data frame is encapsulated into a physical layer, and then the data frame of the physical layer is sent to the first device through a dynamic channel of the VLC physical layer established between the first device.
如图3所示,该数据帧的结构可以包括:物理层同步先导码(physical layer preamble)、物理层头(physical layer header)以及物理层数据负载(physical layer data load)三部分。物理层同步先导码用于第二设备和第一设备进行数据帧的同步,该物理层同步先导码为时域序列,无需进行信道编码与线编码。As shown in FIG. 3, the structure of the data frame may include: a physical layer preamble, a physical layer header, and a physical layer data load. The physical layer synchronization preamble is used for synchronizing data frames between the second device and the first device, and the physical layer synchronization preamble is a time domain sequence, and channel coding and line coding are not required.
物理层头可以包括以下字段:数据模式(data mode)、信道数(channel number)、调制与线编码索引(modulation and run length limited coding scheme index,MCS-ID)、源符号长度与数目(source symbol length and number,SSLN)、调光模式(dimming pattern)、补偿符号(compensation symbol)、预留区域(reserved fields)以及头校验序列(header check sequence,HCS)。其中,数据模式用于携带该数据帧的数据模式信息;信道数用于携带该数据帧的可见光的波段信息;MCS-ID用于携带该数据帧的调制方式信息、线编码方式信息与光时钟率(optical clock rate)信息,不同于IEEE 802.15.7标准协议中MCS-ID用于携带信道编码的码型与码率信息,本申请实施例的该MCS-ID用于携带线编码方式信息;SSLN用于携带该数据帧中源符号的长度信息与源符号的数目信息;调光模式用来携带该数据帧支持的调光模式信息和调光百分比信息;补偿符号用于携带在调光比率信息;预留区域用于该数据帧的后续功能的扩展;HCS用于携带该物理层头的校验码。The physical layer header may include the following fields: data mode, channel number, modulation and run length limited coding scheme index (MCS-ID), source symbol length and number (source symbol) Length and number, SSLN), dimming pattern, compensation symbol, reserved fields, and header check sequence (HCS). The data mode is used to carry the data mode information of the data frame; the channel number is used to carry the band information of the visible light of the data frame; and the MCS-ID is used to carry the modulation mode information, the line coding mode information, and the optical clock of the data frame. The optical clock rate information is different from the code type and the code rate information that the MCS-ID is used to carry the channel coding in the IEEE 802.15.7 standard protocol. The MCS-ID in the embodiment of the present application is used to carry the line coding mode information. The SSLN is configured to carry the length information of the source symbol and the number of source symbols in the data frame; the dimming mode is used to carry the dimming mode information and the dimming percentage information supported by the data frame; and the compensation symbol is used to carry the dimming ratio. Information; the reserved area is used for extension of the subsequent function of the data frame; the HCS is used to carry the check code of the physical layer header.
物理层数据负载可以包括如下字段:度与源符号索引(degree and source symbol index,DSSI)、信道估计序列(channel estimation sequence,CES)、若干个编码符号(Coded symbols)以及填充比特(pad bits)。其中,DSSI用于携带该数据帧的源符号的度信息和源符号的索引信息;CES用于携带该数据帧的信道估计和信道均衡信息;编码符号用于携带该数据帧的源符号经过编码处理后得到的编码符号;填充比特用于防止的物理层数据负载中的数据被误认为数据帧的边界。The physical layer data load may include the following fields: degree and source symbol index (DSSI), channel estimation sequence (CES), several coded symbols, and pad bits. . The DSSI is used to carry the degree information of the source symbol of the data frame and the index information of the source symbol; the CES is used to carry the channel estimation and channel equalization information of the data frame; the code symbol is used to encode the source symbol carrying the data frame. The encoded symbol obtained after processing; the padding bits are used to prevent the data in the physical layer data payload from being mistaken for the boundary of the data frame.
需要说明的是,第二设备可以通过以下任意一种方式生成物理层的数据帧:It should be noted that the second device may generate a data frame of the physical layer by any one of the following methods:
方式一,将SSLN设置于物理层头中,将DSSI设置于物理层数据负载中。In the first method, the SSLN is set in the physical layer header, and the DSSI is set in the physical layer data payload.
方式二,将DSSI设置于物理层头中,将SSLN设置于物理层数据负载中。In the second mode, the DSSI is set in the physical layer header, and the SSLN is set in the physical layer data payload.
方式三,将DSSI和SSLN均设置于物理层头中。In the third mode, both DSSI and SSLN are set in the physical layer header.
方式四,将DSSI和SSLN设置于物理层数据负载中。In the fourth method, DSSI and SSLN are set in the physical layer data payload.
本申请实施例以SSLN设置于物理层头,DSSI设置于物理层数据负载为例进行介绍,其他情况与之类似,本申请不作赘述。The embodiment of the present application introduces the SSLN in the physical layer header, and the DSSI is set in the physical layer data load as an example. Other situations are similar, and the description is not repeated herein.
另外,还需要说明的是,第二设备在生成物理层的数据帧时,物理层头中各字段的位置以及物理层数据负载中各字段的位置可以由设计人员根据实际需要进行调整和设置,本申请不作限定。In addition, it should be noted that when the second device generates the data frame of the physical layer, the location of each field in the physical layer header and the location of each field in the physical layer data load may be adjusted and set by the designer according to actual needs. This application is not limited.
其中,第二设备根据编码符号、源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息,生成数据帧的方式可以是多种多样的,本申请实施例提供了几种可行的处理方式,并结合物理层的数据帧的具体结构进行介绍。The manner in which the second device generates the data frame according to the coded symbol, the length of the source symbol, the number of the source symbol, the degree information of the source symbol, and the index information of the source symbol may be various, and the embodiment of the present application provides several A feasible processing method is introduced in combination with the specific structure of the data frame of the physical layer.
第一种方式,如图3所示,第二设备对编码符号、源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息进行封装处理,得到数据帧。In the first manner, as shown in FIG. 3, the second device encapsulates the coded symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol to obtain a data frame.
在实施中,第二设备在生成源符号的度信息和源符号的索引信息后,可以将编码符号、源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息封装在数据帧中,并发送给第一设备。In an implementation, after generating the degree information of the source symbol and the index information of the source symbol, the second device may encapsulate the encoding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol. In the data frame, and sent to the first device.
第二种方式,如图4所示,第二设备根据源符号的度信息、源符号的索引信息和预设的第一伪随机数生成算法,生成源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子;对编码符号、源符号的长度、源符号的数目、源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子进行封装处理,得到数据帧。In a second manner, as shown in FIG. 4, the second device generates a first random seed of the degree information of the source symbol according to the degree information of the source symbol, the index information of the source symbol, and the preset first pseudo random number generation algorithm. a first random seed of index information of the source symbol; performing a encapsulation process on the first random seed of the first random seed and the index information of the source symbol of the encoded symbol, the length of the source symbol, the number of source symbols, and the degree information of the source symbol, Get the data frame.
在实施中,第二设备中可以预先存储有第一伪随机数生成算法。第二设备在生成源符号的度信息和源符号的索引信息后,可以根据第一伪随机数生成算法,分别生成源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子。然后,第二设备可以将编码符号、源符号的长度、源符号的数目、源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子封装在数据帧中,并发送给第一设备。其中,源符号的索引信息的第一随机种子可以为随机种子的序列,随机种子的数目与源符号组的数目相同且每个随机种子由对应的源符号组中源符号的索引信息生成。例如,源符号的度信息为3、3、4、5,源符号的索引信息为1、3、5、2、4、6、1、3、8、9、2、4、5、6、10,则第二设备可以根据3、3、4、5和第一伪随机数生成算法,生成2(即源符号的度信息的第一随机种子)。同理,第二设备可以根据1、3、5、2、4、6、1、3、8、9、2、4、5、6、10和第一伪随机数生成算法,生成2、7、9、11(即源符号的索引信息的第一随机种子)。In an implementation, the first pseudo random number generation algorithm may be pre-stored in the second device. After generating the degree information of the source symbol and the index information of the source symbol, the second device may respectively generate the first random seed of the degree information of the source symbol and the first random number of the index information of the source symbol according to the first pseudo random number generation algorithm. seed. Then, the second device may encapsulate the first random seed of the coding symbol, the length of the source symbol, the number of source symbols, the first random seed of the source symbol, and the first random seed of the index information of the source symbol in the data frame, and send the data to the data frame. First device. The first random seed of the index information of the source symbol may be a sequence of random seeds, the number of random seeds is the same as the number of source symbol groups, and each random seed is generated by index information of source symbols in the corresponding source symbol group. For example, the degree information of the source symbol is 3, 3, 4, and 5, and the index information of the source symbol is 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, 10, the second device may generate 2 (ie, the first random seed of the degree information of the source symbol) according to the 3, 3, 4, 5 and the first pseudo random number generation algorithm. Similarly, the second device can generate 2, 7 according to 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, 10 and the first pseudo random number generation algorithm. , 9, 11 (the first random seed of the index information of the source symbol).
本申请的实施例中,通过将源符号的度信息和源符号的索引信息对应生成源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子,减小了数据帧中携带的数据量,提高了数据帧的传输速率。In the embodiment of the present application, the first random seed of the degree information of the source symbol and the first random seed of the index information of the source symbol are generated by corresponding to the degree information of the source symbol and the index information of the source symbol, and the data frame is reduced. The amount of data carried increases the transmission rate of data frames.
第三种方式,如图5所示,第二设备根据源符号的索引信息、源符号的度信息和预设的第三伪随机数生成算法,生成源符号的索引信息的第三随机种子;根据源符号 的度信息、源符号的索引信息的第三随机种子和预设的第二伪随机数生成算法,生成源符号的度信息的第二随机种子和源符号的索引信息的第二随机种子;对编码符号、源符号的长度、源符号的数目、源符号的度信息的第二随机种子和源符号的索引信息的第二随机种子进行封装处理,得到数据帧。In a third mode, as shown in FIG. 5, the second device generates a third random seed of the index information of the source symbol according to the index information of the source symbol, the degree information of the source symbol, and the preset third pseudo random number generation algorithm. Generating a second random seed of the degree information of the source symbol and a second random number of the index information of the source symbol according to the degree information of the source symbol, the third random seed of the index information of the source symbol, and the preset second pseudo random number generating algorithm a seed; performing a encapsulation process on the second random seed of the encoding information, the length of the source symbol, the number of source symbols, the second random seed of the source symbol, and the index information of the source symbol to obtain a data frame.
在实施中,第二设备中可以预先存储有第二伪随机数生成算法、第三伪随机算法以及源符号的度信息对应的源符号组的数目,其中,第二伪随机数生成算法、第三伪随机算法和第二种方式中的第一伪随机数生成算法可以相同也可以不同,本申请实施例不作限定。In the implementation, the second device may pre-store the number of source symbol groups corresponding to the second pseudo-random number generation algorithm, the third pseudo-random algorithm, and the degree information of the source symbol, where the second pseudo-random number generation algorithm, The third pseudo-random algorithm and the first pseudo-random number generating algorithm in the second mode may be the same or different, and are not limited in the embodiment of the present application.
第二设备在生成源符号的度信息和源符号的索引信息后,可以根据源符号的度信息和第二伪随机数生成算法,生成源符号的度信息的第二随机种子。然后,第二设备根据源符号的索引信息、源符号的度信息对应的源符号组的数目和第三伪随机数生成算法,生成源符号的索引信息的第三随机种子。之后,第二设备可以根据源符号的索引信息的第三随机种子、源符号的度信息和第二伪随机数生成算法,生成源符号的索引信息的第二随机种子。最后,第二设备可以将编码符号、源符号的长度、源符号的数目、源符号的度信息的第二随机种子和源符号的索引信息的第二随机种子封装在数据帧中,并发送给第一设备。其中,源符号的索引信息的第二随机种子为源符号的索引信息的第三随机种子的随机种子。例如,源符号的度信息为3、3、4、5,源符号的索引信息为1、3、5、2、4、6、1、3、8、9、2、4、5、6、10,源符号的度信息对应的源符号组的数目为4,则第二设备可以根据3、3、4、5和第二伪随机数生成算法,生成2(即源符号的度信息的第二随机种子)。同理,第二设备可以根据1、3、5、2、4、6、1、3、8、9、2、4、5、6、10、以及4和第三伪随机数生成算法,生成2、7、9、11(即源符号的索引信息的第三随机种子),然后根据生成的2、7、9、11、以及3、3、4、5和第二伪随机数生成算法,生成5(即源符号的索引信息的第二随机种子)。After generating the degree information of the source symbol and the index information of the source symbol, the second device may generate a second random seed of the degree information of the source symbol according to the degree information of the source symbol and the second pseudo random number generation algorithm. Then, the second device generates a third random seed of the index information of the source symbol according to the index information of the source symbol, the number of source symbol groups corresponding to the degree information of the source symbol, and the third pseudo random number generation algorithm. Then, the second device may generate a second random seed of the index information of the source symbol according to the third random seed of the index information of the source symbol, the degree information of the source symbol, and the second pseudo random number generation algorithm. Finally, the second device may encapsulate the second random seed of the coding symbol, the length of the source symbol, the number of source symbols, the second random seed of the degree information of the source symbol, and the second random seed of the index information of the source symbol in the data frame, and send the data to the data frame. First device. The second random seed of the index information of the source symbol is a random seed of the third random seed of the index information of the source symbol. For example, the degree information of the source symbol is 3, 3, 4, and 5, and the index information of the source symbol is 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, 10, the number of source symbol groups corresponding to the degree information of the source symbol is 4, and the second device may generate 2 according to the 3, 3, 4, 5, and the second pseudo random number generation algorithms (ie, the degree information of the source symbol) Two random seeds). Similarly, the second device can generate the algorithm according to 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, 10, and 4 and the third pseudo random number generation algorithm. 2, 7, 9, 11 (ie, the third random seed of the index information of the source symbol), and then generate an algorithm according to the generated 2, 7, 9, 11, and 3, 3, 4, 5, and second pseudo-random numbers, Generate 5 (ie the second random seed of the index information of the source symbol).
本申请的实施例中,通过将源符号的索引信息的第三随机种子生成和源符号的索引信息的第二随机种子,进一步减小了数据帧中携带的数据量,提高了数据帧的传输速率。In the embodiment of the present application, the third random seed of the index information of the source symbol and the second random seed of the index information of the source symbol further reduce the amount of data carried in the data frame, thereby improving the transmission of the data frame. rate.
第四种方式,如图6所示,第二设备根据预先存储的编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系,确定对应源符号的度信息和源符号的索引信息的源符号的编码信息标识;对编码符号、源符号的长度、源符号的数目、源符号的编码信息标识进行封装处理,得到数据帧。In a fourth mode, as shown in FIG. 6, the second device determines, according to the pre-stored coding information, the correspondence between the degree information of the source symbol and the index information of the source symbol, and determines the degree information and the source symbol of the corresponding source symbol. Encoding information identifier of the source symbol of the index information; encapsulating the encoded symbol, the length of the source symbol, the number of source symbols, and the encoding information identifier of the source symbol to obtain a data frame.
在实施中,第二设备中可以预先存储有编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系。第二设备在生成源符号的度信息和源符号的索引信息后,可以在编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系中查询对应源符号的度信息和源符号的索引信息的编码信息标识。然后,第二设备可以将编码符号、源符号的长度、源符号的数目、源符号的编码信息标识封装在数据帧中,并发送给第一设备。例如,如表一所示,编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系中编码信息标识为4B,源符号的度信息为3、3、4、5,源符号的索引信息为1、3、5、2、4、6、1、3、8、9、2、4、5、6、10。In the implementation, the correspondence between the coding information identifier and the degree information of the source symbol and the index information of the source symbol may be pre-stored in the second device. After generating the degree information of the source symbol and the index information of the source symbol, the second device may query the degree information and the source of the corresponding source symbol in the correspondence between the coding information identifier and the degree information of the source symbol and the index information of the source symbol. The encoded information identifier of the index information of the symbol. Then, the second device may encapsulate the coded symbol, the length of the source symbol, the number of source symbols, and the coded information identifier of the source symbol in the data frame, and send the data to the first device. For example, as shown in Table 1, the correspondence between the coding information identifier and the degree information of the source symbol and the index information of the source symbol is 4B, and the degree information of the source symbol is 3, 3, 4, 5, and the source. The index information of the symbols is 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, and 10.
表一Table I
Figure PCTCN2019072650-appb-000001
Figure PCTCN2019072650-appb-000001
在本申请实施例中,通过预先存储编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系,数据帧中只携带有编码信息,从而使数据帧的数据量更小,传输速率更快。In the embodiment of the present application, the correspondence between the degree information of the source symbol and the index information of the source symbol is stored in advance, and the data frame carries only the encoded information, so that the data amount of the data frame is smaller. The transfer rate is faster.
步骤204,第一设备接收第二设备发送的数据帧。Step 204: The first device receives the data frame sent by the second device.
在实施中,第一设备可以通过与第二设备之间建立的VLC物理层的动态信道接收第二设备发送物理层的数据帧。In an implementation, the first device may receive, by using a dynamic channel of the VLC physical layer established between the second device, the second device to send a data frame of the physical layer.
步骤205,第一设备根据数据帧,获取编码符号、源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息。Step 205: The first device acquires, according to the data frame, an encoding symbol, a length of the source symbol, a number of source symbols, degree information of the source symbol, and index information of the source symbol.
其中,源符号的度信息表示参与编码处理的各源符号组所包含的源符号的数目,源符号的索引信息表示参与编码处理的各源符号组所包含的源符号的索引。The degree information of the source symbol indicates the number of source symbols included in each source symbol group participating in the encoding process, and the index information of the source symbol indicates an index of the source symbol included in each source symbol group participating in the encoding process.
在实施中,第一设备接收到物理层的数据帧后,可以根据数据帧,获取编码符号、源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息。In an implementation, after receiving the data frame of the physical layer, the first device may obtain the coded symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol according to the data frame.
其中,第一设备根据数据帧,获取源符号的度信息和源符号的索引信息的方式可以是多种多样的,本申请实施例提供了几种可行的处理方式,并结合物理层的数据帧的具体结构进行介绍。The manner in which the first device obtains the degree information of the source symbol and the index information of the source symbol according to the data frame may be various. The embodiment of the present application provides several feasible processing manners, and combines the data frames of the physical layer. The specific structure is introduced.
第一种方式,针对步骤203中的第一种方式:如图3所示,数据帧中携带有源符号的度信息和源符号的索引信息,则第一设备可以获取数据帧中携带的源符号的度信息和源符号的索引信息。In the first mode, for the first mode in step 203, as shown in FIG. 3, the data frame carries the degree information of the active symbol and the index information of the source symbol, and the first device can acquire the source carried in the data frame. The degree information of the symbol and the index information of the source symbol.
在实施中,第一设备接收到该数据帧后,可以对该数据帧进行解析,得到该数据帧中携带的源符号的度信息和源符号的索引信息。In an implementation, after receiving the data frame, the first device may parse the data frame to obtain degree information of the source symbol and index information of the source symbol carried in the data frame.
第二种方式,针对步骤203中的第二种方式:如图4所示,数据帧中携带有源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子,则第一设备可以根据源符号的度信息的第一随机种子、源符号的索引信息的第一随机种子,生成源符号的度信息和源符号的索引信息。The second mode is directed to the second mode in step 203: as shown in FIG. 4, the first random seed carrying the degree information of the active symbol and the first random seed of the index information of the source symbol in the data frame, A device may generate degree information of the source symbol and index information of the source symbol according to the first random seed of the degree information of the source symbol and the first random seed of the index information of the source symbol.
在实施中,第一设备中可以预先存储有第一伪随机数生成算法以及源符号的度信息对应的源符号组的数目。第一设备接收到该数据帧后,可以对该数据帧进行解析,得到该数据帧中携带的源符号的度信息的第一随机种子、源符号的索引信息的第一随机种子。然后,第一设备可以根据源符号的度信息的第一随机种子、源符号的度信息对应的源符号组的数目和第一伪随机数生成算法,生成源符号的度信息。最后,根据源符号的度信息、源符号的索引信息的第一随机种子和第一伪随机数生成算法,生成源符号的索引信息。例如,源符号的度信息对应的源符号组的数目为4,源符号的度信息的第一随机种子为2,则第二设备可以根据4、2和第一伪随机数生成算法,生成3、3、4、5。同理,第二设备可以分别根据(3、3、4、5)、(2、7、9、11)和第一伪随机数生成算法,生成1、3、5、2、4、6、1、3、8、9、2、4、5、6、10。In an implementation, the first device may pre-store the first pseudo-random number generation algorithm and the number of source symbol groups corresponding to the degree information of the source symbol. After receiving the data frame, the first device may parse the data frame to obtain a first random seed of the degree information of the source symbol carried in the data frame, and a first random seed of the index information of the source symbol. Then, the first device may generate the degree information of the source symbol according to the first random seed of the degree information of the source symbol, the number of source symbol groups corresponding to the degree information of the source symbol, and the first pseudo random number generation algorithm. Finally, the index information of the source symbol is generated according to the degree information of the source symbol, the first random seed of the index information of the source symbol, and the first pseudo random number generation algorithm. For example, if the number of source symbol groups corresponding to the degree information of the source symbol is 4, and the first random seed of the degree information of the source symbol is 2, the second device may generate the algorithm according to the 4, 2 and the first pseudo random number generation algorithm. , 3, 4, 5. Similarly, the second device can generate 1, 3, 5, 2, 4, 6, according to (3, 3, 4, 5), (2, 7, 9, 11) and the first pseudo random number generation algorithm, respectively. 1, 3, 8, 9, 2, 4, 5, 6, 10.
本申请的实施例中,通过将源符号的度信息和源符号的索引信息对应生成源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子,减小了数据帧中携带的数据量,提高了数据帧的传输速率。In the embodiment of the present application, the first random seed of the degree information of the source symbol and the first random seed of the index information of the source symbol are generated by corresponding to the degree information of the source symbol and the index information of the source symbol, and the data frame is reduced. The amount of data carried increases the transmission rate of data frames.
第三种方式,针对步骤203中的第三种方式:如图5所示,数据帧中携带有源符号的度信息的第二随机种子和源符号的索引信息的第二随机种子,第一设备根据数据帧,获取源符号的度信息和源符号的索引信息的具体处理过程为:第一设备根据源符号的度信息的第二随机种子、源符号的索引信息的第二随机种子和预设的第二伪随机数生成算法,生成源符号的索引信息的第三随机种子和源符号的度信息;根据源符号的索引信息的第三随机种子、源符号的度信息和预设的第三伪随机数生成算法,生成源符号的索引信息。The third mode is directed to the third mode in step 203: as shown in FIG. 5, the second random seed carrying the degree information of the active symbol and the second random seed of the index information of the source symbol in the data frame, first The specific processing procedure of the device for obtaining the degree information of the source symbol and the index information of the source symbol according to the data frame is: a second random seed of the first device according to the degree information of the source symbol, a second random seed of the index information of the source symbol, and a pre- a second pseudo-random number generation algorithm, which generates a third random seed of the source symbol and a degree information of the source symbol; a third random seed according to the index information of the source symbol, a degree information of the source symbol, and a preset number The three pseudo random number generation algorithm generates index information of the source symbol.
在实施中,第一设备中可以预先存储有第二伪随机数生成算法、第三伪随机数生成算法以及源符号的度信息对应的源符号组的数目。第一设备接收到该数据帧后,可以对该数据帧进行解析,得到该数据帧中携带的源符号的度信息的第二随机种子和源符号的索引信息的第二随机种子。然后,第一设备可以根据源符号的度信息的第二随机种子、源符号的索引信息的第二随机种子、源符号的度信息对应的源符号组的数目和第二伪随机数生成算法,生成源符号的度信息和源符号的索引信息的第三随机种子。最后,第一设备根据源符号的度信息、源符号的索引信息的第三随机种子和第三伪随机数生成算法,生成源符号的索引信息。例如,源符号的度信息对应的源符号组的数目为4,源符号的度信息的第二随机种子为2,源符号的索引信息的第二随机种子为5,则第二设备可以根据4、2、5和第二伪随机数生成算法,生成(3、3、4、5)和(2、7、9、11),然后,第二设备可以分别根据(3、3、4、5)、(2、7、9、11)和第三伪随机数生成算法,生成1、3、5、2、4、6、1、3、8、9、2、4、5、6、10。In an implementation, the number of source symbol groups corresponding to the second pseudo random number generation algorithm, the third pseudo random number generation algorithm, and the degree information of the source symbol may be pre-stored in the first device. After receiving the data frame, the first device may parse the data frame to obtain a second random seed of the degree information of the source symbol carried in the data frame and a second random seed of the index information of the source symbol. Then, the first device may generate an algorithm according to the second random seed of the degree information of the source symbol, the second random seed of the index information of the source symbol, the number of source symbol groups corresponding to the degree information of the source symbol, and the second pseudo random number generation algorithm, A third random seed of the degree information of the source symbol and the index information of the source symbol is generated. Finally, the first device generates index information of the source symbol according to the degree information of the source symbol, the third random seed of the index information of the source symbol, and the third pseudo random number generation algorithm. For example, the number of source symbol groups corresponding to the degree information of the source symbol is 4, the second random seed of the degree information of the source symbol is 2, and the second random seed of the index information of the source symbol is 5, and the second device can be based on 4 , 2, 5, and a second pseudo-random number generation algorithm, generating (3, 3, 4, 5) and (2, 7, 9, 11), and then, the second device can be based on (3, 3, 4, 5, respectively) , (2, 7, 9, 11) and the third pseudo-random number generation algorithm, generating 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, 10 .
本申请的实施例中,通过将源符号的索引信息的第三随机种子生成和源符号的索引信息的第二随机种子,进一步减小了数据帧中携带的数据量,提高了数据帧的传输速率。In the embodiment of the present application, the third random seed of the index information of the source symbol and the second random seed of the index information of the source symbol further reduce the amount of data carried in the data frame, thereby improving the transmission of the data frame. rate.
第四种方式,针对步骤203中的第四种方式:如图6所示,数据帧中携带有源符号的编码信息标识,第一设备根据数据帧,获取源符号的度信息和源符号的索引信息的具体处理过程为:第一设备根据预先存储的编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系,确定源符号的编码信息标识对应的源符号的度信息和源符号的索引信息。The fourth mode is directed to the fourth mode in step 203: as shown in FIG. 6, the data frame carries the coding information identifier of the active symbol, and the first device acquires the degree information of the source symbol and the source symbol according to the data frame. The specific processing procedure of the index information is: the first device determines the degree information of the source symbol corresponding to the coding information identifier of the source symbol according to the correspondence between the degree information of the source symbol and the index information of the source symbol according to the pre-stored coding information identifier. And index information of the source symbol.
在实施中,第一设备中可以预先存储有编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系。其中,该对应关系与第二设备预先存储的对应关系相同。第一设备接收到该数据帧后,可以对该数据帧进行解析,得到该数据帧中携带的编码信息标识。然后,第一设备可以在编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系中查询是否存在编码信息标识对应的表项,如果存在,则获取对应的源符号的度信息和源符号的索引信息。例如,如表二所示,编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系中编码信息标识为4B,源符号的度信息为3、3、4、5,源符号的索引信息为1、3、5、2、4、6、1、3、8、9、2、4、5、6、10。In the implementation, the correspondence between the coding information identifier and the degree information of the source symbol and the index information of the source symbol may be pre-stored in the first device. The correspondence is the same as the corresponding relationship pre-stored by the second device. After receiving the data frame, the first device may parse the data frame to obtain an identifier of the coded information carried in the data frame. Then, the first device may query whether there is an entry corresponding to the coded information identifier in the correspondence between the coded information identifier and the degree information of the source symbol and the index information of the source symbol, and if yes, obtain the degree of the corresponding source symbol. Index information for information and source symbols. For example, as shown in Table 2, the coding information identifier is 4B in the correspondence between the coding information identifier and the source information and the source symbol index information, and the source symbol degree information is 3, 3, 4, 5, and the source. The index information of the symbols is 1, 3, 5, 2, 4, 6, 1, 3, 8, 9, 2, 4, 5, 6, and 10.
表二Table II
Figure PCTCN2019072650-appb-000002
Figure PCTCN2019072650-appb-000002
在本申请实施例中,通过预先存储编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系,数据帧中只携带有编码信息,从而使数据帧的数据量更小,传输速率更快。In the embodiment of the present application, the correspondence between the degree information of the source symbol and the index information of the source symbol is stored in advance, and the data frame carries only the encoded information, so that the data amount of the data frame is smaller. The transfer rate is faster.
步骤206,第一设备根据源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息,确定源符号和编码符号的映射关系。Step 206: The first device determines, according to the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol, a mapping relationship between the source symbol and the encoded symbol.
在实施中,第一设备在得到源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息后,可以进一步生成源符号和编码符号的映射关系。其中,该源符号和编码符号的映射关系可以用编码矩阵或生成矩阵或Tanner图进行表示,也可以用其他的方法进行表示,本申请不作限定。In an implementation, after obtaining the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol, the first device may further generate a mapping relationship between the source symbol and the encoded symbol. The mapping relationship between the source symbol and the encoding symbol may be represented by an encoding matrix or a generating matrix or a Tanner graph, and may also be represented by other methods, which is not limited in this application.
步骤207,第一设备根据映射关系、编码符号以及预设的无码率译码算法,确定源符号。Step 207: The first device determines the source symbol according to the mapping relationship, the coded symbol, and the preset codeless rate decoding algorithm.
在实施中,第一设备中预先存储有无码率译码算法,该无码率译码算法可以选择软判决置信传播算法,也可以选择其他携带软信息的无码率译码算法。本申请不作限定。In the implementation, the first device has a code-free decoding algorithm pre-stored, and the code-free decoding algorithm may select a soft-decision-confidence propagation algorithm, or may select another code-free decoding algorithm that carries soft information. This application is not limited.
第一设备在得到编码符号和映射关系后,进一步可以根据映射关系、编码符号以及无码率译码算法,对编码符号进行译码,从而得到源符号。After obtaining the coded symbol and the mapping relationship, the first device may further decode the coded symbol according to the mapping relationship, the coded symbol, and the codeless rate decoding algorithm, thereby obtaining the source symbol.
可选的,第二设备可以根据预设的校验算法对源符号的度信息和源符号的索引信息进行校验保护,如图7所示,具体的处理过程为:第二设备根据源符号的度信息、源符号的索引信息和预设的校验算法,生成第一校验信息。相应的,步骤203的具体处理过程为:第二设备根据编码符号、源符号的长度、源符号的数目、源符号的度信息、源符号的索引信息和第一校验信息,生成数据帧。Optionally, the second device may perform verification and protection on the degree information of the source symbol and the index information of the source symbol according to the preset verification algorithm, as shown in FIG. 7. The specific processing procedure is: the second device is based on the source symbol. The degree information, the index information of the source symbol, and the preset verification algorithm generate the first verification information. Correspondingly, the specific processing of step 203 is: the second device generates a data frame according to the coded symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, the index information of the source symbol, and the first check information.
在实施中,第二设备中可以预先存储有校验算法。第二设备在生成源符号的度信息和源符号的索引信息后,可以根据校验算法、源符号的度信息和源符号的索引信息,生成第一校验信息。然后,第二设备可以将编码符号、源符号的长度、源符号的数目、源符号的度信息、源符号的索引信息和第一校验信息封装在数据帧中,并发送给第一设备。In an implementation, a verification algorithm may be pre-stored in the second device. After generating the degree information of the source symbol and the index information of the source symbol, the second device may generate the first verification information according to the verification algorithm, the degree information of the source symbol, and the index information of the source symbol. Then, the second device may encapsulate the coding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, the index information of the source symbol, and the first check information in the data frame, and send the data to the first device.
可选的,针对上述第二设备根据预设的校验算法对源符号的度信息和源符号的索引信息进行校验保护的步骤,如图7所示,数据帧中还携带有第一校验信息,第一设备可以根据第一校验信息对源符号的度信息、源符号的索引信息进行校验,具体的处理过程为:第一设备根据源符号的度信息、源符号的索引信息和预设的校验算法,生成第二校验信息;如果第二校验信息与第一校验信息相同,则执行根据源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息,确定源符号和编码符号的映射关系步骤。Optionally, the step of performing protection check on the degree information of the source symbol and the index information of the source symbol according to the preset verification algorithm by the second device, as shown in FIG. 7, the first frame is also carried in the data frame. The first device may perform verification on the degree information of the source symbol and the index information of the source symbol according to the first verification information. The specific processing procedure is: the first device according to the degree information of the source symbol and the index information of the source symbol. And generating, by the preset check algorithm, the second check information; if the second check information is the same as the first check information, performing performing according to the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the source symbol The index information determines the mapping relationship between the source symbol and the encoded symbol.
在实施中,第一设备中可以预先存储有校验算法。其中,该校验算法与第二设备预先存储的校验算法相同。第一设备接收到该数据帧后,可以对该数据帧进行解析,得到该数据帧中携带的源符号的度信息、源符号的索引信息和第一校验信息。然后,第一设备根据源符号的度信息、源符号的索引信息和校验算法,生成第二校验信息,并判断第二校验信息是否与第一校验信息相同。如果第二校验信息与第一校验信息相同,则说明数据帧在传输过程中源符号的度信息和源符号的索引信息并未发生变化,第一设备可以根据源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息,确定源符号和编码符号的映射关系。如果第二校验信息与第一校验信息不相同,则说明数据帧在传输过程中源符号的度信息和源符号的索引信息发生变化,第一设备可以请求第二设备进行重传。In an implementation, a verification algorithm may be pre-stored in the first device. The verification algorithm is the same as the verification algorithm pre-stored by the second device. After receiving the data frame, the first device may parse the data frame to obtain degree information of the source symbol carried in the data frame, index information of the source symbol, and first check information. Then, the first device generates second check information according to the degree information of the source symbol, the index information of the source symbol, and the check algorithm, and determines whether the second check information is the same as the first check information. If the second check information is the same as the first check information, it indicates that the degree information of the source symbol and the index information of the source symbol do not change during the transmission, and the first device may be based on the length of the source symbol and the source symbol. The number of the source symbols, the degree information of the source symbols, and the index information of the source symbols determine the mapping relationship between the source symbols and the encoded symbols. If the second check information is different from the first check information, it indicates that the degree information of the source symbol and the index information of the source symbol change during the transmission, and the first device may request the second device to perform retransmission.
需要说明的是,基于上述不同的生成物理层的数据帧的方式,第二设备也可以根据不同的信息生成第一校验信息、例如,针对步骤203中的第二种方式,第二设备可以根据校验算法、源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子,生成第一校验信息;针对步骤203中的第三种方式,第二设备还可以根据校验算法、源符号的度信息的第二随机种子和源符号的索引信息的第二随机种子,生成第一校验信息;针对步骤203中的第四种方式,第二设备还可以根据校验算法和编码信息标识,生成第一校验信息。同理,针对步骤205中的第二种方式,第一设备也可以根据校验算法、源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子,生成第二校验信息;针对步骤205中的第三种方式,第一设备还可以根据校验算法、源符号的度信息的第二随机种子和源符号的索引信息的第二随机种子,生成第二校验信息;针对步骤205中的第四种方式,第一设备还可以根据校验算法和编码信息标识,生成第二校验信息,并判断第二校验信息是否与第一校验信息相同。具体处理过程与上述介绍的处理过程类似,本申请不再赘述。It should be noted that, according to the manner of generating the data frame of the physical layer, the second device may also generate the first check information according to different information. For example, for the second mode in step 203, the second device may Generating, according to the first random seed of the first random seed and the index information of the source symbol of the check information, the first random seed of the source symbol, the first check information; and the third device in step 203, the second device may further a second random seed of the verification algorithm, the second random seed of the degree information of the source symbol, and the index information of the source symbol, to generate the first verification information; and for the fourth mode in step 203, the second device may also be based on the calibration The algorithm and the encoded information identifier are generated to generate the first verification information. Similarly, for the second mode in step 205, the first device may also generate a second check according to the first random seed of the check algorithm, the first random seed of the degree information of the source symbol, and the index information of the source symbol. For the third mode in step 205, the first device may further generate the second check information according to the second random seed of the check algorithm, the second random seed of the degree information of the source symbol, and the index information of the source symbol. For the fourth mode in step 205, the first device may further generate second check information according to the check algorithm and the coded information identifier, and determine whether the second check information is the same as the first check information. The specific processing procedure is similar to the processing described above, and will not be described again in this application.
可选的,第二设备可以根据不同的数据模式信息,选择不同的信息封装方式来生成数据帧,具体的处理过程为:第二设备根据预先存储的数据模式信息和信息封装方式,确定数据帧中的数据模式信息对应的信息封装方式。相应的,步骤203的具体处理过程为:第二设备基于数据模式信息对应的信息封装方式,根据编码符号、源符号的长度、源符号的数目、源符号的度信息、源符号的索引信息和数据模式信息,生成数据帧。Optionally, the second device may select different information encapsulation manners to generate data frames according to different data mode information. The specific processing process is: the second device determines the data frame according to the pre-stored data mode information and the information encapsulation manner. The information encapsulation method corresponding to the data mode information in the medium. Correspondingly, the specific processing procedure of step 203 is: the second device is based on the information encapsulation manner corresponding to the data mode information, according to the coding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol. Data mode information, generating data frames.
在实施中,IEEE在发布的802.15.7标准协议中根据VLC业务类型将VLC物理层的数据帧的数据模式分为单模(single mode)、包模式(packed mode)、突发模式(burst mode)与通断键控调光模式(on-off Keying dimmed mode)。其中,单模模式用于短数据或小文件数据传输(比如应答信号、连接信号、信标信号或信息广播等),在单模模式中,每个数据帧包括一个物理层数据单元(physical layer data unit,PPDU)。包模式和突发模式用于长数据或大文件数据高速传输。断键控调光模式用于支持调光需求,如图3所示,可以在数据帧中携带调光模式字段和补偿符号字段实现。In the implementation, the IEEE divides the data mode of the data frame of the VLC physical layer into a single mode, a packed mode, and a burst mode according to the VLC service type in the released 802.15.7 standard protocol. ) and on-off Keying dimmed mode. Among them, single mode mode is used for short data or small file data transmission (such as response signal, connection signal, beacon signal or information broadcast, etc.), in single mode, each data frame includes one physical layer data unit (physical layer) Data unit, PPDU). Packet mode and burst mode are used for high-speed transmission of long data or large file data. The key-switching dimming mode is used to support the dimming requirement. As shown in FIG. 3, the dimming mode field and the compensation symbol field can be implemented in the data frame.
针对包模式和突发模式,第二设备在发送数据帧时,可以选择将源符号的度信息和源符号的索引信息直接封装在数据帧中,并将该数据帧发送给第一设备。针对单模模式,由于每个源符号的长度为一个比特,为了防止负载冗余过大,降低传输效率, 第二设备在发送数据帧时,可以选择将对应源符号的度信息和源符号的索引信息的编码信息标识封装在数据帧中,并将该数据帧发送给第一设备。For the packet mode and the burst mode, when the second device sends the data frame, the second device may directly encapsulate the degree information of the source symbol and the index information of the source symbol into the data frame, and send the data frame to the first device. For the single-mode mode, since the length of each source symbol is one bit, in order to prevent overload redundancy and reduce transmission efficiency, the second device may select the degree information of the corresponding source symbol and the source symbol when transmitting the data frame. The encoded information identifier of the index information is encapsulated in the data frame and sent to the first device.
第二设备中可以预先存储有数据模式信息和信息封装方式的对应关系,当第二设备需要与第一设备进行通信时,第二设备可以根据预先存储的数据模式信息和信息封装方式的对应关系,确定对应的信息封装方式。例如,当数据帧的数据模式信息为包模式和突发模式时,则将源符号的度信息和源符号的索引信息或者源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子或者源符号的度信息的第二随机种子和源符号的索引信息的第二随机种子封装在数据帧中,并将该数据帧发送给第一设备。当数据帧的数据模式信息为单模模式时,则将编码信息标识封装在数据帧中,并将该数据帧发送给第一设备。The correspondence between the data mode information and the information encapsulation mode may be pre-stored in the second device. When the second device needs to communicate with the first device, the second device may be configured according to the correspondence between the pre-stored data mode information and the information encapsulation mode. Determine the corresponding information encapsulation method. For example, when the data mode information of the data frame is the packet mode and the burst mode, the degree information of the source symbol and the index information of the source symbol or the index information of the first random seed and the source symbol of the degree information of the source symbol are A second random seed of the random seed or the symbol information of the source symbol and a second random seed of the index information of the source symbol are encapsulated in the data frame, and the data frame is transmitted to the first device. When the data mode information of the data frame is in the single mode mode, the coded information identifier is encapsulated in the data frame, and the data frame is sent to the first device.
可选的,针对上述第二设备可以根据不同的数据模式信息,选择不同的信息封装方式来生成数据帧的步骤,数据帧中还可以携带有数据模式信息,第一设备可以根据不同的数据模式信息,选择不同的信息获取方式来获取源符号的度信息和源符号的索引信息,具体的处理过程为:根据预先存储的数据模式信息和信息获取方式的对应关系,确定数据帧中的数据模式信息对应的信息获取方式;基于数据帧中的数据模式信息对应的信息获取方式,根据数据帧,获取源符号的度信息和源符号的索引信息。Optionally, the second device may be configured to generate a data frame according to different data mode information according to different data mode information, where the data frame may also carry data mode information, and the first device may be configured according to different data modes. Information, selecting different information acquisition methods to obtain the degree information of the source symbol and the index information of the source symbol. The specific processing procedure is: determining the data pattern in the data frame according to the correspondence between the pre-stored data pattern information and the information acquisition manner. The information acquisition manner corresponding to the information; based on the information acquisition manner corresponding to the data pattern information in the data frame, the degree information of the source symbol and the index information of the source symbol are obtained according to the data frame.
在实施中,第一设备中可以预先存储有数据模式信息和信息获取方式的对应关系。其中,数据模式信息和信息获取方式的对应关系与第二设备预先存储的数据模式信息和信息封装方式的对应关系相同。当第一设备接收到数据帧后,可以对该数据帧进行解析,得到数据模式信息。然后,第一设备可以根据预先存储的数据模式信息和信息获取方式对应关系,确定对应的信息获取方式。例如,当数据帧的数据模式为包模式和突发模式时,则获取该数据帧中携带的源符号的度信息和源符号的索引信息或者源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子或者源符号的度信息的第二随机种子和源符号的索引信息的第二随机种子。当数据帧的数据模式为单模模式时,则获取该数据帧中携带的编码信息标识。In the implementation, the correspondence between the data mode information and the information acquisition manner may be pre-stored in the first device. The correspondence between the data mode information and the information acquiring manner is the same as the corresponding relationship between the data mode information and the information encapsulation manner pre-stored by the second device. After the first device receives the data frame, the data frame may be parsed to obtain data mode information. Then, the first device may determine a corresponding information acquisition manner according to the pre-stored data mode information and the information acquisition manner correspondence relationship. For example, when the data mode of the data frame is the packet mode and the burst mode, the first random seed and the source symbol of the degree information of the source symbol carried in the data frame and the index information of the source symbol or the degree information of the source symbol are acquired. The second random seed of the index information or the second random seed of the degree information of the source symbol and the second random seed of the index information of the source symbol. When the data mode of the data frame is in the single mode mode, the coded information identifier carried in the data frame is obtained.
本申请的实施例中,首先,第一设备接收第二设备发送的数据帧。然后,第一设备根据数据帧,获取编码符号、源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息。之后,第一设备根据源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息,确定源符号和编码符号的映射关系。最后,第一设备根据映射关系、编码符号以及预设的无码率译码算法,确定源符号。这样,第二设备根据自适应码率,生成编码信息,并通过数据帧发送给第一设备。第一设备均可以根据上述编码信息生成对应的源符号,从而实现根据VLC物理层的动态信道实现码率自适应。In the embodiment of the present application, first, the first device receives the data frame sent by the second device. Then, the first device acquires the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol according to the data frame. Thereafter, the first device determines a mapping relationship between the source symbol and the encoded symbol according to the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol. Finally, the first device determines the source symbol according to the mapping relationship, the encoding symbol, and the preset codeless decoding algorithm. In this way, the second device generates the encoded information according to the adaptive code rate, and sends the encoded information to the first device through the data frame. The first device may generate corresponding source symbols according to the foregoing coding information, so as to implement code rate adaptation according to the dynamic channel of the VLC physical layer.
基于相同的技术构思,本申请实施例还提供了一种用于无线光通信的通信装置,该通信装置应用于第一设备,如图8所示,该通信装置包括:Based on the same technical concept, the embodiment of the present application further provides a communication device for wireless optical communication, where the communication device is applied to a first device, as shown in FIG. 8, the communication device includes:
接收模块810,用于接收第二设备发送的数据帧;The receiving module 810 is configured to receive a data frame sent by the second device.
获取模块820,用于根据数据帧,获取编码符号、源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息,其中,源符号的度信息表示参与编码处理的各 源符号组所包含的源符号的数目,源符号的索引信息表示参与编码处理的各源符号组所包含的源符号的索引;The obtaining module 820 is configured to obtain, according to the data frame, an encoding symbol, a length of the source symbol, a number of source symbols, degree information of the source symbol, and index information of the source symbol, where the degree information of the source symbol indicates each source participating in the encoding process. The number of source symbols included in the symbol group, and the index information of the source symbol indicates an index of source symbols included in each source symbol group participating in the encoding process;
第一确定模块830,用于根据源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息,确定源符号和编码符号的映射关系;The first determining module 830 is configured to determine, according to the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol, a mapping relationship between the source symbol and the encoded symbol;
第二确定模块840,用于根据映射关系、编码符号以及预设的无码率译码算法,确定源符号。The second determining module 840 is configured to determine the source symbol according to the mapping relationship, the encoding symbol, and the preset codeless decoding algorithm.
在一种可能的实现方式中,数据帧中携带有源符号的度信息和源符号的索引信息,获取模块820,具体用于:In a possible implementation, the data frame carries the degree information of the active symbol and the index information of the source symbol, and the obtaining module 820 is specifically configured to:
获取数据帧中携带的源符号的度信息和源符号的索引信息。Obtaining degree information of the source symbol carried in the data frame and index information of the source symbol.
在一种可能的实现方式中,数据帧中携带有源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子,获取模块820,具体用于:In a possible implementation, the first random seed that carries the first random seed of the degree information of the active symbol and the index information of the source symbol in the data frame, the obtaining module 820 is specifically configured to:
根据源符号的度信息的第一随机种子、源符号的索引信息的第一随机种子和预设的第一伪随机数生成算法,生成源符号的度信息和源符号的索引信息。And generating, according to the first random seed of the degree information of the source symbol, the first random seed of the index information of the source symbol, and the preset first pseudo random number generating algorithm, the degree information of the source symbol and the index information of the source symbol.
在一种可能的实现方式中,数据帧中携带有源符号的度信息的第二随机种子和源符号的索引信息的第二随机种子,获取模块820,具体用于:In a possible implementation, the second random seed of the information information of the source symbol and the second random seed of the index information of the source symbol are carried in the data frame, and the acquiring module 820 is specifically configured to:
根据源符号的度信息的第二随机种子、源符号的索引信息的第二随机种子和预设的第二伪随机数生成算法,生成源符号的索引信息的第三随机种子和源符号的度信息;Generating a third random seed and a source symbol of the index information of the source symbol according to the second random seed of the degree information of the source symbol, the second random seed of the index information of the source symbol, and the preset second pseudo random number generating algorithm information;
根据源符号的索引信息的第三随机种子、源符号的度信息和预设的第三伪随机数生成算法,生成源符号的索引信息。The index information of the source symbol is generated according to the third random seed of the index information of the source symbol, the degree information of the source symbol, and the preset third pseudo random number generation algorithm.
在一种可能的实现方式中,数据帧中携带有源符号的编码信息标识,获取模块820,具体用于:In a possible implementation, the data frame carries an encoded information identifier of the active symbol, and the obtaining module 820 is specifically configured to:
根据预先存储的编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系,确定源符号的编码信息标识对应的源符号的度信息和源符号的索引信息。And determining, according to the pre-stored coding information, the correspondence between the degree information of the source symbol and the index information of the source symbol, and determining the degree information of the source symbol and the index information of the source symbol corresponding to the coding information identifier of the source symbol.
在一种可能的实现方式中,数据帧中还携带有第一校验信息,如图9所示,该通信装置还包括:In a possible implementation, the data frame also carries the first check information. As shown in FIG. 9, the communications device further includes:
生成模块850,用于根据源符号的度信息、源符号的索引信息和预设的校验算法,生成第二校验信息;The generating module 850 is configured to generate second verification information according to the degree information of the source symbol, the index information of the source symbol, and a preset verification algorithm.
第三确定模块860,用于如果第二校验信息与第一校验信息相同,则触发第一确定模块830执行根据源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息,确定源符号和编码符号的映射关系步骤。The third determining module 860 is configured to: if the second check information is the same as the first check information, trigger the first determining module 830 to perform according to the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the source symbol. Index information, the step of determining the mapping relationship between the source symbol and the encoded symbol.
在一种可能的实现方式中,数据帧中还携带有数据模式信息,如图10所示,该通信装置还包括:In a possible implementation, the data frame also carries data mode information. As shown in FIG. 10, the communications apparatus further includes:
第四确定模块870,用于根据预先存储的数据模式信息和信息获取方式的对应关系,确定数据帧中的数据模式信息对应的信息获取方式;The fourth determining module 870 is configured to determine, according to the correspondence between the pre-stored data mode information and the information acquiring manner, an information acquiring manner corresponding to the data mode information in the data frame;
获取模块820,具体用于:The obtaining module 820 is specifically configured to:
基于数据帧中的数据模式信息对应的信息获取方式,根据数据帧,获取源符号的度信息和源符号的索引信息。The degree information of the source symbol and the index information of the source symbol are obtained according to the data frame based on the information acquiring manner corresponding to the data mode information in the data frame.
本申请的实施例中,首先,第一设备通过接收模块810接收第二设备发送的数据帧。然后,第一设备通过获取模块820根据数据帧,获取编码符号、源符号的长度、 所述源符号的数目、所述源符号的度信息和所述源符号的索引信息。之后,第一设备通过第一确定模块830根据源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息,确定源符号和编码符号的映射关系。最后,第一设备通过第二确定模块840根据映射关系、编码符号以及预设的无码率译码算法,确定源符号。这样,第二设备根据自适应码率,生成编码信息,并通过数据帧发送给第一设备。第一设备均可以根据上述编码信息生成对应的源符号,从而实现根据VLC物理层的动态信道实现码率自适应。In the embodiment of the present application, first, the first device receives the data frame sent by the second device by using the receiving module 810. Then, the first device acquires, by the acquiring module 820, the encoded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol according to the data frame. Then, the first device determines, by the first determining module 830, a mapping relationship between the source symbol and the encoded symbol according to the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol. Finally, the first device determines the source symbol by the second determining module 840 according to the mapping relationship, the encoding symbol, and the preset codeless decoding algorithm. In this way, the second device generates the encoded information according to the adaptive code rate, and sends the encoded information to the first device through the data frame. The first device may generate corresponding source symbols according to the foregoing coding information, so as to implement code rate adaptation according to the dynamic channel of the VLC physical layer.
基于相同的技术构思,本申请实施例还提供了一种用于无线光通信的通信装置,该通信装置应用于第二设备,如图11所示,该通信装置包括:Based on the same technical concept, the embodiment of the present application further provides a communication device for wireless optical communication, and the communication device is applied to a second device. As shown in FIG. 11, the communication device includes:
获取模块1110,用于获取源符号、源符号的长度和源符号的数目;An obtaining module 1110, configured to acquire a source symbol, a length of the source symbol, and a number of source symbols;
第一生成模块1120,用于根据源符号和预设的无码率编码算法,生成编码符号、源符号的度信息和源符号的索引信息,其中,源符号的度信息表示参与编码处理的各源符号组所包含的源符号的数目,源符号的索引信息表示参与编码处理的各源符号组所包含的源符号的索引;The first generating module 1120 is configured to generate, according to the source symbol and the preset codeless encoding algorithm, the encoded information, the degree information of the source symbol, and the index information of the source symbol, where the degree information of the source symbol indicates each of the participating encoding processes. The number of source symbols included in the source symbol group, and the index information of the source symbol indicates an index of source symbols included in each source symbol group participating in the encoding process;
发送模块1130,用于根据编码符号、源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息,生成数据帧,并向第一设备发送数据帧。The sending module 1130 is configured to generate a data frame according to the coded symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol, and send the data frame to the first device.
在一种可能的实现方式中,发送模块1130,具体用于:In a possible implementation, the sending module 1130 is specifically configured to:
对编码符号、源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息进行封装处理,得到数据帧。The coding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol are encapsulated to obtain a data frame.
在一种可能的实现方式中,发送模块1130,具体用于:In a possible implementation, the sending module 1130 is specifically configured to:
根据源符号的度信息、源符号的索引信息和预设的第一伪随机数生成算法,生成源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子;Generating, according to the degree information of the source symbol, the index information of the source symbol, and the preset first pseudo random number generating algorithm, a first random seed of the degree information of the source symbol and a first random seed of the index information of the source symbol;
对编码符号、源符号的长度、源符号的数目、源符号的度信息的第一随机种子和源符号的索引信息的第一随机种子进行封装处理,得到数据帧。The first random seed of the first random seed and the index information of the source symbol of the coding symbol, the length of the source symbol, the number of source symbols, and the degree information of the source symbol are encapsulated to obtain a data frame.
在一种可能的实现方式中,发送模块1130,具体用于:In a possible implementation, the sending module 1130 is specifically configured to:
根据源符号的索引信息、源符号的度信息和预设的第三伪随机数生成算法,生成源符号的索引信息的第三随机种子;Generating a third random seed of the index information of the source symbol according to the index information of the source symbol, the degree information of the source symbol, and the preset third pseudo random number generation algorithm;
根据源符号的度信息、源符号的索引信息的第三随机种子和预设的第二伪随机数生成算法,生成源符号的度信息的第二随机种子、源符号的索引信息的第二随机种子;Generating a second random seed of the degree information of the source symbol and a second random number of the index information of the source symbol according to the degree information of the source symbol, the third random seed of the index information of the source symbol, and the preset second pseudo random number generating algorithm. seed;
对编码符号、源符号的长度、源符号的数目、源符号的度信息的第二随机种子和源符号的索引信息的第二随机种子进行封装处理,得到数据帧。The second random seed of the encoding information, the length of the source symbol, the number of source symbols, the second random seed of the source symbol, and the index information of the source symbol are encapsulated to obtain a data frame.
在一种可能的实现方式中,发送模块1130,具体用于:In a possible implementation, the sending module 1130 is specifically configured to:
根据预先存储的编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系,确定对应源符号的度信息和源符号的索引信息的源符号的编码信息标识;Determining, according to the pre-stored coding information, the correspondence between the degree information of the source symbol and the index information of the source symbol, and determining the coding information identifier of the source symbol corresponding to the degree information of the source symbol and the index information of the source symbol;
对编码符号、源符号的长度、源符号的数目、源符号的编码信息标识进行封装处理,得到数据帧。Encapsulating the encoded symbol, the length of the source symbol, the number of source symbols, and the encoded information identifier of the source symbol to obtain a data frame.
在一种可能的实现方式中,如图12所示,该通信装置还包括:In a possible implementation manner, as shown in FIG. 12, the communications apparatus further includes:
第二生成模块1140,用于根据源符号的度信息、源符号的索引信息和预设的校验 算法,生成第一校验信息;The second generation module 1140 is configured to generate first verification information according to the degree information of the source symbol, the index information of the source symbol, and a preset verification algorithm.
发送模块1130,具体用于:The sending module 1130 is specifically configured to:
根据编码符号、源符号的长度、源符号的数目、源符号的度信息、源符号的索引信息和第一校验信息,生成数据帧。A data frame is generated according to the coding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, the index information of the source symbol, and the first parity information.
在一种可能的实现方式中,如图13所示,该通信装置还包括:In a possible implementation, as shown in FIG. 13, the communication device further includes:
确定模块1150,用于根据预先存储的数据模式信息和信息封装方式,确定数据帧中的数据模式信息对应的信息封装方式;a determining module 1150, configured to determine, according to the pre-stored data mode information and the information encapsulation manner, an information encapsulation manner corresponding to the data mode information in the data frame;
发送模块1130,具体用于:The sending module 1130 is specifically configured to:
基于数据模式信息对应的信息封装方式,根据编码符号、源符号的长度、源符号的数目、源符号的度信息、源符号的索引信息和数据模式信息,生成数据帧。The data frame is generated based on the information encapsulation method corresponding to the data mode information, according to the coding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, the index information of the source symbol, and the data pattern information.
本申请的实施例中,首先,第二设备通过获取模块1110获取源符号、源符号的长度和源符号的数目。然后,第二设备通过第一生成模块1120根据源符号和预设的无码率编码算法,生成编码符号、源符号的度信息和源符号的索引信息。最后,第二设备通过发送模块1130根据编码符号、源符号的长度、源符号的数目、源符号的度信息和源符号的索引信息,生成数据帧,并向第一设备发送数据帧。这样,第二设备根据自适应码率,生成编码信息,并通过数据帧发送给第一设备。第一设备均可以根据上述编码信息生成对应的源符号,从而实现根据VLC物理层的动态信道实现码率自适应。In the embodiment of the present application, first, the second device acquires the source symbol, the length of the source symbol, and the number of the source symbols through the obtaining module 1110. Then, the second device generates, by the first generation module 1120, the coding symbol, the degree information of the source symbol, and the index information of the source symbol according to the source symbol and the preset codeless coding algorithm. Finally, the second device generates a data frame by the sending module 1130 according to the encoding symbol, the length of the source symbol, the number of source symbols, the degree information of the source symbol, and the index information of the source symbol, and sends the data frame to the first device. In this way, the second device generates the encoded information according to the adaptive code rate, and sends the encoded information to the first device through the data frame. The first device may generate corresponding source symbols according to the foregoing coding information, so as to implement code rate adaptation according to the dynamic channel of the VLC physical layer.
基于相同的技术构思,本申请实施例还提供了一种第一设备,该第一设备可以为终端设备或网络设备。如图14所示,该第一设备包括:一个或多个处理器1410、一个或多个存储器1420、一个或多个基带处理模块1430、一个或多个光电探测器1460、一个或多个光学天线1470。Based on the same technical concept, the embodiment of the present application further provides a first device, which may be a terminal device or a network device. As shown in FIG. 14, the first device includes one or more processors 1410, one or more memories 1420, one or more baseband processing modules 1430, one or more photodetectors 1460, one or more optics Antenna 1470.
其中,存储器1420,用于存储程序指令。The memory 1420 is configured to store program instructions.
处理器1410,用于根据存储器1420中存储的程序指令控制基带处理模块1430、光源探测器1460和光学天线1470执行上述第一设备执行的用于无线光通信的方法。The processor 1410 is configured to control the baseband processing module 1430, the light source detector 1460, and the optical antenna 1470 to perform the method for wireless optical communication performed by the first device according to the program instructions stored in the memory 1420.
光学天线1470,用于接收光强信号,并将所述光强信号发送给光电探测器1460。The optical antenna 1470 is configured to receive a light intensity signal and transmit the light intensity signal to the photodetector 1460.
光电探测器1460,用于接收光强信号,将光强信号转化为带偏置的电信号,并将带偏置的电信号发送给基带处理模块1430,其中带偏置的电信号可以为带偏置的电流信号或带偏置的电压信号。The photodetector 1460 is configured to receive the light intensity signal, convert the light intensity signal into a biased electrical signal, and send the biased electrical signal to the baseband processing module 1430, wherein the biased electrical signal can be a band Offset current signal or biased voltage signal.
基带处理模块1430,用于接收带偏置的电信号,并对带偏置的电信号进行解调制处理和解码处理,生成源符号。The baseband processing module 1430 is configured to receive the biased electrical signal, and perform demodulation processing and decoding processing on the biased electrical signal to generate a source symbol.
可选的,第一设备还可以包括一个或多个射频收发器1490,用于接收或发送无线射频信号。Optionally, the first device may further include one or more radio frequency transceivers 1490 for receiving or transmitting radio frequency signals.
需要说明的是,处理器1410、存储器1420、基带处理模块1430、电探测器1460和射频收发器1490通过总线连接。基带处理模块1430可以进行信道估计,在数据帧中添加信道估计序列,还可以在数据帧中添加同步先导码,还可以在数据帧中添加调光模式等处理。It should be noted that the processor 1410, the memory 1420, the baseband processing module 1430, the electrical detector 1460, and the radio frequency transceiver 1490 are connected by a bus. The baseband processing module 1430 may perform channel estimation, add a channel estimation sequence to the data frame, add a synchronization preamble to the data frame, or add a dimming mode or the like to the data frame.
另外,针对第一设备为网络设备的情况,该第一设备还可以包括通信接口1480。该通信接口1480,用于对接收其他网络设备发送的数据报文,对该数据报文进行解析, 得到数据报文中的源符号,并将源符号发送给基带处理模块1430。In addition, for the case where the first device is a network device, the first device may further include a communication interface 1480. The communication interface 1480 is configured to receive a data packet sent by another network device, parse the data packet, obtain a source symbol in the data packet, and send the source symbol to the baseband processing module 1430.
可选的,该第一设备还可以包括一个或多个光源驱动器1440,以及一个或多个光源1450。光源驱动器1440和光源1450的作用可参考下述第二设备中的相关描述。Optionally, the first device may further include one or more light source drivers 1440 and one or more light sources 1450. The role of the light source driver 1440 and the light source 1450 can be referred to the related description in the second device described below.
基于相同的技术构思,本申请实施例还提供了一种第二设备,该第二设备可以为终端设备或网络设备。如图14所示,该第二设备包括:一个或多个处理器1410、一个或多个存储器1420、一个或多个基带处理模块1430、一个或多个光源驱动器1440、一个或多个光源1450。Based on the same technical concept, the embodiment of the present application further provides a second device, which may be a terminal device or a network device. As shown in FIG. 14, the second device includes one or more processors 1410, one or more memories 1420, one or more baseband processing modules 1430, one or more light source drivers 1440, one or more light sources 1450. .
其中,存储器1420,用于存储程序指令。The memory 1420 is configured to store program instructions.
处理器1410,用于根据存储器1402中存储的程序指令控制基带处理模块1430、光源驱动器1440和光源1450执行上述第二设备执行的用于无线光通信的方法。The processor 1410 is configured to control the baseband processing module 1430, the light source driver 1440, and the light source 1450 to perform the method for wireless optical communication performed by the second device according to the program instructions stored in the memory 1402.
基带处理模块1430,用于对源符号进行编码处理和调制处理,生成数据帧,并将该数据帧发送给光源驱动器1440。The baseband processing module 1430 is configured to perform encoding processing and modulation processing on the source symbols, generate a data frame, and send the data frame to the light source driver 1440.
光源驱动器1440,用于生成直流电流或直流电压,并将接收到的数据帧与直流电流或直流电压进行叠加处理,生成带偏置的电信号,并将带偏置的电信号发给光源1450。The light source driver 1440 is configured to generate a direct current or a direct current voltage, and superimpose the received data frame with a direct current or a direct current voltage to generate an electrical signal with a bias, and send the biased electrical signal to the light source 1450. .
光源1450,用于根据带偏置的电信号,产生光强信号。A light source 1450 is configured to generate a light intensity signal based on the biased electrical signal.
可选的,第二设备还可以包括一个或多个射频收发器1490,用于接收或发送无线射频信号。Optionally, the second device may further include one or more radio frequency transceivers 1490 for receiving or transmitting radio frequency signals.
需要说明的是,处理器1410、存储器1420、基带处理模块1430、光源驱动器1440和射频收发器1490通过总线连接。基带处理模块1430可以进行信道估计,在数据帧中添加信道估计序列,还可以在数据帧中添加同步先导码,还可以在数据帧中添加调光模式等处理。It should be noted that the processor 1410, the memory 1420, the baseband processing module 1430, the light source driver 1440, and the radio frequency transceiver 1490 are connected by a bus. The baseband processing module 1430 may perform channel estimation, add a channel estimation sequence to the data frame, add a synchronization preamble to the data frame, or add a dimming mode or the like to the data frame.
另外针对第二设备为网络设备的情况,该第二设备还可以包括通信接口1480。该通信接口1480,用于对源符号进行封装处理,得到数据报文,并将数据报文发送给其他网络设备。In addition, in the case where the second device is a network device, the second device may further include a communication interface 1480. The communication interface 1480 is configured to perform encapsulation processing on the source symbols, obtain data packets, and send the data packets to other network devices.
可选的,该第二设备还可以包括一个或多个光电探测器1460,以及一个或多个光学天线1470。光电探测器1460和光学天线1470的作用可参考上述第一设备中的相关描述。Optionally, the second device may further include one or more photodetectors 1460, and one or more optical antennas 1470. The role of photodetector 1460 and optical antenna 1470 can be referred to the related description in the first device described above.
基于相同的技术构思,本申请实施例还提供了一种计算机可读存储介质,包括指令,当指令在计算机上运行时,使计算机执行上述第一设备所执行的方法。Based on the same technical concept, the embodiment of the present application further provides a computer readable storage medium, including instructions for causing a computer to execute a method performed by the first device when the instruction is run on a computer.
基于相同的技术构思,本申请实施例还提供了一种计算机可读存储介质,包括指令,当指令在计算机上运行时,使计算机执行上述第二设备所执行的方法。Based on the same technical concept, the embodiment of the present application further provides a computer readable storage medium, including instructions for causing a computer to execute a method performed by the second device when the instruction is run on a computer.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用 计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above is only the preferred embodiment of the present application, and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application are included in the protection of the present application. Within the scope.

Claims (32)

  1. 一种用于无线光通信的方法,其特征在于,所述方法应用于第一设备,所述方法包括:A method for wireless optical communication, characterized in that the method is applied to a first device, the method comprising:
    接收第二设备发送的数据帧;Receiving a data frame sent by the second device;
    根据所述数据帧,获取编码符号、源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,其中,所述源符号的度信息表示参与编码处理的各源符号组所包含的源符号的数目,所述源符号的索引信息表示参与编码处理的各源符号组所包含的源符号的索引;Obtaining, according to the data frame, an encoding symbol, a length of the source symbol, a number of the source symbols, degree information of the source symbol, and index information of the source symbol, where the degree information of the source symbol indicates participation coding a number of source symbols included in each of the processed source symbol groups, the index information of the source symbols indicating an index of source symbols included in each source symbol group participating in the encoding process;
    根据所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,确定所述源符号和所述编码符号的映射关系;Determining, according to the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol, a mapping relationship between the source symbol and the encoded symbol;
    根据所述映射关系、所述编码符号以及预设的无码率译码算法,确定所述源符号。Determining the source symbol according to the mapping relationship, the encoded symbol, and a preset codeless decoding algorithm.
  2. 根据权利要求1所述的方法,其特征在于,所述数据帧中携带有所述源符号的度信息和所述源符号的索引信息,所述根据所述数据帧,获取所述源符号的度信息和所述源符号的索引信息,包括:The method according to claim 1, wherein the data frame carries degree information of the source symbol and index information of the source symbol, and the acquiring the source symbol according to the data frame Degree information and index information of the source symbol, including:
    获取所述数据帧中携带的所述源符号的度信息和所述源符号的索引信息。Obtaining degree information of the source symbol and index information of the source symbol carried in the data frame.
  3. 根据权利要求1所述的方法,其特征在于,所述数据帧中携带有所述源符号的度信息的第一随机种子和所述源符号的索引信息的第一随机种子,所述根据所述数据帧,获取所述源符号的度信息和所述源符号的索引信息,包括:The method according to claim 1, wherein the data frame carries a first random seed of degree information of the source symbol and a first random seed of index information of the source symbol, the basis The data frame is obtained, and the degree information of the source symbol and the index information of the source symbol are obtained, including:
    根据所述源符号的度信息的第一随机种子、所述源符号的索引信息的第一随机种子和预设的第一伪随机数生成算法,生成所述源符号的度信息和所述源符号的索引信息。Generating degree information of the source symbol and the source according to a first random seed of the degree information of the source symbol, a first random seed of index information of the source symbol, and a preset first pseudo random number generating algorithm Index information for symbols.
  4. 根据权利要求1所述的方法,其特征在于,所述数据帧中携带有所述源符号的度信息的第二随机种子和所述源符号的索引信息的第二随机种子,所述根据所述数据帧,获取所述源符号的度信息和所述源符号的索引信息,包括:The method according to claim 1, wherein the data frame carries a second random seed of degree information of the source symbol and a second random seed of index information of the source symbol, the basis The data frame is obtained, and the degree information of the source symbol and the index information of the source symbol are obtained, including:
    根据所述源符号的度信息的第二随机种子、所述源符号的索引信息的第二随机种子和预设的第二伪随机数生成算法,生成所述源符号的索引信息的第三随机种子和所述源符号的度信息;Generating, according to the second random seed of the degree information of the source symbol, the second random seed of the index information of the source symbol, and a preset second pseudo random number generating algorithm, generating a third random of the index information of the source symbol Degree information of the seed and the source symbol;
    根据所述源符号的索引信息的第三随机种子、所述源符号的度信息和预设的第三伪随机数生成算法,生成所述源符号的索引信息。Generating index information of the source symbol according to a third random seed of the index information of the source symbol, degree information of the source symbol, and a preset third pseudo random number generation algorithm.
  5. 根据权利要求1所述的方法,其特征在于,所述数据帧中携带有所述源符号的编码信息标识,所述根据所述数据帧,获取所述源符号的度信息和所述源符号的索引信息,包括:The method according to claim 1, wherein the data frame carries an encoding information identifier of the source symbol, and the obtaining the degree information of the source symbol and the source symbol according to the data frame Index information, including:
    根据预先存储的编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系,确定所述源符号的编码信息标识对应的所述源符号的度信息和所述源符号的索引信息。Determining the degree information of the source symbol and the index of the source symbol corresponding to the coding information identifier of the source symbol according to the correspondence between the degree information of the source symbol and the index information of the source symbol. information.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述数据帧中还携带有第一校验信息,所述方法还包括:The method according to any one of claims 1 to 5, wherein the data frame further carries first verification information, the method further comprising:
    根据所述源符号的度信息、所述源符号的索引信息和预设的校验算法,生成第二校验信息;Generating second verification information according to the degree information of the source symbol, the index information of the source symbol, and a preset verification algorithm;
    如果所述第二校验信息与所述第一校验信息相同,则执行所述根据所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,确定所述源符号和所述编码符号的映射关系步骤。And if the second check information is the same as the first check information, performing, according to the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the source symbol Index information, the step of determining a mapping relationship between the source symbol and the encoded symbol.
  7. 根据权利要求1至6任一项所述的方法,其特征在于,所述数据帧中还携带有数据模式信息,所述方法还包括:The method according to any one of claims 1 to 6, wherein the data frame further carries data mode information, the method further comprising:
    根据预先存储的数据模式信息和信息获取方式的对应关系,确定所述数据帧中的数据模式信息对应的信息获取方式;Determining, according to a correspondence between the pre-stored data mode information and the information acquiring manner, an information acquiring manner corresponding to the data mode information in the data frame;
    所述根据所述数据帧,获取源符号的度信息和源符号的索引信息,包括:And obtaining, according to the data frame, the degree information of the source symbol and the index information of the source symbol, including:
    基于所述数据帧中的数据模式信息对应的信息获取方式,根据所述数据帧,获取所述源符号的度信息和所述源符号的索引信息。And obtaining, according to the data frame, degree information of the source symbol and index information of the source symbol according to the information acquiring manner corresponding to the data mode information in the data frame.
  8. 一种用于无线光通信的方法,其特征在于,所述方法应用于第二设备,所述方法包括:A method for wireless optical communication, characterized in that the method is applied to a second device, the method comprising:
    获取源符号、所述源符号的长度和所述源符号的数目;Obtaining a source symbol, a length of the source symbol, and a number of the source symbols;
    根据所述源符号和预设的无码率编码算法,生成编码符号、所述源符号的度信息和所述源符号的索引信息,其中,所述源符号的度信息表示参与编码处理的各源符号组所包含的源符号的数目,所述源符号的索引信息表示参与编码处理的各源符号组所包含的源符号的索引;Generating, according to the source symbol and a preset codeless coding algorithm, coding symbols, degree information of the source symbols, and index information of the source symbols, where the degree information of the source symbols indicates each of the participating coding processes a number of source symbols included in the source symbol group, the index information of the source symbol indicating an index of source symbols included in each source symbol group participating in the encoding process;
    根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,并向第一设备发送所述数据帧。Generating a data frame according to the coded symbol, a length of the source symbol, a number of the source symbol, degree information of the source symbol, and index information of the source symbol, and transmitting the data frame to a first device .
  9. 根据权利要求8所述的方法,其特征在于,所述根据所述编码符号、源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,包括:The method according to claim 8, wherein the generating is generated according to the coded symbol, a length of a source symbol, a number of the source symbols, degree information of the source symbol, and index information of the source symbol. Data frames, including:
    对所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息进行封装处理,得到数据帧。Encapsulating the encoded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol to obtain a data frame.
  10. 根据权利要求8所述的方法,其特征在于,所述根据所述编码符号、源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,包括:The method according to claim 8, wherein the generating is generated according to the coded symbol, a length of a source symbol, a number of the source symbols, degree information of the source symbol, and index information of the source symbol. Data frames, including:
    根据所述源符号的度信息、所述源符号的索引信息和预设的第一伪随机数生成算法,生成所述源符号的度信息的第一随机种子和所述源符号的索引信息的第一随机种子;Generating, according to the degree information of the source symbol, the index information of the source symbol, and a preset first pseudo random number generating algorithm, the first random seed of the degree information of the source symbol and the index information of the source symbol First random seed;
    对所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息的第一随机种子和所述源符号的索引信息的第一随机种子进行封装处理,得到数据帧。Encapsulating the first random seed of the coding symbol, the length of the source symbol, the number of the source symbols, the first random seed of the degree information of the source symbol, and the index information of the source symbol, to obtain a coding process Data Frame.
  11. 根据权利要求8所述的方法,其特征在于,所述根据所述编码符号、源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,包括:The method according to claim 8, wherein the generating is generated according to the coded symbol, a length of a source symbol, a number of the source symbols, degree information of the source symbol, and index information of the source symbol. Data frames, including:
    根据所述源符号的索引信息、所述源符号的度信息和预设的第三伪随机数生成算法,生成所述源符号的索引信息的第三随机种子;Generating a third random seed of the index information of the source symbol according to the index information of the source symbol, the degree information of the source symbol, and a preset third pseudo random number generation algorithm;
    根据所述源符号的度信息、所述源符号的索引信息的第三随机种子和预设的第二 伪随机数生成算法,生成所述源符号的度信息的第二随机种子和所述源符号的索引信息的第二随机种子;Generating a second random seed of the degree information of the source symbol and the source according to the degree information of the source symbol, the third random seed of the index information of the source symbol, and a preset second pseudo random number generating algorithm a second random seed of index information of the symbol;
    对所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息的第二随机种子和所述源符号的索引信息的第二随机种子进行封装处理,得到数据帧。Encapsulating the second random seed of the coding symbol, the length of the source symbol, the number of the source symbols, the second random seed of the degree information of the source symbol, and the index information of the source symbol, to obtain a coding process Data Frame.
  12. 根据权利要求8所述的方法,其特征在于,所述根据所述编码符号、源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,包括:The method according to claim 8, wherein the generating is generated according to the coded symbol, a length of a source symbol, a number of the source symbols, degree information of the source symbol, and index information of the source symbol. Data frames, including:
    根据预先存储的编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系,确定对应所述源符号的度信息和所述源符号的索引信息的所述源符号的编码信息标识;Determining, according to the pre-stored coding information, a correspondence relationship between the degree information of the source symbol and the index information of the source symbol, and determining the coding information of the source symbol corresponding to the degree information of the source symbol and the index information of the source symbol. Identification
    对所述编码符号、源符号的长度、所述源符号的数目、所述源符号的编码信息标识进行封装处理,得到数据帧。Encapsulating the encoded symbol, the length of the source symbol, the number of the source symbols, and the encoded information identifier of the source symbol to obtain a data frame.
  13. 根据权利要求8至12任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 8 to 12, wherein the method further comprises:
    根据所述源符号的度信息、所述源符号的索引信息和预设的校验算法,生成第一校验信息;Generating first verification information according to the degree information of the source symbol, the index information of the source symbol, and a preset verification algorithm;
    所述根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,包括:Generating a data frame according to the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol, including:
    根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息、所述源符号的索引信息和所述第一校验信息,生成数据帧。Generating a data frame according to the encoded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, the index information of the source symbol, and the first parity information.
  14. 根据权利要求8至13任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 8 to 13, wherein the method further comprises:
    根据预先存储的数据模式信息和信息封装方式,确定所述数据帧中的数据模式信息对应的信息封装方式;Determining, according to the pre-stored data mode information and the information encapsulation manner, an information encapsulation manner corresponding to the data mode information in the data frame;
    所述根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,包括:Generating a data frame according to the coded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol, including:
    基于所述数据模式信息对应的信息封装方式,根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息、所述源符号的索引信息和所述数据模式信息,生成数据帧。And according to the information encapsulation manner corresponding to the data mode information, according to the coding symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, the index information of the source symbol, and the Data mode information, generating data frames.
  15. 一种用于无线光通信的通信装置,其特征在于,所述通信装置应用于第一设备,所述通信装置包括:A communication device for wireless optical communication, characterized in that the communication device is applied to a first device, the communication device comprising:
    接收模块,用于接收第二设备发送的数据帧;a receiving module, configured to receive a data frame sent by the second device;
    获取模块,用于根据所述数据帧,获取编码符号、源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,其中,所述源符号的度信息表示参与编码处理的各源符号组所包含的源符号的数目,所述源符号的索引信息表示参与编码处理的各源符号组所包含的源符号的索引;And an obtaining module, configured to obtain, according to the data frame, an encoding symbol, a length of the source symbol, a number of the source symbol, degree information of the source symbol, and index information of the source symbol, where the source symbol The degree information indicates the number of source symbols included in each source symbol group participating in the encoding process, and the index information of the source symbol indicates an index of source symbols included in each source symbol group participating in the encoding process;
    第一确定模块,用于根据所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,确定所述源符号和所述编码符号的映射关系;a first determining module, configured to determine, according to the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol, a mapping between the source symbol and the encoded symbol relationship;
    第二确定模块,用于根据所述映射关系、所述编码符号以及预设的无码率译码算法,确定所述源符号。And a second determining module, configured to determine the source symbol according to the mapping relationship, the coded symbol, and a preset codeless rate decoding algorithm.
  16. 根据权利要求15所述的装置,其特征在于,所述数据帧中携带有所述源符号的度信息和所述源符号的索引信息,所述获取模块,具体用于:The apparatus according to claim 15, wherein the data frame carries degree information of the source symbol and index information of the source symbol, and the acquiring module is specifically configured to:
    获取所述数据帧中携带的所述源符号的度信息和所述源符号的索引信息。Obtaining degree information of the source symbol and index information of the source symbol carried in the data frame.
  17. 根据权利要求15所述的装置,其特征在于,所述数据帧中携带有所述源符号的度信息的第一随机种子和所述源符号的索引信息的第一随机种子,所述获取模块,具体用于:The apparatus according to claim 15, wherein the data frame carries a first random seed of degree information of the source symbol and a first random seed of index information of the source symbol, the acquiring module Specifically for:
    根据所述源符号的度信息的第一随机种子、所述源符号的索引信息的第一随机种子和预设的第一伪随机数生成算法,生成所述源符号的度信息和所述源符号的索引信息。Generating degree information of the source symbol and the source according to a first random seed of the degree information of the source symbol, a first random seed of index information of the source symbol, and a preset first pseudo random number generating algorithm Index information for symbols.
  18. 根据权利要求15所述的装置,其特征在于,所述数据帧中携带有所述源符号的度信息的第二随机种子和所述源符号的索引信息的第二随机种子,所述获取模块,具体用于:The apparatus according to claim 15, wherein the data frame carries a second random seed of degree information of the source symbol and a second random seed of index information of the source symbol, the acquiring module Specifically for:
    根据所述源符号的度信息的第二随机种子、所述源符号的索引信息的第二随机种子和预设的第二伪随机数生成算法,生成所述源符号的索引信息的第三随机种子和所述源符号的度信息;Generating, according to the second random seed of the degree information of the source symbol, the second random seed of the index information of the source symbol, and a preset second pseudo random number generating algorithm, generating a third random of the index information of the source symbol Degree information of the seed and the source symbol;
    根据所述源符号的索引信息的第三随机种子、所述源符号的度信息和预设的第三伪随机数生成算法,生成所述源符号的索引信息。Generating index information of the source symbol according to a third random seed of the index information of the source symbol, degree information of the source symbol, and a preset third pseudo random number generation algorithm.
  19. 根据权利要求15所述的装置,其特征在于,所述数据帧中携带有所述源符号的编码信息标识,所述获取模块,具体用于:The apparatus according to claim 15, wherein the data frame carries an encoding information identifier of the source symbol, and the acquiring module is specifically configured to:
    根据预先存储的编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系,确定所述源符号的编码信息标识对应的所述源符号的度信息和所述源符号的索引信息。Determining the degree information of the source symbol and the index of the source symbol corresponding to the coding information identifier of the source symbol according to the correspondence between the degree information of the source symbol and the index information of the source symbol. information.
  20. 根据权利要求15至19任一项所述的装置,其特征在于,所述数据帧中还携带有第一校验信息,所述装置还包括:The device according to any one of claims 15 to 19, wherein the data frame further carries first verification information, and the device further comprises:
    第一生成模块,用于根据所述源符号的度信息、所述源符号的索引信息和预设的校验算法,生成第二校验信息;a first generation module, configured to generate second verification information according to the degree information of the source symbol, the index information of the source symbol, and a preset verification algorithm;
    第三确定模块,用于如果所述第二校验信息与所述第一校验信息相同,则触发第一确定模块执行所述根据所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,确定所述源符号和所述编码符号的映射关系步骤。a third determining module, configured to: if the second check information is the same as the first check information, trigger the first determining module to perform the according to the length of the source symbol, the number of the source symbols, and the Determining a mapping relationship between the source symbol and the encoded symbol by describing degree information of the source symbol and index information of the source symbol.
  21. 根据权利要求15至20任一项所述的装置,其特征在于,所述数据帧中还携带有数据模式信息,所述装置还包括:The device according to any one of claims 15 to 20, wherein the data frame further carries data mode information, the device further comprising:
    第四确定模块,用于根据预先存储的数据模式信息和信息获取方式的对应关系,确定所述数据帧中的数据模式信息对应的信息获取方式;a fourth determining module, configured to determine, according to a correspondence between the pre-stored data mode information and the information acquiring manner, an information acquiring manner corresponding to the data mode information in the data frame;
    所述获取模块,具体用于:The obtaining module is specifically configured to:
    基于所述数据帧中的数据模式信息对应的信息获取方式,根据所述数据帧,获取所述源符号的度信息和所述源符号的索引信息。And obtaining, according to the data frame, degree information of the source symbol and index information of the source symbol according to the information acquiring manner corresponding to the data mode information in the data frame.
  22. 一种用于无线光通信的通信装置,其特征在于,所述通信装置应用于第二设备,所述通信装置包括:A communication device for wireless optical communication, characterized in that the communication device is applied to a second device, the communication device comprising:
    获取模块,用于获取源符号、所述源符号的长度和所述源符号的数目;An obtaining module, configured to acquire a source symbol, a length of the source symbol, and a number of the source symbols;
    第一生成模块,用于根据所述源符号和预设的无码率编码算法,生成编码符号、所述源符号的度信息和所述源符号的索引信息,其中,所述源符号的度信息表示参与编码处理的各源符号组所包含的源符号的数目,所述源符号的索引信息表示参与编码处理的各源符号组所包含的源符号的索引;a first generating module, configured to generate, according to the source symbol and a preset codeless coding algorithm, an encoding symbol, degree information of the source symbol, and index information of the source symbol, where the degree of the source symbol The information indicates the number of source symbols included in each source symbol group participating in the encoding process, and the index information of the source symbol indicates an index of source symbols included in each source symbol group participating in the encoding process;
    发送模块,用于根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息,生成数据帧,并向第一设备发送所述数据帧。a sending module, configured to generate a data frame according to the coded symbol, a length of the source symbol, a number of the source symbol, degree information of the source symbol, and index information of the source symbol, and send the data frame to the first device Send the data frame.
  23. 根据权利要求22所述的装置,其特征在于,所述发送模块,具体用于:The device according to claim 22, wherein the sending module is specifically configured to:
    对所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息和所述源符号的索引信息进行封装处理,得到数据帧。Encapsulating the encoded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, and the index information of the source symbol to obtain a data frame.
  24. 根据权利要求22所述的装置,其特征在于,所述发送模块,具体用于:The device according to claim 22, wherein the sending module is specifically configured to:
    根据所述源符号的度信息、所述源符号的索引信息和预设的第一伪随机数生成算法,生成所述源符号的度信息的第一随机种子和所述源符号的索引信息的第一随机种子;Generating, according to the degree information of the source symbol, the index information of the source symbol, and a preset first pseudo random number generating algorithm, the first random seed of the degree information of the source symbol and the index information of the source symbol First random seed;
    对所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息的第一随机种子和所述源符号的索引信息的第一随机种子进行封装处理,得到数据帧。Encapsulating the first random seed of the coding symbol, the length of the source symbol, the number of the source symbols, the first random seed of the degree information of the source symbol, and the index information of the source symbol, to obtain a coding process Data Frame.
  25. 根据权利要求22所述的装置,其特征在于,所述发送模块,具体用于:The device according to claim 22, wherein the sending module is specifically configured to:
    根据所述源符号的索引信息、所述源符号的度信息和预设的第三伪随机数生成算法,生成所述源符号的索引信息的第三随机种子;Generating a third random seed of the index information of the source symbol according to the index information of the source symbol, the degree information of the source symbol, and a preset third pseudo random number generation algorithm;
    根据所述源符号的度信息、所述源符号的索引信息的第三随机种子和预设的第二伪随机数生成算法,生成所述源符号的度信息的第二随机种子和所述源符号的索引信息的第二随机种子;Generating a second random seed of the degree information of the source symbol and the source according to the degree information of the source symbol, the third random seed of the index information of the source symbol, and a preset second pseudo random number generating algorithm a second random seed of index information of the symbol;
    对所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息的第二随机种子和所述源符号的索引信息的第二随机种子进行封装处理,得到数据帧。Encapsulating the second random seed of the coding symbol, the length of the source symbol, the number of the source symbols, the second random seed of the degree information of the source symbol, and the index information of the source symbol, to obtain a coding process Data Frame.
  26. 根据权利要求22所述的装置,其特征在于,所述发送模块,具体用于:The device according to claim 22, wherein the sending module is specifically configured to:
    根据预先存储的编码信息标识与源符号的度信息和源符号的索引信息三者的对应关系,确定对应所述源符号的度信息和所述源符号的索引信息的所述源符号的编码信息标识;Determining, according to the pre-stored coding information, a correspondence relationship between the degree information of the source symbol and the index information of the source symbol, and determining the coding information of the source symbol corresponding to the degree information of the source symbol and the index information of the source symbol. Identification
    对所述编码符号、源符号的长度、所述源符号的数目、所述源符号的编码信息标识进行封装处理,得到数据帧。Encapsulating the encoded symbol, the length of the source symbol, the number of the source symbols, and the encoded information identifier of the source symbol to obtain a data frame.
  27. 根据权利要求22至26任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 22 to 26, wherein the device further comprises:
    第二生成模块,用于根据所述源符号的度信息、所述源符号的索引信息和预设的校验算法,生成第一校验信息;a second generation module, configured to generate first verification information according to the degree information of the source symbol, the index information of the source symbol, and a preset verification algorithm;
    所述发送模块,具体用于:The sending module is specifically configured to:
    根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息、所述源符号的索引信息和所述第一校验信息,生成数据帧。Generating a data frame according to the encoded symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, the index information of the source symbol, and the first parity information.
  28. 根据权利要求22至27任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 22 to 27, wherein the device further comprises:
    确定模块,用于根据预先存储的数据模式信息和信息封装方式,确定所述数据帧 中的数据模式信息对应的信息封装方式;a determining module, configured to determine, according to the pre-stored data mode information and the information encapsulation manner, an information encapsulation manner corresponding to the data mode information in the data frame;
    所述发送模块,具体用于:The sending module is specifically configured to:
    基于所述数据模式信息对应的信息封装方式,根据所述编码符号、所述源符号的长度、所述源符号的数目、所述源符号的度信息、所述源符号的索引信息和所述数据模式信息,生成数据帧。And according to the information encapsulation manner corresponding to the data mode information, according to the coding symbol, the length of the source symbol, the number of the source symbols, the degree information of the source symbol, the index information of the source symbol, and the Data mode information, generating data frames.
  29. 一种设备,所述设备为第一设备,其特征在于,所述第一设备包括:一个或多个处理器、一个或多个存储器、一个或多个基带处理模块、一个或多个光源探测器、一个或多个光学天线;A device, the device being a first device, the first device comprising: one or more processors, one or more memories, one or more baseband processing modules, one or more light source detections , one or more optical antennas;
    其中,所述存储器,用于存储程序指令;Wherein the memory is used to store program instructions;
    所述处理器,用于根据所述存储器中存储的程序指令控制所述基带处理模块、所述光源探测器和所述光学天线执行权利要求1-7任意一项所述的方法;The processor, configured to control the baseband processing module, the light source detector, and the optical antenna to perform the method of any one of claims 1-7 according to program instructions stored in the memory;
    所述光学天线,用于接收光强信号,并将所述光强信号发送给所述光电探测器;The optical antenna is configured to receive a light intensity signal, and send the light intensity signal to the photodetector;
    所述光电探测器,用于接收光强信号,将光强信号转化为带偏置的电信号,并将带偏置的电信号发送给所述基带处理模块,其中带偏置的电信号可以为带偏置的电流信号或带偏置的电压信号;The photodetector is configured to receive a light intensity signal, convert the light intensity signal into a biased electrical signal, and send the biased electrical signal to the baseband processing module, wherein the biased electrical signal can be Is a biased current signal or a biased voltage signal;
    所述基带处理模块,用于接收带偏置的电信号,并对带偏置的电信号进行解调制处理和解码处理,生成源符号。The baseband processing module is configured to receive an electrical signal with a bias, and perform demodulation processing and decoding processing on the biased electrical signal to generate a source symbol.
  30. 一种设备,所述设备为第二设备,其特征在于,所述第二设备包括:一个或多个处理器、一个或多个存储器、一个或多个基带处理模块、一个或多个光源驱动器、一个或多个光源;A device, the device being a second device, the second device comprising: one or more processors, one or more memories, one or more baseband processing modules, one or more light source drivers One or more light sources;
    其中,所述存储器,用于存储程序指令;Wherein the memory is used to store program instructions;
    所述处理器,用于根据存储器中存储的程序指令控制基带处理模块、光源驱动器和光源执行权利要求8-14任意一项所述的方法;The processor, configured to control the baseband processing module, the light source driver, and the light source according to the program instructions stored in the memory to perform the method of any one of claims 8-14;
    所述基带处理模块,用于对源符号进行编码处理和调制处理,生成数据帧,并将该数据帧发送给所述光源驱动器;The baseband processing module is configured to perform encoding processing and modulation processing on the source symbol, generate a data frame, and send the data frame to the light source driver;
    所述光源驱动器,用于生成直流电流或直流电压,并将接收到的数据帧与直流电流或直流电压进行叠加处理,生成带偏置的电信号,并将带偏置的电信号发给所述光源;The light source driver is configured to generate a direct current or a direct current voltage, and superimpose the received data frame with a direct current or a direct current voltage to generate an electrical signal with a bias, and send the biased electrical signal to the Light source
    所述光源,用于根据带偏置的电信号,产生光强信号。The light source is configured to generate a light intensity signal according to an electrical signal with a bias.
  31. 一种计算机可读存储介质,包括指令,当所述指令在计算机上运行时,使所述计算机执行如权利要求1至7任一项所述的方法。A computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 7.
  32. 一种计算机可读存储介质,包括指令,当所述指令在计算机上运行时,使所述计算机执行如权利要求8至14任一项所述的方法。A computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 8 to 14.
PCT/CN2019/072650 2018-02-08 2019-01-22 Method and communication device for wireless optical communication WO2019154065A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP19750347.7A EP3737005B1 (en) 2018-02-08 2019-01-22 Method and communication device for wireless optical communication
JP2020542844A JP7204762B2 (en) 2018-02-08 2019-01-22 Wireless optical communication method and communication device
KR1020207023336A KR102314275B1 (en) 2018-02-08 2019-01-22 Wireless optical communication method and communication device
US16/968,366 US11165504B2 (en) 2018-02-08 2019-01-22 Wireless optical communication method and communications apparatus

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201810133531 2018-02-08
CN201810133531.6 2018-02-08
CN201810714877.5A CN110138451B (en) 2018-02-08 2018-06-29 Method and communication device for wireless optical communication
CN201810714877.5 2018-06-29

Publications (1)

Publication Number Publication Date
WO2019154065A1 true WO2019154065A1 (en) 2019-08-15

Family

ID=67549210

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/072650 WO2019154065A1 (en) 2018-02-08 2019-01-22 Method and communication device for wireless optical communication

Country Status (1)

Country Link
WO (1) WO2019154065A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726879A (en) * 2021-08-30 2021-11-30 河南大学 Hybrid data center network structure VHCN based on VLC link

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120099593A1 (en) * 2009-08-19 2012-04-26 Qualcomm Incorporated Universal file delivery methods for providing unequal error protection and bundled file delivery services
CN103795492A (en) * 2013-09-30 2014-05-14 深圳光启创新技术有限公司 Coding method and apparatus and decoding method and apparatus in optical communication system, system
CN105007118A (en) * 2015-06-10 2015-10-28 重庆邮电大学 Neural network equalization method used for indoor visible light communication system
CN105993138A (en) * 2014-02-14 2016-10-05 飞利浦灯具控股公司 Signaling using idle period for coded light

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120099593A1 (en) * 2009-08-19 2012-04-26 Qualcomm Incorporated Universal file delivery methods for providing unequal error protection and bundled file delivery services
CN103795492A (en) * 2013-09-30 2014-05-14 深圳光启创新技术有限公司 Coding method and apparatus and decoding method and apparatus in optical communication system, system
CN105993138A (en) * 2014-02-14 2016-10-05 飞利浦灯具控股公司 Signaling using idle period for coded light
CN105007118A (en) * 2015-06-10 2015-10-28 重庆邮电大学 Neural network equalization method used for indoor visible light communication system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3737005A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726879A (en) * 2021-08-30 2021-11-30 河南大学 Hybrid data center network structure VHCN based on VLC link
CN113726879B (en) * 2021-08-30 2023-10-24 河南大学 Hybrid data center network system VHCN based on VLC link

Similar Documents

Publication Publication Date Title
US11165504B2 (en) Wireless optical communication method and communications apparatus
ES2766527T3 (en) Procedures and apparatus for multi-user communications on wireless networks
US20080219251A1 (en) Combining packets in physical layer for two-way relaying
US11711185B2 (en) Method and device in communication node for wireless communication
US11990919B2 (en) Method and device in UE and base station for channel coding
CN113873574A (en) Coding method and device
WO2019154065A1 (en) Method and communication device for wireless optical communication
KR101485017B1 (en) Method and apparatus for seamless transitions between radio links using different frequency bands for data transmission
KR101485013B1 (en) Method and apparatus for seamless transitions between radio links using different frequency bands for data reception
JP2018517342A (en) Technology for transmitting and / or receiving highly efficient wireless local area network information
WO2022011715A1 (en) Data transmission method and apparatus
WO2023108559A1 (en) Method and system for physical layer joint error correction coding of multiple payloads
US20230199484A1 (en) Method and device for control plane-based registration and remote provisioning in communication system
US20240171308A1 (en) Method and device for performing pac code-based hybrid decoding in wireless communication system
WO2022218244A1 (en) Communication method and apparatuses
US20230036520A1 (en) Apparatus, system, and method of wireless communication based on a network coding (nc) scheme
JP2023547337A (en) Enabling 1024-QAM on NR PDSCH
CN115604760A (en) Communication method and communication device
Popova et al. Efficient Distribution of Large Files in UMTS Supported by Network Coded M2M Data Transfer with Multiple Generations

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: 19750347

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020542844

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: 20207023336

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2019750347

Country of ref document: EP

Effective date: 20200803