CN206673969U - A kind of unidirectional transmission system based on visible light communication - Google Patents

A kind of unidirectional transmission system based on visible light communication Download PDF

Info

Publication number
CN206673969U
CN206673969U CN201720409379.0U CN201720409379U CN206673969U CN 206673969 U CN206673969 U CN 206673969U CN 201720409379 U CN201720409379 U CN 201720409379U CN 206673969 U CN206673969 U CN 206673969U
Authority
CN
China
Prior art keywords
binary code
optical signal
receiving
module
equipment
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
CN201720409379.0U
Other languages
Chinese (zh)
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.)
Dongguan Letter Of Fusion Innovation Research Institute
PLA Information Engineering University
Original Assignee
Dongguan Letter Of Fusion Innovation Research Institute
PLA Information Engineering University
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 Dongguan Letter Of Fusion Innovation Research Institute, PLA Information Engineering University filed Critical Dongguan Letter Of Fusion Innovation Research Institute
Priority to CN201720409379.0U priority Critical patent/CN206673969U/en
Application granted granted Critical
Publication of CN206673969U publication Critical patent/CN206673969U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of unidirectional transmission system based on visible light communication of disclosure.System includes transmitting terminal and receiving terminal.Transmitting terminal includes acquisition module, protocol encapsulation module, the first modular converter and sends drive module.Acquisition module, which obtains, sends the binary code that equipment is sent;Protocol encapsulation module encapsulates binary code according to default host-host protocol;Binary code after encapsulation is converted to optical signal by the first modular converter;Drive module is sent to send the optical signal using the first visible ray one-way transmission device.Receiving terminal includes receiving module, the second modular converter and delivery module.Receiving module receives optical signal using the second visible ray one-way transmission device;Second modular converter converts optical signals to binary code;Delivery module sends binary code to receiving device.This programme has ensured the reliability of one-way transmission;Meanwhile received using the second visible ray one-way transmission device as receiving module, optical signal by high efficiency, improve efficiency of transmission.

Description

A kind of unidirectional transmission system based on visible light communication
Technical field
The application is related to computer communication technology field, more particularly to a kind of one-way transmission system based on visible light communication System.
Background technology
The high speed development of computer technology, makes the interconnection and interflow of network turn into irreversible trend, while also to calculating The security protection of machine confidential data proposes higher requirement.Such as in communication process, only allow the network or equipment of High Security Level Data are obtained from the network or equipment of Low Security Level, the network or equipment without allowing Low Security Level obtain from the network or data of High Security Level Access evidence, to avoid causing the leakage of confidential data.
Traditional technical scheme can only allow High Security Level network or equipment from Low Security Level by network configuration so as to reach Network or equipment obtain data, the network or equipment without allowing Low Security Level obtain data from the network or equipment of High Security Level. However, if user forgets to configure network, the network or equipment that can cause Low Security Level can be from the networks of High Security Level Or equipment obtains data so as to cause the technical problem that the data message in High Security Level network or equipment is revealed.
In summary, it is known that the network of different security classifications is when carrying out data transmission in the prior art, if do not entered Row network of relation configures, and can cause leak data information.
Utility model content
The embodiment of the present application provides a kind of unidirectional transmission system based on visible light communication, with solve it is of the prior art not Network with level of confidentiality carries out data transmission the technical problem that can cause leak data information.
In order to solve the above problems, according to a kind of one-way transmission system based on visible light communication of the embodiment of the present application offer System, including transmitting terminal and receiving terminal, wherein:
The transmitting terminal further comprises:
Acquisition module, for obtaining the binary code for sending equipment and sending, wherein in the binary code and specific file Hold related;
Protocol encapsulation module, for encapsulating the binary code according to default host-host protocol;
First modular converter, for the binary code after encapsulation to be converted into optical signal;
Drive module is sent, for the optical signal being sent using the first visible ray one-way transmission device;
The receiving terminal further comprises:
Receiving module, for receiving the optical signal using the second visible ray one-way transmission device, wherein described second can See that the intensity for the optical signal that light one-way transmission device receives is higher than the optical signal that the first visible ray one-way transmission device receives Intensity;
Second modular converter, for the optical signal to be converted into binary code;
Delivery module, for the binary code to be sent to receiving device.
In one embodiment, the first visible ray one-way transmission device is light emitting diode, second visible ray One-way transmission device is photodiode.
In one embodiment, transmission equipment and the transmitting terminal are arranged at first network, the receiving device with The receiving terminal is arranged at the second network.
In one embodiment, the transmission equipment is arranged at consolidated network with receiving device.
Above-mentioned at least one technical scheme that the embodiment of the present application uses can reach following beneficial effect:
The unidirectional transmission system based on visible light communication provided using the embodiment of the present application, receiving terminal are entered the two of reception Code processed is encapsulated according to default host-host protocol, and the binary code after encapsulation is converted into optical signal and sent;Using default Host-host protocol encapsulation, because default host-host protocol is without retransmission function, therefore, the technical program effective guarantee one-way transmission Reliability;In addition, use can receive high the second visible ray one-way transmission device of intensity of optical signal as receiving terminal Optical signal receiving module, reach the purpose that optical signal energy high efficiency is received, so as to improve the efficiency of transmission of data.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, forms the part of the application, this Shen Schematic description and description please is used to explain the application, does not form the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the structured flowchart of the unidirectional transmission system based on visible light communication of the embodiment of the present application;
Fig. 2 is the schematic diagram of the application scenarios of the application one embodiment;
Fig. 3 is the schematic diagram of the application scenarios of another embodiment of the application;
Fig. 4 is the flow chart of the unidirectional transmission method based on visible light communication of the application one embodiment;
Fig. 5 is the flow chart of the unidirectional transmission method based on visible light communication of another embodiment of the application.
Embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the application one Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Go out under the premise of creative work the every other embodiment obtained, belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application provides is described in detail.
Embodiment 1
Shown in Figure 1, the present embodiment discloses a kind of unidirectional transmission system based on visible light communication, for transmission to be set The content transmission of standby 11 specific files sent is to receiving device 12;The unidirectional transmission system based on visible light communication includes Transmitting terminal 13 and receiving terminal 14.Send equipment 11 and transmitting terminal 13 may be disposed at first network, receiving device 12 and receiving terminal 14 The second network is may be disposed at, visible light signal, and first network and second are directly transmitted between transmitting terminal 13 and receiving terminal 14 Network can be same or different network.
Transmitting terminal 13 is connected with sending equipment 11, and receiving terminal 14 is connected with receiving device 12, and the transmitting terminal 13 is further Including acquisition module 131, protocol encapsulation module 132, the first modular converter 133 and send drive module 134.Wherein, mould is obtained Block 131, which is used to obtain, sends the binary code that equipment is sent, and the binary code is related to specific file content;Protocol encapsulation module 132 are used to encapsulate binary code according to default host-host protocol;First modular converter 133 is used to turn the binary code after encapsulation It is changed to optical signal;Drive module 134 is sent to be used to send the optical signal using the first visible ray one-way transmission device.
Receiving terminal 14 further comprises receiving module 141, the second modular converter 142 and delivery module 143.Wherein, receive Module 141 is used to receive the optical signal for sending drive module 134 and sending using the second visible ray one-way transmission device, wherein, should The intensity of the second receivable optical signal of visible ray one-way transmission device is receivable higher than the first visible ray one-way transmission device The intensity of optical signal;Second modular converter 142 is used to the optical signal that receiving module 141 receives being converted to binary code;Transmission Module 143 is used to send the binary code to receiving device.
Display device can be included simultaneously by sending equipment 11 and receiving device 12, can also alternative one without display device, Or the two is also not particularly limited herein without display device.
For sending situation of the equipment 11 without display device, file set in advance can be sent by setting.
When transmission equipment 11 is needed to 12 one-way transmission file of receiving device, the operation of execution includes:First, hair is established Send the connection between the connection between equipment 11 and transmitting terminal 13, and receiving device 12 and receiving terminal 14;Then, user Ke Tong The selected file for needing transmission to receiving device 12 of display device for sending equipment 11 is crossed, sends equipment 11 using binary code The content of file is sent to transmitting terminal 13 by form.Finally, after the acquisition module 131 of transmitting terminal 13 obtains the binary code, association View package module 132 encapsulates the binary code according to default host-host protocol.First modular converter 133 is by the binary system after encapsulation Code is converted to optical signal.Drive module 134 is sent to send optical signal using the first visible ray one-way transmission device.
The receiving module 141 of receiving terminal 14 receives optical signal, the second modulus of conversion using the second visible ray one-way transmission device Block 142 converts optical signals to binary code, and delivery module 143 sends binary code to receiving device 12.
As can be seen that the transmission drive module 134 of transmitting terminal 13 is to send optical signal, in the embodiment of the present application In, it is direct transmission visible light signal between transmitting terminal 13 and receiving terminal 14, helps to realize transmitting terminal 13 and receiving terminal 14 Physical isolation.Because the aerial transmission rate of visible light signal is high, therefore, the technical program is ensureing transmission optical signal In the case of the transmission of effective guarantee binary code high efficiency.
For the protocol encapsulation module 132 of the embodiment of the present application using default host-host protocol encapsulation binary code, this is default Passback mechanism is not provided with host-host protocol, the data transmission link with one-way, i.e. an offer transmitting terminal to receiving terminal, without Receiving terminal is provided to the data transmission link of transmitting terminal, the effective guarantee one-way transmission of data, improves security.
The unidirectional transmission system based on visible light communication that the embodiment of the present application provides, encapsulated using default host-host protocol Binary code, the binary code after encapsulation is then converted into optical signal again, and sent by sending drive module 134; Default tunneling provides simplex service, the effective guarantee one-way transmission of file.
In one is applied for embodiment, the first visible ray one-way transmission device is light emitting diode (LED), the second visible ray One-way transmission device is photodiode (PD), and light emitting diode launches stronger optical signal compared with photodiode, and photoelectricity two The intensity of the receivable optical signal of pole pipe is higher than the intensity of the receivable optical signal of light emitting diode, in this way, can effective guarantee position Can be by positioned at receiving terminal 14 in the optical signal that the first visible ray one-way transmission device (light emitting diode) of transmitting terminal 13 is launched Second visible ray one-way transmission device (photodiode) efficiently receives.The optical signal of light emitting diode transmitting can be it is red, Which kind of color one kind in blueness, green or other colors, the optical signal as photodiode transmitting are, the application is implemented Example is not construed as limiting.
It will be seen that optical signal is sent positioned at the transmission drive module 134 of transmitting terminal 13, the receiving module of receiving terminal 14 141 receive the optical signal using the second visible ray one-way transmission device;As a kind of alternative embodiment, the transmission of transmitting terminal 13 Drive module 134 and the receiving module 141 of receiving terminal 14 directly transmit visible light signal.Transmission rate based on visible light signal Height, therefore, by the way of visible light signal is sent, the purpose of transmitting terminal and receiving terminal high-speed communication can be realized.
In the present embodiment, passback mechanism is not provided with default host-host protocol, wherein, in the default host-host protocol 64K data are a frame, and the binary code encapsulated according to default host-host protocol is on a frame-by-frame basis sent in units of frame to be connect Receiving end.The binary code that acquisition module 141 obtains is the binary code for sending the file content that equipment 11 is sent.Due to transmitting terminal 11 are communicated with receiving terminal 12 by default host-host protocol, therefore, are sent by the file content of the binary code repressentation to connecing , it is necessary to be packaged according to default host-host protocol to the binary code before receiving end 12.It is included in default host-host protocol The character string of application layer, Internet and physical layer addition preset length, such as 8-12K, the length in the packet header specifically added can basis User's request is set, and is not limited again.Due to being not provided with back propagation unit in default host-host protocol, effective guarantee number According to one-way transmission, avoid the leakage for causing data binary code (file content) data message due to that need to return.
In the present embodiment, the length letter for representing the length of binary code is also included in the frame structure of default host-host protocol Breath, the length of the content for representing to send the file that equipment is sent, the receiving terminal 14 also include:Data length calibration mode Block, for the binary code obtained according to length information verification second conversion module.
In the embodiment of the present application, entering comprising two for transmitting terminal transmission is may also include in the frame structure of default host-host protocol The length information of code processed and the packet in packet header, data length correction verification module can be also used for verifying the optical signal that receiving terminal receives Whether the length information in the packet header recorded in the length and frame structure in the packet header of the binary code for the packet being converted into is consistent, if Unanimously, then receiving terminal can continue the length of subsequent authentication binary code;Otherwise, receiving terminal abandons the packet, after no longer performing Continuous operation.
The binary code that if check results, which are second modular converters 142, to be obtained passes through verification, i.e. the second modular converter The length of 142 obtained binary codes is consistent with the length recorded in the length information, then delivery module 143 performs enters two Code processed is sent to the operation of receiving device 12.
In the frame structure of default host-host protocol in addition to being converted to the information of optical signal comprising the second modular converter, Also include the length information for being used to represent the length of binary code, so that receiving terminal verification is according to length information verification The length for the binary code that second modular converter 142 obtains.If by verification, the delivery module 143 of receiving terminal 14 perform general The binary code that second modular converter 142 obtains is sent to the operation of receiving device;Otherwise, the second conversion of receiving terminal 14 is illustrated The length for the binary code that module 142 obtains and the length of the mark binary length in the frame structure of default host-host protocol are believed Cease inconsistent, it is believed that change occurred during being sent by transmitting terminal 14 to receiving terminal 14 for the binary code, was such as planted Enter new data or be deleted partial data, now, delivery module 143, which no longer performs, obtains the second modular converter 142 Binary code send to the operation of receiving device, receiving terminal 14 is executable to be similar to the operation for abandoning the optical signal of reception. The program effectively prevent binary code (content for sending the file that equipment is sent) and wooden horse etc. be implanted during transmission Virus or the phenomenon that partial content is deleted by malice, the correctness of the content for the file that effective guarantee receiving device receives, Receiving device is effectively prevent simultaneously because receiving the file that transmission equipment is sent and by the phenomenon of virus attack.
By the way that transmitting terminal is arranged at into first network with sending equipment, receiving terminal and receiving device are arranged at the second net Network, conversion of the binary code to optical signal is completed in transmitting terminal 13, and complete optical signal in receiving terminal 14 and turn to binary code Change, this process is embodied by the first modular converter 133 and the second modular converter 142 respectively.Send equipment 11 and transmitting terminal 13 It is attached by network, receiving device 12 is attached with receiving terminal 14 also by network, effective guarantee one-way transmission The reliability of communication link.
As a kind of optional embodiment, send equipment 11 and be connected with transmitting terminal 13 by a network interface (the first network interface), Receiving device 12 passes through the second network interface connection with receiving terminal 14;Wherein, the first network interface may be disposed at transmitting terminal, equally, the second net Mouth may be disposed at receiving terminal.Equipment 11 is sent to the message transmission rate between receiving device 12 in order to improve, can be by the first net Mouth and the second network interface are disposed as gigabit network interface, and equipment is sent to the high speed data transfer between receiving device with effective guarantee. Wired or wireless connection can be established by the first network interface by sending equipment 11 and transmitting terminal 13, be not limited thereto;Receiving device 12 also can establish wired or wireless connection with receiving terminal 14 by the second network interface, also be not construed as limiting herein.
In order that the embodiment of the present application is widely used, by transmitting terminal 13 and the communication protocols between equipment 11 can be sent View is arranged to TCP/IP host-host protocols;Equally, the communication protocol between receiving terminal 14 and receiving device 12 is arranged to TCP/IP Host-host protocol.After transmitting terminal 13 receives the binary code for sending the transmission of equipment 11 by TCP/IP host-host protocols, sealed by agreement Encapsulate the binary code for die-filling piece 132, transmitted with ensureing between transmitting terminal 13 and receiving terminal 14 by default host-host protocol.
Communicated, can be set in receiving terminal 14 by TCP/IP host-host protocols between receiving device 12 and receiving terminal 14 in order to ensure Put a TCP/IP host-host protocol package modules, by receiving terminal 14 by the binary code that default host-host protocol receives according to TCP/IP host-host protocols encapsulate, to be sent binary code to receiving device 12 by ICP/IP protocol.
In one embodiment, first identification module is set in transmitting terminal 13, identification sends the network address of equipment Whether it is first network address;If the network address for sending equipment 11 is first network address, it is from setting to show binary code What fixed transmission equipment 11 transmitted;Otherwise, binary code is sent by the transmission equipment 11 of setting, can be to it Not receive.Similarly, the second identification module can be set in receiving terminal 14, whether to identify the network address of receiving device 12 For the second network address, if the network address of receiving device 12 is the second network address, it is default to show receiving device 12 Receiving device, continue executing with and send binary code to the operation of receiving device;Otherwise, it is not setting to show receiving device 12 Receiving device, the binary code can not be sent, it is compromised to prevent file content.
In one embodiment, can be that transmitting terminal 13 sets a power supply unit, for providing working power for transmitting terminal 13;Together When, another power supply unit is set for receiving terminal 14, for providing working power for receiving terminal 14.Using transmitting terminal 13 and receiving terminal 14 independently-powered technical schemes, it is more beneficial for independently setting transmitting terminal 13 and receiving terminal 14, due to the He of transmitting terminal 13 Between receiving terminal 14 directly transmit visible light signal, the embodiment of the present application can effective guarantee the two is physically separated, improve The reliability of visible ray one-way transmission.
It is shown in Figure 2, it is an application scenario diagram of the embodiment of the present application, in the present embodiment, including sends equipment 11st, receiving device 12 and transmission equipment M.Wherein, transmitting terminal 13 and receiving terminal 14, transmitting terminal 13 are provided with transmission equipment M Module independent as one is configured with receiving terminal 14, directly transmits visible light signal therebetween, as the two it Between distance, be not limited thereto.The program can be applied to send equipment and receiving device be arranged at it is logical between consolidated network Letter, equipment 11 and receiving device 12 is such as sent with a place, such as the two is located at the same LAN in a room Situation, the two is located at same LAN.By the technical program, can effectively realize transmission equipment 11 positioned at consolidated network with The one-way transmission of data between receiving device 12.
It is shown in Figure 3, it is other one of the unidirectional transmission system based on visible light communication described in the embodiment of the present application Individual application scenario diagram.Transmit and set as can be seen that figure includes transmission equipment 11, receiving device 12, the first transmission equipment P and second Standby N.Send and can be communicated between equipment 11 and transmitting terminal by ICP/IP protocol, between receiving device 12 and receiving terminal 14 It can be communicated by ICP/IP protocol.As for the distance for sending equipment 11 and transmitting terminal 13, set according to demand, it is short then Several meters, tens meters, long then hundreds of even upper kms.Similarly, the distance of receiving device 12 and receiving terminal 14, can also enter according to demand Row setting, can be several meters, tens meters or even rice up to a hundred.It need to only meet that transmitting terminal 13 with sending equipment 12 by network connection, connects Receiving end 14 is attached with receiving device 12 also by network.Wherein, transmitting terminal 13 is arranged in the first transmission equipment P, is received End 14 is arranged in the second transmission equipment N, and visible light signal is directly transmitted between the first transmission equipment P and the second transmission equipment N. It can be configured for the distance between the first transmission equipment P and the second transmission equipment N according to demand, its specific scope do not made Limit, need to only meet that the visible light signal that the transmitting terminal 13 in the first transmission equipment P is sent can be by the second transmission equipment N Receiving terminal 14 receives.The technical program can be applied to send equipment 11 be located at receiving device 12 heterogeneous networks data it is unidirectional The situation of transmission, based on transmitting visible light signal between the first transmission equipment P and the second transmission equipment N, effective guarantee is sent Equipment is to the message transmission rate between receiving device.
The unidirectional transmission system based on visible light communication that the embodiment of the present application provides, it is visible in the setting first of transmitting terminal 13 Light one-way transmission device, second visible ray one-way transmission device is set in receiving terminal 14, it is straight between transmitting terminal 13 and receiving terminal 14 Connect transmission visible light signal.Using default host-host protocol transmission data, effective guarantee is sent for transmitting terminal 13 and receiving terminal 14 Equipment 11 is to efficient, the unidirectional transmission link between receiving device 12;Equipment 11 will be sent and transmitting terminal 13 is arranged at the first net Network, receiving device 12 and receiving terminal 14 are arranged at the second network, visible light signal is sent between transmitting terminal and receiving terminal, is reached Transmitting terminal 13 and receiving terminal 14 physically-isolated purpose, the effective guarantee one-way transmission of data.
Embodiment 2
Fig. 4 be according to the flow chart of the unidirectional transmission method based on visible light communication of the application one embodiment, it is described Method comprises the following steps:
Step S41, transmitting terminal, which obtains, sends the binary code that equipment is sent, wherein in the binary code and specific file Hold related;The transmitting terminal encapsulates the binary code according to default host-host protocol, and the binary code after encapsulation is converted to Optical signal, and sent the optical signal using the first visible ray one-way transmission device;
The binary code for sending equipment transmission is converted into optical signal by transmitting terminal, is characterized using different optical signals different Binary code (for example, " bright " expression " 1 ", " going out " expression " 0 "), continuous optical signal can be used to characterize a binary code sequence Row, such as " bright-to go out-bright-go out-go out " characterize binary code " 10100 ".
Step S43, receiving terminal receives the optical signal using the second visible ray one-way transmission device, wherein described second can See intensity of the intensity higher than the optical signal that first luminescent device receives for the optical signal that light one-way transmission device receives;It is described The optical signal is converted to binary code by receiving terminal, and the binary code is sent to receiving device.
After receiving terminal gets the optical signal of transmitting terminal transmission, it is converted into binary code and sends to receiving device, Transmitted with completing data by transmission equipment to the operation of receiving device.Such as.The optical signal of above-mentioned " bright-to go out-bright-go out-go out " is turned Binary code " 10100 " is changed to, and is sent to receiving device.
The unidirectional transmission method based on visible light communication that the embodiment of the present application provides, transmitting terminal pass through the first visible ray list To transmission apparatus transmitting optical signal, the optical signal that receiving terminal is sent by the second visible ray one-way transmission device receiving end/sending end, One-way transmission based on the first visible ray one-way transmission device and the second visible ray one-way transmission device, the technical program are effective The one-way transmission of optical signal is ensured, so as to ensure the reliability of data (binary code or file content) one-way transmission.
In the present embodiment, the first visible ray one-way transmission device is light emitting diode, the second visible ray list It is photodiode to transmission apparatus.Light emitting diode is high compared with the intensity for the optical signal that photodiode is launched, and light-emitting diodes Pipe is compared with the low intensity of the receivable optical signal of photodiode, and therefore, the optical signal of light emitting diode transmitting can be well by light Electric diode receives, and because the optical signal of photodiode transmitting is weak, default Data Transport Protocol does not support optical signal in addition Transmitted to transmitting terminal by receiving terminal, the effective guarantee one-way transmission of optical signal, so as to realize the one-way transmission of data.
In the present embodiment, passback mechanism is not provided with the frame structure of default host-host protocol, using the default transmission Binary code after protocol encapsulation is on a frame-by-frame basis sent to receiving terminal in units of frame.
The details of above-mentioned processing is described in detail with reference to Fig. 5.Fig. 5 be according to the application another specific embodiment based on The flow chart of the unidirectional transmission method of visible light communication, the described method comprises the following steps:
Step S50, the transmission equipment is set into first network with the transmitting terminal, the receiving device is connect with described Receiving end is arranged at the second network.
Transmitting terminal and receiving terminal are respectively arranged at different networks, and can directly be transmitted between transmitting terminal and receiving terminal visible Optical signal.Meanwhile the distance of transmitting terminal and receiving terminal can be set according to demand, e.g., equipment and receiving device are sent same Laboratory, then the distance of transmitting terminal and receiving terminal can be tens centimetres even several centimetres;And when send equipment and receiving device it Between it is distant when, it is tens meters or even rice up to a hundred such as to send the distance between equipment and receiving device, then can be by transmitting terminal The distance between receiving terminal is arranged to tens centimetres or even upper rice, need to only meet that the optical signal that transmitting terminal is sent can be received Termination receives.
Equipment will be sent and transmitting terminal is arranged at first network, receiving device and receiving terminal are arranged at the second network, can Specific setting is as follows:
Equipment will be sent and transmitting terminal is arranged at first network, the two passes through the first network interface connection;By receiving terminal and reception Equipment is arranged at the second network, and the two is also through the second network interface connection.In order that have between transmission equipment and receiving device higher Message transmission rate, the first network interface and the second network interface can be disposed as gigabit network interface.
In order that the method for the embodiment of the present application can be applied to most equipment of today or network, it can be set and send equipment Communicated between transmitting terminal by TCP/IP host-host protocols, while set receiving device and receiving terminal to be transmitted by TCP/IP Protocol communication.In this way, the method that this application embodiment illustrates in existing communication using TCP/IP host-host protocols to being communicated Equipment be applicable.
Step S51, transmitting terminal, which obtains, sends the binary code that equipment is sent, wherein in the binary code and specific file Hold related;The transmitting terminal encapsulates the binary code according to default host-host protocol, then turns the binary code after encapsulation Optical signal is changed to, and is sent the optical signal using the first visible ray one-way transmission device.
In the present embodiment, passback mechanism is not provided with the frame structure of default host-host protocol, using the default transmission Binary code after protocol encapsulation is on a frame-by-frame basis sent to receiving terminal in units of frame.Meanwhile in default host-host protocol The character string of identical preset length or different preset lengths is added as packet header included in application layer, Internet and physical layer, such as 8-12K, it can specifically be set according to user's request in the length in packet header of each layer of addition, do not limited herein.Due to pre- If host-host protocol in be not provided with back propagation unit, the effective guarantee one-way transmission of binary code (file content), avoid by In the leakage for needing return data to cause data message.
Step S52, receiving terminal receives the optical signal using the second visible ray one-way transmission device, wherein described second can See intensity of the intensity higher than the optical signal that first luminescent device receives for the optical signal that light one-way transmission device receives;It is described The optical signal is converted to binary code by receiving terminal, and the binary code is sent to receiving device, in step S52, Specifically include:
Step S521, receiving terminal receives the optical signal using the second visible ray one-way transmission device.
The light that second visible ray one-way transmission device receiving end/sending end is sent by the first visible ray one-way transmission device is believed Number, the one-way transmission based on the first visible ray one-way transmission device and the second visible ray one-way transmission device can effective guarantee Equipment is sent to the one-way transmission of data between receiving device (file content or binary code).
Step S522, the optical signal is converted to binary code by receiving terminal;
After receiving terminal receives the optical signal of transmitting terminal transmission, the operation for being converted into binary code is performed.
In the present embodiment, expression transmitting terminal transmission can also be included in the frame structure of default host-host protocol includes two Ary codes and the length information in the packet header in the data in packet header, the length in the packet header in packet for recording transmitting terminal transmission Degree;After receiving terminal receives optical signal, the optical signal is converted into the binary code of the packet including packet header, wherein, When receiving terminal receives optical signal, can verify first the length in packet header in the binary code of the packet after the conversion received with Whether the length in the packet header recorded in the length information in the packet header is consistent, otherwise, can if unanimously, performing follow-up operation Abandon the binary code for the packet that the optical signal received is converted into.
In the present embodiment, the frame structure of default host-host protocol includes representing the length of the length of the binary code Information;The length of the binary code received for representing receiving terminal.
Step S523, whether the length of binary code that the second modular converter of verification obtains two is entered with what is recorded in frame structure Length in the length information of system is consistent;
After the optical signal that receiving terminal receives transmitting terminal transmission, verify that the second modular converter received obtains two enters Whether the length of the binary code recorded in the length and length information of code processed consistent, effectively prevent receiving terminal receive by Malice deletes the phenomenon of the binary code of partial content or implant part content, so as to ensure content that receiving terminal receives Correctness, while receiving device is effectively prevent because of optical signal that receiving end/sending end is sent and by the phenomenon of virus attack.
Step S524, receiving terminal sends binary code to receiving device;
It is attached between receiving terminal and receiving device by network (the second network), the connection can be wireless connection, It can be wired connection, specific connected mode not limited herein.
In one embodiment, in step s 51, may also include:
Whether the network address that verification sends equipment is first network address;
If consistent, the binary code is encapsulated according to default host-host protocol;
Before the binary code for obtaining acquisition module encapsulates according to default host-host protocol, judge to send the network of equipment Whether address is first network address, if so, then showing that binary code is transmitted from first network;Otherwise, show that two enter Code processed is not to be sent from specified network address (first network address), and transmitting terminal, which can be considered, have received unexpected reception The binary code arrived, encapsulation process, the discardable binary system that should be received from unexpected network address are not done to the binary code Code.
In one embodiment, the binary code is sent to before receiving device in receiving terminal, may also include:
Whether the network address for verifying receiving device is the second network address;
If the network address of the receiving device is the second network address, execution sends the binary code to reception The operation of equipment;Otherwise, do not perform and send the binary code to the operation of receiving device.
Binary code is sent to receiving device in delivery module, school is carried out to the network address of receiving device first Test, if the network address of receiving device is the second network address, illustrate network where receiving device for binary code need by The second default network extremely is sent, then performs and sends binary code to the operation of receiving device;Otherwise do not perform binary system Code is sent to the operation of receiving device.
In the embodiment of the present application, send equipment and receiving device is located at different networks, e.g., send equipment and be located at first Network, receiving device are located at the second network.
As another specific embodiment of the embodiment of the present application, send equipment and receiving device may be alternatively located at same net Network, such as send equipment and be respectively positioned on same laboratory with receiving device, send equipment and be respectively positioned on same LAN with receiving device.Afterwards Continuous operating procedure is similar from by the step of equipment is arranged at different networks with receiving device is sent, and will not be described here.
The unidirectional transmission method based on visible light communication that the present embodiment provides, transmitting terminal and receiving terminal are accessed into phase respectively Same or different network (transmitting terminal and transmission equipment access first network, receiving terminal and receiving device access the second network), it is complete Into the communication of the communication of transmission equipment and transmitting terminal, receiving device and receiving terminal.Meanwhile transmitting terminal is not provided with physics with receiving terminal Communication link, reach receiving terminal and transmitting terminal physical isolation, the effective guarantee one-way transmission of data;In Preset Transfer agreement The frame unit of the length of the optical signal sent provided with record transmitting terminal, binary system is converted in receiving terminal by the optical signal received Before code, the length of the optical signal that the transmitting terminal that is recorded in the length and frame unit of the optical signal for judging to receive is sent whether one Cause, the optical signal of reception is converted into binary code again under conditions of consistent.The data that effective guarantee receives it is correct Property, meanwhile, whether consistent, effectively prevent if verifying the length for the optical signal that the length of the optical signal received is sent with transmitting terminal Malice is deleted or insertion portion content, the effective guarantee correctness of optical signal transmission, while avoids in optical signal transmission mistake Phenomena such as trojan horse is implanted in journey, effectively prevent receiving device causes skill by virus attack because receiving optical signal Art problem.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, the application can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the application can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CP), input/output interface, net Network interface and internal memory.
Internal memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Other identical element also be present in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
Embodiments herein is the foregoing is only, is not limited to the application.For those skilled in the art For, the application can have various modifications and variations.All any modifications made within spirit herein and principle, it is equal Replace, improve etc., it should be included within the scope of claims hereof.

Claims (4)

  1. A kind of 1. unidirectional transmission system based on visible light communication, it is characterised in that including transmitting terminal and receiving terminal, wherein:
    The transmitting terminal further comprises:
    Acquisition module, for obtaining the binary code for sending equipment and sending, wherein the binary code and specific file content phase Close;
    Protocol encapsulation module, for encapsulating the binary code according to default host-host protocol;
    First modular converter, for the binary code after encapsulation to be converted into optical signal;
    Drive module is sent, for the optical signal being sent using the first visible ray one-way transmission device;
    The receiving terminal further comprises:
    Receiving module, for receiving the optical signal using the second visible ray one-way transmission device, wherein second visible ray The intensity for the optical signal that one-way transmission device receives is strong higher than the optical signal that the first visible ray one-way transmission device receives Degree;
    Second modular converter, for the optical signal to be converted into binary code;
    Delivery module, for the binary code to be sent to receiving device.
  2. 2. system according to claim 1, it is characterised in that the first visible ray one-way transmission device is light-emitting diodes Pipe, the second visible ray one-way transmission device is photodiode.
  3. 3. system according to claim 1, it is characterised in that
    The transmission equipment is arranged at first network with the transmitting terminal, and the receiving device is arranged at second with the receiving terminal Network.
  4. 4. system according to claim 1, it is characterised in that the transmission equipment is arranged at same net with receiving device Network.
CN201720409379.0U 2017-04-18 2017-04-18 A kind of unidirectional transmission system based on visible light communication Active CN206673969U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720409379.0U CN206673969U (en) 2017-04-18 2017-04-18 A kind of unidirectional transmission system based on visible light communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720409379.0U CN206673969U (en) 2017-04-18 2017-04-18 A kind of unidirectional transmission system based on visible light communication

Publications (1)

Publication Number Publication Date
CN206673969U true CN206673969U (en) 2017-11-24

Family

ID=60374899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720409379.0U Active CN206673969U (en) 2017-04-18 2017-04-18 A kind of unidirectional transmission system based on visible light communication

Country Status (1)

Country Link
CN (1) CN206673969U (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107070553A (en) * 2017-04-18 2017-08-18 东莞信大融合创新研究院 A kind of unidirectional transmission system and its method based on visible light communication
CN108599860A (en) * 2018-07-04 2018-09-28 山西百信信息技术有限公司 Unidirectional transmission unit
CN111277588A (en) * 2020-01-19 2020-06-12 深圳市朗强科技有限公司 Data sending and receiving method, device and system
CN113904724A (en) * 2021-10-12 2022-01-07 中国人民解放军战略支援部队信息工程大学 Communication device and communication system
CN114362821A (en) * 2022-01-05 2022-04-15 杜佳 Cross-network information reminding method, system and device of photoelectric conversion device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107070553A (en) * 2017-04-18 2017-08-18 东莞信大融合创新研究院 A kind of unidirectional transmission system and its method based on visible light communication
CN108599860A (en) * 2018-07-04 2018-09-28 山西百信信息技术有限公司 Unidirectional transmission unit
CN108599860B (en) * 2018-07-04 2024-03-08 百信信息技术有限公司 Unidirectional transmitter
CN111277588A (en) * 2020-01-19 2020-06-12 深圳市朗强科技有限公司 Data sending and receiving method, device and system
CN113904724A (en) * 2021-10-12 2022-01-07 中国人民解放军战略支援部队信息工程大学 Communication device and communication system
CN113904724B (en) * 2021-10-12 2022-11-22 中国人民解放军战略支援部队信息工程大学 Communication device and communication system
CN114362821A (en) * 2022-01-05 2022-04-15 杜佳 Cross-network information reminding method, system and device of photoelectric conversion device

Similar Documents

Publication Publication Date Title
CN107070553A (en) A kind of unidirectional transmission system and its method based on visible light communication
CN206673969U (en) A kind of unidirectional transmission system based on visible light communication
CN108989455A (en) A kind of data based on LoRa Internet of Things report and instruct delivery method
CN104077164B (en) Big Dipper terminal equipment software upgrading method in a kind of Beidou communication system
CN105704252A (en) Low-power-consumption bluetooth equipment data transmission method and device
CN106598889A (en) SATA (Serial Advanced Technology Attachment) master controller based on FPGA (Field Programmable Gate Array) sandwich plate
CN104125204B (en) Communication means and its equipment are realized based on MBIM interfaces
CN110213756A (en) A kind of data transmission method, device and its relevant device
CN106717017A (en) Communication method, device, and system for wavelength division multiplexing passive optical network
CN106411652B (en) A kind of gateway protocol conversion testing system and method towards the communication of empty day
CN106713057A (en) Method for performing tunnel detection and device and system thereof
CN103929417A (en) Security data interaction structure and method based on optical isolation technology
CN106203188B (en) A kind of Unilateral Data Transferring System and its method adding MAC based on dual processors
CN110381046A (en) A kind of encrypted transmission method of GNSS data
CN104065486A (en) Encryption strategy matching algorithm module verification platform and realizing method thereof
CN103986560B (en) A kind of data transmission method and device
CN105591839A (en) Device, method and system of testing network exchange chip
CN103763676B (en) Communication means and equipment between AP and AC
CN107733526A (en) A kind of optical communication system, access light source recognition methods and relevant device
CN104009982A (en) File grouping and mass texting device based on ultra-short wave radio station and file grouping and mass texting method
CN107231309B (en) Obtain method, controller and the purpose switching node of SDN the whole network view
CN104394160B (en) A kind of Link Layer Discovery Protocol applies the method in SDH
CN106412118A (en) Networking device and method based on Internet of things
WO2022088888A1 (en) Multi-level pon management method and related apparatus
CN104468190A (en) Wifi data package capturing method and device and intelligent terminal

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant