Equivalent controller testing method and system of distributed distribution communication technology
Through the equivalent controller test system of distributed distribution communication technology design, the problem of low limit and efficiency of existing test methods is solved, and multi -user testing and efficient resource management are realized.
Patent Information
- Application Number
- CN202411442642.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-01-21
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing equivalent controller testing methods have problems such as limitations in testing scenarios, over-concentration of resources, low efficiency, poor results, and lack of distributed and general testing environments.
The distributed distribution communication technology is adopted, and the design distributed equivalent controller test system, including the test client and the test server, dynamically adjust the resource allocation through the intelligent scheduling module to achieve multi -user testing and centralized data management at the same time.
The decoupling of the environment of testers and the equivalent controller, reduced artificial intervention, improved test efficiency and resource utilization, and has scalability and versatility.
Smart Images

Figure CN119335999A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer testing technology, and in particular to an equivalent controller testing method and system of distributed distribution communication technology. Background Art
[0002] With the development of controller equivalent modeling technology, the logical functions, communication capabilities, working modes, working states, and load characteristics of controllers and their equivalents are becoming more and more complex. Therefore, the requirements for the stability and reliability of the controller output, especially the transient anti-interference ability, are getting higher and higher. Therefore, it is necessary to test the various characteristics of the equivalent controller in real time and correct the parameters of the equivalent controller in real time according to the test data to ensure the normal operation of the equivalent controller.
[0003] At present, when testing equivalent controllers, testers conduct single-function tests based on equivalent controllers of different models and functions. The disadvantages of this test are the limitations of the test scenarios and the excessive concentration of test resources. Testers need to follow the environment of the equivalent controller and always be on duty. Only one tester is allowed to test an equivalent controller at the same time. There is a lack of universal and distributed test environment. The current test methods are cumbersome, inefficient, and ineffective.
[0004] Therefore, it is necessary to provide a new equivalent controller testing method and system for distributed distribution communication technology, so that testers no longer need to be on duty all the time according to the environment of the equivalent controller. Multiple testers can test the equivalent controller at the same time, and centralized test data management can be performed at the same time. Summary of the invention
[0005] In order to solve the above technical problems, the present invention provides an equivalent controller testing method and system for distributed distribution communication technology.
[0006] The equivalent controller test of the distributed distribution communication technology provided by the present invention on one aspect includes a test client for monitoring the operation data of the equivalent controller in real time, sending test instructions to the test server, and receiving and processing the test data sent by the server;
[0007] The test server is used to receive the test instructions sent by the test client, test the equivalent controller according to the test instructions, and send the test data to the test client;
[0008] The equivalent controller is used to receive the test instructions sent by the test server, perform functional tests and performance tests on the equivalent controller according to the test instructions, and send the test data to the test server;
[0009] The test server also includes an intelligent scheduling module for dynamically adjusting resource allocation among multiple test tasks according to the priority and resource requirements of the test tasks.
[0010] Compared with the prior art, the test system of the present invention concentrates each component in the test system of the equivalent controller into a dedicated integrated cabinet, and the server for testing the equivalent controller test system is run in the cabinet. During the test, the tester sends a test instruction to the server through the client, and the test data is returned to the client through the server. The client performs decoding, judgment, display and other processing. During the test, multiple testers can test the equivalent controller at the same time. The test data can be centrally managed. The equivalent controller test system of the distributed architecture and distributed distribution communication technology is based on PXI (PCI eXtensions for Instrumentation, PCI expansion for instrument systems) technology, so that the system can use massive interconnected components to realize large-scale interconnection integration, interface adaptation and flexible allocation of signals of equivalent controllers. At the same time, the architecture adopted by the equivalent controller is the design of the sub-parent architecture in the embedded system, which also has the ability of large-scale integration, expansion and interface adaptation. Through the design of this distributed architecture, when the equivalent controller is tested, it has strong scalability, good versatility, and can also achieve the purpose of decoupling and separation of test personnel and test system man-machine, and can also achieve test automation and unattended testing of test equipment. The test data is concentrated on the server side and can be sent to the data center through the network for centralized management.
[0011] Furthermore, when the test client sends a test request, the test server calculates the initial allocation coefficient according to the priority of the task and calculates the initial allocation value of each resource. If the calculated initial allocation value exceeds the total amount of resources, the test server will reallocate the resources according to the allocation coefficient dynamically adjusted by the intelligent scheduling module, and notify the equivalent controller to execute the corresponding test task.
[0012] Further, the test client includes a test system human-machine interface, a test client operation support library and a test client distribution communication module communication support library which are connected in sequence;
[0013] Wherein, the test system human-machine interface is used for the test personnel to monitor the test data of the equivalent controller in real time, and the test system human-machine interface is also used for the test personnel to issue the test instructions;
[0014] The test client operation support library is used to encode the test instruction once, and the test client support library is also used to decode the test data received from the test system test server for a second time, and upload the test data to the test system human-machine interface;
[0015] The test client distribution communication module communication support library is used to encapsulate the test instructions, and the test client distribution communication module communication support library is also used to re-encode the test instructions sent from the test client operation support library, decode the test data received from the test server once, and distribute the test data to the test client operation support library;
[0016] The test client distribution communication module communication support library is used to encapsulate the communication function between the test client and the test server for the test system human-machine interface to call, send test instructions to the distribution communication module communication support library of the test server and receive test data returned by the test server.
[0017] Furthermore, the human-machine interface of the test system is designed using QT software, a universal cross-platform human-machine interface development framework.
[0018] Furthermore, the test server also includes a test system server, a test server operation support library and a test server distribution communication module communication support library which are connected in sequence;
[0019] Wherein, the test system server is used to call the test server operation support library and the test server distribution communication module communication support library to test the equivalent controller and transmit the test data;
[0020] The test server operation support library includes a test system equipment support library, and the test server operation support library is used to call the test system equipment support library to perform equipment status management and health management on the equivalent controller, monitor and transmit monitoring data, and test the equivalent controller and transmit the test data.
[0021] Furthermore, the test system equipment support library includes:
[0022] The first module communication support library is used to encapsulate the communication function between the test client and the test server, receive the test instructions sent by the communication support library of the test client distribution communication module and feed back the test data to the test client;
[0023] The consistency test support library is used to send consistency test instructions to the equivalent controller and receive consistency test data;
[0024] Functional test support library, used to send functional test instructions to equivalent controllers and receive functional test data;
[0025] Performance test support library, used to send performance test instructions to equivalent controllers and receive performance test data;
[0026] A diagnostic test support library for sending diagnostic test instructions to an equivalent controller and receiving diagnostic test data;
[0027] The second module communication support library is used to encapsulate the communication function between the test client and the test server, receive the test instructions sent by the test client distribution communication module communication support library and feedback test data to the test client, and start the second module communication support library when the first module communication support library fails to run.
[0028] Furthermore, the test system server includes interface types including hardware interface and software interface;
[0029] The hardware type interface is used to configure the configuration parameters of the test client received by the test system server into the equivalent controller hardware platform;
[0030] The software type interface is used to transmit the test instructions and test data.
[0031] Another aspect of the present invention provides an equivalent controller testing method of a distributed distributed communication technology, which is applicable to the equivalent controller testing system of the above-mentioned distributed distributed communication technology, and the method comprises the following steps:
[0032] S1, the test client sends a test instruction to the test system server;
[0033] S2. The test server receives the test instruction sent by the test system client. The test server calculates the initial allocation coefficient and the initial allocation value of each resource according to the priority of the task. If the calculated initial allocation value exceeds the total amount of resources, the test server will reallocate the resources according to the allocation coefficient dynamically adjusted by the intelligent scheduling module, notify the equivalent controller to execute the corresponding test task, and feed back the test data to the test client.
[0034] S3. The test client receives and decodes the test data sent by the test server.
[0035] Furthermore, the client of the test system sends a test instruction to the server of the test system, including:
[0036] The test system human-machine interface loads the test client operation support library, pulls up the software interface provided by the test client operation support library during runtime, and distributes the test instructions through the test client communication module communication support library to send the test instructions to the test system server through the first module communication support library.
[0037] Furthermore, the test instruction sent by the client of the test system, testing the equivalent controller according to the test instruction, and feeding back the test data to the client of the test system, comprises the following steps:
[0038] S101, the first module communication support library receives the test instruction sent by the client distribution communication module communication support library of the test system, and distributes the test instruction to the test system server through the software interface provided by the server operation support library of the test system;
[0039] S102, when the test system server is running, pull up the test system server operation support library, send the test instruction to the test system device support library through the software interface provided by it, and test the equivalent controller in the test system device support library;
[0040] S103, the test system device support library sends the test data to the first module communication support library through the software interface of the test server operation support library;
[0041] S104: The first module communication support library sends the test data to the test client through a network.
[0042] Compared with the related art, the equivalent controller testing method and system of the distributed distribution communication technology provided by the present invention has the following beneficial effects:
[0043] 1. During the test, the test client of the present invention monitors the operating data of the equivalent controller in real time and sends test instructions to the test server to ensure immediate response during the test. The test server automatically receives the test instructions sent by the test client and executes the test tasks, so that the tester no longer needs to be on duty all the time according to the environment of the equivalent controller, reducing the need for manual intervention and centrally managing the test data.
[0044] 2. The present invention dynamically adjusts the resource allocation of test tasks through an intelligent scheduling algorithm to ensure that high-priority tasks are executed first, thereby improving the overall efficiency of the test. It dynamically adjusts resource allocation by adjusting factors to ensure that the total amount of resources is not over-allocated, avoids resource waste, and achieves energy-saving effects.
[0045] 3. The design of the test client and test server in the present invention allows multiple users to perform tests at the same time, which means that different departments or teams can use the same test platform to perform their respective tasks at the same time. This multi-user support improves the versatility of the system. The design based on a distributed architecture enables the test system to run on different operating systems and hardware platforms, making it suitable for testing needs of different scales and different fields.
[0046] 4. The design of the present invention based on a distributed architecture enables the test system to horizontally expand its computing power by adding more test nodes. As the test load increases, the system can improve processing power by adding server nodes without replacing existing equipment, which has good scalability. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A flowchart of an equivalent controller test system for the distributed distribution communication technology provided by the present invention;
[0048] Figure 2 A structural block diagram of an equivalent controller test system for the distributed distribution communication technology provided by the present invention;
[0049] Figure 3 A schematic diagram of the structure of the test client provided by the present invention;
[0050] Figure 4 A schematic diagram of the structure of the test server provided by the present invention;
[0051] Figure 5 A flowchart of an equivalent controller testing method for the distributed distribution communication technology provided by the present invention. DETAILED DESCRIPTION
[0052] The present invention will be further described below in conjunction with the accompanying drawings and implementation modes.
[0053] In order to make the objectives, technical solutions and advantages of the present invention clearer, the various embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those skilled in the art can understand that in the various embodiments of the present invention, many technical details are proposed to enable readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed for protection in the claims of the present application can also be implemented.
[0054] Embodiment 1
[0055] The first embodiment of the present invention provides an equivalent controller testing system based on a distributed architecture and distributed distribution communication technology. The system is designed using an end-to-end design concept, a modular design concept, and an MVC (Model-View-Controller) layered design pattern.
[0056] In the specific implementation process, Figure 1-Figure 2As shown, the system includes: a test client, a test server, and an equivalent controller. The test client and the test server are connected through a network; for example, the client and the server can be connected through Ethernet, that is, communicate through the TCP / IP protocol. When encountering a controller request application from the client, the server and the client are connected through Ethernet. After the connection is established, the server will respond to the operation instruction from the client;
[0057] The test client is used to monitor the operation data of the equivalent controller in real time, send test instructions to the test server, and receive and process the test data sent by the server. The client refers to the C in the software C (Client) / S (Server) structure, that is, the client software, and the server refers to the S in the software C / S structure, that is, the server software. The C / S structure is the well-known client and server structure. It is a software system architecture. Through it, the advantages of the hardware environment at both ends can be fully utilized to reasonably allocate tasks to the client and server to achieve system overhead.
[0058] Further, refer to Figure 3 As shown, the test client includes a test system human-machine interface, a test client operation support library, and a test client distribution communication module communication support library connected in sequence. The client runs on a PC. The client software sends configuration parameters to the server via Ethernet. After the server receives the parameters, the hardware interface configures them into the hardware platform. The hardware interface includes the IO (Input / Output) interface of each board, the Ethernet (Ethernet) communication interface, the CAN (Controller Area Network) communication interface, etc.
[0059] Among them, the test system human-machine interface is used for testers to monitor the test data of the equivalent controller in real time. The test system human-machine interface is also used for testers to issue test instructions. The test system human-machine interface adopts the general cross-platform human-machine interface development framework QT software to design the test system human-machine interface. Testers can monitor the various test data of the equivalent controller in real time in this human-machine interface. At the same time, testers can also use this software to issue various test instructions to perform various tests on the equivalent controller;
[0060] The test client operation support library is used to encode the test instructions once. The test client support library is also used to decode the test data received from the test system test server and upload the test data to the test system human-machine interface. In other words, the test client operation support library encapsulates various test instructions for interacting with the server, and parses the data received from the server and uploads it to the test system human-machine interface for processing;
[0061] The communication support library of the test client distribution communication module is used to encapsulate test instructions. The communication support library of the test client distribution communication module is also used to re-encode the test instructions sent from the test client operation support library, decode the test data received from the test server once, and distribute the test data to the test client operation support library;
[0062] The communication support library of the test client distribution communication module is used to encapsulate the communication function between the test client and the test server, for the test system human-machine interface to call, send test instructions to the distribution communication module communication support library of the test server and receive the test data sent back by the test server. It is implemented by software. The client distribution communication module communication support library is an important part of the test system software. The implementation method is as follows: Use programming language C to write the source code of the distribution communication module communication support library, and use the compiler to compile the source code into the form of a dynamic link library. When the main program is running, the communication between modules is completed by loading the corresponding dynamic link library.
[0063] refer to Figure 1 and Figure 4 As shown, the test server is used to receive the test instructions sent by the test client, test the equivalent controller according to the test instructions, and send the test data to the test client. The test server includes a test system server, a test server operation support library and a test server distribution communication module communication support library connected in sequence. For the convenience of description, the test system server is referred to as the server in the present invention, which is hereby declared;
[0064] Among them, the test system server is used to call the test server operation support library and the test server distribution communication module communication support library to test the equivalent controller and transmit test data;
[0065] The test server operation support library includes a test system device support library, and the test server operation support library is used to call the test system device support library to perform device status management and health management on the equivalent controller to monitor and transmit monitoring data, and at the same time test the equivalent controller and transmit test data;
[0066] It should be noted that the test system device support library includes the following:
[0067] The first module communication support library is used to encapsulate the communication function between the test client and the test server, receive the test instructions sent by the test client distribution communication module communication support library and feed back the test data to the test client;
[0068] The consistency test support library is used to send consistency test instructions to the equivalent controller and receive consistency test data;
[0069] Functional test support library, used to send functional test instructions to equivalent controllers and receive functional test data;
[0070] Performance test support library, used to send performance test instructions to equivalent controllers and receive performance test data;
[0071] A diagnostic test support library for sending diagnostic test instructions to an equivalent controller and receiving diagnostic test data;
[0072] The second module communication support library is used to encapsulate the communication function between the test client and the test server, receive the test instructions sent by the test client distribution communication module communication support library and feedback the test data to the test client, and start the second module communication support library when the first module communication support library fails to run.
[0073] It should be noted that the test system server includes hardware interfaces and software interfaces;
[0074] The hardware type interface is used to configure the configuration parameters of the test client received by the test system server into the equivalent controller hardware platform;
[0075] The software type interface is used to transmit test instructions and test data.
[0076] In the specific system design stage, C or C++ programming language is used. The working principle of the equivalent controller test system based on distributed architecture and distributed distribution communication technology is as follows: Figure 4 As shown in the figure, the solid lines represent the various component modules, the solid lines with arrows represent the communication flow, and the dotted horizontal lines without arrows represent the dividing line between the client and the server.
[0077] The server runs in the zero-slot controller of the integrated cabinet. The server includes a test system server. The test system server is connected to a programmable power supply, an equivalent controller, and an electrical load through a communication interface to form a loop of energy flow and signal flow.
[0078] The test system server provides a configuration and control human-machine interface, and is responsible for calling the test server operation support library and the first module communication support library and the second module communication support library to test the equivalent controller and transmit test data. In addition, it should be noted that the interface of the test system server is divided into two categories: hardware interface and software interface. The test system server includes hardware interface and software interface. The hardware interface is used to transfer the configuration parameters of the client received by the test system server to the hardware platform; the software interface is used to transmit test data and client remote control instructions. The hardware interface includes an equivalent controller IO interface, an Ethernet communication interface, a CAN communication interface, etc. The software interface includes a test data transmission interface on the server side and a command interface for remote control of the client. The number of hardware interfaces can be expanded according to actual functional needs. In addition, the corresponding software interface of the hardware interface can also be adaptively expanded.
[0079] It should be noted that the test server also includes an intelligent scheduling module for dynamically adjusting resource allocation among multiple test tasks according to the priorities and resource requirements of the test tasks.
[0080] It should be noted that when the test client sends a test request, the test server calculates the initial allocation coefficient based on the priority of the task and calculates the initial allocation value of each resource. If the calculated initial allocation value exceeds the total amount of resources, the test server will reallocate resources based on the allocation coefficient dynamically adjusted by the intelligent scheduling module, and notify the equivalent controller to execute the corresponding test task.
[0081] The intelligent scheduling method of the intelligent scheduling module includes the following steps:
[0082] Step 1: Define the priority and resource requirements of the test tasks: Calculate the priority according to the importance and urgency of the test tasks, and analyze the amount of resources required for the test tasks: Assume that there are n test tasks, each with a priority p i , i=1,2,…,n;
[0083] The demand for the jth resource of each task is a ij , where j = 1, 2, ..., m, m is the number of resource types, the total number of resource types that need to be allocated is m, and the total amount of each resource is R j , j = 1, 2, ..., m;
[0084] Step 2: Compute resource allocation:
[0085] 1) Initial distribution coefficient:
[0086] Dividing the priority of the i-th task by the sum of the priorities of all tasks results in a value between 0 and 1, which represents the relative weight of the i-th task in the entire task set.
[0087] k i represents the initial allocation coefficient of the i-th test task, reflecting the weight of the task relative to the total priority. If a task has a higher priority, its k i The value will be larger;
[0088] 2) Calculate the initial allocation value:
[0089] First, calculate the actual allocation value of each task according to its importance, and then add up these shares of all tasks to get the total demand of all tasks for the jth resource;
[0090] 3) Adjust the allocation ratio factor: If the total demand of all tasks for the jth resource exceeds the total amount of the resource, that is, r j >R j , then you need to reduce the demand for the resource of each task in proportion; if the total demand does not exceed the total amount of resources, no adjustment is required;
[0091] 4) Update the allocation coefficient: First, calculate the proportion of the i-th task's demand for each resource to the total demand of all tasks for that resource, then multiply these proportions by the adjustment factor of the corresponding resource, and finally multiply the product of all resources by the initial allocation coefficient k. i , the updated allocation coefficient k' is obtained i , repeat the above steps until the allocation value of all resources does not exceed the total amount of resources;
[0092] The equivalent controller is used to receive the test instructions sent by the test server, and perform functional tests and performance tests on the equivalent controller according to the test instructions, and send the test data to the test server.
[0093] As described above, the present invention constructs a test system for an equivalent controller with a distributed architecture and distributed distribution communication technology, which is a test system for an equivalent controller with the advantages of full functionality, good performance, strong scalability, high versatility, and a certain degree of automation.
[0094] Compared with the prior art, the test system of the present invention concentrates the various components in the test system of the equivalent controller into a dedicated integrated cabinet, and a server for testing the equivalent controller test system runs in the cabinet. During testing, the tester sends test instructions to the server through the client, and the test data is returned to the client through the server. The client performs decoding, judgment, display and other processing. During testing, multiple testers can test the equivalent controller at the same time, and the test data can be centrally managed.
[0095] In addition, in order to highlight the innovative part of the present invention, the present embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in the present embodiment.
[0096] Embodiment 2
[0097] The equivalent controller testing method of the distributed distribution communication technology provided by the second embodiment of the present invention is referred to Figure 5 As shown, the method comprises the following steps:
[0098] S1, the test client sends a test instruction to the test system server;
[0099] S2. The test server receives the test instruction sent by the test client. The test server calculates the initial allocation coefficient and the initial allocation value of each resource according to the priority of the task. If the calculated initial allocation value exceeds the total amount of resources, the test server will reallocate the resources according to the allocation coefficient dynamically adjusted by the intelligent scheduling module, notify the equivalent controller to execute the corresponding test task, and feed back the test data to the test client.
[0100] S3. The test client receives and decodes the test data sent by the test server.
[0101] The client of the test system sends a test instruction to the server of the test system including:
[0102] The test system human-machine interface loads the test client operation support library, pulls up the software interface provided by the test client operation support library during operation, and distributes the test instructions through the test client communication module communication support library to send the test instructions to the test system server through the first module communication support library.
[0103] The test system client sends a test instruction, tests the equivalent controller according to the test instruction, and feeds back the test data to the test system client, including the following steps:
[0104] S101, the first module communication support library receives the test instruction sent by the client distribution communication module communication support library of the test system, and distributes the test instruction to the test system server through the software interface provided by the server-side operation support library of the test system;
[0105] S102, when the test system server is running, it pulls up the test server operation support library, sends the test instruction to the test system device support library through the software interface provided by it, and tests the equivalent controller in the test system device support library;
[0106] S103, the test system device support library sends the test data to the first module communication support library through the software interface of the test server operation support library;
[0107] S104. The first module communication support library sends the test data to the test client through the network.
[0108] It should be noted that the test method and test system in the present invention are applicable to other modules whose electrical interfaces on the equivalent controller conform to communication modes such as analog IO (Analog Input-Output), digital IO (Digital Input-Output), and bus communication (Bus Communication).
[0109] It is worth mentioning that the specific working principles involved in the implementation of the method can be referred to the description in the system embodiment, and the present invention will not be repeated here.
[0110] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An equivalent controller test system for distributed distribution communication technology, characterized in that: It includes a test client, which is used to monitor the operation data of the equivalent controller in real time, send test instructions to the test server, and receive and process the test data sent by the server; The test server is used to receive the test instructions sent by the test client, test the equivalent controller according to the test instructions, and send the test data to the test client; The equivalent controller is used to receive the test instructions sent by the test server, perform functional tests and performance tests on the equivalent controller according to the test instructions, and send the test data to the test server; The test server also includes an intelligent scheduling module for dynamically adjusting resource allocation among multiple test tasks according to the priority and resource requirements of the test tasks.
2. The equivalent controller test system of the distributed distribution communication technology according to claim 1 is characterized in that: When the test client sends a test request, the test server calculates the initial allocation coefficient and the initial allocation value of each resource according to the priority of the task. If the calculated initial allocation value exceeds the total amount of resources, the test server will reallocate the resources according to the allocation coefficient dynamically adjusted by the intelligent scheduling module, and notify the equivalent controller to execute the corresponding test task.
3. The equivalent controller test system of the distributed distribution communication technology according to claim 1 is characterized in that: The test client includes a test system human-machine interface, a test client operation support library and a test client distribution communication module communication support library which are connected in sequence; Wherein, the test system human-machine interface is used for the test personnel to monitor the test data of the equivalent controller in real time, and the test system human-machine interface is also used for the test personnel to issue the test instructions; The test client operation support library is used to encode the test instruction once, and the test client support library is also used to decode the test data received from the test system test server for a second time, and upload the test data to the test system human-machine interface; The test client distribution communication module communication support library is used to encapsulate the test instructions, and the test client distribution communication module communication support library is also used to re-encode the test instructions sent from the test client operation support library, decode the test data received from the test server once, and distribute the test data to the test client operation support library; The test client distribution communication module communication support library is used to encapsulate the communication function between the test client and the test server for the test system human-machine interface to call, send test instructions to the distribution communication module communication support library of the test server and receive test data returned by the test server.
4. The equivalent controller test system of the distributed distribution communication technology according to claim 3 is characterized in that: The human-machine interface of the test system is designed using the general cross-platform human-machine interface development framework QT software.
5. The equivalent controller test system of the distributed distribution communication technology according to claim 4 is characterized in that: The test server also includes a test system server, a test server operation support library and a test server distribution communication module communication support library which are connected in sequence; Wherein, the test system server is used to call the test server operation support library and the test server distribution communication module communication support library to test the equivalent controller and transmit the test data; The test server operation support library includes a test system equipment support library, and the test server operation support library is used to call the test system equipment support library to perform equipment status management and health management on the equivalent controller, monitor and transmit monitoring data, and test the equivalent controller and transmit the test data.
6. The equivalent controller test system of the distributed distribution communication technology according to claim 5, characterized in that: The test system equipment support library includes: The first module communication support library is used to encapsulate the communication function between the test client and the test server, receive the test instructions sent by the communication support library of the test client distribution communication module and feed back the test data to the test client; The consistency test support library is used to send consistency test instructions to the equivalent controller and receive consistency test data; Functional test support library, used to send functional test instructions to equivalent controllers and receive functional test data; Performance test support library, used to send performance test instructions to equivalent controllers and receive performance test data; A diagnostic test support library for sending diagnostic test instructions to an equivalent controller and receiving diagnostic test data; The second module communication support library is used to encapsulate the communication function between the test client and the test server, receive the test instructions sent by the test client distribution communication module communication support library and feedback test data to the test client, and start the second module communication support library when the first module communication support library fails to run.
7. The equivalent controller testing method and system of the distributed distribution communication technology according to claim 6 is characterized in that: The test system server includes a hardware interface and a software interface. The hardware type interface is used to configure the configuration parameters of the test client received by the test system server into the equivalent controller hardware platform; The software type interface is used to transmit the test instructions and test data.
8. A method for testing an equivalent controller of a distributed distributed communication technology, applicable to an equivalent controller testing system of a distributed distributed communication technology according to any one of claims 1 to 7, characterized in that: The method comprises the following steps: S1, the test client sends a test instruction to the test system server; S2. The test server receives the test instruction sent by the test system client. The test server calculates the initial allocation coefficient and the initial allocation value of each resource according to the priority of the task. If the calculated initial allocation value exceeds the total amount of resources, the test server will reallocate the resources according to the allocation coefficient dynamically adjusted by the intelligent scheduling module, notify the equivalent controller to execute the corresponding test task, and feed back the test data to the test client. S3. The test client receives and decodes the test data sent by the test server.
9. The equivalent controller testing method of the distributed distribution communication technology according to claim 8 is characterized in that: The client of the test system sends a test instruction to the server of the test system, including: The test system human-machine interface loads the test client operation support library, pulls up the software interface provided by the test client operation support library during runtime, and distributes the test instructions through the test client communication module communication support library to send the test instructions to the test system server through the first module communication support library.
10. The equivalent controller testing method of the distributed distribution communication technology according to claim 9, characterized in that: The test system client sends the test instruction, tests the equivalent controller according to the test instruction, and feeds back the test data to the test system client, including the following steps: S101, the first module communication support library receives the test instruction sent by the client distribution communication module communication support library of the test system, and distributes the test instruction to the test system server through the software interface provided by the server operation support library of the test system; S102, when the test system server is running, pull up the test system server operation support library, send the test instruction to the test system device support library through the software interface provided by it, and test the equivalent controller in the test system device support library; S103, the test system device support library sends the test data to the first module communication support library through the software interface of the test server operation support library; S104: The first module communication support library sends the test data to the test client through a network.