CN107911164A - A kind of bi-directional data safe transmission method based on visible light communication technology - Google Patents
A kind of bi-directional data safe transmission method based on visible light communication technology Download PDFInfo
- Publication number
- CN107911164A CN107911164A CN201710940634.9A CN201710940634A CN107911164A CN 107911164 A CN107911164 A CN 107911164A CN 201710940634 A CN201710940634 A CN 201710940634A CN 107911164 A CN107911164 A CN 107911164A
- Authority
- CN
- China
- Prior art keywords
- data
- transceiver module
- visible light
- transmitting
- feedback
- 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.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 20
- 230000005540 biological transmission Effects 0.000 title claims abstract description 18
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000005516 engineering process Methods 0.000 title claims abstract description 8
- 238000004364 calculation method Methods 0.000 claims 1
- 238000012546 transfer Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/11—Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
- H04B10/114—Indoor or close-range type systems
- H04B10/116—Visible light communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/80—Optical aspects relating to the use of optical transmission for specific applications, not provided for in groups H04B10/03 - H04B10/70, e.g. optical power feeding or optical transmission through water
- H04B10/85—Protection from unauthorised access, e.g. eavesdrop protection
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Optical Communication System (AREA)
Abstract
本发明公开了一种基于可见光通信技术的双向数据安全传输方法,数据通过上位机编码后经收发模组1发送,收发模组2接收数据后根据串口通信协议解码,并随机从本地密码库中选择一项数据发送。收发模组1接收到收发模组2反馈的密码时,运用枚举算法找出数据在密码库中的对应项数,并发送反馈给收发模组2。收发模组2如果接收到正确的反馈,则将数据写入计算机,否则弹出提示框报疑。通过以毫秒为单位的主循环多次执行,直至读取至文件尾。本发明所用器材简单,给数据传输提供了一种新的高效安全的方法,减少数据被盗取或篡改的风险,同时以LED照明灯为发射光源,节约能源。
The invention discloses a two-way data secure transmission method based on visible light communication technology. The data is encoded by a host computer and sent through a transceiver module 1. After receiving the data, the transceiver module 2 decodes the data according to the serial port communication protocol and randomly selects the data from the local password library. Select a data to send. When the transceiver module 1 receives the password fed back by the transceiver module 2, it uses the enumeration algorithm to find out the corresponding item number of the data in the password database, and sends the feedback to the transceiver module 2. If the transceiver module 2 receives correct feedback, it will write the data into the computer, otherwise a prompt box will pop up to report a doubt. Read through the main loop multiple times in milliseconds until the end of the file is read. The invention uses simple equipment, provides a new efficient and safe method for data transmission, reduces the risk of data being stolen or tampered with, and at the same time uses LED lighting as the emission light source to save energy.
Description
技术领域technical field
本发明涉及可见光通信技术领域,特别是一种基于可见光通信技术的双向数据安全传输方法。The invention relates to the technical field of visible light communication, in particular to a two-way secure data transmission method based on visible light communication technology.
背景技术Background technique
白光LED具有节能、可靠、寿命长、价格低以及高速调制等特性,可同时实现照明和可见光通信双重功能。可见光通信具有安全节能、免电磁干扰、通信速率高以及精确定位等很多优势,应用前景广阔,是光通信领域的研究热点。从2000年日本研究者提出可见光通信起,经过十几年的发展,传输速率越来越高,不断取得突破性成果。White light LED has the characteristics of energy saving, reliability, long life, low price and high-speed modulation, and can realize the dual functions of lighting and visible light communication at the same time. Visible light communication has many advantages such as safety and energy saving, avoiding electromagnetic interference, high communication rate, and precise positioning. It has broad application prospects and is a research hotspot in the field of optical communication. Since Japanese researchers proposed visible light communication in 2000, after more than ten years of development, the transmission rate has become higher and higher, and breakthroughs have been made continuously.
可见光通信目前凭借广泛使用的灯光和可观的传输速率,在传输一些小数据和媒体流中发挥作用。复旦大学的实验室中有通过光通信传递影像、声音等信息的实验设备,但如今还没有通过可见光批量传输数据的实例。Visible light communication is currently playing a role in transmitting some small data and media streams with widely used lights and considerable transmission rates. Fudan University's laboratory has experimental equipment for transmitting information such as images and sounds through optical communication, but there is no instance of batch transmission of data through visible light.
目前市面上不论是传统的射频通信,还是二维码通信,都存在着大量的安全隐患。为了解决安全隐患(例如:恶意发送信号,通过控制另一光源频闪改变信号等),设计出一种可靠的可见光双向通信程序,并且该程序也可以运用在传统的端口通信方面。同时,对这种技术进行了一种衍生应用,用于快速、高效、安全地传输文件。考虑到当前串口传输软件对文件大小的限制,设计了一种计算机间文件传输的方法,能满足不同大小文件的传输需求,同时可以保证接收到的文件是安全的,用户想要接收到的文件。At present, whether it is traditional radio frequency communication or QR code communication on the market, there are a lot of potential safety hazards. In order to solve potential safety hazards (such as sending signals maliciously, changing signals by controlling another light source to strobe, etc.), a reliable visible light two-way communication program is designed, and this program can also be used in traditional port communication. At the same time, a derivative application of this technology is used to transfer files quickly, efficiently and securely. Considering the file size limitation of the current serial port transmission software, a method of file transmission between computers is designed, which can meet the transmission requirements of files of different sizes, and at the same time can ensure that the received files are safe, and the files that users want to receive .
发明内容Contents of the invention
本发明的目的,是要提供一种基于可见光通信技术的双向数据安全传输方法。本系统,可应用于多种不同场景。例如:在无网络,无信号区域进行文件传输;The purpose of the present invention is to provide a two-way secure data transmission method based on visible light communication technology. This system can be applied to many different scenarios. For example: file transfer in areas with no network and no signal;
为实现上述目的,本发明采用如下技术方案:To achieve the above object, the present invention adopts the following technical solutions:
收发模组1发送指定量的数据,收发模组2接收同等量的数据后随机从本地密码库中选择一项数据发送。收发模组1接收到收发模组2反馈的密码时,会自动运用枚举算法,找出数据在密码库中的对应项数,并发送反馈给收发模组2。收发模组2如果接收到正确的反馈,则将数据写入计算机,否则弹出提示框报疑。通过以毫秒为单位的主循环多次执行,直至读取至文件尾。The transceiver module 1 sends a specified amount of data, and the transceiver module 2 randomly selects a piece of data from the local cryptographic library to send after receiving the same amount of data. When the transceiver module 1 receives the password fed back by the transceiver module 2, it will automatically use the enumeration algorithm to find out the corresponding item number of the data in the password database, and send the feedback to the transceiver module 2. If the transceiver module 2 receives correct feedback, it will write the data into the computer, otherwise a prompt box will pop up to report a doubt. Read through the main loop multiple times in milliseconds until the end of the file is read.
本发明所用器材简单,改造方便,能够提高信息传播接收效率,给数据传输提供了新的高效安全的方法,方法节省工作时间,减少数据被盗取或篡改的风险,同时以LED照明灯为发射光源,节约能源。可用范围广,后续开发价值高,可见光通信是一项十分热门的新兴技术,随着未来可见光通信技术的发展,本专利所使用的算法也会得到更多的延伸利用。The equipment used in the present invention is simple, easy to transform, can improve the efficiency of information dissemination and reception, and provides a new efficient and safe method for data transmission. The method saves working time and reduces the risk of data being stolen or tampered with. Light source, save energy. With a wide range of applications and high follow-up development value, visible light communication is a very popular emerging technology. With the development of visible light communication technology in the future, the algorithm used in this patent will also be extended and utilized more.
附图说明Description of drawings
图1是本发明所述传输方法的示意图。Fig. 1 is a schematic diagram of the transmission method of the present invention.
图2是本发明双向通信收发模组示意图。Fig. 2 is a schematic diagram of the two-way communication transceiver module of the present invention.
图3是本发明所述传输方法的具体流程图。Fig. 3 is a specific flow chart of the transmission method of the present invention.
具体实施方式Detailed ways
双向数据安全传输方案Two-way data security transmission scheme
收发模组1发送信号后。收发模组2接受信号但不读取,从密码库中随机取出一个密码,并发送给收发模组1。收发模组1接到密码后,运用枚举算法从密码库中找出该密码对应的项数,并发送给收发模组2。收发模组2接收到正确的反馈则读取信号,反之则弹出提示框报告可疑信息。After sending and receiving module 1 sends a signal. Transceiver module 2 accepts the signal but does not read it, randomly takes out a password from the password library, and sends it to transceiver module 1. After the transceiver module 1 receives the password, it uses the enumeration algorithm to find out the number of items corresponding to the password from the password library, and sends it to the transceiver module 2. The transceiver module 2 reads the signal when it receives the correct feedback, otherwise, a prompt box will pop up to report suspicious information.
具体使用流程为:The specific usage process is:
A、分别将收发模组1、收发模组2连接到串口;A. Connect transceiver module 1 and transceiver module 2 to the serial port respectively;
B、分别打开端口;B. Open the ports separately;
C、为收发模组1提供需要发送的数据,并点击发送;C. Provide the data to be sent for transceiver module 1, and click send;
D、在收发模组2获取接收到的正确数据,或是报疑提示框。D. Obtain the received correct data in the transceiver module 2, or report a doubt prompt box.
计算机间文件传输方案Computer-to-computer file transfer scheme
首先将计算机用户定义的文件以二进制字节的方式读取,每毫秒读取用户指定字节数(可进行处理)后,通过上位机程序输入计算机接口(USB、串行接口等)。计算机外接硬件集成二进制数据拆装功能和光信号发送接收功能。上位机程序存在缓冲区,定时从缓冲区中读取与每毫秒发送字节数相同的数据量(可进行处理),写入用户指定位置,发送者的发送申请及接收者的响应均通过所述外接硬件传输。Firstly, the computer user-defined file is read in the form of binary bytes, and after reading the user-specified number of bytes per millisecond (which can be processed), it is input into the computer interface (USB, serial interface, etc.) through the host computer program. The external hardware of the computer integrates binary data disassembling function and optical signal sending and receiving function. There is a buffer in the host computer program, and it regularly reads the same amount of data as the number of bytes sent per millisecond from the buffer (can be processed), and writes it to the location specified by the user. The sender's sending application and the receiver's response pass the The above-mentioned external hardware transmission.
具体使用流程为:The specific usage process is:
A、分别获取、打开串口A. Obtain and open the serial port respectively
B、发送端点击“请求传输数据”按钮B. The sender clicks the "Request Data Transfer" button
C、接收端点击“允许”或“拒绝”,若选择“允许”,则选择文件保存位置;若选择“拒绝”,则初始化。C. The receiving end clicks "Allow" or "Deny", if you choose "Allow", then select the file storage location; if you choose "Deny", then initialize.
D、若发送端收到“允许”,则选择文件进行传输;若收到“拒绝”,则初始化。D. If the sender receives "Allow", select the file for transmission; if it receives "Reject", initialize.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,根据本发明所述系统及其实施方法所做的同等变化及修饰,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, any person familiar with the technical field within the technical scope disclosed in the present invention, according to the system described in the present invention The equivalent changes and modifications made in the implementation methods thereof shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710940634.9A CN107911164A (en) | 2017-10-11 | 2017-10-11 | A kind of bi-directional data safe transmission method based on visible light communication technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710940634.9A CN107911164A (en) | 2017-10-11 | 2017-10-11 | A kind of bi-directional data safe transmission method based on visible light communication technology |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107911164A true CN107911164A (en) | 2018-04-13 |
Family
ID=61841279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710940634.9A Pending CN107911164A (en) | 2017-10-11 | 2017-10-11 | A kind of bi-directional data safe transmission method based on visible light communication technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107911164A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801520A (en) * | 2012-07-31 | 2012-11-28 | 深圳光启创新技术有限公司 | Method and system for encryption communication |
CN103812657A (en) * | 2013-12-31 | 2014-05-21 | 深圳光启创新技术有限公司 | Authentication method |
CN104780475A (en) * | 2014-01-10 | 2015-07-15 | 鸿富锦精密工业(武汉)有限公司 | Encryption system and encryption/decryption method |
US20160020854A1 (en) * | 2014-07-15 | 2016-01-21 | Allen Howard Engel | System to enable communication, sometimes called Li-Fi or Visible Light Communication ( V.L.C. ) between computers or broadcast programs and simple microcontroller gadgets with limited user interfaces, to further the "internet of things" |
CN105897335A (en) * | 2016-06-02 | 2016-08-24 | 复旦大学 | USB interface communication handheld transmitting and receiving device based on visible light communication technology |
-
2017
- 2017-10-11 CN CN201710940634.9A patent/CN107911164A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801520A (en) * | 2012-07-31 | 2012-11-28 | 深圳光启创新技术有限公司 | Method and system for encryption communication |
CN103812657A (en) * | 2013-12-31 | 2014-05-21 | 深圳光启创新技术有限公司 | Authentication method |
CN104780475A (en) * | 2014-01-10 | 2015-07-15 | 鸿富锦精密工业(武汉)有限公司 | Encryption system and encryption/decryption method |
US20160020854A1 (en) * | 2014-07-15 | 2016-01-21 | Allen Howard Engel | System to enable communication, sometimes called Li-Fi or Visible Light Communication ( V.L.C. ) between computers or broadcast programs and simple microcontroller gadgets with limited user interfaces, to further the "internet of things" |
CN105897335A (en) * | 2016-06-02 | 2016-08-24 | 复旦大学 | USB interface communication handheld transmitting and receiving device based on visible light communication technology |
Non-Patent Citations (1)
Title |
---|
SANDIP DAS,ETAL.: "PC to PC Data Transmission using Visible Light Communication", 《2017 INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATION AND INFORMATICS(ICCCI -2017)》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105379315B (en) | For sending the device and method of content in portable terminal | |
US20080278290A1 (en) | Radio Frequency Identification (RFID) System for Dynamically and Automatically Establishing Communication Between A Mobile Wireless Communicating Device and A Processing System | |
CN115190997A (en) | System and method for converting wireless device signals | |
US20140334364A1 (en) | Remote wake-up system and method | |
US11742894B2 (en) | Techniques to reduce power consumption in near field communication systems | |
CN208092659U (en) | Computer Laboratory Management System based on augmented reality | |
Nagashree et al. | Near field communication | |
CN104915696B (en) | A kind of NFC reading/writing methods based on Android platform | |
CN105069384B (en) | A kind of split type China second-generation identity card card-reading system and implementation method | |
CN110515662B (en) | Remote control method, system, equipment and readable storage medium for dual-system equipment | |
WO2014117427A1 (en) | Label reading device and label identification system | |
CN107911164A (en) | A kind of bi-directional data safe transmission method based on visible light communication technology | |
CN105740719A (en) | Wireless safe USB (Universal Serial Bus) flash disk and implementation method thereof | |
EP2782400A1 (en) | NFC controller architecture for simultaneous emulation of multiple NFC technologies in one NFC listen device | |
CN210271009U (en) | Safety door device based on double buses | |
CN102808550A (en) | Control system of fingerprint locks | |
CN107545370A (en) | The mobile office system of Portable high-efficiency | |
CN204406445U (en) | A kind of 125K low frequency activation device | |
CN106125966A (en) | Wireless mouse control system based on ZigBee communication | |
WO2009063272A1 (en) | Hid adaptation to attribute protocol | |
CN205754421U (en) | Application server terminal machine for data cluster | |
CN202218268U (en) | Data distribution device and system based on scanning information | |
CN211787108U (en) | Multi-channel RFID security management monitoring device | |
CN204423505U (en) | A kind of bar code payment devices for automatic vending machine | |
CN202737910U (en) | Information safety equipment capable of achieving multiple authentication |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180413 |