STA power failure and recovery test method, system and device, electronic equipment and medium
Through the automated site STA power off-release testing method, the inefficiency and safety hazards brought about by manual operation in the prior art are solved, and a more efficient and safe power off-release testing is achieved.
Patent Information
- Application Number
- CN202411031902.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-12-27
Smart Images

Figure CN119201559A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to technical fields such as power outage and restoration testing, and in particular to a site STA power outage and restoration testing method, system, device, electronic equipment and medium. Background Art
[0002] As the terminal equipment for collecting data of smart grid, smart meter not only has the function of metering and billing, but also has the function of detecting the power quality of power grid. It can monitor power grid events such as power outage, phase termination, overload, overcurrent, undervoltage, loss of voltage, current interruption, reverse phase sequence, and three-phase imbalance. When the above power grid events are detected, it requests active reporting, which can assist the power system to realize power grid power supply quality analysis and early warning of faults. The carrier communication unit of smart meter is equipped with super capacitor, which supports real-time active reporting of power outage event information of low-voltage household meter. After the power meter is powered off, the power outage fault information is reported within the specified time through the carrier communication unit, and the power recovery information is actively reported after the meter is powered on. Therefore, the test of power outage and power recovery events is very important.
[0003] In the related art, the entire test process is for the test computer to communicate with the test equipment (for example, using USB and Ethernet, etc.), and the test computer end is the main control center and data storage center. The test computer end is responsible for reading the detection scheme configuration file and the detection process control. The existing test method has the following disadvantages: the test computer needs to be connected to multiple serial ports at the same time, which makes it troublesome to view the results and prone to disorder. In addition, connecting multiple serial ports increases the instability of data transmission. When testing the dual-mode module, it is necessary to switch the wireless connection and retest, which increases the test time. When simulating a power outage, one phase line of the meter is unplugged. There is a risk of electric shock during the test, and the manual power-off method makes it impossible to accurately record the power-off time. In the traditional test environment, the test process needs to monitor multiple serial ports, which is time-consuming and laborious. Summary of the invention
[0004] To this end, the purpose of the implementation mode of the present application is to propose a site STA power outage and restoration test method, system, device, electronic equipment, medium and program product, which can automatically simulate the site STA power outage and restoration and plug-in operations without the need for manual operation by the tester, thereby improving test efficiency and being safer.
[0005] An embodiment of the present application provides a site STA power outage and power restoration test method, the method is applied to a host computer, the host computer communicates with a control module, the control module communicates with a test baseboard, and the host computer also communicates with a recording module, the method comprising: sending a test instruction to the control module, so that the control module performs a test operation on the site STA set in the test baseboard according to the test instruction, wherein the test instruction includes an operation type, and the test operation includes at least one of a power outage operation, a power restoration operation, and a plug-in operation; acquiring communication information associated with the site STA, wherein the communication information at least includes information generated during the test process; filtering the communication information based on the operation type, so as to obtain the test result of the site STA through the filtered information.
[0006] Exemplarily, the filtering of the communication information based on the operation type includes: determining the initiation action time information associated with the operation type, and determining the reception action time information based on the operation type and the initiation action time; filtering the communication information based on the initiation action time information and the reception action time information to obtain the communication message corresponding to the initiation action time and the reception action time.
[0007] Exemplarily, when the operation type is a power outage operation type, the initiating action time information includes the power-outage STA broadcast message time information, the non-power-out STA unicast message time information, and the CCO reply message time information of the non-power-out STA; the receiving action time information includes the CCO receiving the power-outage STA broadcast message time information, the non-power-out STA receiving the power-outage STA broadcast message time information, the CCO receiving the non-power-out STA unicast message time information, and the non-power-out STA receiving the CCO reply message time information of the non-power-out STA.
[0008] Exemplarily, when the operation type is a power-recovery operation type, the initiating action time information includes the power-recovery STA unicast message time information and the CCO replying to the power-recovery STA message time information, and the receiving action time information includes the CCO receiving the power-recovery STA unicast message time information.
[0009] Exemplarily, the communication information is filtered based on the operation type to obtain the test result of the site STA through the filtered information, including: if the acquired communication messages corresponding to the initiating action time information and the receiving action time information are correct, it is determined that the power outage or power-on test of the site STA has passed.
[0010] Exemplarily, when the operation type is a plug-in operation type, the initiating action time information is plug-in STA operation time information, and the receiving action time information is the receiving message time information corresponding to the plug-in STA operation time in the case of power outage and restoration.
[0011] Exemplarily, the communication information is filtered based on the operation type to obtain the test result of the site STA through the filtered information, including: if no communication message is received at the receiving message time corresponding to the plug-in STA operation time under the power outage and restoration situation, it is determined that the plug-in test of the site STA has passed.
[0012] Exemplarily, the test instruction further includes address information of a station STA. When testing a station STA, filtering the communication information further includes: filtering the communication information according to the address information of the station STA.
[0013] Another embodiment of the present application provides a site STA power outage and restoration test method, the method is applied to a control module, the control module communicates with a host computer, the host computer also communicates with a recording module, the control module communicates with a test baseboard, the method includes: receiving a test instruction from the host computer, wherein the test instruction includes an operation type; performing a test operation on the site STA set in the test baseboard according to the test instruction, so that the host computer obtains communication information associated with the site STA, and filtering the communication information based on the operation type, so as to obtain the test result of the site STA through the filtered information, wherein the test operation includes at least one of a power outage operation, a power restoration operation, and a plug-in and unplug operation.
[0014] Another embodiment of the present application provides a site STA power outage and restoration test system, the system comprising: a host computer, a control module, a test baseboard, a recording module and a site STA, wherein the host computer is connected to the control module, and the host computer is used to execute the steps of the site STA power outage and restoration test method described in any one of claims 1 to 8; the control module is used to execute the steps of the site STA power outage and restoration test method described in claim 9; the test baseboard is connected to the control module, and is used to receive control instructions from the control module to perform test operations according to the control instructions, wherein the test operation includes at least one of a power outage operation, a power restoration operation and a plug-in and unplug operation; the site STA is set on the test baseboard, and the recording module is used to record communication information associated with the site STA.
[0015] Exemplarily, the test baseboard includes: a core board module, which is used to control the test baseboard; a radio frequency module, which is connected to the core board module and is used to transmit radio frequency signals; a power supply module, which is connected to the core board module and is used to supply power to the test baseboard; and an interface module, which is connected to the core board module and is used to connect to an external device under test.
[0016] Exemplarily, the RF module includes an RF switch, an SMA interface, an attenuator and an RF signal interface, the SMA interface is connected to the RF switch, the RF signal interface is connected to the RF switch through the attenuator, the SMA interface is externally connected to the RF interface of the device under test, the RF signal interface is connected to the RF interface of the test device, and the RF switch is used to switch the links of wireless testing and wireless calibration.
[0017] Exemplarily, the power supply module includes a power interface and a DC conversion circuit, the power interface is connected to an external DC power supply, the DC conversion circuit is connected to the power interface, and the DC conversion circuit is used to convert the DC power supply into a preset power supply to power the core board module based on the preset power supply.
[0018] Exemplarily, the interface module includes a STA interface, a CCO interface, an ABCN three-phase high-voltage interface and a USB interface. The STA interface is connected to the serial port and control IO of the STA dual-mode communication test module, the CCO interface is connected to the serial port and control IO of the CCO dual-mode communication companion test module of the Southern Power Grid or the State Grid, and the ABCN three-phase high-voltage interface is connected to three-phase electricity.
[0019] Exemplarily, the system also includes an Ethernet interface, an Ethernet control chip, a debug interface and a reset circuit. The core board module is connected to the Ethernet interface through the Ethernet control chip. The Ethernet interface is externally connected to Ethernet. The debug interface and the reset circuit are connected to the core board module for resetting the core board module.
[0020] Another embodiment of the present application provides a site STA power outage and power restoration test device, the device comprising: a sending module, used to send a test instruction to a control module, so that the control module performs a test operation on the site STA set in a test baseboard according to the test instruction, wherein the test instruction includes an operation type, and the test operation includes at least one of a power outage operation, a power restoration operation, and a plug-in operation; an acquisition module, used to acquire communication information associated with the site STA; a filtering module, used to filter the communication information based on the operation type, so as to obtain the test result of the site STA through the filtered information.
[0021] Another embodiment of the present application provides a site STA power outage and restoration test device, the device comprising: a receiving module, for receiving a test instruction from a host computer, wherein the test instruction includes an operation type; a testing module, for performing a test operation on the site STA set in a test baseboard according to the test instruction, so that the host computer obtains communication information associated with the site STA, and filters the communication information based on the operation type, so as to obtain the test result of the site STA through the filtered information, wherein the test operation includes at least one of a power outage operation, a power restoration operation and a plug-in operation.
[0022] Another embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method of any of the above embodiments when executing the computer program.
[0023] Another embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method of any of the above embodiments are implemented.
[0024] Another embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed by a processor of a computer device, the computer device is enabled to perform the steps of the method of any of the above embodiments.
[0025] In the above implementation, a test instruction is sent to the control module, so that the control module performs a test operation on the station STA set in the test baseboard according to the test instruction, wherein the test instruction includes an operation type, and the test operation includes at least one of a power-off operation, a power-on operation, and a plug-in operation; communication information associated with the station STA is obtained, wherein the communication information at least includes information generated during the test process; the communication information is filtered based on the operation type, so as to obtain the test result of the station STA through the filtered information. The test baseboard of the present invention can automatically simulate the power-off and power-on operations and the plug-in operations of the station STA, without the need for manual operation by the tester, thereby improving the test efficiency and being safer. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 An architectural diagram of a test computer and a test device provided for an embodiment of the present application;
[0027] Figure 2 A flow chart of a site STA power outage and restoration test method provided in an embodiment of the present application;
[0028] Figure 3 The overall architecture diagram of the power failure and restoration detection device provided in the embodiment of the present application;
[0029] Figure 4A schematic diagram of a testing device provided in an embodiment of the present application;
[0030] Figure 5 A flowchart of filtering communication information based on operation type provided in an embodiment of the present application;
[0031] Figure 6 A flow chart of a site STA power outage and restoration test method provided by another embodiment of the present application;
[0032] Figure 7 A schematic diagram of a site STA power outage and restoration test system provided in an embodiment of the present application;
[0033] Figure 8 A schematic diagram of a test base plate provided for an embodiment of the present application;
[0034] Fig. 9 A schematic diagram of the specific structure of the test base plate provided in the embodiment of the present application;
[0035] Fig.10 A schematic diagram of a site STA power outage and restoration test device provided in an embodiment of the present application;
[0036] Fig.11 A schematic diagram of a site STA power outage and restoration test device provided in another embodiment of the present application;
[0037] Fig.12 A block diagram of an electronic device provided for an embodiment of the present application. DETAILED DESCRIPTION
[0038] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0039] As the terminal equipment for collecting data of smart grid, smart meter not only has the function of metering and billing, but also has the function of detecting the power quality of power grid. It can monitor power grid events such as power outage, phase termination, overload, overcurrent, undervoltage, loss of voltage, current interruption, reverse phase sequence, and three-phase imbalance. When the above power grid events are detected, it requests active reporting, which can assist the power system to realize power grid power supply quality analysis and early warning of faults. The carrier communication unit of smart meter is equipped with super capacitor, which supports real-time active reporting of power outage event information of low-voltage household meter. After the power meter is powered off, the power outage fault information is reported within the specified time through the carrier communication unit, and the power recovery information is actively reported after the meter is powered on. Therefore, the test of power outage and power recovery events is very important.
[0040] In some examples, power outages are generally divided into the following three types: single-household power outage: a single user's power outage caused by short circuit, leakage or other reasons; branch power outage: a branch line power outage caused by short circuit, leakage or other reasons within the power supply substation; entire substation power outage: the entire power supply substation is outage due to transformer input power limitation, power outage, substation short circuit tripping, etc.
[0041] In some examples, the entire test process is that the test computer directly communicates with the test device (for example, using USB and Ethernet, etc.), such as Figure 1 As shown, the test computer is directly connected to the power-off STA (Station), the non-power-off STA, and the CCO (Central Coordinator) device. The power-off STA is connected to meter 1, the non-power-off STA is connected to meter 2, and the CCO is connected to the concentrator. The test computer is the main control center and data storage center. The test computer is responsible for reading the detection plan configuration file and the detection process control. The meter is added to the table file of the CCO, and the networking is successful.
[0042] The existing testing methods have the following disadvantages: the testing computer needs to be connected to multiple serial ports at the same time, which makes it troublesome to view the results and easily leads to confusion. In addition, connecting multiple serial ports increases the instability of data transmission. When testing dual-mode modules, it is necessary to switch the wireless connection and retest, which increases the testing time. When simulating a power outage, one phase line of the meter is unplugged, which poses a risk of electric shock during the test. The manual power-off method makes it impossible to accurately record the power-off time. In the traditional test environment, the test process requires monitoring multiple serial ports, which is time-consuming and labor-intensive.
[0043] Based on this, the present application proposes a site STA power outage and restoration test method, which uses a test device to simulate the meter test environment to perform power outage and restoration tests. It can automatically simulate the site STA power outage and restoration and plug-in operations without the need for manual operation by the tester, thereby improving test efficiency and being safer.
[0044] Figure 2 It is a flowchart of a site STA power outage and restoration test method according to an embodiment of the present application.
[0045] like Figure 2 As shown in the figure, the site STA power outage and restoration test method includes:
[0046] S201, sending a test instruction to the control module, so that the control module performs a test operation on the station STA set in the test baseboard according to the test instruction, wherein the test instruction includes an operation type, and the test operation includes at least one of a power-off operation, a power-on operation, and a plug-in operation;
[0047] S202, obtaining communication information associated with the station STA, wherein the communication information at least includes information generated during the test process;
[0048] S203, filtering the communication information based on the operation type to obtain the test result of the site STA through the filtered information.
[0049] Exemplarily, the above-mentioned site STA power outage and restoration test method is applied to a host computer, which may be a test computer having test software installed thereon. The host computer is connected to a control module, which may be a controller hardware. The control module communicates with a test baseboard provided in the present application. It can be understood that the test baseboard is for simulating an electric meter, and slots are provided on the test baseboard, namely, a site STA interface, a CCO interface, etc., for connecting to the STA and CCO under test.
[0050] Exemplarily, the host computer sends a test instruction to the control module, and the control module performs a test operation on the station STA set in the test baseboard according to the test instruction. The test instruction includes an operation type, and the operation type indicates which test the station STA performs. The test instruction also includes the address information of the station STA. Each STA slot of the test baseboard can be set with a table number through the test software. The test instruction includes the address information of the station STA, indicating which STA or STAs are to be tested. The test operation includes at least one of a power-off operation, a power-on operation, and a plug-in operation. The power-off operation can control the test baseboard to not supply power to the station STA to be tested. The power-on operation can control the test baseboard to restore power to the STA to be tested. The plug-in operation can control the displacement of the relay so that the relay cannot contact the pin, simulating the pin on the baseboard to be pulled out. In this way, there is no need for manual plug-in and unplugging, and automatic plug-in and unplugging operation is achieved, which is safer.
[0051] Exemplarily, after the test backplane performs a test operation on the site STA, the site STA will generate a series of communication information according to the test operation. For example, in a power outage operation scenario, after the power outage STA confirms the power outage, it broadcasts a power outage message every 2 seconds, for a total of 10 times. The non-power-off STA will analyze and summarize the results 30 seconds after receiving the first frame broadcast message from the power outage STA, and generate a message unicast report to the CCO. The control module is also connected to the recording module, which is used to record a series of communication information associated with the site STA, as well as the time of the communication information. The host computer filters the communication information recorded by the recording module, and filters the communication information according to the operation type, so as to obtain the test results of the site STA through the filtered information. For example, when performing a power outage test, the communication information associated with the power outage scenario is filtered, and the test results of the site STA are obtained based on the filtered information.
[0052] The site STA power outage and restoration testing method of the present application utilizes the test baseboard of the present application to automatically simulate the site STA power outage and restoration and plug-in and unplug operations, eliminating the need for manual operation by the tester, thereby improving test efficiency and being safer.
[0053] Figure 3 It is an overall architecture diagram of a power outage and restoration detection device according to an embodiment of the present application.
[0054] like Figure 3 As shown, the host computer is connected to the test device, and the control device is connected to the site STA and CCO. For example, in a power outage test scenario, the test device is connected to the power-off STA, the non-power-off STA, and the CCO.
[0055] Figure 4 It is a schematic diagram of a testing device according to an embodiment of the present application.
[0056] like Figure 4 As shown, the test device includes a control module, a recording module and a test baseboard. The control module can control the test baseboard to supply power to the STA under test. If it is three-phase electricity, it can control which phase of power is cut off or cut off the power supply together. A test baseboard of the present application has 2 CCO slots and 4 STA slots. Of course, multiple test baseboards can be connected in series. The CCO slot is compatible with the Southern Power Grid and the State Grid modules, and the STA slot is compatible with the single-phase and three-phase modules. The power supply and power failure are provided by the control module. The test baseboard is used to simulate the electric meter and provide an environment that is completely consistent with the electric meter. The test baseboard can communicate with the STA / CCO module through the serial port or the network port; the recording module is used to record the specific time of power outage and power-on (for example, the instantaneous time of power outage and power-on), as well as the communication messages between modules, and analyze the messages to determine whether they are normal messages for power outage and power-on.
[0057] As an example, the detection process is to control the test device through the host computer to perform power outage / power restoration and module plug-in and plug-in operations. After the control module receives the test instruction sent by the host computer (for example, the test instruction includes information such as the meter number and operation type), it controls the test baseboard to perform a test operation on the STA module in the specified slot. The test operation includes one of power outage, power restoration, and module plug-in and plug-in. After the recording module records the operation time, the host computer filters the broadcast and unicast messages according to the corresponding operation type (for example, filter out the messages in the power outage scenario) to see whether they meet the operation type. If they meet the requirements, the test passes. If they do not meet the requirements, the corresponding problem will be prompted and the test will fail.
[0058] As an example, Figure 5 As shown, the communication information is filtered based on the operation type, including:
[0059] S501, determining the initiating action time information associated with the operation type, and determining the receiving action time information according to the operation type and the initiating action time.
[0060] S502: Filter the communication information based on the initiating action time information and the receiving action time information to obtain a communication message corresponding to the initiating action time information and the receiving action time information.
[0061] Exemplarily, the recording module records the communication information associated with the site STA in real time during the test process, and the test base simulates the electric meter. In order to build a more realistic test environment, the communication information associated with the site STA includes not only the communication information generated during the test process, but also other communication information, such as communication information such as normal collection of electric meter data. The recording module records the specific time of the communication information, for example, the time when the site STA sends a message in the power outage test scenario. The host computer communicates with the recording module to filter the communication information, and first determines the initiation action time information associated with the operation type, for example, the initiation action time information associated with the power outage operation. According to the operation type and the initiation action time, the receiving action time information is determined. For example, according to the normal process in the power outage scenario and the initiation action time information associated with the power outage operation, the receiving action time information associated with the power outage operation can be determined. The host computer filters the communication information according to the initiation action time information and the receiving action time information, and obtains the communication message corresponding to the initiation action time and the receiving action time. The communication message corresponding to the initiation action time information and the receiving action time information obtained by the host computer is checked to see whether it conforms to the normal operation process. If it conforms, it means that the test is passed.
[0062] As an example, when the operation type is a power outage operation type, the initiating action time information includes the power-outage STA broadcast message time information, the non-power-outage STA unicast message time information, and the CCO reply message time information for the non-power-out STA; the receiving action time information includes the CCO receiving the power-outage STA broadcast message time information, the non-power-out STA receiving the power-outage STA broadcast message time information, the CCO receiving the non-power-outage STA unicast message time information, and the non-power-out STA receiving the CCO reply message time information for the non-power-out STA.
[0063] For example, in a power outage test scenario, the host computer sends a power outage command to the control module, and the control module controls the power outage of the specified STA. Under the normal power outage process, the power-off STA broadcasts a power outage message every 2 seconds, for a total of 10 times. The non-power-off STA will report the power outage result to the CCO 30 seconds after receiving the first frame of the broadcast message from the power-off STA. The CCO replies to the unicast message aggregated by the non-power-off STA for confirmation. The recording module captures every message in this process (including those sent by the power-off STA, those sent by the non-power-off STA, and those replied by the CCO to the non-power-off STA). The captured message contains a table address and an operation type (the table address indicates which meter is out of power, and the operation type is power outage or power restoration). For example, there is a feature value in the message to determine whether it is a feature value of a power outage. The time information of initiating action includes the time information of broadcast message of STA with power outage, the time information of unicast message of STA with power outage, and the time information of CCO replying message of STA with power outage. The time information of receiving action includes the time information of CCO receiving broadcast message of STA with power outage, the time information of STA with power outage receiving broadcast message of STA with power outage, the time information of unicast message of STA with power outage, and the time information of STA with power outage receiving message of CCO replying message of STA with power outage. The recording module records these time information. If the upper computer finds the corresponding message in these time information and the parsing is correct, it means that the power outage test has passed.
[0064] Exemplarily, the host computer is installed with power outage active reporting test software, and the power outage active reporting test plan is sent to the control module through the test software, and the test data of the recording module is read and recorded. The test data includes the time information of initiating the action, the time information of receiving the action, and the success rate, etc. (for example, in a power outage scenario, the power outage STA will broadcast 10 times. Due to communication congestion and other problems, not every broadcast will be successful. The success rate can represent the success rate of the power outage STA reporting message), and a test report is generated.
[0065] As an example, the time information of initiating an action and the time information of receiving an action can be calculated through the parameters of the network communication device. For example, with a communication baud rate of 2400, the byte format is one start bit, 8 data bits, one even parity bit, and one stop bit (a total of 11 bits). The communication protocol requires that the data length does not exceed 200, plus the frame header, frame tail, and preamble, a total of 216 bytes are calculated, so the most ideal state is that the current bus is idle and the waiting time is 0, but most of the time is the longest time to wait for a frame: Tw = 216*11 / 2400 = 0.99S. During normal testing, the meters will not be tested one by one, and multiple meters will be tested at one time, and the abnormal ones will be retested. Therefore, it is necessary to consider the situation where multiple smart meters lose power at the same time and need to be reported, and the worst state, such as when all 32 meters under the acquisition terminal lose power. There is bus preemption in the communication gap. If each meter calculates the reporting time by reporting a 6-byte active reporting status word: Tr = 22*11 / 2400 = 0.1S, then the waiting reporting time of the last meter is: T = Tw + 31*Tr = 0.99 + 31*0.1 = 4.09S (0.99 is the time the first meter waits for one frame, and the following calculation is based on the reporting of 6 bytes. For each additional meter, a reporting time is added, because although the meters are powered off at the same time, the actual message upload is uploaded sequentially in communication). In the actual environment, due to the stability of the communication system, it will involve timeout retransmission and other states, so the time may be longer than T. The above time is an example of the time information for initiating an action. Of course, depending on the different communication parameters such as the baud rate, the time information for initiating an action will also be different.
[0066] As an example, in the power outage test plan, the test plan involves configurable parameters, such as the number of tests, capacitor charging time (selected according to the capacitor type), waiting time (waiting time between each test, the capacitor must be fully charged between tests), number of sample meters, sample meter address, communication baud rate, etc. These parameters can be set in advance. For example, the number of tests is set to 10 times (this number can be adjusted as needed), the capacitor charging time is set to the full charging time of 20s, and the test is started with a waiting time of 20ms between each test in the most ideal state.
[0067] Exemplarily, the receiving action time information can be increased by adding one Tw for each additional meter (Tw is the maximum waiting time for one frame). When the increasing time reaches the waiting reporting time T of the last meter, the amplitude of each increase is reduced to Tr (6 bytes of reporting time). This can increase the efficiency of message capture. In this way, when capturing messages, a certain time interval can be used to capture them, and messages within the interval time will not be captured. This can improve the capture efficiency until the measurement number is met or until the active reporting of communication power outage fails.
[0068] For example, currently for most modules, it takes about 18s from the first frame to the last frame of the power outage broadcast (10 broadcasts, each with an interval of 2s). The non-power-off STAs gather the power outage information about 30s after receiving the broadcast. According to this process combined with the above-mentioned communication interval time, the time information of initiating the action and the time information of receiving the action can be determined.
[0069] As an example, when the operation type is a power-on operation type, the initiating action time information includes the power-on STA unicast message time information and the CCO reply STA message time information, and the receiving action time information includes the CCO receiving the power-on STA unicast message time information.
[0070] For example, in the power-on test scenario, the STA is powered on, and the powered-on STA unicasts a message to the CCO. Similarly, the initiation action time information corresponding to the power-on operation is also recorded, and the initiation action time information includes the power-on STA unicast message time information, the CCO reply message time information of the power-on STA, and the receiving action time information includes the CCO receiving the power-on STA unicast message time information.
[0071] As an example, the communication information is filtered based on the operation type to obtain the test results of the site STA through the filtered information, including: if the communication messages corresponding to the initiating action time information and the receiving action time information are correct, it is determined that the site STA power outage or power restoration test has passed.
[0072] Exemplarily, in the power outage test scenario, if the communication messages corresponding to the power-outage STA broadcast message time information, the non-power-outage STA unicast message time information, the CCO reply to the non-power-outage STA message time information, the CCO reception of the power-outage STA broadcast message time information, the non-power-outage STA reception of the power-outage STA broadcast message time information, the CCO reception of the non-power-outage STA unicast message time information, and the non-power-outage STA reception of the CCO reply to the non-power-outage STA message time information are all correct, then it is determined that the site STA power outage test has passed.
[0073] Exemplarily, in the power-on test scenario, if the communication messages corresponding to the power-on STA unicast message time information, the CCO's reply to the power-on STA message time information, and the CCO's reception of the power-on STA unicast message time information are all correct, it is determined that the site STA power-on test has passed.
[0074] As an example, the test instruction further includes the address information of the station STA. When testing a station STA, filtering the communication information further includes: filtering the communication information according to the address information of the station STA.
[0075] For example, considering the instability of data transmission, if there is a problem with a parsed message, the STA of this site will be retested. For example, 32 meters are tested for the first time, and each meter corresponds to a STA. For example, if there is a problem with meter 1, meter 1 will be retested. If it is still abnormal, it will be judged as failed.
[0076] Exemplarily, each slot of the test baseboard can be set with a table number through the test software. When testing a specified STA, the table number can be used to filter the required messages, for example, only retaining the messages related to the table number to determine whether the filtered messages meet the characteristics reported by the power-off and power-on module.
[0077] As an example, when the operation type is a plug-in operation type, the initiating action time information is the plug-in STA operation time information, and the receiving action time information is the receiving message time information corresponding to the plug-in STA operation time in the case of power outage and restoration.
[0078] As an example, the communication information is filtered based on the operation type to obtain the test results of the site STA through the filtered information, including: if no communication message is received at the receiving message time corresponding to the STA plug-in operation time when the power is off and restored, it is determined that the site STA plug-in test has passed.
[0079] For example, in the plug-in test scenario, the station STA unplugs the slot (the displacement relay can be used to make the pins not touch), the meter has no power, and no power outage and restoration related messages will be generated according to the process. For example, the operation time corresponding to the plug-in action is determined, and no related power outage and restoration related messages are received at the receiving message time corresponding to the plug-in STA operation time in the power outage and restoration scenario, then it is determined that the plug-in test operation has passed. For the same type of meter, only one meter can be plugged in and out of the meter.
[0080] It should be noted that in the power outage and restoration test, if the power meter repeatedly reports the power outage and restoration information within 4 minutes, CCO will only report the first time. Among them, 4 minutes is the deduplication time
[0081] The site STA power-off and power-on test method of this application can directly perform power-on and power-off operations on the host computer software, which improves safety, and the host computer can determine the results of the site STA, greatly improving the test efficiency. If the production test needs to add this project, it can also be easily iterated. The host computer software is flexible to operate and compatible with mainstream systems on the market. The test results can be determined by the host computer software. It has strong scalability. If the power-off and power-on process is redefined later, only the host computer program needs to be modified.
[0082] The present application also proposes a site STA power outage and restoration test method.
[0083] As an example, Figure 6 As shown in the figure, the site STA power outage and restoration test method includes:
[0084] S601, receiving a test instruction from a host computer, wherein the test instruction includes an operation type.
[0085] S602, perform test operations on the site STA set in the test baseboard according to the test instructions, so that the host computer obtains the communication information associated with the site STA, and filters the communication information based on the operation type, so as to obtain the test result of the site STA through the filtered information, wherein the test operation includes at least one of a power outage operation, a power restoration operation and a plug-in operation.
[0086] Exemplarily, the above-mentioned site STA power outage and restoration test method is applied to the control module, the control module communicates with the host computer, the host computer also communicates with the recording module, the control module communicates with the test baseboard, the control module receives the test instructions from the host computer, and performs test operations on the site STA set in the test baseboard according to the test instructions. The host computer obtains the communication information associated with the site STA, and filters the communication information based on the operation type, and obtains the test result of the site STA through the filtered information.
[0087] The present application also proposes a site STA power outage and restoration testing system.
[0088] As an example, Figure 7 As shown, the site STA power outage and restoration test system includes: a host computer, a control module, a test baseboard, a recording module and a site STA, wherein the host computer is connected to the control module, and the host computer is used to execute the steps of the site STA power outage and restoration test method of the first embodiment mentioned above; the control module is used for the steps of the site STA power outage and restoration test method of the second embodiment mentioned above; the test baseboard is connected to the control module, and is used to receive control instructions from the control module to perform test operations according to the control instructions, wherein the test operations include at least one of power outage operations, power restoration operations and plug-in operations; the site STA is set on the test baseboard, and the recording module is used to record communication information associated with the site STA.
[0089] As an example, Figure 8 As shown, the test baseboard includes: a core board module, which is used to control the test baseboard; a radio frequency module, which is connected to the core board module and is used to transmit radio frequency signals; a power supply module, which is connected to the core board module and is used to supply power to the test baseboard; and an interface module, which is connected to the core board module and is used to connect to an external device under test.
[0090] Exemplarily, the core board module may be an AT91SAM9X25 core board, which leads out the pin resources of the main control chip through two rows of 30x2 pin headers and connects to the test baseboard.
[0091] The test baseboard of this application supports SSH remote upgrade of test software, remote online upgrade of detection device software version, and high flexibility. The test baseboard only needs to adapt different pin boards to realize different module switching tests without modifying hardware, and the switching speed of different types of detection modules is fast.
[0092] As an example, Fig. 9 As shown, the RF module includes an RF switch, an SMA interface, an attenuator and an RF signal interface. The SMA interface is connected to the RF switch, the RF signal interface is connected to the RF switch through the attenuator, the SMA interface is externally connected to the RF interface of the device under test, the RF signal interface is connected to the RF interface of the test device, and the RF switch is used to switch the links of wireless testing and wireless calibration.
[0093] Exemplarily, the RF switch circuit is used to switch the link attenuator access of wireless test and wireless calibration to achieve different RF signal attenuation values for wireless test and wireless calibration. The test module RF signal interface is used to connect the test module RF interface. The SMA RF signal interface is used to connect the RF interface of the module under test for RF signal transmission and networking. The detection device of the present application is compatible with HPLC single-mode and HPLC+HRF dual-mode module detection.
[0094] As an example, Fig. 9 As shown, the power supply module includes a power interface and a DC conversion circuit DC-DC. The power interface is connected to an external DC power supply, and the DC conversion circuit is connected to the power interface. The DC conversion circuit is used to convert the DC power supply into a preset power supply to power the core board module based on the preset power supply.
[0095] For example, the power supply interface may be a 24V power supply interface for supplying power to the test baseboard. The DC-DC direct current conversion circuit may convert 24V into 12V, 5V, 3.3V or other power supplies through a power management chip.
[0096] As an example, Fig. 9 As shown, the interface module includes a STA interface, a CCO interface, an ABCN three-phase high-voltage interface and a USB interface. The STA interface is connected to the serial port and control IO of the STA dual-mode communication test module, the CCO interface is connected to the serial port and control IO of the CCO dual-mode communication companion test module of the Southern Power Grid or the State Grid, and the ABCN three-phase high-voltage interface is connected to the three-phase power.
[0097] Exemplarily, the ABCN three-phase strong power interface is connected to three-phase power A, B, C, and N. The STA interface is used to connect the serial port and control IO of the STA dual-mode communication test module. The CCO interface is used to connect the serial port and control IO of the CCO dual-mode communication companion test module of the Southern Power Grid or the State Grid. The test baseboard of this application supports various single-phase and three-phase STA single-mode and dual-mode modules of the Southern Power Grid and the State Grid, and CCO single-mode and dual-mode communication modules, with strong scalability and high flexibility.
[0098] For example, there can be 4 STA interfaces and 2 CCO interfaces on a test baseboard. The test baseboard of the present application supports one-to-four, and one test baseboard can test 4 STAs at the same time, which improves the detection efficiency. Multiple test baseboards can be connected via network cables / USB, and the number of test baseboards can be loaded as needed. It supports simultaneous testing of multiple STAs, and only one test baseboard is needed for testing multiple communication modules. Manual testing and automated testing are integrated, and HRF and HPLC modes can be tested simultaneously by carrying multiple baseboards.
[0099] As an example, Fig. 9 As shown, the site STA power failure and restoration test system also includes an Ethernet interface, an Ethernet control chip, a debug interface, and a reset circuit. The core board module is connected to the Ethernet interface through the Ethernet control chip. The Ethernet interface is connected to an external Ethernet. The debug interface and the reset circuit are connected to the core board module to reset the core board module. The test baseboard hardware interface of this application is fully functional, supports various dual-mode module detections of the State Grid and the Southern Power Grid, and has high flexibility.
[0100] The present application also proposes a site STA power outage and restoration testing device.
[0101] like Fig.10 As shown, the site STA power outage and power restoration test device includes: a sending module 1001, which is used to send test instructions to the control module, so that the control module performs test operations on the site STA set in the test baseboard according to the test instructions, wherein the test instructions include operation types, and the test operations include at least one of power outage operations, power restoration operations and plug-in operations; an acquisition module 1002, which is used to acquire communication information associated with the site STA; a filtering module 1003, which is used to filter the communication information based on the operation type, so as to obtain the test result of the site STA through the filtered information.
[0102] The present application also proposes a site STA power failure and restoration test device
[0103] like Fig.11As shown, the site STA power outage and power restoration test device includes: a receiving module 1101, used to receive a test instruction from a host computer, wherein the test instruction includes an operation type; a test module 1102, which performs a test operation on the site STA set in the test baseboard according to the test instruction, so that the host computer obtains the communication information associated with the site STA, and filters the communication information based on the operation type, so as to obtain the test result of the site STA through the filtered information, wherein the test operation includes at least one of a power outage operation, a power restoration operation and a plug-in operation.
[0104] The application also proposes a computer-readable storage medium.
[0105] In this embodiment, a computer program is stored on a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned site STA power outage and restoration test method are implemented.
[0106] Fig.12 A block diagram of an electronic device provided for an embodiment of the present application.
[0107] An embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned site STA power outage and restoration test method when executing the computer program.
[0108] like Fig.12 As shown, for ease of understanding, the embodiment of the present application shows a specific electronic device.
[0109] Electronic devices are intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0110] like Fig.12 As shown, the device includes a computing unit 1201, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1202 or a computer program loaded from a storage unit 1208 into a random access memory (RAM) 1203. In RAM 1203, various programs and data required for the operation of the electronic device can also be stored. The computing unit 1201, ROM 1202, and RAM 1203 are connected to each other via a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.
[0111] Multiple components in the electronic device are connected to the I / O interface 1205, including: an input unit 1206, such as a keyboard, a mouse, etc.; an output unit 1207, such as various types of displays, speakers, etc.; a storage unit 1208, such as a disk, an optical disk, etc.; and a communication unit 1209, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1209 allows the electronic device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0112] The computing unit 1201 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1201 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1201 executes the various methods described above, such as the site STA power failure test method. For example, in some embodiments, the site STA power failure test method may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1208. In some embodiments, part or all of the computer program may be loaded and / or installed on an electronic device via ROM 1202 and / or communication unit 1209. When the computer program is loaded into RAM 1203 and executed by the computing unit 1201, the site STA power failure test method described above may be executed. Alternatively, in other embodiments, the computing unit 1201 may be configured to execute the site STA power failure and restoration test method in any other appropriate manner (for example, by means of firmware).
[0113] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this application, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.
[0114] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0115] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In the present application, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0116] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0117] In addition, the terms "first", "second", etc. used in the embodiments of the present application are only used for descriptive purposes and should not be understood as indicating or implying relative importance, or implicitly indicating the number of technical features indicated in the present embodiment. Therefore, the features defined by the terms "first", "second", etc. in the embodiments of the present application can explicitly or implicitly indicate that at least one of the features is included in the embodiment. In the description of the present application, the word "multiple" means at least two or two or more, such as two, three, four, etc., unless otherwise clearly and specifically defined in the embodiments.
[0118] In this application, unless otherwise clearly specified or limited in the embodiments, the terms "installed", "connected", "connected" and "fixed" etc. appearing in the embodiments should be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or an integrated connection. It can be understood that it can also be a mechanical connection, an electrical connection, etc.; of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal connection of two elements, or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to the specific implementation situation.
[0119] In the present application, unless otherwise clearly specified and limited, a first feature being “above” or “below” a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being “above”, “above”, and “above” a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being “below”, “below”, and “below” a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0120] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A site STA power outage and restoration test method, characterized in that: The method is applied to a host computer, the host computer communicates with a control module, the control module communicates with a test baseboard, and the host computer also communicates with a recording module. The method includes: Sending a test instruction to the control module, so that the control module performs a test operation on the station STA set in the test baseboard according to the test instruction, wherein the test instruction includes an operation type, and the test operation includes at least one of a power-off operation, a power-on operation, and a plug-in operation; Acquire communication information associated with the station STA, wherein the communication information at least includes information generated during the test; The communication information is filtered based on the operation type to obtain the test result of the site STA through the filtered information.
2. The site STA power outage and restoration test method according to claim 1, characterized in that: The filtering the communication information based on the operation type includes: Determine the initiating action time information associated with the operation type, and determine the receiving action time information according to the operation type and the initiating action time; The communication information is filtered based on the initiating action time information and the receiving action time information to obtain a communication message corresponding to the initiating action time information and the receiving action time information.
3. The site STA power outage and restoration test method according to claim 2, characterized in that: When the operation type is a power outage operation type, the initiating action time information includes the power-outage STA broadcast message time information, the non-power-out STA unicast message time information, and the CCO reply message time information of the non-power-out STA; the receiving action time information includes the CCO receiving the power-outage STA broadcast message time information, the non-power-out STA receiving the power-outage STA broadcast message time information, the CCO receiving the non-power-out STA unicast message time information, and the non-power-out STA receiving the CCO reply message time information of the non-power-out STA.
4. The site STA power outage and restoration test method according to claim 2, characterized in that: When the operation type is a power-recovery operation type, the initiating action time information includes the power-recovery STA unicast message time information and the CCO replying to the power-recovery STA message time information, and the receiving action time information includes the CCO receiving the power-recovery STA unicast message time information.
5. The site STA power outage and restoration test method according to claim 3 or 4, characterized in that: The filtering the communication information based on the operation type to obtain the test result of the station STA through the filtered information includes: If the acquired communication messages corresponding to the initiating action time information and the receiving action time information are correct, it is determined that the power outage or power restoration test of the site STA has passed.
6. The site STA power outage and restoration test method according to claim 2, characterized in that: When the operation type is a plug-in operation type, the initiating action time information is the plug-in STA operation time information, and the receiving action time information is the receiving message time information corresponding to the plug-in STA operation time in the case of power outage and restoration.
7. The site STA power outage and restoration test method according to claim 6, characterized in that: The filtering the communication information based on the operation type to obtain the test result of the station STA through the filtered information includes: If no communication message is received at the receiving message time corresponding to the plugging and unplugging STA operation time in the power outage and restoration situation, it is determined that the plugging and unplugging test of the station STA has passed.
8. The site STA power outage and restoration test method according to claim 1, characterized in that: The test instruction also includes address information of the station STA. When testing a station STA, filtering the communication information also includes: The communication information is filtered according to the address information of the station STA.
9. A site STA power outage and restoration test method, characterized in that: The method is applied to a control module, the control module communicates with a host computer, the host computer also communicates with a recording module, and the control module communicates with a test baseboard. The method includes: Receiving a test instruction from a host computer, wherein the test instruction includes an operation type; According to the test instruction, a test operation is performed on the site STA set in the test baseboard, so that the host computer obtains communication information associated with the site STA, and filters the communication information based on the operation type, so as to obtain the test result of the site STA through the filtered information, wherein the test operation includes at least one of a power outage operation, a power restoration operation and a plug-in operation.
10. A site STA power outage and restoration test system, characterized in that: The system includes: a host computer, a control module, a test baseboard, a recording module and a station STA, wherein: The host computer is connected to the control module, and the host computer is used to execute the steps of the site STA power failure and restoration test method according to any one of claims 1 to 8; The control module is used to execute the steps of the site STA power outage and restoration test method according to claim 9; The test baseboard is connected to the control module and is used to receive a control instruction from the control module to perform a test operation according to the control instruction, wherein the test operation includes at least one of a power-off operation, a power-on operation and a plug-in operation; The station STA is arranged on the test baseboard, and the recording module is used for recording the communication information associated with the station STA.
11. The site STA power outage and restoration test system according to claim 10, characterized in that: The test base plate comprises: A core board module, wherein the core board module is used to control the test baseboard; A radio frequency module, the radio frequency module is connected to the core board module, and the radio frequency module is used to transmit radio frequency signals; A power supply module, the power supply module is connected to the core board module, and the power supply module is used to supply power to the test baseboard; An interface module is connected to the core board module and is used for externally connecting to a device under test.
12. The site STA power outage and restoration test system according to claim 11, characterized in that: The RF module includes an RF switch, an SMA interface, an attenuator and an RF signal interface, the SMA interface is connected to the RF switch, the RF signal interface is connected to the RF switch through the attenuator, the SMA interface is externally connected to the RF interface of the device under test, the RF signal interface is connected to the RF interface of the test device, and the RF switch is used to switch the links of wireless testing and wireless calibration.
13. The site STA power outage and restoration test system according to claim 11, characterized in that: The power supply module includes a power interface and a DC conversion circuit, the power interface is connected to an external DC power supply, the DC conversion circuit is connected to the power interface, and the DC conversion circuit is used to convert the DC power supply into a preset power supply to power the core board module based on the preset power supply.
14. The site STA power outage and restoration test system according to claim 11, characterized in that: The interface module includes a STA interface, a CCO interface, an ABCN three-phase high-power interface and a USB interface. The STA interface is connected to the serial port and control IO of the STA dual-mode communication test module, the CCO interface is connected to the serial port and control IO of the CCO dual-mode communication companion test module of the Southern Power Grid or the State Grid, and the ABCN three-phase high-power interface is connected to three-phase electricity.
15. The site STA power outage and restoration test system according to claim 11, characterized in that: The system also includes an Ethernet interface, an Ethernet control chip, a debug interface and a reset circuit. The core board module is connected to the Ethernet interface through the Ethernet control chip. The Ethernet interface is externally connected to Ethernet. The debug interface and the reset circuit are connected to the core board module for resetting the core board module.
16. A site STA power outage and restoration test device, characterized in that: The device comprises: A sending module, used for sending a test instruction to the control module, so that the control module performs a test operation on a station STA arranged in the test baseboard according to the test instruction, wherein the test instruction includes an operation type, and the test operation includes at least one of a power-off operation, a power-on operation, and a plug-in operation; An acquisition module, used to acquire communication information associated with a station STA; A filtering module is used to filter the communication information based on the operation type to obtain the test result of the site STA through the filtered information.
17. A site STA power outage and restoration test device, characterized in that: The device comprises: A receiving module, used for receiving a test instruction from a host computer, wherein the test instruction includes an operation type; The test module performs a test operation on the site STA set in the test baseboard according to the test instruction, so that the host computer obtains the communication information associated with the site STA, and filters the communication information based on the operation type to obtain the test result of the site STA through the filtered information, wherein the test operation includes at least one of a power outage operation, a power restoration operation and a plug-in operation.
18. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method described in any one of claims 1 to 9 when executing the computer program.
19. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 9 are implemented.