CN110138447B - Signal light source detection method, device and equipment applied to wireless optical communication - Google Patents

Signal light source detection method, device and equipment applied to wireless optical communication Download PDF

Info

Publication number
CN110138447B
CN110138447B CN201910207124.XA CN201910207124A CN110138447B CN 110138447 B CN110138447 B CN 110138447B CN 201910207124 A CN201910207124 A CN 201910207124A CN 110138447 B CN110138447 B CN 110138447B
Authority
CN
China
Prior art keywords
light source
signal light
parameter
signal
determining
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
CN201910207124.XA
Other languages
Chinese (zh)
Other versions
CN110138447A (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.)
Xidian University
Original Assignee
Xidian 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 Xidian University filed Critical Xidian University
Priority to CN201910207124.XA priority Critical patent/CN110138447B/en
Publication of CN110138447A publication Critical patent/CN110138447A/en
Application granted granted Critical
Publication of CN110138447B publication Critical patent/CN110138447B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/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
    • 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/0793Network aspects, e.g. central monitoring of transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Landscapes

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

Abstract

The embodiment of the invention provides a signal light source detection method, a signal light source detection device and signal light source detection equipment applied to wireless optical communication. The invention provides a signal light source detection method applied to wireless optical communication, which comprises the steps of determining the change rule of parameters according to the acquired parameters of optical signals emitted by a light source to be detected; determining whether the light source to be detected is a signal light source or not according to the change rule of the parameters; and if the light source to be detected is a signal light source, determining whether the signal light source works normally according to the parameters of the optical signal. The method can quickly locate the signal light source in the wireless optical communication, detect whether the signal light source works normally or not, and can also screen unknown interception light source equipment, so that the signal light source can be replaced or maintained in time, and the accuracy, the integrity and the safety of the transmission data of the signal light source are ensured.

Description

Signal light source detection method, device and equipment applied to wireless optical communication
Technical Field
The invention relates to the technical field of wireless optical communication, in particular to a signal light source detection method, a signal light source detection device and signal light source detection equipment applied to wireless optical communication.
Background
In recent years, with the development of wireless optical communication technology, especially visible light communication technology, and the maturity and perfection of solid lighting technology such as light Emitting Diode (L light Emitting Diode, L ED), wireless optical signals are receiving more and more attention due to their advantages and characteristics, such as universality, no electromagnetic interference, no spectrum permission, and the like.
The signal light source is a kind of light source, which may not be much different in appearance from a general light source. The signal light source is lost in the using process and has limited service life. In each application scenario of wireless optical communication, the loss of the signal light source will affect the accuracy and integrity of the transmission data of the signal light source.
Therefore, it is necessary to detect the light source to determine whether the signal light source therein is working normally, and to replace or repair the signal light source.
Disclosure of Invention
The invention provides a signal light source detection method, a signal light source detection device and signal light source detection equipment applied to wireless optical communication.
The invention provides a signal light source detection method applied to wireless optical communication, which comprises the following steps:
determining the change rule of the parameters according to the acquired parameters of the optical signals emitted by the light source to be detected;
determining whether the light source to be detected is a signal light source or not according to the change rule of the parameter;
and if the light source to be detected is a signal light source, determining whether the signal light source works normally according to the parameter.
Optionally, determining whether the light source to be detected is a signal light source according to a variation rule of the parameter includes:
matching with at least one preset modulation mode stored in a database according to the change rule of the parameter; wherein each modulation mode corresponds to the change rule of at least one parameter;
if the change rule of at least one parameter exists in the parameters and is matched with the modulation mode in the database, determining that the light source to be detected is a signal light source;
otherwise, if the change rule of each parameter in the parameters is not matched with the modulation mode in the database, determining that the light source to be detected is a non-signal light source.
Optionally, the determining whether the signal light source normally operates according to the parameter includes:
comparing the parameter of at least one detection position in the preset coverage area of the signal light source with a preset parameter threshold;
and determining whether the signal light source works normally according to the comparison result of the parameter and the parameter threshold.
Optionally, the determining whether the signal light source normally operates according to the comparison result between the parameter and the parameter threshold includes:
determining the coverage range of the signal light source according to the detection position of the parameter larger than the parameter threshold value in the preset coverage range;
comparing the difference value between the coverage range of the signal light source and the preset coverage range with a preset range change threshold value;
if the difference is larger than or equal to the range change threshold, determining that the signal light source does not work normally;
otherwise, if the difference is smaller than the range change threshold, the signal light source is determined to work normally.
Optionally, the method further includes:
and determining the data transmission rate of the signal light source according to the change rule of the parameter.
Optionally, the parameter includes at least one of the following parameters: the intensity of the optical signal, the frequency of change in the intensity of the optical signal, the phase of the optical signal, and the hue of the optical signal.
The invention provides a signal light source detection device, comprising:
the first determining module is used for determining the change rule of the parameter according to the acquired parameter of the optical signal emitted by the light source to be detected;
the second determining module is used for determining whether the light source to be detected is a signal light source or not according to the change rule of the parameter;
and the third determining module is used for determining whether the signal light source works normally or not according to the parameter if the light source to be detected is the signal light source.
Optionally, the second determining module may specifically include:
the matching unit is used for matching with at least one preset modulation mode stored in the database according to the change rule of the parameter; wherein each modulation mode corresponds to the change rule of at least one parameter;
the first determining subunit is used for determining that the light source to be detected is a signal light source if the change rule of at least one parameter exists in the parameters and is matched with the modulation mode in the database;
and the second determining subunit is used for determining that the light source to be detected is a non-signal light source if the change rule of each parameter in the parameters is not matched with the modulation mode in the database.
Optionally, the third determining module may be specifically configured to:
the first comparison unit is used for comparing the parameter of at least one detection position in the preset coverage area of the signal light source with a preset parameter threshold;
and the third determining subunit is used for determining whether the signal light source works normally or not according to the comparison result of the parameter and the parameter threshold.
Optionally, the third determining subunit includes:
the fourth determining subunit is configured to determine the coverage area of the signal light source according to the detection position where the parameter is greater than the parameter threshold within the preset coverage area;
the second comparison unit is used for comparing the difference value between the coverage range of the signal light source and the preset coverage range with a preset range change threshold value;
a fifth determining subunit, configured to determine that the signal light source does not normally operate if the difference is greater than or equal to the range change threshold;
and the sixth determining subunit is used for determining that the signal light source works normally if the difference value is smaller than the range change threshold.
Optionally, the signal light source detection device further includes:
and the fourth determining module is used for determining the data transmission rate of the signal light source according to the change rule of the parameter.
Optionally, the signal light source detection device further includes:
the display module is used for displaying the detection result of the light source to be detected, and the detection result comprises at least one of the following information: whether the light source to be detected is a signal light source, whether the signal light source works normally or not, and the data transmission rate of the signal light source.
Optionally, the parameter includes at least one of the following parameters: the intensity of the optical signal, the frequency of change in the intensity of the optical signal, the phase of the optical signal, and the hue of the optical signal.
The present invention provides a signal light source detection device, including: a sensor and a processor; the sensor is connected with the processor;
the sensor is used for acquiring an optical signal emitted by a light source to be detected;
the processor is used for processing the optical signal to obtain a parameter of the optical signal, and determining a change rule of the parameter according to the obtained parameter of the optical signal emitted by the light source to be detected; determining whether the light source to be detected is a signal light source or not according to the change rule of the parameter; and if the light source to be detected is a signal light source, determining whether the signal light source works normally according to the parameter.
Optionally, the processor is further configured to determine a data transmission rate of the signal light source according to a variation rule of the parameter.
Optionally, the processor is further configured to match the at least one preset modulation mode stored in the database according to the change rule of the parameter; wherein each modulation mode corresponds to the change rule of at least one parameter; if the change rule of at least one parameter exists in the parameters and is matched with the modulation mode in the database, determining that the light source to be detected is a signal light source; and if the change rule of each parameter in the parameters is not matched with the modulation mode in the database, determining that the light source to be detected is a non-signal light source.
Optionally, the processor is further configured to compare the parameter of at least one detection position in a preset coverage area of the signal light source with a preset parameter threshold; and determining whether the signal light source works normally according to the comparison result of the parameter and the parameter threshold.
Optionally, the processor is further configured to determine a coverage area of the signal light source according to a detection position in the preset coverage area where the parameter is greater than the parameter threshold; comparing the difference value between the coverage range of the signal light source and the preset coverage range with a preset range change threshold value; if the difference is larger than or equal to the range change threshold, determining that the signal light source does not work normally; and if the difference value is smaller than the range change threshold value, determining that the signal light source works normally.
Optionally, the signal light source detection device further includes: a display device; the display device is connected with the processor;
the display device is used for displaying the detection result of the light source to be detected, and the detection result comprises at least one of the following information: whether the light source to be detected is a signal light source, whether the signal light source works normally or not, and the data transmission rate of the signal light source.
The invention provides a signal light source detection method, a signal light source detection device and signal light source detection equipment applied to wireless optical communication. The signal light source detection method applied to the wireless optical communication comprises the steps of determining the change rule of parameters according to the acquired parameters of optical signals emitted by a light source to be detected; determining whether the light source to be detected is a signal light source or not according to the change rule of the parameter; and if the light source to be detected is the signal light source, determining whether the signal light source works normally according to the parameter. The method comprises the steps of determining parameters of an optical signal and a change rule of the parameters through the acquired optical signal of the light source to be detected, further identifying the signal light source according to the change rule of the parameters, and determining whether the signal light source works normally or not according to the parameters. Therefore, the signal light source can be replaced or maintained in time under the condition that the signal light source is determined not to work normally, and the accuracy, the integrity and the safety of the signal light source transmission data are guaranteed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a first flowchart of a signal light source detection method applied to wireless optical communication according to the present invention;
FIG. 2 is a second flowchart of a signal light source detection method applied to wireless optical communication according to the present invention;
fig. 3 is a third flowchart of the signal light source detection method applied to wireless optical communication according to the present invention;
FIG. 4 is a fourth flowchart of a signal light source detection method applied to wireless optical communication according to the present invention;
FIG. 5 is a schematic structural diagram of a signal light source detection device applied to wireless optical communication according to the present invention;
fig. 6 is a first schematic structural diagram of a signal light source detection device applied to wireless optical communication according to the present invention;
fig. 7 is a schematic structural diagram of a signal light source detection device applied to wireless optical communication according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As a new communication technology, the wireless optical communication technology has the advantages of both optical fiber communication and mobile communication, and thus is widely used in various fields. For example, wireless optical communication can be used for vehicle positioning, and in this scene, the signal light source carrying the position broadcast data may be an illumination light source and an indication light source of an outdoor environment, such as an illumination street lamp, a traffic indicator light and an electronic billboard, and may also be a head lamp, a tail lamp, a turn light and a decorative lamp of an automobile. For another example, the wireless optical communication may also be applied to face-to-face data transmission of a terminal device, and in this scenario, the signal light source carrying the data to be transmitted may be a screen light source or a flash light of the terminal device. For another example, the wireless optical communication may also be applied to a hospital or a school, and the like, and is used for transmitting data through an existing lighting lamp of the hospital or the school, for example, broadcasting number calling information of the hospital or broadcasting schedule information of students, and the like.
On the other hand, since there are a large number of light sources in various places and there is no great difference in appearance between the signal light source and the common light source, the wireless optical communication technology is also applied to monitoring at present, that is, the light sources in various places are used as carriers to transmit monitored data, and a receiver only needs to receive optical signals sent by the light sources to obtain the monitored data. The light source used to transmit the listening data may also be referred to as a listening light source device.
The invention provides a signal light source detection method applied to wireless optical communication, which is used for detecting a signal light source to determine whether the signal light source normally works or not, or determine whether the signal light source is unknown interception light source equipment or not. The signal light source detection method can be realized by the signal light source detection equipment in a software and/or hardware mode. The signal light source detection method is described below with reference to specific embodiments.
Fig. 1 is a first flowchart of a signal light source detection method applied to wireless optical communication according to the present invention. As shown in fig. 1, the signal light source detection method applied to wireless optical communication includes:
s101, determining a change rule of the parameter according to the acquired parameter of the optical signal emitted by the light source to be detected.
In this embodiment, the light source to be detected is a light source which generates an optical signal and needs to be detected, for example, the light source to be detected may be a light source which generates visible light such as L ED, or may also be a light source which generates invisible light such as infrared rays, ultraviolet rays, and the like, and accordingly, the optical signal may be a visible light signal or an invisible light signal.
And acquiring an optical signal emitted by the light source to be detected in the preset time period, and determining the parameter of the acquired optical signal through analyzing the optical signal. For example, the parameters may include at least one of the following: intensity of the optical signal, frequency of change in intensity of the optical signal, phase of the optical signal, and hue of the optical signal. The intensity of the optical signal is the luminous intensity of the light source and can represent the brightness of light; the intensity change frequency of the optical signal may represent the frequency of the light-dark change; the phase of the optical signal is the integral of the intensity change frequency of the optical signal; the color phase of the optical signal is a color appearance of light, and can be determined according to brightness values of three-color signals, i.e., Red, Green, Blue (RGB) signals in the optical signal.
Since the parameters of the acquired optical signal may change with time, the change rule of the parameters can be determined according to the acquired parameters. For example, the light source to be measured is changed to be bright or dark, that is, the intensity of the optical signal is increased or decreased, and the law of the increase or decrease of the intensity of the optical signal can be determined according to the value of the intensity of the optical signal. Similarly, the speed of the light source to be measured changing light or light may also change, that is, the intensity change frequency of the optical signal changes, so that the phase of the corresponding optical signal changes; the color of the light emitted by the light source to be measured may also change, i.e., the brightness value of the color in the hue of the optical signal may change. And determining the change rule of each parameter according to the obtained value of each parameter.
And S102, determining whether the light source to be detected is a signal light source or not according to the change rule of the parameter.
In various scenes of wireless optical communication applications, signal light sources used in wireless optical communication are generally light sources existing in various scenes, such as street lamps, indoor lighting lamps, and the like, so when detecting a light source to be detected, it is first required to determine whether the light source to be detected is a signal light source carrying wireless optical communication data or a common light source not carrying wireless optical communication data.
The optical signal of the signal light source bears specific wireless optical communication data, and the wireless optical communication data can be transmitted only when the parameter of the optical signal has a certain change rule. Therefore, whether the light source to be detected is a signal light source can be determined by analyzing the change rule of the parameters.
S103, if the light source to be detected is a signal light source, determining whether the signal light source works normally according to the parameter.
If the light source to be measured is a signal light source, that is, the light source to be measured is a light source carrying wireless optical communication data, in order to determine whether the signal light source can meet the requirements of accuracy and integrity of data transmission of wireless optical communication, it is necessary to further determine whether the signal light source normally operates according to the obtained parameters. For example, in an application scenario of vehicle positioning through wireless optical communication, if data transmitted by an optical signal emitted by a signal light source may be lost or erroneous, the positioning result is inaccurate, that is, the signal light source does not work normally. Or, if the signal light source has a fault, data transmitted by the signal light source may be maliciously stolen or leaked, which also indicates that the signal light source does not work normally. The parameters of the signal light source when the signal light source does not work normally are different from the parameters of the signal light source when the signal light source works normally, so that whether the signal light source works normally can be determined through the parameters.
The signal light source detection method applied to the wireless optical communication provided by the embodiment includes determining a change rule of a parameter according to the acquired parameter of an optical signal emitted by a light source to be detected; determining whether the light source to be detected is a signal light source or not according to the change rule of the parameter; and if the light source to be detected is the signal light source, determining whether the signal light source works normally according to the parameter. The method comprises the steps of determining parameters of an optical signal and a change rule of the parameters through the acquired optical signal of the light source to be detected, further identifying the signal light source according to the change rule of the parameters, and determining whether the signal light source works normally or not according to the parameters. Therefore, the signal light source can be replaced or maintained in time under the condition that the signal light source is determined not to work normally, and the accuracy and the integrity of the data transmitted by the signal light source are ensured.
In another application scenario, the signal light source may be used as an intercepting light source device to transmit intercepting data, and the signal light source used as the intercepting light source device also has corresponding parameters. For any one location, if there are known intercepting light source devices in the location, e.g. known intercepting light source devices provided for security monitoring purposes, the parameters of these known intercepting light source devices are also known. When the light source to be detected is a signal light source, it can be further determined whether the signal light source is an unknown intercepting light source device, for example, an intercepting light source device illegally configured for the purpose of stealing information, according to the parameter of the signal light source. The parameters of the signal light source can be matched with the parameters of the known interception light source device, and if the parameters of the signal light source cannot be matched with the parameters of the known interception light source device, the signal light source can be determined as the unknown interception light source device.
According to the method, whether the signal light source is the unknown interception light source device is determined according to the parameters of the optical signal, so that corresponding measures can be taken for the unknown interception light source device, for example, a chip used for transmitting interception data in the unknown interception light source device is removed, the unknown interception light source device is replaced, and the like, so that data is prevented from being stolen maliciously, and the safety of the signal light source for transmitting data is ensured.
On the basis of the embodiment shown in fig. 1, the determination of whether the light source to be measured is a signal light source according to the change rule of the parameter in S102 in fig. 1 can be exemplified by way of example. Fig. 2 is a second flowchart of the signal light source detection method applied to wireless optical communication according to the present invention. As shown in fig. 2, the determining whether the light source to be measured is a signal light source according to the variation rule of the parameter in the step S102 may include:
s201, matching with at least one preset modulation mode stored in a database according to the change rule of the parameters; wherein each modulation mode corresponds to the change rule of at least one parameter.
Specifically, in various application scenarios of wireless optical communication, different modulation schemes are generally used to process the optical signal of the signal light source to transmit wireless optical communication data. For example, the modulation scheme used in the wireless optical communication application may be on-off keying, pulse position modulation, differential pulse position modulation, digital pulse interval modulation, and the like. Each modulation mode corresponds to the change rule of at least one parameter. In practical applications, at least one preset modulation mode may be stored in a database, where the database may be a database that the signal light source detection device has, or a database of another source connected to the signal light source detection device, such as a database in a network, which is not limited in the present invention. The modulation modes and/or the change rules of the parameters corresponding to the modulation modes stored in the database can be updated according to a preset update cycle, and can also be updated according to the input configuration change information. In the method, the change rule of the acquired parameters of the optical signal can be matched with the modulation mode stored in the database, and then whether the light source to be detected is a signal light source or not is determined.
The above mentioned matching with at least one modulation mode in the database according to the variation rule of the parameter may include: determining whether the change rule of at least one parameter corresponding to each modulation mode in the database comprises the change rule of the parameter; if yes, determining that the change rule of the parameter is matched with the modulation mode in the database; otherwise, if not, the change rule of the parameter can be determined not to be matched with the modulation mode in the database.
S202, if the change rule of at least one parameter exists in the parameters and is matched with the modulation mode in the database, determining that the light source to be detected is a signal light source.
S203, if the change rule of each parameter in the parameters is not matched with the modulation mode stored in the database, determining that the light source to be detected is a non-signal light source.
And after the change rule of the parameters is matched with the modulation mode stored in the database, determining whether the light source to be detected is a signal light source according to a matching result. For example, the parameters of the acquired optical signal are the intensity of the optical signal and the hue of the optical signal, and if the rule that the intensity of the optical signal is increased or decreased is matched with the change rule corresponding to one modulation mode stored in the database, the light source to be detected is determined to be a signal light source; and if the intensity of the optical signal and the change rule of the hue of the optical signal are not matched with the modulation mode stored in the database, determining that the light source to be detected is a non-signal light source, wherein the non-signal light source is a common light source which does not bear wireless optical communication data.
According to the embodiment, whether the light source to be detected is the signal light source or not is determined according to the change rule of the parameters and the matching result of the preset modulation mode, so that the signal light source can be effectively identified, and whether the signal light source normally works or not can be further detected.
Based on the embodiment shown in fig. 1, by way of example, if the light source to be measured in S103 in fig. 1 is a signal light source, determining whether the signal light source normally operates according to the parameter will be described in detail. Fig. 3 is a third flowchart of the signal light source detection method applied to wireless optical communication according to the present invention. As shown in fig. 3, if the light source to be measured is a signal light source in S103, determining whether the signal light source normally operates according to the parameter may include:
s301, comparing the parameter of at least one detection position in the preset coverage area of the signal light source with a preset parameter threshold value.
The preset coverage area of the signal light source can be set according to actual conditions, for example, the preset coverage area can be determined according to the transmission distance of data, or the preset coverage area can be determined according to the light irradiation range of the signal light source, and the preset coverage area is an area where wireless optical communication data can be accurately transmitted.
When the signal light source is detected, the optical signals of different detection positions of a preset coverage area can be acquired, the parameter of each detection position is determined, the parameter of at least one detection position is compared with a preset parameter threshold, and the preset parameter threshold can be a value which can meet the requirement of accurate transmission of wireless optical communication data and is determined according to actual conditions, for example, the value can be determined according to the type of the signal light source, the use scene of the signal light source and the like.
S302, determining whether the signal light source works normally according to the comparison result of the parameter and the parameter threshold.
And comparing the parameter with a parameter threshold value, determining a comparison result, and determining whether the signal light source works normally according to the comparison result. For example, when the parameter is the intensity of the optical signal, and the comparison result of the intensity of the optical signal and the parameter threshold is that the intensity of the optical signal is greater than or equal to the parameter threshold, it is determined that the signal light source normally works; and when the intensity of the optical signal is smaller than the parameter threshold value as a result of comparing the intensity of the optical signal with the parameter threshold value, determining that the signal light source does not work normally. The corresponding relation between the comparison result of each parameter and the parameter threshold and whether the signal light source works normally can be determined according to the actual situation.
According to the embodiment, whether the signal light source normally works or not is determined according to the comparison result of the parameter of the at least one detection position in the preset coverage area and the preset threshold, the signal light source which does not normally work can be accurately identified, the signal light source can be conveniently replaced or maintained in time, the accuracy and the integrity of data transmission of the signal light source are guaranteed, and data can be prevented from being stolen maliciously.
In another implementation, the determination of whether the signal light source is operating normally according to the comparison result of the parameter and the parameter threshold in S302 in fig. 3 can be exemplified by way of example. Fig. 4 is a fourth flowchart of the signal light source detection method applied to wireless optical communication according to the present invention. As shown in fig. 4, the determining whether the signal light source normally operates according to the comparison result of the parameter and the parameter threshold in S302 may include:
s401, determining the coverage area of the signal light source according to the detection position of the parameter larger than the parameter threshold value in the preset coverage area.
And if the parameter of one detection position is larger than the parameter threshold, determining that the coverage area of the signal light source comprises the detection position. And determining the coverage range of the signal light source according to all detection positions in the preset coverage range, wherein the detection positions meet the condition that the parameter is larger than the parameter threshold value. For example, if there are a plurality of detection positions satisfying that the parameter is greater than the parameter threshold, a spatial region surrounded by the plurality of detection positions is determined as the coverage area of the signal light source.
S402, comparing the difference value between the coverage range of the signal light source and the preset coverage range with a preset range change threshold value.
And S403, if the difference value is larger than or equal to the range change threshold value, determining that the signal light source does not normally work.
And S404, if the difference value is smaller than the range change threshold value, determining that the signal light source works normally.
Determining a difference value between the coverage area of the signal light source and a preset coverage area, and comparing the difference value with a preset range change threshold value, where the preset range change threshold value may be a value set according to the requirement of an actual application scene. If the difference is greater than or equal to the range change threshold, the difference between the coverage range of the signal light source and the preset coverage range is too large, which indicates that the attenuation of the coverage range of the signal light source is large, the complete and accurate transmission of the wireless optical communication data cannot be ensured, and the signal light source can be determined to be not normally operated; if the difference value is smaller than the range change threshold value, the difference between the coverage range of the signal light source and the preset coverage range is smaller or equal, the attenuation of the coverage range of the signal light source can be determined to be smaller, the complete and accurate transmission of data in wireless optical communication can be ensured, and the signal light source can be determined to work normally.
The signal light source detection method applied to the wireless optical communication provided by the embodiment determines the coverage area of the signal light source through the comparison result of the parameter of at least one detection position and the parameter threshold, and determines whether the signal light source normally works or not through the comparison of the difference value between the coverage area and the preset range change threshold, so that the accuracy of the detection result is improved.
Optionally, on the basis of any of the above embodiments, the signal light source detection method applied to wireless optical communication provided by the present invention may further include:
and determining the data transmission rate of the signal light source according to the change rule of the parameter.
The transmission performance of the optical signal of the signal light source can be judged according to the data transmission rate.
Optionally, on the basis of any one of the above methods, the method for detecting a signal light source for wireless optical communication may further include:
displaying a detection result of the light source to be detected, wherein the detection result comprises at least one of the following information: whether the light source to be detected is a signal light source, whether the signal light source works normally or not, and the data transmission rate of the signal light source.
By the method, the detection result can be visually displayed, the detection result can be conveniently and timely obtained, the signal light source can be timely replaced or maintained, the accuracy and the integrity of the signal light source transmission data are guaranteed, and the data can be prevented from being maliciously stolen.
The invention provides a signal light source detection device applied to wireless optical communication. Fig. 5 is a schematic structural diagram of a signal light source detection device applied to wireless optical communication according to the present invention. As shown in fig. 5, the signal light source detection device 50 applied to wireless optical communication includes:
the first determining module 501 is configured to determine a change rule of a parameter according to the acquired parameter of the optical signal emitted by the light source to be measured.
The second determining module 502 is configured to determine whether the light source to be detected is a signal light source according to a variation rule of the parameter.
A third determining module 503, configured to determine whether the signal light source is working normally according to the parameter if the light source to be detected is the signal light source.
Optionally, the second determining module 502 may specifically include:
the matching unit is used for matching with at least one preset modulation mode stored in the database according to the change rule of the parameter; wherein each modulation mode corresponds to the change rule of at least one parameter;
the first determining subunit is used for determining that the light source to be detected is a signal light source if the change rule of at least one parameter exists in the parameters and is matched with the modulation mode in the database;
and the second determining subunit is used for determining that the light source to be detected is a non-signal light source if the change rule of each parameter in the parameters is not matched with the modulation mode in the database.
Optionally, the third determining module 503 may be specifically configured to:
the first comparison unit is used for comparing the parameter of at least one detection position in the preset coverage area of the signal light source with a preset parameter threshold;
and the third determining subunit is used for determining whether the signal light source works normally or not according to the comparison result of the parameter and the parameter threshold.
Optionally, the third determining subunit includes:
the fourth determining subunit is configured to determine the coverage area of the signal light source according to the detection position where the parameter is greater than the parameter threshold within the preset coverage area;
the second comparison unit is used for comparing the difference value between the coverage range of the signal light source and the preset coverage range with a preset range change threshold value;
a fifth determining subunit, configured to determine that the signal light source does not normally operate if the difference is greater than or equal to the range change threshold;
and the sixth determining subunit is used for determining that the signal light source works normally if the difference value is smaller than the range change threshold.
Optionally, the signal light source detection device 50 applied to wireless optical communication further includes:
and the fourth determining module is used for determining the data transmission rate of the signal light source according to the change rule of the parameter.
Optionally, the signal light source detection device 50 applied to wireless optical communication further includes:
the display module is used for displaying the detection result of the light source to be detected, and the detection result comprises at least one of the following information: whether the light source to be detected is a signal light source, whether the signal light source works normally or not, and the data transmission rate of the signal light source.
Optionally, the parameter includes at least one of the following parameters: the intensity of the optical signal, the frequency of change in the intensity of the optical signal, the phase of the optical signal, and the hue of the optical signal.
The signal light source detection device applied to wireless optical communication provided by this embodiment is used to execute the signal light source detection method applied to wireless optical communication in any embodiment of fig. 1 to 4, and the implementation principle and technical effect thereof are the same, and are not described herein again.
The present invention can also provide a signal light source detecting apparatus applied to wireless optical communication. Fig. 6 is a first schematic structural diagram of a signal light source detection device applied to wireless optical communication according to the present invention. As shown in fig. 6, the signal light source detecting device 60 applied to wireless optical communication includes: a sensor 601 and a processor 602; the sensor 601 is connected to the processor 602.
The sensor 601 is configured to acquire an optical signal emitted by a light source to be measured. The sensor 601 may be an optical signal sensor, and may specifically be composed of a photodiode and an image sensor. Among them, the image sensor may be a Complementary Metal Oxide Semiconductor (CMOS) image sensor. The sensor 601 may detect or sense optical signals within its field of view. The specific implementation of the sensor 601 is not specifically limited in the present invention.
The processor 602 is configured to process the optical signal to obtain a parameter of the optical signal, and determine a variation rule of the parameter according to the obtained parameter of the optical signal emitted by the light source to be detected; determining whether the light source to be detected is a signal light source or not according to the change rule of the parameter; and if the light source to be detected is a signal light source, determining whether the signal light source works normally according to the parameter. The processor 602 may be referred to as a data processor.
Optionally, the processor 602 is further configured to match the at least one preset modulation mode stored in the database according to the change rule of the parameter; wherein each modulation mode corresponds to the change rule of at least one parameter; if the change rule of at least one parameter exists in the parameters and is matched with the modulation mode in the database, determining that the light source to be detected is a signal light source; and if the change rule of each parameter in the parameters is not matched with the modulation mode in the database, determining that the light source to be detected is a non-signal light source.
Optionally, the processor 602 is further configured to compare the parameter of at least one detection position in the preset coverage area of the signal light source with a preset parameter threshold; and determining whether the signal light source works normally according to the comparison result of the parameter and the parameter threshold.
Optionally, the processor 602 is further configured to determine a coverage area of the signal light source according to the detection position in the preset coverage area where the parameter is greater than the parameter threshold; comparing the difference value between the coverage range of the signal light source and the preset coverage range with a preset range change threshold value; if the difference is larger than or equal to the range change threshold, determining that the signal light source does not work normally; and if the difference value is smaller than the range change threshold value, determining that the signal light source works normally.
Optionally, the parameter includes at least one of the following parameters: the intensity of the optical signal, the frequency of change in the intensity of the optical signal, the phase of the optical signal, and the hue of the optical signal.
The signal light source detection device applied to wireless optical communication provided by this embodiment is used to execute the signal light source detection method applied to wireless optical communication in the embodiments shown in fig. 1 to fig. 4, and the implementation principle and the technical effect are the same, and are not described herein again.
Optionally, on the basis of the foregoing embodiment, the processor 602 is further configured to determine the data transmission rate of the signal light source according to a variation rule of the parameter.
On the basis of the above embodiments, the present invention may also provide a signal light source detection apparatus applied to wireless optical communication. Fig. 7 is a schematic structural diagram of a signal light source detection device applied to wireless optical communication according to a second embodiment of the present invention. As shown in fig. 7, based on the embodiment shown in fig. 6, the signal light source detection device 60 applied to wireless optical communication further includes an Analog-to-Digital Converter (a/D Converter) 701, a memory 702, an adjuster 703, and an input device 704.
The A/D converter 701 is connected with the sensor 601 and the processor 602; the memory 702 is coupled to the processor 602; the regulator 703 is connected to the sensor 601 and the processor 602; an input device 704 is coupled to the processor 602.
Specifically, the a/D converter 701 is configured to sample and quantize the optical signal obtained by the sensor 601, and transmit the sampled and quantized optical signal to the processor 602.
A database is deployed on the memory 702 and can be used to store preset modulation schemes and also store analysis results of the processor 602.
The adjuster 703 may specifically include a color filter, a focus adjustable lens, and a servo mechanism. The input device 704 may be specifically a button or a keyboard or the like.
The user can input parameters through the input device 704, and then the adjuster 703 can adjust parameters such as the pointing direction, the field angle, and the filter band of the sensor 601 according to the input parameters, thereby adjusting the optical signal obtained by the sensor 601.
For example, if the parameter includes a color phase, the processor 602 may obtain an input parameter input by the user through the input device 704, and adjust the adjusting color filter in the adjuster 703 according to the input parameter, thereby adjusting the filtering frequency band of the sensor 601, so that the color phase of the optical signal can be analyzed and obtained after the optical signal is obtained. For another example, when different detection positions need to be detected, the processor 602 may obtain input parameters input by the user through the input device 704, and adjust the adjustable focus lens and the servo mechanism in the adjuster 703 to adjust the field angle and the pointing direction of the sensor 601 according to the input parameters, thereby changing the detection position or the detection range of the sensor 601.
The signal light source detection device applied to wireless optical communication provided by this embodiment is used to execute the signal light source detection method applied to wireless optical communication in the embodiments shown in fig. 1 to fig. 4, and the implementation principle and the technical effect are the same, and are not described herein again.
With continued reference to fig. 7, the signal light source detecting device 60 applied to wireless optical communication may further include a display device 705. A display device 705 is coupled to the processor 602. The display device 705 is configured to display a detection result of the light source to be detected, where the detection result includes at least one of the following information: whether the light source to be detected is a signal light source, whether the signal light source works normally or not, and the data transmission rate of the signal light source.
The detection result can be visually displayed through the display device 705, so that the detection result can be conveniently and timely obtained, the signal light source can be timely replaced or maintained, the accuracy and integrity of data transmission of the signal light source can be guaranteed, and the data can be prevented from being maliciously stolen.
It should be noted that the wireless light or the optical signal of the signal light source according to the above embodiments of the present invention may be visible light with a wavelength of 380nm to 780nm, or may be a light source with other wavelengths, which is not limited in the present invention.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, in various portions of the embodiments of the present invention, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method flow diagrams of embodiments of the invention are merely exemplary and do not necessarily include all of the contents and steps, nor do they necessarily have to be performed in the order described. For example, some steps may be broken down and some steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
The functional blocks in the block diagrams according to the embodiments of the present invention are only functional entities, and do not necessarily correspond to physically independent entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processors and/or microcontrollers.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A signal light source detection method applied to wireless optical communication is characterized by comprising the following steps:
determining a change rule of the parameters according to the acquired parameters of the optical signals emitted by the light source to be detected;
determining whether the light source to be detected is a signal light source or not according to the change rule of the parameters;
if the light source to be detected is a signal light source, determining whether the signal light source works normally according to the parameters;
the determining whether the signal light source normally works according to the parameters comprises:
comparing the parameter of at least one detection position in a preset coverage area of the signal light source with a preset parameter threshold;
determining whether the signal light source works normally according to the comparison result of the parameter and the parameter threshold;
the determining whether the signal light source normally works according to the comparison result of the parameter and the parameter threshold comprises:
determining the coverage range of the signal light source according to the detection position of the parameter larger than the parameter threshold value in the preset coverage range;
comparing the difference value between the coverage range of the signal light source and the preset coverage range with a preset range change threshold value;
if the difference value is larger than or equal to the range change threshold value, determining that the signal light source does not work normally;
otherwise, if the difference value is smaller than the range change threshold value, the signal light source is determined to work normally.
2. The method according to claim 1, wherein determining whether the light source to be tested is a signal light source according to the variation rule of the parameter comprises:
matching with at least one preset modulation mode stored in a database according to the change rule of the parameters; wherein each modulation mode corresponds to the change rule of at least one parameter;
if the change rule of at least one parameter exists in the parameters and is matched with the modulation mode in the database, determining that the light source to be detected is a signal light source;
otherwise, if the change rule of each parameter in the parameters is not matched with the modulation mode in the database, determining that the light source to be detected is a non-signal light source.
3. The method of claim 1, further comprising:
and determining the data transmission rate of the signal light source according to the change rule of the parameters.
4. A method according to any of claims 1-3, characterized in that said parameters comprise at least one of the following: intensity of the optical signal, intensity variation frequency of the optical signal, phase of the optical signal, hue of the optical signal.
5. A signal light source detection device applied to wireless optical communication is characterized by comprising:
the first determining module is used for determining the change rule of the parameters according to the acquired parameters of the optical signals emitted by the light source to be detected;
the second determining module is used for determining whether the light source to be detected is a signal light source or not according to the change rule of the parameters;
the third determining module is used for determining whether the signal light source works normally or not according to the parameters if the light source to be detected is the signal light source;
the third determining module is specifically configured to:
comparing the parameter of at least one detection position in a preset coverage area of the signal light source with a preset parameter threshold;
determining whether the signal light source works normally according to the comparison result of the parameter and the parameter threshold;
the third determining module is further specifically configured to:
determining the coverage range of the signal light source according to the detection position of the parameter larger than the parameter threshold value in the preset coverage range;
comparing the difference value between the coverage range of the signal light source and the preset coverage range with a preset range change threshold value;
if the difference value is larger than or equal to the range change threshold value, determining that the signal light source does not work normally;
otherwise, if the difference value is smaller than the range change threshold value, the signal light source is determined to work normally.
6. A signal light source detection device applied to wireless optical communication, comprising: a sensor and a processor; the sensor is connected with the processor;
the sensor is used for acquiring an optical signal emitted by a light source to be detected;
the processor is used for processing the optical signal to obtain a parameter of the optical signal, and determining a change rule of the parameter according to the obtained parameter of the optical signal emitted by the light source to be detected; determining whether the light source to be detected is a signal light source or not according to the change rule of the parameters; if the light source to be detected is a signal light source, determining whether the signal light source works normally according to the parameters;
the processor is specifically configured to:
comparing the parameter of at least one detection position in a preset coverage area of the signal light source with a preset parameter threshold;
determining whether the signal light source works normally according to the comparison result of the parameter and the parameter threshold;
the processor is further specifically configured to:
determining the coverage range of the signal light source according to the detection position of the parameter larger than the parameter threshold value in the preset coverage range;
comparing the difference value between the coverage range of the signal light source and the preset coverage range with a preset range change threshold value;
if the difference value is larger than or equal to the range change threshold value, determining that the signal light source does not work normally;
otherwise, if the difference value is smaller than the range change threshold value, the signal light source is determined to work normally.
7. The apparatus of claim 6,
the processor is further configured to determine a data transmission rate of the signal light source according to a variation rule of the parameter.
8. The apparatus of claim 7, wherein the signal light source detection apparatus further comprises: a display device; the display device is connected with the processor;
the display device is configured to display a detection result of the light source to be detected, where the detection result includes at least one of the following information: whether the light source to be detected is a signal light source, whether the signal light source works normally or not, and the data transmission rate of the signal light source.
CN201910207124.XA 2019-03-19 2019-03-19 Signal light source detection method, device and equipment applied to wireless optical communication Active CN110138447B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910207124.XA CN110138447B (en) 2019-03-19 2019-03-19 Signal light source detection method, device and equipment applied to wireless optical communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910207124.XA CN110138447B (en) 2019-03-19 2019-03-19 Signal light source detection method, device and equipment applied to wireless optical communication

Publications (2)

Publication Number Publication Date
CN110138447A CN110138447A (en) 2019-08-16
CN110138447B true CN110138447B (en) 2020-07-14

Family

ID=67568542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910207124.XA Active CN110138447B (en) 2019-03-19 2019-03-19 Signal light source detection method, device and equipment applied to wireless optical communication

Country Status (1)

Country Link
CN (1) CN110138447B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111092656A (en) * 2019-12-28 2020-05-01 深圳市优必选科技股份有限公司 Robot network connection method, device, robot and storage medium
CN113992277B (en) * 2021-10-22 2023-09-22 安天科技集团股份有限公司 Method, system, equipment and medium for detecting data transmission in optical signal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232329B (en) * 2007-11-28 2012-05-30 华东理工大学 Visible light communication system adopting interference cancellation technology
CN103095380A (en) * 2013-01-06 2013-05-08 浙江大学 Underwater wireless optical communication device and method thereof
JP6011569B2 (en) * 2014-03-13 2016-10-19 カシオ計算機株式会社 Imaging apparatus, subject tracking method, and program
CN206421023U (en) * 2017-02-08 2017-08-18 广东昭信照明科技有限公司 A kind of Position Fixing Navigation System based on visible light communication
CN107070554A (en) * 2017-05-11 2017-08-18 广东汇泰龙科技有限公司 Cloud lock method for unlocking based on visible optical communication, system
CN111707453B (en) * 2018-07-24 2022-11-04 广州柏曼光电科技有限公司 Light source testing method and system

Also Published As

Publication number Publication date
CN110138447A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CN105210451B (en) For Self-debugging and the system and method for positioning illuminator
CN110138447B (en) Signal light source detection method, device and equipment applied to wireless optical communication
CN109145678B (en) Signal lamp detection method and device, computer equipment and readable storage medium
CN110225257B (en) Day and night mode switching method and device, camera device and storage medium
KR102127080B1 (en) Smart street lamp control system using lora communication
CN105428376A (en) Single-chip image sensor having visible light and UV-light detection function and detection method thereof
KR101573272B1 (en) Fire detection device and fire detection system using the same
JP2021002875A (en) Radio communication equipment, radio communication terminal, radio communication system, radio communication method and recording medium
US7518715B1 (en) Method for determination of efficient lighting use
CN101682964B (en) Illumination control system and method
Matus et al. Sandstorm effect on experimental optical camera communication
CN116296277A (en) Micro LED light source color detection method, device, equipment and medium
CN107370538B (en) Radio data transmission method, camera and system
KR101766029B1 (en) Apparatus for detecting illumination and method thereof
Căilean et al. Experimental Demonstration of a 188 meters Infrastructure-to-Vehicle Visible Light Communications Link in Outdoor Conditions
Tebruegge et al. Optical interference reduction with spatial filtering receiver for vehicular visible light communication
CN106680771A (en) Reverse positioning system and method
KR102047757B1 (en) Smart horizontal saftey lighting with measurement function suction-type particulate dust
CN112859191B (en) Output mode generation method, response system and sensor equipment
WO2020121626A1 (en) Image processing device, computer program, and image processing system
CN106257962A (en) The detection of illuminator color drift and correction
Lovisolo et al. Visible Light‐Based Communication and Localization
KR101587732B1 (en) A system and a method for VLC
KR101581836B1 (en) Apparatus for detecting EUV dimming phenomenon and method thereof
US11949452B2 (en) Computing device

Legal Events

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