An automated testing method and system for end-to-cloud interaction

CN117914756BActive Publication Date: 2026-08-28SHANDONG YOU INTERNET OF THINGS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410089456.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-22
Publication Date
2026-08-28
Estimated Expiration
2044-01-22

AI Technical Summary

Technical Problem

这些情况虽然可以通过上述的测试桩和驱动去模拟,但是增加了巨大的工作量

Benefits of technology

[0048] 1. Compared with the original one-way automated testing implementation method of connecting to the cloud and connecting to the device, the present invention combines the intermediate server and the automated operation platform to ensure that the interaction protocol is sent from the real cloud platform and device, ensuring the authenticity, real-time and accuracy of the protocol, and thus ensuring the coverage of the operation scenarios used by customers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117914756B_ABST
    Figure CN117914756B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of data processing, and provides an automatic testing method and system for end-cloud interaction. The method is applied to a process in which a cloud platform sends data to a testing device, and comprises the following steps: an automatic operation platform sends relevant testing information to an intermediate server, and performs corresponding actions according to the relevant testing information, so that the cloud platform issues an interaction protocol to the intermediate server; the intermediate server processes the interaction protocol according to the relevant testing information, and forwards the interaction protocol to the testing device; the testing device analyzes and processes the interaction protocol, and feeds back analysis data and processing results to the intermediate server; and the intermediate server sends the analysis data to the cloud platform, and sends the processing results to the automatic operation platform. The application has the advantages of improving testing efficiency and testing coverage, improving development efficiency, reducing labor cost and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to an automated testing method and system for edge-cloud interaction. Background Technology

[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.

[0003] Device cloudification is a common technology in the current industrial IoT field. Cloud platforms and devices typically connect and transmit messages based on MQTT. To enable various hardware products such as gateways, DTUs, and serial servers to be uploaded to the cloud, a large and sophisticated set of interaction protocols and cloud logic is generally required. That is, a cloud platform must be unique for multiple types of cloud-enabled devices.

[0004] The functions implemented by cloud platforms and devices are roughly as follows:

[0005] 1) Cloud migration: When the cloud platform disables device cloud migration, the device usually waits for instructions on a UDP server; when the cloud platform enables cloud migration, the device will receive a UDP message and start connecting to the cloud platform's MQTT server.

[0006] 2) Regular functions: (Different functions interact with each other through different topics).

[0007] Cloud monitoring allows for device status inquiry, settings, parameter configuration, and remote upgrades.

[0008] Cloud configuration: Control devices to perform edge computing, transparent transmission and forwarding and other related configuration actions, and display the reported data information in real time;

[0009] To ensure the accuracy and stability of the interaction (protocols, logic) between the cloud platform and devices, the workload for testing is enormous. Based on cloud-based functionality, the general testing content is as follows:

[0010] 1) From a protocol perspective, the testing involves two aspects: First, testing the basic MQTT protocol, including standard protocols such as connection, subscription, and publish, as well as custom protocol fields added to the payload based on the standard protocol format; second, testing the MQTT payload, which is a custom protocol encapsulated in JSON format. Testing these protocols requires considering the accuracy and robustness of each protocol field. For example, can a protocol field that does not meet the requirements be accurately identified and responded to?

[0011] 2) Functionally, the testing includes two aspects: First, testing the basic MQTT connection, subscription, and publish functions, especially the handling logic when exceptions occur, such as how to handle MQTT connection failures and topic subscription failures. Second, testing the platform's implemented functions, such as cloud migration logic, cloud monitoring, cloud configuration, cloud firmware upgrades, and parameter configuration. For cloud migration, it's necessary to consider the device waiting to migrate to the cloud on a UDP server while disabled, and only after enabling it can it access the official MQTT platform. Apart from cloud migration, other functions are defined in detail through different topics and payloads under those topics. First, it's necessary to check whether the cloud platform and the device synchronize their logic and operations to avoid inconsistencies. Second, it's necessary to check the normal flow and exception handling of each function. For example, when the device connects to the cloud platform, it should first perform a data calibration with the platform (status, configured parameters, etc.). How should it handle situations where the calibration is consistent, inconsistent, or when an interaction protocol (whether sent to the cloud or the device) is not received in response?

[0012] In the past, because platform development and device development could not be synchronized, joint debugging was often done in the later stages of the project. Therefore, testing of cloud platforms or hardware devices was carried out separately. In particular, the interaction protocols and logic were mostly implemented based on manual simulation, which resulted in extremely low work efficiency and poor repeatability. New devices needed to be re-verified when they were added to the cloud.

[0013] A more advanced approach involves constructing test stubs and test drivers, as shown in Figures 1(a) and 1(b). While this allows for separate testing of the cloud platform and device's protocols and functional logic, the cost of such test stubs and drivers is enormous, requiring the construction of extensive protocol data and test logic. For example, for the device, this necessitates building a test server platform nearly identical to the cloud platform, capable of implementing various test scenarios; for the cloud platform, it's equivalent to constructing a virtual device for interaction. Furthermore, simulated stubs and drivers do not provide the most realistic feedback.

[0014] During the integration testing phase, the interaction scenarios between devices and the cloud platform are varied and complex. These scenarios represent the actual interactions between the cloud platform and devices. For example, a device might send interaction information to the cloud platform, and the cloud platform might not respond or respond with a delay. In reality, the cloud platform will definitely respond immediately, and it is extremely rare for it not to respond. Although these situations can be simulated using the test stubs and drivers mentioned above, this significantly increases the workload. Summary of the Invention

[0015] To address the technical problems described in the background, this invention provides an automated testing method and system for edge-cloud interaction. The invention comprises two parts: an intermediate server is established between the testing equipment and the cloud platform; the other part uses an automated operation platform (such as Python Unitest + Selenium) to operate the cloud interface and equipment to complete relevant tests. By combining the intermediate server and the automated operation platform, this invention ensures that the interaction protocols originate from the real cloud platform and equipment, guaranteeing the authenticity, real-time performance, and accuracy of the protocols, thereby ensuring coverage of the operational scenarios used by the customer.

[0016] To achieve the above objectives, the present invention adopts the following technical solution:

[0017] The first aspect of the present invention provides an automated testing method for edge-cloud interaction.

[0018] An automated testing method for edge-cloud interaction, applied to the process of a cloud platform sending data to a test device, includes:

[0019] The automated operation platform sends relevant test information to the intermediate server and performs corresponding actions based on the test information, so that the cloud platform can send the interaction protocol to the intermediate server.

[0020] The intermediate server processes the interaction protocol based on relevant test information and forwards it to the test device;

[0021] The testing equipment parses and processes the interaction protocol, and feeds back the parsed data and processing results to the intermediate server;

[0022] The intermediate server sends the parsed data to the cloud platform and the processing results to the automated operation platform.

[0023] Furthermore, the relevant test information includes test items and specified processing methods.

[0024] Furthermore, the specified processing methods include no processing, delayed forwarding, changing the content of specific fields in the protocol, packet splitting, and / or packet merging.

[0025] Furthermore, if the status and parameters of the testing equipment itself need to be synchronously confirmed to meet the requirements, the automated operation platform issues instructions to query and set them through the connection interface of the testing equipment.

[0026] Furthermore, all test results and issue logs during the testing process are recorded, statistically analyzed, and output by the automated operation platform.

[0027] A second aspect of the present invention provides an automated testing system for edge-cloud interaction.

[0028] An automated testing system for edge-cloud interaction is applied to the process of a cloud platform sending data to a test device. It includes: an intermediate server and an automated operation platform set up between the test device and the cloud platform, wherein the intermediate server and the automated operation platform communicate with each other, and the cloud platform communicates with the test device through the intermediate server and / or the automated operation platform.

[0029] The automated operation platform is used to send relevant test information to the intermediate server and perform corresponding actions based on the relevant test information, so that the cloud platform can send the interaction protocol to the intermediate server.

[0030] The intermediate server is used to process the interaction protocol according to relevant test information and forward it to the test device;

[0031] The testing equipment is used to parse and process the interaction protocol, and feed back the parsed data and processing results to the intermediate server, so that the intermediate server can send the parsed data to the cloud platform and the processing results to the automated operation platform.

[0032] A third aspect of the present invention provides an automated testing method for edge-cloud interaction.

[0033] An automated testing method for edge-cloud interaction, applied to test the process of a device sending data to a cloud platform, includes:

[0034] The automated operation platform sends relevant test information to the intermediate server and sends instructions to the test equipment so that the equipment can actively report the protocol to the intermediate server.

[0035] The intermediate server processes the protocol based on relevant test information and forwards it to the cloud platform;

[0036] The cloud platform parses and processes the protocol, and feeds back the parsed data and processing results to the intermediate server;

[0037] The intermediate server sends the parsed data to the test equipment and the processing results to the automated operation platform.

[0038] Furthermore, the relevant test information includes test items and specified processing methods.

[0039] Furthermore, the specified processing methods include no processing, delayed forwarding, changing the content of specific fields in the protocol, packet splitting, and / or packet merging.

[0040] Furthermore, if the cloud platform's own page requires synchronous confirmation to determine whether it meets the requirements, the automated operation platform makes the judgment based on the status display of the page elements.

[0041] Furthermore, all test results and issue logs during the testing process are recorded, statistically analyzed, and output by the automated operation platform.

[0042] A fourth aspect of the present invention provides an automated testing system for edge-cloud interaction.

[0043] An automated testing system for edge-cloud interaction is applied to the process of a test device sending data to a cloud platform. The system includes: an intermediate server and an automated operation platform set up between the test device and the cloud platform, wherein the intermediate server and the automated operation platform communicate with each other, and the test device communicates with the cloud platform through the intermediate server and / or the automated operation platform.

[0044] The automated operation platform is used to send relevant test information to the intermediate server and send instructions to the test equipment so that the equipment actively reports the protocol to the intermediate server.

[0045] The intermediate server is used to process the protocol based on relevant test information and forward it to the cloud platform;

[0046] The cloud platform is used to parse and process the protocol, and feed back the parsed data and processing results to the intermediate server, so that the intermediate server can send the parsed data to the test equipment and the processing results to the automated operation platform.

[0047] Compared with the prior art, the beneficial effects of the present invention are:

[0048] 1. Compared with the original one-way automated testing implementation method of connecting to the cloud and connecting to the device, the present invention combines the intermediate server and the automated operation platform to ensure that the interaction protocol is sent from the real cloud platform and device, ensuring the authenticity, real-time and accuracy of the protocol, and thus ensuring the coverage of the operation scenarios used by customers.

[0049] 2. This invention improves development efficiency. In terms of the workload of automated testing development, the original development of automated testing systems for cloud platforms and devices required separate development. This invention combines the development of the two parts into one, which greatly reduces the workload.

[0050] 3. This invention can replace manual execution of various protocol and scenario tests, improving the efficiency of automated testing. Compared to manual testing, which requires simulating various protocol message logics on the cloud and device sides, for highly repeatable use cases, the testing system described in this invention can greatly reduce manpower and improve testing efficiency and coverage by building it once.

[0051] 4. This invention has high reusability. The cloud platform functions remain basically unchanged. New devices can be added to the cloud with minor adjustments based on logical differences. The corresponding interactions only require simple updates to the test-case test scripts based on the supported functions.

[0052] 5. This invention is not limited to the exchange between the device and the cloud or MQTT communication methods. Interaction protocols and logic based on TCP, UDP and above can also be used. Attached Figure Description

[0053] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.

[0054] Figure 1(a) is a schematic diagram of the construction test pile drive simulation device shown in this invention;

[0055] Figure 1(b) is a schematic diagram of the construction of a test pile-driven simulated cloud as shown in this invention;

[0056] Figure 2 This is a framework diagram of an automated testing method for edge-cloud interaction as shown in this invention. Detailed Implementation

[0057] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0058] It should be noted that the following detailed descriptions are exemplary and intended to provide further illustration of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.

[0059] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.

[0060] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of methods and systems according to various embodiments of this disclosure. It should be noted that each block in a flowchart or block diagram may represent a module, segment, or portion of code, which may include one or more executable instructions for implementing the logical functions specified in the various embodiments. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that shown in the drawings. For example, two consecutively represented blocks may actually be executed substantially in parallel, or they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, may be implemented using a dedicated hardware-based system that performs the specified functions or operations, or using a combination of dedicated hardware and computer instructions.

[0061] Example 1

[0062] like Figure 2 As shown, this embodiment provides an automated testing method for edge-cloud interaction, which is used for system testing of the interaction protocol and operation logic between the device and the cloud platform. It mainly consists of two parts: one part is to build an intermediate server between the test device and the cloud platform, and the other part is to use an automated operation platform (such as Python Unitest + Selenium) to operate the cloud interface and the device to complete the relevant tests.

[0063] Specifically, the intermediate server implements the following functions:

[0064] The protocol used for communication between forwarding devices and cloud platforms (the MQTT-level protocol is a custom protocol based on its data payload);

[0065] The system processes protocols (base protocols such as MQTT connection and subscription, as well as custom payload protocols) sent by the cloud platform or device before forwarding them to the other end. Processing operations include not processing, delayed forwarding, modifying specific fields in the protocol (MQTT or custom payload), packet splitting, and packet reassembly. (The commands for processing methods are issued by the automated testing system.)

[0066] After forwarding and processing the data, a judgment is made based on the feedback result of the forwarding object. For example, if an error protocol is sent, will the object send an error protocol message or not respond? This result is then synchronized to the automated testing system.

[0067] Specifically, the automated operation platform performs the following functions:

[0068] By executing case examples in the scenario, the cloud platform webpage is manipulated to control the distribution of the corresponding interaction protocols;

[0069] It also records the intermediate server's judgment results by sending interactive information to the intermediate server.

[0070] By interacting with the device, we mainly confirm the impact of the interaction between the cloud platform and the device on the device's status and parameters. For example, what should happen to the device after the cloud platform successfully or unsuccessfully modifies the device's status or parameters?

[0071] The cloud platform sends a protocol to the device:

[0072] The automated operation platform sends a message to the intermediate server, specifying the test items and the processing method to be performed by the server's protocol (no processing, delayed forwarding, modification of specific fields in the protocol (MQTT or custom payload), packet splitting, packet merging, etc.).

[0073] The automated operation platform performs the corresponding actions, causing the cloud platform to send the interaction protocol to the intermediate server;

[0074] The intermediate server processes the protocol issued by the cloud platform according to the specified processing method and then forwards it to the device;

[0075] After parsing and processing the received protocol data, the device sends the data back to the intermediate server. The intermediate server then forwards the data to the cloud platform and sends the corresponding processing results back to the automated operation platform.

[0076] If the status and parameters of the equipment itself need to be confirmed synchronously to ensure they meet the requirements, the automated operation platform can send instructions to query and set them through the connection interface with the equipment.

[0077] It should be noted that the above process is only a simple operation, and the intermediate server can also perform operation judgment on the continuous message interaction between the cloud and the device.

[0078] This invention innovates in testing methodology. Under white-box or gray-box conditions, the usual method for testing single modules or black-box systems involves building test stubs and drivers (one-way middleware). This invention abandons the traditional one-way testing method of test stubs and drivers, combining the two through data forwarding and processing by an intermediate server in the testing system. This preserves the authenticity and accuracy of interactions in real-world scenarios and avoids the enormous workload of developing a test server and a virtual test device. In other words, for the device, the intermediate server is the cloud server it interfaces with; for the cloud platform, the intermediate server is the device. This testing approach is not only valuable for protocol testing but also for white-box testing of inter-module and inter-system communication in integration testing and unit testing.

[0079] To further achieve automated testing between devices and cloud platforms, this invention also provides a mature and easy-to-use testing framework to assist in the process. The framework embeds a forwarding mechanism of an intermediate server, thus forming a complete testing system.

[0080] The testing solution provided by this invention is suitable for testing where the protocol logic of the interaction between the device and the cloud platform is uniform or has minimal changes. The cloud platform logic is usually fixed and uniform, and the adaptation logic of various devices is relatively similar. The reusability of such a system is very high, and in the long run, the improvement in development and testing efficiency will become increasingly obvious.

[0081] Example 2

[0082] This embodiment provides an automated testing system for edge-cloud interaction.

[0083] An automated testing system for edge-cloud interaction is applied to the process of a cloud platform sending data to a test device. It includes: an intermediate server and an automated operation platform set up between the test device and the cloud platform, wherein the intermediate server and the automated operation platform communicate with each other, and the cloud platform communicates with the test device through the intermediate server and / or the automated operation platform.

[0084] The automated operation platform is used to send relevant test information to the intermediate server and perform corresponding actions based on the relevant test information, so that the cloud platform can send the interaction protocol to the intermediate server.

[0085] The intermediate server is used to process the interaction protocol according to relevant test information and forward it to the test device;

[0086] The testing equipment is used to parse and process the interaction protocol, and feed back the parsed data and processing results to the intermediate server, so that the intermediate server can send the parsed data to the cloud platform and the processing results to the automated operation platform.

[0087] Example 3

[0088] like Figure 2 As shown, this embodiment provides an automated testing method for edge-cloud interaction, which is mainly applicable to system testing of protocols and operational logic between devices and cloud platforms. It mainly consists of two parts: one part is to build an intermediate server between the test device and the cloud platform, and the other part is to use an automated operation platform (such as Python Unitest + Selenium) to operate the cloud interface and cooperate with the device to complete the relevant tests.

[0089] The intermediate server implements the following functions:

[0090] The protocol used for communication between forwarding devices and cloud platforms (the MQTT-level protocol is a custom protocol based on its data payload);

[0091] The system processes protocols (base protocols such as MQTT connection and subscription, as well as custom payload protocols) sent by the cloud platform or device before forwarding them to the other end. Processing operations include not processing, delayed forwarding, modifying specific fields in the protocol (MQTT or custom payload), packet splitting, and packet reassembly. (The commands for processing methods are issued by the automated testing system.)

[0092] After forwarding and processing the data, a judgment is made based on the feedback result of the forwarding object. For example, if an error protocol is sent, will the object send an error protocol message or not respond? This result is then synchronized to the automated testing system.

[0093] The automated operation platform performs the following functions:

[0094] By executing case examples in the scenario, the cloud platform webpage is manipulated to control the distribution of the corresponding interaction protocols;

[0095] It also records the intermediate server's judgment results by sending interactive information to the intermediate server.

[0096] By interacting with the device, we mainly confirm the impact of the interaction between the cloud platform and the device on the device's status and parameters. For example, what should happen to the device after the cloud platform successfully or unsuccessfully modifies the device's status or parameters?

[0097] The device actively sends an interaction protocol to the cloud:

[0098] The automated operation platform sends a message to the intermediate server, specifying the test item and the processing method (no processing, delayed forwarding, modification of specific fields in the protocol (MQTT or custom payload), packet splitting, packet merging, etc.) through the server.

[0099] The automated operation platform sends instructions to the device via the device's link, so that the device can actively report the protocol to the intermediate server;

[0100] The intermediate server processes the protocol reported by the device according to the specified processing method and then forwards it to the cloud platform;

[0101] The cloud platform parses and processes the received protocol data and then sends it back to the intermediate server. The intermediate server forwards the data to the device and sends the corresponding processing results back to the automated operation platform.

[0102] If the cloud platform's own page requires synchronous confirmation to determine whether it meets the requirements, the automated operation platform can make a judgment based on the status display of the page elements.

[0103] Ultimately, all test results and problem logs during the process are sorted, statistically analyzed, summarized, and output by the automated operation platform.

[0104] It should be noted that the above process is only a simple operation, and the intermediate server can also perform operation judgment on the continuous message interaction between the cloud and the device.

[0105] This invention innovates in testing methodology. Under white-box or gray-box conditions, the usual method for testing single modules or black-box systems involves building test stubs and drivers (one-way middleware). This invention abandons the traditional one-way testing method of test stubs and drivers, combining the two through data forwarding and processing by an intermediate server in the testing system. This preserves the authenticity and accuracy of interactions in real-world scenarios and avoids the enormous workload of developing a test server and a virtual test device. In other words, for the device, the intermediate server is the cloud server it interfaces with; for the cloud platform, the intermediate server is the device. This testing approach is not only valuable for protocol testing but also for white-box testing of inter-module and inter-system communication in integration testing and unit testing.

[0106] To further achieve automated testing between devices and cloud platforms, this invention also provides a mature and easy-to-use testing framework to assist in the process. The framework embeds a forwarding mechanism of an intermediate server, thus forming a complete testing system.

[0107] The testing solution provided by this invention is suitable for testing where the protocol logic of device and platform interaction is uniform or has minimal changes. Cloud platform logic is usually fixed and uniform, and the adaptation logic of various devices is relatively similar. The reusability of such a system is very high, and in the long run, the improvement in development and testing efficiency will become increasingly obvious.

[0108] Example 4

[0109] This embodiment provides an automated testing system for edge-cloud interaction.

[0110] An automated testing system for edge-cloud interaction is applied to the process of a test device sending data to a cloud platform. The system includes: an intermediate server and an automated operation platform set up between the test device and the cloud platform, wherein the intermediate server and the automated operation platform communicate with each other, and the test device communicates with the cloud platform through the intermediate server and / or the automated operation platform.

[0111] The automated operation platform is used to send relevant test information to the intermediate server and send instructions to the test equipment so that the equipment actively reports the protocol to the intermediate server.

[0112] The intermediate server is used to process the protocol based on relevant test information and forward it to the cloud platform;

[0113] The cloud platform is used to parse and process the protocol, and feed back the parsed data and processing results to the intermediate server, so that the intermediate server can send the parsed data to the test equipment and the processing results to the automated operation platform.

[0114] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. An automated testing method for edge-cloud interaction, characterized in that, This applies to the process of sending data from a cloud platform to test equipment, including: The automated operation platform sends relevant test information to the intermediate server and performs corresponding actions based on the test information, so that the cloud platform can send the interaction protocol to the intermediate server. The intermediate server processes the interaction protocol based on relevant test information and forwards it to the test device; The relevant test information includes test items and specified processing methods; The specified processing methods include no processing, delayed forwarding, changing the content of specific fields in the protocol, packet splitting and / or packet merging; The testing equipment parses and processes the interaction protocol, and feeds back the parsed data and processing results to the intermediate server; The intermediate server sends the parsed data to the cloud platform and the processing results to the automated operation platform; This applies to the process of sending data from test equipment to the cloud platform, including: The automated operation platform sends relevant test information to the intermediate server and sends instructions to the test equipment so that the test equipment can actively report the protocol to the intermediate server. The intermediate server processes the protocol based on relevant test information and forwards it to the cloud platform; The cloud platform parses and processes the protocol, and feeds back the parsed data and processing results to the intermediate server; The intermediate server sends the parsed data to the test equipment and the processing results to the automated operation platform.

2. The automated testing method for edge-cloud interaction according to claim 1, characterized in that, If the status and parameters of the test equipment itself need to be synchronously confirmed to meet the requirements, the automated operation platform issues instructions to query and set them through the connection interface of the test equipment.

3. The automated testing method for edge-cloud interaction according to claim 1, characterized in that, All test results and issue logs during the testing process are recorded, statistically analyzed, and output by the automated operation platform.

4. An automated testing system for edge-cloud interaction, characterized in that, An intermediate server and an automated operation platform are set up between the testing equipment and the cloud platform, and the intermediate server and the automated operation platform communicate with each other; The process of sending data from a cloud platform to a test device includes: the cloud platform communicating with the test device through an intermediate server and / or an automated operation platform; The automated operation platform is used to send relevant test information to the intermediate server and perform corresponding actions based on the relevant test information, so that the cloud platform can send the interaction protocol to the intermediate server. The intermediate server is used to process the interaction protocol according to relevant test information and forward it to the test device; The relevant test information includes test items and specified processing methods; The specified processing methods include no processing, delayed forwarding, changing the content of specific fields in the protocol, packet splitting and / or packet merging; The testing equipment is used to parse and process the interaction protocol, and feed back the parsed data and processing results to the intermediate server, so that the intermediate server sends the parsed data to the cloud platform and the processing results to the automated operation platform; The process of sending data from a test device to a cloud platform includes: the test device communicating with the cloud platform through an intermediate server and / or an automated operation platform; The automated operation platform is used to send relevant test information to the intermediate server and send instructions to the test equipment so that the test equipment actively reports the protocol to the intermediate server. The intermediate server is used to process the protocol based on relevant test information and forward it to the cloud platform; The cloud platform is used to parse and process the protocol, and feed back the parsed data and processing results to the intermediate server, so that the intermediate server can send the parsed data to the test equipment and the processing results to the automated operation platform.

5. The automated testing system for edge-cloud interaction according to claim 4, characterized in that, If the cloud platform's own page requires synchronous confirmation to determine whether it meets the requirements, the automated operation platform will make the judgment based on the status display of the page elements.

6. The automated testing system for edge-cloud interaction according to claim 4, characterized in that, All test results and issue logs during the testing process are recorded, statistically analyzed, and output by the automated operation platform.

Citation Information

Patent Citations

  • Big data automatic test system based on jenkins and Api interface

    CN117155811A