An electronic seal security performance detection method

By conducting seal inventory, verification, data validation and other tests on electronic seals, the problem of the inability to uniformly record and query test data in existing technologies has been solved, and efficient test process and result management has been achieved.

CN113052284BActive Publication Date: 2025-10-17XIAN XIKE MICROELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110299982.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-22
Publication Date
2025-10-17
Estimated Expiration
2041-03-22

AI Technical Summary

Technical Problem

The existing electronic seal detection methods lack standards, resulting in the inability to uniformly record, query and print reports of detection data, and low work efficiency.

Method used

Provided is a method for testing the security performance of electronic seals, including seal inventory, seal verification, data verification, identity authentication detection, access control detection, information reading detection and key update detection. Data reading and writing are achieved through readers, antennas and computers, and data query and report printing are supported.

Benefits of technology

It realizes the structuring and automation of the detection process, supports result query and printing, improves work efficiency and simplifies the operation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113052284B_ABST
    Figure CN113052284B_ABST
Patent Text Reader

Abstract

The application provides an electronic seal security performance detection method, and the security performance detection of the electronic seal in the issued state comprises seal checking, seal collation, data verification, identity authentication detection, access control detection, information reading detection, information verification detection and key update detection; compared with the prior art, the detection content is different when the state set by the user during initialization is different, single-step detection or automatic detection can be performed, the detection flow is simplified, the detection flow structure is clear without reducing the detection content, the query result, the printing of the detection document and the like are supported, great convenience is brought to the operator, and the work efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronic seal technology, and in particular to an electronic seal security performance detection method. BACKGROUND

[0002] Currently, there is no standard for the detection method of electronic seals, and each enterprise uses non-standard machinery or manual testing to complete the detection. The detection data cannot be uniformly recorded, the detection process cannot be centrally controlled, data queries are not supported, record results are not supported, printing reports are not supported, and the work efficiency is low. SUMMARY

[0003] The present application provides an electronic seal security performance detection method to at least solve the problem of low work efficiency caused by the lack of data query, record result, and printing report in the related art.

[0004] To this end, the technical solution provided by the present application is as follows:

[0005] An electronic seal security performance detection method, for the security performance detection of an issued electronic seal, includes seal checking, seal checking, data verification, identity authentication detection, access control detection, information reading detection, information verification detection, and key update detection. Specifically,

[0006] Seal checking, receiving the corresponding indication of the user, reading all electronic seals in the current work area, and saving the number of electronic seals in the storage code corresponding to the drop-down menu in the seal label code area and displaying it;

[0007] Seal checking, receiving the corresponding indication of the user, obtaining the seal number selected in the drop-down menu corresponding to the current storage code, and reading the data of the seal represented by the seal number; if the read data is correct, return, prompt success; if the data is not returned, prompt failure;

[0008] Data verification, receiving the corresponding indication of the user, requesting a set number of random numbers from the electronic seal, and enabling the verification pseudo-random number interface, inputting the requested random numbers into the verification pseudo-random number interface for verification, if the probability of random number passing the verification is less than the set value, prompt data verification failure, otherwise success; and output the verification result to the input field of the random number verification area;

[0009] Identity authentication detection, receiving the corresponding indication of the user, performing encryption server and reader state detection and seal matching detection, if successful, continue to execute, if failed, end, and no subsequent steps are performed;

[0010] Access control detection, receiving user selection or fill in the data, the data in the USER data area, and then receiving the corresponding user instructions, USER data area data written to the pre-designed data storage structure, access control detection;

[0011] Information reading detection, receiving the corresponding user instructions, through the call interface operation controller and antenna, reading the data in the electronic seal;

[0012] Information verification detection, receiving the corresponding user instructions, reading the data in the electronic seal, and saving the verification after reading; wherein the save verification is: obtaining the data filled in the USER data area by the user, and comparing with the decrypted data after reading; if the comparison fails, the information verification detection fails;

[0013] Key update detection, receiving the corresponding user instructions, and performing the following steps:

[0014] GX1, encryption server and reader state detection and seal matching detection, success to continue to execute, failure to lock detection failure;

[0015] GX2, get the new key and the original key by calling the interface provided by the encryption server, if the key acquisition fails, the key update detection fails;

[0016] GX3, write the new key to the reserved area by calling the interface, if the write fails, the key update detection fails;

[0017] GX4, download the new key to the controller by calling the interface, if the download fails, the key update detection fails;

[0018] The above steps GX1, GX2, GX3 and GX4 are successfully executed, and the key update detection is successful.

[0019] Optionally, in the seal check link, if the data is not returned, it also performs repeated check, and if the repeated check still fails after multiple times, it ends.

[0020] Optionally, in the identity authentication detection link, the encryption server and the reader state detection and the seal matching detection are performed, which specifically includes the following SF1 step and / or SF2 step:

[0021] SF1, update the error key to the reader through the key distribution interface, at this time, the data is written to the chip, and the error key is used to detect the data written in the electronic seal; if the data writing is successful, it is prompted that the identity authentication detection fails;

[0022] SF2, obtaining the correct initial key through the key issuing interface, updating to the reader, at this time, data is written to the chip, and it is detected that the correct initial key is used to write data to the electronic seal; if the data writing is successful, it is prompted that the identity authentication is successful, otherwise the identity authentication detection fails.

[0023] Optionally, the access control detection specifically performs the following steps in sequence:

[0024] FW1, the encryption server and the reader state detection and the seal matching detection, if successful, continue to execute, if failed, the access control detection fails;

[0025] FW2, the data storage structure is encrypted by calling the interface of the encryption server; if the encryption fails, the access control detection fails;

[0026] FW3, the encrypted data is written into the USER data area of the electronic seal by calling the service interface; if the data writing fails, the access control detection fails;

[0027] The above three steps are executed successfully in sequence, and the access control detection succeeds.

[0028] Optionally, the data in the electronic seal is read, specifically including the following steps:

[0029] DQ1, the encryption server and the reader state detection and the seal matching detection, if successful, continue to execute, if failed, the information reading detection fails;

[0030] DQ2, setting the read data structure body, and configuring the related data into the structure body, calling the provided read data function interface, and reading the data of the EPC area; if the read data is not returned, the EPC data reading fails;

[0031] DQ3, setting the read data structure body, and configuring the related data into the structure body, calling the provided read data function interface, and reading the data of the TID area; if the read data is not returned, the TID data reading fails;

[0032] DQ4, setting the read data structure body, and configuring the related data into the structure body, calling the provided read data function interface, and reading the data of the USER area; if the read data is not returned, the USER data reading fails;

[0033] The above four steps are executed successfully, and the information reading detection succeeds.

[0034] Optionally, before the security performance detection of the electronic seal in the issued state, the initialization setting of the user is also received.

[0035] If the user selects issued, then the electronic seal security performance detection for the issued state is performed;

[0036] If the user selects not issued and not deactivated, then the corresponding electronic seal security performance detection includes seal inventory, seal check, lock detection, unlock detection, and information reading detection;

[0037] If the user selects not issued and deactivated, then the corresponding electronic seal security performance detection includes seal inventory, seal check, lock detection, unlock detection, information reading detection, and deactivation detection.

[0038] Optionally, the lock detection includes the following steps:

[0039] SD1, receiving the user-selected electronic seal number, providing the correct password and the incorrect password for the user;

[0040] SD2, encryption server and reader state detection and seal matching detection, if successful, then continue to execute, if failed, then lock detection fails;

[0041] SD3, lock USER area test, write access password to REV area; lock USER area test without using password, if lock is successful, then lock detection fails; lock USER area test using incorrect password, if lock is successful, then lock detection fails; lock test using correct password, if lock fails, then lock detection fails; if the above three sub-steps in this step are all successful, then lock USER area detection is successful;

[0042] SD4, lock access test, write access password to REV area; lock access test without using password, if lock is successful, then lock detection fails; lock access area using incorrect password, if lock is successful, then lock detection fails; lock access area using correct password, if lock fails, then lock detection fails; if the above three sub-steps in this step are all successful, then lock access detection is successful;

[0043] If the above steps SD2, SD3, and SD4 are all executed successfully, then the lock detection is successful.

[0044] Optionally, the unlock detection includes the following steps:

[0045] JS1, encryption server and reader state detection and seal matching detection, if successful, then continue to execute, if failed, then lock detection fails;

[0046] JS2, unlocking USER area detection, no password unlocking USER area test, if the unlocking is successful, then the unlocking USER area fails; using the wrong password to unlock the USER area test, if the unlocking is successful, then the unlocking USER area fails; using the correct password to unlock the USER area test, if the unlocking fails, then the unlocking USER area test fails; the above three small steps in this step are detected successfully, then the unlocking USER area detection is successful;

[0047] JS3, unlocking access area detection, no password unlocking access area test, if the unlocking is successful, then the unlocking access area detection fails; using the wrong password to unlock the access area detection, if the unlocking is successful, then the unlocking access area detection fails; using the correct password to unlock the access area detection, if the unlocking fails, then the unlocking access area detection fails; the above three small steps in this step are detected successfully, then the unlocking access detection is successful;

[0048] The above steps JS1, JS2 and JS3 are successfully executed, then the unlocking detection is successful.

[0049] Optionally, the inactivation detection comprises the following steps:

[0050] MH1, receiving the corresponding indication of the user, obtaining the inactivation password;

[0051] MH2, calling the interface to write the correct inactivation password to the REV area; if the writing fails, then the inactivation detection fails;

[0052] MH3, calling the interface to use the wrong inactivation password for inactivation detection; if the inactivation is successful, then the inactivation detection fails;

[0053] MH4, calling the interface to use the correct inactivation password for inactivation detection, if the inactivation fails, then the inactivation detection fails;

[0054] Only the above four steps are detected successfully, then the inactivation detection is successful.

[0055] Optionally, the electronic seal security performance detection method is realized based on the following device;

[0056] The device comprises a reader-writer, an antenna, a wireless scanning gun and a computer; the reader-writer is connected with the computer through a first USB data interface for data transmission; the reader-writer is also connected with the antenna through a corresponding radio frequency data transmission line, and uses the antenna to emit radio frequency signals to realize reading and writing of data of the electronic seal; the wireless scanning gun is used to scan a two-dimensional code on the front of the ultra-high frequency electronic seal to obtain data therein, and is connected with the computer through a second USB data interface for data transmission; the computer is used to run detection software, and configures detection parameters and outputs detection results through information input and output components thereof.

[0057] The present application has the following advantages:

[0058] The present application has the following advantages: BRIEF DESCRIPTION OF DRAWINGS

[0059] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.

[0060] Figure 1 is the initialization logic flowchart of the embodiment of the present application;

[0061] Figure 2 is the seal detection logic flowchart of the embodiment of the present application;

[0062] Figure 3 is the auxiliary function logic flowchart of the embodiment of the present application. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0064] According to the embodiments of the present application, a method embodiment of the detection method of the electronic seal is provided. It should be noted that the steps shown in the flowchart of the drawings can be executed in a computer system such as a group of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from here.

[0065] Figure 1 is the initialization logic flowchart of the embodiment of the present application, as Figure 1 shown,

[0066] One: connect the encryption server

[0067] User set the correct IP address and port, click the login button, the detection software through the call third party provides the encryption server login interface, login to the encryption server. Login result will be output in the log column, if login fails, return error code, in order to find out the reason to troubleshoot.

[0068] Two: connect the reader and writer

[0069] User click connect the reader and writer button, the detection software through the call ultra high frequency single channel reader and writer provides the request connection interface, connect to the reader and writer, the connection result output in the log column, if connection fails, return error code, in order to find out the reason to troubleshoot. After successful connection, update power frequency button changes from unavailable state to available state, at this time, the power frequency value that needs to be set can be input to the corresponding input box, click update power frequency button, the current power frequency value can be updated.

[0070] Three: set state

[0071] User needs to select the seal issue state, there are two kinds of issued state and unissued state, issued state seal can not be inactivated, unissued seal supports inactivation, user also need to select whether to carry out inactivation detection. Select different state, corresponding different detection process in the seal detection process.

[0072] Four: logic flow chart

[0073] Flow analysis: user first open the detection software, set the correct IP address and port, click the button to login to the encryption server successfully, click the button to connect the reader and writer, the reader and writer can be set after successful connection update power and frequency, then according to the need to select the issue state and whether to inactivate, thus complete the initialization work.

[0074] Figure 2 It is the seal detection logic flow chart of the embodiment of the present application, as shown in Figure 2

[0075] One: detection process analysis

[0076] When the user sets different state in initialization, the corresponding detection content is different:

[0077] Select issued: the detection function has 8 steps of seal inventory, seal check, data verification, identity authentication, access control, information reading, information verification, key update.

[0078] Select unissued and not inactivated: the detection function has 5 steps of seal inventory, seal check, lock detection, unlock detection, information reading.

[0079] ​Select not issued and inactivated: the function of the detection has six steps of seal inventory, seal check, lock detection, unlock detection, information reading, inactivation detection.

[0080] Two: single-step detection process

[0081] This section describes the logic of each function execution.

[0082] Key settings

[0083] The user needs to select the type of key before entering the seal detection page. The key is divided into public key and private key. According to the current electronic seal, select the key state by yourself.

[0084] Seal scanning

[0085] The user scans the electronic seal through the scanning gun. The number data is transmitted to the detection software through the USB data line, and displayed in the scan code input field in the seal tag code area. It also allows the user to know the number of the seal being operated.

[0086] Seal inventory

[0087] The user clicks the seal inventory button, and the detection software calls the interface function to control the reader and antenna to read all the seals in the current working area, and save the seal number in the drop-down menu corresponding to the storage code in the seal tag code area.

[0088] Seal check

[0089] The user clicks the seal check button, and the detection software gets the seal number selected in the current storage code drop-down menu. By calling the data interface function, the reader and antenna are used to read the data of the seal represented by the seal number. If the read data is correct, the check is successful. If the data is not returned, the check fails, and the check can be repeated multiple times.

[0090] Lock detection

[0091] The user selects the electronic seal number, gets the correct password and incorrect password, and clicks the lock detection button. The detection software controls the controller and antenna to test the seal. Test process steps:

[0092] Encryption server and reader status detection and seal matching detection, successful execution, failure lock detection failure.

[0093] Lock USER zone test, write access password to REV zone. Lock USER zone test without password, lock success, then lock test fail; lock USER zone test with wrong password, lock success, then lock test fail; lock USER zone test with correct password, lock fail, then lock test fail; all three sub-steps test success, then lock USER zone test success.

[0094] Lock access test, write access password to REV zone. Lock access test without password, lock success, then lock test fail; lock access test with wrong password, lock success, then lock test fail; lock access test with correct password, lock fail, then lock test fail. All three sub-steps test success, then lock access test success.

[0095] When all three major steps are executed successfully, lock test success.

[0096] Unlock test

[0097] User click lock test button, test software control controller and antenna to perform lock test, test flow steps:

[0098] Encryption server and reader status test and seal matching test, success continue to execute, fail lock test fail.

[0099] Unlock USER zone test, unlock USER zone test without password, unlock success, then unlock USER zone fail; unlock USER zone test with wrong password, unlock success, then unlock USER zone fail. Unlock USER zone test with correct password, unlock fail, then unlock USER zone test fail. All three sub-steps test success, then unlock USER zone test success.

[0100] Unlock access zone test, unlock access zone test without password, unlock success, then unlock access zone test fail; unlock access zone test with wrong password, unlock success, then unlock access zone test fail; unlock access zone test with correct password, unlock fail, then unlock access zone test fail. All three sub-steps test success, then unlock access test success.

[0101] All three major steps are executed successfully, then unlock test success.

[0102] Data verification

[0103] User clicks the data verification button, the detection software calls the interface to control the controller and the antenna, and requests a certain number of random numbers from the electronic seal. The requested random numbers are input into the verification interface for verification according to the provided verification pseudo-random number interface. If the probability of passing the verification of the random numbers is less than 90%, it is a failure, otherwise it is a success. The verification result is output to the input column of the random number verification area.

[0104] Identity authentication

[0105] User clicks the identity authentication button, and the detection software calls the interface to control the reader and the antenna to perform identity authentication. The main steps include:

[0106] The encryption server and the reader state detection and the seal matching detection are performed. If successful, the execution continues, otherwise the identity authentication detection fails.

[0107] The error key is updated to the reader through the key issuing interface, and data is written to the chip at this time. The detection uses the error key to write data to the electronic seal. If the data writing is successful, the identity authentication detection fails.

[0108] The correct initial key is obtained through the interface and updated to the reader. At this time, data is written to the chip, and the detection uses the correct key to write data to the electronic seal. If the data writing is successful, the identity authentication is successful, otherwise the identity authentication detection fails.

[0109] Access control

[0110] The user first selects or fills in the data to the USER data area, and clicks the access control button. The detection software writes the data in the USER data area to the designed data storage structure to perform access control detection. The main steps include:

[0111] The encryption server and the reader state detection and the seal matching detection are performed. If successful, the execution continues, otherwise the access control detection fails.

[0112] The data storage structure is encrypted by calling the interface of the encryption server. If the encryption fails, the access control detection fails.

[0113] The encrypted data is written to the USER data area of the electronic seal by calling the service interface to control the controller and the antenna. If the data writing fails, the access control detection fails.

[0114] The above three steps are successfully executed in sequence, and the access control detection is successful.

[0115] Information reading

[0116] User clicks information reading button, detection software reads data in electronic seal by calling interface operation controller and antenna. Main steps are as follows:

[0117] Encryption server and reader state detection and seal matching detection, success continues to execute, failure information reading detection fails.

[0118] Set read data structure body, and configure relevant data in the structure, call the provided read data function interface, and read the data in EPC area. If the read data is not returned, the EPC data reading fails.

[0119] Set read data structure body, and configure relevant data in the structure, call the provided read data function interface, and read the data in TID area. If the read data is not returned, the TID data reading fails.

[0120] Set read data structure body, and configure relevant data in the structure, call the provided read data function interface, and read the data in USER area. If the read data is not returned, the USER data reading fails.

[0121] The above four steps are successfully executed, and the information reading detection is successful.

[0122] Information verification

[0123] User clicks information verification button, detection software reads data in electronic seal by calling interface operation controller and antenna, and saves verification after reading. Main steps are as follows:

[0124] Encryption server and reader state detection and seal matching detection, success continues to execute, failure information verification detection fails.

[0125] Call encryption library function to read and decrypt the data saved in the electronic seal, and store. If it fails, the information verification detection fails.

[0126] Get the data filled in the USER data area by the user, and compare it with the decrypted data in the previous step. If the comparison fails, the information verification detection fails.

[0127] The above three steps are successfully executed, and the information verification detection is successful.

[0128] Key update

[0129] User clicks key update, detection software reads and writes data in electronic seal by calling interface operation controller and antenna. Main steps are as follows:

[0130] Encryption server and reader state detection and seal matching detection, success continues to execute, failure lock detection fails.

[0131] Get the new key and the old key by calling the interface provided by the encryption server. If the key acquisition fails, the key update detection fails.

[0132] Write the new key to the reserved area by calling the interface. If the writing fails, the key update detection fails.

[0133] Download the new key to the controller by calling the interface. If the download fails, the key update detection fails.

[0134] If all the above four steps are successful, the key update detection is successful.

[0135] Deactivation detection

[0136] The user clicks the key update, and the detection software reads and writes the data in the electronic seal by calling the interface to operate the controller and the antenna. The main steps are as follows:

[0137] The user clicks the deactivation detection, and the detection software obtains the deactivation password.

[0138] The detection software writes the correct deactivation password to the REV area by calling the interface. If the writing fails, the deactivation detection fails.

[0139] The detection software uses the incorrect deactivation password to perform the deactivation detection by calling the interface. If the deactivation is successful, the deactivation detection fails.

[0140] The detection software uses the correct deactivation password to perform the deactivation detection by calling the interface. If the deactivation fails, the deactivation detection fails.

[0141] If all the above four steps are successful, the deactivation detection is successful.

[0142] Automatic inspection display

[0143] Automatic inspection display: mainly displays the detection results in the gray box after the corresponding detection step during the detection process.

[0144] Single self-check

[0145] Single self-check: in the area of the seal tag code, use the currently selected electronic seal in the drop-down list corresponding to the stored code to perform automatic detection of the complete process. After the detection is completed, the user can generate a detection result report document of the selected electronic seal by clicking the generate report button below the single self-check.

[0146] Multiple self-check

[0147] Multiple self-check: in the area of the seal tag code, all seals checked by the seal point function are automatically detected. After the detection is completed, the detection result report document of the electronic seal just completed can be generated by clicking the generate report button below multiple self-check.

[0148] Generate report

[0149] Generate a detection result report document for a single or multiple seals. Each seal generates a detection result report document.

[0150] Three: logic flowchart

[0151] Flowchart analysis:

[0152] The seal detection logic business flowchart mainly describes the seal detection business module flow of the ultra-high frequency electronic seal detection software. In the initialized business logic, when different issuance states and inactivation states are selected, the seal detection will perform different detection processing:

[0153] When the issued state is selected, the detection content includes: seal point, seal check, data verification, identity authentication, access control, information reading, information verification and key update.

[0154] When the unissued state is selected and inactivation is not required, the detection content includes: seal point, seal check, lock detection, unlock detection and information reading.

[0155] When the unissued state is selected and inactivation is required, the detection content includes: seal point, seal check, lock detection, unlock detection, information reading and inactivation detection.

[0156] Figure 3 The auxiliary function logic flowchart of the embodiment of the present application is as shown in Figure 3

[0157] One: auxiliary function page operation

[0158] Scan the seal with the scan gun and click seal confirmation.

[0159] In the key recovery, click one-key recovery key to perform key recovery.

[0160] Click start scan in power frequency scan to display the scanned frequency points in the following plane coordinate system.

[0161] All execution steps printed logs will be output in the log column in real time.

[0162] Two: detailed detection process

[0163] Seal confirmation

[0164] ​Main content: using a scanning gun to scan the two-dimensional code on the front of the electronic seal, compare the scanned code with the stored code, and confirm success before performing one-key key recovery and scanning functions.

[0165] One-key key recovery

[0166] Step flow:

[0167] Encryption server and reader status detection, successful execution, failure key recovery detection failure.

[0168] Detection software obtains serial number, public key and private key through function interface. Failure to obtain, one-key recovery key failure.

[0169] Detection software attempts to write data and download key to the controller to obtain error key by calling the interface. Failure, one-key key recovery detection failure.

[0170] Detection software attempts to write data and update correct key to the controller by calling the interface. Failure, one-key key recovery detection failure.

[0171] The above four steps are successful, and the one-key key recovery detection is successful.

[0172] Start scanning

[0173] The steps are as follows:

[0174] Encryption server and reader status detection, successful execution, failure, then scanning failure.

[0175] Detection software obtains user-set frequency range, power range and step data through the interface. Display prompt information to the user. Failure, then scanning failure.

[0176] Through the step, the power and frequency of each test are set in turn, and the interface is called to read and write the electronic seal through the read-write controller and antenna, and then the results are displayed in the two-dimensional coordinate system. If the read-write operation fails, the scanning fails.

[0177] The above three steps are successfully executed, and the scanning is successfully executed.

[0178] Three: logic flow chart

[0179] Flow analysis: auxiliary functions mainly help to recover keys and frequency range scanning when key errors occur. First, use a scanning gun to scan the two-dimensional code on the front of the electronic seal, then perform seal confirmation, and after successful confirmation, key recovery and frequency scanning functions can be performed.

[0180] The embodiment of the present application further provides a storage medium, which comprises a stored program, wherein the program controls a device where the storage medium is located to execute the electronic seal security performance detection method of any one of the above when the program is run.

[0181] The embodiment of the present application further provides a processor, which is used for running a program, wherein the program executes the electronic seal security performance detection method of any one of the above when the program is run.

[0182] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for detecting the safety performance of an electronic seal, characterized in that: The security performance testing of issued electronic seals includes seal inventory, seal verification, data verification, identity authentication, access control, information reading, information verification, and key update testing. Specifically: Seal inventory: receive the user's corresponding instructions, read all electronic seals in the current workspace, save the electronic seal number and display it in the drop-down menu corresponding to the storage code in the seal label code area; Seal verification: receiving the corresponding instructions from the user, obtaining the seal number selected in the drop-down menu corresponding to the current storage code, and reading the data of the seal represented by the seal number; If the read data is returned correctly, it will prompt that the verification is successful; if the data is not returned, it will prompt that the verification has failed; Data verification: receiving the user's corresponding instructions, requesting a set number of random numbers from the electronic seal, and activating the verification pseudo-random number interface, inputting the requested random numbers into the verification pseudo-random number interface for verification. If the probability of the random number passing the verification is less than the set value, the data verification fails, otherwise it succeeds; and outputting the verification result to the input field of the random number verification area; Identity authentication detection, receiving the user's corresponding instructions, performing encryption server and reader status detection and seal matching detection. If successful, continue to execute; if failed, end and no further steps are performed; Access control detection: receiving the data selected or filled in by the user, placing the data in the USER data area, and then receiving the corresponding instructions from the user, writing the data in the USER data area into the pre-designed data storage structure to perform access control detection; Information reading detection, receiving corresponding instructions from the user, and reading the data in the electronic seal by calling the interface to operate the controller and antenna; Information verification test: receiving the user's corresponding instructions, reading the data in the electronic seal, and saving and verifying it after reading; the specific saving and verification is: obtaining the data filled in by the user in the USER data area and comparing it with the decrypted data after reading; if the comparison fails, the information verification test fails; Key update detection, receiving corresponding instructions from the user, performs the following steps: GX1, encryption server and reader status detection and seal matching detection, if successful, continue to execute, if failed, the detection failure is locked; GX2, obtain the new key and the original key by calling the interface provided by the encryption server. If the key acquisition fails, the key update detection fails; GX3, write the new key to the reserved area by calling the interface. If the write fails, the key update detection fails; GX4, download the new key to the controller by calling the interface. If the download fails, the key update detection fails; If the above steps GX1, GX2, GX3 and GX4 are all executed successfully, the key update detection is successful.

2. The electronic seal safety performance testing method according to claim 1, characterized in that: In the seal verification link, if the data is not returned, repeated verification is performed. If the verification still fails after multiple repeated verifications, the process ends.

3. The electronic seal safety performance testing method according to claim 1, characterized in that: In the identity authentication detection link, the encryption server and reader status detection and seal matching detection are performed, which specifically includes the following SF1 step and / or SF2 step: SF1. Update the wrong key to the reader through the key distribution interface. Then write data to the chip and detect whether the wrong key is used to write data into the electronic seal. If the data is written successfully, it will prompt that the identity authentication test has failed. SF2. Obtain the correct initial key through the key issuing interface and update it to the reader. At this time, write data to the chip and detect whether the correct initial key is used to write data into the electronic seal. If the data is written successfully, the identity authentication is successful, otherwise the identity authentication test fails.

4. The electronic seal safety performance testing method according to claim 1, characterized in that: The access control detection specifically performs the following steps in sequence: FW1, encryption server and reader status detection and seal matching detection, if successful, continue to execute, if failed, the access control detection fails; FW2 encrypts the data storage structure by calling the encryption server's interface. If the encryption fails, the access control check fails. FW3 writes the encrypted data into the USER data area of ​​the electronic seal by calling the service interface; If writing data fails, the access control check fails; If the above three steps are successfully executed in sequence, the access control test is successful.

5. The electronic seal safety performance testing method according to claim 1, characterized in that: The reading of the data in the electronic seal specifically includes the following steps: DQ1, encryption server and reader status detection and seal matching detection, continue to execute successfully, failure information reading detection fails; DQ2. Set the read data structure and configure the relevant data into the structure. Call the provided read data function interface to read the data in the EPC area. If the read data is not returned, the EPC data reading fails. DQ3. Set up the read data structure and configure the relevant data into the structure. Call the provided read data function interface to read the data in the TID area. If the read data is not returned, the TID data reading fails. DQ4. Set up the read data structure and configure the relevant data into the structure. Call the provided read data function interface to read the data in the USER area. If the read data is not returned, reading the USER data fails. If the above four steps are all executed successfully, the information reading test is successful.

6. The electronic seal security performance testing method according to claim 1, characterized in that: Before testing the security performance of the issued electronic seal, the system also receives the initialization settings made by the user; If the user selects "issued", the electronic seal security performance test for the issued state is performed; If the user chooses not to issue and not to inactivate, the corresponding electronic seal security performance test includes seal inventory, seal verification, lock detection, unlock detection and information reading detection; If the user chooses not to issue and inactivate, the corresponding electronic seal security performance test includes seal inventory, seal verification, lock detection, unlock detection, information reading detection and inactivation detection.

7. The electronic seal security performance testing method according to claim 6, characterized in that: The lock detection comprises the following steps: SD1, receiving the electronic seal number selected by the user and providing the user with the correct password and the incorrect password; SD2, encryption server and reader status detection and seal matching detection, if successful, continue to execute, if failed, lock detection failure; SD3, lock the USER area test, write the access password to the REV area; lock the USER area test without using a password, if the lock is successful, the lock test fails; lock the USER area test with an incorrect password, if the lock is successful, the lock test fails; lock the area test with a correct password, if the lock fails, the lock test fails; if all three steps in this step are successful, the USER area lock test is successful; SD4, lock access test, write the access password to the REV area; lock access test without using a password, if the lock is successful, the lock test fails; use the wrong password to lock the access area, if the lock is successful, the lock test fails; use the correct password to lock the access area, if the lock fails, the lock test fails; the above three steps in this step are all tested successfully, then the lock access test is successful; If the above steps SD2, SD3 and SD4 are all executed successfully, the locking detection is successful.

8. The electronic seal safety performance testing method according to claim 7, characterized in that: The unlock detection comprises the following steps: JS1, encryption server and reader status detection and seal matching detection, if successful, continue to execute, if failed, lock the detection failure; JS2, Unlock USER area test, Unlock USER area test without password, if unlocking is successful, then unlocking USER area fails; Unlock USER area test with wrong password, if unlocking is successful, then unlocking USER area fails; Unlock USER area test with correct password, if unlocking fails, then unlocking USER area test fails; If all three steps above are tested successfully, then unlocking USER area test is successful; JS3, unlock access area test, unlock access area test without using password, if unlocking is successful, then unlock access area test fails; use wrong password to unlock access area test, if unlocking is successful, then unlock access area test fails; use correct password to unlock access area test, if unlocking fails, then unlock access area test fails; this step above three steps are all tested successfully, then unlock access test is successful; If the above steps JS1, JS2 and JS3 are all executed successfully, the unlock detection is successful.

9. The electronic seal security performance testing method according to claim 6, characterized in that: The inactivation detection comprises the following steps: MH1, receiving the corresponding instruction from the user and obtaining the deactivation password; MH2. Call the interface to write the correct kill password into the REV area. If the write fails, the kill detection fails. MH3: The call interface uses an incorrect kill password to perform a kill test; if the kill is successful, the kill test fails; MH4. Call the interface and use the correct kill password to perform a kill test. If the kill fails, the kill test fails. Only when the above four steps are successfully detected, the inactivation test is successful.

10. The electronic seal security performance testing method according to claim 1, characterized in that: The electronic seal safety performance detection method is implemented based on the following device; The device includes a reader / writer, an antenna, a wireless scanner and a computer; the reader / writer is connected to the computer via a first USB data interface for data transmission; the reader / writer is also connected to the antenna via a corresponding radio frequency data transmission line, and uses the antenna to transmit radio frequency signals to read and write data on the electronic seal; the wireless scanner is used to scan the QR code on the front of the ultra-high frequency electronic seal, obtain the data therein, and is connected to the computer via a second USB data interface for data transmission; the computer is used to run detection software, and configure detection parameters and output detection results through its information input and output components.

Citation Information

Patent Citations

  • Method and system for verifying authenticity of thermal transfer ribbon cartridge on thermal transfer printing device

    CN106485292A

  • A digital door lock system

    KR1020070055707A