Automatic testing system and method and storage medium
By designing an automated test system, the power distribution terminal is automated by using remote operation and maintenance main station, distribution automation main station and tester, the problem of long test cycles and uncertain results in the existing technology is solved, and efficient and accurate test results.
Patent Information
- Application Number
- CN202411684803.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-02-21
AI Technical Summary
In the prior art, the testing of power distribution terminals relies on manual testing, resulting in long test cycles and uncertain results, especially in large distribution networks, which consumes a lot of time and energy.
An automated testing system was designed, including a remote operation and maintenance main station, a distribution automation main station and a tester, and the tester was electrically connected to the distribution terminal to be tested. The target test cases corresponding to the test task are obtained through the tester, the distribution terminal is tested, the test operation data is generated and sent to the distribution automation main station, which is forwarded to the remote operation and maintenance main station for evaluation.
It realizes accurate and convenient testing of distribution terminals in the distribution network, improves the accuracy of test results, shortens the test cycle, and improves the testing efficiency of distribution terminals.
Smart Images

Figure CN119492940A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of power distribution network testing technology, and in particular to an automated testing system, method and storage medium. Background Art
[0002] As the core component of the power system, the distribution network undertakes the important task of distributing electric energy from the high-voltage transmission network to the low-voltage user end. In this complex power network, the distribution terminals play a vital role, which are responsible for monitoring, controlling and protecting all aspects of the power system.
[0003] In the related art, the testing of distribution terminals often relies on relevant technicians to test various functions of the distribution terminals one by one. Especially in large-scale distribution networks with a large number of distribution terminals, this process requires a lot of time and effort. Not only does it have the technical problem of a long testing cycle, but the test results may also have certain uncertainties. Summary of the invention
[0004] In view of the above problems, the present invention provides an automated testing system, method and storage medium to achieve relatively accurate and convenient automated testing of distribution terminals in a distribution network, thereby improving the accuracy of test results, shortening the test cycle, and improving the testing efficiency of distribution terminals.
[0005] According to one aspect of the present invention, there is provided an automated testing system, the system comprising:
[0006] A remote operation and maintenance master station, a distribution automation master station and a tester, wherein the tester is electrically connected to the distribution terminal to be tested; wherein,
[0007] The tester is used for, upon receiving a test task for the power distribution terminal, obtaining a target test case corresponding to the test task, and testing the power distribution terminal based on the target test case, so that the power distribution terminal generates test operation data and sends the test operation data to the distribution automation master station;
[0008] The distribution automation master station is used to receive the test operation data sent by the distribution terminal and forward the test operation data to the remote operation and maintenance master station;
[0009] The remote operation and maintenance master station is used to receive the test operation data, evaluate the power distribution terminal based on the test operation data, and obtain an evaluation result of the power distribution terminal.
[0010] According to another aspect of the present invention, there is provided an automated testing method, the method comprising:
[0011] When receiving a test task for a distribution terminal, the tester obtains a target test case corresponding to the test task, and tests the distribution terminal based on the target test case, so that the distribution terminal generates test operation data and sends the test operation data to the distribution automation master station;
[0012] Receiving the test operation data sent by the distribution terminal through the distribution automation master station, and forwarding the test operation data to the remote operation and maintenance master station;
[0013] The test operation data is received through the remote operation and maintenance main station, and the power distribution terminal is evaluated based on the test operation data to obtain an evaluation result of the power distribution terminal.
[0014] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the automated testing method described in any embodiment of the present invention when executed.
[0015] The technical solution of the embodiment of the present invention is to form an automated test system through a remote operation and maintenance master station, a distribution automation master station and a tester, wherein the tester is electrically connected to a distribution terminal to be tested. When the tester receives a test task for the distribution terminal to be tested, the target test case corresponding to the test task is obtained, and the distribution terminal to be tested is tested based on the target test case, so that the distribution terminal to be tested generates test operation data and sends the test operation data to the distribution automation master station. The distribution automation master station receives the test operation data sent by the distribution terminal to be tested, and forwards the test operation data to the remote operation and maintenance master station. The remote operation and maintenance master station receives the test operation data, and the distribution terminal to be tested is evaluated based on the test operation data to obtain the evaluation result of the distribution terminal to be tested. The technical solution of the embodiment of the present invention realizes a relatively accurate and convenient automated test of the distribution terminals in the distribution network, improves the accuracy of the test results, shortens the test cycle, and improves the test efficiency of the distribution terminals.
[0016] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 A schematic diagram of the structure of an automated testing system provided by an embodiment of the present invention;
[0019] Figure 2 A structural example diagram of an automated testing system provided by an embodiment of the present invention;
[0020] Figure 3 A schematic diagram of the hardware structure of a tester provided in an embodiment of the present invention;
[0021] Figure 4 A schematic diagram of the hardware structure of an electric quantity power amplifier element provided in an embodiment of the present invention;
[0022] Figure 5 A test flow chart of an automated test system provided by an embodiment of the present invention;
[0023] Figure 6 A flowchart of an automated testing method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0027] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0028] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0029] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0030] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0031] Figure 1 This is a schematic diagram of the structure of an automated test system provided by an embodiment of the present invention. This embodiment is applicable to the case of testing a distribution terminal in a distribution network. The system can be implemented in the form of hardware and / or software. The system specifically includes the following structure:
[0032] A remote operation and maintenance master station 110, a distribution automation master station 120, and a tester 130; the tester 130 is electrically connected to a distribution terminal 140 to be tested. It should be noted that, when the distribution terminal needs to be tested, the distribution terminal to be tested and the tester 130 can be plugged in and out to achieve an electrical connection between the tester 130 and the distribution terminal 140 to be tested. Among them, the tester 130 can be used to obtain a target test case corresponding to the test task when receiving a test task for the distribution terminal 140 to be tested, and test the distribution terminal 140 to be tested based on the target test case, so that the distribution terminal 140 to be tested generates test operation data and sends the test operation data to the distribution automation master station 120.
[0033] In the embodiment of the present invention, the connection method between the tester 130 and the power distribution terminal to be tested can be an electrical connection, the connection method between the tester 130 and the remote operation and maintenance master station 110 can be an electrical connection, the connection method between the remote operation and maintenance master station 110 and the distribution automation master station 120 can be an electrical connection, and the connection method between the distribution automation master station 120 and the power distribution terminal to be tested can be an electrical connection (see Figure 2 ). Among them, the remote operation and maintenance master station 110 can be understood as the remote operation and maintenance master station 110 of the power system, which can be used to perform performance evaluation on the distribution terminal to be tested. The distribution automation master station 120, also known as the distribution network dispatching and control system or the distribution master station, in an embodiment of the present invention, the distribution automation master station 120 can be used to forward the test operation data of the distribution terminal to the remote operation and maintenance master station 110. Among them, the tester 130 can be understood as a device for testing the distribution terminal to be tested. In an embodiment of the present invention, the number of testers 130 in the automated testing system can be one or more. In actual applications, the number of testers 130 in the automated testing system is usually multiple. In other words, the automated testing system may include a tester 130 cluster including multiple testers 130.
[0034] Among them, the tester 130 is electrically connected to a distribution terminal 140 to be tested that is adapted to the tester 130. The distribution terminal 140 to be tested can be understood as a distribution terminal that needs to be tested. Optionally, the distribution terminal to be tested may include at least one of a telecontrol terminal device, a power monitoring device, a protection device, and an automated switchgear. In an embodiment of the present invention, the number of distribution terminals to be tested in the distribution network may be one or more. In practical applications, the number of distribution terminals to be tested in the distribution network is usually multiple. It should be noted that the tester 130 corresponds to the distribution terminal to be tested, that is, the correspondence between the tester 130 and the distribution terminal to be tested can be one-to-one. In an embodiment of the present invention, in the case of multiple distribution terminals 140 to be tested, each distribution terminal 140 to be tested can be electrically connected to a tester 130 adapted to the distribution terminal 140 to be tested, so as to achieve simultaneous testing of the distribution terminal 140 to be tested. The target test case can be understood as a test case for testing the terminal to be tested. The test operation data can be understood as the operation data generated by the distribution terminal after the distribution terminal to be tested is tested using the target test case.
[0035] Specifically, when the tester 130 receives a test task for the power distribution terminal 140 to be tested, a target test case corresponding to the test task can be obtained. Then, the power distribution terminal 140 to be tested can be tested based on the target test case, so that the power distribution terminal 140 to be tested generates test operation data. After the power distribution terminal 140 to be tested generates the operation data, the test operation data can be sent to the distribution automation master station 120 through the power distribution terminal 140 to be tested.
[0036] In an embodiment of the present invention, the tester 130 can also be used to perform a visual test on the power distribution terminal 140 to be tested based on a target test case. Specifically, the tester 130 can be used to perform a visual test on the power distribution terminal 140 to be tested based on a target test case. In an embodiment of the present invention, the use of the tester 130 for visual testing can present complex test data and results in an intuitive manner such as graphics and charts, and intuitively display the test results of the power distribution terminal, so that the tester can quickly understand the test results.
[0037] It should be noted that, in the embodiments of the present invention, Figure 3 As shown, at the hardware level, the tester 130 may include a microcontroller, a switch input and output element, an electrical quantity power amplifier element, and a wireless communication element. Among them, the microcontroller may adopt a high-performance digital signal controller STM32F103 with an ARM Cortex-M3 core to realize the control call of the internal components of the tester 130, test process management, message sending and receiving, time synchronization, event recording, and human-computer interface interaction. The switch input and output element may adopt a processor with a Cortex-M3 core as the main control chip to meet the requirements of the test system for SOE accuracy. The switch input and output element may include a switch input element and / or a switch output element. The switch input element may be used to detect the action signal of the distribution terminal and automatically identify the input polarity of the active node. The switch output element may be used to simulate the switch position.
[0038] In the embodiments of the invention, see Figure 4 The electrical quantity amplifier element may include a high-power switching power supply, a power amplifier circuit, a filter circuit, a gear switching circuit, a sampling circuit, and a real-time control circuit. The real-time control circuit is electrically connected to the gear switching circuit and the sampling circuit respectively, and is used to output a corresponding control signal according to the switching gear of the gear switching circuit. The filter circuit is electrically connected to the real-time control circuit to filter the control signal. The output end of the filter circuit is electrically connected to the power amplifier circuit, and the power amplifier circuit is electrically connected to the high-power switching power supply, and is used to control the high-power switching power supply to output the corresponding electrical quantity according to the control signal after filtering. The sampling circuit is electrically connected to the power amplifier circuit, and is used to sample the output electrical quantity and send the sampling result to the real-time control circuit. The real-time control circuit adjusts the output control signal according to the sampling result.
[0039] In an embodiment of the present invention, each tester 130 can independently communicate with the remote operation and maintenance main station 110 through its built-in wireless communication element. The wireless communication element can be composed of an Ethernet chip W5300 and an Ethernet to Wi-Fi chip WizFi630, and the physical layer and basic protocol stack of the Ethernet protocol and the Wi-Fi protocol are integrated internally. In an embodiment of the present invention, Wi-Fi networking communication can be completed by register operation through the microprocessor inside the tester 130, and multiple testers 130 can use different IP addresses to complete wireless Wi-Fi networking with the remote operation and maintenance main station 110 to interact with control commands and test data.
[0040] The distribution automation master station 120 is used to receive the test operation data sent by the distribution terminal 140 to be tested, and forward the test operation data to the remote operation and maintenance master station 110.
[0041] Specifically, the distribution automation master station 120 receives the test operation data sent by the distribution terminal 140 to be tested, and forwards the test operation data to the remote operation and maintenance master station 110 .
[0042] In an embodiment of the present invention, the distribution automation master station 120 can also be used to store the test operation data in a preset database to provide query data for the remote operation and maintenance master station 110. The preset database can be understood as a local database pre-set in the distribution automation master station 120 for storing the test operation data of the distribution terminal.
[0043] The remote operation and maintenance main station 110 is used to receive the test operation data, evaluate the power distribution terminal 140 to be tested based on the test operation data, and obtain the evaluation result of the power distribution terminal 140 to be tested.
[0044] Specifically, the test operation data sent by the distribution automation master station 120 is received by the remote operation and maintenance master station 110. Then, the distribution terminal 140 to be tested can be evaluated based on the test operation data. Thus, the evaluation result of the distribution terminal 140 to be tested can be obtained.
[0045] In the embodiment of the present invention, when there are multiple power distribution terminals to be tested, the power distribution terminals 140 to be tested are evaluated based on the test operation data, which may include, for each power distribution terminal 140 to be tested, analyzing and evaluating the test operation data of the power distribution terminal 140 to be tested based on preset indicators. Thus, the evaluation result of the power distribution terminal 140 to be tested can be obtained. The evaluation content may include at least one of protection function status judgment, autonomous inspection, and statistics and analysis of historical information based on data mining.
[0046] In an embodiment of the present invention, the remote operation and maintenance master station 110 can also be used to receive a test task set for the power distribution terminal 140 to be tested, match a target test case corresponding to the test task from a preset test case library, and send the test task and the target test case to the tester 130. The preset test case library can be understood as a test case database pre-set in the remote operation and maintenance master station 110. The preset test case library includes at least one preset test case.
[0047] Specifically, the test task set for the power distribution terminal 140 to be tested can be received through the remote operation and maintenance master station 110. Thus, the test case corresponding to the test task, i.e., the target test case, can be matched from the multiple preset test cases in the preset test case library. After that, the test task and the target test case can be sent to the tester 130.
[0048] In an embodiment of the present invention, the remote operation and maintenance main station 110 can also be used to edit the test case template online to obtain a preset test case; or, the test case template can be downloaded offline to facilitate editing the test case locally.
[0049] In an embodiment of the present invention, the tester 130 may include a local test module and an electrical quantity output module. The local test module may include a local test control unit and a tester 130 device drive unit. The tester 130 device drive unit and the electrical quantity output module are electrically connected. The local test control unit may be used to call the tester 130 device drive unit to control the electrical quantity output module to output the electrical quantity in the target test case to the distribution terminal 140 to be tested, so that the distribution terminal 140 to be tested generates test operation data. The electrical quantity may include at least one of voltage, current, resistance, electric power, capacitance, inductance, etc. In an embodiment of the present invention, the tester 130 device drive unit may be used to receive instructions from the local test control unit to provide a corresponding extended interface. The interface of the tester 130 device drive unit may be an expandable COM interface or a DLL interface. The tester 130 device drive unit may use a Windows message mechanism or a callback function mechanism to send intermediate information to the local test control unit. Optionally, the intermediate information may include at least one of connection success information, detection start information, detection stop information, and detection abnormality information.
[0050] For details, see Figure 5 , the tester 130 drive unit can be called through the local test control unit, so that the electrical quantity output module can be controlled by the tester 130 drive unit to output the electrical quantity in the target test case and send it to the distribution terminal 140 to be tested, so that the distribution terminal 140 to be tested generates test operation data.
[0051] Based on the above embodiment, the tester 130 may further include a remote test module (such as Figure 5 As shown), the remote test module may include a test case management unit. Among them, the local test control unit can be used to generate a test case acquisition instruction based on the test task when receiving a test task for the power distribution terminal 140 to be tested, and send the test case acquisition instruction to the remote test module; the test case management unit can be used to receive the test case acquisition instruction sent by the local test module, and match the target test case corresponding to the test case acquisition instruction from the preset test case library of the remote operation and maintenance main station 110 based on the test case acquisition instruction. Among them, the test case acquisition instruction can be an instruction for acquiring a test case generated based on the test task.
[0052] Specifically, when receiving a test task for the power distribution terminal 140 to be tested, the local test control unit can generate a test case acquisition instruction based on the test task. Thus, the test case acquisition instruction can be sent to the remote test module. Afterwards, the test case acquisition instruction sent by the local test module can be received by the test case management unit. Thus, based on the test case acquisition instruction, a test case corresponding to the test case acquisition instruction can be matched from the preset test case library of the remote operation and maintenance master station 110, that is, the target test case.
[0053] On the basis of the above embodiments, the remote test module may further include a test report management unit, and the remote operation and maintenance main station 110 may also be used to send the test operation data to the tester 130; the local test control unit may also be used to receive the test operation data sent by the remote operation and maintenance main station 110, generate actual test results based on the test operation data, compare the actual test results with the expected output results of the target test case to obtain the comparison results, and send the comparison results to the test report management unit; the test report management unit may be used to receive the comparison results sent by the local test control unit, generate a test report for the distribution terminal 140 to be tested based on the comparison results, and upload the test report to the remote operation and maintenance main station 110.
[0054] Specifically, after the remote operation and maintenance main station 110 receives the test operation data of the power distribution terminal 140 to be tested, the test operation data can be sent to the tester 130 through the remote operation and maintenance main station 110. After the local test control unit of the tester 130 receives the test operation data sent by the remote operation and maintenance main station 110, the actual test result can be generated based on the test operation data. Then, the actual test result can be compared with the expected output result of the target test case. Thus, the comparison result can be obtained. Afterwards, the comparison result can be sent to the test report management unit. After the test report management unit receives the comparison result, a test report for the power distribution terminal 140 to be tested can be generated based on the comparison result. Afterwards, the test report can be uploaded to the remote operation and maintenance main station 110. Among them, generating the actual test result based on the test operation data can include: the test operation data can be processed by the tester 130 to perform preset data processing, so as to obtain the processed data, and generate standardized actual test results based on the processed data.
[0055] On the basis of the above-mentioned embodiment, the remote operation and maintenance main station 110 may include a preset communication protocol template library. Communication protocol is the abbreviation of data transmission control procedure, which predefines a series of rules and agreements that the communicating parties need to abide by during the data transmission process. The local test module may also include a distribution terminal communication unit, and the remote test module may also include a communication protocol management unit. Among them, the communication protocol management unit can be used to match the target communication protocol corresponding to the distribution terminal 140 to be tested from the preset communication protocol template library before testing the distribution terminal 140 to be tested, and send the target communication protocol to the distribution terminal communication unit.
[0056] The interface of the power distribution terminal communication unit may be an expandable COM interface or a DLL interface. In the embodiment of the present invention, the power distribution terminal communication unit and the power distribution terminal 140 to be tested may achieve real-time communication through a preset protocol (eg, 104 protocol).
[0057] The target communication protocol can be understood as the communication protocol between the tester 130 and the distribution terminal to be tested. Specifically, before the distribution terminal to be tested 140 is tested by the tester 130, the communication protocol management unit can match the target communication protocol corresponding to the distribution terminal to be tested 140 from the preset communication protocol template library. Then, the target communication protocol can be sent to the distribution terminal communication unit.
[0058] The technical solution of the embodiment of the present invention is to form an automated testing system through a remote operation and maintenance master station, a distribution automation master station and a tester, wherein the tester is electrically connected to a distribution terminal to be tested. When the tester receives a test task for the distribution terminal to be tested, the target test case corresponding to the test task is obtained, and the distribution terminal to be tested is tested based on the target test case, so that the distribution terminal to be tested generates test operation data and sends the test operation data to the distribution automation master station. The distribution automation master station receives the test operation data sent by the distribution terminal to be tested, and forwards the test operation data to the remote operation and maintenance master station. The remote operation and maintenance master station receives the test operation data, and the distribution terminal to be tested is evaluated based on the test operation data to obtain the evaluation result of the distribution terminal to be tested. The technical solution of the embodiment of the present invention realizes relatively accurate and convenient automated testing of the distribution terminals in the distribution network, improves the accuracy of the test results, shortens the test cycle, and improves the test efficiency of the distribution terminals.
[0059] Figure 6 This is a flow chart of an automated testing method provided by an embodiment of the present invention. This method and the automated testing system of the above embodiments belong to the same inventive concept. For details not described in detail in the embodiments of the automated testing method, reference can be made to the embodiments of the above automated testing system. This method is applied to an automated testing system consisting of a remote operation and maintenance master station, a distribution automation master station, and a tester, wherein the tester is electrically connected to a distribution terminal to be tested. The method specifically includes the following steps:
[0060] S110. Upon receiving a test task for a distribution terminal to be tested, the tester obtains a target test case corresponding to the test task, and tests the distribution terminal to be tested based on the target test case, so that the distribution terminal to be tested generates test operation data and sends the test operation data to the distribution automation master station.
[0061] S120. Receive the test operation data sent by the distribution terminal to be tested through the distribution automation master station, and forward the test operation data to the remote operation and maintenance master station.
[0062] S130. Receive the test operation data through the remote operation and maintenance main station, evaluate the power distribution terminal to be tested based on the test operation data, and obtain an evaluation result of the power distribution terminal to be tested.
[0063] The technical solution of the embodiment of the present invention is that when the tester receives a test task for the distribution terminal to be tested, it obtains the target test case corresponding to the test task, and tests the distribution terminal to be tested based on the target test case, so that the distribution terminal to be tested generates test operation data and sends the test operation data to the distribution automation master station. The test operation data sent by the distribution terminal to be tested is received by the distribution automation master station, and the test operation data is forwarded to the remote operation and maintenance master station. The test operation data is received by the remote operation and maintenance master station, and the distribution terminal to be tested is evaluated based on the test operation data to obtain the evaluation result of the distribution terminal to be tested. The technical solution of the embodiment of the present invention realizes relatively accurate and convenient automated testing of the distribution terminals in the distribution network, improves the accuracy of the test results, shortens the test cycle, and improves the test efficiency of the distribution terminals.
[0064] Optionally, a test task set for the power distribution terminal to be tested is received through the remote operation and maintenance master station, a target test case corresponding to the test task is matched from a preset test case library, and the test task and the target test case are sent to the tester.
[0065] Optionally, through the local test control unit in the local test module of the tester, the test instrument driving unit of the local test module is called to control the electrical quantity output module of the tester to output the electrical quantities in the target test case and send them to the distribution terminal to be tested, so that the distribution terminal to be tested generates test operation data.
[0066] Optionally, when a test task for the power distribution terminal to be tested is received, the local test control unit in the local test module of the tester generates a test case acquisition instruction based on the test task, and sends the test case acquisition instruction to the remote test module of the tester; the test case management unit of the remote test module receives the test case acquisition instruction sent by the local test module, and matches the target test case corresponding to the test case acquisition instruction from the preset test case library of the remote operation and maintenance master station based on the test case acquisition instruction.
[0067] Optionally, the test operation data is sent to the tester through the remote operation and maintenance main station; the test operation data sent by the remote operation and maintenance main station is received by the local test control unit of the tester, an actual test result is generated based on the test operation data, the actual test result is compared with the expected output result of the target test case to obtain a comparison result, and the comparison result is sent to the test report management unit of the remote test module; the comparison result sent by the local test control unit is received by the test report management unit, a test report for the power distribution terminal to be tested is generated based on the comparison result, and the test report is uploaded to the remote operation and maintenance main station.
[0068] Optionally, the remote operation and maintenance master station includes a preset communication protocol template library. Before testing the distribution terminal to be tested, the communication protocol management unit of the remote operation and maintenance master station matches the target communication protocol corresponding to the distribution terminal to be tested from the preset communication protocol template library, and sends the target communication protocol to the distribution terminal communication unit of the local test module.
[0069] Optionally, a tester performs a visual test on the power distribution terminal to be tested based on a target test case.
[0070] Optionally, the test operation data is stored in a preset database through the distribution automation master station.
[0071] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
[0072] The embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the program is executed by a processor, for example, the vehicle warning information prompting method provided by the above embodiment of the present invention includes:
[0073] When receiving a test task for a power distribution terminal to be tested, the tester obtains a target test case corresponding to the test task, and tests the power distribution terminal to be tested based on the target test case, so that the power distribution terminal to be tested generates test operation data and sends the test operation data to the distribution automation master station;
[0074] Receiving the test operation data sent by the distribution terminal to be tested through the distribution automation master station, and forwarding the test operation data to the remote operation and maintenance master station;
[0075] The test operation data is received by the remote operation and maintenance master station, and the distribution terminal to be tested is evaluated based on the test operation data to obtain the evaluation result of the distribution terminal to be tested. The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0076] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0077] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0078] Computer program code for performing the operation of embodiments of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0079] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. An automated testing system, characterized in that: The system includes: a remote operation and maintenance master station, a distribution automation master station and a tester, wherein the tester is electrically connected to the distribution terminal to be tested; wherein, The tester is used for, upon receiving a test task for the power distribution terminal to be tested, obtaining a target test case corresponding to the test task, and testing the power distribution terminal to be tested based on the target test case, so that the power distribution terminal to be tested generates test operation data and sends the test operation data to the distribution automation master station; The distribution automation master station is used to receive the test operation data sent by the distribution terminal to be tested, and forward the test operation data to the remote operation and maintenance master station; The remote operation and maintenance main station is used to receive the test operation data, evaluate the power distribution terminal to be tested based on the test operation data, and obtain an evaluation result of the power distribution terminal to be tested.
2. The system according to claim 1, characterized in that The remote operation and maintenance main station is also used to receive a test task set for the power distribution terminal to be tested, match a target test case corresponding to the test task from a preset test case library, and send the test task and the target test case to the tester.
3. The system according to claim 1, characterized in that The tester includes a local test module and an electrical quantity output module, wherein the local test module includes a local test control unit and a test instrument drive unit, wherein: The local test control unit is used to call the test instrument driving unit to control the electrical quantity output module to output the electrical quantity in the target test case and send it to the power distribution terminal to be tested, so that the power distribution terminal to be tested generates test operation data.
4. The system according to claim 3, characterized in that The tester further comprises a remote test module, wherein the remote test module comprises a test case management unit, wherein: The local test control unit is used to generate a test case acquisition instruction based on the test task when receiving the test task for the power distribution terminal to be tested, and send the test case acquisition instruction to the remote test module; The test case management unit is used to receive the test case acquisition instruction sent by the local test module, and match the target test case corresponding to the test case acquisition instruction from the preset test case library of the remote operation and maintenance main station based on the test case acquisition instruction.
5. The system according to claim 4, characterized in that The remote test module also includes a test report management unit. The remote operation and maintenance main station is also used to send the test operation data to the tester; The local test control unit is further used to receive the test running data sent by the remote operation and maintenance master station, generate actual test results based on the test running data, compare the actual test results with the expected output results of the target test case to obtain a comparison result, and send the comparison result to the test report management unit; The test report management unit is used to receive the comparison result sent by the local test control unit, generate a test report for the power distribution terminal to be tested based on the comparison result, and upload the test report to the remote operation and maintenance master station.
6. The system according to claim 4, characterized in that The remote operation and maintenance master station includes a preset communication protocol template library, the local test module also includes a distribution terminal communication unit, and the remote test module also includes a communication protocol management unit, wherein: The communication protocol management unit is used to match the target communication protocol corresponding to the power distribution terminal to be tested from the preset communication protocol template library before testing the power distribution terminal to be tested, and send the target communication protocol to the power distribution terminal communication unit.
7. The system according to claim 1, characterized in that The tester is also used to perform a visual test on the power distribution terminal to be tested based on the target test case.
8. The system according to claim 1, characterized in that The distribution automation master station is also used to store the test operation data in a preset database.
9. An automated testing method, characterized in that: The method comprises: When receiving a test task for a power distribution terminal to be tested, the tester obtains a target test case corresponding to the test task, and tests the power distribution terminal to be tested based on the target test case, so that the power distribution terminal to be tested generates test operation data and sends the test operation data to the distribution automation master station; Receiving the test operation data sent by the distribution terminal to be tested through the distribution automation master station, and forwarding the test operation data to the remote operation and maintenance master station; The test operation data is received through the remote operation and maintenance main station, and the power distribution terminal to be tested is evaluated based on the test operation data to obtain an evaluation result of the power distribution terminal to be tested.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the automated testing method according to claim 9 when executed.
Citation Information
Patent Citations
Full-digital constant-voltage constant-current four-quadrant power supply
CN106602846A
Power supply device for DUT in integrated circuit test system
CN110196613A
Power distribution terminal test system
CN117347759A
Railway signal equipment detection power supply circuit
CN215344089U