CN114866144B - Data transmission method, device, equipment and storage medium based on visible light communication - Google Patents

Data transmission method, device, equipment and storage medium based on visible light communication Download PDF

Info

Publication number
CN114866144B
CN114866144B CN202210475545.2A CN202210475545A CN114866144B CN 114866144 B CN114866144 B CN 114866144B CN 202210475545 A CN202210475545 A CN 202210475545A CN 114866144 B CN114866144 B CN 114866144B
Authority
CN
China
Prior art keywords
data
transmitted
frame
communication
positioning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210475545.2A
Other languages
Chinese (zh)
Other versions
CN114866144A (en
Inventor
李德建
乌峰
赵旭
阳辉
宋健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Beijing Smartchip Microelectronics Technology Co Ltd
Original Assignee
Tsinghua University
Beijing Smartchip Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University, Beijing Smartchip Microelectronics Technology Co Ltd filed Critical Tsinghua University
Priority to CN202210475545.2A priority Critical patent/CN114866144B/en
Publication of CN114866144A publication Critical patent/CN114866144A/en
Application granted granted Critical
Publication of CN114866144B publication Critical patent/CN114866144B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/41Flow control; Congestion control by acting on aggregated flows or links
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The disclosure relates to the technical field of communication, and in particular relates to a data transmission method, device, equipment and storage medium based on visible light communication, wherein the method comprises the following steps: acquiring various types of data to be transmitted; framing the data to be transmitted of the multiple types to obtain a data frame to be transmitted; coding the data frame to be transmitted to obtain a signal code of the data frame to be transmitted; and obtaining a current signal of each data to be transmitted based on the signal codes, and transmitting the multiple types of data to be transmitted in the visible light domain simultaneously or alternately in a preset sequence based on the current signal of each data to be transmitted. According to the technical scheme provided by the disclosure, the technical problem that the conventional visible light communication system can only transmit single type data and cannot meet the requirements of multi-type data transmission is solved, the channel utilization rate is high, and the application range is wide.

Description

Data transmission method, device, equipment and storage medium based on visible light communication
Technical Field
The disclosure relates to the technical field of communication, and in particular relates to a data transmission method, device and equipment based on visible light communication and a storage medium.
Background
With the rapid development of communication technology, limited spectrum resources are gradually difficult to meet infinite business demands, and exploration of new spectrum resources is imperative.
The visible light communication technology is an emerging wireless communication technology using light of a visible light wave band as an information carrier, which is developed based on an LED (light-emitting diode) lighting technology, and compared with the traditional wireless communication technology, the visible light communication technology has the characteristics of no electromagnetic radiation, high bandwidth, high emission power, good confidentiality and the like, so that the visible light communication technology has a wide development prospect in the wireless communication field.
However, in the related art, the visible light communication system based on the optical communication technology can only transmit a single type of data, and cannot meet the requirement of multi-type data transmission, which results in low channel utilization rate, and needs to be solved.
Disclosure of Invention
The disclosure provides a data transmission method, device, equipment and storage medium based on visible light communication, so as to solve the problems that a visible light communication system in the related art can only transmit single type data, cannot meet the requirements of multi-type data transmission, has low channel utilization rate and the like.
An embodiment of a first aspect of the present disclosure provides a data transmission method based on visible light communication, including:
acquiring various types of data to be transmitted;
framing the data to be transmitted of the multiple types to obtain a data frame to be transmitted;
coding the data frame to be transmitted to obtain a signal code of the data frame to be transmitted; and obtaining a current signal of each data to be transmitted based on the signal codes, and transmitting the multiple types of data to be transmitted in the visible light domain simultaneously or alternately in a preset sequence based on the current signal of each data to be transmitted.
In an embodiment of the present disclosure, the plurality of types of data to be transmitted includes communication data and positioning data, and framing the plurality of types of data to be transmitted to obtain a data frame to be transmitted includes:
framing the communication data and the positioning data according to a first preset data frame format respectively to obtain a communication frame and a positioning frame, wherein the communication frame and the positioning frame form the data frame to be transmitted; or alternatively
And framing the communication data and the positioning data according to a second preset data frame format to obtain a combined data frame, wherein the combined data frame comprises the communication data and the positioning data, and the combined data frame forms the data frame to be transmitted.
In an embodiment of the present disclosure, the transmitting the plurality of types of data to be transmitted simultaneously or alternately in a preset order in the visible light domain includes:
transmitting the plurality of types of data to be transmitted simultaneously when the data frame to be transmitted is composed of the combined data frame;
and when the data frame to be transmitted consists of the communication frame and the positioning frame, alternately transmitting the multiple types of data to be transmitted in the preset sequence.
In an embodiment of the present disclosure, the preset order is: and transmitting the communication frame in the transmission gap of the positioning frame, and transmitting the positioning frame in the transmission gap of the communication frame.
In the embodiment of the disclosure, the transmission interval of the positioning frame is less than 100ms.
An embodiment of a second aspect of the present disclosure provides a data transmission device based on visible light communication, including:
the acquisition module is configured to acquire various types of data to be transmitted;
the framing module is configured to frame the multiple types of data to be transmitted to obtain a data frame to be transmitted;
the coding module is configured to code the data frame to be transmitted to obtain a signal code of the data frame to be transmitted; and
and the transmission module is configured to obtain a current signal of each data to be transmitted based on the signal codes, and the plurality of types of data to be transmitted are transmitted in the visible light domain simultaneously or alternately in a preset sequence based on the current signal of each data to be transmitted.
In an embodiment of the disclosure, the plurality of types of data to be transmitted include communication data and positioning data, and the framing module is further configured to:
framing the communication data and the positioning data according to a first preset data frame format respectively to obtain a communication frame and a positioning frame, wherein the communication frame and the positioning frame form the data frame to be transmitted; or alternatively
And framing the communication data and the positioning data according to a second preset data frame format to obtain a combined data frame, wherein the combined data frame comprises the communication data and the positioning data, and the combined data frame forms the data frame to be transmitted.
In an embodiment of the disclosure, the transmission module is further configured to:
transmitting the plurality of types of data to be transmitted simultaneously when the data frame to be transmitted is composed of the combined data frame;
and when the data frame to be transmitted consists of the communication frame and the positioning frame, alternately transmitting the multiple types of data to be transmitted in the preset sequence.
In an embodiment of the present disclosure, the preset order is: and transmitting the communication frame in the transmission gap of the positioning frame, and transmitting the positioning frame in the transmission gap of the communication frame.
In the embodiment of the disclosure, the transmission interval of the positioning frame is less than 100ms.
An embodiment of a third aspect of the present disclosure provides an electronic device, including: the system comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the program to realize the data transmission method based on the visible light communication according to the embodiment.
An embodiment of a fourth aspect of the present disclosure provides a computer-readable storage medium having stored thereon a computer program that is executed by a processor for implementing the data transmission method based on visible light communication as described in the above embodiment.
Thus, the present disclosure has at least the following beneficial effects:
by framing and encoding different types of data, multiple types of data can be transmitted simultaneously or alternately based on visible light communication, the requirement of multi-type data transmission is effectively met, the channel utilization rate is improved, and the method has the advantages of easiness in implementation, low cost, obvious effect and the like. Therefore, the technical problems that a visible light communication system in the related technology can only transmit single type data generally, cannot meet the requirement of multi-type data transmission, has low channel utilization rate and the like are solved.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The foregoing and/or additional aspects and advantages of the present disclosure will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 is a flow chart of a data transmission method based on visible light communication according to an embodiment of the disclosure.
Fig. 2 is an application schematic diagram of a data transmission method based on visible light communication according to an embodiment of the present disclosure.
Fig. 3 is a block diagram of a data transmission device based on visible light communication according to an embodiment of the present disclosure.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and intended for the purpose of explaining the present disclosure and are not to be construed as limiting the present disclosure.
The visible light communication system can utilize indoor lighting equipment to replace a wireless LAN local area network base station to transmit signals, the communication speed can reach tens to hundreds of megabits per second, and the future transmission speed can also exceed optical fiber communication. Meanwhile, indoor positioning technology based on visible light communication is highly expected. The location service is a service frequently used in daily life of people, and along with the progress of technology, the requirements of people on the positioning precision are higher and higher. People can move indoors for more than 80% of the time, and more than 70% of the traffic comes from the indoor, so that the technology which meets the requirement of high-precision positioning, is low in cost and convenient and is easy to popularize is needed.
Because the indoor environment is complex, the traditional satellite navigation positioning cannot meet the indoor positioning requirement, and other current commercial-grade applications are not effective solutions for indoor positioning due to user experience, cost and the like. The LED illumination is widely applied, so that the popularization of indoor positioning technology based on visible light communication is conditioned, and the LED can play the roles of illumination and communication at the same time, so that the cost of the technology is reduced to a certain extent.
However, in the related art, the visible light communication system is generally only used for transmitting high-speed communication data, or is only used for a location service, and the two functions cannot be combined. That is, there is no method for transmitting both high-speed communication data and positioning data based on visible light communication, so how to transmit both data simultaneously by using the visible light communication technology with low cost and obvious effect is a problem to be solved.
Therefore, the embodiments of the present disclosure provide a data transmission method, apparatus, device and storage medium based on visible light communication, so that an illumination end of visible light communication can simultaneously transmit various types and various rates of data, such as communication data and positioning data, by using a visible light communication technology. A data transmission method, apparatus, electronic device, and storage medium of a visible light communication system according to embodiments of the present disclosure will be described below with reference to the accompanying drawings.
Specifically, fig. 1 is a flow chart of a data transmission method of a visible light communication system according to an embodiment of the disclosure.
As shown in fig. 1, the data transmission method based on visible light communication includes the following steps:
in step S101, a plurality of types of data to be transmitted are acquired;
in step S102, framing the multiple types of data to be transmitted to obtain a data frame to be transmitted;
in step S103, the data frame to be transmitted is encoded, so as to obtain a signal code of the data frame to be transmitted;
in step S104, a current signal of each data to be transmitted is obtained based on the signal encoding, and the plurality of types of data to be transmitted are transmitted simultaneously or alternately in a preset order in the visible light range based on the current signal of each data to be transmitted.
In an embodiment of the disclosure, the data transmission method based on visible light communication may be performed by a visible light communication lighting end, where the lighting end is a visible light communication signal transmitting end, and may be an LED lamp, for example. The lighting end may receive a power line communication (Power Line Communication, PLC) signal from the power line and then transmit the processed signal to the optical communication receiving end using the visible light communication technology. The optical communication receiving end can be an intelligent terminal or other intelligent devices.
In the embodiment of the disclosure, the data to be transmitted of the plurality of types may include communication data and positioning data, and other data capable of being transmitted by a visible light communication technology. For convenience of explanation and explanation, the following description will take an example in which data to be transmitted includes communication data, which may include voice data, video data, or other data, and positioning data, which may include Identification (ID) information of a current lighting end.
In the embodiment of the disclosure, the acquiring the data to be transmitted of multiple types may be that the lighting end receives the PLC signal from the power line, and then demodulates the received PLC signal to acquire the communication data and the positioning data therein.
In the embodiment of the present disclosure, framing the multiple types of data to be transmitted to obtain a data frame to be transmitted refers to framing the acquired communication data and positioning data to obtain the data frame to be transmitted. The framing of the acquired communication data and positioning data may be achieved by the following manner: framing the communication data and the positioning data according to a first preset data frame format respectively to obtain a communication frame and a positioning frame, wherein the communication frame and the positioning frame form the data frame to be transmitted; or framing the communication data and the positioning data according to a second preset data frame format to obtain a combined data frame, wherein the combined data frame comprises the communication data and the positioning data, and the combined data frame forms the data frame to be transmitted.
Specifically, when the framing is performed according to the first preset data frame format, the communication data and the positioning data may be first framed according to the first preset data frame format, so as to obtain a communication frame and a positioning frame, where the communication frame is used to send the communication data, and the positioning frame is used to send the positioning data, and at this time, the data frame to be transmitted is composed of the communication frame and the positioning frame. In one embodiment of the present disclosure, the first preset data frame format may be as shown in table 1, where each data frame includes a 2-byte frame header, a 1-byte destination address, a 1-byte type, N-byte data, a 2-byte check code CRC32, and a 2-byte frame tail.
TABLE 1
Frame header Destination address Type(s) Data CRC32 Frame end
2 bytes 1 byte 1 byte N bytes 2 bytes 2 bytes
When the framing is performed according to the second preset data frame format, the communication data and the positioning data can be directly framed according to the second preset data frame format to obtain a combined data frame, and the data frame to be transmitted is composed of the combined data frame. In one embodiment of the present disclosure, the second preset data frame format may be as shown in table 2, and each data frame includes a 2-byte frame header, 3-byte positioning data, 1-byte communication data, and a 2-byte frame trailer.
TABLE 2
Frame header Positioning data Communication data Frame end
2 bytes 3 bytes 1 byte 2 bytes
In an embodiment of the present disclosure, the encoding the data frame to be transmitted to obtain a signal encoding of the data frame to be transmitted refers to encoding the data frame to be transmitted after framing according to bits, so as to obtain a signal encoding of the data frame to be transmitted, where the encoding may be manchester encoding.
In this embodiment of the present disclosure, obtaining the current signal of each data to be transmitted based on the signal code means that the data to be transmitted is converted into a corresponding current signal according to the signal code of the data frame to be transmitted, so as to control the luminous intensity of the illumination light source in the illumination end, thereby modulating the data to be transmitted to the visible light domain for transmission. The modulation can be realized by adopting a binary On-Off Keying (OOK) mode.
In an embodiment of the present disclosure, the transmitting the plurality of types of data to be transmitted simultaneously or alternately in a preset order in the visible light domain based on the current signal of each data to be transmitted means that the plurality of types of data to be transmitted are transmitted simultaneously when the data frame to be transmitted is composed of the combined data frame; and when the data frame to be transmitted consists of the communication frame and the positioning frame, alternately transmitting the multiple types of data to be transmitted in the preset sequence. Wherein, the transmitting the plurality of types of data to be transmitted may be transmitting the data to be transmitted.
Specifically, when the data frame to be transmitted is composed of the combined data frame, the combined data frame including the communication data and the positioning data may be directly transmitted in the corresponding transmission slot. The transmission slot assignment at this time can be as shown in table 3.
TABLE 3 Table 3
Combining data frames ...... Combining data frames
When the data frame to be transmitted is composed of the communication frame and the positioning frame, the plurality of types of data to be transmitted may be alternately transmitted in the preset order. The preset order may be that the communication frame is transmitted in a transmission gap of the positioning frame, and the positioning frame is transmitted in a transmission gap of the communication frame. The transmission time slot assignment at this time may be as shown in table 4, wherein the communication frame and the positioning frame may be alternately transmitted one by one, or may be alternately transmitted in a plurality of ways. For example, one positioning frame may be transmitted in a gap in which two or more communication frames are transmitted, or a plurality of positioning frames may be transmitted in a gap in which two or more communication frames are transmitted. In one embodiment of the present disclosure, the transmission interval of the positioning frame needs to be less than 100ms when the data to be transmitted is transmitted.
TABLE 4 Table 4
According to the technical scheme of the embodiment of the disclosure, the communication data and the positioning data received by the visible light communication lighting end are transmitted after being subjected to framing encoding in a specific mode, so that the technical problem that the existing visible light communication technology can only transmit single type data is solved, multiple different types of data with different rates can be transmitted simultaneously or alternately, the channel utilization rate is improved, and the method is easy to implement and low in cost.
In the embodiment of the present disclosure, when there is no communication data, the visible light channel is in an idle state, and at this time, framing may be performed according to the first preset data frame format, and then only the positioning frame, that is, only the positioning data, is transmitted, and at this time, the transmission time slot specification may be as shown in table 5. In this way, implementation costs can be further reduced.
TABLE 5
Positioning frame ...... Positioning frame
Fig. 2 illustrates an application diagram of a data transmission method based on visible light communication according to an embodiment of the present disclosure.
As shown in fig. 2, the data transmission method is applied to data downlink transmission of an illumination end of visible light communication, where the illumination end may be an LED lamp, and the LED lamp may include a functional module with signal receiving, signal sending and signal processing, and the functional module may be hardware or a combination of hardware and software. The LED lamp receives a PLC signal from a power line and demodulates the PLC signal to obtain data to be transmitted, wherein the data to be transmitted comprises communication data and positioning data; the LED lamp carries out framing and encoding on the communication data and the positioning data obtained through demodulation, then encodes the signals of the encoded data frames to be transmitted to obtain current signals of each data to be transmitted, finally modulates the luminous intensity of the LED according to the current signals, and simultaneously or alternately transmits the data to be transmitted in a preset sequence based on the modulated visible light signals, so that the aim of simultaneously or alternately transmitting various different types of data to be transmitted based on the visible light communication technology is achieved.
Fig. 3 illustrates a block diagram of a data transmission apparatus based on visible light communication according to an embodiment of the present disclosure.
As shown in fig. 3, the data transmission apparatus 300 of the visible light communication system includes:
an acquisition module 301 configured to acquire a plurality of types of data to be transmitted;
the framing module 302 is configured to frame the multiple types of data to be transmitted to obtain a data frame to be transmitted;
the encoding module 303 is configured to encode the data frame to be transmitted, so as to obtain a signal code of the data frame to be transmitted;
the transmission module 304 is configured to obtain a current signal of each data to be transmitted based on the signal encoding, and transmit the multiple types of data to be transmitted in the visible light domain simultaneously or alternately in a preset order based on the current signal of each data to be transmitted.
In an embodiment of the disclosure, the plurality of types of data to be transmitted include communication data and positioning data, and the framing module is further configured to: framing the communication data and the positioning data according to a first preset data frame format respectively to obtain a communication frame and a positioning frame, wherein the communication frame and the positioning frame form the data frame to be transmitted; or framing the communication data and the positioning data according to a second preset data frame format to obtain a combined data frame, wherein the combined data frame comprises the communication data and the positioning data, and the combined data frame forms the data frame to be transmitted.
In an embodiment of the disclosure, the transmission module is further configured to: transmitting the plurality of types of data to be transmitted simultaneously when the data frame to be transmitted is composed of the combined data frame; and when the data frame to be transmitted consists of the communication frame and the positioning frame, alternately transmitting the multiple types of data to be transmitted in the preset sequence.
In an embodiment of the present disclosure, the preset order is: and transmitting the communication frame in the transmission gap of the positioning frame, and transmitting the positioning frame in the transmission gap of the communication frame.
In the embodiment of the disclosure, the transmission interval of the positioning frame is less than 100ms.
It should be noted that the foregoing explanation of the data transmission method embodiment of the visible light communication system is also applicable to the data transmission device of the visible light communication system of this embodiment, and will not be repeated here.
According to the data transmission device of the visible light communication system, which is provided by the embodiment of the disclosure, the visible light communication system can simultaneously or alternately transmit a plurality of types of data through data framing, so that the requirement of multi-type data transmission is effectively met, the channel utilization rate is improved, and the device has the advantages of easiness in implementation, low cost, obvious effect and the like.
According to the technical scheme of the embodiment of the disclosure, the communication data and the positioning data received by the visible light communication lighting end are transmitted after being subjected to framing encoding in a specific mode, so that the technical problem that the existing visible light communication technology can only transmit single type data is solved, multiple different types of data with different rates can be transmitted simultaneously or alternately, the channel utilization rate is improved, and the method is easy to implement and low in cost.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. The system may include:
memory 401, processor 402, and a computer program stored on memory 401 and executable on processor 402.
The processor 402 implements the data transmission method based on visible light communication provided in the above-described embodiment when executing a program.
Further, the electronic device further includes:
a communication interface 403 for communication between the memory 401 and the processor 402.
A memory 401 for storing a computer program executable on the processor 402.
The memory 401 may include high speed RAM (Random Access Memory ) memory, and may also include non-volatile memory, such as at least one disk memory.
If the memory 401, the processor 402, and the communication interface 403 are implemented independently, the communication interface 403, the memory 401, and the processor 402 may be connected to each other by a bus and perform communication with each other. The bus may be an ISA (Industry Standard Architecture ) bus, a PCI (Peripheral Component, external device interconnect) bus, or EISA (Extended Industry Standard Architecture ) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 4, but not only one bus or one type of bus.
Alternatively, in a specific implementation, if the memory 401, the processor 402, and the communication interface 403 are integrated on a chip, the memory 401, the processor 402, and the communication interface 403 may perform communication with each other through internal interfaces.
The processor 402 may be a CPU (Central Processing Unit ) or ASIC (Application Specific Integrated Circuit, application specific integrated circuit) or one or more integrated circuits configured to implement embodiments of the present disclosure.
The embodiment of the present disclosure also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the data transmission method based on visible light communication as above.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, "N" means at least two, e.g., two, three, etc., unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more N executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiments of the present disclosure in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present disclosure.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the N steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. As with the other embodiments, if implemented in hardware, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable gate arrays, field programmable gate arrays, and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.

Claims (12)

1. A data transmission method based on visible light communication comprises the following steps:
acquiring multiple types of data to be transmitted, wherein the multiple types of data to be transmitted comprise communication data and positioning data, and the communication data is voice data and/or video data;
framing the data to be transmitted of the multiple types to obtain a data frame to be transmitted;
coding the data frame to be transmitted to obtain a signal code of the data frame to be transmitted;
and obtaining a current signal of each data to be transmitted based on the signal codes, and transmitting the multiple types of data to be transmitted in the visible light domain simultaneously or alternately in a preset sequence based on the current signal of each data to be transmitted.
2. The method of claim 1, wherein framing the plurality of types of data to be transmitted to obtain a data frame to be transmitted comprises:
framing the communication data and the positioning data according to a first preset data frame format respectively to obtain a communication frame and a positioning frame, wherein the communication frame and the positioning frame form the data frame to be transmitted; or alternatively
And framing the communication data and the positioning data according to a second preset data frame format to obtain a combined data frame, wherein the combined data frame comprises the communication data and the positioning data, and the combined data frame forms the data frame to be transmitted.
3. The method according to claim 2, wherein the transmitting the plurality of types of data to be transmitted simultaneously or alternately in a preset order in the visible light domain comprises:
transmitting the plurality of types of data to be transmitted simultaneously when the data frame to be transmitted is composed of the combined data frame;
and when the data frame to be transmitted consists of the communication frame and the positioning frame, alternately transmitting the multiple types of data to be transmitted in the preset sequence.
4. A method according to claim 3, wherein the predetermined sequence is: and transmitting the communication frame in the transmission gap of the positioning frame, and transmitting the positioning frame in the transmission gap of the communication frame.
5. The method of claim 4, wherein the transmission interval of the positioning frame is less than 100ms.
6. A data transmission device based on visible light communication, comprising:
the device comprises an acquisition module, a transmission module and a transmission module, wherein the acquisition module is configured to acquire multiple types of data to be transmitted, the multiple types of data to be transmitted comprise communication data and positioning data, and the communication data is voice data and/or video data;
the framing module is configured to frame the multiple types of data to be transmitted to obtain a data frame to be transmitted;
the coding module is configured to code the data frame to be transmitted to obtain a signal code of the data frame to be transmitted; and
and the transmission module is configured to obtain a current signal of each data to be transmitted based on the signal codes, and the plurality of types of data to be transmitted are transmitted in the visible light domain simultaneously or alternately in a preset sequence based on the current signal of each data to be transmitted.
7. The apparatus of claim 6, wherein the framing module is further configured to:
framing the communication data and the positioning data according to a first preset data frame format respectively to obtain a communication frame and a positioning frame, wherein the communication frame and the positioning frame form the data frame to be transmitted; or alternatively
And framing the communication data and the positioning data according to a second preset data frame format to obtain a combined data frame, wherein the combined data frame comprises the communication data and the positioning data, and the combined data frame forms the data frame to be transmitted.
8. The apparatus of claim 7, wherein the transmission module is further configured to:
transmitting the plurality of types of data to be transmitted simultaneously when the data frame to be transmitted is composed of the combined data frame;
and when the data frame to be transmitted consists of the communication frame and the positioning frame, alternately transmitting the multiple types of data to be transmitted in the preset sequence.
9. The apparatus of claim 8, wherein the predetermined sequence is: and transmitting the communication frame in the transmission gap of the positioning frame, and transmitting the positioning frame in the transmission gap of the communication frame.
10. The apparatus of claim 9, wherein the transmission interval of the positioning frame is less than 100ms.
11. An electronic device, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the visible light communication based data transmission method of any one of claims 1-5.
12. A computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor for realizing the data transmission method based on visible light communication according to any one of claims 1 to 5.
CN202210475545.2A 2022-04-29 2022-04-29 Data transmission method, device, equipment and storage medium based on visible light communication Active CN114866144B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210475545.2A CN114866144B (en) 2022-04-29 2022-04-29 Data transmission method, device, equipment and storage medium based on visible light communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210475545.2A CN114866144B (en) 2022-04-29 2022-04-29 Data transmission method, device, equipment and storage medium based on visible light communication

Publications (2)

Publication Number Publication Date
CN114866144A CN114866144A (en) 2022-08-05
CN114866144B true CN114866144B (en) 2024-01-23

Family

ID=82635467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210475545.2A Active CN114866144B (en) 2022-04-29 2022-04-29 Data transmission method, device, equipment and storage medium based on visible light communication

Country Status (1)

Country Link
CN (1) CN114866144B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006120A (en) * 2009-09-02 2011-04-06 株式会社东芝 Method and apparatus for visible light communication
CN105827311A (en) * 2016-04-20 2016-08-03 清华大学 Visible light communication-based indoor positioning method and positioning system
CN106549726A (en) * 2015-09-18 2017-03-29 华为技术有限公司 The method of transmission data, base station and terminal unit
CN110048798A (en) * 2018-01-15 2019-07-23 深圳市中兴微电子技术有限公司 A kind of data transmission method and device
CN111431868A (en) * 2020-03-06 2020-07-17 深圳震有科技股份有限公司 Method for positioning frame header in TDM interface transmission data and electronic equipment
CN111786724A (en) * 2020-06-30 2020-10-16 中山大学 Multi-wavelength LED underwater visible light communication modulation method based on deep learning
CN111917514A (en) * 2020-07-29 2020-11-10 天地融科技股份有限公司 Data transmission method and device
CN113965259A (en) * 2021-10-26 2022-01-21 中国矿业大学 Single-base-station integrated communication and positioning integrated system based on visible light wireless transmission

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101524873B1 (en) * 2009-02-17 2015-06-02 삼성전자주식회사 Visible light communication method and system
US20160261375A1 (en) * 2015-03-04 2016-09-08 Qualcomm Incorporated Packet format and coding method for serial data transmission

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006120A (en) * 2009-09-02 2011-04-06 株式会社东芝 Method and apparatus for visible light communication
CN106549726A (en) * 2015-09-18 2017-03-29 华为技术有限公司 The method of transmission data, base station and terminal unit
CN105827311A (en) * 2016-04-20 2016-08-03 清华大学 Visible light communication-based indoor positioning method and positioning system
CN110048798A (en) * 2018-01-15 2019-07-23 深圳市中兴微电子技术有限公司 A kind of data transmission method and device
CN111431868A (en) * 2020-03-06 2020-07-17 深圳震有科技股份有限公司 Method for positioning frame header in TDM interface transmission data and electronic equipment
CN111786724A (en) * 2020-06-30 2020-10-16 中山大学 Multi-wavelength LED underwater visible light communication modulation method based on deep learning
CN111917514A (en) * 2020-07-29 2020-11-10 天地融科技股份有限公司 Data transmission method and device
CN113965259A (en) * 2021-10-26 2022-01-21 中国矿业大学 Single-base-station integrated communication and positioning integrated system based on visible light wireless transmission

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Analysis and characterization of chaos generated by free-running and optically injected VCSELs;李念强等人;OPTICS EXPRESS;2018年第26卷(第12期);参见该论文1-13页 *
可见光定位系统中发光二极管的空间波束效应分析;丁举鹏等人;光学学报;2021年第41卷(第5期);参见第174-182 *
采样信号与开关量在Wi-Fi模块下的混合编码传输;朱磊;谢君;孙龙;徐日;;国外电子测量技术(第05期);参见第58-61页 *

Also Published As

Publication number Publication date
CN114866144A (en) 2022-08-05

Similar Documents

Publication Publication Date Title
US8452188B2 (en) Visible light communication method and system
RU2528176C2 (en) Method and apparatus for frame transmission in wireless radio access network (ran) system
CN102710329B (en) Method and system for transparently transmitting full-IP (internet protocol) visible light data
US8457150B2 (en) Method and apparatus for notifying status of mobile node in a wireless local area network system using visible light communication
US8005366B2 (en) Reconnection method in peripheral interface using visible light communication
EP2497204B1 (en) Method and device for determining output of visible frame in visible light communication system
EP2548316A2 (en) Method and apparatus for transmitting frame in wlan system
US9906297B2 (en) Method and system for implementing visible-light communication, sending apparatus, and receiving apparatus
CN102333376A (en) Data transmission method and device and data processing method and device
ES2914273T3 (en) Signal transmission method, related device and system
CN105827316A (en) Visible light communications method and apparatus for suppressing inter-lamp interference
WO2021102815A1 (en) Method and apparatus for acquiring system information
CN114866144B (en) Data transmission method, device, equipment and storage medium based on visible light communication
CN106130637B (en) A kind of LED based visible light communication system and method
CN103973393A (en) Method and system for visible light communication data transmission
CN112187401B (en) Multi-time unit transmission method and related device
CN107222260A (en) It is a kind of that extended code method is encoded based on the visible light communication for becoming data field length
WO2020108043A1 (en) Information sending and receiving methods and device
WO2022236343A1 (en) Two-mode smart lighting system for rf and lifi data transmission, and lifi light modulation method on three parallel data streams using both visible and infrared lights
CN106953691B (en) Uplink and downlink time division multiplexing visible light full duplex communication system and method
US20240097856A1 (en) Data transmission method and apparatus, storage medium and electronic apparatus
CN111385846B (en) Energy-saving coding mode applied to wireless communication system
KR101002845B1 (en) Method and apparatus for transmitting data in wireless local area network using visible light communication
CN112260754A (en) Passive autonomous visible light communication reverse signal link and communication method thereof
WO2020155450A1 (en) Data scheduling method, apparatus and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant