[go: up one dir, main page]

CN118316520A - Safety performance testing method based on sensor - Google Patents

Safety performance testing method based on sensor Download PDF

Info

Publication number
CN118316520A
CN118316520A CN202410274580.7A CN202410274580A CN118316520A CN 118316520 A CN118316520 A CN 118316520A CN 202410274580 A CN202410274580 A CN 202410274580A CN 118316520 A CN118316520 A CN 118316520A
Authority
CN
China
Prior art keywords
visible light
led
light communication
information
communication
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.)
Granted
Application number
CN202410274580.7A
Other languages
Chinese (zh)
Other versions
CN118316520B (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.)
Sichuan Xuanjie Intelligent Technology Co., Ltd.
Original Assignee
Yancheng Yuzhong Technology Information 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 Yancheng Yuzhong Technology Information Co ltd filed Critical Yancheng Yuzhong Technology Information Co ltd
Priority to CN202411594344.XA priority Critical patent/CN119766322A/en
Priority to CN202410274580.7A priority patent/CN118316520B/en
Publication of CN118316520A publication Critical patent/CN118316520A/en
Application granted granted Critical
Publication of CN118316520B publication Critical patent/CN118316520B/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/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0795Performance monitoring; Measurement of transmission parameters
    • 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
    • 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/80Optical 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/85Protection from unauthorised access, e.g. eavesdrop protection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/20Arrangements for monitoring or testing data switching networks the monitoring system or the monitored elements being virtualised, abstracted or software-defined entities, e.g. SDN or NFV
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Security & Cryptography (AREA)
  • Optical Communication System (AREA)

Abstract

The invention discloses a safety performance testing method based on a sensor, which comprises the following steps: step one: setting up a simulation model of a visible light communication system, and testing the communication function of a full communication area; step two: based on the inclination angle of the image sensor, testing the indoor positioning accuracy of the inclined image sensor according to the inclination angle and the geometric relation of the LED image generated on the inclined image sensor by the LEDs; step three: establishing a physical layer security architecture test method based on an indoor visible light communication system in an intelligent home environment; step four: adopting zero forcing beam forming technology to make simulation judgment in the radio frequency and visible light communication heterogeneous network under multi-user; step five: aiming at the channel characteristics of visible light communication, the visible light power distribution is optimized to protect the safety of the visible light communication in the home from the physical layer.

Description

一种基于传感器的安全性能测试方法A sensor-based safety performance testing method

技术领域Technical Field

本发明涉及安全性能测试技术领域,具体为一种基于传感器的安全性能测试方法。The present invention relates to the technical field of safety performance testing, and in particular to a sensor-based safety performance testing method.

背景技术Background technique

可见光通信作为传统射频通信的有力补充,利用现有的白色发光二极管进行数据传输,即在实际的可见光通信系统中,白光LED不仅可以提供照明源,也可以实现通信功能,它的相关参数将大大影响通信系统在接收平面上的通信性能。一般情况下这些LED灯通常被放置在屋顶的中心,这会导致接收平面上接收到的光功率、信噪比和照度十分不均匀,甚至个别性能较差的角落会出现通信盲区,就会导致用户通信的公平性受到影响,同时由于它对安全漏洞不敏感,也存在着被窃听的安全性问题。因此,设计提高通信安全性能和降低被窃听风险的一种基于传感器的安全性能测试方法是很有必要的。As a powerful supplement to traditional radio frequency communication, visible light communication uses existing white light emitting diodes for data transmission. That is, in actual visible light communication systems, white light LEDs can not only provide lighting sources, but also realize communication functions. Its related parameters will greatly affect the communication performance of the communication system on the receiving plane. Generally, these LED lights are usually placed in the center of the roof, which will cause the received optical power, signal-to-noise ratio and illumination on the receiving plane to be very uneven. Even some corners with poor performance will have communication blind spots, which will affect the fairness of user communication. At the same time, because it is not sensitive to security vulnerabilities, there is also a security problem of being eavesdropped. Therefore, it is necessary to design a sensor-based security performance testing method to improve communication security performance and reduce the risk of eavesdropping.

发明内容Summary of the invention

本发明的目的在于提供一种基于传感器的安全性能测试方法,以解决上述背景技术中提出的问题。The purpose of the present invention is to provide a sensor-based safety performance testing method to solve the problems raised in the above background technology.

为了解决上述技术问题,本发明提供如下技术方案:一种基于传感器的安全性能测试方法,包括以下步骤:In order to solve the above technical problems, the present invention provides the following technical solutions: a sensor-based safety performance testing method, comprising the following steps:

步骤一:搭建可见光通信系统的模拟模型,测试全通信区域的通信功能;Step 1: Build a simulation model of the visible light communication system to test the communication function of the entire communication area;

步骤二:基于通过加入图像传感器的倾斜角度,根据倾斜角度以及LED在倾斜后图像传感器上生成的LED图像的几何关系,测试倾斜图像传感器的室内定位准确度;Step 2: Based on the tilt angle of the image sensor, the indoor positioning accuracy of the tilt image sensor is tested according to the tilt angle and the geometric relationship between the LED image generated by the LED on the tilted image sensor;

步骤三:建立基于智能家居环境下的室内可见光通信系统的物理层安全架构测试方法;Step 3: Establish a physical layer security architecture test method for indoor visible light communication systems in smart home environments;

步骤四:采用迫零波束形成技术在多用户下射频与可见光通信异构网络中进行模拟仿真判断;Step 4: Use zero-forcing beamforming technology to conduct simulation and judgment in a multi-user RF and visible light communication heterogeneous network;

步骤五:针对可见光通信的信道特点,优化可见光功率分布从物理层保护家居室内的可见光通信安全。Step 5: Based on the channel characteristics of visible light communication, optimize the visible light power distribution to protect the security of visible light communication in the home from the physical layer.

根据上述技术方案,所述搭建可见光通信系统的模拟模型的步骤,包括:According to the above technical solution, the step of building a simulation model of the visible light communication system includes:

搭建一个由LED发射器和光电探测器接收器组成的可见光通信系统,设立可见光通信系统中的发射端、信道和接收端三部分,通过发射端先对输入的数据进行编码、调制,然后通过驱动电路驱动LED发出特定的光信号,搭载数据的光信号进行传输形成可见光通信的信道,光信号传播到光电转换器件的感光元件上,光电转换器件将接收到的光信号转换为电信号,经过后续的信号处理、解调、解码过程,得到最开始所传输的数据,并将该系统的应用场景设定为智能家居领域;Build a visible light communication system consisting of an LED transmitter and a photodetector receiver. Set up the transmitter, channel and receiver in the visible light communication system. The transmitter first encodes and modulates the input data, and then drives the LED to emit a specific light signal through the driving circuit. The light signal carrying the data is transmitted to form a visible light communication channel. The light signal is transmitted to the photosensitive element of the photoelectric conversion device. The photoelectric conversion device converts the received light signal into an electrical signal. After subsequent signal processing, demodulation and decoding, the data transmitted at the beginning is obtained, and the application scenario of the system is set in the field of smart home.

将LED发射器安装在家居环境中的天花板上,将光电探测器作为接收器随机放置在接收平面上,利用接收器检测自发射器的信号,在该可见光通信系统模拟模型中,根据收发机之间的相对方向性,将可见光通信系统的信道链路划分成视距链路以及非视距链路,视距链路主要涉及室内短距离可见光通信的情况,将可见光集中在较窄的波束里进行指向性的发射。The LED transmitter is installed on the ceiling in the home environment, and the photodetectors are randomly placed on the receiving plane as receivers. The receivers are used to detect the signals from the transmitters. In the simulation model of the visible light communication system, the channel links of the visible light communication system are divided into line-of-sight links and non-line-of-sight links according to the relative directionality between transceivers. The line-of-sight links mainly involve short-distance indoor visible light communications, and the visible light is concentrated in a narrow beam for directional transmission.

根据上述技术方案,所述通过加入图像传感器的倾斜角度进行的仿真测试方法具体运行步骤,包括:According to the above technical solution, the specific operation steps of the simulation test method by adding the tilt angle of the image sensor include:

步骤21:使用LED光源作为信号发射端,不断向附近的室内环境发送带有调制过的LED位置信息的可见光信号,通过摄像头对周围环境进行拍摄,获取图像信息,然后利用图像处理技术分别进行LED位置信息识别和位置解算进行定位;Step 21: Use the LED light source as the signal transmitter to continuously send visible light signals with modulated LED position information to the nearby indoor environment, use the camera to shoot the surrounding environment, obtain image information, and then use image processing technology to identify the LED position information and calculate the position for positioning;

步骤22:根据对图像传感器通过卷帘快门方式拍摄LED光源产生黑白条纹图像,LED光源的闪烁频率与黑白条纹的宽度之间存在特定的数量关系,利用这种特定的数量关系对LED光源的频率进行调制,设定不同的频率代表不同的位置信息;Step 22: The image sensor is used to shoot the LED light source through a rolling shutter to generate a black and white stripe image. There is a specific quantitative relationship between the flashing frequency of the LED light source and the width of the black and white stripes. The frequency of the LED light source is modulated using this specific quantitative relationship, and different frequencies are set to represent different position information.

步骤23:接收端采用带有前置摄像头的可移动终端,通过摄像头获取LED光源及其家居环境的图像信息,选择最近的LED光源对其黑白条纹的宽度进行测量并得出对应的位置信息,根据摄像头放置的位置坐标计算摄像头所在位置坐标;Step 23: The receiving end uses a mobile terminal with a front camera to obtain image information of the LED light source and its home environment through the camera, selects the nearest LED light source to measure the width of its black and white stripes and obtains the corresponding position information, and calculates the position coordinates of the camera according to the position coordinates of the camera.

步骤24:当相邻两组带有定位信息的LED光源之间有部分区域无法获取带有LED光源的图像,定位功能将会停止工作;而在光源空白区域时利用传感器进行辅助定位,当再次进入系统工作区域时重新进行可见光成像定位,实时校准位置;Step 24: When there is a part of the area between two adjacent groups of LED light sources with positioning information where the image with the LED light source cannot be obtained, the positioning function will stop working; when the light source is in a blank area, the sensor is used for auxiliary positioning, and when entering the system working area again, the visible light imaging positioning is performed again to calibrate the position in real time;

步骤25:利用多个LED灯发送带有时间信息的可见光信息,从发射和接收两端垂直距离和角度两方面测试信息传输性能,对基于倾斜图像传感器的室内定位性能进行测试,利用接收器来接收含有时间信息的光信号,在接收信号的同时也获得接收时间的时间信息;Step 25: Use multiple LED lights to send visible light information with time information, test the information transmission performance from the vertical distance and angle between the transmitting and receiving ends, test the indoor positioning performance based on the tilt image sensor, use the receiver to receive the light signal containing time information, and obtain the time information of the receiving time while receiving the signal;

步骤26:通过计算发送时间和接收时间的差值,再乘以光信号传播的速度就可以得到LED灯到达各个接收器的距离,每一个LED灯与接收器的距离再进行做差,获取实际定位结果数据,根据定位预测判断其存在的定位误差,记录定位效果。Step 26: By calculating the difference between the sending time and the receiving time, and then multiplying it by the speed of light signal propagation, we can get the distance between the LED light and each receiver. Then, we can subtract the distance between each LED light and the receiver to obtain the actual positioning result data. According to the positioning prediction, we can determine the positioning error and record the positioning effect.

根据上述技术方案,所述具体的测试方法步骤,包括:According to the above technical solution, the specific test method steps include:

步骤31:采用通用可见光通信信道模型,建立针对基于家居室内多输入单输出的下行可见光通信异构传输网络;Step 31: adopt a general visible light communication channel model to establish a heterogeneous transmission network for downlink visible light communication based on multiple inputs and single outputs in home rooms;

步骤32:设定一个配有多个天线的射频接入点和一个配有多个LED阵列的可见光通信接入点,射频接入点内嵌于LED灯内,且固定在房间的天花板上;Step 32: setting a radio frequency access point equipped with multiple antennas and a visible light communication access point equipped with multiple LED arrays, wherein the radio frequency access point is embedded in the LED lamp and fixed on the ceiling of the room;

步骤33:把每个LED所在的场景视为一个半径固定的圆形,其中LED灯的投影位于圆形的中心,在该场景中,设定包括多个合法用户和一个窃听者,均配备一个射频接收天线和可见光通信接收天线;Step 33: Consider the scene where each LED is located as a circle with a fixed radius, where the projection of the LED light is located at the center of the circle. In this scene, it is set to include multiple legitimate users and one eavesdropper, all of which are equipped with a radio frequency receiving antenna and a visible light communication receiving antenna;

步骤34:设定存在一批非法窃听者在同一个地方试图窃听LED灯和合法的接收器之间的信息传输,并确立合法接收机和窃听装置采用光电二极管来进行数据通信,同时设定合法的接收者位置满足在圆内的均匀分布;Step 34: It is assumed that there are a group of illegal eavesdroppers who attempt to eavesdrop on the information transmission between the LED light and the legal receiver in the same place, and it is established that the legal receiver and the eavesdropping device use photodiodes for data communication, and at the same time, the legal receiver positions are set to meet the uniform distribution within the circle;

步骤35:其中异构网络采用并行射频与可见光通信混合模型,即射频和可见光通信接入点均同时向用户传输保密信息,所有用户和窃听者具有聚合信息的能力,即可以聚合来自射频接入点和可见光通信接入点的信息;Step 35: The heterogeneous network adopts a parallel RF and VLC hybrid model, that is, both RF and VLC access points transmit confidential information to users at the same time, and all users and eavesdroppers have the ability to aggregate information, that is, they can aggregate information from RF access points and VLC access points;

步骤36:设定每个合法用户为潜在的内部窃听,当判断该异构网络中存在窃听者时,同步判断是否窃听发送端传输给多合法用户的信息。Step 36: Set each legitimate user as a potential internal eavesdropper. When it is determined that there is an eavesdropper in the heterogeneous network, synchronously determine whether to eavesdrop on the information transmitted by the sender to multiple legitimate users.

根据上述技术方案,所述进行模拟仿真判断的步骤,包括:According to the above technical solution, the step of performing simulation judgment includes:

当判断该异构网络中存在窃听者时,同步存在发送端传输给多合法用户的信息被窃听时,采用迫零波束形成技术在多用户下射频与可见光通信异构网络中进行模拟仿真,测试利用波束形成技术在窃听信道中是否使窃听者接收到的信号降低为零,如果是,则表示迫零波束形成技术可以保证系统中的内部窃听和外部窃听的安全问题,防止合法用户的保密信息泄露给其他合法用户和窃听者。When it is determined that there is an eavesdropper in the heterogeneous network, and when the information transmitted by the transmitter to multiple legitimate users is eavesdropped, the zero-forcing beamforming technology is used to perform simulation in the RF and visible light communication heterogeneous network with multiple users to test whether the beamforming technology can reduce the signal received by the eavesdropper to zero in the eavesdropping channel. If so, it means that the zero-forcing beamforming technology can ensure the security of internal and external eavesdropping in the system, and prevent the confidential information of legitimate users from being leaked to other legitimate users and eavesdroppers.

根据上述技术方案,所述优化可见光功率分布从物理层保护家居室内的可见光通信安全的步骤,包括:According to the above technical solution, the step of optimizing visible light power distribution to protect the security of visible light communication in the home from the physical layer includes:

针对不同的LED阵列和优化算法相关设置不同的参数,并设置目标接收机的位置,利用优化算法设置一个功率调节因子向量;Different parameters are set for different LED arrays and optimization algorithms, and the location of the target receiver is set, and a power adjustment factor vector is set using the optimization algorithm;

计算通过调节因子调节后的LED阵列在每一个接收机处叠加得到的直射信道增益,并转换为接收光功率;Calculate the direct channel gain obtained by superimposing the LED array adjusted by the adjustment factor at each receiver and convert it into received optical power;

分析计算出安全区域内直射信道增益绝对值最大的点,记录其直射信道增益,将安全区域内直射信道增益绝对值最大的点的直射信道增益的绝对值与接收机的直射信道增益的绝对值进行做差,将其保存为适应度值返回给优化算法;Analyze and calculate the point with the largest absolute value of direct channel gain in the safe area, record its direct channel gain, subtract the absolute value of the direct channel gain of the point with the largest absolute value of direct channel gain in the safe area from the absolute value of the direct channel gain of the receiver, save it as the fitness value and return it to the optimization algorithm;

采用由节点定时或接收某些信号发出密钥更新提示和一次性密码本,合法用户接收提示和一次性密码本,并将其发回确认,然后一起更换一次性密码本继续通信的新密钥加密模式,节点LED将产生新的一个密钥并进入密钥更新阶段,完成与合法用户的密钥交换,然后开始下一次信息传输。The node sends out key update prompts and one-time passwords at regular intervals or after receiving certain signals. The legitimate user receives the prompts and one-time passwords and sends them back for confirmation. Then the one-time password is replaced together to continue communication under the new key encryption mode. The node LED will generate a new key and enter the key update phase, complete the key exchange with the legitimate user, and then start the next information transmission.

根据上述技术方案,所述安全性能测试系统包括:According to the above technical solution, the safety performance testing system includes:

可见光通信单元,用于针对可见光通信系统进行建立仿真;A visible light communication unit, used to establish simulation for a visible light communication system;

性能测试单元,用于测试可见光通信系统的室内定位性能和安全性能;Performance test unit, used to test the indoor positioning performance and safety performance of the visible light communication system;

通信安全优化单元,用于基于分析判断结果优化可见光通信过程中的安全性能。The communication security optimization unit is used to optimize the security performance in the visible light communication process based on the analysis and judgment results.

与现有技术相比,本发明所达到的有益效果是:本发明:Compared with the prior art, the beneficial effects achieved by the present invention are:

1、通过将应用场景设定为智能家居领域,将LED发射器安装在家居环境中的天花板上,将光电探测器作为接收器随机放置在接收平面上,利用接收器检测自发射器的信号,在该可见光通信系统模拟模型中,将可见光集中在较窄的波束里进行指向性的发射,测试该场景下的发射功率和光照强度;1. By setting the application scenario as the smart home field, the LED transmitter is installed on the ceiling in the home environment, and the photodetector is randomly placed on the receiving plane as a receiver. The receiver is used to detect the signal from the transmitter. In the simulation model of the visible light communication system, the visible light is concentrated in a narrow beam for directional transmission, and the transmission power and light intensity in this scenario are tested;

2、测试可见光通信系统的定位和安全性能,判断异构网络中是否存在窃听者和是否存在窃听发送端传输给多合法用户的信息的行为,防止合法用户的保密信息泄露给其他合法用户和窃听者;2. Test the positioning and security performance of the visible light communication system, determine whether there are eavesdroppers in the heterogeneous network and whether there is any behavior of eavesdropping on the information transmitted by the sender to multiple legitimate users, and prevent the confidential information of legitimate users from being leaked to other legitimate users and eavesdroppers;

3、通过在可见光通信系统中减小LED半功率半角,使射频与可见光通信异构网络的和安全速率逐渐增大,随着LED半功率半角越小,其辐射波束越窄,用户的接收信号功率越大,相同噪声功率下,用户的接收信噪比也增大了,且当LED的发射波束变窄时,信息被窃听的概率被降低,整体提高异构系统的安全性。3. By reducing the half-power half-angle of LED in the visible light communication system, the sum security rate of the RF and visible light communication heterogeneous network is gradually increased. As the half-power half-angle of LED becomes smaller, its radiation beam becomes narrower, and the user's received signal power becomes greater. Under the same noise power, the user's received signal-to-noise ratio also increases. When the LED's transmission beam becomes narrower, the probability of information being eavesdropped is reduced, thereby improving the overall security of the heterogeneous system.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

图1为本发明实施例一提供的一种基于传感器的安全性能测试方法的流程图;FIG1 is a flow chart of a sensor-based safety performance testing method provided in Embodiment 1 of the present invention;

图2为本发明实施例二提供的一种基于传感器的安全性能测试系统的模块组成示意图。FIG. 2 is a schematic diagram of the module composition of a sensor-based safety performance testing system provided in Embodiment 2 of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

实施例一:图1为本发明实施例一提供的一种基于传感器的安全性能测试方法的流程图,本实施例可应用室内可见光通信安全性能测试的场景,该方法可以由本实施例提供的一种基于传感器的安全性能测试系统来执行,如图1所示,该方法具体包括以下步骤:Embodiment 1: FIG. 1 is a flow chart of a sensor-based safety performance testing method provided in Embodiment 1 of the present invention. This embodiment can be applied to the scenario of indoor visible light communication safety performance testing. This method can be performed by a sensor-based safety performance testing system provided in this embodiment. As shown in FIG. 1 , this method specifically includes the following steps:

步骤一:搭建可见光通信系统的模拟模型,测试全通信区域的通信功能;Step 1: Build a simulation model of the visible light communication system to test the communication function of the entire communication area;

在本发明实施例中,搭建一个由LED发射器和光电探测器接收器组成的可见光通信系统,设立可见光通信系统中的发射端、信道和接收端三部分,通过发射端先对输入的数据进行编码、调制,然后通过驱动电路驱动LED发出特定的光信号,搭载数据的光信号进行传输形成可见光通信的信道,光信号传播到光电转换器件的感光元件上,光电转换器件将接收到的光信号转换为电信号,经过后续的信号处理、解调、解码过程,得到最开始所传输的数据,并将该系统的应用场景设定为智能家居领域,因此将LED发射器安装在家居环境中的天花板上,将光电探测器作为接收器随机放置在接收平面上,利用接收器检测自发射器的信号,在该可见光通信系统模拟模型中,根据收发机之间的相对方向性,将可见光通信系统的信道链路划分成视距链路以及非视距链路,视距链路主要涉及室内短距离可见光通信的情况,将可见光集中在较窄的波束里进行指向性的发射,节省发射功率并提高光照强度;In an embodiment of the present invention, a visible light communication system consisting of an LED transmitter and a photodetector receiver is constructed, and a transmitter, a channel and a receiver are set up in the visible light communication system. The transmitter first encodes and modulates the input data, and then drives the LED to emit a specific light signal through a driving circuit. The light signal carrying the data is transmitted to form a visible light communication channel. The light signal is transmitted to the photosensitive element of the photoelectric conversion device. The photoelectric conversion device converts the received light signal into an electrical signal. After subsequent signal processing, demodulation and decoding processes, the data initially transmitted is obtained, and the application scenario of the system is set to the smart home field. Therefore, the LED transmitter is installed on the ceiling in the home environment, and the photodetector is randomly placed on the receiving plane as a receiver. The receiver is used to detect the signal from the transmitter. In the simulation model of the visible light communication system, according to the relative directivity between the transceivers, the channel link of the visible light communication system is divided into a line-of-sight link and a non-line-of-sight link. The line-of-sight link mainly involves the situation of indoor short-distance visible light communication. The visible light is concentrated in a narrow beam for directional transmission, saving transmission power and improving light intensity.

示例性的,设置发射器的视距出射角度和接收器的视距入射角度,在发射端,将输入的电信号经过强度调制进入到驱动电路,再由LED发光二极管进行调光控制,随后经过LED阵列和光学透镜将可见光向外空间自由发射,由光集中器和光滤波器将可见光进行捕获,由光电二极管将接收到的光信号转为电信号,然后经过光放大器进行逐级放大,最终在解调电路端采用直接检测技术对信息进行解码,并恢复出原信号;Exemplarily, the line-of-sight exit angle of the transmitter and the line-of-sight incident angle of the receiver are set. At the transmitting end, the input electrical signal is intensity modulated and enters the driving circuit, and then the LED light-emitting diode is dimmed and controlled. Then, the visible light is freely emitted to the outer space through the LED array and the optical lens, and the visible light is captured by the optical concentrator and the optical filter. The received optical signal is converted into an electrical signal by the photodiode, and then amplified step by step by the optical amplifier. Finally, the information is decoded by the direct detection technology at the demodulation circuit end, and the original signal is restored.

示例性的,可见光通信系统中的LED用于满足照明以及通信的需求,通过对LED的光照强度指标进行数学定义,分析可见光通信的信道以及安全特性,将LED非相干光源看作朗伯辐射体,即将LED灯看成一个点光源,因此LED的亮度用光照强度来表示,LED辐射出的总能量用传输光功率来表示,光通量用光照强度表示。Exemplarily, the LED in the visible light communication system is used to meet the needs of lighting and communication. By mathematically defining the light intensity index of the LED, analyzing the channel and security characteristics of the visible light communication, the LED incoherent light source is regarded as a Lambertian radiator, that is, the LED lamp is regarded as a point light source. Therefore, the brightness of the LED is expressed by the light intensity, the total energy radiated by the LED is expressed by the transmitted light power, and the luminous flux is expressed by the light intensity.

步骤二:基于通过加入图像传感器的倾斜角度,根据倾斜角度以及LED在倾斜后图像传感器上生成的LED图像的几何关系,测试倾斜图像传感器的室内定位准确度;Step 2: Based on the tilt angle of the image sensor, the indoor positioning accuracy of the tilt image sensor is tested according to the tilt angle and the geometric relationship between the LED image generated by the LED on the tilted image sensor;

在本发明实施例中,配置由摄像头、感光传感器、模数转换器、图像传感器和储存器组成的相机系统,光线通过镜头聚集到感光传感器上,感光传感器将光信号转换为模拟信号,模拟信号经过模数转换器转换为数字信号,经过图像传感器调整处理后,将形成的图像信息储存到存储器中;In the embodiment of the present invention, a camera system consisting of a camera, a photosensitive sensor, an analog-to-digital converter, an image sensor and a storage is configured, light is gathered onto the photosensitive sensor through a lens, the photosensitive sensor converts the light signal into an analog signal, the analog signal is converted into a digital signal through the analog-to-digital converter, and after adjustment and processing by the image sensor, the formed image information is stored in the storage;

示例性的,通过加入图像传感器的倾斜角度进行的仿真测试方法具体运行步骤为:Exemplarily, the specific operating steps of the simulation test method by adding the tilt angle of the image sensor are as follows:

步骤21:使用LED光源作为信号发射端,不断向附近的室内环境发送带有调制过的LED位置信息的可见光信号,通过摄像头对周围环境进行拍摄,获取图像信息,然后利用图像处理技术分别进行LED位置信息识别和位置解算进行定位;Step 21: Use the LED light source as the signal transmitter to continuously send visible light signals with modulated LED position information to the nearby indoor environment, use the camera to shoot the surrounding environment, obtain image information, and then use image processing technology to identify the LED position information and calculate the position for positioning;

步骤22:根据对图像传感器通过卷帘快门方式拍摄LED光源产生黑白条纹图像,LED光源的闪烁频率与黑白条纹的宽度之间存在特定的数量关系,利用这种特定的数量关系对LED光源的频率进行调制,设定不同的频率代表不同的位置信息;Step 22: The image sensor is used to shoot the LED light source through a rolling shutter to generate a black and white stripe image. There is a specific quantitative relationship between the flashing frequency of the LED light source and the width of the black and white stripes. The frequency of the LED light source is modulated using this specific quantitative relationship, and different frequencies are set to represent different position information.

步骤23:接收端采用带有前置摄像头的可移动终端,通过摄像头获取LED光源及其家居环境的图像信息,选择最近的LED光源对其黑白条纹的宽度进行测量并得出对应的位置信息,根据摄像头放置的位置坐标计算摄像头所在位置坐标;Step 23: The receiving end uses a mobile terminal with a front camera to obtain image information of the LED light source and its home environment through the camera, selects the nearest LED light source to measure the width of its black and white stripes and obtains the corresponding position information, and calculates the position coordinates of the camera according to the position coordinates of the camera.

步骤24:当相邻两组带有定位信息的LED光源之间有部分区域无法获取带有LED光源的图像,定位功能将会停止工作;而在光源空白区域时利用传感器进行辅助定位,当再次进入系统工作区域时重新进行可见光成像定位,实时校准位置;Step 24: When there is a part of the area between two adjacent groups of LED light sources with positioning information where the image with the LED light source cannot be obtained, the positioning function will stop working; when the light source is in a blank area, the sensor is used for auxiliary positioning, and when entering the system working area again, the visible light imaging positioning is performed again to calibrate the position in real time;

步骤25:利用多个LED灯发送带有时间信息的可见光信息,从发射和接收两端垂直距离和角度两方面测试信息传输性能,对基于倾斜图像传感器的室内定位性能进行测试,利用接收器来接收含有时间信息的光信号,在接收信号的同时也获得接收时间的时间信息;Step 25: Use multiple LED lights to send visible light information with time information, test the information transmission performance from the vertical distance and angle between the transmitting and receiving ends, test the indoor positioning performance based on the tilt image sensor, use the receiver to receive the light signal containing time information, and obtain the time information of the receiving time while receiving the signal;

步骤26:通过计算发送时间和接收时间的差值,再乘以光信号传播的速度就可以得到LED灯到达各个接收器的距离,每一个LED灯与接收器的距离再进行做差,获取实际定位结果数据,根据定位预测判断其存在的定位误差,记录定位效果。Step 26: By calculating the difference between the sending time and the receiving time, and then multiplying it by the speed of light signal propagation, we can get the distance between the LED light and each receiver. Then, we can subtract the distance between each LED light and the receiver to obtain the actual positioning result data. According to the positioning prediction, we can determine the positioning error and record the positioning effect.

步骤三:建立基于智能家居环境下的室内可见光通信系统的物理层安全架构测试方法;Step 3: Establish a physical layer security architecture test method for indoor visible light communication systems in smart home environments;

在本发明实施例中,具体的测试方法为:In the embodiment of the present invention, the specific testing method is:

步骤31:采用通用可见光通信信道模型,建立针对基于家居室内多输入单输出的下行可见光通信异构传输网络;Step 31: adopt a general visible light communication channel model to establish a heterogeneous transmission network for downlink visible light communication based on multiple inputs and single outputs in home rooms;

步骤32:设定一个配有多个天线的射频接入点和一个配有多个LED阵列的可见光通信接入点,射频接入点内嵌于LED灯内,且固定在房间的天花板上;Step 32: setting a radio frequency access point equipped with multiple antennas and a visible light communication access point equipped with multiple LED arrays, wherein the radio frequency access point is embedded in the LED lamp and fixed on the ceiling of the room;

步骤33:把每个LED所在的场景视为一个半径固定的圆形,其中LED灯的投影位于圆形的中心,在该场景中,设定包括多个合法用户和一个窃听者,均配备一个射频接收天线和可见光通信接收天线;Step 33: Consider the scene where each LED is located as a circle with a fixed radius, where the projection of the LED light is located at the center of the circle. In this scene, it is set to include multiple legitimate users and one eavesdropper, all of which are equipped with a radio frequency receiving antenna and a visible light communication receiving antenna;

步骤34:设定存在一批非法窃听者在同一个地方试图窃听LED灯和合法的接收器之间的信息传输,并确立合法接收机和窃听装置采用光电二极管来进行数据通信,同时设定合法的接收者位置满足在圆内的均匀分布;Step 34: It is assumed that there are a group of illegal eavesdroppers who attempt to eavesdrop on the information transmission between the LED light and the legal receiver in the same place, and it is established that the legal receiver and the eavesdropping device use photodiodes for data communication, and at the same time, the legal receiver positions are set to meet the uniform distribution within the circle;

步骤35:其中异构网络采用并行射频与可见光通信混合模型,即射频和可见光通信接入点均同时向用户传输保密信息,所有用户和窃听者具有聚合信息的能力,即可以聚合来自射频接入点和可见光通信接入点的信息;Step 35: The heterogeneous network adopts a parallel RF and VLC hybrid model, that is, both RF and VLC access points transmit confidential information to users at the same time, and all users and eavesdroppers have the ability to aggregate information, that is, they can aggregate information from RF access points and VLC access points;

步骤36:设定每个合法用户为潜在的内部窃听,当判断该异构网络中存在窃听者时,同步判断是否窃听发送端传输给多合法用户的信息。Step 36: Set each legitimate user as a potential internal eavesdropper. When it is determined that there is an eavesdropper in the heterogeneous network, synchronously determine whether to eavesdrop on the information transmitted by the sender to multiple legitimate users.

步骤四:采用迫零波束形成技术在多用户下射频与可见光通信异构网络中进行模拟仿真判断;Step 4: Use zero-forcing beamforming technology to conduct simulation and judgment in a multi-user RF and visible light communication heterogeneous network;

在本发明实施例中,当判断该异构网络中存在窃听者时,同步存在发送端传输给多合法用户的信息被窃听时,采用迫零波束形成技术在多用户下射频与可见光通信异构网络中进行模拟仿真,测试利用波束形成技术在窃听信道中是否使窃听者接收到的信号降低为零,如果是,则表示迫零波束形成技术可以保证系统中的内部窃听和外部窃听的安全问题,防止合法用户的保密信息泄露给其他合法用户和窃听者。In an embodiment of the present invention, when it is determined that there is an eavesdropper in the heterogeneous network, and when the information transmitted by the transmitter to multiple legitimate users is simultaneously eavesdropped, a zero-forcing beamforming technology is used to perform simulation in a multi-user RF and visible light communication heterogeneous network to test whether the beamforming technology can reduce the signal received by the eavesdropper to zero in the eavesdropping channel. If so, it means that the zero-forcing beamforming technology can ensure the security of internal and external eavesdropping in the system, and prevent the confidential information of legitimate users from being leaked to other legitimate users and eavesdroppers.

步骤五:针对可见光通信的信道特点,优化可见光功率分布从物理层保护家居室内的可见光通信安全。Step 5: Based on the channel characteristics of visible light communication, optimize the visible light power distribution to protect the security of visible light communication in the home from the physical layer.

在本发明实施例中,针对不同的LED阵列和优化算法相关设置不同的参数,并设置目标接收机的位置,利用优化算法设置一个功率调节因子向量,计算通过调节因子调节后的LED阵列在每一个接收机处叠加得到的直射信道增益,并转换为接收光功率,分析计算出安全区域内直射信道增益绝对值最大的点,记录其直射信道增益,将安全区域内直射信道增益绝对值最大的点的直射信道增益的绝对值与接收机的直射信道增益的绝对值进行做差,并将其保存为适应度值返回给优化算法,然后再减小LED半功率半角,使射频与可见光通信异构网络的和安全速率逐渐增大,随着LED半功率半角越小,其辐射波束越窄,用户的接收信号功率越大,相同噪声功率下,用户的接收信噪比也增大了,且当LED的发射波束变窄时,信息被窃听的概率被降低,异构系统的安全性整体提高;In the embodiment of the present invention, different parameters are set for different LED arrays and optimization algorithms, and the position of the target receiver is set. A power adjustment factor vector is set using the optimization algorithm. The direct channel gain obtained by superimposing the LED array adjusted by the adjustment factor at each receiver is calculated and converted into received optical power. The point with the largest absolute value of the direct channel gain in the safe area is analyzed and calculated, and its direct channel gain is recorded. The absolute value of the direct channel gain of the point with the largest absolute value of the direct channel gain in the safe area is subtracted from the absolute value of the direct channel gain of the receiver, and the difference is saved as a fitness value and returned to the optimization algorithm. Then, the LED half-power half-angle is reduced, so that the sum security rate of the heterogeneous network of radio frequency and visible light communication is gradually increased. As the LED half-power half-angle is smaller, its radiation beam is narrower, and the user's received signal power is greater. Under the same noise power, the user's received signal-to-noise ratio is also increased. When the LED's transmission beam becomes narrower, the probability of information being eavesdropped is reduced, and the overall security of the heterogeneous system is improved.

示例性的,采用由节点定时或接收某些信号发出密钥更新提示和一次性密码本,合法用户接收提示和一次性密码本,并将其发回确认,然后一起更换一次性密码本继续通信的新密钥加密模式,节点LED将产生新的一个密钥并进入密钥更新阶段,完成与合法用户的密钥交换,然后开始下一次信息传输,在有效保障合法用户成功获取下发密钥的同时,最大程度上保障可见光通信安全。Exemplarily, a new key encryption mode is adopted in which the node sends out a key update prompt and a one-time password regularly or receives certain signals. The legitimate user receives the prompt and the one-time password and sends them back for confirmation. Then, the one-time password is replaced together to continue communication. The node LED will generate a new key and enter the key update phase, complete the key exchange with the legitimate user, and then start the next information transmission. While effectively ensuring that the legitimate user successfully obtains the issued key, the security of visible light communication is guaranteed to the greatest extent.

实施例二:本发明实施例二提供了一种基于传感器的安全性能测试系统,图2为本发明实施例二提供的一种基于传感器的安全性能测试系统的模块组成示意图,如图2所示,该系统包括:Embodiment 2: Embodiment 2 of the present invention provides a sensor-based safety performance testing system. FIG. 2 is a schematic diagram of the module composition of a sensor-based safety performance testing system provided by Embodiment 2 of the present invention. As shown in FIG. 2 , the system includes:

可见光通信单元,用于针对可见光通信系统进行建立仿真;A visible light communication unit, used to establish simulation for a visible light communication system;

性能测试单元,用于测试可见光通信系统的室内定位性能和安全性能;Performance test unit, used to test the indoor positioning performance and safety performance of the visible light communication system;

通信安全优化单元,用于基于分析判断结果优化可见光通信过程中的安全性能。The communication security optimization unit is used to optimize the security performance in the visible light communication process based on the analysis and judgment results.

在本发明的一些实施例中,可见光通信单元包括:In some embodiments of the present invention, the visible light communication unit includes:

模拟模型搭建模块,用于搭建可见光通信系统的模拟模型以测试全通信区域的通信功能;A simulation model building module is used to build a simulation model of a visible light communication system to test the communication function of the entire communication area;

应用场景设定模块,用于设定可见光通信系统的应用场景为智能家居领域;An application scenario setting module, used to set the application scenario of the visible light communication system to the field of smart home;

信道及安全特性分析模块,用于分析搭载数据的光信号进行传输形成可见光通信的信道的特性和通信安全特性。The channel and security characteristics analysis module is used to analyze the characteristics of the channel and communication security characteristics of the optical signal carrying data for transmission to form visible light communication.

在本发明的一些实施例中,性能测试单元包括:In some embodiments of the present invention, the performance testing unit includes:

图像传感器模块,用于将光线通过镜头聚集到感光传感器上并将光信号转换为模拟信号;An image sensor module, which is used to focus light through a lens onto a photosensitive sensor and convert the light signal into an analog signal;

仿真测试运行模块,用于通过加入图像传感器的倾斜角度进行仿真测试运行;A simulation test running module, used for performing simulation test running by adding a tilt angle of the image sensor;

安全架构测试模块,用于建立基于智能家居环境下的室内可见光通信系统的物理层安全架构测试;Security architecture test module, used to establish physical layer security architecture test of indoor visible light communication system in smart home environment;

异构传输网络建立模块,用于建立针对基于家居室内多输入单输出的下行可见光通信异构传输网络。The heterogeneous transmission network establishment module is used to establish a heterogeneous transmission network for downlink visible light communication based on multiple inputs and single outputs in the home.

在本发明的一些实施例中,通信安全优化单元包括:In some embodiments of the present invention, the communication security optimization unit includes:

迫零波束形成模块,用于采用迫零波束形成技术在多用户下射频与可见光通信异构网络中进行模拟仿真;Zero-forcing beamforming module, used to simulate and emulate the use of zero-forcing beamforming technology in multi-user RF and visible light communication heterogeneous networks;

模拟仿真判断模块,用于测试判断波束形成技术在窃听信道中是否使窃听者接收到的信号降低为零;A simulation judgment module is used to test and judge whether the beamforming technology reduces the signal received by the eavesdropper to zero in the eavesdropping channel;

信道特点分析模块,用于计算通过调节因子调节后的LED阵列在每一个接收机处叠加得到的直射信道增益特点;A channel characteristic analysis module is used to calculate the direct channel gain characteristic obtained by superimposing the LED array adjusted by the adjustment factor at each receiver;

通信安全保障模块,用于保障用户在可见光通信中安全获取下发密钥信息。The communication security assurance module is used to ensure that users can safely obtain and send key information in visible light communication.

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

最后应说明的是:以上所述仅为本发明的优选实施例而已,并不用于限制本发明,尽管参照前述实施例对本发明进行了详细的说明,对于本领域的技术人员来说,其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims (10)

1.一种基于传感器的安全性能测试方法,其特征在于:所述该方法包括以下步骤:1. A sensor-based safety performance testing method, characterized in that the method comprises the following steps: 步骤一:搭建可见光通信系统的模拟模型,测试全通信区域的通信功能;Step 1: Build a simulation model of the visible light communication system to test the communication function of the entire communication area; 步骤二:基于通过加入图像传感器的倾斜角度,根据倾斜角度以及LED在倾斜后图像传感器上生成的LED图像的几何关系,测试倾斜图像传感器的室内定位准确度;Step 2: Based on the tilt angle of the image sensor, the indoor positioning accuracy of the tilt image sensor is tested according to the tilt angle and the geometric relationship between the LED image generated by the LED on the tilted image sensor; 步骤三:建立基于智能家居环境下的室内可见光通信系统的物理层安全架构测试方法;Step 3: Establish a physical layer security architecture test method for indoor visible light communication systems in smart home environments; 步骤四:采用迫零波束形成技术在多用户下射频与可见光通信异构网络中进行模拟仿真判断;Step 4: Use zero-forcing beamforming technology to conduct simulation and judgment in a multi-user RF and visible light communication heterogeneous network; 步骤五:针对可见光通信的信道特点,优化可见光功率分布从物理层保护家居室内的可见光通信安全。Step 5: Based on the channel characteristics of visible light communication, optimize the visible light power distribution to protect the security of visible light communication in the home from the physical layer. 2.根据权利要求1所述的一种基于传感器的安全性能测试方法,其特征在于:所述搭建可见光通信系统的模拟模型的步骤,包括:2. A sensor-based safety performance testing method according to claim 1, characterized in that: the step of building a simulation model of a visible light communication system comprises: 搭建一个由LED发射器和光电探测器接收器组成的可见光通信系统,设立可见光通信系统中的发射端、信道和接收端三部分,通过发射端先对输入的数据进行编码、调制,然后通过驱动电路驱动LED发出特定的光信号,搭载数据的光信号进行传输形成可见光通信的信道,光信号传播到光电转换器件的感光元件上,光电转换器件将接收到的光信号转换为电信号,经过后续的信号处理、解调、解码过程,得到最开始所传输的数据,并将该系统的应用场景设定为智能家居领域;Build a visible light communication system consisting of an LED transmitter and a photodetector receiver. Set up the transmitter, channel and receiver in the visible light communication system. The transmitter first encodes and modulates the input data, and then drives the LED to emit a specific light signal through the driving circuit. The light signal carrying the data is transmitted to form a visible light communication channel. The light signal is transmitted to the photosensitive element of the photoelectric conversion device. The photoelectric conversion device converts the received light signal into an electrical signal. After subsequent signal processing, demodulation and decoding, the data transmitted at the beginning is obtained, and the application scenario of the system is set in the field of smart home. 将LED发射器安装在家居环境中的天花板上,将光电探测器作为接收器随机放置在接收平面上,利用接收器检测自发射器的信号,在该可见光通信系统模拟模型中,根据收发机之间的相对方向性,将可见光通信系统的信道链路划分成视距链路以及非视距链路,视距链路主要涉及室内短距离可见光通信的情况,将可见光集中在较窄的波束里进行指向性的发射。The LED transmitter is installed on the ceiling in the home environment, and the photodetectors are randomly placed on the receiving plane as receivers. The receivers are used to detect the signals from the transmitters. In the simulation model of the visible light communication system, the channel links of the visible light communication system are divided into line-of-sight links and non-line-of-sight links according to the relative directionality between transceivers. The line-of-sight links mainly involve short-distance indoor visible light communications, and the visible light is concentrated in a narrow beam for directional transmission. 3.根据权利要求2所述的一种基于传感器的安全性能测试方法,其特征在于:所述通过加入图像传感器的倾斜角度进行的仿真测试方法具体运行步骤,包括:3. A sensor-based safety performance testing method according to claim 2, characterized in that: the specific operation steps of the simulation testing method by adding the tilt angle of the image sensor include: 步骤21:使用LED光源作为信号发射端,不断向附近的室内环境发送带有调制过的LED位置信息的可见光信号,通过摄像头对周围环境进行拍摄,获取图像信息,然后利用图像处理技术分别进行LED位置信息识别和位置解算进行定位;Step 21: Use the LED light source as the signal transmitter to continuously send visible light signals with modulated LED position information to the nearby indoor environment, use the camera to shoot the surrounding environment, obtain image information, and then use image processing technology to identify the LED position information and calculate the position for positioning; 步骤22:根据对图像传感器通过卷帘快门方式拍摄LED光源产生黑白条纹图像,LED光源的闪烁频率与黑白条纹的宽度之间存在特定的数量关系,利用这种特定的数量关系对LED光源的频率进行调制,设定不同的频率代表不同的位置信息;Step 22: The image sensor is used to shoot the LED light source through a rolling shutter to generate a black and white stripe image. There is a specific quantitative relationship between the flashing frequency of the LED light source and the width of the black and white stripes. The frequency of the LED light source is modulated using this specific quantitative relationship, and different frequencies are set to represent different position information. 步骤23:接收端采用带有前置摄像头的可移动终端,通过摄像头获取LED光源及其家居环境的图像信息,选择最近的LED光源对其黑白条纹的宽度进行测量并得出对应的位置信息,根据摄像头放置的位置坐标计算摄像头所在位置坐标;Step 23: The receiving end uses a mobile terminal with a front camera to obtain image information of the LED light source and its home environment through the camera, selects the nearest LED light source to measure the width of its black and white stripes and obtains the corresponding position information, and calculates the position coordinates of the camera according to the position coordinates of the camera. 步骤24:当相邻两组带有定位信息的LED光源之间有部分区域无法获取带有LED光源的图像,定位功能将会停止工作;而在光源空白区域时利用传感器进行辅助定位,当再次进入系统工作区域时重新进行可见光成像定位,实时校准位置;Step 24: When there is a part of the area between two adjacent groups of LED light sources with positioning information where the image with the LED light source cannot be obtained, the positioning function will stop working; when the light source is in a blank area, the sensor is used for auxiliary positioning, and when entering the system working area again, the visible light imaging positioning is performed again to calibrate the position in real time; 步骤25:利用多个LED灯发送带有时间信息的可见光信息,从发射和接收两端垂直距离和角度两方面测试信息传输性能,对基于倾斜图像传感器的室内定位性能进行测试,利用接收器来接收含有时间信息的光信号,在接收信号的同时也获得接收时间的时间信息;Step 25: Use multiple LED lights to send visible light information with time information, test the information transmission performance from the vertical distance and angle between the transmitting and receiving ends, test the indoor positioning performance based on the tilt image sensor, use the receiver to receive the light signal containing time information, and obtain the time information of the receiving time while receiving the signal; 步骤26:通过计算发送时间和接收时间的差值,再乘以光信号传播的速度就可以得到LED灯到达各个接收器的距离,每一个LED灯与接收器的距离再进行做差,获取实际定位结果数据,根据定位预测判断其存在的定位误差,记录定位效果。Step 26: By calculating the difference between the sending time and the receiving time, and then multiplying it by the speed of light signal propagation, we can get the distance between the LED light and each receiver. Then, we can subtract the distance between each LED light and the receiver to obtain the actual positioning result data. According to the positioning prediction, we can determine the positioning error and record the positioning effect. 4.根据权利要求3所述的一种基于传感器的安全性能测试方法,其特征在于:所述具体的测试方法步骤,包括:4. A sensor-based safety performance testing method according to claim 3, characterized in that: the specific testing method steps include: 步骤31:采用通用可见光通信信道模型,建立针对基于家居室内多输入单输出的下行可见光通信异构传输网络;Step 31: adopt a general visible light communication channel model to establish a heterogeneous transmission network for downlink visible light communication based on multiple inputs and single outputs in home rooms; 步骤32:设定一个配有多个天线的射频接入点和一个配有多个LED阵列的可见光通信接入点,射频接入点内嵌于LED灯内,且固定在房间的天花板上;Step 32: setting a radio frequency access point equipped with multiple antennas and a visible light communication access point equipped with multiple LED arrays, wherein the radio frequency access point is embedded in the LED lamp and fixed on the ceiling of the room; 步骤33:把每个LED所在的场景视为一个半径固定的圆形,其中LED灯的投影位于圆形的中心,在该场景中,设定包括多个合法用户和一个窃听者,均配备一个射频接收天线和可见光通信接收天线;Step 33: Consider the scene where each LED is located as a circle with a fixed radius, where the projection of the LED light is located at the center of the circle. In this scene, it is set to include multiple legitimate users and one eavesdropper, all of which are equipped with a radio frequency receiving antenna and a visible light communication receiving antenna; 步骤34:设定存在一批非法窃听者在同一个地方试图窃听LED灯和合法的接收器之间的信息传输,并确立合法接收机和窃听装置采用光电二极管来进行数据通信,同时设定合法的接收者位置满足在圆内的均匀分布;Step 34: It is assumed that there are a group of illegal eavesdroppers who attempt to eavesdrop on the information transmission between the LED light and the legal receiver in the same place, and it is established that the legal receiver and the eavesdropping device use photodiodes for data communication, and at the same time, the legal receiver positions are set to meet the uniform distribution within the circle; 步骤35:其中异构网络采用并行射频与可见光通信混合模型,即射频和可见光通信接入点均同时向用户传输保密信息,所有用户和窃听者具有聚合信息的能力,即可以聚合来自射频接入点和可见光通信接入点的信息;Step 35: The heterogeneous network adopts a parallel RF and VLC hybrid model, that is, both RF and VLC access points transmit confidential information to users at the same time, and all users and eavesdroppers have the ability to aggregate information, that is, they can aggregate information from RF access points and VLC access points; 步骤36:设定每个合法用户为潜在的内部窃听,当判断该异构网络中存在窃听者时,同步判断是否窃听发送端传输给多合法用户的信息。Step 36: Set each legitimate user as a potential internal eavesdropper. When it is determined that there is an eavesdropper in the heterogeneous network, synchronously determine whether to eavesdrop on the information transmitted by the sender to multiple legitimate users. 5.根据权利要求4所述的一种基于传感器的安全性能测试方法,其特征在于:所述进行模拟仿真判断的步骤,包括:5. A sensor-based safety performance testing method according to claim 4, characterized in that: the step of performing simulation judgment comprises: 当判断该异构网络中存在窃听者时,同步存在发送端传输给多合法用户的信息被窃听时,采用迫零波束形成技术在多用户下射频与可见光通信异构网络中进行模拟仿真,测试利用波束形成技术在窃听信道中是否使窃听者接收到的信号降低为零,如果是,则表示迫零波束形成技术可以保证系统中的内部窃听和外部窃听的安全问题,防止合法用户的保密信息泄露给其他合法用户和窃听者。When it is determined that there is an eavesdropper in the heterogeneous network, and when the information transmitted by the transmitter to multiple legitimate users is eavesdropped, the zero-forcing beamforming technology is used to perform simulation in the RF and visible light communication heterogeneous network with multiple users to test whether the beamforming technology can reduce the signal received by the eavesdropper to zero in the eavesdropping channel. If so, it means that the zero-forcing beamforming technology can ensure the security of internal and external eavesdropping in the system, and prevent the confidential information of legitimate users from being leaked to other legitimate users and eavesdroppers. 6.根据权利要求5所述的一种基于传感器的安全性能测试方法,其特征在于:所述优化可见光功率分布从物理层保护家居室内的可见光通信安全的步骤,包括:6. A sensor-based safety performance testing method according to claim 5, characterized in that: the step of optimizing visible light power distribution to protect the visible light communication security in the home from the physical layer comprises: 针对不同的LED阵列和优化算法相关设置不同的参数,并设置目标接收机的位置,利用优化算法设置一个功率调节因子向量;Different parameters are set for different LED arrays and optimization algorithms, and the location of the target receiver is set, and a power adjustment factor vector is set using the optimization algorithm; 计算通过调节因子调节后的LED阵列在每一个接收机处叠加得到的直射信道增益,并转换为接收光功率;Calculate the direct channel gain obtained by superimposing the LED array adjusted by the adjustment factor at each receiver and convert it into received optical power; 分析计算出安全区域内直射信道增益绝对值最大的点,记录其直射信道增益,将安全区域内直射信道增益绝对值最大的点的直射信道增益的绝对值与接收机的直射信道增益的绝对值进行做差,并将其保存为适应度值返回给优化算法;Analyze and calculate the point with the largest absolute value of direct channel gain in the safe area, record its direct channel gain, subtract the absolute value of the direct channel gain of the point with the largest absolute value of direct channel gain in the safe area from the absolute value of the direct channel gain of the receiver, save it as the fitness value and return it to the optimization algorithm; 采用由节点定时或接收某些信号发出密钥更新提示和一次性密码本,合法用户接收提示和一次性密码本,并将其发回确认,然后一起更换一次性密码本继续通信的新密钥加密模式,节点LED将产生新的一个密钥并进入密钥更新阶段,完成与合法用户的密钥交换,然后开始下一次信息传输。The node sends out key update prompts and one-time passwords at regular intervals or after receiving certain signals. The legitimate user receives the prompts and one-time passwords and sends them back for confirmation. Then the one-time password is replaced together to continue communication under the new key encryption mode. The node LED will generate a new key and enter the key update phase, complete the key exchange with the legitimate user, and then start the next information transmission. 7.执行如权利要求1所述的一种基于传感器的安全性能测试方法的安全性能测试系统,其特征在于:所述该系统包括:7. A safety performance testing system for executing the sensor-based safety performance testing method according to claim 1, characterized in that the system comprises: 可见光通信单元,用于针对可见光通信系统进行建立仿真;A visible light communication unit, used to establish simulation for a visible light communication system; 性能测试单元,用于测试可见光通信系统的室内定位性能和安全性能;Performance test unit, used to test the indoor positioning performance and safety performance of the visible light communication system; 通信安全优化单元,用于基于分析判断结果优化可见光通信过程中的安全性能。The communication security optimization unit is used to optimize the security performance in the visible light communication process based on the analysis and judgment results. 8.根据权利要求7所述的安全性能测试系统,其特征在于:所述可见光通信单元包括:8. The safety performance testing system according to claim 7, characterized in that: the visible light communication unit comprises: 模拟模型搭建模块,用于搭建可见光通信系统的模拟模型以测试全通信区域的通信功能;A simulation model building module is used to build a simulation model of a visible light communication system to test the communication function of the entire communication area; 应用场景设定模块,用于设定可见光通信系统的应用场景为智能家居领域;An application scenario setting module, used to set the application scenario of the visible light communication system to the field of smart home; 信道及安全特性分析模块,用于分析搭载数据的光信号进行传输形成可见光通信的信道的特性和通信安全特性。The channel and security characteristics analysis module is used to analyze the characteristics of the channel and communication security characteristics of the optical signal carrying data for transmission to form visible light communication. 9.根据权利要求8所述的安全性能测试系统,其特征在于:所述性能测试单元包括:9. The safety performance testing system according to claim 8, characterized in that: the performance testing unit comprises: 图像传感器模块,用于将光线通过镜头聚集到感光传感器上并将光信号转换为模拟信号;An image sensor module, which is used to focus light through a lens onto a photosensitive sensor and convert the light signal into an analog signal; 仿真测试运行模块,用于通过加入图像传感器的倾斜角度进行仿真测试运行;A simulation test running module, used for performing simulation test running by adding a tilt angle of the image sensor; 安全架构测试模块,用于建立基于智能家居环境下的室内可见光通信系统的物理层安全架构测试;Security architecture test module, used to establish physical layer security architecture test of indoor visible light communication system in smart home environment; 异构传输网络建立模块,用于建立针对基于家居室内多输入单输出的下行可见光通信异构传输网络。The heterogeneous transmission network establishment module is used to establish a heterogeneous transmission network for downlink visible light communication based on multiple inputs and single outputs in the home. 10.根据权利要求9所述的安全性能测试系统,其特征在于:所述通信安全优化单元包括:10. The safety performance testing system according to claim 9, characterized in that: the communication security optimization unit comprises: 迫零波束形成模块,用于采用迫零波束形成技术在多用户下射频与可见光通信异构网络中进行模拟仿真;Zero-forcing beamforming module, used to simulate and emulate the use of zero-forcing beamforming technology in multi-user RF and visible light communication heterogeneous networks; 模拟仿真判断模块,用于测试判断波束形成技术在窃听信道中是否使窃听者接收到的信号降低为零;A simulation judgment module is used to test and judge whether the beamforming technology reduces the signal received by the eavesdropper to zero in the eavesdropping channel; 信道特点分析模块,用于计算通过调节因子调节后的LED阵列在每一个接收机处叠加得到的直射信道增益特点;A channel characteristic analysis module is used to calculate the direct channel gain characteristic obtained by superimposing the LED array adjusted by the adjustment factor at each receiver; 通信安全保障模块,用于保障用户在可见光通信中安全获取下发密钥信息。The communication security assurance module is used to ensure that users can safely obtain and send key information in visible light communication.
CN202410274580.7A 2024-03-11 2024-03-11 Safety performance testing method based on sensor Active CN118316520B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202411594344.XA CN119766322A (en) 2024-03-11 2024-03-11 Safety performance testing method based on sensor
CN202410274580.7A CN118316520B (en) 2024-03-11 2024-03-11 Safety performance testing method based on sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410274580.7A CN118316520B (en) 2024-03-11 2024-03-11 Safety performance testing method based on sensor

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202411594344.XA Division CN119766322A (en) 2024-03-11 2024-03-11 Safety performance testing method based on sensor

Publications (2)

Publication Number Publication Date
CN118316520A true CN118316520A (en) 2024-07-09
CN118316520B CN118316520B (en) 2024-12-03

Family

ID=91721236

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202410274580.7A Active CN118316520B (en) 2024-03-11 2024-03-11 Safety performance testing method based on sensor
CN202411594344.XA Pending CN119766322A (en) 2024-03-11 2024-03-11 Safety performance testing method based on sensor

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202411594344.XA Pending CN119766322A (en) 2024-03-11 2024-03-11 Safety performance testing method based on sensor

Country Status (1)

Country Link
CN (2) CN118316520B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160249164A1 (en) * 2015-02-25 2016-08-25 Qualcomm Incorporated Techniques for use in determining a position using visible light communication
CN108572348A (en) * 2018-06-06 2018-09-25 华南理工大学 A kind of indoor visible light vision positioning method and its hardware system
CN111555804A (en) * 2020-05-15 2020-08-18 桂林电子科技大学 Visible light communication security enhancement method for mobile user
CN112929085A (en) * 2021-02-09 2021-06-08 新疆大学 Secret visible light wireless space zero forcing method based on combined beam
CN113541793A (en) * 2021-07-14 2021-10-22 桂林电子科技大学 A Multi-User-Oriented VLC/RF Hybrid Network Security Enhancement Method
CN115694662A (en) * 2022-10-21 2023-02-03 桂林电子科技大学 A VLC and RF hybrid network security transmission method assisted by an intelligent reflective surface
CN116455480A (en) * 2023-05-22 2023-07-18 桂林电子科技大学 Safe transmission method of indoor hybrid PLC/VLC network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160249164A1 (en) * 2015-02-25 2016-08-25 Qualcomm Incorporated Techniques for use in determining a position using visible light communication
CN108572348A (en) * 2018-06-06 2018-09-25 华南理工大学 A kind of indoor visible light vision positioning method and its hardware system
CN111555804A (en) * 2020-05-15 2020-08-18 桂林电子科技大学 Visible light communication security enhancement method for mobile user
CN112929085A (en) * 2021-02-09 2021-06-08 新疆大学 Secret visible light wireless space zero forcing method based on combined beam
CN113541793A (en) * 2021-07-14 2021-10-22 桂林电子科技大学 A Multi-User-Oriented VLC/RF Hybrid Network Security Enhancement Method
CN115694662A (en) * 2022-10-21 2023-02-03 桂林电子科技大学 A VLC and RF hybrid network security transmission method assisted by an intelligent reflective surface
CN116455480A (en) * 2023-05-22 2023-07-18 桂林电子科技大学 Safe transmission method of indoor hybrid PLC/VLC network

Also Published As

Publication number Publication date
CN118316520B (en) 2024-12-03
CN119766322A (en) 2025-04-04

Similar Documents

Publication Publication Date Title
Qian et al. Secure visible light communications via intelligent reflecting surfaces
Sharma et al. Optimal LED deployment for mobile indoor visible light communication system: Performance analysis
Soderi et al. VLC physical layer security through RIS-aided jamming receiver for 6G wireless networks
Merdan et al. Non-line of sight visible light communications: A technical and application based survey
Saxena et al. Secured end-to-end FSO-VLC-based IoT network with randomly positioned VLC: Known and unknown CSI
WO2023040228A1 (en) Visible light positioning assisted multi-user light communication system and method
Chowdhury et al. Cooperative multihop connectivity performance in visible light communications
Beysens et al. Exploiting blockage in VLC networks through user rotations
Ozyurt et al. Energy and spectral efficiency of multi-tier LiFi networks
CN118316520A (en) Safety performance testing method based on sensor
US20240243809A1 (en) Optical wireless communication method and device
CN112953635A (en) Secret visible light wireless link construction method based on heterogeneous artificial noise source
Mohammadi et al. Physical layer security enhancement in VLC using zero-forcing beamforming and optimized LED placement
US12199668B2 (en) Receiving system for high speed and large coverage optical wireless communication
Eso et al. Performance analysis of indoor vehicular VLC links for autonomous driving
CN108923854B (en) Method for determining and resisting unsafe zone of indoor visible light communication
Lam et al. Angle diversity to increase coverage and position accuracy in 3D visible light positioning
Blinowski The feasibility of launching physical layer attacks in visible light communication networks
US20240259097A1 (en) A sectorizatiion technique for high-speed optical wireless communication
CN114145041A (en) System and method for handover in optical wireless communication networks
Bera et al. Coverage improvement of visible light communications using an engineered diffuser
CN119363247B (en) Wireless optical communication system and method based on full-digital reconfigurable intelligent super surface
Mustika et al. Analysis of Transmitter Half Angle and FOV Variations on Multiplexing Indoor Li-Fi Communication
Nabavi et al. A multi-led dome bulb prototype for dense visible light communication networks
Ramkumar et al. VLC: A Robust and Highly Secured Data Communication Service Establishment Using Visual Light enabled LiFi Technology

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20241111

Address after: 2nd Floor, 158 Shuanglian Road, Qingpu District, Shanghai

Applicant after: Shanghai Xuanjie Intelligent Technology Co.,Ltd.

Country or region after: China

Address before: Room 201, Building B, South Zone, Qianjiang Fangzhou Community, Huanghai Street, Yannan High tech Zone, Yancheng City, Jiangsu Province, 224000

Applicant before: Yancheng Yuzhong Technology Information Co.,Ltd.

Country or region before: China

GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 610000 Sichuan Province Chengdu City Chengdu Chongzhou Economic Development Zone Chenxi Avenue No. 238

Patentee after: Sichuan Xuanjie Intelligent Technology Co., Ltd.

Country or region after: China

Address before: 2nd Floor, 158 Shuanglian Road, Qingpu District, Shanghai

Patentee before: Shanghai Xuanjie Intelligent Technology Co.,Ltd.

Country or region before: China