CN-121997967-A - Method for preventing goods from being changed through electronic tag, electronic tag and goods management system
Abstract
The invention provides a method for preventing goods from being changed through an electronic tag, the electronic tag and a goods management system, and belongs to the technical field of electronic tags. The method comprises the steps of collecting a voltage value output by a pressure sensor and a temperature value output by a temperature sensor after an electronic tag is mounted on goods, filtering the voltage value output by the pressure sensor to obtain a filtered voltage value, calculating a pressure value corresponding to the filtered voltage value, performing compensation calculation on the pressure value based on the temperature value output by the temperature sensor to obtain a compensated pressure value, calculating a difference value between the compensated pressure value and a reference pressure value, and determining the illegal disassembly of the electronic tag when the difference value between the compensated pressure value and the reference pressure value is larger than a pressure alarm threshold value to generate alarm information. The invention reduces the influence of interference factors such as environmental vibration, temperature change and the like on the monitoring data of the pressure sensor, avoids misjudgment that the electronic tag is disassembled, and ensures the accuracy of alarm information.
Inventors
- Zhou Zhangliao
- SONG SHIXIN
- SU ZHENQIANG
- LIN JIE
- DU JUAN
- WANG SHOUZHI
- XIN CHANGCHUN
- Pan Baomeng
- TIAN JIA
- XIONG SHIJUN
Assignees
- 北京智芯微电子科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260107
Claims (10)
- 1. A method of preventing a change by an electronic label, the electronic label integrating a temperature sensor, a pressure sensor, and a security chip, the method comprising: After the electronic tag is mounted on goods, collecting a voltage value output by the pressure sensor and a temperature value output by the temperature sensor; performing filtering calculation on the voltage value output by the pressure sensor to obtain a filtered voltage value; calculating a pressure value corresponding to the filtered voltage value; Performing temperature compensation calculation on a pressure value corresponding to the filtered voltage value based on the temperature value output by the temperature sensor to obtain a compensated pressure value; Calculating the difference value between the compensated pressure value and a reference pressure value, and determining the behavior of illegal disassembly of the electronic tag to generate alarm information when the difference value between the compensated pressure value and the reference pressure value is larger than a preset pressure alarm threshold value, wherein the reference pressure value is a pressure value corresponding to the reference voltage value, and the reference voltage value is a voltage value output by the pressure sensor under the stable pretightening force after the electronic tag is mounted on goods; The alarm information is encrypted through the security chip, and the encrypted alarm information is sent to the monitoring platform.
- 2. The method for preventing exchange by electronic tag according to claim 1, wherein the algorithm for performing filtering calculation on the voltage value outputted from the pressure sensor is: V_Raw = Filtering_Factor * V_Out + (1 - Filtering_Factor) * V_Raw_Prev; Wherein V_Raw represents the voltage value after the current Filtering, filtering_factor represents the filter coefficient, V_Out represents the voltage value output by the pressure sensor, and V_Raw_prev represents the voltage value after the last Filtering.
- 3. The method for preventing a change by an electronic tag according to claim 1, wherein the performing a temperature compensation calculation on a pressure value corresponding to the filtered voltage value based on the temperature value output from the temperature sensor comprises: and carrying out temperature compensation calculation on the pressure value corresponding to the filtered voltage value based on the temperature value output by the temperature sensor and the temperature compensation coefficients of different temperature points to obtain a compensated pressure value.
- 4. A method of preventing a change by an electronic label according to claim 3, wherein the expression of the temperature compensation calculation is: P_Current=k0+k1*P_Raw+k2*T+k3*P_Raw^2+k4*P_Raw*T+k5*T^2+k6*P_Raw^3+k7*P_Raw^2*T+k8*P_Raw*T^2+k9*T^3; Wherein, p_current represents the compensated pressure value, p_raw represents the pressure value corresponding to the filtered voltage value, T is the temperature value output by the temperature sensor, k0, k1, k9 is the temperature compensation coefficient of different temperature points; P_Raw≡2 represents the power 2 of P_Raw, P_Raw≡3 represents the power 3 of P_Raw, T≡2 represents the power 2 of T, and T≡3 represents the power 3 of T.
- 5. The method for preventing a change by an electronic tag according to claim 4, wherein the temperature compensation coefficients at different temperature points are obtained by: Applying standard pressure to pressure sensors in environments with different temperatures, and acquiring original output values of the pressure sensors in environments with a plurality of different temperature points and original output values of the temperature sensors in environments with corresponding temperature points to form data sets corresponding to the plurality of temperature points; Substituting the data sets corresponding to all the temperature points into the expression of the temperature compensation calculation to obtain an overdetermined equation set; And (3) performing curve fitting by using an overdetermined equation set through a least square method to obtain a group of temperature compensation coefficients [ k0, k1, ], k9], so that the square sum of errors between the calculated pressures of all the temperature points and the actual standard pressure is minimum.
- 6. The method of preventing a change by an electronic label according to claim 1, further comprising: after the electronic tag is mounted on goods, collecting the current battery power percentage; and comparing the current battery electric quantity percentage with a preset electric quantity alarm threshold value, and generating electric quantity alarm information if the current battery electric quantity percentage is smaller than the preset electric quantity alarm threshold value.
- 7. The method of preventing a change by an electronic label according to claim 1, further comprising: The electronic tag initiates a remote network connection request to the monitoring platform for bidirectional identity authentication; and after the bidirectional identity authentication is successful, binding the electronic tag with the goods.
- 8. The method for preventing a change by an electronic tag of claim 7, wherein the electronic tag initiates a remote network connection request to a monitoring platform for two-way identity authentication, comprising: the electronic tag generates a first random number and sends the first random number to the monitoring platform; the monitoring platform generates a second random number after receiving the first random number, encrypts a first data block containing the first random number and the second random number by using a preset key to generate a first ciphertext, and sends the second random number and the first ciphertext to the electronic tag; after the electronic tag receives the second random number and the first ciphertext, encrypting a first data block containing the first random number and the second random number by using a preset key to generate a first temporary ciphertext, comparing the received first ciphertext with the first temporary ciphertext, if the first ciphertext is consistent with the first temporary ciphertext, successfully authenticating the monitoring platform by the electronic tag, encrypting a second data block containing the first random number and the second random number by using the preset key, generating a second ciphertext and sending the second ciphertext to the monitoring platform; After the monitoring platform receives the second ciphertext, the second data block containing the first random number and the second random number is encrypted by using a preset key to generate a second temporary ciphertext, the received second ciphertext is compared with the second temporary ciphertext, and if the second ciphertext is consistent with the second temporary ciphertext, the monitoring platform successfully authenticates the electronic tag.
- 9. The electronic tag is characterized by comprising a microprocessor, a temperature sensor, a pressure sensor, a security chip and a communication unit; The microprocessor is used for: After the electronic tag is mounted on goods, collecting a voltage value output by the pressure sensor and a temperature value output by the temperature sensor; performing filtering calculation on the voltage value output by the pressure sensor to obtain a filtered voltage value; calculating a pressure value corresponding to the filtered voltage value; Performing temperature compensation calculation on a pressure value corresponding to the filtered voltage value based on the temperature value output by the temperature sensor to obtain a compensated pressure value; Calculating the difference value between the compensated pressure value and a reference pressure value, and determining the behavior of illegal disassembly of the electronic tag to generate alarm information when the difference value between the compensated pressure value and the reference pressure value is larger than a preset pressure alarm threshold value, wherein the reference pressure value is a pressure value corresponding to the reference voltage value, and the reference voltage value is a voltage value output by the pressure sensor under the stable pretightening force after the electronic tag is mounted on goods; the safety chip is used for encrypting the alarm information; the communication unit is used for sending the encrypted alarm information to the monitoring platform.
- 10. The cargo management system is characterized by comprising the electronic tag, the operation terminal and the monitoring platform according to claim 9; The operation terminal is used for scanning the electronic tag to obtain a unique identification code of the electronic tag, and binding the electronic tag with goods; The electronic tag is used for generating encrypted alarm information when the illegal disassembly of the electronic tag is determined, and sending the encrypted alarm information to the monitoring platform; The monitoring platform is used for receiving the encrypted alarm information sent by the electronic tag, decrypting the received encrypted alarm information to obtain clear-text alarm information, and sending alarm confirmation information to the electronic tag; The electronic tag is also used for releasing the alarm after receiving the alarm confirmation information.
Description
Method for preventing goods from being changed through electronic tag, electronic tag and goods management system Technical Field The invention relates to the technical field of electronic tags, in particular to a method for preventing goods from being changed through an electronic tag, the electronic tag and a goods management system. Background At present, a handheld terminal, an RFID (Radio Frequency Identification ) electronic tag and a quality control platform are mainly used in cargo spot inspection. In the sample sealing link, the electronic tag is stuck on goods, and then the unique identification code, the blind sample number and the task information of the electronic tag are identified by using the handheld terminal to bind. And in the sample sending and receiving links, the electronic tag is identified by the handheld terminal to obtain the blind sample number and task information. Because the goods sampling inspection involves more personnel and links, the traditional method is easy to falsify and forge sample information in the sampling inspection process, or the electronic tag is stuck to other goods after being taken down, so that the risk problems of sample information leakage, sampling and fake making, sample sealing and exchanging and the like exist, and the authenticity of the sampling inspection goods cannot be ensured. The application scene has higher requirements on the use safety of the electronic tag, and the state of the electronic tag needs to be monitored in real time in the use process of the electronic tag, so that the electronic tag identification is prevented from being replaced through data falsification or illegal disassembly, and serious economic loss is caused. In the prior art, the real-time anti-disassembly monitoring method for the electronic tag mainly comprises the steps that an anti-disassembly detection mechanism is used for extruding an anti-disassembly pressure sensor and a spring for shearing the pressure sensor to generate extrusion force, whether the electronic tag is illegally disassembled or not is judged by monitoring the change of the extrusion force, a background manager can timely know that the electronic tag is privately disassembled or privately sheared and disassembled by non-manager, and the second method is used for judging the movement of an article placed at a specific position by using a sensor technology and judging whether the electronic tag is illegally disassembled or moved or not by using an acceleration sensor and the pressure sensor, and the article state is sent to a management background by using the technology of the Internet of things. Although the above-mentioned mode can judge the illegal dismantling behavior through monitoring the numerical variation of the pressure sensor, the monitoring data of the pressure sensor does not consider the interference factors such as environmental vibration, temperature variation, etc., and can lead to erroneous judgment (actually, the electronic tag is not dismantled or moved) to send out alarm information. Disclosure of Invention In order to solve the defects in the prior art, the invention provides a method for preventing goods from being changed through an electronic tag, the electronic tag and a goods management system. The first aspect of the present invention provides a method for preventing a change of goods by an electronic tag integrating a temperature sensor, a pressure sensor and a security chip, the method comprising: After the electronic tag is mounted on goods, collecting a voltage value output by the pressure sensor and a temperature value output by the temperature sensor; performing filtering calculation on the voltage value output by the pressure sensor to obtain a filtered voltage value; calculating a pressure value corresponding to the filtered voltage value; Performing temperature compensation calculation on a pressure value corresponding to the filtered voltage value based on the temperature value output by the temperature sensor to obtain a compensated pressure value; Calculating the difference value between the compensated pressure value and a reference pressure value, and determining the behavior of illegal disassembly of the electronic tag to generate alarm information when the difference value between the compensated pressure value and the reference pressure value is larger than a preset pressure alarm threshold value, wherein the reference pressure value is the pressure value corresponding to the reference voltage value, and the reference voltage value is the voltage value output by the pressure sensor under the stable pretightening force after the electronic tag is mounted on goods; The alarm information is encrypted through the security chip, and the encrypted alarm information is sent to the monitoring platform. In the embodiment of the invention, an algorithm for performing filtering calculation on the voltage value output by the pressure sensor is as follows: V_Raw = F