Method for sending data by light-triggered electronic tag and electronic tag
The ambient light signal is converted into voltage signals through photoelectric induction devices and compared, which solves the missed reading and intercepting problem of photo-triggered electronic tags in different lighting environments, reduces energy consumption and improves the accuracy of data transmission.
Patent Information
- Application Number
- CN202411288830.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2044-09-14
AI Technical Summary
Light-triggered electronic tags are prone to missed or intermittent reading under different lighting environments, and the energy consumption of passive electronic tags is large and difficult to effectively solve.
The photoelectric inductive device of the electronic tag converts the ambient light signal into a target voltage signal, judges its size and performs amplification operation, compares it based on the pre-configured reference voltage signal, determines whether data transmission is triggered, and adapts to the strength and weakness of different lighting environments.
It effectively reduces the power consumption of electronic tags, avoids missed reading and intermittent reading, and improves the accuracy of data transmission.
Smart Images

Figure CN118821810B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic tags, and in particular to a method, device, electronic tag and storage medium for light-triggered electronic tags to send data. Background Art
[0002] RFID (Radio Frequency Identification) technology is also known as electronic tag technology. Its basic working principle is to use the transmission characteristics of radio frequency signals and inductance or electromagnetic space coupling to realize automatic identification of the identified object. The RFID system mainly includes three parts: electronic tags, readers and computer application systems. Since electronic tags with light triggering function may be used in various lighting environments, the triggering work of electronic tags with light triggering function (for example, the work of sending data from electronic tags to readers) is affected by the lighting environment, which is prone to missed reading or cross-reading. For passive electronic tags, if the same triggering method is used in different lighting environments, it will cause energy waste.
[0003] Therefore, how to filter out the influence of ambient light on the operation of an electronic tag with a light triggering function and reduce the energy consumption of the electronic tag has become a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0004] In view of the above, the present application provides a method, device, electronic tag and storage medium for light-triggered electronic tag to send data, which aims to solve the above technical problems.
[0005] In a first aspect, the present application provides a method for light-triggered electronic tags to send data, the method comprising:
[0006] The photoelectric sensing device of the electronic tag converts the light signal of the current environment into a target voltage signal;
[0007] Determining whether the target voltage signal is greater than a preconfigured first ambient light reference voltage signal;
[0008] If not, amplifying the target voltage signal and comparing it with a pre-configured second ambient light reference voltage signal, and determining whether to trigger the electronic tag to send data to the reader / writer according to the comparison result;
[0009] If so, an amplification operation is performed on the target voltage signal to obtain an amplified target voltage signal, and the amplified target voltage signal is used as a sampling voltage signal to be compared with a real-time voltage amplification signal corresponding to the light currently irradiated on the electronic tag, and a determination is made based on the comparison result whether to trigger the electronic tag to send data to the reader / writer.
[0010] In a second aspect, the present application provides a device for light-triggered electronic tags to send data, the device comprising:
[0011] Conversion module: used to convert the light signal of the current environment into a target voltage signal through the photoelectric sensing device of the electronic tag;
[0012] A judging module: used to judge whether the target voltage signal is greater than a pre-configured first ambient light reference voltage signal;
[0013] The first sending module is used to, if the target voltage signal is less than or equal to the pre-configured first ambient light reference voltage signal, amplify the target voltage signal and compare it with the pre-configured second ambient light reference voltage signal, and determine whether to trigger the electronic tag to send data to the reader according to the comparison result;
[0014] The second sending module is used to amplify the target voltage signal to obtain an amplified target voltage signal if the target voltage signal is greater than a pre-configured first ambient light reference voltage signal, and use the amplified target voltage signal as a sampling voltage signal to compare with a real-time voltage amplification signal corresponding to the light currently irradiated on the electronic tag, and determine whether to trigger the electronic tag to send data to the reader / writer based on the comparison result.
[0015] In a third aspect, the present application provides an electronic tag, including a processing unit and a storage unit;
[0016] Wherein, the storage unit is used to store the program;
[0017] The processing unit is used to implement the method for light-triggered electronic tags to send data as described in the first aspect when executing the program stored in the storage unit.
[0018] In a fourth aspect, a storage medium is provided, on which a program is stored, and when the program is executed by a processing unit, the method for light-triggered electronic tags to send data as described in the first aspect is implemented.
[0019] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0020] The present application converts the light signal of the current environment into a target voltage signal through a photoelectric sensing device of an electronic tag with a light triggering function, and determines whether the target voltage signal is greater than a pre-configured first ambient light reference voltage signal. If not, the target voltage signal is amplified and compared with a pre-configured second ambient light reference voltage signal, and determines whether to trigger the electronic tag to send data to the reader / writer according to the comparison result; if greater, the target voltage signal is amplified to obtain an amplified target voltage signal, and the amplified target voltage signal is used as a sampling voltage signal, and compared with a real-time voltage amplification signal corresponding to the light currently irradiated on the electronic tag, and determines whether to trigger the electronic tag to send data to the reader / writer according to the comparison result. Since the size of the target voltage signal represents the intensity of the light currently irradiated on the electronic tag, when the electronic tag with a light triggering function is in different intensities of ambient light, different triggering conditions are used to trigger the electronic tag, which can reduce the power consumption of the electronic tag. And the target voltage signal is amplified and compared with different signal values for ambient light of different intensities, so that the influence of ambient light on the triggering of the electronic tag can be filtered out, which greatly avoids the occurrence of missed reading and cross-reading. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0022] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0023] Figure 1 This is a flow chart of an embodiment of a method for the present application to be applied to a light-triggered electronic tag to send data;
[0024] Figure 2 is a schematic diagram of a first light detection circuit according to an embodiment of the present application;
[0025] Figure 3 is a schematic diagram of a second light detection circuit according to an embodiment of the present application;
[0026] Figure 4 This is a module diagram of an embodiment of a device for light-triggered electronic tags to send data according to the present application;
[0027] Figure 5 A schematic diagram of an embodiment of an electronic tag of the present application;
[0028] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0030] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0031] The present application provides a method for light-triggered electronic tags to send data. Figure 1 , which is a schematic diagram of a method flow of an embodiment of the method for sending data by a light-triggered electronic tag according to the present application. The method can be executed by an electronic tag (for example, an electronic tag), and the electronic tag can be implemented by software and / or hardware. The method for sending data by a light-triggered electronic tag includes:
[0032] Step S10: converting the light signal of the current environment into a target voltage signal through the photoelectric sensing device of the electronic tag;
[0033] Step S20: determining whether the target voltage signal is greater than a pre-configured first ambient light reference voltage signal;
[0034] Step S30: if not, amplify the target voltage signal and compare it with a pre-configured second ambient light reference voltage signal, and determine whether to trigger the electronic tag to send data to the reader / writer according to the comparison result;
[0035] Step S40: If yes, perform an amplification operation on the target voltage signal to obtain an amplified target voltage signal, use the amplified target voltage signal as a sampled voltage signal, and compare it with a real-time voltage amplification signal corresponding to the light currently irradiating the electronic tag (which may include at least one of ambient light and trigger light), and determine whether to trigger the electronic tag to send data to the reader based on the comparison result.
[0036] The electronic tag in this embodiment is a light-triggered electronic tag, which includes a light detection circuit that detects light signals and converts them into electrical signals, and processes the electrical signals to determine whether to trigger the electronic tag to send tag information including the ID number to the reader.
[0037] The light detection circuit includes a photoelectric sensing device, which can be combined with other circuits of the electronic tag or separated from other circuits. The photoelectric sensing device is used to convert the optical signal of the current environment in which the electronic tag is located into an electrical signal. It is understandable that the electronic tag can be used in a variety of different usage scenarios. For example, the position of the reader can be fixed, and the electronic tag is mobile compared to the reader. The light intensity of each application scenario can be variable, and the light that triggers the electronic tag to work (also called the trigger light of the electronic tag) can be configured to be emitted according to the usage scenario. For example, the trigger light can be emitted by the reader in conjunction with instructions, or it can be controlled by other controllers. It can also be that when the electronic tag is exposed to a predetermined light setting area, the relevant emitting device is automatically triggered to emit the trigger light. Therefore, the light in the current environment in which the electronic tag is located (i.e., the light currently irradiated on the electronic tag) may include at least one of ambient light and trigger light. It is understandable that the ambient light can include natural light and / or light.
[0038] The photoelectric sensing device is located on the front and / or back of the electronic tag. The photoelectric sensing device can be one or more and can be located on the front and / or back of the tag. As long as one photoelectric sensing device receives light and generates a triggering electrical signal, the needs of practical applications can be met. The photoelectric sensing device includes at least one of a photodiode, a phototransistor, a photoresistor, a photodetector, and a photomultiplier tube.
[0039] The photoelectric sensing device converts the light signal of the current environment into an electrical signal (recorded as a target voltage signal), and determines whether the target voltage signal is greater than a pre-configured ambient light reference voltage signal (recorded as a first ambient light reference voltage signal). The ambient light reference voltage signal can be set according to the application scenario of the electronic tag. The ambient light reference voltage signal is used to compare with the target voltage signal to determine the intensity of the light in the current environment in which the electronic tag is located. For example, if the target voltage signal is greater than the first ambient light reference voltage signal, it means that the light in the current environment in which the electronic tag is located is strong. If the target voltage signal is less than the ambient light reference voltage signal, it means that the light in the current environment in which the electronic tag is located is weak.
[0040] Since the electronic tag of this embodiment does not have its own power supply or an external power supply, the electric energy required for the electronic tag to work can be emitted by the reader and the electronic tag collects the energy of the electromagnetic waves to work, so it is necessary to use as few circuits as possible to participate in the work to reduce the power consumption of the electronic tag. To this end, when the target voltage signal is less than or equal to the ambient light reference voltage signal, the target voltage signal is amplified and then compared with the ambient light reference voltage signal, and it is determined whether to trigger the electronic tag to send data to the reader according to the comparison result. For example, when the amplified target voltage signal is greater than the ambient light reference voltage signal, an enable signal is output to trigger the electronic tag to send data to the reader. If the amplified target voltage signal is less than the ambient light reference voltage signal, a low level is output, and the electronic tag will not send data to the reader. The amplification operation can be implemented by an operational amplifier, and the comparison operation can be implemented by a comparator (for example, a hysteresis comparator). A small amount of electronic components are configured in the light detection circuit to reduce the power consumption of the electronic tag.
[0041] Specifically, the above step of "amplifying the target voltage signal and comparing it with a pre-configured second ambient light reference voltage signal, and determining whether to trigger the electronic tag to send data to the reader according to the comparison result" specifically includes:
[0042] Performing an amplification operation on the target voltage signal to obtain an amplified target voltage signal;
[0043] Comparing the amplified target voltage signal with the second ambient light reference voltage signal to obtain a first comparison result;
[0044] If, in the first comparison result, the second ambient light reference voltage signal is less than the amplified target voltage signal, an enable signal is output to the digital baseband to trigger the electronic tag to send data to the reader / writer.
[0045] like Figure 2 As shown, it is a schematic diagram of the first light detection circuit of the embodiment of the present application. When the target voltage signal is less than or equal to the ambient light reference voltage signal (that is, when the light in the current environment of the electronic tag is weak), the electronic tag is triggered to send data to the reader through the circuit. Specifically, when the light in the current environment of the electronic tag shines on the photoelectric sensing device, the photoelectric sensing device converts the light signal into a voltage signal (that is, the target voltage signal mentioned above). The target voltage signal is input to the inverting input terminal of the operational amplifier, and the voltage input to the non-inverting input terminal of the operational amplifier is the pre-configured first ambient light reference voltage signal (that is, Figure 2 V ref1 ), after the operational amplifier amplifies the target voltage signal, the amplified target voltage signal is obtained ( Figure 2 V out1), the amplified target voltage signal is input to the comparator, and another input signal of the comparator is a pre-configured second ambient light reference voltage signal (i.e. Figure 2 V ref2 ), the first comparison result is used to indicate the magnitude relationship between the amplified target voltage signal and the ambient light reference voltage signal. If the ambient light reference voltage signal is smaller than the amplified target voltage signal, the comparator will output a high level as an enable signal, which can trigger the electronic tag to send data (for example, an ID number) to the reader / writer.
[0046] Further, the amplified target voltage signal is compared with the ambient light reference voltage signal to obtain a first comparison result, and further includes:
[0047] If, in the first comparison result, the ambient light reference voltage signal is greater than the amplified target voltage signal, a low level is output, and the electronic tag will not send data to the reader / writer at this time. Figure 2 The first light detection circuit shown is suitable for the scenario of "the trigger light is strong and the ambient light is weak". In this scenario, the feedback resistor R f The value is fixed. The trigger light induces a large electrical signal on the photoelectric sensing device. The circuit does not need to adjust the amplification factor to trigger the electronic tag.
[0048] The first light detection circuit is also suitable for the scenario of "weak trigger light and weak ambient light". In this scenario, the feedback resistor R f The value of is adjustable. When the trigger light is weak, the target voltage signal generated will also be smaller. Therefore, the value of R f The resistance value is used to change the amplification factor so that the target voltage signal meets the need to trigger the electronic tag. f It is schematic. In practical applications, R f It can be multiple resistors connected in series, and the number of connected resistors is controlled by an electronic switch to adjust the feedback resistance value R f resistance value.
[0049] When the target voltage signal is greater than the ambient light reference voltage signal, the target voltage signal is amplified to obtain an amplified target voltage signal, and the amplified target voltage signal is used as a sampling voltage signal, and compared with the real-time voltage amplification signal corresponding to the light currently irradiated on the electronic tag (which may include at least one of the ambient light and the trigger light), and whether to trigger the electronic tag to send data to the reader is determined based on the comparison result. For example, if the sampling voltage signal is less than the real-time voltage amplification signal, an enable signal is output to trigger the electronic tag to send data to the reader, and if the sampling voltage signal is greater than the real-time voltage amplification signal, a low level is output, and the electronic tag will not send data to the reader. The amplification operation can be implemented by an operational amplifier, the sampling voltage signal can be obtained by a sample holder, and the comparison operation can be implemented by a comparator. Configuring a small number of electronic components in the light detection circuit can reduce the power consumption of the electronic tag.
[0050] Specifically, the above step of "using the amplified target voltage signal as a sampled voltage signal, comparing it with the real-time voltage amplified signal corresponding to the light currently irradiated on the electronic tag, and determining whether to trigger the electronic tag to send data to the reader / writer according to the comparison result" specifically includes:
[0051] Using the amplified target voltage signal as a sampling voltage signal through a clock signal;
[0052] Read the real-time voltage amplification signal corresponding to the light currently irradiating the electronic tag;
[0053] Comparing the sampled voltage signal with the real-time voltage amplified signal to obtain a second comparison result;
[0054] If, in the second comparison result, the sampled voltage signal is smaller than the real-time voltage amplified signal, an enable signal is output to the digital baseband to trigger the electronic tag to send data to the reader / writer.
[0055] like Figure 3 , which is a schematic diagram of the second light detection circuit of the embodiment of the present application. When the target voltage signal is greater than the ambient light reference voltage signal (i.e., when the light in the current environment where the electronic tag is located is strong), the second light detection circuit is used to trigger the electronic tag to send data to the reader. Specifically, when the light in the current environment where the electronic tag is located is irradiated on the photoelectric sensing device, the photoelectric sensing device converts the light signal into a voltage signal (i.e., the target voltage signal mentioned above). The target voltage signal is input to the inverting input terminal of the operational amplifier, and the voltage input to the non-inverting input terminal of the operational amplifier is the pre-configured ambient light reference voltage signal ( Figure 3 V ref ), after the operational amplifier amplifies the target voltage signal, the amplified target voltage signal is obtained ( Figure 3 V out2), the amplified target voltage signal is input into the sample and hold device, and the sample and hold device uses the amplified target voltage signal as the sampling voltage signal through the clock signal. The output end of the sample and hold device can keep the sampling voltage signal unchanged until the next sampling time comes. The sampling voltage signal is input into the comparator, and the real-time voltage amplification signal corresponding to the light currently irradiated on the electronic tag is read (also V out2 ) is used as the input signal of the comparator. When the trigger light shines on the photoelectric sensor, V out2 Compared with the V out2 becomes larger (that is, when the trigger light shines on the photoelectric sensor, V out2 , which is greater than V when no trigger light is irradiated on the photoelectric sensor device out2 ), since the sampled voltage signal is less than the real-time voltage amplification signal at this time, the comparator will output a high level as an enable signal to trigger the electronic tag to send data to the reader. Among them, EN represents the enable signal, CLK represents the clock signal, and S_H represents the sample holder. The sample holder is used to sample the signal instantaneously and keep the sampled signal unchanged for a short time after sampling.
[0056] Furthermore, the step of comparing the sampled voltage signal with the real-time voltage amplified signal to obtain a second comparison result further includes:
[0057] If, in the second comparison result, the sampled voltage signal is greater than the real-time voltage amplified signal, a low level is output, and the electronic tag will not send data to the reader / writer at this time. Figure 3 The second light detection circuit shown is suitable for the scenario of "strong trigger light and strong ambient light". In this scenario, the feedback resistor R f The value of is fixed. Ambient light can induce interference signals on the photoelectric sensing device. Since the electrical signal of ambient light is useless for triggering the electronic tag, it is only necessary to detect the electrical signal part that increases after the trigger light is irradiated.
[0058] The second light detection circuit is also suitable for the scenario of "weak trigger light and strong ambient light". In this scenario, the feedback resistor value R f The value of is adjustable. When the trigger light is weak, the signal generated by the photoelectric sensor will also be small. Therefore, the value of R f The value of changes the amplification factor. Ambient light can induce interference signals on the photoelectric sensing device. Since the electrical signal of ambient light is useless for triggering the electronic tag, the electrical signal of the triggering light is increased by the amplification factor, thereby filtering out the influence of ambient light to meet the working requirements of the electronic tag.
[0059] Reference Figure 4 , which is a schematic diagram of functional modules of the device 100 used in the present application for light-triggered electronic tags to send data.
[0060] The device 100 for sending data by light-triggered electronic tags described in the present application can be installed in the electronic tags. According to the functions to be implemented, the device 100 for sending data by light-triggered electronic tags may include a conversion module 110, a judgment module 120, a first sending module 130 and a second sending module 140. The module described in the present application may also be referred to as a unit, which refers to a series of program segments that can be executed by the electronic tag processing unit and can complete fixed functions, which are stored in the storage unit of the electronic tag. In addition to being a program segment, the module of the present application may also be a module containing hardware logic devices.
[0061] In this embodiment, the functions of each module / unit are as follows:
[0062] Conversion module 110: used to convert the light signal of the current environment into a target voltage signal through the photoelectric sensing device of the electronic tag;
[0063] Determination module 120: used to determine whether the target voltage signal is greater than a pre-configured first ambient light reference voltage signal;
[0064] The first sending module 130 is used to amplify the target voltage signal and compare it with the pre-configured second ambient light reference voltage signal if the target voltage signal is less than or equal to the pre-configured ambient light reference voltage signal, and determine whether to trigger the electronic tag to send data to the reader / writer according to the comparison result;
[0065] The second sending module 140 is used to amplify the target voltage signal to obtain an amplified target voltage signal if the target voltage is greater than a pre-configured ambient light reference voltage signal, and use the amplified target voltage signal as a sampling voltage signal to compare with a real-time voltage amplification signal corresponding to the light currently irradiating the electronic tag, and determine whether to trigger the electronic tag to send data to the reader / writer based on the comparison result.
[0066] In one embodiment, the amplifying operation is performed on the target voltage signal and then compared with a pre-configured second ambient light reference voltage signal, and determining whether to trigger the electronic tag to send data to the reader / writer according to the comparison result, comprises:
[0067] Performing an amplification operation on the target voltage signal to obtain an amplified target voltage signal;
[0068] Comparing the amplified target voltage signal with the ambient light reference voltage signal to obtain a first comparison result;
[0069] If, in the first comparison result, the ambient light reference voltage signal is less than the amplified target voltage signal, an enable signal is output to the digital baseband to trigger the electronic tag to send data to the reader / writer.
[0070] In one embodiment, the step of comparing the amplified target voltage signal with the ambient light reference voltage signal to obtain a first comparison result further includes:
[0071] If in the first comparison result, the ambient light reference voltage signal is greater than the amplified target voltage signal, a low level is output.
[0072] In one embodiment, the amplified target voltage signal is used as a sampled voltage signal, and compared with a real-time voltage amplified signal corresponding to the light currently irradiated on the electronic tag, and determining whether to trigger the electronic tag to send data to the reader according to the comparison result, includes:
[0073] Using the amplified target voltage signal as a sampling voltage signal through a clock signal;
[0074] Read the real-time voltage amplification signal corresponding to the light currently irradiating the electronic tag;
[0075] Comparing the sampled voltage signal with the real-time voltage amplified signal to obtain a second comparison result;
[0076] If, in the second comparison result, the sampled voltage signal is smaller than the real-time voltage amplified signal, an enable signal is output to the digital baseband to trigger the electronic tag to send data to the reader / writer.
[0077] In one embodiment, the comparing the sampled voltage signal with the real-time voltage amplified signal to obtain a second comparison result further includes:
[0078] If, in the second comparison result, the sampled voltage signal is greater than the real-time voltage amplified signal, a low level is output.
[0079] In one embodiment, the photoelectric sensing device is located on the front side and / or the back side of the electronic tag.
[0080] In one embodiment, the photoelectric sensing device includes at least one of a photodiode, a phototransistor, a photoresistor, a photodetector, and a photomultiplier tube.
[0081] Reference Figure 5 , which is a schematic diagram of a preferred embodiment of the electronic tag of the present application.
[0082] The electronic tag includes a processing unit 111, a storage unit 112 and a communication bus 113, wherein the processing unit 111 and the storage unit 112 communicate with each other via the communication bus 113;
[0083] The storage unit 112 is used to store programs, for example, a program used to trigger the light-triggered electronic tag to send data;
[0084] Figure 5 Only an electronic tag having components 111 - 113 is shown, but it should be understood that implementation of all of the components shown is not required, and more or fewer components may be implemented instead.
[0085] In one embodiment of the present application, the processing unit 111 is used to execute the program stored in the storage unit 112 to implement the method for light-triggered electronic tag to send data provided by any of the above method embodiments, including:
[0086] The photoelectric sensing device of the electronic tag converts the light signal of the current environment into a target voltage signal;
[0087] Determining whether the target voltage signal is greater than a preconfigured first ambient light reference voltage signal;
[0088] If not, amplifying the target voltage signal and comparing it with a pre-configured second ambient light reference voltage signal, and determining whether to trigger the electronic tag to send data to the reader / writer according to the comparison result;
[0089] If so, an amplification operation is performed on the target voltage signal to obtain an amplified target voltage signal, and the amplified target voltage signal is used as a sampling voltage signal to be compared with a real-time voltage amplification signal corresponding to the light currently irradiated on the electronic tag, and a determination is made based on the comparison result whether to trigger the electronic tag to send data to the reader / writer.
[0090] For a detailed description of the above steps, please refer to the description of the flowchart of the above embodiment of the method for light-triggered electronic tags to send data.
[0091] In addition, the embodiment of the present application also proposes a storage medium, which can be non-volatile or volatile. The storage medium includes a data storage area and a program storage area, and the program storage area stores a program applied to the light-triggered electronic tag to send data. When the program applied to the light-triggered electronic tag to send data is executed by the processing unit, the following operations are implemented:
[0092] The photoelectric sensing device of the electronic tag converts the light signal of the current environment into a target voltage signal;
[0093] Determining whether the target voltage signal is greater than a preconfigured first ambient light reference voltage signal;
[0094] If not, amplifying the target voltage signal and comparing it with a pre-configured second ambient light reference voltage signal, and determining whether to trigger the electronic tag to send data to the reader / writer according to the comparison result;
[0095] If so, an amplification operation is performed on the target voltage signal to obtain an amplified target voltage signal, and the amplified target voltage signal is used as a sampling voltage signal to be compared with a real-time voltage amplification signal corresponding to the light currently irradiated on the electronic tag, and a determination is made based on the comparison result whether to trigger the electronic tag to send data to the reader / writer.
[0096] The specific implementation of the storage medium of the present application is substantially the same as the specific implementation of the above-mentioned method for light-triggered electronic tags to send data, and will not be described in detail here.
[0097] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0098] Through the description of the above implementation modes, those skilled in the art can clearly understand that each implementation mode can be implemented by means of software plus a general hardware platform, and of course can also be implemented by hardware.
[0099] It should be noted that the descriptions involving "first", "second", etc. in this application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0100] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0101] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. The present application will not be limited to the embodiments shown herein, but should conform to the broadest scope consistent with the principles and novel features of the present application.
Claims
1. A method for transmitting data by light-triggered electronic tags, characterized in that: The method comprises: The photoelectric sensor of the electronic tag converts the light signal of the current environment into a target voltage signal, the magnitude of which represents the intensity of the light currently irradiating the electronic tag; Determining whether the target voltage signal is greater than a preconfigured first ambient light reference voltage signal; If not, amplifying the target voltage signal and comparing it with a pre-configured second ambient light reference voltage signal, and determining whether to trigger the electronic tag to send data to the reader / writer according to the comparison result; If yes, perform an amplification operation on the target voltage signal to obtain an amplified target voltage signal, use the amplified target voltage signal as a sampled voltage signal, and compare it with a real-time voltage amplification signal corresponding to the light currently irradiated on the electronic tag, and determine whether to trigger the electronic tag to send data to the reader / writer according to the comparison result; The step of amplifying the target voltage signal and comparing it with a pre-configured second ambient light reference voltage signal, and determining whether to trigger the electronic tag to send data to the reader / writer according to the comparison result, includes: Performing an amplification operation on the target voltage signal to obtain an amplified target voltage signal; Comparing the amplified target voltage signal with the second ambient light reference voltage signal to obtain a first comparison result; If, in the first comparison result, the ambient light reference voltage signal is less than the amplified target voltage signal, an enable signal is output to the digital baseband to trigger the electronic tag to send data to the reader; The method of using the amplified target voltage signal as a sampled voltage signal and comparing it with a real-time voltage amplified signal corresponding to the light currently irradiated on the electronic tag, and determining whether to trigger the electronic tag to send data to the reader / writer according to the comparison result, includes: Using the amplified target voltage signal as a sampling voltage signal through a clock signal; Read the real-time voltage amplification signal corresponding to the light currently irradiating the electronic tag; Comparing the sampled voltage signal with the real-time voltage amplified signal to obtain a second comparison result; If, in the second comparison result, the sampled voltage signal is smaller than the real-time voltage amplified signal, an enable signal is output to the digital baseband to trigger the electronic tag to send data to the reader / writer.
2. The method for transmitting data by light-triggered electronic tags as claimed in claim 1, characterized in that: The step of comparing the amplified target voltage signal with the second ambient light reference voltage signal to obtain a first comparison result further includes: If in the first comparison result, the ambient light reference voltage signal is greater than the amplified target voltage signal, a low level is output.
3. The method for transmitting data by light-triggered electronic tags as claimed in claim 1, characterized in that: The step of comparing the sampled voltage signal with the real-time voltage amplified signal to obtain a second comparison result further includes: If, in the second comparison result, the sampled voltage signal is greater than the real-time voltage amplified signal, a low level is output.
4. The method for transmitting data by light-triggered electronic tags as claimed in claim 1, characterized in that: The photoelectric sensing device is located on the front side and / or the back side of the electronic tag.
5. The method for transmitting data by light-triggered electronic tags according to any one of claims 1 to 4, characterized in that: The photoelectric sensing device includes at least one of a photodiode, a phototransistor, a photoresistor, a photodetector, and a photomultiplier tube.
6. A device for light-triggered electronic tags to send data, characterized in that: The device comprises: Conversion module: used to convert the light signal of the current environment into a target voltage signal through the photoelectric sensing device of the electronic tag, the magnitude of the target voltage signal represents the intensity of the light currently irradiating the electronic tag; A judging module: used to judge whether the target voltage signal is greater than a pre-configured first ambient light reference voltage signal; The first sending module is used to, if the target voltage signal is less than or equal to the pre-configured first ambient light reference voltage signal, amplify the target voltage signal and compare it with the pre-configured second ambient light reference voltage signal, and determine whether to trigger the electronic tag to send data to the reader according to the comparison result; The second sending module is used to amplify the target voltage signal to obtain an amplified target voltage signal if the target voltage signal is greater than a pre-configured first ambient light reference voltage signal, use the amplified target voltage signal as a sampled voltage signal, and compare it with the real-time voltage amplification signal corresponding to the light currently irradiated on the electronic tag, and determine whether to trigger the electronic tag to send data to the reader / writer according to the comparison result; The step of amplifying the target voltage signal and comparing it with a pre-configured second ambient light reference voltage signal, and determining whether to trigger the electronic tag to send data to the reader / writer according to the comparison result, includes: Performing an amplification operation on the target voltage signal to obtain an amplified target voltage signal; Comparing the amplified target voltage signal with the second ambient light reference voltage signal to obtain a first comparison result; If, in the first comparison result, the ambient light reference voltage signal is less than the amplified target voltage signal, an enable signal is output to the digital baseband to trigger the electronic tag to send data to the reader; The method of using the amplified target voltage signal as a sampled voltage signal and comparing it with a real-time voltage amplified signal corresponding to the light currently irradiated on the electronic tag, and determining whether to trigger the electronic tag to send data to the reader / writer according to the comparison result, includes: Using the amplified target voltage signal as a sampling voltage signal through a clock signal; Read the real-time voltage amplification signal corresponding to the light currently irradiating the electronic tag; Comparing the sampled voltage signal with the real-time voltage amplified signal to obtain a second comparison result; If, in the second comparison result, the sampled voltage signal is smaller than the real-time voltage amplified signal, an enable signal is output to the digital baseband to trigger the electronic tag to send data to the reader / writer.
7. An electronic tag, characterized in that: including a processing unit and a storage unit; Wherein, the storage unit is used to store the program; The processing unit is used to implement the method for sending data by a light-triggered electronic tag as described in any one of claims 1 to 5 when executing the program stored in the storage unit.
8. A storage medium having a program stored thereon, characterized in that: When the program is executed by the processing unit, the method for light-triggered electronic tag to send data as claimed in any one of claims 1 to 5 is implemented.
