CN115396058B - Signal transmission method, device and storage medium - Google Patents
Signal transmission method, device and storage medium Download PDFInfo
- Publication number
- CN115396058B CN115396058B CN202210977114.6A CN202210977114A CN115396058B CN 115396058 B CN115396058 B CN 115396058B CN 202210977114 A CN202210977114 A CN 202210977114A CN 115396058 B CN115396058 B CN 115396058B
- Authority
- CN
- China
- Prior art keywords
- ptp
- time server
- time
- parameter
- parameters
- 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.)
- Active
Links
- 230000008054 signal transmission Effects 0.000 title claims abstract description 82
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000012545 processing Methods 0.000 claims description 14
- 230000011664 signaling Effects 0.000 claims description 5
- 238000004891 communication Methods 0.000 abstract description 20
- 230000006870 function Effects 0.000 description 19
- 230000002776 aggregation Effects 0.000 description 12
- 238000004220 aggregation Methods 0.000 description 12
- 235000008694 Humulus lupulus Nutrition 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- ODCKICSDIPVTRM-UHFFFAOYSA-N [4-[2-hydroxy-3-(propan-2-ylazaniumyl)propoxy]naphthalen-1-yl] sulfate Chemical compound C1=CC=C2C(OCC(O)CNC(C)C)=CC=C(OS(O)(=O)=O)C2=C1 ODCKICSDIPVTRM-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000005433 ionosphere Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000006386 memory function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000010076 replication Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 239000005436 troposphere Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
- H04J3/0667—Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The application provides a signal transmission method, a signal transmission device and a storage medium, relates to the technical field of communication, and is used for solving the technical problem that the existing signal transmission method cannot meet the high-precision time synchronization requirement. The signal transmission method comprises the following steps: acquiring reference PTP state parameters of a second time server; the reference PTP state parameters include: performance parameters of the second time server and configuration parameters of the second time server; when the performance parameters of the first time server and the second time server meet the preset parameter conditions and the first time server and the second time server meet the time synchronization conditions, updating the configuration parameters and the performance parameters of the first time server into the configuration parameters and the performance parameters of the second time server, and adding the updated configuration parameters and the performance parameters into the target PTP state parameters of the first time server to obtain a first target PTP signal; the first target PTP signal is sent to a network device.
Description
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a signal transmission method, a signal transmission device, and a storage medium.
Background
With the rapid development of the fifth generation mobile communication technology (5th Generation Mobile Communication Technology,5G) network, the three application scenarios of the 5G network are more strict time synchronization requirements for enhancing mobile broadband, mass machine type communication and ultra-high reliability and low time delay.
To address the need for higher precision time synchronization, common techniques employ a down-set miniaturized time server deployment strategy deployed in a network access ring location with fewer hops from the base station. The time server may output a precision time protocol (Precision Time Protocol, PTP) signal to the network device in the network access ring for use by the network device.
Since the network access rings are ring-like links, the access devices on each network access ring can receive PTP signals from both directions. However, when a link between any two network devices in the network access ring is broken, the access devices on each network access ring will only receive PTP signals in one direction. In this case, the number of hops of the PTP signal received by the network device farther from the time server is also larger, so that the time delay of the PTP signal received by the network device is longer, and the time synchronization requirement of high precision cannot be satisfied.
Disclosure of Invention
The application provides a signal transmission method, a signal transmission device and a storage medium, which are used for solving the technical problem that the existing signal transmission method cannot meet the high-precision time synchronization requirement.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, a signal transmission method is improved, applied to a first time server, including:
acquiring a reference accurate time protocol PTP state parameter of a second time server; the reference PTP state parameters include: performance parameters of the second time server and configuration parameters of the second time server; the performance parameter is used for representing the performance of the time server for determining the time precision; the configuration parameters are used for indicating the network equipment to determine PTP signals according to the configuration parameters; the time server includes: a first time server, and/or a second time server;
when the performance parameters of the first time server and the second time server meet the preset parameter conditions and the first time server and the second time server meet the time synchronization conditions, updating the configuration parameters and the performance parameters of the first time server into the configuration parameters and the performance parameters of the second time server, and adding the updated configuration parameters and the performance parameters into the target PTP state parameters of the first time server to obtain a first target PTP signal;
The first target PTP signal is sent to a network device.
Optionally, the PTP state parameter is a state parameter of an accurate time protocol progenitor clock PTP GM of the time server;
the performance parameters include: clock level parameters of the PTP GM, clock precision parameters of the PTP GM and clock stability parameters of the PTP GM;
the configuration parameters include: priority parameters of PTP GM and identification of PTP GM.
Optionally, the preset parameter conditions include:
the clock level parameter of the PTP GM of the second time server is superior to or equal to the clock level parameter of the PTP GM of the first time server, the clock precision parameter of the PTP GM of the second time server is superior to or equal to the clock precision parameter of the PTP GM of the first time server, and the clock stability parameter of the PTP GM of the second time server is superior to or equal to the clock stability parameter of the PTP GM of the first time server;
the time synchronization conditions include:
the first time server and the second time server perform time synchronization based on a satellite common view method.
Optionally, acquiring the reference precision time protocol PTP state parameter of the second time server includes:
taking reference PTP state parameters based on satellite co-view method.
Optionally, the signal transmission method further includes:
When the performance parameters of the first time server and the second time server do not meet the preset parameter conditions and/or the first time server and the second time server do not meet the time synchronization conditions, determining a second target PTP signal according to the initial PTP state parameters of the first time server;
and sending a second target PTP signal to the network equipment.
In a second aspect, a signal transmission device is provided, and is applied to a first time server, and includes: the device comprises an acquisition unit, a processing unit and a sending unit;
the acquisition unit is used for acquiring the PTP state parameters of the reference accurate time protocol of the second time server; the reference PTP state parameters include: performance parameters of the second time server and configuration parameters of the second time server; the performance parameter is used for representing the performance of the time server for determining the time precision; the configuration parameters are used for indicating the network equipment to determine PTP signals according to the configuration parameters; the time server includes: a first time server, and/or a second time server;
the processing unit is used for updating the configuration parameters and the performance parameters of the first time server into the configuration parameters and the performance parameters of the second time server when the performance parameters of the first time server and the performance parameters of the second time server meet the preset parameter conditions and the first time server and the second time server meet the time synchronization conditions, and adding the updated configuration parameters and the updated performance parameters into the target PTP state parameters of the first time server to obtain a first target PTP signal;
And the sending unit is used for sending the first target PTP signal to the network equipment.
Optionally, the PTP state parameter is a state parameter of an accurate time protocol progenitor clock PTP GM of the time server;
the performance parameters include: clock level parameters of the PTP GM, clock precision parameters of the PTP GM and clock stability parameters of the PTP GM;
the configuration parameters include: priority parameters of PTP GM and identification of PTP GM.
Optionally, the preset parameter conditions include:
the clock level parameter of the PTP GM of the second time server is superior to or equal to the clock level parameter of the PTP GM of the first time server, the clock precision parameter of the PTP GM of the second time server is superior to or equal to the clock precision parameter of the PTP GM of the first time server, and the clock stability parameter of the PTP GM of the second time server is superior to or equal to the clock stability parameter of the PTP GM of the first time server;
the time synchronization conditions include:
the first time server and the second time server perform time synchronization based on a satellite common view method.
Optionally, the acquiring unit is specifically configured to:
taking reference PTP state parameters based on satellite co-view method.
Optionally, the processing unit is further configured to determine the second target PTP signal according to an initial PTP state parameter of the first time server when the performance parameter of the first time server and the performance parameter of the second time server do not meet a preset parameter condition, and/or the first time server and the second time server do not meet a time synchronization condition;
And the sending unit is also used for sending the second target PTP signal to the network equipment.
In a third aspect, a signal transmission apparatus is provided, comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; when the signal transmission device is operated, the processor executes the computer-executable instructions stored in the memory, so that the signal transmission device performs the signal transmission method according to the first aspect.
The signal transmission device may be a network device or may be a part of a device in a network device, for example a chip system in a network device. The system-on-a-chip is configured to support the network device to implement the functions involved in the first aspect and any one of its possible implementations, e.g. to obtain, determine, send data and/or information involved in the signal transmission method described above. The chip system includes a chip, and may also include other discrete devices or circuit structures.
In a fourth aspect, there is provided a computer readable storage medium comprising computer executable instructions which, when run on a computer, cause the computer to perform the signal transmission method of the first aspect.
In a fifth aspect, there is also provided a computer program product comprising computer instructions which, when run on signal transmission means, cause the signal transmission means to perform the signal transmission method as described in the first aspect above.
It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer readable storage medium may be packaged together with the processor of the signal transmission device or may be packaged separately from the processor of the signal transmission device, which is not limited in the embodiment of the present application.
The description of the second, third, fourth and fifth aspects of the present application may refer to the detailed description of the first aspect.
In the embodiment of the present application, the names of the above signal transmission devices do not limit the devices or functional modules, and in actual implementation, these devices or functional modules may appear under other names. For example, the receiving unit may also be referred to as a receiving module, a receiver, etc. Insofar as the function of each device or function module is similar to the present application, it is within the scope of the claims of the present application and the equivalents thereof.
The technical scheme provided by the application at least brings the following beneficial effects:
based on any one of the above aspects, an embodiment of the present application provides a signal transmission method, which is applied to a first time server, and the signal transmission method includes: after acquiring the reference accurate time protocol PTP state parameter of the second time server (including the performance parameter of the second time server and the configuration parameter of the second time server), the first time server may determine whether the performance parameter of the first time server and the performance parameter of the second time server satisfy the preset parameter condition, and whether the first time server and the second time server satisfy the time synchronization condition.
When the performance parameters of the first time server and the second time server meet the preset parameter conditions, and the first time server and the second time server meet the time synchronization conditions, the first time server can update the configuration parameters and the performance parameters of the first time server to the configuration parameters and the performance parameters of the second time server, and the updated configuration parameters and the performance parameters are added to the target PTP state parameters of the first time server to obtain a first target PTP signal. Subsequently, the first time server may send a first target PTP signal to the network device.
Since the performance parameter in the PTP status parameter is used to represent the performance of the time server to determine the time precision, the configuration parameter is used to instruct the network device to determine the PTP signal according to the configuration parameter, and the time server includes: the first time server and/or the second time server, so that the PTP signal of the first time server can be reasonably utilized to update the configuration parameters and the performance parameters in the PTP signal of the first time server to the configuration parameters and the performance parameters of the second time server.
In this way, the configuration parameters and the performance parameters in the PTP signal of the first time server are the same as those in the PTP signal of the second time server, and in the case where the first time server and the second time server satisfy the time synchronization condition, the network device may select, as an appropriate PTP signal, a PTP signal having a smaller hop count from the PTP signal of the first time server and the PTP signal updated by the second time server. Therefore, the network equipment can not only ensure that the Alternate BMCA algorithm is used for determining the PTP signal, but also select the PTP signal with smaller hop count as the proper PTP signal, thereby improving the network time service precision of the network equipment and meeting the time synchronization requirement of the network equipment.
The advantages of the first, second, third, fourth and fifth aspects of the present application may be referred to for analysis of the above-mentioned advantages, and are not described here again.
Drawings
Fig. 1 is a schematic structural diagram of a signal transmission system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a first signal transmission system provided in the general technology;
FIG. 3 is a schematic diagram of a second signal transmission system according to the general technique;
fig. 4 is a schematic diagram of a first hardware structure of a signal transmission device according to an embodiment of the present application;
fig. 5 is a schematic diagram of a second hardware structure of the signal transmission device according to the embodiment of the present application;
fig. 6 is a flowchart of a first signal transmission method according to an embodiment of the present application;
fig. 7 is a flowchart of a second signal transmission method according to an embodiment of the present application;
fig. 8 is a flowchart of a third signal transmission method according to an embodiment of the present application;
fig. 9 is a flowchart of a fourth signal transmission method according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a signal transmission device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first", "second", and the like are used to distinguish the same item or similar items having substantially the same function and effect, and those skilled in the art will understand that the terms "first", "second", and the like are not limited in number and execution order.
The following describes in detail the signal transmission method provided in the embodiment of the present application with reference to the accompanying drawings.
As described in the background art, with the rapid development of the 5G network, the three application scenarios of the 5G network "enhance mobile broadband, mass machine communication, and ultra-high reliability and low delay" put forward a more strict time synchronization requirement.
Specifically, the 5G high-precision time synchronization requirement is mainly embodied in three aspects of basic service time synchronization requirement, collaborative service time synchronization requirement and vertical industry application service time synchronization requirement.
The basic service time synchronization requirement is a common requirement of all time division duplex (Time Division Duplexing, TDD) wireless systems, and is mainly used for avoiding uplink and downlink time slot interference. When the 5G base station bears basic service, the index requirement of the space to the time synchronization precision is +/-1.5 us.
The cooperative service time synchronization requirement refers to a cooperative technology such as multipoint cooperation (Coordinated Multiple Points, coMP) and in-band carrier aggregation (Carrier Aggregation, CA) which are widely used by the 5G system, and the index requirement of time synchronization precision is +/-130 ns.
The requirement for the service time synchronization of the vertical industry application refers to the fact that along with the scale construction of the 5G network, unmanned logistics, intelligent robots and other vertical industry application layers based on the 5G are endless, and the application also provides higher index requirements for the ultra-high precision time synchronization of the 5G network. The index requirement of the time synchronization precision of the high-precision centimeter-level positioning service is even +/-10 ns.
To address the need for higher precision time synchronization, common techniques employ a down-set miniaturized time server deployment strategy deployed in a network access ring location with fewer hops from the base station. The time server can output PTP signals to network devices in the network access ring for use by the network devices, so that the network devices can meet higher precision service requirements.
Since the network access rings are ring-like links, the access devices on each network access ring can receive PTP signals from both directions. However, when a link between any two network devices in the network access ring is broken, the access devices on each network access ring will only receive PTP signals in one direction. In this case, the number of hops of the PTP signal received by the network device farther from the time server is also larger, so that the time delay of the PTP signal received by the network device is longer, and the time synchronization requirement of high precision cannot be satisfied.
The preset network access ring is a network access ring of a PTP high-precision time synchronization network. The deployment location of the down-time mini-server in the network access ring is shown in fig. 1.
Wherein, the network access ring comprises: a plurality of aggregation devices, a plurality of access devices, and a plurality of base stations (fig. 1 illustrates 2 aggregation devices, 5 access devices, and 5 base stations as an example). One convergence device is connected with a main miniaturized time server, and the other convergence device is connected with a standby miniaturized time server.
In practical applications, one access device may be connected to one base station, or may be connected to multiple base stations, which is not limited in this embodiment of the present application.
For the PTP high precision time synchronization network of an operator, the network element (the plurality of aggregation devices and the plurality of access devices) generally adopts an optimal master clock source selection algorithm (alternative BMCA) of international telecommunication union telecommunication standardization sector (ITU-T for ITU Telecommunication Standardization Sector, ITU-T) g.8275.1.
In the algorithm of the alternative BMCA, the process of selecting the PTP signal by the network element specifically comprises the following steps:
after receiving the main PTP signal sent by the main miniaturized time server and the standby PTP signal sent by the standby miniaturized time server, the network element determines the Clock level (Clock Class) of the main PTP signal and the Clock Class of the standby PTP signal, and selects the PTP signal corresponding to the Clock Class with smaller Clock Class as the target PTP signal.
The smaller the Clock Class is, the better the performance of the miniaturized time server corresponding to the PTP signal is.
When the Clock Class of the main PTP signal is the same as the Clock Class of the standby PTP signal, the network element determines the Clock precision (Clock Accuracy) of the main PTP signal and the Clock Accuracy of the standby PTP signal, and selects the PTP signal corresponding to the Clock Accuracy with smaller Clock Accuracy as the target PTP signal.
The smaller Clock Accuracy is, the higher the Accuracy of the miniaturized time server corresponding to the PTP signal is.
When the Clock Accuracy of the main PTP signal is the same as the Clock Accuracy of the standby PTP signal, the network element determines the Clock stability (Offset Scaled Log Variance) of the main PTP signal and Offset Scaled Log Variance of the standby PTP signal, and selects the PTP signal corresponding to Offset Scaled Log Variance with smaller Offset Scaled Log Variance as the target PTP signal.
The smaller Offset Scaled Log Variance is, the better the stability of the miniaturized time server corresponding to the PTP signal is.
When Offset Scaled Log Variance of the primary PTP signal is identical to Offset Scaled Log Variance of the standby PTP signal, the network element determines the Clock Priority2 (Clock Priority 2) of the primary PTP signal and the Clock Priority2 of the standby PTP signal, and selects the PTP signal corresponding to the Clock Priority2 with the smaller Clock Priority2 as the target PTP signal.
The smaller the Priority2 value range is from 0 to 255,Clock Priority2, the higher the Priority of the miniaturized time server corresponding to the PTP signal is.
When the Clock Priority2 of the main PTP signal is the same as the Clock Priority2 of the standby PTP signal, the network element determines the hop count (step Removed) of the main PTP signal and the step Removed of the standby PTP signal, and selects the PTP signal corresponding to the step Removed with smaller step Removed as the target PTP signal.
The smaller the steps Removed, the more accurate the PTP signal.
When the steps Removed of the primary PTP signal and the steps Removed of the backup PTP signal are the same, the network element determines the port number of the network device transmitting the primary PTP signal and the port number of the network device transmitting the backup PTP signal, and selects the PTP signal corresponding to the network device having the smaller transmitting port number as the target PTP signal.
The smaller the port number, the higher the priority of the network device transmitting the PTP signal.
The specific process of the above-mentioned alternative BMCA algorithm may refer to a specific process in the general ITU-T g.8275.1 protocol, and will not be described herein.
As described above, when the Clock Class, clock access, and Offset Scaled Log Variance are the same, the primary and backup mini time servers generally need to be separated from each other by priority 2. When the Clock Priority2 of the primary PTP signal is smaller than the Clock Priority2 of the backup PTP signal, the network element typically selects the primary PTP signal as the target PTP signal.
Illustratively, in connection with fig. 1, as shown in fig. 2, the master mini time server may send a master PTP signal to sink device a. The standby mini time server may send a standby PTP signal to sink device B.
Wherein, the primary PTP signal includes: clock priority 2=128; hop count = 0; the identification (Identity document, ID) is the ID of the primary miniaturized time server. The standby PTP signals include: clock priority 2=129; hop count = 0; the identity (Identity document, ID) is the ID of the standby mini time server. After receiving the master PTP signal, the convergence device a in the network access ring of the PTP high precision time synchronization network may send the master PTP signal to the access device G and the convergence device B, respectively.
After receiving the standby PTP signal sent by the standby miniaturized time server and the primary PTP signal sent by the convergence device a, the convergence device B may determine the source selection for the primary PTP signal and the standby PTP signal based on the alternative BMCA algorithm.
Specifically, when the Clock Class, clock Accuracy, and Offset Scaled Log Variance of the master PTP signal and the slave PTP signal are the same, the Clock Priority2 of the master miniaturized time server is smaller than the Clock Priority2 of the slave PTP signal, and therefore the PTP signal Priority of the master miniaturized time server is high. In this case, the sink device B may select the master PTP signal and transmit the master PTP signal to the access device C.
Accordingly, access device C may send a master PTP signal to access device D.
After receiving the master PTP signal sent by the aggregation device a, the access device G may send the master PTP signal to the access device F, and the access device F may send the master PTP signal to the access device E.
Referring to fig. 2, if the link between the sink device a and the sink device B is broken and the primary and backup mini time servers are identical in Clock Class, clock access, and Offset Scaled Log Variance, the primary mini time server has a higher PTP signal Priority than the Clock Priority2 of the backup PTP signal, as shown in fig. 3.
In this case, the sink device B in the network access ring of the PTP high precision time synchronization network still determines the master PTP signal of the transmission of the master miniaturized time server as the target PTP signal. The network elements at the tail ends of the links of the convergence device B, the access device C and the like are far away from the main miniaturized time server, the time delay of the received PTP signals is long, and the high-precision time synchronization requirement cannot be met.
After receiving the standby PTP signal sent by the standby miniaturized time server, if the sink device B does not receive the primary PTP signal sent by the access device C within a certain time, the sink device B may send the standby PTP signal to the access device C.
If the convergence device B receives the primary PTP signal sent by the access device C within a certain time, the convergence device B determines a source selection for the primary PTP signal and the backup PTP signal based on an Alternate BMCA algorithm.
After receiving the standby PTP signal sent by the sink device B, the access device C may send the standby PTP signal to the access device D if the primary PTP signal sent by the access device D is not received within a certain time.
If the access device C receives the master PTP signal sent by the access device D within a certain time, the access device C determines a source selection for the master PTP signal and the backup PTP signal based on the algorithm of the alternative BMCA, and sends the master PTP signal to the aggregation device B after determining the master PTP signal.
Based on the same method, the access device D, the access device E, the access device F, and the access device G may refer to the above execution process, which is not described herein.
The closer the interval hops from the time server, the higher the time accuracy. Each time a network element passes, a certain loss effect may be caused on time accuracy. The time server is submerged and deployed, namely, the time server is separated from the network element by a smaller hop number, so as to meet the requirement of high-precision synchronous service.
Assuming that the threshold range of the number of hops satisfying the high accuracy is 5, the convergence device B cannot satisfy the requirement of the high accuracy after 7 hops from the PTP steps Removed of the main miniaturized time server.
Even if a standby miniaturized time server is arranged in the network, and the standby miniaturized time server is only 1 hop away from the convergence device B, the convergence device B cannot select a standby PTP signal sent by the standby miniaturized time server as a target PTP signal due to the setting of the clock priority2 of the standby miniaturized time server and the principle of an Alternate BMCA algorithm, and a certain loss is brought to the network time service precision.
In order to solve the problem of reduced time synchronization accuracy of a part of network elements in an access ring link interruption scene, the embodiment of the application provides a signal transmission method, which is applied to a first time server and comprises the following steps: after acquiring the reference accurate time protocol PTP state parameter of the second time server (including the performance parameter of the second time server and the configuration parameter of the second time server), the first time server may determine whether the performance parameter of the first time server and the performance parameter of the second time server satisfy the preset parameter condition, and whether the first time server and the second time server satisfy the time synchronization condition.
When the performance parameters of the first time server and the second time server meet the preset parameter conditions, and the first time server and the second time server meet the time synchronization conditions, the first time server can update the configuration parameters and the performance parameters of the first time server to the configuration parameters and the performance parameters of the second time server, and the updated configuration parameters and the performance parameters are added to the target PTP state parameters of the first time server to obtain a first target PTP signal. Subsequently, the first time server may send a first target PTP signal to the network device.
Since the performance parameter in the PTP status parameter is used to represent the performance of the time server to determine the time precision, the configuration parameter is used to instruct the network device to determine the PTP signal according to the configuration parameter, and the time server includes: the first time server and/or the second time server, so that the PTP signal of the first time server can be reasonably utilized to update the configuration parameters and the performance parameters in the PTP signal of the first time server to the configuration parameters and the performance parameters of the second time server.
In this way, the configuration parameters and the performance parameters in the PTP signal of the first time server are the same as those in the PTP signal of the second time server, and in the case where the first time server and the second time server satisfy the time synchronization condition, the network device may select, as an appropriate PTP signal, a PTP signal having a smaller hop count from the PTP signal of the first time server and the PTP signal updated by the second time server. Therefore, the network equipment can not only ensure that the Alternate BMCA algorithm is used for determining the PTP signal, but also select the PTP signal with smaller hop count as the proper PTP signal, thereby improving the network time service precision of the network equipment and meeting the time synchronization requirement of the network equipment.
The signal transmission method is suitable for a signal transmission system. Fig. 1 shows a structure of the signal transmission system. As shown in fig. 1, the signal transmission system includes: a first time server (i.e., the standby miniaturized actual server shown in fig. 1), a second time server (i.e., the main miniaturized actual server shown in fig. 1), a convergence device a, a convergence device B, an access device G, an access device F, an access device E, an access device D, an access device C, and a base station connected to each access device.
The aggregation equipment A, the access equipment G, the access equipment F, the access equipment E, the access equipment D, the access equipment C, the aggregation equipment B and the aggregation equipment A are sequentially connected, and the network element is applied to a network access ring of the PTP high-precision time synchronization network.
The convergence device A is connected with the second time server, and the convergence device B is connected with the first time server.
The time server is a computer network instrument which obtains the actual time from a reference clock and then communicates the time information to the user using the computer network.
In one implementation, the first time server or the second time server may be a single server, or may be a server cluster formed by a plurality of servers. In some implementations, the server cluster may also be a distributed cluster. The specific implementation of the server is not limited in this application.
The functions of the convergence device A and the convergence device B mainly comprise flow convergence, flow filtration, ultra-high flow diversion, flow forwarding, mobile network signaling analysis, replication output, load balancing and the like, and the convergence device A and the convergence device B can work in networks such as a mobile network, a metropolitan area network and the like, for example, a switch and the like.
Access device G, access device F, access device E, access device D, access device C may be devices for accessing a base station. The base station may be a base station or a base station controller for wireless communication, etc. In the embodiments of the present application, the base station may be a base station (base transceiver station, BTS) in a global system for mobile communications (global system formable communication, GSM), a base station (base transceiver station, BTS) in a code division multiple access (code division multiple access, CDMA), a base station (Node B, NB) in a wideband code division multiple access (wideband code division multiple access, WCDMA), a base station (evolved Node B, eNB) in a long term evolution (Long Term Evolution, LTE), an eNB in the internet of things (internet of things, ioT) or a narrowband internet of things (narrow band-internet of things, NB-IoT), a 5G mobile communication network, or a base station in a future evolved public land mobile network (public land mobile network, PLMN), which the embodiments of the present application do not make any limitation.
The basic hardware structure of each network element in the signal transmission system is similar, and includes the elements included in the signal transmission device shown in fig. 4 or fig. 5. The following describes the hardware configuration of each network element in the signal transmission system, taking the signal transmission device shown in fig. 4 and 5 as an example.
Fig. 4 is a schematic hardware structure of a signal transmission device according to an embodiment of the present application. The signal transmission means comprise a processor 21, a memory 22, a communication interface 23, a bus 24. The processor 21, the memory 22 and the communication interface 23 may be connected by a bus 24.
The processor 21 is a control center of the signal transmission device, and may be one processor or a collective name of a plurality of processing elements. For example, the processor 21 may be a general-purpose central processing unit (central processing unit, CPU), or may be another general-purpose processor. Wherein the general purpose processor may be a microprocessor or any conventional processor or the like.
As one example, processor 21 may include one or more CPUs, such as CPU 0 and CPU 1 shown in fig. 4.
Memory 22 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), magnetic disk storage or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
In a possible implementation, the memory 22 may exist separately from the processor 21, and the memory 22 may be connected to the processor 21 by a bus 24 for storing instructions or program code. The processor 21, when calling and executing instructions or program code stored in the memory 22, is capable of implementing the signaling method provided in the embodiments described below.
In the embodiment of the present application, the software program stored in the memory 22 is different for each network element in the signal transmission system, so that the functions implemented by each network element in the signal transmission system are different. The functions performed with respect to the respective devices will be described in connection with the following flowcharts.
In another possible implementation, the memory 22 may also be integrated with the processor 21.
The communication interface 23 is used for connecting the signal transmission device with other devices through a communication network, wherein the communication network can be an ethernet, a wireless access network, a wireless local area network (wireless local area networks, WLAN) and the like. The communication interface 23 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.
Bus 24 may be an industry standard architecture (industry standard architecture, ISA) bus, an external device interconnect (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 4, but not only one bus or one type of bus.
Fig. 5 shows another hardware structure of the signal transmission device in the embodiment of the present application. As shown in fig. 5, the signal transmission means may comprise a processor 31 and a communication interface 32. The processor 31 is coupled to a communication interface 32.
The function of the processor 31 may be as described above with reference to the processor 21. The processor 31 also has a memory function and can function as the memory 22.
The communication interface 32 is used to provide data to the processor 31. The communication interface 32 may be an internal interface of the signal transmission device or an external interface of the signal transmission device (corresponding to the communication interface 23).
It should be noted that the structure shown in fig. 4 (or fig. 5) does not constitute a limitation of the signal transmission apparatus, and the signal transmission apparatus may include more or less components than those shown in fig. 4 (or fig. 5), or may combine some components, or may be arranged in different components.
As shown in fig. 6, the signal transmission method provided in the embodiment of the present application is applied to the first time server in the signal transmission system shown in fig. 3. The signal transmission method comprises the following steps:
s601, a first time server acquires reference PTP state parameters of a second time server.
Wherein the reference PTP state parameters include: performance parameters of the second time server and configuration parameters of the second time server; the performance parameter is used for representing the performance of the time server for determining the time precision; the configuration parameters are used for indicating the network equipment to determine PTP signals according to the configuration parameters; the time server includes: a first time server, and/or a second time server.
In one implementation, the PTP state parameter is a state parameter of a precision time protocol ancestor clock (Precision Time Protocol Grandmaster, ptpgm) of the time server. The performance parameters include: clock level parameters of the PTP GM, clock precision parameters of the PTP GM and clock stability parameters of the PTP GM. The configuration parameters include: priority parameters of PTP GM and identification of PTP GM.
In one implementation manner, the method for the first time server to acquire the reference PTP state parameter of the second time server specifically includes:
the first time server takes reference PTP state parameters based on satellite co-view.
In particular, satellite co-vision is one of the main methods of remote time contrast at present, and is also a main technology of international atomic time collaboration, and the uncertainty of transmission can be accurate to a few nanoseconds. The basic principle is that the same navigation satellite is received at the same time at any two places on the earth, so that common errors on two propagation paths can be eliminated, and the time between the two places can be compared, and high-precision time synchronization can be realized.
The satellite co-view method can realize the comparison of a remote time frequency source and coordinated universal time (Universal Time Coordinated, UTC) through a Beidou/global positioning system (Global Positioning System, GPS) satellite system, further implement the real-time taming of the remote time frequency source, and finally realize the real-time synchronization or calibration of the remote time frequency source and the UTC. When UTC is taken as a reference, UTC can be reproduced at a remote end with a certain deviation (better than 10 nanoseconds under the condition of 90 percent) and an uncertainty level (better than 5 nanoseconds in the uncertainty of a deviation synthesis standard), namely, a high-performance real-time tracing to the atomic time scale of the UTC is realized at the remote end.
Compared with a unidirectional time service method, the satellite time service precision improvement based on the satellite common view principle is embodied in that the influence of the satellite clock error is completely counteracted, and the ephemeris error, the ionosphere delay and the troposphere delay error are partially counteracted.
In one implementation, the first time server may also take reference PTP state parameters based on other general techniques, which are not limited in this embodiment of the present application.
S602, when the performance parameters of the first time server and the second time server meet the preset parameter conditions, and the first time server and the second time server meet the time synchronization conditions, the first time server updates the configuration parameters and the performance parameters of the first time server to the configuration parameters and the performance parameters of the second time server, and the updated configuration parameters and the performance parameters are added to the target PTP state parameters of the first time server to obtain a first target PTP signal.
In one implementation, the preset parameter conditions include: the clock level parameter of the PTP GM of the second time server is superior to or equal to the clock level parameter of the PTP GM of the first time server, the clock precision parameter of the PTP GM of the second time server is superior to or equal to the clock precision parameter of the PTP GM of the first time server, and the clock stability parameter of the PTP GM of the second time server is superior to or equal to the clock stability parameter of the PTP GM of the first time server.
In one manner that may be implemented, the time synchronization conditions include: the first time server and the second time server perform time synchronization based on a satellite common view method.
S603, the first time server sends a first target PTP signal to the network device.
In one implementation manner, the signal transmission method provided by the application further includes:
when the performance parameters of the first time server and the second time server do not meet the preset parameter conditions, and/or the first time server and the second time server do not meet the time synchronization conditions, the first time server determines a second target PTP signal according to the initial PTP state parameters of the first time server.
The first time server transmits a second target PTP signal to the network device.
Illustratively, the first time server is taken as a standby time server, and the second time server is taken as a main time server.
The primary and back-up time servers are each deployed with a global navigation satellite system (Global Navigation Satellite System, GNSS) antenna. The primary time server and the standby time server can track GNSS satellites through the GNSS antenna to discipline the self-internal atomic clock.
In order to ensure higher accuracy of the network, a satellite common view technology can be adopted between the main time server and the standby time server to perform time synchronization. The standby time server is used as a common view slave station, the main time server is used as a common view master station, and the information such as star clock error and the like is interacted between the standby time server and the main time server through an existing ground link of an access ring.
However, as can be seen from fig. 2, the satellite common view technology only solves the synchronization problem between the standby time server and the main time server, and the time service mechanism of the access ring is not changed, and the above-mentioned problems cannot be solved.
In this embodiment of the present application, except for performance observation information such as an interaction star clock error, the common view master station and the common view slave station add state information of ptpgm as the common view master station itself to information sent to the common view slave station, including: parameters such as PTP GM clock ID, PTP GM clock class, PTP GM clock accuracy, PTP GM offset scaled Log variance, PTP GM priority2 and the like output by the common view master station to the access ring.
For the standby time server, the general time synchronization method is based on that even if the standby time server receives the PTP GM state information of the main time server, the standby time server is an independent GM and outputs a series of parameters of the own GM PTP to the network equipment in the access ring without referring to the main time server.
In the embodiment of the application, the standby time server can increase the working mode of a virtual Boundary Clock (BC).
In the "virtual BC" operating mode, the first time server may update the configuration parameters and performance parameters of the first time server to the configuration parameters and performance parameters of the second time server, and add the updated configuration parameters and performance parameters to the target PTP state parameters of the first time server, so as to obtain the first target PTP signal. Subsequently, the first time server sends a first target PTP signal to the network device.
Specifically, the "virtual BC" operation mode refers to that after receiving PTP GM status information sent by the master station, the slave station regards itself as a virtual PTP BC network element because the slave station itself time signal traces to the master station, if the received PTP GM clock class, PTP GM clock accuracy, PTP GM offset scaled Log variance of the master station are the same as PTP GM clock class, PTP GM clock accuracy, PTP GM offset scaled Log variance of the slave station itself, or PTP GM clock class, PTP GM clock accuracy, PTP GM offset scaled Log variance of the master station are better than the PTP corresponding parameter values of the slave station itself, when the slave station outputs PTP signals to the network device in the access ring, the slave station replaces PTP GM clock class, PTP GM clock accuracy, PTP GM offset scaled Log variance, PTP GM priority2 and PTP GM clock ID in the PTP signals with the corresponding parameter values of the master station, and rewrites PTP steps Removed output by the slave station itself to 1 (PTP steps Removed output by the master time server is 0).
And the slave station's original mode of operation is referred to as the normal mode of operation. The secondary station may switch between a normal mode of operation and a virtual BC mode of operation. The mode of operation may be manually specified or automatically selected. The conditions of manual specification or automatic selection are: when the slave station tracks the master station normally through satellite common view, and the received PTP corresponding parameter values of the master station are the same as those of the slave station, or PTP GM clock class, PTP GM clock accuracy and PTP GM offset scaled Log variance of the master station are better than those of the slave station, the slave station operates in the virtual BC tracking mode.
When the slave station cannot track the master station normally through satellite common view, or any one of the received PTP GM clock class, PTP GM clock accuracy and PTP GM offset scaled Log variance parameter values of the master station is found to be inferior to the parameter value corresponding to the slave station, the slave station automatically switches to operate in the normal working mode.
In the normal working mode, the PTP GM clock ID, PTP GM clock class, PTP GM clock accuracy, PTP GM offset scaled Log variance and PTP GM priority2 parameters output from the slave station to the network are the independent PTP GM parameters of the slave station.
In combination with the above example, the common view secondary station (i.e. the first time server) should have a sensing module, an analyzing module, a decision module, and an output module. The sensing module is used for receiving and analyzing a series of PTP GM state parameter information sent by the master station. The analysis module is used for analyzing and comparing whether the PTP GM state information of the master station is consistent with the PTP GM state information of the slave station. The decision module is used for selecting the working mode. The output module is used for outputting the PTP time signal to the network.
For example, in connection with fig. 3, as shown in fig. 7, in the case that a link failure occurs between the sink device a and the sink device B in the network access ring of the PTP high precision time synchronization network, since both the active time server and the standby time server track satellites normally, and the standby time server tracks the active time server in a common view, the standby time server can operate the virtual BC operation mode.
In this case, the sink device a in the network access ring of the PTP high precision time synchronization network may receive the master PTP signal transmitted by the master miniaturized time server (i.e. the second time server). The sink device B may receive the target PTP signal (PTP GM priority2 and PTP GM clock ID of the primary miniaturized time server in the target PTP signal) sent by the standby miniaturized time server (i.e., the first time server).
Wherein, the primary PTP signal includes: clock priority 2=128; hop count = 0; the identification (Identity document, ID) is the ID of the primary miniaturized time server. The target PTP signals include: clock priority 2=128; hop count = 1; the ID is the ID of the primary mini time server.
Next, the sink device a may transmit the master PTP signal to the access device G, and the hop count=1 in the master PTP signal transmitted by the sink device a. The sink device B may transmit the target PTP signal to the access device C, with hop count=2 in the target PTP signal transmitted by the sink device B.
Accordingly, the access device G may send the master PTP signal to the access device F, where the hop count=2 in the master PTP signal sent by the access device G. Access device C may transmit a target PTP signal to access device D, with hop count=3 in the target PTP signal transmitted by access device C.
Accordingly, the access device F may send the master PTP signal to the access device E, where the hop count=3 in the master PTP signal sent by the access device F.
In this way, in the network access ring of the whole PTP high-precision time synchronization network, the access device D and the access device E with the highest hop count of the received PTP signals are the access device D and the access device E, and the received PTP signals are only 4 hops, compared with the convergence device B with the highest hop count of the received PTP signals in fig. 3, the received PTP signals are 7 hops.
In yet another implementation, as shown in fig. 8, in the case of no link failure in the network access ring of the PTP high precision time synchronization network, since both the active time server and the standby time server track satellites normally, and the standby time server tracks the active time server in common view, the standby time server can operate the virtual BC operation mode.
In this case, the sink device a in the network access ring of the PTP high precision time synchronization network may receive the master PTP signal transmitted by the master miniaturized time server (i.e. the second time server). The sink device B may receive the target PTP signal (PTP GM priority2 and PTP GM clock ID of the primary miniaturized time server in the target PTP signal) sent by the standby miniaturized time server (i.e., the first time server).
Wherein, the primary PTP signal includes: clock priority 2=128; hop count = 0; the identification (Identity document, ID) is the ID of the primary miniaturized time server. The target PTP signals include: clock priority 2=128; hop count = 1; the ID is the ID of the primary mini time server.
Then, the sink device a may send the master PTP signal to the access device G and the sink device B.
After receiving the main PTP signal sent by the sink device a and the target PTP signal sent by the standby miniaturized time server, the sink device B determines an appropriate PTP signal according to the port numbers of the sink device a and the standby miniaturized time server, because the main PTP signal is identical to the PTP GM clock class, PTP GM clock accuracy, PTP GM offset scaled Log variance, PTP GM priority2, and PTP GM clock ID of the target PTP signal, and the steps Removed is identical (both are 1).
Because the port number of the convergence device A in the network access ring of the PTP high-precision time synchronization network is smaller (i.e. better) than the port number of the standby miniaturized time server, the convergence device B selects the main PTP signal sent by the convergence device A for time synchronization.
Subsequently, the sink device B may send a master PTP signal to the access device C.
Accordingly, the access device G may send a master PTP signal to the access device F. Access device C may send a master PTP signal to access device D.
Accordingly, access device F may send a master PTP signal to access device E. Access device D may send a master PTP signal to access device E.
In still another possible implementation, as shown in fig. 9, in the case that there is no link failure in the network access ring of the PTP high precision time synchronization network, but the primary time server fails, the standby time server cannot track the primary time server through satellite common view, and the standby time server can operate in the normal operation mode.
In this case, the sink device B in the network access ring of the PTP high precision time synchronization network may receive the PTP signal (PTP GM priority2 and PTP GM clock ID in the PTP signal) transmitted by the standby miniaturized time server (i.e., the first time server) as PTP GM priority2 and PTP GM clock ID of the standby miniaturized time server.
Wherein the standby PTP signal comprises: clock priority 2=129; hop count = 0; the ID is the ID of the standby mini time server.
Then, the sink device B may transmit PTP signals to the sink device a and the access device C, respectively. The aggregation device a and the access device C may perform time synchronization based on the acquired PTP signal as a time-synchronized signal.
Accordingly, access device C may transmit PTP signals to access device D, and access device D may transmit PTP signals to access device E.
After receiving the PTP signal sent by the aggregation device a, the access device G may send the PTP signal to the access device F.
The access device D, the access device E, the access device F, and the access device G may also perform time synchronization based on the obtained PTP signal as a time synchronization signal, and the specific process is not described herein.
In summary, the embodiment of the present application provides a signal transmission method, which is applied to a first time server, and the signal transmission method includes: after acquiring the reference accurate time protocol PTP state parameter of the second time server (including the performance parameter of the second time server and the configuration parameter of the second time server), the first time server may determine whether the performance parameter of the first time server and the performance parameter of the second time server satisfy the preset parameter condition, and whether the first time server and the second time server satisfy the time synchronization condition.
When the performance parameters of the first time server and the second time server meet the preset parameter conditions, and the first time server and the second time server meet the time synchronization conditions, the first time server can update the configuration parameters and the performance parameters of the first time server to the configuration parameters and the performance parameters of the second time server, and the updated configuration parameters and the performance parameters are added to the target PTP state parameters of the first time server to obtain a first target PTP signal. Subsequently, the first time server may send a first target PTP signal to the network device.
Since the performance parameter in the PTP status parameter is used to represent the performance of the time server to determine the time precision, the configuration parameter is used to instruct the network device to determine the PTP signal according to the configuration parameter, and the time server includes: the first time server and/or the second time server, so that the PTP signal of the first time server can be reasonably utilized to update the configuration parameters and the performance parameters in the PTP signal of the first time server to the configuration parameters and the performance parameters of the second time server.
In this way, the configuration parameters and the performance parameters in the PTP signal of the first time server are the same as those in the PTP signal of the second time server, and in the case where the first time server and the second time server satisfy the time synchronization condition, the network device may select, as an appropriate PTP signal, a PTP signal having a smaller hop count from the PTP signal of the first time server and the PTP signal updated by the second time server. Therefore, the network equipment can not only ensure that the Alternate BMCA algorithm is used for determining the PTP signal, but also select the PTP signal with smaller hop count as the proper PTP signal, thereby improving the network time service precision of the network equipment and meeting the time synchronization requirement of the network equipment.
The foregoing description of the solution provided in the embodiments of the present application has been mainly presented in terms of a method. To achieve the above functions, it includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. 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 embodiment of the present application may divide the signal transmission device into the functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. Optionally, the division of the modules in the embodiments of the present application is schematic, which is merely a logic function division, and other division manners may be actually implemented.
Fig. 10 is a schematic structural diagram of a signal transmission device according to an embodiment of the present application. The signal transmission device may be used to perform the method of signal transmission shown in fig. 6-9. The signal transmission device shown in fig. 10 is applied to the first time server. The first time server includes: an acquisition unit 1001, a processing unit 1002, and a transmission unit 1003;
an obtaining unit 1001, configured to obtain a reference precision time protocol PTP state parameter of the second time server; the reference PTP state parameters include: performance parameters of the second time server and configuration parameters of the second time server; the performance parameter is used for representing the performance of the time server for determining the time precision; the configuration parameters are used for indicating the network equipment to determine PTP signals according to the configuration parameters; the time server includes: a first time server, and/or a second time server;
a processing unit 1002, configured to update the configuration parameter and the performance parameter of the first time server to the configuration parameter and the performance parameter of the second time server when the performance parameter of the first time server and the performance parameter of the second time server meet a preset parameter condition, and when the first time server and the second time server meet a time synchronization condition, and add the updated configuration parameter and performance parameter to a target PTP state parameter of the first time server to obtain a first target PTP signal;
A transmitting unit 1003, configured to transmit the first target PTP signal to a network device.
Optionally, the PTP state parameter is a state parameter of an accurate time protocol progenitor clock PTP GM of the time server;
the performance parameters include: clock level parameters of the PTP GM, clock precision parameters of the PTP GM and clock stability parameters of the PTP GM;
the configuration parameters include: priority parameters of PTP GM and identification of PTP GM.
Optionally, the preset parameter conditions include:
the clock level parameter of the PTP GM of the second time server is superior to or equal to the clock level parameter of the PTP GM of the first time server, the clock precision parameter of the PTP GM of the second time server is superior to or equal to the clock precision parameter of the PTP GM of the first time server, and the clock stability parameter of the PTP GM of the second time server is superior to or equal to the clock stability parameter of the PTP GM of the first time server;
the time synchronization conditions include:
the first time server and the second time server perform time synchronization based on a satellite common view method.
Optionally, the obtaining unit 1001 is specifically configured to:
taking reference PTP state parameters based on satellite co-view method.
Optionally, the processing unit 1002 is further configured to determine, when the performance parameter of the first time server and the performance parameter of the second time server do not meet a preset parameter condition, and/or the first time server and the second time server do not meet a time synchronization condition, a second target PTP signal according to an initial PTP state parameter of the first time server;
The sending unit 1003 is further configured to send a second target PTP signal to the network device.
The present application also provides a computer-readable storage medium, which includes computer-executable instructions that, when executed on a computer, cause the computer to perform the signal transmission method provided in the above embodiments.
The embodiment of the present application also provides a computer program, which can be directly loaded into a memory and contains software codes, and the computer program can implement the signal transmission method provided in the above embodiment after being loaded and executed by a computer.
Those of skill in the art will appreciate that in one or more of the examples described above, the functions described herein may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer-readable storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and the division of modules or units, for example, is merely a logical function division, and other manners of division are possible when actually implemented. For example, multiple units or components may be combined or may be integrated into another device, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions easily conceivable by those skilled in the art within the technical scope of the present application should be covered in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (8)
1. A signal transmission method, applied to a first time server, comprising:
acquiring a reference accurate time protocol PTP state parameter of a second time server; the reference PTP state parameters include: the performance parameters of the second time server and the configuration parameters of the second time server; the performance parameter is used for representing the performance of the time server for determining the time precision; the configuration parameters are used for indicating the network equipment to determine PTP signals according to the configuration parameters; the time server includes: the first time server and/or the second time server; the network access ring comprises: a plurality of convergence devices, a plurality of access devices, and a plurality of base stations; one convergence device is connected with the second time server, and the other convergence device is connected with the first time server;
when the performance parameters of the first time server and the second time server meet the preset parameter conditions and the first time server and the second time server meet the time synchronization conditions, updating the configuration parameters and the performance parameters of the first time server to the configuration parameters and the performance parameters of the second time server, and adding the updated configuration parameters and the performance parameters to the target PTP state parameters of the first time server to obtain a first target PTP signal;
Transmitting the first target PTP signal to the network device;
the PTP state parameter is a state parameter of an accurate time protocol progenitor clock PTP GM of the time server;
the performance parameters include: the clock level parameter of the PTP GM, the clock precision parameter of the PTP GM and the clock stability parameter of the PTP GM;
the configuration parameters include: priority parameters of the PTP GM and identifications of the PTP GM;
the preset parameter conditions comprise:
the clock level parameter of the PTP GM of the second time server is better than or equal to the clock level parameter of the PTP GM of the first time server, and the clock precision parameter of the PTP GM of the second time server is better than or equal to the clock precision parameter of the PTP GM of the first time server, and the clock stability parameter of the PTP GM of the second time server is better than or equal to the clock stability parameter of the PTP GM of the first time server;
the time synchronization conditions include:
the first time server and the second time server perform time synchronization based on satellite common view.
2. The signal transmission method according to claim 1, wherein the obtaining the reference precision time protocol PTP state parameter of the second time server includes:
And taking the reference PTP state parameters based on a satellite co-view method.
3. The signal transmission method according to claim 1 or 2, characterized by further comprising:
when the performance parameters of the first time server and the second time server do not meet the preset parameter conditions, and/or the first time server and the second time server do not meet the time synchronization conditions, determining a second target PTP signal according to the initial PTP state parameters of the first time server;
and sending the second target PTP signal to the network equipment.
4. A signal transmission device, for use in a first time server, comprising: the device comprises an acquisition unit, a processing unit and a sending unit;
the acquisition unit is used for acquiring the PTP state parameters of the reference accurate time protocol of the second time server; the reference PTP state parameters include: the performance parameters of the second time server and the configuration parameters of the second time server; the performance parameter is used for representing the performance of the time server for determining the time precision; the configuration parameters are used for indicating the network equipment to determine PTP signals according to the configuration parameters; the time server includes: the first time server and/or the second time server; the network access ring comprises: a plurality of convergence devices, a plurality of access devices, and a plurality of base stations; one convergence device is connected with the second time server, and the other convergence device is connected with the first time server;
The processing unit is configured to update the configuration parameter and the performance parameter of the first time server to the configuration parameter and the performance parameter of the second time server when the performance parameter of the first time server and the performance parameter of the second time server meet a preset parameter condition, and the first time server and the second time server meet a time synchronization condition, and add the updated configuration parameter and performance parameter to a target PTP state parameter of the first time server to obtain a first target PTP signal;
the sending unit is configured to send the first target PTP signal to the network device;
the PTP state parameter is a state parameter of an accurate time protocol progenitor clock PTP GM of the time server;
the performance parameters include: the clock level parameter of the PTP GM, the clock precision parameter of the PTP GM and the clock stability parameter of the PTP GM;
the configuration parameters include: priority parameters of the PTP GM and identifications of the PTP GM;
the preset parameter conditions comprise:
the clock level parameter of the PTP GM of the second time server is better than or equal to the clock level parameter of the PTP GM of the first time server, and the clock precision parameter of the PTP GM of the second time server is better than or equal to the clock precision parameter of the PTP GM of the first time server, and the clock stability parameter of the PTP GM of the second time server is better than or equal to the clock stability parameter of the PTP GM of the first time server;
The time synchronization conditions include:
the first time server and the second time server perform time synchronization based on satellite common view.
5. The signal transmission device according to claim 4, wherein the acquisition unit is specifically configured to:
and taking the reference PTP state parameters based on a satellite co-view method.
6. A signal transmission device according to claim 4 or 5, wherein,
the processing unit is further configured to determine a second target PTP signal according to an initial PTP state parameter of the first time server when the performance parameter of the first time server and the performance parameter of the second time server do not satisfy the preset parameter condition, and/or the first time server and the second time server do not satisfy the time synchronization condition;
the sending unit is further configured to send the second target PTP signal to the network device.
7. A signal transmission device, comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; the processor executing the computer-executable instructions stored in the memory when the signaling device is operating to cause the signaling device to perform the signaling method of any one of claims 1-3.
8. A computer readable storage medium comprising computer executable instructions which, when run on a computer, cause the computer to perform the signal transmission method according to any of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210977114.6A CN115396058B (en) | 2022-08-15 | 2022-08-15 | Signal transmission method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210977114.6A CN115396058B (en) | 2022-08-15 | 2022-08-15 | Signal transmission method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115396058A CN115396058A (en) | 2022-11-25 |
CN115396058B true CN115396058B (en) | 2024-04-12 |
Family
ID=84118813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210977114.6A Active CN115396058B (en) | 2022-08-15 | 2022-08-15 | Signal transmission method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115396058B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101771618A (en) * | 2010-03-11 | 2010-07-07 | 中兴通讯股份有限公司 | Host routing reachable method and system in access ring of packet transport network |
CN102237941A (en) * | 2010-04-28 | 2011-11-09 | 中兴通讯股份有限公司 | Time synchronization system and method |
WO2013174025A1 (en) * | 2012-05-25 | 2013-11-28 | 北京东土科技股份有限公司 | Transparent clock passive port election method and device based on ptp protocol |
CN104219014A (en) * | 2013-06-03 | 2014-12-17 | 浙江省电力公司 | PTP clock synchronization method based on SDH transmission network |
CN104506296A (en) * | 2014-12-08 | 2015-04-08 | 盛科网络(苏州)有限公司 | Realization method for ensuring symmetry of PTP (polyester terphthalate) message path |
CN106330420A (en) * | 2015-07-01 | 2017-01-11 | 中兴通讯股份有限公司 | Time synchronization method, server and system |
CN114039690A (en) * | 2021-10-18 | 2022-02-11 | 中国联合网络通信集团有限公司 | Time synchronization method, device and computer readable storage medium |
KR102372324B1 (en) * | 2021-11-23 | 2022-03-10 | (주) 시스메이트 | Network interface card structure and clock synchronization method to precisely acquire heterogeneous PTP synchronization information for PTP synchronization network extension |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9819541B2 (en) * | 2015-03-20 | 2017-11-14 | Cisco Technology, Inc. | PTP over IP in a network topology with clock redundancy for better PTP accuracy and stability |
US11784861B2 (en) * | 2020-02-13 | 2023-10-10 | Intel Corporation | Channel access related enhancements to New Radio Unlicensed (NR-U) |
-
2022
- 2022-08-15 CN CN202210977114.6A patent/CN115396058B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101771618A (en) * | 2010-03-11 | 2010-07-07 | 中兴通讯股份有限公司 | Host routing reachable method and system in access ring of packet transport network |
CN102237941A (en) * | 2010-04-28 | 2011-11-09 | 中兴通讯股份有限公司 | Time synchronization system and method |
WO2013174025A1 (en) * | 2012-05-25 | 2013-11-28 | 北京东土科技股份有限公司 | Transparent clock passive port election method and device based on ptp protocol |
CN104219014A (en) * | 2013-06-03 | 2014-12-17 | 浙江省电力公司 | PTP clock synchronization method based on SDH transmission network |
CN104506296A (en) * | 2014-12-08 | 2015-04-08 | 盛科网络(苏州)有限公司 | Realization method for ensuring symmetry of PTP (polyester terphthalate) message path |
CN106330420A (en) * | 2015-07-01 | 2017-01-11 | 中兴通讯股份有限公司 | Time synchronization method, server and system |
CN114039690A (en) * | 2021-10-18 | 2022-02-11 | 中国联合网络通信集团有限公司 | Time synchronization method, device and computer readable storage medium |
KR102372324B1 (en) * | 2021-11-23 | 2022-03-10 | (주) 시스메이트 | Network interface card structure and clock synchronization method to precisely acquire heterogeneous PTP synchronization information for PTP synchronization network extension |
Non-Patent Citations (6)
Title |
---|
AoIP时钟同步研究与应用;罗攀;;电声技术;20200205(第02期);全文 * |
Evaluation of Synchronization Performance with PTP;Young-kyu Lee;Sung-hoon Yang;Chang-bok Lee;Jong-Goo Lee;Young-Mi Park;Moon-Seok Lee;Journal of Institute of Control, Robotics and Systems;20141231;第20卷(第6期);全文 * |
Nokia Corporation, Nokia Siemens Networks.R2-081052 "UTRA-LTE Interworking".3GPP tsg_ran\WG2_RL2.2008,(第TSGR2_61期),全文. * |
OTN网络传递PTP时间同步技术;朱波;;通信技术;20200110(第01期);全文 * |
Synchronization Performance of the Precision Time Protocol in Industrial Automation Networks.;Scheiterer, Ruxandra Lupas;Chongning Na;Obradovic, Dragan;Steindi, Günter;IEEE Transactions on Instrumentation & Measurement;20091231;第58卷(第6期);全文 * |
精确时间同步协议在空间无线信道下的适应性研究;庞策;张亚生;申曲;计算机测量与控制;20181231(第003期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN115396058A (en) | 2022-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3834309A1 (en) | Systems and methods for uplink transmission timing | |
US11812398B2 (en) | Method and apparatus for synchronizing radio network nodes | |
US20190069255A1 (en) | Synchronization method and apparatus | |
CN108011682B (en) | Method for determining time source and network equipment | |
WO2023124403A1 (en) | Clock synchronization method, apparatus and system | |
CN106455038A (en) | Master node, slave node and synchronization information self-correcting method | |
CA2883106A1 (en) | Method for providing synchronization in a data acquisition system | |
CN103313188A (en) | Mobile communication device and method for providing positioning information | |
US11722288B2 (en) | Time synchronization path selection device and time synchronization path selection method | |
CN115396058B (en) | Signal transmission method, device and storage medium | |
GB2591690A (en) | Improvements in and relating to reference feature sets in a telecommunication network | |
RU2758592C1 (en) | Method for determining location in a network with multiple connections, a terminal and a functional location control unit | |
CN114465690A (en) | Method, device and system for sending precision information | |
CN111200486A (en) | Method and apparatus for wireless communication | |
US9179429B2 (en) | Synchronization method, device, and system | |
CN114845235A (en) | Information processing method and device, terminal and network side equipment | |
EP3731441B1 (en) | Synchronization information transmission method, synchronization method, network node and storage medium | |
CN111757455B (en) | Method and communication device for adjusting downlink transmission timing | |
KR102063570B1 (en) | Method and Apparatus for Small Cell Synchronization Based on Network Listening | |
CN114466364A (en) | Communication method, device, system and storage medium | |
US11191081B2 (en) | Method and apparatus for measurement and reporting for reference signal | |
US20230413354A1 (en) | End-to-End System Design for THz Network | |
JP7443593B2 (en) | Small cell synchronization system using multiple synchronization sources and its control method | |
KR20120040620A (en) | Method of receiving gnss signal and apparatus thereof | |
WO2024031589A1 (en) | Wireless communication method and apparatus for positioning, device, and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |