CN112511257A - Processing method of time service state - Google Patents

Processing method of time service state Download PDF

Info

Publication number
CN112511257A
CN112511257A CN202011331176.7A CN202011331176A CN112511257A CN 112511257 A CN112511257 A CN 112511257A CN 202011331176 A CN202011331176 A CN 202011331176A CN 112511257 A CN112511257 A CN 112511257A
Authority
CN
China
Prior art keywords
time
time service
power
service terminal
service state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011331176.7A
Other languages
Chinese (zh)
Inventor
何方勇
陈锦鹏
张焕彬
高峰
许祥滨
孙功宪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Techtotop Microelectronics Co Ltd
Original Assignee
Techtotop Microelectronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Techtotop Microelectronics Co Ltd filed Critical Techtotop Microelectronics Co Ltd
Priority to CN202011331176.7A priority Critical patent/CN112511257A/en
Publication of CN112511257A publication Critical patent/CN112511257A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Electric Clocks (AREA)

Abstract

The application is suitable for the technical field of time service, and provides a method for processing a time service state, which comprises the following steps: receiving first reference time output by a power time service terminal in a previous-level time service network which is in communication connection with the power time service terminal; acquiring second time of the power time service terminal; determining the time service state of the power time service terminal based on the first reference time and the second time; and the time service state is fed back to the power time service terminal in the upper-level time service network, so that the time synchronism among all the power time service terminals in the power time service system is enhanced, and the stability of the power time service system is improved.

Description

Processing method of time service state
Technical Field
The application belongs to the technical field of time service, and particularly relates to a time service state processing method.
Background
The Beidou satellite navigation system is an independent and independently researched satellite navigation system in China, and is widely applied to the fields of electric power, agriculture, water conservancy and the like at present. With the deep application of the Beidou satellite navigation system in the power system, the Beidou time service terminal with the time service function is also frequently used for time measurement of the power system.
In order to ensure the time synchronization of the whole power grid, the conventional power system usually adopts a step-by-step downward time service mode, that is, a power time service terminal in a previous-stage time service network is used as a time reference source of a power time service terminal in a next-stage time service network, and provides reference time for the power time service terminal in the next-stage time service network. Therefore, once the clock deviation occurs in the time reference source, the time of the power time service terminal in the next-stage time service network is greatly influenced; the time reference sources of different power time service terminals at the same level are different, so that the time between different power time service terminals at the same level is different; even if the time reference sources of different power time service terminals of the same level are the same, the time difference exists among the different power time service terminals due to different network delays.
Therefore, the time synchronism among all the electric power time service terminals in the existing electric power time service system is poor, and the stability of the electric power time service system is reduced.
Disclosure of Invention
In view of this, embodiments of the present application provide a method for processing a time service state, so as to solve the technical problems that time synchronization between each power time service terminal in the existing power time service system is poor, and stability of the power time service system is low.
The embodiment of the application provides a method for processing a time service state, which comprises the following steps:
receiving first reference time output by a power time service terminal in a previous-level time service network which is in communication connection with the power time service terminal;
acquiring second time of the power time service terminal;
determining the time service state of the power time service terminal based on the first reference time and the second time;
and feeding back the time service state to the electric power time service terminal in the upper-level time service network.
Optionally, the determining the time service state of the power time service terminal based on the first reference time and the second time includes:
and determining the time service state according to the difference value between the first reference time and the second time.
Optionally, the determining the time service state according to the difference between the first reference time and the second time includes:
and if the difference value between the first reference time and the second time is less than or equal to a preset difference value threshold, determining that the time service state is a normal state.
Optionally, the determining the time service state according to the difference between the first reference time and the second time includes:
and when the difference value between the first reference time and the second time is greater than a preset difference value threshold value, determining that the time service state is an abnormal state.
Optionally, the receiving the first reference time output by the power time service terminal in the previous-stage time service network communicatively connected to the power time service terminal includes:
receiving first reference time output by a power time service terminal in a previous-level time service network in communication connection with the power time service terminal based on a first preset time interval;
the acquiring of the second time of the power time service terminal comprises the following steps:
acquiring second time of the power time service terminal based on the first preset time interval;
correspondingly, before the time service state is determined according to the difference between the first reference time and the second time, the method for processing the time service state further includes:
calculating a first difference value between the first reference time and the second time acquired at the same moment;
and determining the average value of the first difference values corresponding to a plurality of different time moments as the difference value of the first reference time and the second time.
Optionally, before determining the time service state according to the difference between the first reference time and the second time, the method for processing the time service state further includes:
determining the variance of the first difference values corresponding to a plurality of different time instants as the difference value of the first reference time and the second time.
Optionally, the obtaining the second time of the power time service terminal includes:
acquiring third time of the power time service terminal from the Beidou satellite;
acquiring fourth time of the power time service terminal provided by the local clock unit;
determining the second time based on the third time and/or the fourth time.
Optionally, the feeding back the time service state to the power time service terminal in the previous-stage time service network includes:
and when receiving a time service state acquisition request sent by the electric power time service terminal in the upper-level time service network, feeding back the time service state to the electric power time service terminal in the upper-level time service network.
Optionally, the feeding back the time service state to the power time service terminal in the previous-stage time service network includes:
and actively feeding back the time service state to the electric power time service terminal in the upper-level time service network based on a second preset time interval.
Optionally, the feeding back the time service state to the power time service terminal in the previous-stage time service network includes:
and feeding back the time service state to the electric power time service terminal in the upper-level time service network based on a high-precision time synchronization protocol or a network time protocol.
The implementation of the processing method for the time service state provided by the embodiment of the application has the following beneficial effects:
according to the processing method of the time service state provided by the embodiment of the application, the electric power time service terminal can determine the time service state of the electric power time service terminal based on the first reference time output by the electric power time service terminal in the previous stage time service network and the second time of the electric power time service terminal, and can feed back the time service state of the electric power time service terminal to the electric power time service terminal in the previous stage time service network, so that the electric power time service terminal in the previous stage time service network can conveniently send the state fed back by the electric power time service terminal to the time service center of the previous stage time service network, the time service center of the previous stage time service network can conveniently monitor the time service state of the electric power time service terminal, and further, a person can be informed to carry out maintenance in time when the time service state of the electric power time service terminal is abnormal, and the time synchronism among the electric power time service terminals in the electric power time service system is enhanced, the stability of the electric power time service system is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic structural diagram of an electric power time service system according to a method for processing a time service state provided by an embodiment of the present application;
FIG. 2 is a schematic structural diagram of an electric power time service terminal according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a method for processing a time service status according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a processing method for a time service status according to another embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
It should also be appreciated that reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electric power timing system according to a method for processing a timing state according to an embodiment of the present application. As shown in FIG. 1, the electric power time service system comprises N levels of time service networks, each level of time service network comprises at least one electric power time service terminal, wherein N is an integer larger than 1.
By way of example and not limitation, fig. 1 illustrates 3-level time service networks, namely, an online time service network 1, a provincial time service network 2 and a city time service network 3. The online time service network 1 is a previous time service network of the provincial time service network 2, and the provincial time service network 2 is a previous time service network of the city time service network 3. The network level time service network 1 comprises at least one electric power time service terminal 11, the provincial level time service network 2 comprises at least one electric power time service terminal 21, and the city level time service network 3 comprises at least one electric power time service terminal 31.
Each power time service terminal in the next-stage time service network is in communication connection with one power time service terminal in the previous-stage time service network. Different power time service terminals in the same level of time service network can be in communication connection with different power time service terminals in the previous level of time service network, and can also be in communication connection with the same power time service terminal in the previous level of time service network, and the connection is not limited here.
The communication connection between the power Time service terminal in the next-stage Time service Network and the power Time service terminal in the previous-stage Time service Network may be established based on a Precision Time Protocol (PTP), a Network Time Protocol (NTP), or another type of power communication Protocol, which is not limited herein.
For example, the power time service terminal in the previous time service network may transmit the first reference time to the power time service terminal in the next time service network communicatively connected to the power time service terminal through PTP, NTP, or the like. The power time service terminal in the next-stage time service network can also feed back the time service state to the power time service terminal in the previous-stage time service network which is in communication connection with the power time service terminal through PTP or NTP and the like.
In the embodiment of the application, the power time service terminal in the next-stage time service network receives the first reference time output by the power time service terminal in the previous-stage time service network which is in communication connection with the power time service terminal, and the power time service terminal in the next-stage time service network feeds back the time service state of the power time service terminal to the power time service terminal in the previous-stage time service network which is in communication connection with the power time service terminal.
Specifically, please refer to fig. 2, and fig. 2 is a schematic structural diagram of an electric power time service terminal according to an embodiment of the present application. As shown in fig. 2, the power time service terminal 200 according to the embodiment of the present application includes:
the processing unit 201 is configured to receive a first reference time output by the power time service terminal in the previous-stage time service network communicatively connected to the power time service terminal 200, and obtain a second time of the power time service terminal 200.
And a time service state feedback unit 202 connected to the processing unit 201, wherein the time service state feedback unit 202 is used for receiving the first reference time and the second time output by the processing unit 201, determining the time service state of the power time service terminal 200, and feeding back the time service state of the power time service terminal 200 to the power time service terminal in the upper-level time service network.
By way of example and not limitation, assuming that the power service terminal 200 in this embodiment is the power service terminal 31 in the city service network 3 of FIG. 1, the processing unit 201 is configured to receive the first reference time output by the power service terminal 21 in the provincial service network 2 communicatively connected to the power service terminal 31. The time service state feedback means 202 is used for feeding back the time service state of the own power time service terminal 31 to the power time service terminal 21 in the provincial level time service network 2.
The first reference time may be obtained by the power time service terminal in the previous time service network from the power time service terminal in the previous time service network, and the first reference time output by the power time service terminal in the highest time service network may be obtained from an astronomical beacon, a satellite or the like. For example, the first reference time output by the power time service terminal 11 in the grid-level time service network 1 in fig. 1 may be obtained by the power time service terminal 11 from an astronomical instrument, a satellite, or the like; the first reference time output by the power time service terminal 21 in the provincial level time service network 2 may be acquired from the power time service terminal 11 in the grid level time service network 1.
The second time may be obtained by the processing unit 201 from a local clock or a satellite, etc.
The satellite can be a Beidou satellite or a satellite in other positioning systems, and is not limited here.
The time service state may be used to describe the accuracy of the second time acquired by the processing unit 201.
In this embodiment of the application, the time service state may include, but is not limited to, a normal state and an abnormal state, where the normal state is used to describe that the second time acquired by the processing unit 201 is accurate, that is, the second time is closer to the first reference time, which indicates that the electric power time service terminal 200 itself may acquire accurate time information, and the time service function of the electric power time service terminal 200 is normal; the abnormal state is used for describing that the second time acquired by the processing unit 201 is inaccurate, that is, the difference between the second time and the first reference time is large, which indicates that the power time service terminal 200 cannot acquire accurate time information by itself and the time service function of the power time service terminal 200 is abnormal.
In a specific application, the Processing Unit may be a Central Processing Unit (CPU) or other general-purpose processor, and is not limited herein.
In an embodiment of the present application, the time service state feedback unit 202 is specifically configured to: and determining the time service state of the power time service terminal 200 according to the difference value between the first reference time and the second time.
In this embodiment, the time service state feedback unit 202 may determine the time service state of the power time service terminal 200 according to a difference between the first reference time and the second time by performing a difference operation between the first reference time and the second time. The difference between the first reference time and the second time may be an absolute value of the difference between the first reference time and the second time.
In a specific implementation manner of this embodiment, the time service state feedback unit 202 is specifically configured to: when the difference value between the first reference time and the second time is smaller than or equal to the preset difference value threshold value, the time service state of the power time service terminal 200 is determined to be a normal state.
In another specific implementation manner of this embodiment, the time service state feedback unit 202 is specifically configured to: when the difference value between the first reference time and the second time is larger than the preset difference value threshold value, the time service state of the power time service terminal 200 is determined to be an abnormal state.
In this embodiment, when the difference between the first reference time and the second time is less than or equal to the preset difference threshold, it indicates that the second time is closer to the first reference time, that is, it indicates that the power time service terminal 200 can obtain more accurate time information, so that the time service state feedback unit 202 determines that the time service state of the power time service terminal 200 is a normal state; when the difference between the first reference time and the second time is greater than the preset difference threshold, it indicates that the difference between the second time and the first reference time is large, that is, it indicates that the power time service terminal 200 cannot obtain accurate time information, so the time service state feedback unit 202 determines that the time service state of the power time service terminal 200 is an abnormal state.
In an embodiment of the present application, when the time service state feedback unit 202 determines that the time service state of the power time service terminal 200 is an abnormal state, the local time calibration mechanism of the power time service terminal 200 may be started to calibrate the second time.
In an embodiment of the present application, the processing unit 201 may receive a first reference time output by a power time service terminal in a previous-stage time service network connected to the power time service terminal communication 200 based on a first preset time interval; and acquiring a second time of the power time service terminal 200 based on the first preset time interval. The first preset time interval may be set according to actual requirements, and is not limited herein. By way of example and not limitation, the processing unit 201 may receive the first reference time output by the power time service terminal in the higher-level time service network communicatively connected to the power time service terminal 200 and the second time for acquiring the power time service terminal 200 at a plurality of same times.
Based on this, in an implementation manner of this embodiment, the time service state feedback unit 202 may calculate a first difference between a first reference time and a second time acquired at the same time, and determine an average of first differences corresponding to a plurality of different times as a difference between the first reference time and the second time.
In another implementation manner of this embodiment, the time service state feedback unit 202 may further calculate a first difference between a first reference time and a second time acquired at the same time, and determine a variance of the first differences corresponding to a plurality of different times as the difference between the first reference time and the second time.
In an embodiment of the present application, the time service state feedback unit 202 may feed back the time service state of the present power time service terminal 200 to the power time service terminal in the previous time service network when receiving the time service state acquisition request transmitted by the power time service terminal in the previous time service network.
In another embodiment of the present application, the time service state feedback unit 202 may also actively feed back the time service state of the power time service terminal 200 to the power time service terminal in the previous-stage time service network based on a second preset time interval.
The second preset time interval may be set according to actual requirements, and is not limited herein.
Since the communication connection between the power time service terminal 200 and the power time service terminal in the previous-stage time service network may be established based on a high-precision time synchronization protocol PTP or may be established based on NTP, in an embodiment of the present application, as shown in fig. 2, the power time service terminal 200 may further include a PTP/NTP interface unit 203 and a Local Area Network (LAN) network interface unit 204.
The LAN network receiving unit 204 may receive a first reference time sent by the power time service terminal in the upper-stage time service network, and transmit the first reference time to the processing unit 201 through the PTP/NTP interface unit 203; the processing unit 201 may transmit the first reference time and the second time of the own power time service terminal 200 to the time service state feedback unit 202, and the time service state feedback unit 202 may feed back the time service state of the own power time service terminal 200 to the power time service terminal in the upper stage time service network through the LAN network receiving unit 204.
Referring to fig. 2, in another embodiment of the present application, the power time service terminal 200 further includes:
and the Beidou time service resolving unit 205 is connected with the Beidou antenna 206, and the Beidou time service resolving unit 205 is used for acquiring the third time of the power time service terminal from a Beidou satellite.
The local clock unit 207 is used for providing fourth time for the electric power time service terminal;
and the clock disciplining unit 208 is connected with the Beidou time service resolving unit 205 and the local clock unit 207, and the clock disciplining unit 208 is used for determining the second time of the power service terminal based on the third time and/or the fourth time and outputting the second time to the processing unit 201.
In this embodiment, the third time refers to the time acquired by the electric power time service terminal 200 from the beidou satellite; the fourth time is a time provided by the local clock of the power time service terminal 200. The local clock may be a crystal oscillator or a rubidium atomic clock source, and may be specifically set according to actual requirements, which is not limited here.
In a specific application, the clock disciplining unit 208 can use the third time as the second time of the power timing terminal 200; the fourth time may be the second time of the power service terminal 200; or the second time may also be calculated according to the third time and the fourth time, which is determined according to the actual situation, and is not limited here.
Wherein the clock disciplining unit 208 can be an existing clock disciplining unit.
It is understood that the power service terminal 200 may further include a power supply unit (not shown) for supplying power to the units of the power service terminal 200.
According to the electric power time service terminal provided by the embodiment of the application, the second time and/or the time service state of the electric power time service terminal are/is fed back to the electric power time service terminal in the upper-level time service network which is in communication connection with the electric power time service terminal, so that the electric power time service terminal in the upper-level time service network can conveniently send the second time and/or the time service state fed back by the electric power time service terminal to the time service center of the upper-level time service network, the time service center of the upper-level time service network can conveniently monitor the time service state of the electric power time service terminal, and then a maintainer can be timely informed of taking corresponding measures when the time service state of the electric power time service terminal is abnormal, the time synchronism among all the electric power time service terminals in the electric power time service system is enhanced, and the stability of the electric power time service system is improved.
Based on the power time service terminal provided by the embodiment, the embodiment of the application further provides an embodiment of a time service state processing method applied to the power time service terminal.
Referring to fig. 3, fig. 3 is a schematic flowchart of a processing method for a time service status according to an embodiment of the present application. The main body of the method for processing the time service state may be the power time service terminal in fig. 2, and the power time service terminal may be the power time service terminal in any one of the level time service networks in fig. 1.
As shown in fig. 3, the processing method of the time service state may include S31 to S34, which are detailed as follows:
s31: and receiving a first reference time output by the power time service terminal in the upper-level time service network which is in communication connection with the power time service terminal.
S32: and acquiring a second time of the power time service terminal.
S33: and determining the time service state of the power time service terminal based on the first reference time and the second time.
S34: and feeding back the time service state to the electric power time service terminal in the upper-level time service network.
In an embodiment of the present application, S33 may specifically include the following steps:
and determining the time service state according to the difference value between the first reference time and the second time.
In a specific embodiment of the present application, S33 may further include the steps of:
and if the difference value between the first reference time and the second time is less than or equal to a preset difference value threshold, determining that the time service state is a normal state.
In another specific embodiment of the present application, S33 may further include the steps of:
and when the difference value between the first reference time and the second time is greater than a preset difference value threshold value, determining that the time service state is an abnormal state.
In an embodiment of the present application, S31 may specifically include the following steps:
and receiving a first reference time output by the power time service terminal in the upper-level time service network which is in communication connection with the power time service terminal based on a first preset time interval.
S32 may specifically include the following steps:
and acquiring second time of the power time service terminal based on the first preset time interval.
Correspondingly, as shown in fig. 4, before S33, the processing method of the time service state may further include S41 to S42, which are detailed as follows:
s41: and calculating a first difference value between the first reference time and the second time acquired at the same moment.
S42: and determining the mean value or the variance of the first difference values corresponding to a plurality of different moments as the difference value of the first reference time and the second time.
In an embodiment of the present application, S32 may specifically include the following steps:
acquiring third time of the power time service terminal from the Beidou satellite;
acquiring fourth time of the power time service terminal provided by the local clock unit;
determining the second time based on the third time and/or the fourth time.
In an embodiment of the present application, S34 may specifically include the following steps:
and when receiving a time service state acquisition request sent by the electric power time service terminal in the upper-level time service network, feeding back the time service state to the electric power time service terminal in the upper-level time service network.
In another embodiment of the present application, S34 may specifically include the following steps:
and actively feeding back the time service state to the electric power time service terminal in the upper-level time service network based on a second preset time interval.
In another embodiment of the present application, S34 may specifically include the following steps:
and feeding back the time service state to the electric power time service terminal in the upper-level time service network based on a high-precision time synchronization protocol or a network time protocol.
It should be noted that S31 and S32 in this embodiment may be executed by the processing unit 201 in the embodiment corresponding to fig. 2, and S33, S34, S41, and S42 in this embodiment may be executed by the time service state feedback unit 202 in the embodiment corresponding to fig. 2, so that specific implementation processes of S31 to S34 may refer to the description related to the embodiment corresponding to fig. 2, and are not described herein again.
As can be seen from the above, the method for processing the time service state provided by the embodiment of the present application, because the power time service terminal can determine the time service state of the power time service terminal based on the first reference time output by the power time service terminal in the previous stage time service network and the second time of the power time service terminal, and can feed back the time service state of the power time service terminal to the power time service terminal in the previous stage time service network, the power time service terminal in the previous stage time service network can conveniently send the state fed back by the power time service terminal to the time service center of the previous stage time service network, and the time service center of the previous stage time service network can conveniently monitor the time service state of the power time service terminal, and further can timely inform the maintenance personnel of maintenance when the time service state of the power time service terminal is abnormal, thereby enhancing the time synchronism among the power time service terminals in the power time service system, the stability of the electric power time service system is improved.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is merely used as an example, and in practical applications, the foregoing function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the relay link node device is divided into different functional units or modules to perform all or part of the above-described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the description of each embodiment has its own emphasis, and parts that are not described or illustrated in a certain embodiment may refer to the description of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for processing a time service state is characterized by comprising the following steps:
receiving first reference time output by a power time service terminal in a previous-level time service network which is in communication connection with the power time service terminal;
acquiring second time of the power time service terminal;
determining the time service state of the power time service terminal based on the first reference time and the second time;
and feeding back the time service state to the electric power time service terminal in the upper-level time service network.
2. The method for processing the time service state according to claim 1, wherein the determining the time service state of the own power time service terminal based on the first reference time and the second time includes:
and determining the time service state according to the difference value between the first reference time and the second time.
3. The method for processing the time service state according to claim 2, wherein the determining the time service state according to the difference value between the first reference time and the second time comprises:
and if the difference value between the first reference time and the second time is less than or equal to a preset difference value threshold, determining that the time service state is a normal state.
4. The method for processing the time service state according to claim 2, wherein the determining the time service state according to the difference value between the first reference time and the second time comprises:
and when the difference value between the first reference time and the second time is greater than a preset difference value threshold value, determining that the time service state is an abnormal state.
5. The method for processing the time service state according to claim 2, wherein the receiving the first reference time outputted from the power time service terminal in the previous time service network communicatively connected to the power time service terminal includes:
receiving first reference time output by a power time service terminal in a previous-level time service network in communication connection with the power time service terminal based on a first preset time interval;
the acquiring of the second time of the power time service terminal comprises the following steps:
acquiring second time of the power time service terminal based on the first preset time interval;
correspondingly, before the time service state is determined according to the difference between the first reference time and the second time, the method for processing the time service state further includes:
calculating a first difference value between the first reference time and the second time acquired at the same moment;
and determining the average value of the first difference values corresponding to a plurality of different time moments as the difference value of the first reference time and the second time.
6. The method for processing the time service state according to claim 5, wherein before the time service state is determined according to the difference between the first reference time and the second time, the method for processing the time service state further comprises:
determining the variance of the first difference values corresponding to a plurality of different time instants as the difference value of the first reference time and the second time.
7. The method for processing the time service state according to any one of claims 1 to 6, wherein the acquiring the second time of the self power service terminal comprises:
acquiring third time of the power time service terminal from the Beidou satellite;
acquiring fourth time of the power time service terminal provided by the local clock unit;
determining the second time based on the third time and/or the fourth time.
8. The method for processing the time service state according to any one of claims 1 to 6, wherein the feeding back the time service state to the power time service terminal in the upper-stage time service network includes:
and when receiving a time service state acquisition request sent by the electric power time service terminal in the upper-level time service network, feeding back the time service state to the electric power time service terminal in the upper-level time service network.
9. The method for processing the time service state according to any one of claims 1 to 6, wherein the feeding back the time service state to the power time service terminal in the upper-stage time service network includes:
and actively feeding back the time service state to the electric power time service terminal in the upper-level time service network based on a second preset time interval.
10. The method for processing the time service state according to any one of claims 1 to 6, wherein the feeding back the time service state to the power time service terminal in the upper-stage time service network includes:
and feeding back the time service state to the electric power time service terminal in the upper-level time service network based on a high-precision time synchronization protocol or a network time protocol.
CN202011331176.7A 2020-11-24 2020-11-24 Processing method of time service state Pending CN112511257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011331176.7A CN112511257A (en) 2020-11-24 2020-11-24 Processing method of time service state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011331176.7A CN112511257A (en) 2020-11-24 2020-11-24 Processing method of time service state

Publications (1)

Publication Number Publication Date
CN112511257A true CN112511257A (en) 2021-03-16

Family

ID=74958342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011331176.7A Pending CN112511257A (en) 2020-11-24 2020-11-24 Processing method of time service state

Country Status (1)

Country Link
CN (1) CN112511257A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116527191A (en) * 2023-05-31 2023-08-01 烟台东方瑞创达电子科技有限公司 Equipment management method and system of optical fiber time service system
CN116545570A (en) * 2023-05-31 2023-08-04 烟台东方瑞创达电子科技有限公司 Data monitoring method and system of optical fiber time service system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027193A (en) * 2016-07-07 2016-10-12 广州市国飞信息科技有限公司 Clock synchronization method, module, equipment and system for network timing system
CN109088692A (en) * 2018-08-31 2018-12-25 中国南方电网有限责任公司 A kind of electricity substation temporal quality detection system
US10340980B1 (en) * 2018-05-07 2019-07-02 Landis+Gyr Technologies, Llc Time synchronization apparatuses and methods for power-distribution systems and the like
CN111884751A (en) * 2020-07-30 2020-11-03 国家电网有限公司大数据中心 Smart grid time synchronization method and device based on PTP

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027193A (en) * 2016-07-07 2016-10-12 广州市国飞信息科技有限公司 Clock synchronization method, module, equipment and system for network timing system
US10340980B1 (en) * 2018-05-07 2019-07-02 Landis+Gyr Technologies, Llc Time synchronization apparatuses and methods for power-distribution systems and the like
CN109088692A (en) * 2018-08-31 2018-12-25 中国南方电网有限责任公司 A kind of electricity substation temporal quality detection system
CN111884751A (en) * 2020-07-30 2020-11-03 国家电网有限公司大数据中心 Smart grid time synchronization method and device based on PTP

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116527191A (en) * 2023-05-31 2023-08-01 烟台东方瑞创达电子科技有限公司 Equipment management method and system of optical fiber time service system
CN116545570A (en) * 2023-05-31 2023-08-04 烟台东方瑞创达电子科技有限公司 Data monitoring method and system of optical fiber time service system
CN116545570B (en) * 2023-05-31 2024-03-29 烟台东方瑞创达电子科技有限公司 Data monitoring method and system of optical fiber time service system
CN116527191B (en) * 2023-05-31 2024-04-23 烟台东方瑞创达电子科技有限公司 Equipment management method and system of optical fiber time service system

Similar Documents

Publication Publication Date Title
CN112511257A (en) Processing method of time service state
US10958367B2 (en) Network apparatus and clock synchronization method
US20120179404A1 (en) System and apparatus for measuring the accuracy of a backup time source
EP3622638B1 (en) Methods and devices for synchronization in communication networks
CN101848051B (en) Method and device for performing clock synchronization between equipment
CN202940822U (en) Marine local area network time unification system
US8392730B2 (en) Current sharing method of DC power supply and device thereof
JP2012204571A (en) Power generation system monitoring apparatus and computer program
CN111092688B (en) Time calibration method and device and terminal equipment
CN108206721B (en) Automatic meter reading system and time correction method thereof
US20100293243A1 (en) method and apparatus for measuring directionally differentiated (one-way) network latency
CN105338613A (en) System and method for time setting synchronization of scattered nodes by use of wireless communication
CN213693724U (en) Electric power time service terminal and system
CN106095721A (en) A kind of method for synchronizing time, system and board units
CN109188335B (en) System and method for detecting clock deviation of electric energy meter
CN109239742B (en) Automatic calibration method for Beidou satellite navigation signals
CN108601080B (en) Time synchronization signal transmission method and device based on wireless communication
CN112511258B (en) Time service time processing method
CN114553352A (en) Electric power time service terminal and system
US10069584B2 (en) Frequency calibration apparatus and method
CN110098885B (en) Clock synchronization circuit, device and method
CN212207988U (en) Time code precision measuring device
CN109743776A (en) A kind of base station networking method for synchronizing time based on GNSS
CN110971330B (en) Time service server system and leap second automatic adjustment method
CN221058304U (en) Clock calibration circuit and automatic driving equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210316