CN115953889B - Anti-disassembly function detection method, system, device, equipment and storage medium - Google Patents

Anti-disassembly function detection method, system, device, equipment and storage medium Download PDF

Info

Publication number
CN115953889B
CN115953889B CN202310224432.XA CN202310224432A CN115953889B CN 115953889 B CN115953889 B CN 115953889B CN 202310224432 A CN202310224432 A CN 202310224432A CN 115953889 B CN115953889 B CN 115953889B
Authority
CN
China
Prior art keywords
disassembly
detection result
button
feedback information
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310224432.XA
Other languages
Chinese (zh)
Other versions
CN115953889A (en
Inventor
赵会栋
陈超
程先锋
代启龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LCFC Hefei Electronics Technology Co Ltd
Original Assignee
LCFC Hefei Electronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LCFC Hefei Electronics Technology Co Ltd filed Critical LCFC Hefei Electronics Technology Co Ltd
Priority to CN202310224432.XA priority Critical patent/CN115953889B/en
Publication of CN115953889A publication Critical patent/CN115953889A/en
Application granted granted Critical
Publication of CN115953889B publication Critical patent/CN115953889B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The disclosure provides a method, a system, a device, equipment and a storage medium for detecting an anti-disassembly function, and relates to the technical field of computers. The method is applied to the server side of the anti-disassembly function detection system, and mainly comprises the following steps: sending a first test command to a pressing test tool of the anti-disassembly function detection system, wherein the first test command comprises a number sequence of an anti-disassembly button in equipment to be detected, so that the pressing test tool triggers the anti-disassembly button according to the number sequence to obtain actual feedback information corresponding to the anti-disassembly button; sending a second test command to a client of the anti-disassembly function detection system, wherein the second test command comprises a number sequence of an anti-disassembly button in the equipment to be detected, so that the client detects the anti-disassembly button according to the number sequence and actual feedback information to obtain a first detection result; and receiving a first detection result sent by the client, and determining a second detection result corresponding to the anti-dismantling function of the equipment to be detected according to the first detection result.

Description

Anti-disassembly function detection method, system, device, equipment and storage medium
Technical Field
The disclosure relates to the field of computer technology, and in particular, to a method, a system, a device, equipment and a storage medium for detecting an anti-disassembly function.
Background
With the development of the internet of things technology, mobile unmanned payment terminals are required to proliferate. For safety reasons, most unmanned payment terminals have a function of preventing disassembly, which is generally implemented by a disassembly prevention micro control unit (MCU, microcontroller Unit), a disassembly prevention circuit and a disassembly prevention button. When unmanned payment terminal equipment suffers from lawless persons to disassemble maliciously, an anti-disassembly button in the unmanned payment terminal equipment can trigger an alarm function of the equipment and lock a system, so that lawless persons are prevented from implanting chips to monitor payment information and the like. Therefore, when the unmanned payment terminal equipment is produced, the anti-dismantling function of the unmanned payment terminal equipment needs to be detected, so that the normal anti-dismantling function of the unmanned payment terminal equipment after shipment is ensured.
In the prior art, for unmanned payment terminal equipment to be tested, a test point is generally led out from the front end of an anti-disassembly circuit of the unmanned payment terminal equipment, the test point is connected to a probe of a test tool, so that the anti-disassembly circuit is connected, a preset main board test program is opened to check whether an anti-disassembly function is triggered, if the anti-disassembly function is triggered, the anti-disassembly function is proved to be normal, and otherwise, the anti-disassembly function is proved to be abnormal. However, the method can only detect whether the functions of the anti-disassembly MCU and the anti-disassembly circuit are normal, and cannot detect whether the functions of the anti-disassembly button are normal, and the unmanned payment terminal equipment after shipment can have abnormal functions of the anti-disassembly button, so that abnormal conditions of the anti-disassembly function are caused.
Disclosure of Invention
The present disclosure provides a tamper function detection method, system, device, apparatus, and storage medium, to at least solve the above technical problems in the prior art.
According to a first aspect of the present disclosure, there is provided a tamper function detection method, which is applied to a service end of a tamper function detection system, the method including: sending a first test command to a pressing test tool of the anti-disassembly function detection system, wherein the first test command comprises a serial number sequence of an anti-disassembly button in equipment to be detected, so that the pressing test tool triggers the anti-disassembly button according to the serial number sequence to obtain actual feedback information corresponding to the anti-disassembly button; sending a second test command to a client of the anti-disassembly function detection system, wherein the second test command comprises a number sequence of an anti-disassembly button in equipment to be detected, so that the client detects the anti-disassembly button according to the number sequence and the actual feedback information to obtain a first detection result; and receiving a first detection result sent by the client, and determining a second detection result corresponding to the anti-disassembly function of the equipment to be detected according to the first detection result.
In an embodiment, the determining, according to the first detection result, a second detection result corresponding to the tamper-proof function of the device to be detected includes: the first detection result shows that all the anti-disassembly buttons are normal, and the second detection result is determined to be that the anti-disassembly function of the equipment to be detected is normal; and if the first detection result shows that the anti-disassembly button is abnormal, determining that the second detection result is abnormal in anti-disassembly function of the equipment to be detected.
In one embodiment, the method further comprises: and sending a test ending command to the client.
According to a second aspect of the present disclosure, there is provided a tamper function detection method applied to a client of a tamper function detection system, the method comprising: receiving a second test command sent by a server side of the anti-disassembly function detection system, wherein the second test command comprises a serial number sequence of an anti-disassembly button in equipment to be detected; according to the number sequence, monitoring actual feedback information corresponding to the anti-disassembly buttons in sequence; detecting the anti-disassembly button according to the actual feedback information to obtain a first detection result; and sending the first detection result to the server side, so that the server side determines a second detection result corresponding to the anti-disassembly function of the equipment to be detected according to the first detection result.
In an embodiment, the second test command further includes preset feedback information of an anti-disassembly button in the device to be detected, and the detecting the anti-disassembly button according to the actual feedback information, to obtain a first detection result, includes: judging whether the actual feedback information is equal to the preset feedback information or not to obtain a judging result; if the judgment result is yes, determining that the first detection result is that the anti-disassembly button is normal; and if the judgment result is negative, determining that the first detection result is abnormal in the anti-disassembly button.
In an implementation manner, the monitoring, according to the number sequence, the actual feedback information corresponding to the tamper button in turn includes: and according to the number sequence, monitoring serial port data corresponding to the anti-disassembly micro control unit in the equipment to be detected in sequence to obtain actual feedback information corresponding to the anti-disassembly button.
In one embodiment, the method further comprises: and receiving a test ending command sent by the server side, and ending the test according to the test ending command.
According to a third aspect of the present disclosure, there is provided a tamper function detection system, the system comprising: the device comprises a server, a client and a pressing test tool; the server is used for sending a first test command to the pressing test tool, sending a second test command to the client, and determining a second detection result corresponding to the anti-disassembly function of the equipment to be detected according to the first detection result sent by the client; the pressing test tool is used for receiving a first test command sent by the server, wherein the first test command comprises a number sequence of an anti-disassembly button in equipment to be detected, and triggering the anti-disassembly button according to the number sequence to obtain actual feedback information corresponding to the anti-disassembly button; the client is configured to receive a second test command sent by the server, where the second test command includes a number sequence of an anti-disassembly button in a device to be detected, detect the anti-disassembly button according to the number sequence and the actual feedback information, obtain a first detection result, and send the first detection result to the server.
According to a fourth aspect of the present disclosure, there is provided an anti-disassembly function detection apparatus applied to a service end of an anti-disassembly function detection system, the apparatus comprising: the first sending module is used for sending a first test command to a pressing test tool of the anti-disassembly function detection system, wherein the first test command comprises a number sequence of an anti-disassembly button in equipment to be detected, so that the pressing test tool triggers the anti-disassembly button according to the number sequence to obtain actual feedback information corresponding to the anti-disassembly button; the second sending module is used for sending a second test command to the client of the anti-disassembly function detection system, wherein the second test command comprises a number sequence of an anti-disassembly button in equipment to be detected, so that the client detects the anti-disassembly button according to the number sequence and the actual feedback information to obtain a first detection result; the first receiving module is used for receiving a first detection result sent by the client; and the determining module is used for determining a second detection result corresponding to the anti-dismantling function of the equipment to be detected according to the first detection result.
According to a fifth aspect of the present disclosure, there is provided a tamper function detection apparatus applied to a client of a tamper function detection system, the apparatus comprising: the second receiving module is used for receiving a second test command sent by the service end of the anti-disassembly function detection system, wherein the second test command comprises a serial number sequence of anti-disassembly buttons in equipment to be detected; the monitoring module is used for monitoring the actual feedback information corresponding to the anti-disassembly buttons in sequence according to the number sequence; the detection module is used for detecting the anti-disassembly button according to the actual feedback information to obtain a first detection result; and the third sending module is used for sending the first detection result to the server side so that the server side can determine a second detection result corresponding to the anti-disassembly function of the equipment to be detected according to the first detection result.
According to a sixth aspect of the present disclosure, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the methods described in the present disclosure.
According to a seventh aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of the present disclosure.
According to the method, the system, the device, the equipment and the storage medium for detecting the anti-disassembly function, firstly, a server sends a first test command to a pressing test tool, and sends a second test command to a client, wherein the first test command and the second test command both comprise a number sequence of an anti-disassembly button in equipment to be detected, the pressing test tool can trigger the anti-disassembly button according to the number sequence to obtain actual feedback information corresponding to the anti-disassembly button, the client can detect the anti-disassembly button according to the number sequence and the actual feedback information to obtain a first detection result, the first detection result is sent to the server, and the server can determine a second detection result corresponding to the anti-disassembly function of the equipment to be detected according to the first detection result. Therefore, not only can the anti-disassembly MCU and the anti-disassembly circuit of the equipment to be detected, but also the anti-disassembly button can be detected, the detection coverage is wider, the anti-disassembly function detection is carried out in a mode of triggering the anti-disassembly button, which is more in line with the actual use scene, in addition, the automatic detection of the anti-disassembly function is realized in a mode of combining a client, a server and a pressing test tool, the labor cost can be reduced, and the detection accuracy is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The above, as well as additional purposes, features, and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description when read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings, in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
FIG. 1 is a schematic diagram showing a construction of a tamper function detection system according to a first embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of a method for detecting tamper evident functions according to a second embodiment of the present disclosure;
FIG. 3 is a schematic flow chart of a method for detecting tamper evident functions according to a third embodiment of the present disclosure;
fig. 4 is a schematic structural view showing a tamper function detecting device according to a fourth embodiment of the present disclosure;
fig. 5 is a schematic structural view showing a tamper function detecting device according to a fifth embodiment of the present disclosure;
fig. 6 shows a schematic diagram of a composition structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, features and advantages of the present disclosure more comprehensible, the technical solutions in the embodiments of the present disclosure will be clearly described in conjunction with the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, but not all embodiments. Based on the embodiments in this disclosure, all other embodiments that a person skilled in the art would obtain without making any inventive effort are within the scope of protection of this disclosure.
Fig. 1 shows a schematic structural diagram of an anti-disassembly function detection system according to a first embodiment of the disclosure, and as shown in fig. 1, the system mainly includes: the device comprises a server, a client and a pressing test tool;
the server side is used for sending a first test command to the pressing test tool, sending a second test command to the client side and determining a second detection result corresponding to the anti-disassembly function of the equipment to be detected according to the first detection result sent by the client side;
pressing a testing tool, wherein the testing tool is used for receiving a first testing command sent by a server, the first testing command comprises a number sequence of an anti-disassembly button in equipment to be detected, and triggering the anti-disassembly button according to the number sequence to obtain actual feedback information corresponding to the anti-disassembly button;
the client is used for receiving a second test command sent by the server, wherein the second test command comprises a number sequence of the anti-disassembly button in the equipment to be detected, detecting the anti-disassembly button according to the number sequence and actual feedback information, obtaining a first detection result, and sending the first detection result to the server.
In this embodiment, the service end is connected with the customer end and presses test fixture respectively, and the customer end is connected with the anti-disassembly micro control unit (MCU, microcontroller Unit) of waiting to detect equipment, prevents tearing open MCU and prevents tearing open the button through preventing tearing open the circuit and be connected, presses test fixture including the cylinder, and the cylinder can press preventing tearing open the button. As shown in fig. 1, the anti-disassembly MCU is connected with an anti-disassembly button B1 through an anti-disassembly circuit 1, is connected with an anti-disassembly button B2 through an anti-disassembly circuit 2, is connected with an anti-disassembly button B3 through an anti-disassembly circuit 3, and is connected with an anti-disassembly button B4 through an anti-disassembly circuit 4. It should be emphasized that the number of tamper evident buttons in different devices to be tested may vary, and the present disclosure is not limited thereto.
In this embodiment, the server is configured to send a first test command to the pressing test tool and send a second test command to the client, where the first test command and the second test command each include a number sequence of the tamper button in the device to be detected, and the number sequences in the first test command and the second test command are the same, as shown in fig. 1, and the number sequences of the tamper button may be (B1, B2, B3, B4); the pressing test tool is used for receiving a first test command sent by the server and triggering the anti-disassembly buttons according to a number sequence to obtain actual feedback information corresponding to the anti-disassembly buttons, and if the number sequence of the anti-disassembly buttons is (B1, B2, B3 and B4), the pressing test tool triggers the anti-disassembly buttons B1, B2, B3 and B4 in sequence according to the number sequence, and each anti-disassembly button generates corresponding actual feedback information after being pressed; the client is used for receiving a second test command sent by the server, the second test command also comprises preset feedback information corresponding to the anti-disassembly button, the preset feedback information is correct feedback information which should be returned after the anti-disassembly button is triggered, the client monitors actual feedback information returned after the anti-disassembly button is triggered through a number sequence and the anti-disassembly MCU, the actual feedback information is compared with the preset feedback information, and therefore a first detection result is obtained and sent to the server; the server side is further configured to receive the first detection result, and determine a second detection result corresponding to the anti-disassembly function of the device to be detected according to the first detection result.
Fig. 2 is a schematic flow chart of a tamper function detection method according to a second embodiment of the present disclosure, where the method is applied to a service end of a tamper function detection system, as shown in fig. 2, and the method mainly includes:
step S101, a first test command is sent to a pressing test tool of the anti-dismantling function detection system.
In this embodiment, the server sends a first test command to the pressing test tool of the anti-disassembly function detection system, where the first test command includes a number sequence of the anti-disassembly button in the device to be detected, so that the pressing test tool triggers the anti-disassembly button according to the number sequence, and obtains actual feedback information corresponding to the anti-disassembly button.
With the illustration of fig. 1, the server sends the first test command to the pressing test tool, if the serial numbers of the anti-disassembly buttons in the first test command are (B1, B2, B3, B4), the pressing test tool presses and triggers the anti-disassembly buttons B1, B2, B3 and B4 successively according to the serial numbers, so as to generate the actual feedback information corresponding to the anti-disassembly buttons.
Step S102, a second test command is sent to the client of the anti-disassembly function detection system.
In this embodiment, the server sends a second test command to the client of the anti-disassembly function detection system, where the second test command includes a number sequence of the anti-disassembly button in the device to be detected, so that the client detects the anti-disassembly button according to the number sequence and actual feedback information obtained by pressing the test tool to trigger the anti-disassembly button, and a first detection result is obtained.
As shown in fig. 1, the server sends a second test command to the client of the anti-disassembly function detection system, if the number sequence of the anti-disassembly buttons in the second test command is (B1, B2, B3, B4), the client can monitor the actual feedback information generated after each anti-disassembly button is pressed by the pressing test tool through the number sequence and the anti-disassembly MCU connected with the number sequence, and sequentially detect the anti-disassembly buttons B1, B2, B3 and B4 according to the actual feedback information, thereby obtaining a first detection result.
In an embodiment, according to a first test command sent by a server, pressing a test tool can press and trigger an anti-disassembly button B1 to obtain actual feedback information corresponding to the anti-disassembly button B1, and if a client monitors the actual feedback information corresponding to the anti-disassembly button B1 through an anti-disassembly MCU, it is indicated that the anti-disassembly button B1 has a response to pressing the test tool, it can be considered that the anti-disassembly button B1 and the anti-disassembly circuit 1 are normal, and a first detection result of the normal anti-disassembly button B1 is sent to the server; then press the test fixture and can press the trigger to prevent tearing open button B2 again, if can't obtain the actual feedback information that prevents tearing open button B2 corresponds, promptly the customer end can't monitor the actual feedback information that prevents tearing open button B2 corresponds through preventing tearing open MCU, then can regard to prevent tearing open button B2 or prevent tearing open circuit 2 unusual to send the unusual first testing result of preventing tearing open button B2 to the server, analogize in proper order, until all prevent tearing open buttons in the serial number sequence all detect. It should be emphasized that, in the detection process of the device to be detected, if the client can receive the actual feedback information returned by any anti-disassembly button, the anti-disassembly MCU of the device to be detected is considered to be normal.
Step S103, receiving a first detection result sent by the client, and determining a second detection result corresponding to the anti-disassembly function of the equipment to be detected according to the first detection result.
In this embodiment, the server receives a first detection result sent by the client, and determines a second detection result corresponding to the anti-disassembly function of the device to be detected according to the first detection result. Specifically, if the first detection result shows that all the anti-disassembly buttons are normal, determining that the second detection result is that the anti-disassembly function of the equipment to be detected is normal; and if the first detection result shows that the anti-disassembly button is abnormal, determining that the second detection result is abnormal in anti-disassembly function of the equipment to be detected.
In an embodiment, after determining the second detection result corresponding to the anti-disassembly function of the device to be detected, the server may send a test end command to the client, so that the client ends the detection of the device to be detected according to the test end command.
In this disclosure second embodiment, send first test command and second test command to pressing test fixture and customer end through preventing tearing open function detecting system's customer end to make pressing test fixture and customer end cooperation accomplish and to wait to detect the equipment prevent tearing open the function and carry out automated inspection, not only can wait to detect equipment prevent tearing open MCU and prevent tearing open the circuit, can also detect preventing tearing open the button, it is wider to detect the coverage, moreover prevent tearing open the function detection and more accord with true service scenario with the mode that triggers preventing tearing open the button, in addition, can also reduce the human cost and improve the detection accuracy.
Fig. 3 is a schematic flow chart of a tamper function detection method according to a third embodiment of the present disclosure, where the method is applied to a client of a tamper function detection system, and as shown in fig. 3, the method mainly includes:
step S201, a second test command sent by the server of the tamper function detection system is received.
In this embodiment, the client receives a second test command sent by the server of the tamper function detection system, where the second test command includes a serial number sequence of tamper buttons in the device to be detected. Specifically, as shown in fig. 1, the numbering sequence may be (B1, B2, B3, B4).
Step S202, according to the number sequence, monitoring actual feedback information corresponding to the anti-disassembly buttons in sequence.
In this embodiment, the client may monitor, in sequence, actual feedback information corresponding to the tamper button according to the number sequence. Specifically, as shown in fig. 1, the client is connected with the anti-disassembly MCU of the device to be detected, and then the client can monitor serial port data corresponding to the anti-disassembly MCU in the device to be detected in sequence according to the serial number sequence, so as to obtain actual feedback information corresponding to the anti-disassembly button.
In an embodiment, the second test command further includes preset feedback information of the tamper button in the device to be tested, where the preset feedback information is correct feedback information that should be returned after the tamper button is triggered, and the preset feedback information may be displayed in a sequential manner, and taking fig. 1 as an example, the preset feedback information may be (X001, X010, X011, X100), which indicates that the preset feedback information corresponding to the tamper button B1 is X001, the preset feedback information corresponding to the tamper button B2 is X010, the preset feedback information corresponding to the tamper button B3 is X011, and the preset feedback information corresponding to the tamper button B4 is X100.
Step S203, detecting the anti-disassembly button according to the actual feedback information to obtain a first detection result.
Step S204, send the first detection result to the server.
In this embodiment, the client also needs to detect the anti-disassembly button according to the actual feedback information, so as to obtain a first detection result, and send the first detection result to the server, so that the server determines, according to the first detection result, a second detection result corresponding to the anti-disassembly function of the device to be detected.
In an embodiment, as shown in fig. 1, according to a first test command sent by a server, pressing a test tool may separately press and trigger an anti-disassembly button B1, an anti-disassembly button B2, an anti-disassembly button B3, and an anti-disassembly button B4, that is, a client first receives actual feedback information corresponding to the anti-disassembly button B1, determines whether the actual feedback information is equal to preset feedback information corresponding to the anti-disassembly button B1, if so, the first detection result is that the anti-disassembly button B1 and the anti-disassembly circuit 1 are normal, and sends the first detection result to the server; and then the client receives actual feedback information corresponding to the anti-disassembly button B2, judges whether the actual feedback information is equal to preset feedback information corresponding to the anti-disassembly button B2, if not, the first detection result is abnormal of the anti-disassembly button B2 or the anti-disassembly circuit 2, sends the first detection result to the server, and the like until all the anti-disassembly buttons are detected.
In an embodiment, as shown in fig. 1, according to a first test command sent by the server, pressing the test tool may sequentially press and trigger the anti-disassembly button B1, the anti-disassembly button B2, the anti-disassembly button B3, and the anti-disassembly button B4, so as to obtain actual feedback information corresponding to all the anti-disassembly buttons, where the actual feedback information is displayed in a sequence form. If the actual feedback information is (X001, null, X011, X100), where Null indicates a return Null signal and the preset feedback information is (X001, X010, X011, X100), all the tamper buttons can be detected simultaneously according to the actual feedback information and the preset feedback information, for example, the actual feedback information X001 corresponding to the tamper button B1 is equal to the preset feedback information X001 corresponding to the tamper button B1, and both the tamper button B1 and the tamper circuit 1 are normal; the actual feedback information Null corresponding to the anti-disassembly button B2 is not equal to the preset feedback information X010 corresponding to the anti-disassembly button B2, the anti-disassembly button B2 or the anti-disassembly circuit 2 is abnormal, and the like until all the anti-disassembly buttons are detected, a first detection result containing all the detection results of the anti-disassembly buttons is obtained, and the first detection result is sent to the server.
In an embodiment, the client further needs to receive a test ending command sent by the server, and end the test according to the test ending command.
In the third embodiment of the disclosure, the client of the anti-disassembly function detection system automatically detects the anti-disassembly function of the equipment to be detected according to the second test command sent by the server by combining with the pressing test tool, so that the anti-disassembly MCU and the anti-disassembly circuit of the equipment to be detected can be detected, the anti-disassembly button can be detected, the detection coverage is wider, and the detection of the anti-disassembly function in a mode of triggering the anti-disassembly button is more in accordance with the actual use scene.
Fig. 4 is a schematic structural diagram of an anti-disassembly function detection device according to a fourth embodiment of the disclosure, where the device is applied to a service end of an anti-disassembly function detection system, and as shown in fig. 4, the device mainly includes:
the first sending module 10 is configured to send a first test command to a pressing test tool of the tamper function detection system, where the first test command includes a serial number sequence of tamper buttons in the device to be detected, so that the pressing test tool triggers the tamper buttons according to the serial number sequence, and obtains actual feedback information corresponding to the tamper buttons; the second sending module 11 is configured to send a second test command to a client of the tamper function detection system, where the second test command includes a serial number sequence of the tamper button in the device to be detected, so that the client detects the tamper button according to the serial number sequence and actual feedback information, and obtains a first detection result; a first receiving module 12, configured to receive a first detection result sent by the client; and the determining module 13 is configured to determine a second detection result corresponding to the anti-disassembly function of the device to be detected according to the first detection result.
In an embodiment, the determining module 13 is further configured to determine that the first detection result indicates that all the tamper buttons are normal, and determine that the second detection result is that the tamper function of the device to be detected is normal; and if the first detection result shows that the anti-disassembly button is abnormal, determining that the second detection result is abnormal in anti-disassembly function of the equipment to be detected.
In one embodiment, the apparatus further comprises: and the fourth sending module is used for sending a test ending command to the client.
Fig. 5 is a schematic structural diagram of a tamper function detection device according to a fifth embodiment of the present disclosure, where the device is applied to a client of a tamper function detection system, and as shown in fig. 5, the device mainly includes:
the second receiving module 20 is configured to receive a second test command sent by the service end of the tamper function detection system, where the second test command includes a serial number sequence of tamper buttons in the device to be detected; the monitoring module 21 is configured to monitor actual feedback information corresponding to the anti-disassembly buttons in sequence according to the number sequence; the detection module 22 is configured to detect the tamper button according to the actual feedback information, so as to obtain a first detection result; and the third sending module 23 is configured to send the first detection result to the server, so that the server determines, according to the first detection result, a second detection result corresponding to the anti-disassembly function of the device to be detected.
In one embodiment, the detection module 22 mainly includes:
the judging sub-module is used for judging whether the actual feedback information is equal to the preset feedback information or not to obtain a judging result; if the judgment result is yes, determining that the first detection result is that the anti-disassembly button is normal; and if the judgment result is negative, determining that the first detection result is abnormal in the anti-disassembly button.
In an embodiment, the monitoring module 21 is further configured to monitor serial data corresponding to the anti-disassembly micro control unit in the device to be detected in sequence according to the number sequence, so as to obtain actual feedback information corresponding to the anti-disassembly button.
In one embodiment, the apparatus further comprises: and the third receiving module is used for receiving the test ending command sent by the server and ending the test according to the test ending command.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
Fig. 6 illustrates a schematic block diagram of an example electronic device 600 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 may also be stored. The computing unit 601, ROM 602, and RAM 603 are connected to each other by a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Various components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, mouse, etc.; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the respective methods and processes described above, for example, a tamper function detection method. For example, in some embodiments, a tamper evident function detection method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When a computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of a tamper function detection method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform a tamper function detection method in any other suitable way (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The foregoing is merely specific embodiments of the disclosure, but the protection scope of the disclosure is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the disclosure, and it is intended to cover the scope of the disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (12)

1. The method for detecting the anti-disassembly function is characterized by being applied to a server side of an anti-disassembly function detection system, and comprises the following steps:
sending a first test command to a pressing test tool of the anti-disassembly function detection system, wherein the first test command comprises a serial number sequence of an anti-disassembly button in equipment to be detected, so that the pressing test tool triggers the anti-disassembly button according to the serial number sequence to obtain actual feedback information corresponding to the anti-disassembly button;
sending a second test command to a client of the anti-disassembly function detection system, wherein the second test command comprises a number sequence of an anti-disassembly button in equipment to be detected, so that the client detects the anti-disassembly button according to the number sequence and the actual feedback information to obtain a first detection result;
and receiving a first detection result sent by the client, and determining a second detection result corresponding to the anti-disassembly function of the equipment to be detected according to the first detection result.
2. The method according to claim 1, wherein determining, according to the first detection result, a second detection result corresponding to the tamper-proof function of the device to be detected includes:
the first detection result shows that all the anti-disassembly buttons are normal, and the second detection result is determined to be that the anti-disassembly function of the equipment to be detected is normal;
and if the first detection result shows that the anti-disassembly button is abnormal, determining that the second detection result is abnormal in anti-disassembly function of the equipment to be detected.
3. The method according to any one of claims 1 to 2, further comprising:
and sending a test ending command to the client.
4. A tamper evident feature detection method, the method being applied to a client of a tamper evident feature detection system, the method comprising:
receiving a second test command sent by a server side of the anti-disassembly function detection system, wherein the second test command comprises a serial number sequence of an anti-disassembly button in equipment to be detected;
according to the number sequence, monitoring actual feedback information corresponding to the anti-disassembly buttons in sequence;
detecting the anti-disassembly button according to the actual feedback information to obtain a first detection result;
and sending the first detection result to the server side, so that the server side determines a second detection result corresponding to the anti-disassembly function of the equipment to be detected according to the first detection result.
5. The method of claim 4, wherein the second test command further includes preset feedback information of an anti-disassembly button in the device to be tested, and the testing the anti-disassembly button according to the actual feedback information, to obtain a first test result, includes:
judging whether the actual feedback information is equal to the preset feedback information or not to obtain a judging result;
if the judgment result is yes, determining that the first detection result is that the anti-disassembly button is normal;
and if the judgment result is negative, determining that the first detection result is abnormal in the anti-disassembly button.
6. The method according to claim 4, wherein the sequentially monitoring the actual feedback information corresponding to the tamper button according to the number sequence includes:
and according to the number sequence, monitoring serial port data corresponding to the anti-disassembly micro control unit in the equipment to be detected in sequence to obtain actual feedback information corresponding to the anti-disassembly button.
7. The method according to any one of claims 4 to 6, further comprising:
and receiving a test ending command sent by the server side, and ending the test according to the test ending command.
8. A tamper evident feature detection system, the system comprising: the device comprises a server, a client and a pressing test tool;
the server is used for sending a first test command to the pressing test tool, sending a second test command to the client, and determining a second detection result corresponding to the anti-disassembly function of the equipment to be detected according to the first detection result sent by the client;
the pressing test tool is used for receiving a first test command sent by the server, wherein the first test command comprises a number sequence of an anti-disassembly button in equipment to be detected, and triggering the anti-disassembly button according to the number sequence to obtain actual feedback information corresponding to the anti-disassembly button;
the client is configured to receive a second test command sent by the server, where the second test command includes a number sequence of an anti-disassembly button in a device to be detected, detect the anti-disassembly button according to the number sequence and the actual feedback information, obtain a first detection result, and send the first detection result to the server.
9. An anti-disassembly function detection device, wherein the device is applied to a server of an anti-disassembly function detection system, the device comprising:
the first sending module is used for sending a first test command to a pressing test tool of the anti-disassembly function detection system, wherein the first test command comprises a number sequence of an anti-disassembly button in equipment to be detected, so that the pressing test tool triggers the anti-disassembly button according to the number sequence to obtain actual feedback information corresponding to the anti-disassembly button;
the second sending module is used for sending a second test command to the client of the anti-disassembly function detection system, wherein the second test command comprises a number sequence of an anti-disassembly button in equipment to be detected, so that the client detects the anti-disassembly button according to the number sequence and the actual feedback information to obtain a first detection result;
the first receiving module is used for receiving a first detection result sent by the client;
and the determining module is used for determining a second detection result corresponding to the anti-dismantling function of the equipment to be detected according to the first detection result.
10. An anti-tamper function detection device, the device being applied to a client of an anti-tamper function detection system, the device comprising:
the second receiving module is used for receiving a second test command sent by the service end of the anti-disassembly function detection system, wherein the second test command comprises a serial number sequence of anti-disassembly buttons in equipment to be detected;
the monitoring module is used for monitoring the actual feedback information corresponding to the anti-disassembly buttons in sequence according to the number sequence;
the detection module is used for detecting the anti-disassembly button according to the actual feedback information to obtain a first detection result;
and the third sending module is used for sending the first detection result to the server side so that the server side can determine a second detection result corresponding to the anti-disassembly function of the equipment to be detected according to the first detection result.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-3 or to perform the method of any one of claims 4-7.
12. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-3 or to perform the method of any one of claims 4-7.
CN202310224432.XA 2023-03-06 2023-03-06 Anti-disassembly function detection method, system, device, equipment and storage medium Active CN115953889B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310224432.XA CN115953889B (en) 2023-03-06 2023-03-06 Anti-disassembly function detection method, system, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310224432.XA CN115953889B (en) 2023-03-06 2023-03-06 Anti-disassembly function detection method, system, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115953889A CN115953889A (en) 2023-04-11
CN115953889B true CN115953889B (en) 2023-07-07

Family

ID=85906894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310224432.XA Active CN115953889B (en) 2023-03-06 2023-03-06 Anti-disassembly function detection method, system, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115953889B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2313915A1 (en) * 1999-07-15 2001-01-15 Roger L. Paradis Network interface device
JP2002344588A (en) * 2001-05-14 2002-11-29 Hitachi Kokusai Electric Inc Radio terminal
JP2006106831A (en) * 2004-09-30 2006-04-20 Nippon Telegr & Teleph Corp <Ntt> Rfid tag with tamper-resistant function, and article management system
CN202662042U (en) * 2012-03-31 2013-01-09 深圳市金溢科技有限公司 Electronic tag
CN103592560A (en) * 2013-11-01 2014-02-19 福建升腾资讯有限公司 Method for testing dismantlement prevention function of main board
CN104332011A (en) * 2014-10-30 2015-02-04 上海圣熙信息技术有限公司 Wristband with energy-saving anti-removal detection mechanism
CN107103699A (en) * 2017-06-14 2017-08-29 扬州万泰电子科技有限公司 A kind of anti-interference valve control circuit of intellectual water meter and its method of work
CN206773744U (en) * 2017-06-05 2017-12-19 建投物联(江西)股份有限公司 A kind of anti-demolition electronic tags
CN108389347A (en) * 2018-04-28 2018-08-10 北京圣奥安防科技有限公司 A kind of law-enforcing recorder anti-disassembling device
CN208206396U (en) * 2018-04-11 2018-12-07 宁波尚泰电子有限公司 A kind of water level alarm
CN210016570U (en) * 2019-07-17 2020-02-04 福州需求侧电力科技有限公司 Electric power operation information acquisition system
CN210666778U (en) * 2019-09-02 2020-06-02 北京万集科技股份有限公司 OBU prevents tearing open circuit and OBU
CN114510755A (en) * 2022-01-19 2022-05-17 广东天波信息技术股份有限公司 Anti-dismantling protection method for terminal equipment, terminal equipment and readable storage medium
CN115113036A (en) * 2022-07-14 2022-09-27 河南省正龙煤业有限公司 Mining switch leakage testing device and using method thereof
CN218273606U (en) * 2022-06-08 2023-01-10 上海龙的信息系统有限公司 Anti-theft alarm equipment based on radar and alarm system comprising same

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2313915A1 (en) * 1999-07-15 2001-01-15 Roger L. Paradis Network interface device
JP2002344588A (en) * 2001-05-14 2002-11-29 Hitachi Kokusai Electric Inc Radio terminal
JP2006106831A (en) * 2004-09-30 2006-04-20 Nippon Telegr & Teleph Corp <Ntt> Rfid tag with tamper-resistant function, and article management system
CN202662042U (en) * 2012-03-31 2013-01-09 深圳市金溢科技有限公司 Electronic tag
CN103592560A (en) * 2013-11-01 2014-02-19 福建升腾资讯有限公司 Method for testing dismantlement prevention function of main board
CN104332011A (en) * 2014-10-30 2015-02-04 上海圣熙信息技术有限公司 Wristband with energy-saving anti-removal detection mechanism
CN206773744U (en) * 2017-06-05 2017-12-19 建投物联(江西)股份有限公司 A kind of anti-demolition electronic tags
CN107103699A (en) * 2017-06-14 2017-08-29 扬州万泰电子科技有限公司 A kind of anti-interference valve control circuit of intellectual water meter and its method of work
CN208206396U (en) * 2018-04-11 2018-12-07 宁波尚泰电子有限公司 A kind of water level alarm
CN108389347A (en) * 2018-04-28 2018-08-10 北京圣奥安防科技有限公司 A kind of law-enforcing recorder anti-disassembling device
CN210016570U (en) * 2019-07-17 2020-02-04 福州需求侧电力科技有限公司 Electric power operation information acquisition system
CN210666778U (en) * 2019-09-02 2020-06-02 北京万集科技股份有限公司 OBU prevents tearing open circuit and OBU
CN114510755A (en) * 2022-01-19 2022-05-17 广东天波信息技术股份有限公司 Anti-dismantling protection method for terminal equipment, terminal equipment and readable storage medium
CN218273606U (en) * 2022-06-08 2023-01-10 上海龙的信息系统有限公司 Anti-theft alarm equipment based on radar and alarm system comprising same
CN115113036A (en) * 2022-07-14 2022-09-27 河南省正龙煤业有限公司 Mining switch leakage testing device and using method thereof

Also Published As

Publication number Publication date
CN115953889A (en) 2023-04-11

Similar Documents

Publication Publication Date Title
CN114064208A (en) Method and device for detecting application service state, electronic equipment and storage medium
CN115598505A (en) Chip detection method, device, equipment and storage medium
CN113911872B (en) Fault processing method and system and early warning rescue system
CN113641544A (en) Method, apparatus, device, medium and product for detecting application status
CN115953889B (en) Anti-disassembly function detection method, system, device, equipment and storage medium
CN116450176A (en) Version updating method and device, electronic equipment and storage medium
CN115407150A (en) System, method, meter and medium for determining use condition of protective pressing plate
CN114329149A (en) Detection method and device for automatically capturing page information, electronic equipment and readable storage medium
CN114546799A (en) Point burying log checking method and device, electronic equipment, storage medium and product
CN117056150B (en) Network attached storage detection method, device, equipment and storage medium
CN115422555B (en) Back door program detection method and device, electronic equipment and storage medium
CN117632670A (en) Fault warning method and device for test environment, electronic equipment and storage medium
CN117251769B (en) Abnormal data identification method, device, equipment and medium based on monitoring component
CN113674246B (en) Method, device, electronic equipment and storage medium for auditing picture files
CN116737547A (en) Application program detection method, device, equipment and storage medium
CN117290179A (en) Method, device, equipment and storage medium for determining event timeout state
CN115604091A (en) Data processing method and device, substrate control management system and electronic equipment
CN117221158A (en) Micro-service application monitoring method, device, equipment and medium
CN114363017A (en) System function calling method, device, equipment and storage medium
CN117520195A (en) Method, apparatus, device, storage medium and program product for testing interface
CN117609064A (en) Unit test method and device, electronic equipment and storage medium
CN115480953A (en) Service deployment method and device
CN115932449A (en) Method, device and equipment for testing performance of electronic product and storage medium
CN117852043A (en) Determination method and device for abnormal device, electronic device and storage medium
CN117271289A (en) Webpage monitoring method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant