CN115953889A - Tamper-proof function detection method, system, device, equipment and storage medium - Google Patents

Tamper-proof function detection method, system, device, equipment and storage medium Download PDF

Info

Publication number
CN115953889A
CN115953889A CN202310224432.XA CN202310224432A CN115953889A CN 115953889 A CN115953889 A CN 115953889A CN 202310224432 A CN202310224432 A CN 202310224432A CN 115953889 A CN115953889 A CN 115953889A
Authority
CN
China
Prior art keywords
button
detection result
disassembly
tamper
feedback information
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.)
Granted
Application number
CN202310224432.XA
Other languages
Chinese (zh)
Other versions
CN115953889B (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

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The disclosure provides a method, a system, a device, equipment and a storage medium for detecting an anti-dismantling function, and relates to the technical field of computers. The method is applied to a server side of the anti-dismantling 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 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 serial number sequence of an anti-disassembly button in equipment to be detected, so that the client detects the anti-disassembly button according to the serial 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

Tamper-proof function detection method, system, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, a system, an apparatus, a device, and a storage medium for detecting an anti-tamper function.
Background
With the development of the internet of things technology, the demand of the mobile unmanned payment terminal is increased. In view of security, most unmanned payment terminals have a disassembly prevention function, and the disassembly prevention function is generally implemented by a disassembly prevention Micro Control Unit (MCU), a disassembly prevention circuit, and a disassembly prevention button. When the unmanned payment terminal equipment is maliciously disassembled by lawbreakers, an anti-disassembly button in the unmanned payment terminal equipment can trigger the alarm function of the equipment and lock the system, so that the lawbreakers are prevented from being implanted into a chip to monitor payment information and the like. Therefore, when the unmanned payment terminal device is produced, the anti-disassembly function of the unmanned payment terminal device needs to be detected, so that the anti-disassembly function of the unmanned payment terminal device after shipment is ensured to be normal.
In the prior art, for an unmanned payment terminal device to be tested, a test point is generally led out from the front end of an anti-disassembly circuit of the unmanned payment terminal device, and the test point is connected to a probe of a test tool, so that the anti-disassembly circuit is connected, meanwhile, a preset mainboard 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, otherwise, the anti-disassembly function is proved to be abnormal. However, the method can only detect whether the functions of the anti-tamper MCU and the anti-tamper circuit are normal, and cannot detect whether the function of the anti-tamper button is normal, and the unmanned payment terminal device after shipment may have abnormal functions of the anti-tamper button, thereby causing abnormal functions of the anti-tamper.
Disclosure of Invention
The disclosure provides a tamper-proof function detection method, system, device, equipment and storage medium, which at least solve the technical problems in the prior art.
According to a first aspect of the present disclosure, a method for detecting a tamper-resistant function is provided, where the method is applied to a server of a tamper-resistant function detection system, and the method includes: sending a first test command to a press 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 press 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 serial number sequence of an anti-disassembly button in equipment to be detected, so that the client detects the anti-disassembly button according to the serial 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-dismantling function of the equipment to be detected according to the first detection result.
In an implementation manner, the determining, according to the first detection result, a second detection result corresponding to the detachment prevention function of the device to be detected includes: if the first detection result shows that all the anti-dismounting buttons are normal, determining that the second detection result is that the anti-dismounting function of the equipment to be detected is normal; and if the first detection result shows that the disassembly prevention button is abnormal, determining that the second detection result is the disassembly prevention function abnormity 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-proof function detection method, which is applied to a client of a tamper-proof function detection system, and includes: 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 anti-disassembly buttons in equipment to be detected; sequentially monitoring actual feedback information corresponding to the anti-dismantling buttons according to the serial number sequence; detecting the anti-dismantling button according to the actual feedback information to obtain a first detection result; and sending the first detection result to the server, so that the server 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 implementation manner, the second test command further includes preset feedback information of a tamper button in the device to be tested, and the tamper button is detected according to the actual feedback information to obtain a first detection result, including: judging whether the actual feedback information is equal to the preset feedback information or not to obtain a judgment result; if the judgment result is yes, determining that the first detection result is that the anti-dismounting button is normal; and if the judgment result is negative, determining that the first detection result is that the anti-dismounting button is abnormal.
In an implementation manner, the sequentially monitoring the actual feedback information corresponding to the tamper button according to the number sequence includes: and sequentially monitoring serial port data corresponding to the anti-dismantling micro-control units in the equipment to be detected according to the serial number sequence to obtain actual feedback information corresponding to the anti-dismantling buttons.
In one embodiment, the method further comprises: and receiving a test ending command sent by the server, and ending the test according to the test ending command.
According to a third aspect of the present disclosure, there is provided a tamper-proof function detection system, the system comprising: the system comprises a server, a client and a press test tool; the server is used for sending a first test command to the press test tool, sending a second test command to the client, and determining a second detection result corresponding to the anti-disassembly function of the device 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 serial number sequence of an anti-disassembly button in equipment to be tested, and the anti-disassembly button is triggered according to the serial 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, the second test command comprises a serial number sequence of an anti-dismantling button in equipment to be tested, the anti-dismantling button is detected according to the serial number sequence and the actual feedback information to obtain a first detection result, and the first detection result is sent to the server.
According to a fourth aspect of the present disclosure, there is provided a tamper-proof function detection apparatus, which is applied to a server of a tamper-proof function detection system, the apparatus including: 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 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; the second sending module is used for sending a second test command to the client 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, so that the client side can detect the anti-disassembly button according to the serial 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-dismounting 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-proof function detection apparatus applied to a client of a tamper-proof function detection system, the apparatus including: the second receiving module is used for receiving a second test command sent by a server side of the anti-tamper function detection system, wherein the second test command comprises a serial number sequence of anti-tamper buttons in equipment to be detected; the monitoring module is used for sequentially monitoring actual feedback information corresponding to the anti-dismantling buttons according to the serial 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, so that the server determines a second detection result corresponding to the anti-dismounting 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 first and the second end of the pipe are connected with each other,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the methods of the present disclosure.
According to a seventh aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of the present disclosure.
The utility model discloses a prevent tearing open function detection method, system, device, equipment and storage medium, at first, send first test command to pressing test fixture by the server, and send second test command to the customer end, all include the serial number sequence of preventing tearing open the button in the equipment of awaiting measuring in first test command and the second test command, press test fixture and can trigger according to the serial number sequence and prevent tearing open the button, obtain the actual feedback information that prevents tearing open the button and correspond, the customer end can be according to serial number sequence and actual feedback information, detect preventing tearing open the button, obtain first testing result, and send first testing result to the server, the server can confirm the second testing result that the prevent tearing open function of the equipment of awaiting measuring corresponds according to first testing result. From this, not only can treat that check out test set's preventing tearing open MCU and preventing tearing open the circuit and detect, can also detect preventing tearing open the button, it is wider to detect the coverage, prevents tearing open the mode of button in order to trigger moreover and detects more according with real use scene with preventing tearing open, in addition, has realized the automatic detection to preventing tearing open the function with the mode that customer end, server side and press test fixture combine, can reduce the human cost and improve and detect the accuracy.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description 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 and in which:
in the drawings, like or corresponding reference characters designate like or corresponding parts.
Fig. 1 is a schematic structural diagram of a tamper-proof function detection system according to a first embodiment of the disclosure;
fig. 2 is a schematic flow chart illustrating a tamper-proof function detection method according to a second embodiment of the disclosure;
fig. 3 is a schematic flow chart illustrating a tamper-proof function detection method according to a third embodiment of the disclosure;
fig. 4 is a schematic structural diagram of a tamper-proof function detection device according to a fourth embodiment of the disclosure;
fig. 5 is a schematic structural diagram of a tamper-proof function detection device according to a fifth embodiment of the disclosure;
fig. 6 shows a schematic structural diagram 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 apparent and understandable, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
Fig. 1 shows a schematic structural diagram of a tamper-proof function detection system according to a first embodiment of the disclosure, and as shown in fig. 1, the system mainly includes: the system comprises a server, a client and a press test tool;
the server is used for sending a first test command to the press test tool, sending a second test command to the client, and determining a second detection result corresponding to the anti-dismounting 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 a server, wherein the first test command comprises a serial number sequence of an anti-dismantling button in the equipment to be tested, and the anti-dismantling button is triggered according to the serial number sequence to obtain actual feedback information corresponding to the anti-dismantling button;
and the client is used for receiving a second test command sent by the server, wherein the second test command comprises a serial number sequence of the anti-dismantling button in the equipment to be detected, detecting the anti-dismantling button according to the serial number sequence and actual feedback information to obtain a first detection result, and sending the first detection result to the server.
In this embodiment, the server side is connected with the customer end respectively and presses the test fixture, and the customer end is connected with the anti-tear micro control Unit (MCU, microcontroller Unit) of waiting to examine equipment of examining, prevents tearing open MCU and is connected with the anti-tear button through preventing tearing open the circuit, presses the test fixture and includes the cylinder, and the cylinder can press the anti-tear button. As shown in fig. 1, the anti-dismantling MCU is connected with the anti-dismantling button B1 through the anti-dismantling circuit 1, connected with the anti-dismantling button B2 through the anti-dismantling circuit 2, connected with the anti-dismantling button B3 through the anti-dismantling circuit 3, and connected with the anti-dismantling button B4 through the anti-dismantling circuit 4. It is emphasized that the number of tamper resistant buttons may vary from device to be inspected and is not intended to be limiting of the present disclosure.
In this embodiment, the server is configured to send a first test command to the press test fixture, and send a second test command to the client, where the first test command and the second test command both include a serial number sequence of a tamper resistant button in the device to be tested, and the serial number sequences of the first test command and the second test command are the same, as shown in fig. 1, the serial number sequence of the tamper resistant button may be (B1, B2, B3, B4); the pressing test tool is used for receiving a first test command sent by the server side, triggering the anti-disassembly button according to the serial number sequence to obtain actual feedback information corresponding to the anti-disassembly button, as shown in fig. 1, if the serial number sequence of the anti-disassembly button is (B1, B2, B3, B4), the pressing test tool presses and triggers the anti-disassembly button B1, the anti-disassembly button B2, the anti-disassembly button B3 and the anti-disassembly button B4 in sequence according to the serial 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 the numbering sequence and the anti-disassembly MCU, and compares the actual feedback information with the preset feedback information to obtain a first detection result, and sends the first detection result to the server; the server is further used for receiving the first detection result and determining a second detection result corresponding to the anti-dismantling function of the device to be detected according to the first detection result.
Fig. 2 shows a schematic flow chart of a tamper-proof function detection method according to a second embodiment of the present disclosure, where the method is applied to a server of a tamper-proof function detection system, and as shown in fig. 2, the method mainly includes:
and S101, sending a first test command to a press test tool of the anti-disassembly function detection system.
In this embodiment, the server sends a first test command to the press test fixture of the anti-tamper function detection system, where the first test command includes a serial number sequence of the anti-tamper button in the device to be detected, so that the press test fixture triggers the anti-tamper button according to the serial number sequence to obtain actual feedback information corresponding to the anti-tamper button.
With fig. 1, the server sends the first test command to the press test tool, and if the serial number sequence of the anti-tamper button in the first test command is (B1, B2, B3, B4), the press test tool successively presses and triggers the anti-tamper button B1, the anti-tamper button B2, the anti-tamper button B3 and the anti-tamper button B4 according to the serial number sequence, so as to generate actual feedback information corresponding to the anti-tamper button.
And step S102, sending a second test command to the client of the tamper-proof function detection system.
In this embodiment, the server sends a second test command to the client of the tamper-proof function detection system, where the second test command includes a serial number sequence of a tamper-proof button in the device to be detected, so that the client detects the tamper-proof button according to the serial number sequence and actual feedback information obtained by pressing the test fixture to trigger the tamper-proof button, and obtains the first detection result.
As shown in fig. 1, the server sends the second test command to the client of the tamper-proof function detection system, if the serial number sequence of the tamper-proof button in the second test command is (B1, B2, B3, B4), the client can monitor actual feedback information generated after each tamper-proof button is pressed by the press test fixture through the serial number sequence and the tamper-proof MCU connected to the serial number sequence, and sequentially detect the tamper-proof button B1, the tamper-proof button B2, the tamper-proof button B3 and the tamper-proof button B4 according to the actual feedback information, thereby obtaining a first detection result.
In an implementation mode, according to a first test command sent by a server, a press test tool can firstly press and trigger an anti-disassembly button B1 to obtain actual feedback information corresponding to the anti-disassembly button B1, if a client monitors the actual feedback information corresponding to the anti-disassembly button B1 through an anti-disassembly MCU (microprogrammed control unit), which indicates that the anti-disassembly button B1 reacts to the press of the press test tool, the anti-disassembly button B1 and an anti-disassembly circuit 1 can be considered to be normal, and a normal first detection result of the anti-disassembly button B1 is sent to the server; then press test fixture and can press down to preventing tearing open button B2 and trigger again, if can't obtain the actual feedback information that prevents tearing open button B2 and correspond, the customer end can't monitor the actual feedback information that prevents tearing open button B2 and correspond through preventing tearing open MCU promptly, then can think that prevents tearing open button B2 or prevents tearing open circuit 2 unusual to will prevent tearing open button B2 unusual first testing result and send to the server side, analogize in proper order, until will number all prevent tearing open the button in the sequence and all detect and finish. 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 one of the anti-tamper buttons, the anti-tamper MCU of the device to be detected is considered to be normal.
And step S103, 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.
In this embodiment, the server receives a first detection result sent by the client, and determines a second detection result corresponding to the tamper-proof function of the device to be detected according to the first detection result. Specifically, if the first detection result shows that all the anti-dismounting buttons are normal, the second detection result is determined that the anti-dismounting function of the equipment to be detected is normal; and if the first detection result shows that the anti-dismounting button is abnormal, determining that the second detection result is the anti-dismounting function abnormality of the equipment to be detected.
In an implementation manner, after determining the second detection result corresponding to the tamper-proof 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 the second embodiment of the disclosure, the client side of the tamper-proof function detection system sends the first test command and the second test command to the press test tool and the client side, so that the press test tool and the client side are matched to complete the automatic detection of the tamper-proof function of the device to be detected, not only can the tamper-proof MCU and the tamper-proof circuit of the device to be detected, but also the tamper-proof button can be detected, the detection coverage is wider, and the tamper-proof function detection in a manner of triggering the tamper-proof button is more consistent with the real use scene, in addition, the labor cost can be reduced, and the detection accuracy can be improved.
Fig. 3 shows a schematic flowchart of a tamper-proof function detection method according to a third embodiment of the present disclosure, where the method is applied to a client of a tamper-proof function detection system, and as shown in fig. 3, the method mainly includes:
step S201, receiving a second test command sent by the server of the tamper-proof function detection system.
In this embodiment, the client receives a second test command sent by the server of the tamper-proof function detection system, where the second test command includes a serial number sequence of a tamper button in the device to be detected. Specifically, as shown in fig. 1, the numbering sequence may be (B1, B2, B3, B4).
And S202, sequentially monitoring actual feedback information corresponding to the anti-dismantling buttons according to the number sequence.
In this embodiment, the client may monitor the actual feedback information corresponding to the tamper button in sequence 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 the serial data corresponding to the anti-disassembly MCU of the device to be detected in sequence according to the serial number sequence, so as to obtain the actual feedback information corresponding to the anti-disassembly button.
In an implementation manner, the second test command further includes preset feedback information of the tamper button in the device to be tested, 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, 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.
And step S203, detecting the anti-dismantling button according to the actual feedback information to obtain a first detection result.
Step S204, the first detection result is sent to the server.
In this embodiment, the client further needs to detect the tamper 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 a second detection result corresponding to the tamper function of the device to be detected according to the first detection result.
In an implementation manner, as shown in fig. 1, according to a first test command sent by a server, a press test fixture may separately press and trigger an anti-tamper button B1, an anti-tamper button B2, an anti-tamper button B3, and an anti-tamper button B4, that is, a client first receives actual feedback information corresponding to the anti-tamper button B1 and determines whether the actual feedback information is equal to preset feedback information corresponding to the anti-tamper button B1, and if the actual feedback information is equal to the preset feedback information corresponding to the anti-tamper button B1, a first detection result indicates that the anti-tamper button B1 and the anti-tamper 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-tamper button B2, judges whether the actual feedback information is equal to preset feedback information corresponding to the anti-tamper button B2, if the actual feedback information is not equal to the preset feedback information corresponding to the anti-tamper button B2, sends a first detection result to the server if the actual feedback information is not equal to the preset feedback information, and so on until all the anti-tamper buttons are detected.
In an implementation manner, as shown in fig. 1, according to a first test command sent by a server, pressing a test fixture may sequentially press and trigger a tamper button B1, a tamper button B2, a tamper button B3, and a tamper button B4, so as to obtain actual feedback information corresponding to all tamper buttons, where the actual feedback information is displayed in a sequence. If the actual feedback information is (X001, null, X011, X100), where Null represents a return Null signal, and the preset feedback information is (X001, X010, X011, X100), all the tamper-proof buttons can be simultaneously detected according to the actual feedback information and the preset feedback information, for example, if the actual feedback information X001 corresponding to the tamper-proof button B1 is equal to the preset feedback information X001 corresponding to the tamper-proof button B1, the tamper-proof button B1 and the tamper-proof circuit 1 are normal; prevent tearing open the feedback information Null that button B2 corresponds and prevent tearing open the preset feedback information X010 inequality that button B2 corresponds, then prevent tearing open button B2 or prevent tearing open circuit 2 unusually, so on and so on, until will all prevent tearing open the button and detect and finish, obtain the first testing result that contains all prevent tearing open the button testing result, and will first testing result send the server side.
In an implementation manner, the client further needs to receive a test end command sent by the server, and end the test according to the test end command.
In the third embodiment of the disclosure, the client of the tamper-proof function detection system sends a second test command according to the server, and the tamper-proof function of the device to be detected is automatically detected by combining with the pressing test tool, so that the tamper-proof MCU and the tamper-proof circuit of the device to be detected can be detected, the tamper-proof button can be detected, the detection coverage is wider, and the tamper-proof function detection is performed in a manner of triggering the tamper-proof button, so that the real use scene is better met, in addition, the labor cost can be reduced, and the detection accuracy is improved.
Fig. 4 shows a schematic structural diagram of a tamper-proof function detection apparatus according to a fourth embodiment of the present disclosure, which is applied to a server of a tamper-proof function detection system, and as shown in fig. 4, the apparatus mainly includes:
the first sending module 10 is configured to send a first test command to a press test fixture of the anti-tamper function detection system, where the first test command includes a serial number sequence of an anti-tamper button in the device to be detected, so that the press test fixture triggers the anti-tamper button according to the serial number sequence to obtain actual feedback information corresponding to the anti-tamper button; the second sending module 11 is configured to send a second test command to the client of the tamper-proof function detection system, where the second test command includes a serial number sequence of a tamper-proof button in the device to be detected, so that the client detects the tamper-proof button according to the serial number sequence and actual feedback information to obtain a first detection result; a first receiving module 12, configured to receive a first detection result sent by a client; and the determining module 13 is configured to determine, according to the first detection result, a second detection result corresponding to the anti-disassembly function of the device to be detected.
In an implementation manner, the determining module 13 is further configured to determine that the anti-detachment function of the device to be detected is normal if the first detection result shows that all the anti-detachment buttons are normal; and if the first detection result shows that the anti-dismantling button is abnormal, determining that the second detection result is the anti-dismantling function abnormity of the equipment to be detected.
In one embodiment, the apparatus further comprises: and the fourth sending module is used for sending the test ending command to the client.
Fig. 5 shows a schematic structural diagram of a tamper-proof function detection apparatus according to a fifth embodiment of the present disclosure, which is applied to a client of a tamper-proof function detection system, and as shown in fig. 5, the apparatus mainly includes:
the second receiving module 20 is configured to receive a second test command sent by a server of the tamper-proof function detection system, where the second test command includes a serial number sequence of a tamper button in the device to be detected; the monitoring module 21 is configured to sequentially monitor actual feedback information corresponding to the tamper button according to the numbering sequence; the detection module 22 is used for detecting the anti-disassembly button according to the actual feedback information to obtain a first detection result; 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-tamper function of the device to be detected.
In one embodiment, the detection module 22 mainly includes:
the judgment submodule is used for judging whether the actual feedback information is equal to the preset feedback information or not to obtain a judgment result; if the judgment result is yes, determining that the first detection result is that the anti-dismounting button is normal; and if the judgment result is negative, determining that the first detection result is that the anti-dismounting button is abnormal.
In an implementation manner, the monitoring module 21 is further configured to sequentially monitor serial port data corresponding to the anti-tamper micro-control units in the device to be detected according to the serial number sequence, so as to obtain actual feedback information corresponding to the anti-tamper buttons.
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 an embodiment 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 can 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 phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601, which 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 necessary for the operation of the device 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
A number of components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, or the like; 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 the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 601 performs the various methods and processes described above, such as a tamper-proof function detection method. For example, in some embodiments, a tamper-resistant function detection method may be implemented as a computer software program tangibly embodied in 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 the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of a tamper-proof function detection method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform a tamper-proof function detection method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a 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 that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes 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 codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. 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. A 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 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 a pointing device (e.g., a mouse or a trackball) by which a user may 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 can 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, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end 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 back-end, 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 clients and servers. A client and server are generally 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 with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, "a plurality" means two or more unless specifically limited otherwise.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (12)

1. A method for detecting a tamper-proof function is applied to a server of a tamper-proof function detection system, and comprises the following steps:
sending a first test command to a press 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 press 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 serial number sequence of an anti-disassembly button in equipment to be detected, so that the client detects the anti-disassembly button according to the serial 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-dismantling function of the equipment to be detected according to the first detection result.
2. The method according to claim 1, wherein the determining, according to the first detection result, a second detection result corresponding to a tamper-proof function of the device to be detected includes:
if the first detection result shows that all the anti-dismounting buttons are normal, determining that the second detection result is that the anti-dismounting function of the equipment to be detected is normal;
and if the first detection result shows that the disassembly prevention button is abnormal, determining that the second detection result is the disassembly prevention function abnormity 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 method for detecting a tamper-proof function is applied to a client of a tamper-proof function detection system, and comprises the following steps:
receiving a second test command sent by a server 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;
sequentially monitoring actual feedback information corresponding to the anti-dismantling buttons according to the serial number sequence;
detecting the anti-dismantling button according to the actual feedback information to obtain a first detection result;
and sending the first detection result to the server, so that the server 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 as claimed in claim 4, wherein the second test command further includes preset feedback information of a tamper button in the device to be tested, and the detecting the tamper 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 judgment result;
if the judgment result is yes, determining that the first detection result is that the anti-dismounting button is normal;
and if the judgment result is negative, determining that the first detection result is that the anti-dismounting button is abnormal.
6. The method according to claim 4, wherein sequentially monitoring the actual feedback information corresponding to the tamper button according to the numbering sequence comprises:
and sequentially monitoring serial port data corresponding to the anti-disassembly micro-control units in the equipment to be detected according to the serial number sequence to obtain actual feedback information corresponding to the anti-disassembly buttons.
7. The method according to any one of claims 4 to 6, further comprising:
and receiving a test ending command sent by the server, and ending the test according to the test ending command.
8. A tamper-evident functionality detection system, the system comprising: the system comprises a server, a client and a press test tool;
the server is used for sending a first test command to the press test tool, sending a second test command to the client, and determining a second detection result corresponding to the anti-disassembly function of the device 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 side, the first test command comprises a serial number sequence of an anti-disassembly button in equipment to be tested, and the anti-disassembly button is triggered according to the serial 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, the second test command comprises a serial number sequence of an anti-dismantling button in equipment to be tested, the anti-dismantling button is detected according to the serial number sequence and the actual feedback information to obtain a first detection result, and the first detection result is sent to the server.
9. The utility model provides a prevent tearing open function detection device which characterized in that, the device is applied to prevent tearing open the server side of function detection system, the device includes:
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 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;
the second sending module is used for sending a second test command to the client 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, so that the client side can detect the anti-disassembly button according to the serial 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-disassembly function of the equipment to be detected according to the first detection result.
10. The utility model provides a prevent tearing open function detection device which characterized in that, the device is applied to prevent tearing open the customer end of function detection system, the device includes:
the second receiving module is used for receiving a second test command sent by a server side of the anti-tamper function detection system, wherein the second test command comprises a serial number sequence of anti-tamper buttons in equipment to be detected;
the monitoring module is used for sequentially monitoring actual feedback information corresponding to the anti-dismantling buttons according to the serial 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, so that the server determines 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 content of the first and second substances,
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 according to any one of claims 1-3 or the method according to 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 true CN115953889A (en) 2023-04-11
CN115953889B 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
CN115953889B (en) 2023-07-07

Similar Documents

Publication Publication Date Title
CN111666563B (en) Method and device for verifying application running state
CN113641544A (en) Method, apparatus, device, medium and product for detecting application status
CN115296905B (en) Data acquisition and analysis method and system based on mobile terminal
CN115953889B (en) Anti-disassembly function detection method, system, device, equipment and storage medium
CN116302755A (en) PSU fault injection test method, system, device and readable storage medium
CN116450176A (en) Version updating method and device, electronic equipment and storage medium
CN115437961A (en) Data processing method and device, electronic equipment and storage medium
CN114546799A (en) Point burying log checking method and device, electronic equipment, storage medium and product
CN115422555B (en) Back door program detection method and device, electronic equipment and storage medium
CN117098106B (en) Bluetooth testing method and device, electronic equipment and storage medium
CN115604091A (en) Data processing method and device, substrate control management system and electronic equipment
CN116401113B (en) Environment verification method, device and medium for heterogeneous many-core architecture acceleration card
CN113326513B (en) Application testing method and device, system, electronic equipment and computer readable medium
CN117251769B (en) Abnormal data identification method, device, equipment and medium based on monitoring component
CN116361870A (en) Password keyboard control method, device, equipment and storage medium
CN117453466A (en) Graphics processor testing method, device, equipment and medium
CN117632670A (en) Fault warning method and device for test environment, electronic equipment and storage medium
CN117221158A (en) Micro-service application monitoring method, device, equipment and medium
CN116301992A (en) Upgrading method, device, equipment and storage medium
CN114399333A (en) Method, device, equipment and storage medium for detecting medium information releasing effect
CN117609087A (en) Code processing method, device, equipment and medium
CN113901451A (en) Link detection method and device, electronic equipment and storage medium
CN115932449A (en) Method, device and equipment for testing performance of electronic product and storage medium
CN116521536A (en) Code coverage rate determining method and device, electronic equipment and storage medium
CN115480953A (en) Service deployment method and device

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