An embedded device distributed automation test system and method

The embedded device distributed automated testing system, based on a three-tiered cloud-edge-device architecture, solves the problems of test continuity and data processing efficiency in existing embedded device testing systems under a cloud-device architecture, and achieves efficient and real-time test task execution and data management.

CN123138045APending Publication Date: 2026-11-20LEIHUA ELECTRONICS TECH RES INST AVIATION IND OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611315110.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-27
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing embedded device testing systems in a cloud-edge architecture suffer from problems such as unreasonable architecture, poor test continuity, weak resource management capabilities, low resource utilization, and low data processing efficiency.

Method used

Adopting a three-tier 'cloud-edge-device' architecture, the cloud-based test management node and the edge test execution node work together to achieve distributed automated testing across multiple locations, devices, and interface types. When communication fails, the edge test execution node switches to offline mode to execute independently, preprocessing and caching data to ensure test continuity and data processing efficiency.

Benefits of technology

The system achieves a reasonable test architecture, ensures the real-time and continuous nature of testing, improves data processing efficiency, and features scalability and modular design. It can continue to execute test tasks even in the event of communication failures, reducing cloud pressure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123138045A_ABST
    Figure CN123138045A_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of embedded device testing, and particularly relates to an embedded device distributed automatic testing system and method. The embedded device distributed automatic testing system is used for realizing an embedded device distributed automatic testing method, and comprises a cloud testing management node, an edge testing execution node and a tested device end testing agent. The cloud testing management node is used for unified management of testing tasks, maintenance of testing strategies, management of edge nodes, analysis of testing results, generation of testing reports and persistent storage of testing data. The edge testing execution node is connected with the cloud testing management node and the tested device end testing agent, and is used for completing testing task receiving, protocol conversion, local scheduling, data caching and heterogeneous interface adaptation on the side close to the tested device. The tested device end testing agent is used for receiving testing commands, executing specific testing actions, and feeding back testing states, testing data and abnormal information to the edge testing execution node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of embedded device testing technology, specifically relating to a distributed automated testing system and method for embedded devices. Background Technology

[0002] With the rapid development of electronic technology, the complexity and variety of embedded devices are constantly increasing, and the requirements for testing systems are also becoming more stringent. Currently, testing systems on the market are mainly divided into the following two categories:

[0003] Dedicated testing systems: Developed for specific product models, they offer high testing accuracy and speed, but have poor versatility, long development cycles, and high maintenance costs.

[0004] General testing platform: It adopts standardized hardware and software architecture and can be adapted to a variety of embedded devices, but it often fails to meet the high precision and high real-time requirements of specific products, and its multi-station collaboration capability is weak.

[0005] In recent years, with the development of cloud computing technology, some cloud-based automated testing systems for embedded devices have emerged. However, most of them adopt a two-tier "cloud-edge" architecture, which has the following problems:

[0006] Inadequate architecture: unable to balance global management capabilities in the cloud with real-time control capabilities at the edge;

[0007] Poor test continuity: When communication between the cloud system and the field test environment is abnormal, test tasks are easily interrupted, and test results and test logs are easily lost.

[0008] Weak resource management capabilities: There is a lack of a unified resource model and automatic scheduling mechanism among test tasks and devices under test;

[0009] Low resource utilization: The lack of an effective test environment isolation mechanism leads to mutual interference between tests of different product models;

[0010] Low data processing efficiency: All intermediate test results are uploaded to the cloud for processing, resulting in high cloud pressure, slow response speed, and low result aggregation efficiency.

[0011] In view of the aforementioned technical problems, this application is hereby submitted. Summary of the Invention

[0012] The purpose of this application is to provide a distributed automated testing system and method for embedded devices to overcome or mitigate at least one of the known technical defects.

[0013] The technical solution of this application is:

[0014] A distributed automated testing method for embedded devices includes:

[0015] S1: The cloud-based test management node generates test tasks based on test requirements;

[0016] S2: The edge test execution node receives the test task, reads the BIT status of the device under test, and when the BIT status of the device under test meets the test start conditions, the edge test execution node sends the test command to the test agent on the device under test. When the BIT status of the device under test does not meet the test start conditions, the edge test execution node blocks the test from starting and reports the reason for the blockage to the cloud test management node.

[0017] S3: The test agent on the device under test receives test commands, executes test tasks, and continuously collects and reports test data;

[0018] S4: The edge test execution node uploads the test data to the cloud test management node;

[0019] S5: Cloud-based test management nodes store test data and generate test reports;

[0020] During the execution of the test task, the communication between the cloud test management node and the edge test execution node is checked in real time. If the communication is abnormal, the edge test execution node automatically switches to offline mode, executes the current test task independently, caches the test data locally, and continuously monitors whether the communication is restored. If the communication is not restored, the edge test execution node remains in offline mode, continues to execute the current test task independently, and caches the test data locally.

[0021] If communication is restored, the edge test execution node will upload the locally cached test data to the cloud test management node. The cloud test management node will receive and verify the test data uploaded by the edge test execution node, update the test task status and test data, and determine whether the current test task has been completed.

[0022] If the current test task has been completed, the cloud-based test management node will generate a test report and end the test task.

[0023] If the current test task is not completed, the edge test execution node synchronizes the latest test task status from the cloud test management node and continues to execute the subsequent test task from the point of interruption until the test task is completed.

[0024] An embedded device distributed automated testing system is provided to implement the above-mentioned embedded device distributed automated testing method, including a cloud test management node, an edge test execution node, and a test agent on the device under test.

[0025] The cloud-based test management node is used for unified management of test tasks, maintenance of test strategies, management of edge nodes, analysis of test results and generation of test reports, and persistent storage of test data.

[0026] The edge test execution node connects to the cloud test management node and the test agent on the device under test, and is used to complete test task reception, protocol conversion, local scheduling, data caching and heterogeneous interface adaptation on the side closer to the device under test;

[0027] The test agent on the device under test is used to receive test commands, execute specific test actions, and report test status, test data, and exception information to the edge test execution node.

[0028] According to at least one embodiment of this application, in the above-described embedded device distributed automated testing system, the cloud test management node includes a test task management module, a test strategy library, an edge node management module, a data storage module, a report generation module, and a monitoring dashboard module.

[0029] The test task management module is used to uniformly create, distribute, and manage all test tasks, monitor task progress in real time, and support remote start and stop.

[0030] The test strategy library is used to centrally store various test cases, judgment rules and configuration schemes, and supports strategy classification, reuse and version management;

[0031] The edge node management module is used to uniformly manage edge test execution nodes, enabling device access, status monitoring, remote configuration, and security control.

[0032] The data storage module is used for centralized archiving and storage of test data, logs, and result files, and provides data query, traceability, and backup capabilities;

[0033] The report generation module is used to automatically summarize test data, generate standardized test reports, and supports custom template export and result analysis;

[0034] The monitoring screen module is used to visually display the overall operating status of the system, task progress, equipment status, and abnormal alarm information.

[0035] According to at least one embodiment of this application, in the above-described embedded device distributed automated testing system, the edge test execution node includes a test scheduling module, a test data preprocessing module, a local cache module, and a communication module;

[0036] The test scheduling module is used to receive test tasks, locally coordinate and schedule the test process, and manage test start and stop, exception retry and process collaboration.

[0037] The test data preprocessing module is used to clean, verify, format, and perform simple analysis on the raw test data.

[0038] The local caching module is used to cache test data and configuration locally, and supports offline caching, offline operation, and resuming transmission after disconnection.

[0039] The communication module is responsible for bidirectional uplink and downlink communication, ensuring secure transmission of commands and data, adapting to multiple protocols, and guaranteeing reliable transmission.

[0040] According to at least one embodiment of this application, in the above-described embedded device distributed automated testing system, the test agent for the device under test includes a test execution module, a BIT module, an OTA module, and a data return module.

[0041] The test execution module is used to parse test commands, drive the device under test to perform tests, and collect operating conditions and raw test data in real time.

[0042] The BIT module is used to complete the internal self-test of the device under test, collect the BIT status of the device under test, including hardware and software fault information and health status, and detect device anomalies in advance.

[0043] The OTA module is used to support remote firmware upgrades of the device under test, and has upgrade verification, breakpoint resume and abnormal rollback capabilities.

[0044] The data feedback module is used to summarize the test, self-test, and status data of the device under test, package them, and send them back to the device to ensure that the data is complete and not lost.

[0045] This application has at least the following beneficial technical effects:

[0046] A distributed automated testing system and method for embedded devices are provided, which have the following advantages:

[0047] The test architecture is well-designed: the three-tier "cloud-edge-device" architecture balances the global management capabilities of the cloud and the real-time control capabilities of the edge. Through the collaborative work of cloud test management nodes and multiple edge test execution nodes, distributed automated testing with multiple locations, multiple devices, and multiple interface types is achieved, which ensures both the convenience of management and the real-time performance of testing.

[0048] Good test continuity: Autonomous execution is achieved on-site through edge test execution nodes. Even if cloud communication is abnormal, the issued test tasks can still be executed, avoiding interruption of the test process due to communication failure.

[0049] High data processing efficiency: Data preprocessing at the edge reduces the data processing pressure on the cloud and improves response speed;

[0050] Good scalability: The system adopts a modular design, and workstations and testing function modules can be added as needed. Attached Figure Description

[0051] Figure 1 This is a diagram illustrating the architecture of an embedded device distributed automated testing system provided in an embodiment of this application.

[0052] Figure 2A schematic diagram of the distributed automated testing method for embedded devices provided in an embodiment of this application;

[0053] Figure 3 This is a flowchart illustrating the handling of communication anomalies between the cloud-based test management node and the edge test execution node, as provided in an embodiment of this application.

[0054] To better illustrate this embodiment, some content in the accompanying drawings may be omitted, enlarged, or reduced. They are for illustrative purposes only and should not be construed as limiting the scope of this application. Detailed Implementation

[0055] To make the technical solution and advantages of this application clearer, the technical solution of this application will be described in a clearer and more complete manner below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only some embodiments of this application, and are only used to explain this application, not to limit this application. It should be noted that, for ease of description, only the parts related to this application are shown in the accompanying drawings, and other related parts can be referred to the general design.

[0056] Furthermore, unless otherwise defined, the technical or scientific terms used in this application description shall have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The word "comprising" as used in this application description indicates that the concept preceding the word encompasses the concepts listed following the word and their equivalents, without excluding other related concepts.

[0057] Furthermore, the terms indicating location used in the description of this application are only used to indicate relative directions or positional relationships. When the absolute position of the described object changes, its relative positional relationship may also change accordingly. It should also be noted that, unless otherwise explicitly specified and limited, terms such as "installation" and "connection" used in the description of this application should be interpreted broadly. For example, a connection can be a fixed connection or a detachable connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium. Those skilled in the art can understand its specific meaning in this application according to the specific circumstances.

[0058] An embedded device distributed automated testing system and method is provided, which is a distributed automated testing system and method with a three-level architecture of "cloud-edge-device" that enables collaborative work between cloud system, edge testing host computer, embedded device under test, and general and customized testing equipment.

[0059] Distributed automated testing architecture for cloud-edge-device embedded devices, such as Figure 1 As shown, it includes cloud-based test management nodes, edge test execution nodes, and test agents on the device under test.

[0060] The cloud-based test management node is used for unified management of test tasks, maintenance of test strategies, management of edge nodes, analysis of test results and generation of test reports, and persistent storage of test data.

[0061] The cloud-based test management node includes a test task management module, a test strategy library, an edge node management module, a data storage module, a report generation module, and a monitoring dashboard module.

[0062] The test task management module is used to uniformly create, distribute, and manage all test tasks, monitor task progress in real time, and support remote start and stop.

[0063] The test strategy library is used to centrally store various test cases, judgment rules and configuration schemes, and supports strategy classification, reuse and version management.

[0064] The edge node management module is used to uniformly manage edge test execution nodes, enabling device access, status monitoring, remote configuration, and security control.

[0065] The data storage module is used for centralized archiving and storage of test data, logs, and result files, and provides data query, traceability, and backup capabilities.

[0066] The report generation module is used to automatically summarize test data, generate standardized test reports, and supports custom template export and result analysis.

[0067] The monitoring screen module is used to visually display the overall operating status of the system, task progress, equipment status, and abnormal alarm information.

[0068] The edge test execution node connects to the cloud test management node and the test agent on the device under test, and is used to complete test task reception, protocol conversion, local scheduling, data caching and heterogeneous interface adaptation on the side closer to the device under test.

[0069] The edge test execution node includes a test scheduling module, a test data preprocessing module, a local caching module, and a communication module.

[0070] The test scheduling module is used to receive test tasks, coordinate and schedule the test process locally, and manage test start and stop, abnormal retries and process collaboration.

[0071] The test data preprocessing module is used to clean, verify, format, and perform simple analysis on the raw test data to reduce cloud computing power consumption.

[0072] The local caching module is used to cache test data and configuration locally, and supports offline caching, offline operation, and resuming transmission after disconnection.

[0073] The communication module is responsible for bidirectional uplink and downlink communication, ensuring secure transmission of commands and data, adapting to multiple protocols, and guaranteeing reliable transmission.

[0074] The test agent on the device under test is used to receive test commands, execute specific test actions, and report test status, test data, and exception information to the edge test execution node.

[0075] The test agent for the device under test includes a test execution module, a BIT module, an OTA module, and a data return module.

[0076] The test execution module is used to parse test commands, drive the device under test to perform tests, and collect operating conditions and raw test data in real time.

[0077] The BIT module is used to perform internal self-tests on the device under test (DUT) and collect the DUT's BIT status, including hardware and software fault information and health status, such as temperature, voltage, and link status, to detect device anomalies in advance.

[0078] The OTA module is used to support remote firmware upgrades of the device under test, and has the capabilities of upgrade verification, breakpoint resumption, and abnormal rollback.

[0079] The data feedback module is used to summarize the test, self-test, and status data of the device under test, package them, and send them back to the device to ensure that the data is complete and not lost.

[0080] The cloud-based test management node receives test data uploaded by multiple edge test execution nodes. The edge test execution nodes are set up at the test site and can be industrial control computers, PCs, or edge servers running host computer programs. They receive test tasks issued by the cloud-based test management node and execute tests locally on the device under test (DUT), general test equipment, and customized test equipment. The DUT-side test agent is deployed in the DUT and is used to receive test commands issued by the edge test execution nodes and call peripheral driver interfaces to execute test actions.

[0081] When communication between the edge test node and the cloud test management node is interrupted, the edge test execution node continues to execute the received test tasks and caches the test data locally. When communication is restored, the edge test node retransmits the cached data to the cloud test management node.

[0082] The test task execution method flow is as follows: Figure 2 As shown, it includes the following steps:

[0083] S1: The cloud-based test management node generates test tasks based on test requirements. Test tasks include test cases, test parameters, requirements for the device under test, version requirements, resource requirements, and test priorities.

[0084] S2: The edge test execution node receives the test task, reads the BIT status of the device under test, and when the BIT status of the device under test meets the test start conditions, the edge test execution node sends the test command to the test agent on the device under test. When the BIT status of the device under test does not meet the test start conditions, the edge test execution node blocks the test from starting and reports the reason for the blockage to the cloud test management node.

[0085] S3: The test agent on the device under test receives test commands, executes test tasks, and continuously collects and reports test data, including the version information, BIT status, test parameters, test logs, and test results of the device under test.

[0086] S4: The edge test execution node uploads the test data to the cloud test management node.

[0087] S5: The cloud-based test management node stores test data and generates test reports.

[0088] During the execution of the test task, the system is in normal operation. The edge test execution node executes the test task issued by the cloud and judges in real time whether the communication between the cloud test management node and the edge test execution node is normal. If the communication is normal, the edge test execution node executes the normal working process.

[0089] If communication fails, the edge test execution node automatically switches to offline mode, independently executes the current test task, caches the test data locally, and continuously monitors whether communication is restored. If communication is not restored, the edge test execution node remains in offline mode, continues to independently execute the current test task, and caches the test data locally.

[0090] If communication is restored, the edge test execution node uploads the locally cached test data to the cloud test management node. The cloud test management node receives and verifies the test data uploaded by the edge test execution node, updates the test task status and test data, and determines whether the current test task has been completed. If the current test task has been completed, the cloud test management node generates a test report and releases relevant resources, ending the test task. If the current test task has not been completed, the edge test execution node synchronizes the latest test task status from the cloud test management node and continues to execute subsequent test tasks from the point of interruption. After execution, it synchronizes the test data again until the test task ends.

[0091] The embedded device distributed automated testing system and method disclosed in the above embodiments, based on a "cloud-edge-device" three-level architecture, enables the cloud testing system, edge testing execution nodes, the device under test, and general and customized peripheral testing equipment to work together, thereby achieving automatic distribution of test tasks, automatic matching of test resources, automatic execution of the test process, and unified management of test results.

[0092] Furthermore, those skilled in the art should recognize that the various modules of the system disclosed in the embodiments of this application can be implemented in electronic hardware, computer software, or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, they are generally described in terms of function in this application. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can choose different methods to implement the described functions for each specific application and its actual constraints, but such implementation should not be considered to be beyond the scope of this application.

[0093] The technical solution of this application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. Those skilled in the art should understand that the scope of protection of this application is obviously not limited to these specific embodiments. Without departing from the principles of this application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of this application.

Claims

1. A distributed automated testing method for embedded devices, characterized in that, include: S1: The cloud-based test management node generates test tasks based on test requirements; S2: The edge test execution node receives the test task, reads the BIT status of the device under test, and when the BIT status of the device under test meets the test start conditions, the edge test execution node sends the test command to the test agent on the device under test. When the BIT status of the device under test does not meet the test start conditions, the edge test execution node blocks the test from starting and reports the reason for the blockage to the cloud test management node. S3: The test agent on the device under test receives test commands, executes test tasks, and continuously collects and reports test data; S4: The edge test execution node uploads the test data to the cloud test management node; S5: Cloud-based test management nodes store test data and generate test reports; During the execution of the test task, the communication between the cloud test management node and the edge test execution node is checked in real time. If the communication is abnormal, the edge test execution node automatically switches to offline mode, executes the current test task independently, caches the test data locally, and continuously monitors whether the communication is restored. If the communication is not restored, the edge test execution node remains in offline mode, continues to execute the current test task independently, and caches the test data locally. If communication is restored, the edge test execution node will upload the locally cached test data to the cloud test management node. The cloud test management node will receive and verify the test data uploaded by the edge test execution node, update the test task status and test data, and determine whether the current test task has been completed. If the current test task has been completed, the cloud-based test management node will generate a test report and end the test task. If the current test task is not completed, the edge test execution node synchronizes the latest test task status from the cloud test management node and continues to execute the subsequent test task from the point of interruption until the test task is completed.

2. An embedded device distributed automated testing system, used to implement the embedded device distributed automated testing method of claim 1, characterized in that, This includes cloud-based test management nodes, edge test execution nodes, and test proxies on the device under test. The cloud-based test management node is used for unified management of test tasks, maintenance of test strategies, management of edge nodes, analysis of test results and generation of test reports, and persistent storage of test data. The edge test execution node connects to the cloud test management node and the test agent on the device under test, and is used to complete test task reception, protocol conversion, local scheduling, data caching and heterogeneous interface adaptation on the side closer to the device under test; The test agent on the device under test is used to receive test commands, execute specific test actions, and report test status, test data, and exception information to the edge test execution node.

3. The embedded device distributed automated testing system according to claim 2, characterized in that, The cloud-based test management node includes a test task management module, a test strategy library, an edge node management module, a data storage module, a report generation module, and a monitoring dashboard module. The test task management module is used to uniformly create, distribute, and manage all test tasks, monitor task progress in real time, and support remote start and stop. The test strategy library is used to centrally store various test cases, judgment rules and configuration schemes, and supports strategy classification, reuse and version management; The edge node management module is used to uniformly manage edge test execution nodes, enabling device access, status monitoring, remote configuration, and security control. The data storage module is used for centralized archiving and storage of test data, logs, and result files, and provides data query, traceability, and backup capabilities; The report generation module is used to automatically summarize test data, generate standardized test reports, and supports custom template export and result analysis; The monitoring screen module is used to visually display the overall operating status of the system, task progress, equipment status, and abnormal alarm information.

4. The embedded device distributed automated testing system according to claim 3, characterized in that, The edge test execution node includes a test scheduling module, a test data preprocessing module, a local caching module, and a communication module; The test scheduling module is used to receive test tasks, locally coordinate and schedule the test process, and manage test start and stop, exception retry and process collaboration. The test data preprocessing module is used to clean, verify, format, and perform simple analysis on the raw test data. The local caching module is used to cache test data and configuration locally, and supports offline caching, offline operation, and resuming transmission after disconnection. The communication module is responsible for bidirectional uplink and downlink communication, ensuring secure transmission of commands and data, adapting to multiple protocols, and guaranteeing reliable transmission.

5. The embedded device distributed automated testing system according to claim 4, characterized in that, The test agent for the device under test includes a test execution module, a BIT module, an OTA module, and a data return module; The test execution module is used to parse test commands, drive the device under test to perform tests, and collect operating conditions and raw test data in real time. The BIT module is used to complete the internal self-test of the device under test, collect the BIT status of the device under test, including hardware and software fault information and health status, and detect device anomalies in advance. The OTA module is used to support remote firmware upgrades of the device under test, and has upgrade verification, breakpoint resume and abnormal rollback capabilities. The data feedback module is used to summarize the test, self-test, and status data of the device under test, package them, and send them back to the device to ensure that the data is complete and not lost.