Method and system for testing priority time synchronization function of power distribution terminal

By simulating the time synchronization environment using a clock server and shielded box in the power distribution terminal, and switching between protocol and satellite time synchronization, the network congestion and resource occupation problems caused by the time synchronization method of the power distribution terminal are solved, ensuring high-precision time synchronization selection and improving the reliability of the power distribution automation system.

CN121679153APending Publication Date: 2026-03-17CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511626770.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-07
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

The existing time synchronization methods of power distribution terminals can easily lead to network congestion or excessive time synchronization resources being consumed by the terminals, making it difficult to ensure the timeliness and accuracy of core business functions, especially in complex power distribution network environments.

Method used

The state quantity generator is timed by a clock server, a communication connection is established between the test master station and the power distribution terminal under test, different time synchronization environments are simulated by a shielded box, and the switching between protocol time synchronization and satellite time synchronization is performed to generate time synchronization results. The high-precision time synchronization method is selected first.

Benefits of technology

The system has achieved comprehensive verification of the priority time synchronization function of the power distribution terminal, ensuring that the power distribution terminal selects a more accurate time synchronization method in complex environments, thereby improving the reliability and practicality of the power distribution automation system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121679153A_ABST
    Figure CN121679153A_ABST
Patent Text Reader

Abstract

The invention provides a method and a system for testing a priority time checking function of a power distribution terminal. The method comprises the following steps: a clock server performs time service on a state quantity generator, establishes a communication link between a test master station and the power distribution terminal, enables a remote signaling initial state of the power distribution terminal to be tested to be a quantile state, and performs constant value parameter configuration on the power distribution terminal to be tested; and then opening quantity ports of the state quantity generator are sequentially controlled to be closed / opened / closed, so that first protocol time synchronization, satellite time synchronization and second protocol time synchronization are carried out on a remote signaling state closing position / separating position / closing position of the to-be-tested power distribution terminal, a corresponding time synchronization result is generated, and finally, a test result of a priority time synchronization function test is generated according to the time synchronization result. According to the method and the system, on the basis of the time checking and time keeping functions of the original power distribution terminal, comprehensive verification of the priority time checking function of the power distribution terminal is added, it is ensured that the power distribution terminal preferentially selects a time checking mode with higher precision, and improvement of automation and practicability of power distribution is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of time synchronization function testing technology, and more specifically, to a method and system for testing the priority time synchronization function of a power distribution terminal. Background Technology

[0002] Distribution terminals are the "nerve endings" of distribution automation systems, integrating functions such as data acquisition, control, fault handling, and communication. Time synchronization is the reliable time reference for the operation of distribution terminals, ensuring the effectiveness of power grid monitoring and control, the accuracy of fault location and analysis, and the reliability of data collection and comprehensive analysis. With the large-scale use of distribution terminals, their applications are characterized by "numerous locations, wide coverage, large quantity, and harsh on-site time synchronization environments." However, current technologies still mostly rely on the distribution master station periodically sending time synchronization commands to all terminals. This method is prone to problems such as missed time synchronization due to network congestion or terminals consuming excessive time synchronization resources. In recent years, prioritizing the accuracy and timeliness of time synchronization for key terminals or core scenarios through strategy design to ensure the normal operation of core business functions in complex distribution network environments has become an urgent problem to solve. Summary of the Invention

[0003] To address the technical problems in existing technologies where time synchronization is performed by the power distribution master station periodically sending time synchronization commands to all terminals, resulting in time synchronization errors due to network congestion or excessive time synchronization resources being occupied by terminals, this invention provides a method and system for testing the priority time synchronization function of power distribution terminals.

[0004] According to one aspect of the present invention, a method for testing the priority time synchronization function of a power distribution terminal is provided, comprising:

[0005] Step 1: The clock server provides time synchronization for the state quantity generator and establishes a communication connection between the test master station and the power distribution terminal under test. The power distribution terminal under test is placed in a shielded box, and the shielded box is in an open state. The remote signaling interface of the power distribution terminal under test is connected to the output port of the state quantity generator.

[0006] Step 2: The test master station controls the output port of the state quantity generator to disconnect, so that the switch-closed remote signaling state of the power distribution terminal under test is in the open position state, and configures the setpoint parameters of the power distribution terminal under test. The setpoint parameters include the time synchronization mode of the power distribution terminal under test, the satellite time synchronization interval, and the time synchronization switching long delay time. The time synchronization mode of the power distribution terminal under test includes protocol-only time synchronization mode and full time synchronization mode. The initial value of the time synchronization mode of the power distribution terminal under test is protocol-only time synchronization mode.

[0007] Step 3: The test master station sends a first protocol time synchronization command to the power distribution terminal under test, and controls the output port of the state quantity generator to close so that the switch closed remote signaling state of the power distribution terminal under test is in the closed state to perform the first protocol time synchronization, and generates a first protocol time synchronization result, wherein the first protocol time synchronization result includes first protocol time synchronization normal and first protocol time synchronization abnormal.

[0008] Step 4: Change the time synchronization mode of the power distribution terminal under test to full time synchronization mode, and after the satellite time synchronization interval is met, disconnect the output port of the state quantity generator to make the switch closed remote signaling state of the power distribution terminal under test in the open position state for satellite time synchronization, and generate satellite time synchronization results, wherein the satellite time synchronization results include satellite time synchronization normal and satellite time synchronization abnormal.

[0009] Step 5: Maintain communication between the test master station and the power distribution terminal under test, and close the shielding box to cause the satellite signal of the power distribution terminal under test to be lost;

[0010] Step 6: When the satellite signal loss time exceeds the time delay value of the time synchronization switch, the test master station sends a second protocol time synchronization command to the power distribution terminal under test, and controls the opening port of the state quantity generator to close so that the switch-on remote signaling state of the power distribution terminal under test is in the on state, performs the second protocol time synchronization, and generates a second protocol time synchronization result, wherein the second protocol time synchronization result includes the second protocol time synchronization being normal and the second protocol time synchronization being abnormal;

[0011] Step 7: Based on the first protocol time synchronization result, the satellite time synchronization result, and the second protocol time synchronization result, generate the test result of the priority time synchronization function test, wherein the test result includes priority satellite time synchronization and priority protocol time synchronization.

[0012] According to another aspect of the present invention, a power distribution terminal priority time synchronization function testing system is provided, the system comprising:

[0013] Clock server, shielded box, status generator, test master station, power distribution terminal under test, including:

[0014] A clock server is used to provide time synchronization for the state generator.

[0015] The status quantity generator has its output port connected to the remote signaling interface of the power distribution terminal under test, and is used to make its switch-closed remote signaling state open / closed according to the control command of the test master station.

[0016] A shielding box is used to house the power distribution terminal under test. Opening the box allows the power distribution terminal under test to perform satellite time synchronization, while closing the box causes the power distribution terminal under test to lose its satellite signal.

[0017] The test master station is used to establish a communication connection with the power distribution terminal under test (PDT). It controls the output port of the state generator to disconnect, causing the switch-closed remote signaling state of the PDT to be in the open position. It also configures the setpoint parameters of the PDT, including the PDT time synchronization mode, satellite time synchronization interval, and time synchronization switching delay time. The PDT time synchronization mode includes protocol-only synchronization and full time synchronization, with the initial value being protocol-only synchronization. When the shielding box is open, a first protocol time synchronization command is sent to the PDT, and the output port of the state generator is closed, causing the switch-closed remote signaling state of the PDT to be in the closed position for first protocol time synchronization. A first protocol time synchronization result is generated, changing the PDT time synchronization mode to full time synchronization. After satisfying the satellite time synchronization interval, the output port of the state generator is disconnected, causing the switch-closed remote signaling state of the PDT to be in the open position. The test master station sends a second protocol time synchronization command to the power distribution terminal under test. It then controls the closure of the output port of the state quantity generator to ensure the switch is in the closed position, performing a second protocol time synchronization and generating a second protocol time synchronization result. The first protocol time synchronization result includes "first protocol time synchronization normal" and "first protocol time synchronization abnormal." The satellite time synchronization result includes "satellite time synchronization normal" and "satellite time synchronization abnormal." The second protocol time synchronization result includes "second protocol time synchronization normal" and "second protocol time synchronization abnormal." Based on the first protocol time synchronization result, the satellite time synchronization result, and the second protocol time synchronization result, a test result for the priority time synchronization function test is generated. This test result includes priority satellite time synchronization and priority protocol time synchronization.

[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, the storage medium storing a computer program that, when executed by a processor, implements the methods described in any of the above aspects of the present invention.

[0019] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: a processor; a memory for storing executable instructions of the processor; the processor being configured to read the executable instructions from the memory and execute the instructions to implement the method described in any of the preceding aspects of the present invention.

[0020] The present invention discloses a method and system for testing the priority time synchronization function of a power distribution terminal. The method includes: a clock server providing time synchronization to a state quantity generator; establishing a communication link between the test master station and the power distribution terminal; setting the initial remote signaling state of the power distribution terminal under test to a split state; and configuring the setpoint parameters of the power distribution terminal under test. Then, the output ports of the state quantity generator are sequentially controlled to close / open / close, causing the remote signaling state of the power distribution terminal under test to undergo first-protocol time synchronization, satellite time synchronization, and second-protocol time synchronization, generating corresponding time synchronization results. Finally, test results for the priority time synchronization function are generated based on the time synchronization results. This method and system, based on the original power distribution terminal time synchronization and timekeeping function, adds a comprehensive verification of the priority time synchronization function of the power distribution terminal, ensuring that the power distribution terminal prioritizes the selection of a more accurate time synchronization method, which contributes to the practical improvement of power distribution automation. Attached Figure Description

[0021] Exemplary embodiments of the present invention can be more fully understood by referring to the following figures:

[0022] Figure 1 This is a flowchart of a preferred embodiment of the power distribution terminal priority time synchronization function test method according to the present invention;

[0023] Figure 2 This is a schematic diagram of the structure of a power distribution terminal priority time synchronization function test system according to a preferred embodiment of the present invention;

[0024] Figure 3 This is a schematic diagram of the structure of an electronic device according to a preferred embodiment of the present invention. Detailed Implementation

[0025] Exemplary embodiments of the invention will now be described with reference to the accompanying drawings. However, the invention may be embodied in many different forms and is not limited to the embodiments described herein. These embodiments are provided to fully and completely disclose the invention and to fully convey its scope to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the drawings is not intended to limit the invention. In the drawings, the same units / elements are referred to by the same reference numerals.

[0026] Unless otherwise stated, the terms used herein (including technical terms) have their common meaning as understood by one of ordinary skill in the art. Furthermore, it is understood that terms defined in commonly used dictionaries should be understood to have a meaning consistent with the context of their relevant field, and not to be interpreted as having an idealized or overly formal meaning.

[0027] Exemplary methods

[0028] Figure 1This is a flowchart of a method for testing the priority time synchronization function of a power distribution terminal according to a preferred embodiment of the present invention. Figure 1 As shown, the power distribution terminal priority time synchronization function test method described in this preferred embodiment starts from step 101.

[0029] In step 101, the clock server provides time synchronization for the state quantity generator and establishes a communication connection between the test master station and the power distribution terminal under test. The power distribution terminal under test is placed in a shielded box, and the shielded box is in an open state. The remote signaling interface of the power distribution terminal under test is connected to the output port of the state quantity generator.

[0030] In step 102, the test master station controls the output port of the state quantity generator to disconnect, so that the switch-closed remote signaling state of the power distribution terminal under test is in the open position state, and configures the setpoint parameters of the power distribution terminal under test. The setpoint parameters include the time synchronization mode of the power distribution terminal under test, the satellite time synchronization interval, and the time synchronization switching long delay time. The time synchronization mode of the power distribution terminal under test includes protocol-only time synchronization mode and full time synchronization mode. The initial value of the time synchronization mode of the power distribution terminal under test is protocol-only time synchronization mode.

[0031] In this preferred embodiment, the satellite time synchronization interval is set to 120 seconds, and the time synchronization switching delay time is 10 minutes.

[0032] In step 103, the test master station sends a first protocol time synchronization command to the power distribution terminal under test and controls the output port of the state quantity generator to close so that the switch-closed remote signaling state of the power distribution terminal under test is in the closed state to perform the first protocol time synchronization and generate a first protocol time synchronization result. The first protocol time synchronization result includes first protocol time synchronization normal and first protocol time synchronization abnormal.

[0033] Preferably, the test master station sends a first protocol time synchronization command to the power distribution terminal under test, and controls the closing of the output port of the state quantity generator to ensure that the switch-closed remote signaling state of the power distribution terminal under test is in the closed state to perform the first protocol time synchronization, generating a first protocol time synchronization result, including:

[0034] When the power distribution terminal under test responds to the first protocol time synchronization command, the first protocol time synchronization is successful; otherwise, the first protocol time synchronization fails.

[0035] When the test master station controls the output port of the state quantity generator to close, so that the switch-closed remote signaling state of the power distribution terminal under test is in the closed state, the time T0 of the switch-closed remote signaling closure is recorded.

[0036] The test master station receives the switch change signal of the power distribution terminal under test and checks the generation time T1 of its closed position remote signaling SOE change event.

[0037] When the absolute value of the first time synchronization error T1-T0 is not greater than the time synchronization accuracy of the first time synchronization, and the first time synchronization is successful, the result of the first time synchronization is that the first time synchronization is normal; otherwise, the result of the first time synchronization is that the first time synchronization is abnormal.

[0038] In this preferred embodiment, the time in the first protocol time synchronization command is not the current time, such as 13:00:00:000ms on January 4, 2020. The standard requirement for the power distribution terminal under test is that the satellite time synchronization error is no greater than 1ms and the protocol time synchronization error is no greater than 1s. Therefore, when the first protocol time synchronization is successful and the absolute value of the first protocol time synchronization error T1-T0 is no greater than 1s, the result of the first protocol time synchronization is that the first protocol time synchronization is normal.

[0039] In step 104, the time synchronization mode of the power distribution terminal under test is changed to full time synchronization mode, and after the satellite time synchronization interval is met, the output port of the state quantity generator is disconnected to make the switch closed remote signaling state of the power distribution terminal under test in the divided state for satellite time synchronization, and satellite time synchronization results are generated. The satellite time synchronization results include satellite time synchronization normal and satellite time synchronization abnormal.

[0040] The time synchronization mode of the power distribution terminal under test is changed to full time synchronization mode. After the satellite time synchronization interval is met, the output port of the state quantity generator is disconnected to put the switch-on remote signaling state of the power distribution terminal under test into a split state for satellite time synchronization, generating satellite time synchronization results, including:

[0041] When the test master station controls the output port of the state quantity generator to disconnect, so that the switch-closed remote signaling state of the power distribution terminal under test is in the open state, the switch-closed remote signaling closing time T2 is recorded.

[0042] The test master station receives the switch change signal of the power distribution terminal under test and checks the generation time T3 of its closed position remote signaling SOE change event.

[0043] When the absolute value of the satellite time synchronization error T3-T2 is not greater than the satellite time synchronization accuracy, the satellite time synchronization result is normal; otherwise, the satellite time synchronization result is abnormal.

[0044] In this preferred embodiment, when the absolute value of the satellite time synchronization error T3-T2 is not greater than 1ms, the satellite time synchronization result is considered to be normal.

[0045] In step 105, maintain communication between the test master station and the power distribution terminal under test, and close the shielding box to cause the satellite signal of the power distribution terminal under test to be lost.

[0046] In step 106, when the satellite signal loss time exceeds the long delay time value of the time synchronization switch, the test master station sends a second protocol time synchronization command to the power distribution terminal under test, and controls the opening port of the state quantity generator to close so that the switch-on remote signaling state of the power distribution terminal under test is in the closed state, performs the second protocol time synchronization, and generates a second protocol time synchronization result, wherein the second protocol time synchronization result includes the second protocol time synchronization being normal and the second protocol time synchronization being abnormal.

[0047] When the satellite signal loss time exceeds the time synchronization switching long delay time value, the test master station sends a second protocol time synchronization command to the power distribution terminal under test, and controls the closed output port of the state quantity generator to ensure that the switch-closed remote signaling state of the power distribution terminal under test is in the closed state, performs the second protocol time synchronization, and generates a second protocol time synchronization result, including:

[0048] When the power distribution terminal under test responds to the second protocol time synchronization command, the second protocol time synchronization is successful; otherwise, the second protocol time synchronization fails.

[0049] When the test master station controls the output port of the state quantity generator to close, so that the switch-closed remote signaling state of the power distribution terminal under test is in the closed state, the switch-closed remote signaling closing time T4 is recorded.

[0050] The test master station receives the switch change signal of the power distribution terminal under test and checks the generation time T5 of its closed position remote signaling SOE change event.

[0051] When the absolute value of the second time synchronization error T5-T4 is not less than the time synchronization accuracy of the second protocol, and the second time synchronization is successful, the result of the second time synchronization is that the second time synchronization is normal; otherwise, the result of the second time synchronization is that the second time synchronization is abnormal.

[0052] Similarly, the time in the second time synchronization command is not the current time, such as 17:00:00:000ms on January 5, 2020. When the second time synchronization is successful and the absolute value of the second time synchronization error T5-T4 is not greater than 1s, the result of the second time synchronization is that the second time synchronization is normal.

[0053] In step 107, test results for the priority time synchronization function test are generated based on the first protocol time synchronization result, the satellite time synchronization result, and the second protocol time synchronization result. The test results include priority satellite time synchronization and priority protocol time synchronization.

[0054] Preferably, based on the first protocol time synchronization result, the satellite time synchronization result, and the second protocol time synchronization result, test results for the priority time synchronization function test are generated, including:

[0055] When the satellite time synchronization result is normal, the test result is the priority satellite time synchronization;

[0056] When the first protocol time synchronization result is normal, the satellite time synchronization result is abnormal, and the second protocol time synchronization result is normal, the test result is the priority protocol time synchronization.

[0057] This preferred embodiment addresses two scenarios in the time synchronization test of the power distribution terminal under test: the terminal can search for satellites and the satellite is lost. It allows for both master station protocol time synchronization and satellite time synchronization. The power distribution terminal under test prioritizes different time synchronization methods. The first protocol time synchronization determines whether the protocol time synchronization is successful. Satellite verification checks whether satellite time synchronization is normal when the power distribution terminal can search for satellites. The second protocol time synchronization verifies whether the protocol time synchronization is successful when the satellite is lost. Based on the comprehensive time synchronization results, the method determines which time synchronization method to prioritize. This method, based on the original power distribution terminal time synchronization and timekeeping function, adds a comprehensive verification of the power distribution terminal's priority time synchronization function, ensuring that the power distribution terminal prioritizes the more accurate time synchronization method, which contributes to the practical improvement of power distribution automation.

[0058] Exemplary System

[0059] Figure 2 This is a schematic diagram of the structure of a power distribution terminal priority time synchronization function test system according to a preferred embodiment of the present invention. Figure 2 As shown, the power distribution terminal priority time synchronization function test system 200 of this preferred embodiment includes a clock server 201, a status generator 202, a shielded box 203, a test master station 204, and a power distribution terminal under test 205, wherein:

[0060] Clock server 201 is used to provide time synchronization for status generator 203;

[0061] The status generator 202 has its output port connected to the remote signaling interface of the power distribution terminal under test 205, and is used to set its switch-closed remote signaling status to open / closed state according to the control command of the test master station.

[0062] The shielding box 203 is used to house the power distribution terminal under test. Opening the box allows the power distribution terminal under test to perform satellite time synchronization, while closing the box causes the power distribution terminal under test to lose its satellite signal.

[0063] Test master station 204 is used to establish a communication connection with the power distribution terminal under test. By controlling the output port of the state quantity generator to disconnect, the switch-closed remote signaling state of the power distribution terminal under test is set to the open position. The setpoint parameters of the power distribution terminal under test are configured, including the time synchronization mode, satellite time synchronization interval, and time synchronization switching delay time. The time synchronization mode of the power distribution terminal under test includes protocol-only time synchronization mode and full time synchronization mode. The initial value of the time synchronization mode of the power distribution terminal under test is protocol-only time synchronization mode. When the shielding box is open, a first protocol time synchronization command is sent to the power distribution terminal under test, and the switch-closed remote signaling state of the power distribution terminal under test is set to the closed position by controlling the output port of the state quantity generator to perform the first protocol time synchronization, generating the first protocol time synchronization result, changing the time synchronization mode of the power distribution terminal under test to full time synchronization mode, and after satisfying the satellite time synchronization interval, the output port of the state quantity generator is disconnected to... The switch-closed remote signaling state of the power distribution terminal under test is in the open position to perform satellite time synchronization, generating a satellite time synchronization result; and after the shielding box is closed, and the satellite signal loss time of the power distribution terminal under test exceeds the long delay time value of the time synchronization switching, the test master station sends a second protocol time synchronization command to the power distribution terminal under test, and controls the output port of the state quantity generator to close so that the switch-closed remote signaling state of the power distribution terminal under test is in the closed position, performs a second protocol time synchronization, and generates a second protocol time synchronization result. The first protocol time synchronization result includes first protocol time synchronization normal and first protocol time synchronization abnormal, the satellite time synchronization result includes satellite time synchronization normal and satellite time synchronization abnormal, and the second protocol time synchronization result includes second protocol time synchronization normal and second protocol time synchronization abnormal; and based on the first protocol time synchronization result, the satellite time synchronization result and the second protocol time synchronization result, a test result for priority time synchronization function test is generated, wherein the test result includes priority satellite time synchronization and priority protocol time synchronization.

[0064] Preferably, the system further includes a switch 206, which is used to connect to the clock generator, the status generator, the test master station, and the power distribution terminal under test via network cables, respectively, so as to realize the communication connection between the test master station, the power distribution terminal under test, the clock server, and the status signal generator.

[0065] The preferred embodiment of the power distribution terminal priority time synchronization function test system and the power distribution terminal priority time synchronization function test method perform the same steps of protocol time synchronization and satellite time synchronization to determine the priority time synchronization mode, and achieve the same technical effect, so they will not be described again here.

[0066] Exemplary electronic devices

[0067] Figure 3 This is a schematic diagram of the structure of an electronic device according to a preferred embodiment of the present invention. Figure 3As shown, the electronic device includes one or more processors 301 and memory 302.

[0068] The processor 301 may be a central processing unit (CPU) or other form of processing unit with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0069] The memory 302 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 301 may execute the program instructions to implement the power distribution terminal priority time synchronization function test method of the various embodiments disclosed above and / or other desired functions. In one example, the electronic device may also include an input device 303 and an output device 304, which are interconnected via a bus system and / or other forms of connection mechanism (not shown).

[0070] In addition, the input device 303 may also include, for example, a keyboard, a mouse, etc.

[0071] The output device 304 can output various information to the outside. The output device 304 may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.

[0072] Of course, for the sake of simplicity, Figure 3 Only some of the components of the electronic device relevant to this disclosure are shown, omitting components such as buses, input / output interfaces, etc. In addition, the electronic device may include any other suitable components depending on the specific application.

[0073] Exemplary computer program products and computer-readable storage media

[0074] In addition to the methods and apparatus described above, embodiments of this disclosure may also be computer program products, including computer program instructions that, when executed by a processor, cause the processor to perform the steps in the power distribution terminal priority time synchronization function test method according to various embodiments of this disclosure as described in the "Exemplary Methods" section above.

[0075] The computer program product can be written in any combination of one or more programming languages ​​to perform the operations of the embodiments of this disclosure. The programming languages ​​include object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on a user's computing device, partially on a user's computing device, as a standalone software package, partially on a user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0076] Furthermore, embodiments of this disclosure may also be computer-readable storage media storing computer program instructions that, when executed by a processor, cause the processor to perform the steps in the power distribution terminal priority time synchronization function test method according to various embodiments of this disclosure as described in the "Exemplary Methods" section above.

[0077] The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may, for example, include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0078] The basic principles of this disclosure have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this disclosure are merely examples and not limitations, and should not be considered as essential features of each embodiment of this disclosure. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the scope of this disclosure to the necessity of employing the aforementioned specific details for implementation.

[0079] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For system embodiments, since they largely correspond to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0080] The block diagrams of devices, apparatuses, devices, and systems disclosed herein are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.

[0081] The apparatus and methods of this disclosure may be implemented in many ways. For example, they may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order of steps for the methods is for illustrative purposes only, and the steps of the methods of this disclosure are not limited to the order specifically described above unless otherwise specifically stated. Furthermore, in some embodiments, this disclosure may also be implemented as a program recorded on a recording medium, the program including machine-readable instructions for implementing the methods according to this disclosure. Thus, this disclosure also covers recording media storing programs for performing the methods according to this disclosure.

[0082] It should also be noted that in the apparatus, devices, and methods of this disclosure, the components or steps are decomposable and / or recombinable. Such decomposition and / or recombination should be considered equivalent to the present disclosure. The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of this disclosure. Therefore, this disclosure is not intended to be limited to the aspects shown herein, but rather to be carried out within the widest scope consistent with the principles and novel features disclosed herein.

[0083] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this disclosure to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.

Claims

1. A method of testing a priority time function of a power distribution terminal, characterized by, The method comprises: Step 1, the clock server time-serves the state quantity generator, and establishes communication connection between the test master station and the power distribution terminal to be tested, wherein the power distribution terminal to be tested is placed in a shielding box, and the shielding box is in an open state, and the remote signaling interface of the power distribution terminal to be tested is connected with the outgoing quantity port of the state quantity generator; Step 2, the test master station makes the on-off bit remote signaling state of the power distribution terminal to be tested in the split state by controlling the outgoing quantity port of the state quantity generator to be disconnected, and configures the fixed value parameter of the power distribution terminal to be tested, wherein the fixed value parameter comprises the time synchronization mode of the power distribution terminal to be tested, the satellite time synchronization interval and the long delay time of time synchronization switching, the time synchronization mode of the power distribution terminal to be tested comprises the only receiving protocol time synchronization mode and the full time synchronization mode, and the initial value of the time synchronization mode of the power distribution terminal to be tested is the only receiving protocol time synchronization mode; Step 3, the test master station generates the first protocol time synchronization result by issuing the first protocol time synchronization command to the power distribution terminal to be tested and making the on-off bit remote signaling state of the power distribution terminal to be tested in the closed state by controlling the outgoing quantity port of the state quantity generator to be closed for the first protocol time synchronization, wherein the first protocol time synchronization result comprises the first protocol time synchronization normal and the first protocol time synchronization exception; Step 4, the time synchronization mode of the power distribution terminal to be tested is changed to the full time synchronization mode, and the on-off bit remote signaling state of the power distribution terminal to be tested is made in the split state by controlling the outgoing quantity port of the state quantity generator to be disconnected after the satellite time synchronization interval is satisfied to generate the satellite time synchronization result for the satellite time synchronization, wherein the satellite time synchronization result comprises the satellite time synchronization normal and the satellite time synchronization exception; Step 5, the communication between the test master station and the power distribution terminal to be tested is kept, and the shielding box is closed, so that the satellite signal of the power distribution terminal to be tested is lost; Step 6, after the satellite signal loss time exceeds the long delay time value of the time synchronization switching, the test master station issues the second protocol time synchronization command to the power distribution terminal to be tested, and makes the on-off bit remote signaling state of the power distribution terminal to be tested in the closed state by controlling the outgoing quantity port of the state quantity generator to be closed for the second protocol time synchronization, to generate the second protocol time synchronization result, wherein the second protocol time synchronization result comprises the second protocol time synchronization normal and the second protocol time synchronization exception; Step 7, the test result of the priority time synchronization function test is generated according to the first protocol time synchronization result, the satellite time synchronization result and the second protocol time synchronization result, wherein the test result comprises the priority satellite time synchronization and the priority protocol time synchronization.

2. The method of claim 1, wherein, The test master station generates the first protocol time synchronization result by issuing the first protocol time synchronization command to the power distribution terminal to be tested and making the on-off bit remote signaling state of the power distribution terminal to be tested in the closed state by controlling the outgoing quantity port of the state quantity generator to be closed for the first protocol time synchronization, comprising: When the power distribution terminal to be tested responds to the first protocol time synchronization command, the first protocol time synchronization is successful, otherwise, the first protocol time synchronization fails; When the test master station makes the on-off bit remote signaling state of the power distribution terminal to be tested in the closed state by controlling the outgoing quantity port of the state quantity generator to be closed, the closing moment T0 of the on-off bit remote signaling is recorded. The test master station receives the switch position change signal of the power distribution terminal to be tested, and checks the generation time T1 of the SOE position change event of the closed position remote signaling; When the absolute value of the first protocol time error T1-T0 is not greater than the protocol time accuracy, and the first protocol time is successful, the first protocol time result is the first protocol time normal, otherwise, the first protocol time result is the first protocol time abnormal.

3. The method of claim 1, wherein, The time synchronization mode of the power distribution terminal to be tested is changed to full time synchronization mode, and after the satellite time interval is met, the open output port of the state quantity generator is controlled to disconnect to make the switch closed position remote signaling state of the power distribution terminal to be tested in the split position state to perform satellite time synchronization, and a satellite time synchronization result is generated, including: When the test master station controls the open output port of the state quantity generator to disconnect to make the switch closed position remote signaling state of the power distribution terminal to be tested in the split position state, the switch closed position remote signaling closing time T2 is recorded; The test master station receives the switch position change signal of the power distribution terminal to be tested, and checks the generation time T3 of the SOE position change event of the closed position remote signaling; When the absolute value of the satellite time error T3-T2 is not greater than the satellite time accuracy, the satellite time synchronization result is satellite time synchronization normal, otherwise, the satellite time synchronization result is satellite time synchronization abnormal.

4. The method of claim 1, wherein, When the satellite signal loss time exceeds the time interval value of the time synchronization switch, the test master station issues a second protocol time synchronization command to the power distribution terminal to be tested, and controls the open output port of the state quantity generator to close to make the switch closed position remote signaling state of the power distribution terminal to be tested in the closed position state to perform second protocol time synchronization, and a second protocol time synchronization result is generated, including: When the power distribution terminal to be tested responds to the second protocol time synchronization command, the second protocol time synchronization is successful, otherwise, the second protocol time synchronization fails; When the test master station controls the open output port of the state quantity generator to close to make the switch closed position remote signaling state of the power distribution terminal to be tested in the closed position state, the switch closed position remote signaling closing time T4 is recorded; The test master station receives the switch position change signal of the power distribution terminal to be tested, and checks the generation time T5 of the SOE position change event of the closed position remote signaling; When the absolute value of the second protocol time error T5-T4 is not less than the protocol time accuracy, and the second protocol time synchronization is successful, the second protocol time synchronization result is the second protocol time normal, otherwise, the second protocol time synchronization result is the second protocol time abnormal.

5. The method of claim 1, wherein, According to the first protocol time synchronization result, the satellite time synchronization result and the second protocol time synchronization result, a test result of the priority time synchronization function test is generated, including: When the satellite time synchronization result is satellite time synchronization normal, the test result is priority satellite time synchronization; When the first protocol time synchronization result is the first protocol time normal, the satellite time synchronization result is satellite time synchronization abnormal, and the second protocol time synchronization result is the second protocol time normal, the test result is priority protocol time synchronization.

6. The method of claim 1, wherein, When the satellite signal loss time exceeds the time interval value of the time synchronization switch, the test master station issues a second protocol time synchronization command to the power distribution terminal to be tested, performs second protocol time synchronization, and determines whether the second protocol time synchronization is successful according to the calculated second protocol time error and the protocol time accuracy, and further includes: The switch closed position remote signaling state of the state quantity generator is in the disconnected state; The time synchronization mode of the to-be-tested power distribution terminal is restored to only receiving the master station protocol time synchronization; The to-be-tested power distribution terminal is disconnected from the test master station.

7. A power distribution terminal priority time synchronization function test system, characterized by, The system comprises a clock server, a shielding box, a state quantity generator, a test master station, and a to-be-tested power distribution terminal, wherein: The clock server is configured to provide timing for the state quantity generator; The state quantity generator is connected to the remote signaling interface of the to-be-tested power distribution terminal via an output port, and is configured to make the on-off remote signaling state of the to-be-tested power distribution terminal be in the open / closed state according to the control instruction of the test master station; The shielding box is configured to place the to-be-tested power distribution terminal, and when the shielding box is opened, the to-be-tested power distribution terminal performs satellite time synchronization, and when the shielding box is closed, the satellite signal of the to-be-tested power distribution terminal is lost; The test master station is configured to establish a communication connection with the to-be-tested power distribution terminal, make the on-off remote signaling state of the to-be-tested power distribution terminal be in the split state by controlling the state quantity generator to disconnect the output port, and configure the fixed value parameters of the to-be-tested power distribution terminal, the fixed value parameters including the time synchronization mode of the to-be-tested power distribution terminal, the satellite time synchronization interval, and the long delay time of time synchronization switching, the time synchronization mode of the to-be-tested power distribution terminal including only receiving the protocol time synchronization mode and full time synchronization mode, and the initial value of the time synchronization mode of the to-be-tested power distribution terminal being only receiving the protocol time synchronization mode; when the shielding box is opened, the test master station generates a first protocol time synchronization result by issuing a first protocol time synchronization command to the to-be-tested power distribution terminal, making the on-off remote signaling state of the to-be-tested power distribution terminal be in the on state by controlling the state quantity generator to close the output port to perform first protocol time synchronization, changing the time synchronization mode of the to-be-tested power distribution terminal to full time synchronization mode, and making the on-off remote signaling state of the to-be-tested power distribution terminal be in the split state by controlling the state quantity generator to disconnect the output port to perform satellite time synchronization after the satellite time synchronization interval is met to generate a satellite time synchronization result; and after the satellite signal of the to-be-tested power distribution terminal is lost for more than the long delay time of time synchronization switching, the test master station issues a second protocol time synchronization command to the to-be-tested power distribution terminal, and makes the on-off remote signaling state of the to-be-tested power distribution terminal be in the on state by controlling the state quantity generator to close the output port to perform second protocol time synchronization to generate a second protocol time synchronization result, wherein the first protocol time synchronization result includes first protocol time synchronization normal and first protocol time synchronization abnormal, the satellite time synchronization result includes satellite time synchronization normal and satellite time synchronization abnormal, and the second protocol time synchronization result includes second protocol time synchronization normal and second protocol time synchronization abnormal; and the test master station generates a test result of the priority time synchronization function test according to the first protocol time synchronization result, the satellite time synchronization result, and the second protocol time synchronization result, wherein the test result includes priority satellite time synchronization and priority protocol time synchronization.

8. The system of claim 7, wherein, The system further comprises a switch and a network cable for realizing the communication connection among the test master station, the to-be-tested power distribution terminal, the clock server, and the state quantity signal generator.

9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the steps of the method of any one of claims 1-6.

10. An electronic device, comprising: Comprise: a processor; a memory for storing instructions executable by the processor; The processor is configured to read the executable instructions from the memory and execute the instructions to implement the steps of the method of any one of claims 1-6.