Test system of embedded device

By introducing a central processor and interface unit into the embedded device test system, and using multiple communication protocols to transmit test programs and algorithms, the problems of poor adaptability and "Trojan program" attacks in embedded device tests are solved, and stability is achieved and improve security to meet various interface speed requirements.

CN119024065AInactive Publication Date: 2024-11-26CHINA ELECTRONICS CORP 6TH RES INST
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410973454.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-11-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the universality test of existing embedded devices, poor adaptability and difficult interface speed to meet the needs, and there is a risk of being bypassed by "Trojans" to obtain intranet business data or algorithm parameters.

Method used

Design a test system for embedded devices, including a central processor and multiple interface units, send test programs and algorithms to network cards through different communication protocols, and transmit them to embedded devices through network cards, perform and generate test logs, which improves the Test the stability and security of the system to avoid "Trojan" attacks.

Benefits of technology

It improves the security and stability of the test system, meets the speed requirements of multiple test interfaces, reduces the difficulty of universal testing, and avoids the risk of intranet data leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119024065A_ABST
    Figure CN119024065A_ABST
Patent Text Reader

Abstract

The invention provides an embedded device test system, which comprises a central processing unit and a plurality of interface units connected with the central processing unit, and is characterized in that each interface unit is used for being connected with an embedded device; and the central processing unit is used for responding to the test instruction sent by the upper computer, and completing the test of the connected embedded equipment according to the test mode indicated by the test instruction, so as to improve the stability and safety of the test system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of embedded technology, and in particular to a testing system for embedded devices. Background Art

[0002] For the universal testing of some special embedded devices, the use of conventional general-purpose tooling has poor adaptability and requires flying wire connections. The speed of some interfaces cannot meet the testing requirements. In addition, the CPU of the general-purpose tooling is directly connected to the device under test, which poses a risk of being bypassed by a "Trojan program" and launching an attack from the bottom layer to obtain intranet business data or algorithm parameters. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a test system for an embedded device, so as to improve the stability and security of the test system.

[0004] In the first aspect, the present application provides a testing system for an embedded device, the system comprising a central processing unit and multiple interface units connected to the central processing unit, wherein each interface unit is used to connect to an embedded device; the central processing unit is used to respond to a test instruction sent by a host computer, and complete the test of the connected embedded device according to the test mode indicated by the test instruction.

[0005] Preferably, the system further comprises a plurality of network cards, the central processing unit is connected to the plurality of network cards, and each network card is connected to a plurality of interface units.

[0006] Preferably, the test mode includes a transparent transmission mode, wherein when the test mode is the transparent transmission mode, the central processing unit tests the target embedded device based on the target test program indicated by the test instruction.

[0007] Preferably, the test module also includes a business mode, and the system also includes an algorithm module. When the test mode is a business mode, the central processing unit calls the target algorithm in the algorithm module according to the target test program indicated by the test instruction; the central processing unit tests the target embedded device based on the target test program and the target algorithm.

[0008] Preferably, the step of the central processing unit testing the target embedded device based on the target test program indicated by the test instruction specifically includes:

[0009] The central processing unit sends the target test program to the network card through the first communication protocol; the network card sends the received target test program from the corresponding interface unit to the embedded device through the second communication protocol; after the embedded device executes the target test program, a test log is generated; the embedded device sends the test log to the network card through the second communication protocol; the network card sends the received test log to the central processing unit through the first communication protocol.

[0010] Preferably, the step of the central processing unit testing the target embedded device based on the target test program and the target algorithm specifically includes:

[0011] The central processing unit sends the target test program and the target algorithm to the network card through the first communication protocol; the network card sends the received target test program and the target algorithm from the corresponding interface unit to the embedded device through the second communication protocol; after the embedded device executes the target test program and the target algorithm, a test log is generated; the embedded device sends the test log to the network card through the second communication protocol; the network card sends the received test log to the central processing unit through the first communication protocol.

[0012] Preferably, the interface unit is a field programmable logic gate array.

[0013] Preferably, the network card is a PCIE network card.

[0014] Preferably, the system further comprises a storage unit, and the storage unit is connected to the central processing unit.

[0015] Preferably, the interface unit is connected to the embedded device via a cable.

[0016] The present application provides a test system for embedded devices, wherein the system includes a central processing unit and a plurality of interface units connected to the central processing unit, wherein each interface unit is used to connect to an embedded device; the central processing unit is used to respond to a test instruction sent by a host computer, and complete the test of the connected embedded device according to the test mode indicated by the test instruction. By adding an interface unit between the central processing unit and the embedded device, the security and stability of the test system can be improved, and attacks by "Trojan programs" and loss of intranet system data can be avoided. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 A schematic diagram of the structure of a testing system for an embedded device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0019] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0020] Figure 1This is a schematic diagram of the structure of a test system for an embedded device provided in an embodiment of the present application. Figure 1 As shown, in one embodiment of the present application, a test system for an embedded device provided by the present application includes a central processing unit and a plurality of interface units connected to the central processing unit, wherein each interface unit is used to connect to an embedded device. The central processing unit is used to respond to a test instruction sent by a host computer, and complete the test of the connected embedded device according to the test mode indicated by the test instruction.

[0021] The interface unit here is a field programmable logic gate array, specifically an interface FPGA. The interface unit is connected to the embedded device via a cable. One end of the cable can be a dedicated interface connected to the service interface of the embedded device, and the other end of the cable can be a universal interface connected to the interface of the interface unit. In a specific embodiment of the present application, the number of interface units can be ten.

[0022] The central processing unit here is specifically a protocol offload CPU.

[0023] The test mode here can be transparent mode and business mode.

[0024] When the test mode is the transparent transmission mode, the central processing unit tests the target embedded device based on the target test program indicated by the test instruction.

[0025] The system also includes an algorithm module. When the test mode is the business mode, the central processor calls the target algorithm in the algorithm module according to the target test program indicated by the test instruction. The central processor tests the target embedded device based on the target test program and the target algorithm.

[0026] The algorithm module here can be an FPGA, specifically an algorithm FPGA, which pre-stores an algorithm to assist the embedded device under test to complete the test. The algorithm FPGA can be connected to the CPU through a network port.

[0027] The present application provides a test system for embedded devices. By adding an interface unit between the central processing unit and the embedded device, the security and stability of the test system can be improved to avoid being attacked by "Trojan programs" and losing intranet system data. At the same time, the test system provided by the present application can also meet the interface rate requirements of various tests without the need to add additional adapter modules, thereby reducing the difficulty of universal testing.

[0028] In one embodiment of the present application, the steps of the central processing unit testing the target embedded device based on the target test program indicated by the test instruction specifically include:

[0029] The central processing unit sends the target test program to the network card through the first communication protocol. The network card sends the received target test program from the corresponding interface unit to the embedded device through the second communication protocol. After the embedded device executes the target test program, a test log is generated. The embedded device sends the test log to the network card through the second communication protocol. The network card sends the received test log to the central processing unit through the first communication protocol.

[0030] The steps of the CPU testing the target embedded device based on the target test program and target algorithm include:

[0031] The central processing unit sends the target test program and the target algorithm to the network card through the first communication protocol. The network card sends the received target test program and the target algorithm to the embedded device through the corresponding interface unit through the second communication protocol. After the embedded device executes the target test program and the target algorithm, a test log is generated. The embedded device sends the test log to the network card through the second communication protocol. The network card sends the received test log to the central processing unit through the first communication protocol.

[0032] The communication protocol here can be UART, SPI, CAN, Modbus, CANopen, Profibus, Profinet, EtherCAT, etc.

[0033] In the test system provided by the present application, when conducting a test, the test instruction may indicate the test mode, the identification of the target embedded device to be tested, and the test form. The target embedded device A may be tested alone, or the performance of data transmission between the target embedded device B and the target embedded device C may be tested.

[0034] In one embodiment of the present application, the test system further includes multiple network cards, the central processing unit is connected to the multiple network cards, and each network card is connected to multiple interface units. The network card here is specifically a PCIE interface card. The network card and the CPU can be connected via PCIE.

[0035] The system also includes a storage unit connected to the central processing unit for storing test logs and the like.

[0036] The present application provides a test system for embedded devices, which can connect to 10 test devices at the same time to complete single test or combined test.

[0037] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0038] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0039] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0040] It should be noted that if the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM) random access memory (RAM), disk or optical disk, and other media that can store program codes.

[0041] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0042] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A test system for an embedded device, characterized in that: The system includes a central processing unit and a plurality of interface units connected to the central processing unit, wherein: Each interface unit is used to connect with an embedded device; The central processing unit is used to respond to the test instruction sent by the host computer and complete the test of the connected embedded device according to the test mode indicated by the test instruction.

2. The test system according to claim 1, characterized in that: The system further comprises a plurality of network cards, the central processor is connected to the plurality of network cards, and each network card is connected to a plurality of interface units.

3. The test system according to claim 2, characterized in that: The test mode includes a transparent transmission mode, wherein: When the test mode is the transparent transmission mode, the central processing unit tests the target embedded device based on the target test program indicated by the test instruction.

4. The test system according to claim 3, characterized in that: The test module also includes a business model, and the system also includes an algorithm module. When the test mode is the business mode, the central processing unit calls the target algorithm in the algorithm module according to the target test program indicated by the test instruction; The central processing unit tests the target embedded device based on the target test program and the target algorithm.

5. The test system according to claim 3, characterized in that: The step of the central processor testing the target embedded device based on the target test program indicated by the test instruction specifically includes: The central processing unit sends the target test program to the network card via a first communication protocol; The network card sends the received target test program from the corresponding interface unit to the embedded device through the second communication protocol; After the embedded device executes the target test program, a test log is generated; The embedded device sends the test log to the network card via a second communication protocol; The network card sends the received test log to the central processor via the first communication protocol.

6. The test system according to claim 4, characterized in that: The step of the central processor testing the target embedded device based on the target test program and the target algorithm specifically includes: The central processing unit sends the target test program and the target algorithm to the network card via a first communication protocol; The network card sends the received target test program and target algorithm to the embedded device through the corresponding interface unit via the second communication protocol; After the embedded device executes the target test program and the target algorithm, a test log is generated; The embedded device sends the test log to the network card via a second communication protocol; The network card sends the received test log to the central processor via the first communication protocol.

7. The test system according to claim 1, characterized in that: The interface unit is a field programmable logic gate array.

8. The test system according to claim 1, characterized in that: The network card is a PCIE network card.

9. The test system according to claim 1, characterized in that: The system further comprises a storage unit, which is connected to the central processing unit.

10. The test system according to claim 1, characterized in that: The interface unit is connected to the embedded device via a cable.

Citation Information

Patent Citations

  • Testing platform and testing method for embedded basic software

    CN102866948A

  • Test system for multiple interfaces

    CN110362058A

  • Data processing method and device based on high-performance storage and calculation integrated architecture

    CN117667765A