CN107180250B - Optical communication method and optical communication system - Google Patents

Optical communication method and optical communication system Download PDF

Info

Publication number
CN107180250B
CN107180250B CN201710233823.2A CN201710233823A CN107180250B CN 107180250 B CN107180250 B CN 107180250B CN 201710233823 A CN201710233823 A CN 201710233823A CN 107180250 B CN107180250 B CN 107180250B
Authority
CN
China
Prior art keywords
optical signal
optical
signal
receiving end
wake
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
CN201710233823.2A
Other languages
Chinese (zh)
Other versions
CN107180250A (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.)
SHENZHEN ALUKSEN OPTOELECTRONICS Co.,Ltd.
Original Assignee
Shenzhen Aluksen Optoelectronics 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 Shenzhen Aluksen Optoelectronics Co ltd filed Critical Shenzhen Aluksen Optoelectronics Co ltd
Priority to CN201710233823.2A priority Critical patent/CN107180250B/en
Publication of CN107180250A publication Critical patent/CN107180250A/en
Application granted granted Critical
Publication of CN107180250B publication Critical patent/CN107180250B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0029Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers
    • 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

Abstract

The optical communication method comprises the steps that a sending end sends a wake-up optical signal to a receiving end; the receiving end monitors the awakening optical signal; after monitoring the awakening optical signal, the receiving end synchronizes a clock of the receiving end with a clock of the transmitting end; powering on the electronic tag according to the awakening optical signal; the receiving end is electrified and then sends a response optical signal to the sending end; the transmitting end transmits a training sequence optical signal to the receiving end; the receiving end sends a response sequence optical signal to the sending end; when the sending end monitors N response sequence optical signals corresponding to the N training sequence optical signals which are continuously sent respectively, the sending end sends an optical communication signal to the receiving end so as to write information into the electronic tag; because the electronic tag can be written in and can be written in or read only after being awakened, the electronic tag information can be updated while the safety of the electronic tag in the identification and authentication process is ensured.

Description

Optical communication method and optical communication system
Technical Field
The present application relates to the field of optical communications, and in particular, to an optical communication method and an optical communication system.
Background
The electronic tag is used as a data carrier and can play the roles of identification, article tracking and information acquisition. Electronic tags have been used in a wide range of fields at home and abroad. Radio Frequency Identification (RFID) and optical code scanning technologies are currently widely used in electronic label identification. The increasingly popular chip-based credit card technology has also gained wide attention, providing a more secure platform for electronic tag identification.
However, the wireless radio frequency technology is suitable for near-field Radio Frequency (RF) technology, and data signals can be easily stolen by nearby radio frequency receivers, and such information leakage has brought serious security problems to users in practical application.
The optical one-dimensional or two-dimensional code technology is widely applied to the field of product labels, particularly the two-dimensional code technology, and is widely applied to daily life of people. By scanning the code, the communication terminal can acquire information and/or authority authorization and the like carried by the one-dimensional code or the two-dimensional code, so that convenience is brought to the life of people. However, the main drawback of optical one-dimensional code and two-dimensional code techniques is that the code information cannot be altered once generated; in addition, it carries a very small amount of information while occupying a relatively large space.
In summary, there is a need for an electronic tag communication technology that can update electronic tag information while ensuring security during the identification and authentication process and ensuring that the electronic tag occupies a small space.
Based on the technical scheme that the information of the electronic tag is updated and the information in the electronic tag needs to be read, the problem of further synchronization is caused. Since the communication between the sending end and the receiving end (i.e. the end where the electronic tag is located) is contactless communication, the sending end and the receiving end have independent clocks respectively. The transmitting end and the receiving end need to synchronize clocks to perform the communication step, and therefore, a synchronization technology is also needed to enable the transmitting end and the receiving end to complete clock synchronization.
Disclosure of Invention
In order to solve the above technical problem, the present application discloses an optical communication method, including:
monitoring a wake-up optical signal;
when the wake-up signal is monitored, setting the bit rate of the receiving end to enable the clock of the receiving end to be synchronous with the clock of the transmitting end, wherein the receiving end is equipment with an electronic tag;
after the bit rate is set, powering on the electronic tag according to the awakening optical signal;
sending a response optical signal to a sending end, wherein the response optical signal is an optical signal responding to the awakening optical signal;
if the training sequence optical signal is monitored, sending a response sequence optical signal to the sending end;
if N training sequence optical signals are continuously monitored, receiving optical communication signals to update the information of the electronic tag, wherein N is a natural number which is more than or equal to 1;
the wake-up optical signal, the training sequence optical signal and the optical communication signal all include power-on signals for powering on the electronic tag.
According to another aspect of the present application, an optical communication receiving apparatus is disclosed, the apparatus being an apparatus including an electronic tag, including:
the monitoring module is used for monitoring the awakening optical signal;
the synchronization module is used for setting the bit rate of the optical communication device after monitoring the wake-up signal so as to synchronize the clock of the optical communication device with the clock of the sending end;
the power-on module is used for powering on the electronic tag according to the awakening optical signal after the bit rate setting is finished;
response optical signal transmission module: the optical signal transmitting device is used for transmitting a response optical signal to a transmitting end, wherein the response optical signal is an optical signal responding to the awakening optical signal;
the sequence optical signal transceiver module is used for sending a response sequence optical signal to the sending end when monitoring the training sequence optical signal;
the reading module is used for receiving optical communication signals to update the information of the electronic tag when N training sequence optical signals are continuously monitored, wherein N is a natural number which is more than or equal to 1;
the wake-up optical signal, the training sequence optical signal and the optical communication signal all include power-on signals for powering on the electronic tag.
In one embodiment, the synchronization module includes:
the sampling module is used for oversampling the awakening optical signal so as to carry out edge detection on the awakening optical signal and obtain the phase and frequency of the awakening optical signal;
the frequency phase synchronization module is used for adjusting a local clock according to the phase and the frequency of the awakening optical signal so as to perform phase synchronization and frequency synchronization on the local clock and the awakening optical signal;
and the bit rate setting module is used for setting the bit rate of the receiving end according to the phase and the frequency of the synchronized local clock.
In addition, the present application also discloses an optical communication method, including the steps of:
a sending end sends a wake-up optical signal to a receiving end;
the receiving end monitors the awakening optical signal;
after monitoring the awakening optical signal, the receiving end sets the bit rate of the receiving end so as to synchronize the clock of the receiving end with the clock of the sending end;
after the bit rate is set, powering on the electronic tag according to the awakening optical signal;
the receiving end is electrified and then sends a response optical signal to the sending end;
when the sending end monitors the response optical signal, the sending end sends a training sequence optical signal to the receiving end;
and when the receiving end monitors the training sequence optical signal, the receiving end sends a response sequence optical signal to the sending end.
When the receiving end continuously monitors N training sequence optical signals and the sending end monitors N response sequence optical signals corresponding to the N training sequence optical signals which are continuously sent respectively, the sending end sends an optical communication signal to the receiving end to write information into the electronic tag;
wherein N is a natural number greater than or equal to 1; the receiving end is equipment with an electronic tag; the wake-up optical signal, the training sequence optical signal, and the optical communication signal all include a power-on signal for powering on the receiving end.
The electronic tag has the advantages that the electronic tag can be written in, and can be written in or read only after being awakened, so that the electronic tag information can be updated on the premise that the electronic tag occupies a small space while the safety in the identification and authentication process of the electronic tag is guaranteed.
Drawings
The present application will be described below by way of exemplary embodiments. The embodiments of the above and other aspects of the present application will become apparent from the following detailed description and the accompanying drawings.
Fig. 1 is a flowchart of an optical communication method according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for synchronizing clocks in optical communications according to FIG. 1;
fig. 3 is a flow chart for implementing a wider optical operating range in the optical communication method of fig. 1;
fig. 4 is a waveform diagram of an electrical signal after photoelectric conversion in the optical communication method of fig. 1;
FIG. 5 is a flow chart of a method of optical communication according to another embodiment of the present application;
fig. 6 is a block diagram of an optical communication apparatus according to still another embodiment of the present application;
fig. 7 is a block diagram of a synchronization module according to the optical communication apparatus of fig. 6;
fig. 8 is a structural view of a photoelectric conversion module according to the optical communication apparatus of fig. 6;
fig. 9 is a block diagram of a photoelectric conversion module of the optical communication apparatus of fig. 6 according to another embodiment;
fig. 10 is a block diagram of an optical communication apparatus according to still another embodiment of the present application;
FIG. 11 is a flow chart of a method of optical communication according to yet another embodiment of the present application; and
fig. 12 is a block diagram of an optical communication apparatus according to still another embodiment of the present application.
Detailed Description
The terminology used in the description is for the purpose of describing particular embodiments only and is not intended to limit the scope of the present application. As used in this specification and the appended claims, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are intended to be inclusive in the plural, unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" are intended to cover only the explicitly identified features, integers, steps, operations, elements, and/or components, but not to constitute an exclusive list of such features, integers, steps, operations, elements, and/or components.
As shown in fig. 1, an embodiment of the present application provides an optical communication method 100, where the method 100 is applicable to a receiving end of communication, where the receiving end is a device with an electronic tag; the method 100 comprises the steps of:
step 102, a wake-up optical signal is monitored.
The wake-up optical signal is an optical signal which is sent to the receiving end by the sending end and used for waking up the receiving end and then carrying out optical communication with the receiving end.
And 104, setting the bit rate of the receiving end after monitoring the awakening optical signal so as to synchronize the clock of the receiving end with the clock of the transmitting end.
Because this application is applicable to contactless optical communication field, consequently the communication both ends, send end and receiving terminal have independent clock respectively promptly, consequently need synchronize the clock of sending end and receiving terminal, just can realize the data interaction at both ends.
Step 106, after the bit rate is set, powering on the electronic tag according to the awakening optical signal;
for safety, it is necessary to have an external power driving device to wake up the electronic tag to write information into the electronic tag and/or read information from the electronic tag. In this embodiment, the wake-up optical signal sent by the sending end to the receiving end includes a power-on signal for powering on the electronic tag, and when the receiving end monitors the wake-up request, the wake-up optical signal also provides electric energy for the electronic tag. Compared with the prior art, the electronic tag in the application is powered on only after receiving the awakening optical signal, so that the situation that information in the electronic tag is illegally read or data is illegally written into the electronic tag under the condition that the electronic tag is not awakened is avoided, and the safety is greatly improved.
Step 108, sending a response optical signal to the sending end, wherein the response optical signal is an optical signal responding to the wake-up optical signal; the purpose of sending the response optical signal by the receiving end is to inform the sending end that the wake-up optical signal has been received and the electronic tag has been successfully powered on.
Step 110, if the training sequence optical signal is monitored, a response sequence optical signal is sent to the sending end. When the sending end receives the response sequence optical signal, the sending end sends a training sequence optical signal to the receiving end, so that the training sequence optical signal is monitored after the receiving end sends the response optical signal. When the receiving end receives the training sequence optical signal, the receiving end sends a response sequence optical signal to the sending end as a response. In a preferred embodiment, the transmitting end determines the communication parameters and communication quality between the transmitting end and the receiving end, including whether synchronization is completed or not, by comparing the training sequence optical signal with the response sequence optical signal corresponding to the training sequence optical signal.
And 112, if N training sequence optical signals are continuously monitored, receiving the optical communication signals to update the information of the electronic tag, wherein N is a natural number which is greater than or equal to 1. The receiving end can monitor the training sequence optical signal for multiple times and send the response sequence optical signal after monitoring the training sequence optical signal, and the method aims to ensure that the sending end can receive the response optical sequence signal every time the sending end sends the training sequence optical signal, thereby more accurately judging the communication parameters and the communication quality between the sending end and the receiving end. When the training sequence optical signal is continuously monitored for N times, which indicates that the two ends meet the communication requirement, normal optical communication can be executed, and updated data is written into the electronic tag and/or information of the electronic tag is read.
The wake-up optical signal, the training sequence optical signal and the optical communication signal all comprise power-on signals for powering on the electronic tag, so that a sending end can continuously supply power to the electronic tag in the whole communication process after the electronic tag is awakened; and when the communication is interrupted, the electronic tag loses the drive and does not receive the read-write request any more.
Compared with the existing common electronic tag, such as a two-dimensional code communication method, the optical communication method 100 has the advantages that the electronic tag can be powered on through an optical signal, so that the information of the electronic tag can be updated, and the information amount which can be accommodated by the electronic tag is increased; meanwhile, the information of the electronic tag can be read or written into the electronic tag only after the electronic tag is awakened, so that illegal read-write requests can be effectively prevented, and the communication safety is improved.
In one embodiment, the electronic tag is stored in a memory, such as a flash memory, an eeprom, or the like.
In one embodiment, when the wake-up light signal is not detected, step 102 is repeated.
In one embodiment, if the training sequence light signal is not monitored, step 102 is repeated.
In one embodiment, if the midamble light signal is monitored but N midamble light signals are not continuously monitored, it is repeatedly determined whether the midamble light signal is monitored.
In a preferred embodiment, as shown in fig. 2, the step of setting the bit rate of the receiving end to synchronize the clock of the receiving end with the clock of the transmitting end comprises:
step 1042, oversampling the wake-up optical signal to perform edge detection on the wake-up optical signal and obtain the phase and frequency of the wake-up optical signal;
step 1044, adjusting the local clock according to the phase and frequency of the wake-up optical signal to perform phase synchronization and frequency synchronization on the local clock and the wake-up optical signal;
step 1046, setting the bit rate of the receiving end according to the synchronized phase and frequency of the local clock.
In one embodiment, the light signal is a fixed period binary signal, i.e., the strong light signal represents a "1" and the no light or dark light signal represents a "0". However, since the distance between the transmitting end and the receiving end may change dynamically, the intensity of the optical signal may also change, and thus the same optical signal may be recognized as a different binary signal due to the difference between the distances between the two ends. As shown in fig. 3, in order to achieve a wide dynamic range of light operation, the method further comprises the steps of:
and 1032, acquiring the maximum amplitude of a previous sequence of optical signals adjacent to the optical signal, and calculating the average value of the maximum amplitudes of the sequence of optical signals. Wherein the average value of the maximum amplitude of a previous sequence of optical signals adjacent to the optical signal is used to characterize the optical intensity range of the current period of time, and based on the optical intensity range, the subsequent judgment of the binary value of the optical signal is facilitated.
Step 1034, based on the average value, adjusting the gain of the current photoelectric conversion and/or judging the threshold value of the current optical signal to be 1 or 0; wherein the gain is inversely related to the average; the threshold value is positively correlated with the average value; and determining that the optical signal value is 1 or 0 based on the threshold, wherein the optical signal includes the wake-up optical signal, the training sequence optical signal, and the optical communication signal. In the waveform diagram of the electrical signal after photoelectric conversion in an embodiment as shown in fig. 4, the value of the optical signal is determined only by dynamically adjusting the magnitude of the threshold, wherein the threshold is dynamically adjusted according to the amplitude of the optical-to-photoelectric-conversion output signal, such as threshold 1, threshold 2 and threshold 3 in the diagram. In another embodiment, the gain of the photoelectric conversion can be adjusted, for example, when the light intensity is too large, the gain of the photoelectric conversion is adjusted to be small, so that the stronger optical signal is adjusted to be a relatively small electric signal voltage, and the electric signal voltage can be prevented from exceeding the highest threshold value during the photoelectric conversion; conversely, when the light intensity is small, the photoelectric conversion gain is adjusted upward, so that the weak optical signal is adjusted to a relatively large electrical signal voltage.
In one embodiment, the wake-up optical signal is M pulse signals with a fixed pulse width; the method further comprises the following steps: accumulating the M pulse signals to calculate an accurate pulse width; wherein M is a natural number greater than or equal to 1.
In one embodiment, in step 110, if the midamble light signal is not monitored, the bit rate of the receiving end is reset, and the midamble light signal is monitored again. If the receiving end does not monitor the training sequence optical signal, which may indicate that the transmitting end and the receiving end do not complete synchronization, the receiving end may continue to monitor the training sequence optical signal while tuning the local clock by tuning the local clock until receiving the training sequence optical signal.
In one embodiment, the wake-up optical signal, the training sequence signal, and the optical communication signal are all decoded before being sent to the electronic tag; the response optical signal and the response sequence optical signal are coded by the receiving end and then sent to the sending end. The purpose of this step is to allow all optical signals to be encoded at the transmit end and decoded at the receive end to achieve dc balance. Preferably, the means for implementing the encoding and decoding steps are an 8b/10b encoder and an 8b/10b decoder, respectively.
As shown in fig. 5, according to another aspect of the present application, an optical communication method 500 is disclosed, the method 500 being applicable to a transmitting end of a communication; the method 500 includes the steps of:
step 502, sending a wake-up optical signal to the receiving end to make the receiving end execute: monitoring a wake-up optical signal, setting the bit rate of the receiving end after monitoring the wake-up signal so as to synchronize a clock of the receiving end with a clock of the transmitting end, electrifying the electronic tag according to the wake-up optical signal after the bit rate is set, and transmitting a response optical signal to the transmitting end, wherein the response optical signal is an optical signal responding to the wake-up optical signal, and the receiving end is equipment with the electronic tag;
step 504, when the response optical signal is detected, sending a training sequence optical signal to the receiving end to enable the receiving end to execute: monitoring the training sequence optical signal, if the training sequence optical signal is not monitored, executing a step of monitoring a wake-up optical signal, if the training sequence optical signal is monitored, sending a response sequence optical signal, and simultaneously repeatedly executing the monitoring of the training sequence optical signal; and the sending end monitors a response sequence optical signal, wherein the response sequence optical signal is a sequence optical signal responding to the sending training sequence optical signal;
step 506, if the optical signal of the response sequence is monitored and N optical signals of the response sequence corresponding to the N optical signals of the training sequence which are continuously sent are monitored, sending an optical communication signal to the receiving end to write information into the electronic tag; wherein N is a natural number greater than or equal to 1;
the wake-up optical signal, the training sequence optical signal, and the optical communication signal all include a power-on signal for powering on the electronic tag.
In one embodiment, if the response sequence optical signal is not detected in step 504, a training sequence optical signal is sent to the receiving end and the response sequence optical signal is monitored during the period of resetting the bit rate at the receiving end.
In an embodiment, the wake-up optical signal, the training sequence signal, and the optical communication signal are encoded by the transmitting end and then transmitted to the receiving end; the sending end decodes the received response optical signal and the response sequence optical signal. The purpose of this step is to allow all optical signals to be encoded at the transmit end and decoded at the receive end to achieve dc balance. Preferably, the means for implementing the encoding and decoding steps are an 8b/10b encoder and an 8b/10b decoder, respectively.
As shown in fig. 6, the present application further discloses an optical communication apparatus 600, where the optical communication apparatus 600 includes an electronic tag and serves as a receiving end in the communication field, and the optical communication apparatus 600 includes:
a monitoring module 602, configured to monitor the wake-up optical signal.
The synchronization module 604 is configured to set a bit rate of the optical communication apparatus after monitoring the wake-up signal, so that a clock of the optical communication apparatus is synchronized with a clock of a transmitting end.
Because the device is suitable for the field of contactless optical communication, the two communication ends are respectively provided with independent clocks, and the data interaction at the two ends can be realized only by synchronizing the clocks of the transmitting end and the receiving end.
And a power-on module 606, configured to power on the electronic tag according to the wake-up optical signal after the bit rate setting is completed.
The response optical signal transmission module 608: and the optical transmitter is used for transmitting a response optical signal to the transmitting end, wherein the response optical signal is an optical signal responding to the wake-up optical signal.
The sequence optical signal transceiver module 610 is configured to send a response sequence optical signal to the sending end when the training sequence optical signal is monitored. When the transmitting end receives the response sequence optical signal, it sends a training sequence optical signal to the optical communication device 600, so that the optical communication device 600 starts to monitor the training sequence optical signal after sending the response optical signal. When receiving the training sequence optical signal, the optical communication apparatus 600 sends a response sequence optical signal to the sending end as a response. In a preferred embodiment, the transmitting end determines the communication parameters and communication quality between the transmitting end and the optical communication apparatus 600, including whether synchronization is completed or not, by comparing the training sequence optical signal with the response sequence optical signal corresponding to the training sequence optical signal.
A reading module 612, configured to receive an optical communication signal to update information of the electronic tag when N training sequence optical signals are continuously monitored, where N is a natural number greater than or equal to 1; the sequence optical signal transceiver module 610 may perform multiple monitoring of the training sequence optical signal, and send the response sequence optical signal after monitoring the training sequence optical signal, which aims to ensure that the sending end can receive the response optical sequence signal every time the sending end sends the training sequence optical signal, thereby more accurately judging the communication parameters and communication quality between the sending end and the optical communication apparatus 600. When the training sequence optical signal is continuously monitored for N times, which indicates that the two ends meet the communication requirement, normal optical communication can be executed, and updated data is written into the electronic tag and/or information of the electronic tag is read.
The wake-up optical signal, the training sequence optical signal, and the optical communication signal all include a power-on signal for powering on the electronic tag.
As shown in fig. 7, the synchronization module 604 includes:
a sampling module 6042, configured to perform oversampling on the wake-up optical signal, so as to perform edge detection on the wake-up optical signal and obtain a phase and a frequency of the wake-up optical signal;
a frequency and phase synchronization module 6044, which adjusts the local clock according to the phase and frequency of the wake-up optical signal, so as to perform phase synchronization and frequency synchronization on the local clock and the wake-up optical signal;
a bit rate setting module 6046, configured to set a bit rate of the receiving end according to the phase and the frequency of the synchronized local clock.
As shown in fig. 8, in an embodiment, the apparatus 600 further includes a photoelectric conversion module 614 for converting the optical signal into a binary electrical signal, where the photoelectric conversion module 614 includes:
the light intensity obtaining module 6142 is configured to obtain a maximum amplitude of a previous sequence of optical signals adjacent to the optical signal, and calculate an average value of the maximum amplitudes of the sequence of optical signals. Wherein the average value of the maximum amplitude of a previous sequence of optical signals adjacent to the optical signal is used to characterize the optical intensity range of the current period of time, and based on the optical intensity range, the subsequent judgment of the binary value of the optical signal is facilitated.
A threshold adjusting module 6144, configured to adjust a threshold of the current optical signal being 1 or 0 based on the average value; wherein the gain is inversely related to the average.
A comparing module 6146, configured to adjust the current gain of the photoelectric conversion based on the average value, where the threshold is positively correlated to the average value.
As shown in fig. 9, in another embodiment, the photoelectric conversion module 614 includes a power detector 6141, a transimpedance amplifier 6143, and a comparator 6145. As shown, the power detector 6141 is directly connected to the comparator 6145, and is used for directly adjusting the threshold of the comparator 6145 according to a previous sequence of optical signals adjacent to the current optical signal. In addition, a power detector 6145 is also directly connected to the transimpedance amplifier for directly adjusting the gain of the transimpedance amplifier 6143 according to a previous sequence of optical signals adjacent to the current optical signal.
In one embodiment, the wake-up optical signal is M pulse signals with fixed pulse width; the apparatus 600 further comprises means for accumulating the M pulse signals to calculate an accurate pulse width; wherein M is a natural number greater than or equal to 1.
In one embodiment, the sequence optical signal transceiver module 610 is further configured to control the synchronization module to reset the bit rate of the optical communication device and monitor the training sequence optical signal again if the training sequence optical signal is not monitored. If the receiving end does not monitor the training sequence optical signal, which may indicate that the transmitting end and the receiving end do not complete synchronization, the receiving end may continue to monitor the training sequence optical signal while tuning the local clock by tuning the local clock until receiving the training sequence optical signal.
In one embodiment, the apparatus 600 further comprises a decoder for decoding the wake-up optical signal, the training sequence signal, and the optical communication signal, and an encoder for encoding the response optical signal and the response sequence optical signal. Preferably, the encoder and decoder are an 8b/10b encoder and an 8b/10b decoder, respectively.
As shown in fig. 10, the present application also discloses an optical communication apparatus 1000, where the optical communication apparatus 1000 includes an electronic tag and serves as a transmitting end in the communication field, and the optical communication apparatus 1000 includes:
a wake-up module 1002, configured to send a wake-up optical signal to a receiving end, so that the receiving end performs: monitoring a wake-up optical signal, setting the bit rate of the receiving end after monitoring the wake-up signal so as to synchronize a clock of the receiving end with a clock of the transmitting end, electrifying the electronic tag according to the wake-up optical signal after the bit rate is set, and transmitting a response optical signal to the transmitting end, wherein the response optical signal is an optical signal responding to the wake-up optical signal, and the receiving end is equipment with the electronic tag;
a sequence optical signal transceiver module 1004, configured to send a training sequence optical signal to the receiving end after monitoring the response optical signal, so that the receiving end performs: monitoring the training sequence optical signal, if the training sequence optical signal is not monitored, executing a step of monitoring a wake-up optical signal, if the training sequence optical signal is monitored, sending a response sequence optical signal, and simultaneously repeatedly executing the monitoring of the training sequence optical signal; and the sending end monitors a response sequence optical signal, wherein the response sequence optical signal is a sequence optical signal responding to the sending training sequence optical signal;
a write-in module 1006, configured to send an optical communication signal to the receiving end to write information into the electronic tag when a response sequence optical signal is monitored and N response sequence optical signals corresponding to N training sequence optical signals that are continuously sent are monitored; wherein N is a natural number greater than or equal to 1;
the wake-up optical signal, the training sequence optical signal, and the optical communication signal all include a power-on signal for powering on the electronic tag.
In one embodiment, the apparatus 1000 further comprises an encoder (not shown) for encoding the wake-up optical signal, the training sequence signal, and the optical communication signal, and a decoder (not shown) for decoding the response optical signal and the response sequence optical signal. The purpose of the decoder and encoder is to allow all optical signals to be encoded at the transmit end and decoded at the receive end to achieve dc balance. Preferably, the decoder and the encoder are an 8b/10b encoder and an 8b/10b decoder, respectively.
As shown in fig. 11, according to another aspect of the present application, there is also disclosed an optical communication method 1100, including:
step 1102, a sending end sends a wake-up optical signal to a receiving end;
step 1104, the receiving end monitors the wake-up optical signal;
step 1106, after monitoring the wake-up optical signal, the receiving end sets the bit rate of the receiving end to synchronize the clock of the receiving end with the clock of the transmitting end;
step 1108, after the setting of the bit rate is completed, powering on the electronic tag according to the wake-up optical signal;
step 1110, sending a response optical signal to the sending end after the receiving end is powered on;
step 1112, when the sender detects the response optical signal, execute step 1114
Step 1114, the transmitting end sends a training sequence optical signal to the receiving end;
step 1116, after the receiving end monitors the training sequence optical signal, step 1118 is executed;
step 1118, the receiving end sends a response sequence optical signal to the sending end;
step 1120, when the receiving end continuously monitors N training sequence optical signals and the transmitting end monitors N response sequence optical signals corresponding to the N training sequence optical signals continuously transmitted, respectively, then step 1122 is executed;
step 1122, the transmitting end transmits an optical communication signal to the receiving end to write information into the electronic tag;
wherein N is a natural number greater than or equal to 1; the receiving end is equipment with an electronic tag; the wake-up optical signal, the training sequence optical signal, and the optical communication signal all include a power-up signal for powering up the receiving end.
As shown in fig. 12, according to another aspect of the present application, there is also disclosed an optical communication apparatus 1200, which includes an optical communication transmitting apparatus 1300 and an optical communication receiving apparatus 1400, wherein,
the optical communication transmission apparatus 1300 includes: a wake-up module 1302, configured to send a wake-up optical signal to an optical communication receiving apparatus 1400, where the optical communication receiving apparatus 1400 is a device with an electronic tag; a sequence optical signal transceiver module 1304, configured to send a training sequence optical signal to the optical communication receiving apparatus 1400 after monitoring the response optical signal; a writing module 1306, configured to send an optical communication signal to the optical communication receiving apparatus 1400 to write information into the electronic tag when the optical signal of the response sequence is monitored and N optical signals of the response sequence corresponding to N training sequence optical signals that are continuously sent are monitored;
the optical communication receiving module 1400 includes: a monitoring module 1402, configured to monitor a wake-up optical signal; a synchronization module 1404, configured to set a bit rate of the optical communication receiving apparatus 1400 after monitoring the wake-up signal, so that a clock of the optical communication receiving apparatus 1400 is synchronized with a clock of the optical communication sending apparatus 1300; a power-on module 1406, configured to power on the electronic tag according to the wake-up optical signal after the bit rate setting is completed; the response optical signal transmission module 1408: for sending a response optical signal to the optical communication transmitter 1300, where the response optical signal is an optical signal responding to the wake-up optical signal; a sequence optical signal transceiver module 1410, configured to send a response sequence optical signal to the optical communication sending apparatus 1300 when the training sequence optical signal is monitored; the reading module 1412 is configured to receive the optical communication signal to update the information of the electronic tag when N training sequence optical signals are continuously monitored, where N is a natural number greater than or equal to 1; the wake-up optical signal, the training sequence optical signal, and the optical communication signal all include a power-on signal for powering on the electronic tag.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by computer programs, which may be stored in a computer readable storage medium, and when executed, may include processes of the above embodiments of the methods. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (4)

1. A method of optical communication, the method comprising:
monitoring a wake-up optical signal; the wake-up optical signal is an optical signal which is sent to a receiving end by a sending end, is used for waking up the receiving end and then is in optical communication with the receiving end; the awakening optical signal is M pulse signals with fixed pulse width, wherein M is a natural number greater than or equal to 1;
when the awakening optical signal is monitored, setting the bit rate of a receiving end to enable the clock of the receiving end to be synchronous with the clock of a transmitting end, wherein the receiving end is equipment with an electronic tag; wherein, the step of setting the bit rate of the receiving end to synchronize the clock of the receiving end with the clock of the transmitting end comprises:
oversampling the wake-up optical signal to perform edge detection on the wake-up optical signal and obtain a phase and a frequency of the wake-up optical signal;
adjusting a local clock according to the phase and the frequency of the awakening optical signal so as to perform phase synchronization and frequency synchronization on the local clock and the awakening optical signal;
setting the bit rate of the receiving end according to the phase and the frequency of the synchronized local clock;
after the bit rate is set, powering on the electronic tag according to the awakening optical signal; the electronic tag is powered on only after receiving the awakening optical signal;
sending a response optical signal to a sending end, wherein the response optical signal is an optical signal responding to the awakening optical signal;
if the training sequence optical signal is monitored, sending a response sequence optical signal to the sending end;
if N training sequence optical signals are continuously monitored, receiving optical communication signals to update the information of the electronic tag, wherein N is a natural number which is more than or equal to 1;
the wake-up optical signal, the training sequence optical signal and the optical communication signal all comprise power-on signals for powering on the electronic tag;
wherein, the light signal is a binary signal with a fixed period, the strong light signal represents "1", and the no light or dark light signal represents "0"; after the wake-up optical signal is monitored, acquiring the maximum amplitude of a previous sequence of optical signals adjacent to the optical signal, and calculating the average value of the maximum amplitudes of the sequence of optical signals;
adjusting the gain of the current photoelectric conversion and judging the threshold value of the current optical signal to be 1 or 0 based on the average value; the gain is inversely related to the average value, and the photoelectric conversion gain is adjusted to be small by adjusting the gain of the photoelectric conversion when the light intensity is overlarge, so that a stronger optical signal is adjusted to be a relatively smaller electric signal voltage, and the electric signal voltage is prevented from exceeding a highest threshold value during photoelectric conversion; conversely, when the light intensity is smaller, the photoelectric conversion gain is adjusted upwards, so that a weaker optical signal is adjusted to be a relatively larger electric signal voltage; the threshold value is positively correlated with the average value; judging that the optical signal value is 1 or 0 based on the threshold value, wherein the optical signal comprises the wake-up optical signal, the training sequence optical signal and the optical communication signal;
if the training sequence optical signal is not monitored, resetting the bit rate of the receiving end, and monitoring the training sequence optical signal again by finely adjusting a local clock.
2. The method of claim 1, wherein the wake-up optical signal, the training sequence optical signal, and the optical communication signal are each decoded before being transmitted to the electronic tag; and the response optical signal and the response sequence optical signal are coded by the receiving end and then sent to the sending end.
3. An optical communication receiving apparatus, the apparatus being an apparatus including an electronic tag, comprising:
the monitoring module is used for monitoring the awakening optical signal; the wake-up optical signal is an optical signal which is sent to a receiving end by a sending end, is used for waking up the receiving end and then is in optical communication with the receiving end; the awakening optical signal is M pulse signals with fixed pulse width, wherein M is a natural number greater than or equal to 1;
a synchronization module, configured to set a bit rate of the optical communication receiving apparatus after monitoring the wake-up optical signal, so that a clock of the optical communication receiving apparatus is synchronized with a clock of a transmitting end; wherein the synchronization module comprises:
the sampling module is used for oversampling the awakening optical signal so as to carry out edge detection on the awakening optical signal and obtain the phase and frequency of the awakening optical signal;
the frequency phase synchronization module is used for adjusting a local clock according to the phase and the frequency of the awakening optical signal so as to perform phase synchronization and frequency synchronization on the local clock and the awakening optical signal;
a bit rate setting module, configured to set a bit rate of the receiving end according to the synchronized phase and frequency of the local clock;
the power-on module is used for powering on the electronic tag according to the awakening optical signal after the bit rate setting is finished; the electronic tag is powered on only after receiving the awakening optical signal;
response optical signal transmission module: the optical signal transmitting device is used for transmitting a response optical signal to a transmitting end, wherein the response optical signal is an optical signal responding to the awakening optical signal;
the sequence optical signal transceiver module is used for sending a response sequence optical signal to the sending end when monitoring a training sequence optical signal;
the reading module is used for receiving optical communication signals to update the information of the electronic tag when N training sequence optical signals are continuously monitored, wherein N is a natural number which is more than or equal to 1;
the wake-up optical signal, the training sequence optical signal and the optical communication signal all comprise power-on signals for powering on the electronic tag;
the photoelectric conversion module is used for converting an optical signal into a binary electrical signal, the optical signal is a binary signal with a fixed period, the strong optical signal represents '1', and the no light or dark optical signal represents '0', and the photoelectric conversion module comprises:
the light intensity acquisition module is used for acquiring the maximum amplitude of a previous sequence of optical signals adjacent to the optical signals and calculating the average value of the maximum amplitudes of the sequence of optical signals;
a comparison module and/or a threshold adjustment module, wherein the comparison module is configured to adjust a gain of the current photoelectric conversion based on the average value, and the threshold adjustment module is configured to adjust a threshold at which the current optical signal is 1 or 0 based on the average value; the gain is inversely related to the average value, and the photoelectric conversion gain is adjusted to be small by adjusting the gain of the photoelectric conversion when the light intensity is overlarge, so that a stronger optical signal is adjusted to be a relatively smaller electric signal voltage, and the electric signal voltage is prevented from exceeding a highest threshold value during photoelectric conversion; conversely, when the light intensity is smaller, the photoelectric conversion gain is adjusted upwards, so that a weaker optical signal is adjusted to be a relatively larger electric signal voltage; the threshold value is positively correlated with the average value; judging that the optical signal value is 1 or 0 based on the threshold value, wherein the optical signal comprises the wake-up optical signal, the training sequence optical signal and the optical communication signal;
the sequence optical signal transceiver module is further configured to, if the training sequence optical signal is not monitored, control the synchronization module to reset the bit rate of the optical communication receiving apparatus, and monitor the training sequence optical signal again by fine-tuning a local clock.
4. An optical communication method comprising the steps of:
a sending end sends a wake-up optical signal to a receiving end; the wake-up optical signal is an optical signal which is sent to a receiving end by a sending end, is used for waking up the receiving end and then is in optical communication with the receiving end; the awakening optical signal is M pulse signals with fixed pulse width, wherein M is a natural number greater than or equal to 1;
the receiving end monitors the awakening optical signal;
after monitoring the awakening optical signal, the receiving end sets the bit rate of the receiving end so as to synchronize the clock of the receiving end with the clock of the sending end; wherein, the step of setting the bit rate of the receiving end to synchronize the clock of the receiving end with the clock of the transmitting end comprises:
oversampling the wake-up optical signal to perform edge detection on the wake-up optical signal and obtain a phase and a frequency of the wake-up optical signal;
adjusting a local clock according to the phase and the frequency of the awakening optical signal so as to perform phase synchronization and frequency synchronization on the local clock and the awakening optical signal;
setting the bit rate of the receiving end according to the phase and the frequency of the synchronized local clock;
after the bit rate is set, powering on the electronic tag according to the awakening optical signal; the electronic tag is powered on only after receiving the awakening optical signal;
the receiving end is electrified and then sends a response optical signal to the sending end;
when the sending end monitors the response optical signal, the sending end sends a training sequence optical signal to the receiving end;
when the receiving end monitors the training sequence optical signal, the receiving end sends a response sequence optical signal to the sending end;
when the receiving end continuously monitors N training sequence optical signals and the sending end monitors N response sequence optical signals corresponding to the N training sequence optical signals which are continuously sent respectively, the sending end sends an optical communication signal to the receiving end to write information into the electronic tag;
wherein N is a natural number greater than or equal to 1; the receiving end is equipment with an electronic tag; the wake-up optical signal, the training sequence optical signal and the optical communication signal all comprise power-on signals for powering on the receiving end;
wherein, the light signal is a binary signal with a fixed period, the strong light signal represents "1", and the no light or dark light signal represents "0"; after the wake-up optical signal is monitored, acquiring the maximum amplitude of a previous sequence of optical signals adjacent to the optical signal, and calculating the average value of the maximum amplitudes of the sequence of optical signals;
adjusting the gain of the current photoelectric conversion and/or judging the threshold value of the current optical signal to be 1 or 0 based on the average value; the gain is inversely related to the average value, and the photoelectric conversion gain is adjusted to be small by adjusting the gain of the photoelectric conversion when the light intensity is overlarge, so that a stronger optical signal is adjusted to be a relatively smaller electric signal voltage, and the electric signal voltage is prevented from exceeding a highest threshold value during photoelectric conversion; conversely, when the light intensity is smaller, the photoelectric conversion gain is adjusted upwards, so that a weaker optical signal is adjusted to be a relatively larger electric signal voltage; the threshold value is positively correlated with the average value; and judging that the optical signal value is 1 or 0 based on the threshold, wherein the optical signal comprises the wake-up optical signal, the training sequence optical signal and the optical communication signal.
CN201710233823.2A 2017-04-11 2017-04-11 Optical communication method and optical communication system Active CN107180250B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710233823.2A CN107180250B (en) 2017-04-11 2017-04-11 Optical communication method and optical communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710233823.2A CN107180250B (en) 2017-04-11 2017-04-11 Optical communication method and optical communication system

Publications (2)

Publication Number Publication Date
CN107180250A CN107180250A (en) 2017-09-19
CN107180250B true CN107180250B (en) 2021-04-30

Family

ID=59831906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710233823.2A Active CN107180250B (en) 2017-04-11 2017-04-11 Optical communication method and optical communication system

Country Status (1)

Country Link
CN (1) CN107180250B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110531361B (en) * 2018-05-24 2022-09-16 凌宇科技(北京)有限公司 Signal processing method and device and computer readable storage medium
CN108766277A (en) * 2018-06-07 2018-11-06 南京云睿航天科技有限公司 It is a kind of to take the electronics price tag that communicated based on light
CN112332927A (en) * 2019-08-05 2021-02-05 华为技术有限公司 Control method and related product
JP7287500B2 (en) * 2019-12-16 2023-06-06 日本電信電話株式会社 Terminal device, communication method, and communication system
CN112511234B (en) * 2020-11-10 2022-05-20 南昌大学 Underwater single photon communication synchronous clock extraction method based on classification network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1408630A2 (en) * 2002-10-09 2004-04-14 Techem Development GmbH Optical Transmission Method
CN103477575A (en) * 2011-04-20 2013-12-25 富士通光器件株式会社 Detection device, light receiving device, detection method, and light receiving method
CN104408501A (en) * 2014-12-30 2015-03-11 桂林理工大学 Visible light passive optical charging tag and reader-writer device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0797811B1 (en) * 1994-12-13 1999-05-06 VALTAC, Alex Beaud Opto-electronic tag having an internal time base
US20040046787A1 (en) * 2001-06-01 2004-03-11 Attachmate Corporation System and method for screen connector design, configuration, and runtime access
EP1503528B1 (en) * 2003-04-03 2016-05-18 Mitsubishi Denki Kabushiki Kaisha Optical amplifier and optical communication system
CA2512710A1 (en) * 2004-08-11 2006-02-11 Tropic Networks Inc. Method and system for providing a signature signal in an optical networkin the event of loss of a client
EP2143141A4 (en) * 2007-04-18 2011-04-13 Invisage Technologies Inc Materials systems and methods for optoelectronic devices
CN101820318B (en) * 2010-04-23 2012-09-26 大连亿达信息技术有限公司 1Gbps ultra high-speed LED (light-emitting diode) optical communication control system and method
US9155166B2 (en) * 2012-12-18 2015-10-06 Cree, Inc. Efficient routing tables for lighting networks
CN104463298A (en) * 2014-12-30 2015-03-25 桂林理工大学 Charging and authentication identification method for passive visible light charging label and reader-writer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1408630A2 (en) * 2002-10-09 2004-04-14 Techem Development GmbH Optical Transmission Method
CN103477575A (en) * 2011-04-20 2013-12-25 富士通光器件株式会社 Detection device, light receiving device, detection method, and light receiving method
CN104408501A (en) * 2014-12-30 2015-03-11 桂林理工大学 Visible light passive optical charging tag and reader-writer device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
室内可见光通信中OFDM同步问题的研究;杨明;《信息科技辑》;20100815;I136-275 *

Also Published As

Publication number Publication date
CN107180250A (en) 2017-09-19

Similar Documents

Publication Publication Date Title
CN107180250B (en) Optical communication method and optical communication system
US8035488B2 (en) Information access system and active-type contactless information storage device
US7821397B2 (en) Information access system, reader/writer device, and active-type contactless information storage device
TWI474643B (en) Method and apparatus for reducing nfc multi-protocol polling duration and power consumption
KR101492948B1 (en) Near field commnunications device having adjustable gain
US11423239B2 (en) Integrated circuits and methods for protocol detection and decoding in near field communications
US20140218176A1 (en) Wireless communications using active modulation
JP5309765B2 (en) Information access system, information storage device, and read / write device
US20100142665A1 (en) Methods of Processing A Wireless Communication Signal, Wireless Communication Synchronization Methods, and A Radio Frequency Ideentification Device Communication Method
CA2914226C (en) Non-contact communication method determination circuit, non-contact communication circuit, and ic card
US9727767B2 (en) Clock synchronization in an RFID equipped device
US9336418B2 (en) System and method for polling NFC-A devices alongside RF barcode devices
US20150256324A1 (en) Systems and methods for timing recovery in near-field communication
JP2007067791A (en) Information access system, and reading writing apparatus for active type noncontact information storage device
WO2018187932A1 (en) Optical communication method and optical communication system
US20220141772A1 (en) Rf communication devices and operating methods
CN104850812B (en) A kind of energy-conservation card reading circuit of radio-frequency card, method and system
CN115189860A (en) Method and apparatus for data signal transmission in network device
JP2007065960A (en) Information access system and active-type noncontact information memory device
US7289571B1 (en) Method for contactless data transmission and transponder for a contactless data transmission system
JP4775774B2 (en) Wireless communication device, wireless communication method, and computer program
JP4031006B2 (en) Wireless communication system, wireless transmitter and wireless receiver
CN117687493A (en) Electronic tag capable of automatically switching dynamic and static modes

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: 20200819

Address after: 518000 2602, building 3, Chongwen Park, Zhiyuan, No. 3370, Liuxian Avenue, Fuguang community, Taoyuan Street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN ALUKSEN OPTOELECTRONICS Co.,Ltd.

Address before: Longhua new city streets and Cameron road Mei Road 518000 Guangdong city of Shenzhen province intersection Guanghao international center block A 20H

Applicant before: SHENZHEN ALUKSEN Co.,Ltd.

GR01 Patent grant
GR01 Patent grant