Visible ray passive light charging label and read-and-write device
Technical field
The invention belongs to technical field of visible light communication, particularly a kind of visible ray passive light charging label and read-and-write device.
Background technology
Along with the development of wireless communication technology, radio magnetic wave communications applications is more and more wider, but be meanwhile also encountered by a lot of problem: 1, along with wireless electromagnetic communications apparatus get more and more, channel resource is growing tension also, radio magnetic wave can frequency range also fewer and feweri; 2, due to invisibility and the penetrability of radio magnetic wave, it is made easily to be intercepted and captured, eavesdrop; 3, the place that closely instrument is many such as aircraft, hospital, the use of wireless electromagnetic communications apparatus is usually restricted; 4, wireless electromagnetic communications apparatus can produce electromagnetic radiation, electromagnetic interference (EMI), makes also can mutually disturb between equipment, and these radiation interference are also harmful simultaneously.
Visible light communication (Visible Light Communication, be called for short VLC) technology, utilize the luminaires such as LED to send modulation visible light signal with information exactly at transmitting terminal, receiving end utilizes lighting apparatus to receive modulation visible light signal to realize the method for radio communication.This technology is the new wireless communication technology be found in recent years, is used for supplementing even substituting at present other means by development, as technology such as: radio, infrared or laser communications, to solve the deficiency of these technology.
Visible light communication is different from the optical communication modes such as radio, infrared or laser: radio, infrared light be can't see, and the transmit direction of signal is clear and definite not, therefore has very large insecurity; Laser direction is strong, the little communication being applicable to opening freely, and laser power consumption is large simultaneously, little suitable Low Power Consumption Portable equipment.In addition, radio also can produce the harmful effect such as electromagnetic radiation, interference.
Visible light communication utilizes visible ray carrier wave, and equipment power dissipation is low, the impact such as electromagnetic-radiation-free, interference, in addition, the scope of visible spectrum is 10000 times of wireless electromagnetic wave spectrum, can as in short haul connection, supplements the preferred application scheme even substituting wireless device, infrared, laser etc.
Comprehensive above consideration, the present invention is under the inspiration of prior art, take full advantage of the visuality of visible light communication, tightness, the feature such as low in energy consumption, provide a kind of visible ray passive light charging label and read-and-write device, device is directly powered to equipment with wireless visible ray light, radio communication is realized with visible ray, provide the new thought method adopting optical functions, optical communication to design and produce little minitype portable equipment, allow visible light communication equipment can extensive popularization and application as magnetic card, various frivolous passive RFID.
Summary of the invention
The object of this invention is to provide a kind of visible ray passive light charging label and read-and-write device.
The present invention is achieved in that a kind of visible ray passive light charging label and read-and-write device, comprise read write line and optical label, read write line is made up of Read-write Catrol module, starter, power module, optical functions device, emitting light energy module, judging module, photelectric receiver, communication module and demodulating and decoding module; Optical label is made up of label control module, optical transmitting set, light charger, luminous energy receiver module, modulating-coding module and driver module; Wherein, label control module connects luminous energy receiver module, modulating-coding module, and luminous energy receiver module connects light charger, and driver module connects optical transmitting set, modulating-coding module; Read-write Catrol model calling starter, power module, emitting light energy module, communication module, demodulating and decoding module, power module connects starter, emitting light energy module, judging module, communication module, demodulating and decoding module, optical functions device connects emitting light energy module, and judging module connects photelectric receiver, demodulating and decoding module; Optical functions device is corresponding with light charger by visible ray charging carrier signal, and optical transmitting set is corresponding with photelectric receiver by visible ray information; Optical functions device and the corresponding of light charger and optical transmitting set are corresponding with photelectric receiver, operationally need to meet simultaneously.
Described read write line utilizes the mode of visible light communication, visible ray information is sent to optical label, electric energy is provided in the form of light to optical label, and the visible ray information received from optical label, with the data reading between realization with optical label or write operation, analyze, process, verify, store the information receiving optical label, carry out data communication with external unit.
Described Read-write Catrol module is used for carrying out function control to each module of read write line, read-write, storage data, analyzing and processing, verify the optical label information received, signal is sent to emitting light energy module, control emitting light energy module and optical functions device transmission visible ray charging carrier signal, and carry out exchanges data by communication module and external unit.
Described starter is used for the triggering of sensor light label, and when starter is triggered in the perform region having optical label to enter into read write line, starter sends enabling signal to power module, allows power module be each module for power supply of read write line; Starter has machinery to trigger and photoelectricity triggers two kinds of modes: 1) machinery triggers, and outer portion applies strength and opens, and adopts mechanical trigger circuit to realize; 2) photoelectricity triggers, and utilizes pyroelectricity sensing, infrared external reflection sensing to realize starting triggering.
Described power module for receiving the enabling signal of starter, and provides electric energy to each functional module of read write line.
The information that Read-write Catrol module is sent by described emitting light energy module, carries out modulating-coding, and by the information after modulating-coding, exciting light charger sends visible ray charging carrier signal.
Described optical functions device is under the excitation of emitting light energy module, send visible ray charging carrier signal, visible ray charging carrier signal, except providing the luminous energy of enough optical label work, also carries the visible ray carrier information of modulation, can send the information of visible ray form to optical label.
Described photelectric receiver for responding to the visible ray information received from optical label, and converts corresponding electric signal to.
Described judging module, for receiving the electric signal after from photelectric receiver conversion, converts digital signal to.
Described demodulating and decoding module is used for the digital signal exported judging module, carries out demodulation, decoding, and exports to Read-write Catrol resume module.
Described communication module is used for setting up with external unit communicating, and external device sends data, receives the data of external unit, realizes data interaction, mechanism controls.
Described optical label is powered by the luminous energy obtained from read write line and works on power, in the mode of visible light communication, visible ray information is sent to read write line, receive the visible ray charging carrier signal from read write line, read or write operation with the information realized between read write line, analyze, verify, store, process the information receiving read write line.
Described label control module is used for carrying out function control to each module of optical label, read-write, storage data, the read write line data message that analyzing and processing receives, and exports information to be sent to modulating-coding module.
Described smooth charger receives visible ray that the optical functions device from read write line sends and to charge carrier signal, and is converted into corresponding electric signal; Meanwhile, also external environment visible ray is responded to, for the supplementary supply of optical label energy.
Described luminous energy receiver module mainly comprises two functions: the visible ray charging carrier signal 1) received from light charger and external environmental light are converted into corresponding electric signal, collect and are converted into electric energy, as power supply for each module of optical label provides electric energy; 2) extract the information of loading from demodulation the corresponding electric signal receiving conversion, and be converted into digital signal, export to optical label control module and be for further processing.
Described modulating-coding module is encoded to the various information that label control module is sent, and is modulated into the signal of applicable wireless optical channel transmission.
Described driver module is used for the signal sent according to modulating-coding module, drives optical transmitting set to send visible ray information.
Described optical transmitting set is used under the effect of driver module, sends visible ray information.
Visible ray passive light charging label of the present invention and filling of read-and-write device are powered and Starting mode, and step is as follows:
After P1, read write line power on, enter holding state, the power module of read write line is only for starter is powered.
P2, when optical label triggers after starter, read write line enters duty, and power module is each module for power supply of read write line.
After the optical functions device of P3, read write line, emitting light energy module power on, optical functions device is luminous by the frequency of setting, to the luminous energy that optical label provides.
The light that P4, optical label are sent by light charger induction light charger, and convert the electric signal of respective frequencies to, when the identifiable design frequency of luminous energy receiver module is consistent with the glow frequency of optical functions device, the electric signal that light charger exports by luminous energy receiver module is collected and is converted into electric energy, and to other module for power supply of optical label, each module is worked on power; The light charger of optical label, luminous energy receiver module, simultaneously also from external environmental light, obtain energy.
Visible ray passive light charging label of the present invention and read-and-write device, the communication pattern of optical label and read write line has half-duplex and full duplex two kinds: 1, under half-duplex mode, read write line and optical label replace transmitting and receiving data, two channels can not disturb mutually, the visible light wave range of uplink and downlink communication channel can overlapping, cover; 2, under full-duplex communication, read write line is registered to the downlink communication channel of optical label and cursor the uplink communication channel of read write line, respectively by the visible ray carrier wave of signal loading at two groups of different-wavebands, make the visible light wave range of uplink communication channel not have overlapping with the visible light wave range of downlink communication channel, thus ensure that two channels can not disturb mutually.
Visible ray passive light charging label of the present invention and read-and-write device, optical label enters into read write line perform region, and trigger starter, obtain electric energy from read write line, after optical label and each module of read write line all work on power, both communication is divided into following two processes:
(1) optical label sends visible ray information to read write line, and read write line receives the visible ray information from optical label:
In optical label end: S1, label control module, information to be sent is inputed to modulating-coding module; The information that S2, modulating-coding module export label control module, after carrying out modulating, encoding, and outputs to driver module; S3, driver module, according to the information through modulating-coding, drive optical transmitting set to send visible ray information.
Receive the visible ray information sent from optical label light emitter at read write line end: R1, photelectric receiver, and convert corresponding electric signal to; R2, the analog electrical signal changed by photelectric receiver by judging module again, convert corresponding digital signal to, and output to demodulating and decoding module; Digital signal is carried out demodulating and decoding by R3, demodulating and decoding module, converts original information to and exports Read-write Catrol module to; The information that R4, Read-write Catrol module export demodulating and decoding module, carries out analyzing and processing.
(2) read write line sends visible ray charging carrier signal to optical label, and optical label receives the visible ray charging carrier signal from read write line:
In read write line end: S1, Read-write Catrol module, information to be sent is inputed to emitting light energy module; S2, emitting light energy module carry out modulating-coding to the information that Read-write Catrol module exports; S3, optical functions device, according to the information through emitting light energy module modulating-coding, send the visible ray charging carrier signal of the information that carries.
Receive at optical label end: R1, light charger the visible ray charging carrier signal sent from read write line glazing charger, convert corresponding electric signal to; R2, luminous energy receiver module to receive and the electric signal changed from light charger, and demodulating and decoding extracts the information being carried in visible ray charging carrier signal, and is converted into corresponding digital signal; The information that R3, label control module export luminous energy receiver module, carries out analyzing and processing.
Visible ray passive light charging label of the present invention and read-and-write device, the mode that optical label and read write line set up communication link is as follows:
After optical label and each module of read write line all power on normal work, first set up communication link by two-way identification authentication mode, step is:
L1: optical label sends a data RB to read write line.
L2: after read write line receives data RB, read write line adopts verify data MR and algorithm FunM (x) of internal storage, obtain RB1 to after data RB process, a data RA of RB1 and read write line forms ANS AB, and sends a reply data ANS AB to optical label.
L3: after optical label receives ANS AB, RB1 is extracted from ANS AB, with the verify data MK in optical label and algorithm DFunM (x), RB1 part in ANS AB is resolved and obtains RB2, and verify ANS AB that in the data RB that sent by the optical label of L1 and step L3, optical label receives resolve in RB2, whether consistent, that is: whether RB equals RB2.If read write line verify data MR and algorithm FunM (x) and the verify data MK in optical label and algorithm DFunM (x), match, will have RB=RB2, namely verification correctly, enters L4; Otherwise cannot, by verification, stop to establish the link.
L4: if the verification of RB=RB2 is correct in L3, then obtain RA1 after the data MK of optical label internal storage and algorithm DFunM (x) carry out calculation process to RA, and generate reply data ANS BA with RA1, then send ANS BA to read write line.
L5: after read write line receives reply data ANS BA, to resolve the RA1 in reply data ANS BA with the verify data MR deposited in read write line and algorithm FunM (x) and obtains RA2; And the RA2 verified in the ANS BA that the data RA that sent out by read write line in L2 and read write line receive, whether consistent, that is: whether RB equals RB2; If read write line verify data MR and algorithm FunM (x) and the verify data MK in optical label and algorithm DFunM (x), match, will have RA=RA2, namely verification correctly, sets up communication link; Otherwise cannot, by verification, stop to establish the link.
Visible ray passive light charging label of the present invention and read-and-write device, the principle that optical label, design of read write system make: 1, ensure that the photelectric receiver of read write line in use can receive while optical label optical transmitting set sends visible ray information, the light charger of optical label can receive the visible ray charging carrier signal that the optical functions device from read write line sends; 2, the light charger of optical label is under the prerequisite meeting principle 1, can by the area covering of light charger other positions to optical label, to expand the photosensitive area of optical label, make optical label can outside read write line optical functions device, obtaining luminous energy, is optical label supplementary power.
Visible ray passive light charging label of the present invention and read-and-write device, optical label, read write line provide following two kinds of modes of operation:
(1) when using, optical label adopts the manually hand-held mode as brush magnetic card, or the mode that machinery drives, and enters read write line; , namely there is the one side of optical transmitting set, light charger in the front of optical label, towards the one side of read write line optical functions device, photelectric receiver; When optical label is through starter, trigger starter, each module of read write line powers on, and enters duty, and optical functions device, under the excitation of emitting light energy module, sends visible ray charging carrier signal; Optical label is in the process of swiping the card, and the luminous energy obtained from read write line is powered and works on power, and communicates with read write line.
(2) user is by optical label near read write line, and starter has sensed that optical label is close, and starter triggers, and each module of read write line powers on, and enters duty, and optical functions device, under the excitation of emitting light energy module, sends visible ray charging carrier signal; Optical label, under the illumination of visible ray charging carrier signal and external ambient light, obtains luminous energy and powers and work on power, and to communicate with read write line.
The optical label Power supply of apparatus of the present invention and the exchanges data between optical label and read write line, all have employed the light of visible light wave range as carrier, employing visible light communication technology realizes clock synchronous, exchanges data etc. between optical label and read write line, simultaneously with communication visible ray and external environmental light be that optical label is powered, be different from optical fiber, infrared, radio communication completely, active, passive RFID, magnetic card etc.The visible ray tool that make use of of the present invention is visual, tightness, low in energy consumption, electromagnetic-radiation-free, interference, not by features such as electromagnetic interference (EMI), environmental protection, provides and a kind of adopts optical functions, optical communication designs and produces little minitype portable identification, payment devices device, allows visible light communication equipment can extensive popularization and application as magnetic card, various frivolous passive RFID.
Accompanying drawing explanation
Fig. 1 is the optical label of the embodiment of the present invention and the structured flowchart of read write line.
Fig. 2 is the front appearance schematic diagram of the optical label of the embodiment of the present invention.
Fig. 3 is the front appearance schematic diagram of the optical label of the embodiment of the present invention.
Fig. 4 is the sectional view of the read write line of the embodiment of the present invention.
Fig. 5 is the operation chart of the mode of operation 1 of the embodiment of the present invention.
Mark in figure: 1-optical label; 2-optical transmitting set; 3-light charger; 4-read write line; 5-photelectric receiver; 6-starter; 7-optical functions device; 8-emitting light energy module; 9-judging module; 10-driver module; 11-luminous energy receiver module; 12-modulating-coding module; 13-power module; 14-communication module; 15-label control module; 16-visible ray information; 17-visible ray charging carrier signal; 18-demodulating and decoding module; 19-Read-write Catrol module.
Embodiment
embodiment:
Visible ray passive light charging label of the present invention and read-and-write device, discussed by an embodiment.The device of the present embodiment is made up of optical label 1, read write line 4, and structural representation is shown in accompanying drawing 1.
Described read write line 4 is made up of Read-write Catrol module 19, starter 6, power module 13, optical functions device 7, emitting light energy module 8, judging module 9, photelectric receiver 5, communication module 14, demodulating and decoding module 18; Optical label 1 is made up of label control module 15, optical transmitting set 2, light charger 3, luminous energy receiver module 11, modulating-coding module 12, driver module 10; Wherein, label control module 15 connects luminous energy receiver module 11, modulating-coding module 12, and luminous energy receiver module 11 connects light charger 3, and driver module 10 connects optical transmitting set 2, modulating-coding module 12; Read-write Catrol module 19 connects starter 6, power module 13, emitting light energy module 8, communication module 14, demodulating and decoding module 18, power module 13 connects starter 6, emitting light energy module 8, judging module 9, communication module 14, demodulating and decoding module 18, optical functions device 7 connects emitting light energy module 8, and judging module 9 connects photelectric receiver 5, demodulating and decoding module 18; Optical functions device 7 is corresponding with light charger 3 by visible ray charging carrier signal 17, and optical transmitting set 2 is corresponding with photelectric receiver 5 by visible ray information 16; Optical functions device 7 and the corresponding of light charger 3 and optical transmitting set 2 are corresponding with photelectric receiver 5, operationally need to meet simultaneously.
Described read write line 4 utilizes the mode of visible light communication, visible ray information is sent to optical label 1, there is provided electric energy in the form of light optical label 1, and the visible ray information 16 received from optical label 1, with the data reading between realization with optical label 1 or write operation, analyze, process, verify, store the information receiving optical label 1, carry out data communication with external unit.
Described Read-write Catrol module 19 is for carrying out function control to each module of read write line 4, read-write, storage data, analyzing and processing, verify optical label 1 information received, signal is sent to emitting light energy module 8, control emitting light energy module 8 and optical functions device 7 send visible ray charging carrier signal 17, and carry out exchanges data by communication module 14 and external unit.
Described starter 6 is for the triggering of sensor light label 1, and when starter 6 is triggered in the perform region having optical label 1 to enter into read write line 4, starter 6 sends enabling signal to power module 13, allows power module 13 be each module for power supply of read write line 4; Starter 6 has machinery to trigger and photoelectricity triggers two kinds of modes 1) machinery triggering, outer portion applies strength and opens, and adopts the mechanical trigger circuit such as touch-switch, travel switch to realize; 2) photoelectricity triggers, and utilizes pyroelectricity sensing, infrared external reflection sensing to realize starting triggering.
Described power module 13 for receiving the enabling signal of starter 6, and provides electric energy to each functional module of read write line 4.
The information that Read-write Catrol module 19 is sent by described emitting light energy module 8, carries out modulating-coding, and by the information after modulating-coding, exciting light charger 7 sends visible ray charging carrier signal 17.
Described optical functions device 7 is under the excitation of emitting light energy module 8, send visible ray charging carrier signal 17, the luminous energy that visible ray charging carrier signal 17 works except providing enough optical labels 1, also carry the visible ray carrier information through ovennodulation, the information of visible ray form can be sent to optical label 1.
Described photelectric receiver 5 for responding to the visible ray information 16 received from optical label 1, and converts corresponding electric signal to.
Described judging module 9, for receiving the electric signal after changing from photelectric receiver 5, converts digital signal to.
Described demodulating and decoding module 18, for the digital signal exported judging module 9, carries out demodulation, decoding, and exports to Read-write Catrol module 19 and process.
Described communication module 14 communicates for setting up with external unit, and external device sends data, receives the data of external unit, realizes data interaction, mechanism controls.
Described optical label 1 is powered by the luminous energy obtained from read write line 4 and works on power, in the mode of visible light communication, visible ray information 16 is sent to read write line 4, receive the visible ray charging carrier signal 17 from read write line 4, read or write operation with the information realized between read write line 4, analyze, verify, store, process the information receiving read write line 4.
Described label control module 15, for carrying out function control to each module of optical label 1, is read and write, is stored data, the data message of the read write line 4 that analyzing and processing receives, and export information to be sent to modulating-coding module 12.
Described smooth charger 3 receives the visible ray charging carrier signal 17 that the optical functions device 7 from read write line 4 sends, and is converted into corresponding electric signal; Meanwhile, can also respond to external environment visible ray, the energy supplement for optical label 1 supplies.
Described luminous energy receiver module 11, mainly contains two functions: the visible ray charging carrier signal 17 1, received from light charger 3 is converted into corresponding electric signal, collects and is converted into electric energy, as power supply for each module of optical label 1 provides electric energy; 2, extract from demodulation the corresponding electric signal receiving conversion the information be carried in visible ray charging carrier signal 17, and be converted into digital signal, export to label control module 15 and be for further processing.
The various information that described modulating-coding module 12 pairs of label control modules 15 are sent are encoded, and are modulated into the signal of applicable wireless optical channel transmission.
The signal of described driver module 10 for sending according to modulating-coding module 12, drives optical transmitting set 2 to send visible ray information 16.
Described optical transmitting set 2, under the effect of driver module 10, sends visible ray information 16.
(1) the visible ray passive light charging label described in and filling of read-and-write device are powered and Starting mode, and step is as follows:
After P1, read write line 4 power on, enter holding state, the power module 13 of read write line 4 is powered for starter 6;
P2, after optical label 1 triggers starter 6, read write line 4 enters duty, and power module 13 is each module for power supply of read write line;
After the optical functions device 7 of P3, read write line 4, emitting light energy module 8 power on, optical functions device 7 is luminous by the frequency of setting, to the luminous energy that optical label 1 provides;
The light that P4, optical label 1 are sent by light charger 3 induction light charger 7, and convert the electric signal of respective frequencies to, when the identifiable design frequency of luminous energy receiver module 8 is consistent with the glow frequency of optical functions device 7, the electric signal that light charger 3 exports by luminous energy receiver module 11 is collected and is converted into electric energy, and to other module for power supply of optical label 1, each module is worked on power; The light charger 3 of optical label 1, luminous energy receiver module 11, simultaneously also from external environmental light, obtain energy.
(2) optical label 1 described in and the communication pattern of read write line 4, there are half-duplex and full duplex two kinds: 1, under half-duplex mode, read write line 4 and optical label 1 replace transmitting and receiving data, and two channels can not disturb mutually, the visible light wave range of uplink and downlink communication channel can overlapping, cover; 2, under full-duplex communication, read write line 4 is registered to the downlink communication channel of optical label 1 and cursor the uplink communication channel of read write line, respectively by the visible ray carrier wave of signal loading at two groups of different-wavebands, make the visible light wave range of uplink communication channel not have overlapping with the visible light wave range of downlink communication channel, thus ensure that two channels can not disturb mutually.
(3) optical label 1 enters into read write line 4 perform region, and after triggering starter 6, obtain electric energy from read write line 4, after optical label 1 and each module of read write line 4 all work on power, both communication is divided into two processes:
1) optical label 1 sends visible ray information 16 to read write line 4, and read write line 4 receives the visible ray information 16 from optical label.
In optical label 1 end: S1, label control module 15, information to be sent is inputed to modulating-coding module 12; The information that S2, the modulating-coding module 12 pairs of label control modules 15 export, after carrying out modulating, encoding, and outputs to driver module 10; S3, driver module 10, according to the information through modulating-coding, drive optical transmitting set 2 to send visible ray information 16.
Receive the visible ray information 16 sent from optical label 1 light emitter 2 at read write line end: R1, photelectric receiver 5, and convert corresponding electric signal to; R2, the analog electrical signal changed by photelectric receiver 5 by judging module 9 again, convert corresponding digital signal to, and output to demodulating and decoding module 18; Digital signal is carried out demodulating and decoding by R3, demodulating and decoding module 18, converts original information to and exports Read-write Catrol module 19 to; The information that R4, Read-write Catrol module 19 pairs of demodulating and decoding modules 18 export, carries out analyzing and processing.
2) read write line 4 sends visible ray charging carrier signal 17 to optical label 1, and optical label 1 receives the visible ray charging carrier signal 17 from read write line 4.
In read write line 4 end: S1, Read-write Catrol module 19, information to be sent is inputed to emitting light energy module 8; S2, emitting light energy module carry out modulating-coding to the information that Read-write Catrol module 19 exports; S3, optical functions device 7, according to the information through emitting light energy module 8 modulating-coding, send the visible ray charging carrier signal 17 of the information that carries.
Receive at optical label 1 end: R1, light charger 3 the visible ray charging carrier signal 17 sent from read write line 4 glazing charger 7, convert corresponding electric signal to; R2, luminous energy receiver module 11 to receive and the electric signal changed from light charger 3, and demodulating and decoding extracts the information 17 being carried in visible ray charging carrier signal, and is converted into corresponding digital signal; The information that R3, label control module 15 pairs of luminous energy receiver modules 11 export, carries out analyzing and processing.
(4) mode that the optical label 1 described in and read write line 4 set up communication link is as follows:
After optical label 1 and each module of read write line 4 all power on normal work, before read write line 4 and optical label 1 carry out normal exchanges data, first by two-way identification authentication mode, will set up communication link, step is:
L1: optical label 1 sends a data RB to read write line 4.
L2: after read write line 4 receives data RB, read write line 4 adopts verify data MR and algorithm FunM (x) of internal storage, obtain RB1 to after data RB process, a data RA of RB1 and read write line 4 forms ANS AB, and sends a reply data ANS AB to optical label 1.
L3: after optical label 1 receives ANS AB, RB1 is extracted from ANS AB, with the verify data MK in optical label 1 and algorithm DFunM (x), RB1 part in ANS AB is resolved and obtains RB2, and verify ANS AB that in the data RB that sent by the optical label 1 of L1 and step L3, optical label 1 receives resolve in RB2, whether consistent, that is: whether RB equals RB2.If read write line verify data MR and algorithm FunM (x) and the verify data MK in optical label 1 and algorithm DFunM (x), match, will have RB=RB2, namely verification correctly, enters L4; Otherwise cannot, by verification, stop to establish the link.
L4: if the verification of RB=RB2 is correct in L3, then optical label 1 obtains RA1 after carrying out calculation process with the data MK of internal storage and algorithm DFunM (x) to RA, and with RA1 generation reply data ANS BA, then send ANS BA to read write line 4.
L5: after read write line 4 receives reply data ANS BA, to resolve the RA1 in reply data ANS BA with the verify data MR deposited in read write line 4 and algorithm FunM (x) and obtains RA2; And the RA2 verified in the ANS BA that the data RA that sent out by read write line in L2 4 and read write line 4 receive, whether consistent, that is: whether RB equals RB2.If read write line 4 verify data MR and algorithm FunM (x) and the verify data MK in optical label 1 and algorithm DFunM (x), match, will have RA=RA2, namely verification correctly, sets up communication link; Otherwise cannot, by verification, stop to establish the link.
(6) optical label 1 described in, read write line 4 are in use, while the optical transmitting set 2 that the photelectric receiver 5 of read write line 4 can receive optical label 1 sends visible ray information 16, the light charger 3 of optical label 1 can receive the visible ray charging carrier signal 17 that the optical functions device 7 from read write line 4 sends.
(7) optical label described in, read write line provide following two kinds of modes of operation:
1), as shown in Figure 5, during use, optical label 1 in the direction of the arrow, adopts the manually hand-held mode as brush magnetic card, or the mode that machinery drives, and enters read write line 4., as Fig. 2,3, namely there is the one side of optical transmitting set 2, light charger 3 in the front of optical label 1, towards the one side of the optical functions device 7 of read write line 4, photelectric receiver 5.
When optical label 1 is through starter 6, trigger starter 6, each module of read write line 4 powers on, and enters duty, and optical functions device 7, under the excitation of emitting light energy module 8, sends visible ray charging carrier signal 17.
Optical label 1 is in the process of swiping the card, and the luminous energy obtained from read write line 4 is powered and works on power, and communicates with read write line 4.
2) user is by optical label 1 near read write line 4, and it is close that starter 6 has sensed that user holds optical label 1, and starter 6 triggers, the each module of read write line 4 powers on, enter duty, optical functions device 7, under the excitation of emitting light energy module 8, sends visible ray charging carrier signal 17.
Optical label 1, under the illumination of visible ray charging carrier signal 17 and external ambient light, obtains luminous energy from read write line 4 and external ambient light and powers and work on power, and communicate with read write line 4.