CN113225768B - 4G/5G transmission network synchronization method - Google Patents
4G/5G transmission network synchronization method Download PDFInfo
- Publication number
- CN113225768B CN113225768B CN202110473638.7A CN202110473638A CN113225768B CN 113225768 B CN113225768 B CN 113225768B CN 202110473638 A CN202110473638 A CN 202110473638A CN 113225768 B CN113225768 B CN 113225768B
- Authority
- CN
- China
- Prior art keywords
- clock
- local area
- data
- mobile network
- area network
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to the field of data transmission, in particular to a synchronization method of a 4G/5G transmission network, which carries out dynamic delay detection on a local area network and a mobile network through a router gateway and a synchronization host, carries out clock compensation synchronization on local equipment in the local area network and remote equipment in the mobile network through a relay clock in the synchronization host, directly uses the relay clock to synchronously lock a first clock of the local equipment and second equipment of the remote equipment when the delay difference between the local area network and the mobile network is large, and carries out delay transmission on data to be forwarded in the network with small delay through the synchronization host if the delay difference is large, thereby keeping the consistency of the two networks.
Description
Technical Field
The invention relates to the field of data transmission, in particular to a synchronization method of a 4G/5G transmission network.
Background
In the remote control field or cloud control technology, due to the complexity of networking and the limitation of a local area network in some scenarios, it is often necessary to perform fusion control through a mobile network (currently, a 4G or 5G network) and a wired or wireless local area network, for example, an AGV car, a robot arm, etc. in an automation plant need to remotely transmit a control instruction through the mobile network, and also need to remotely transmit image information through the mobile network.
Disclosure of Invention
In view of this, an object of the present invention is to provide a synchronization method for a 4G/5G transmission network, which can synchronize a local area network and a mobile network in a complex network environment, and ensure information consistency of remote control.
The invention discloses a synchronization method of a 4G/5G transmission network, which comprises the following steps:
(1) The local area network is accessed to the mobile network through the router gateway, the router gateway is accessed to the synchronous host, a relay clock is arranged in the synchronous host, and local equipment in the local area network and remote equipment in the mobile network perform clock information interaction with the synchronous host through the router gateway;
(2) The first clock of the local equipment in the local area network starts to accumulate and time, and the local equipment in the local area network sends the data to the router gateway and simultaneously sends the timing information of the first clock together with the data;
(3) The second clock in the remote equipment in the mobile network starts to accumulate and time, and the remote equipment in the mobile network sends the timing information of the second clock together with the data while sending the data to the router gateway;
(4) The synchronous host continuously and respectively carries out time delay detection on the local equipment and the remote equipment, intercepts timing information of a first clock and a second clock in data through a router gateway, compensates time delay of the local equipment and the remote equipment and forwards the data;
(5) And when the time delays of the mobile network and the local area network are the same or similar, the synchronization host uses the relay clock to perform synchronous locking and data forwarding on the compensated first clock and the compensated second clock.
Further, the step (4) of detecting the time delay of the synchronization master includes:
(4-1) the synchronous host sends the same data packet to the local equipment and the remote equipment through the local area network and the mobile network at the same time, and the relay clock records the sending time T0;
(4-2) the local equipment and the remote equipment receive the data packets at the time T1 and the time T2 respectively and send return data packets at the time T3 and the time T4 respectively;
(4-3) the synchronous host respectively receives the return data packets from the local equipment and the remote equipment at the time T5 and the time T6, namely the time delay of the local area network and the time delay of the mobile network are respectively obtainedAnd
further, the step of clock compensation in the step (4) includes:
(4-4) comparing the time delay of the local area network and the mobile network by the synchronous host:
(4-4-1) latency in local area networkGreater than mobile network delayWhen in use, the router gateway directly forwards the data in the local area network, the router gateway forwards the data which needs to be sent to the mobile network or received from the mobile network after the delay of DeltaT,
(4-4-2) local area network latencyLess than mobile network delayWhen in use, the router gateway directly forwards the data which needs to be sent to the mobile network or received from the mobile network, the router gateway forwards the data in the local area network after delaying the time delta T,
further, the frequency of the time delay detection in the step (4) is 50Hz.
Further, when the delay difference between the local area network and the mobile network in the step (5) is not more than 20ms, synchronous locking is adopted.
The invention has the beneficial effects that: the invention relates to a synchronization method of a 4G/5G transmission network, which carries out dynamic delay detection on a local area network and a mobile network through a router gateway and a synchronization host, and carries out clock compensation synchronization on local equipment in the local area network and remote equipment in the mobile network by using a relay clock in the synchronization host, when the delay difference between the local area network and the mobile network is large, the relay clock is directly used for carrying out synchronous locking on a first clock of the local equipment and second equipment of the remote equipment, and if the delay difference is large, the data to be forwarded in the network with small delay is transmitted in a delayed manner through the synchronization host, so that the consistency of the two networks is maintained.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that for a person skilled in the art, other relevant drawings can be obtained from the drawings without inventive effort:
FIG. 1 is a flow chart of the method of the present invention;
fig. 2 is a schematic diagram of a system configuration in accordance with an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 1: the synchronization method for the 4G/5G transmission network of the embodiment comprises the following steps:
(1) The local area network is accessed to the mobile network through the router gateway, and a plurality of local devices in the local area network are connected with each other and a plurality of remote devices in the mobile network through the router gateway; the router gateway is simultaneously accessed to the synchronous host, a relay clock is arranged in the synchronous host, and local equipment in the local area network and remote equipment in the mobile network perform clock information interaction with the synchronous host through the router gateway;
(2) The first clock of the local equipment in the local area network starts to accumulate and time, the local equipment in the local area network sends data to the router gateway and simultaneously sends the timing information of the first clock together with the data, and the synchronization host can intercept the timing information of the first clock through the gateway;
(3) A second clock in the remote equipment in the mobile network starts to accumulate and time, the remote equipment in the mobile network sends data to the router gateway and simultaneously sends the timing information of the second clock together with the data, and the synchronization host can intercept the timing information of the second clock through the gateway;
(4) The synchronous host computer carries out the time delay detection to local equipment and remote equipment respectively ceaselessly, specifically includes:
(4-1) the synchronous host sends the same data packet to the local equipment and the remote equipment through the local area network and the mobile network every 20ms and at the same time, the relay clock records the sending time T0, and the data packet contains unique identity information, so that different data packets are distinguished;
(4-2) the local equipment and the remote equipment respectively receive the data packets at the time T1 and the time T2 and respectively send return data packets at the time T3 and the time T4, the return data packets contain corresponding identity information, and the synchronous host machine receives the return data packets and then corresponds to the data packets sent by the synchronous host machine according to the identity information;
(4-3) the synchronous host respectively receives the return data packets from the local equipment and the remote equipment at the time T5 and the time T6, namely the time delay of the local area network and the time delay of the mobile network are respectively obtainedAnd
the synchronization host intercepts timing information of a first clock and a second clock in data through a router gateway, compensates time delay of local equipment and remote equipment, and forwards the data, and the method specifically comprises the following steps:
(4-4) the synchronization host compares the time delay of the local area network and the time delay of the mobile network:
(4-4-1) latency in local area networkGreater than mobile network delayWhen in use, the router gateway directly forwards the data in the local area network, the router gateway forwards the data which needs to be sent to the mobile network or received from the mobile network after the delay of DeltaT,
(4-4-2) local area network latencyLess than mobile network delayWhen in use, the router gateway directly forwards the data which needs to be sent to the mobile network or received from the mobile network, the router gateway forwards the data in the local area network after delaying the time delta T,
(5) And when the time delays of the mobile network and the local area network are the same or similar, specifically when the time delay difference between the local area network and the mobile network is not more than 20ms, the synchronization host uses the relay clock to perform synchronous locking and data forwarding on the compensated first clock and the compensated second clock.
The specific implementation process is as follows:
as shown in fig. 2, a local device 1, a local device 2, and a local device 3 are arranged in the lan, the local device 1 is a camera in the lan, the local device 2 is an execution apparatus for executing a specific function in the lan, the local device 3 is a local control end in the lan, the camera is used for acquiring a working state of the execution apparatus, and both the camera and the execution apparatus are connected to a router gateway to form the lan; the mobile network is internally provided with remote equipment, and the remote equipment is used for connecting with the local control end through the mobile network and remotely sending a control instruction;
firstly, time delay detection is carried out on a local area network and a mobile network through a synchronous host, the time delay in the local area network is measured to be 2ms, the time delay of the mobile network is measured to be 60ms, namely if an operator acquires an image by using a camera, and then a remote device is used for controlling an execution device, an execution instruction is 58ms slower than the image;
therefore, the image information sent by the camera in the local area network is delayed for 58ms by the synchronous host, so that synchronization is realized, meanwhile, the relay clock in the synchronous host delays the timing information in the image information for 58ms and then associates and synchronizes with the timing information in the instruction, and subsequently, if the delay fluctuation is not large, the timing information can be consistently associated and sent;
if the time delay in the local area network and the time delay of the mobile network are different by no more than 20ms, the relay clock of the synchronous host computer is used for directly correlating the camera with the clock of the remote equipment.
The invention relates to a synchronization method of a 4G/5G transmission network, which carries out dynamic delay detection on a local area network and a mobile network through a router gateway and a synchronization host, and carries out clock compensation synchronization on local equipment in the local area network and remote equipment in the mobile network by using a relay clock in the synchronization host, when the delay difference between the local area network and the mobile network is large, the relay clock is directly used for carrying out synchronous locking on a first clock of the local equipment and second equipment of the remote equipment, and if the delay difference is large, the data to be forwarded in the network with small delay is transmitted in a delayed manner through the synchronization host, so that the consistency of the two networks is maintained.
Finally, the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all of them should be covered in the claims of the present invention.
Claims (3)
1. A synchronization method of 4G/5G transmission network is characterized in that: the method comprises the following steps:
(1) The local area network is accessed to the mobile network through the router gateway, the router gateway is accessed to the synchronous host, a relay clock is arranged in the synchronous host, and local equipment in the local area network and remote equipment in the mobile network perform clock information interaction with the synchronous host through the router gateway;
(2) The first clock of the local equipment in the local area network starts to accumulate and time, and the local equipment in the local area network sends the data to the router gateway and simultaneously sends the timing information of the first clock together with the data;
(3) The second clock in the remote equipment in the mobile network starts to accumulate and time, and the remote equipment in the mobile network sends the timing information of the second clock together with the data while sending the data to the router gateway;
(4) The synchronous host continuously and respectively carries out time delay detection on the local equipment and the remote equipment, intercepts timing information of a first clock and a second clock in data through a router gateway, compensates time delay of the local equipment and the remote equipment and forwards the data;
the time delay detection step of the synchronization host in the step (4) includes:
(4-1) the synchronous host sends the same data packet to the local equipment and the remote equipment through the local area network and the mobile network at the same time, and the relay clock records the sending time T0;
(4-2) the local equipment and the remote equipment receive the data packets at the time T1 and the time T2 respectively and send return data packets at the time T3 and the time T4 respectively;
(4-3) the synchronous host respectively receives the return data packets from the local equipment and the remote equipment at the time T5 and the time T6, namely the time delay of the local area network and the time delay of the mobile network are respectively obtainedAnd
the clock compensation step in the step (4) comprises:
(4-4) the synchronization host compares the time delay of the local area network and the time delay of the mobile network:
(4-4-1) latency in local area networkGreater than mobile network delayWhen the router gateway directly transmits the data in the local area network, the router gateway transmits the data which needs to be transmitted to the mobile network or received from the mobile network after the delay of delta T,
(4-4-2) local area network latencyLess than mobile network delayWhen the data needs to be sent to or received from the mobile network, the router gateway directly forwards the data, and delays the data in the local area network by deltaAfter T, the forwarding is carried out,
(5) And when the time delays of the mobile network and the local area network are the same or similar, the synchronization host uses the relay clock to perform synchronous locking and data forwarding on the compensated first clock and the compensated second clock.
2. The synchronization method of 4G/5G transmission network according to claim 1, wherein: the frequency of the time delay detection in the step (4) is 50Hz.
3. The synchronization method of 4G/5G transmission network according to claim 1, wherein: and (5) adopting synchronous locking when the delay difference between the local area network and the mobile network in the step (5) is not more than 20 ms.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110473638.7A CN113225768B (en) | 2021-04-29 | 2021-04-29 | 4G/5G transmission network synchronization method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110473638.7A CN113225768B (en) | 2021-04-29 | 2021-04-29 | 4G/5G transmission network synchronization method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113225768A CN113225768A (en) | 2021-08-06 |
CN113225768B true CN113225768B (en) | 2023-02-10 |
Family
ID=77090142
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110473638.7A Active CN113225768B (en) | 2021-04-29 | 2021-04-29 | 4G/5G transmission network synchronization method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113225768B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113676411B (en) * | 2021-10-21 | 2022-01-11 | 深圳鼎信通达股份有限公司 | Network communication method, session edge controller and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04286436A (en) * | 1991-03-15 | 1992-10-12 | Hitachi Ltd | Node equipment for independent synchronization multi-mediam lan |
CN1906869A (en) * | 2004-01-09 | 2007-01-31 | 汤姆森许可贸易公司 | Time synchronizing device and process and associated products |
CN109842455A (en) * | 2017-11-27 | 2019-06-04 | 华为技术有限公司 | Communication processing method and device |
CN109981466A (en) * | 2019-01-31 | 2019-07-05 | 北京英力恒达科技发展有限公司 | A kind of real-time control of SpaceWire network delay and optimization method and system |
WO2020034227A1 (en) * | 2018-08-17 | 2020-02-20 | 华为技术有限公司 | Multimedia content synchronization method and electronic device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106254021B (en) * | 2016-07-18 | 2018-08-31 | 自连电子科技(上海)有限公司 | The system and method for time synchronization between realization internet of things equipment |
-
2021
- 2021-04-29 CN CN202110473638.7A patent/CN113225768B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04286436A (en) * | 1991-03-15 | 1992-10-12 | Hitachi Ltd | Node equipment for independent synchronization multi-mediam lan |
CN1906869A (en) * | 2004-01-09 | 2007-01-31 | 汤姆森许可贸易公司 | Time synchronizing device and process and associated products |
CN109842455A (en) * | 2017-11-27 | 2019-06-04 | 华为技术有限公司 | Communication processing method and device |
WO2020034227A1 (en) * | 2018-08-17 | 2020-02-20 | 华为技术有限公司 | Multimedia content synchronization method and electronic device |
CN109981466A (en) * | 2019-01-31 | 2019-07-05 | 北京英力恒达科技发展有限公司 | A kind of real-time control of SpaceWire network delay and optimization method and system |
Also Published As
Publication number | Publication date |
---|---|
CN113225768A (en) | 2021-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9906320B2 (en) | Industrial network apparatus and data communication method | |
JP7103788B2 (en) | In-vehicle systems, gateways, programs, information processing methods, information processing systems, and vehicles | |
JP7000649B2 (en) | Beacon-based wireless synchronization | |
CN105024777B (en) | Servo-driver synchronous method based on EtherCAT real-time ethernets | |
TWI403126B (en) | Network connection apparatus, and communication network and method applying the same | |
CN110120846B (en) | Clock synchronization method and system | |
EP3261275B1 (en) | Method for clock synchronization of an industrial internet field broadband bus | |
EP3903454B1 (en) | A tsn enabled controller | |
WO2022062052A1 (en) | 5g-based method, module and terminal for realizing low scheduling latency and high speed access, and secondary electrical device | |
CN108471337B (en) | A method of realizing time synchronization in FC network | |
CN107465474B (en) | The clock synchronization system and method for digital control system bus apparatus | |
CN109995675A (en) | A kind of adaptive industrial ethernet gateway System and method for based on software definition | |
CN113225768B (en) | 4G/5G transmission network synchronization method | |
WO2021082674A1 (en) | Time synchronization method, communication device, and system | |
CN106850331B (en) | Ethernet frame sending device with synchronous clock function in traffic field | |
Mahmood et al. | Clock synchronization for IEEE 802.11 based wired-wireless hybrid networks using PTP | |
EP3868078B1 (en) | Technique for providing status information relating to a wireless data transmission for industrial process control | |
CN108199822B (en) | Bus synchronization method and device of EtherCAT-NCUC | |
KR20210047748A (en) | Industiral communication system in 5g network | |
CN108377265B (en) | Real-time synchronization method for control protection distributed system in power system | |
CN107800500A (en) | A kind of method, apparatus and equipment for determining time synchronized message clock time | |
US20220278871A1 (en) | Method, system, and gateway for linking time-sensitive fieldbuses | |
WO2020238764A1 (en) | Time sequence management method, device and system | |
Tang et al. | Analysis and design of real-time and reliable industrial wireless control communication network and protocol | |
CN112564841A (en) | Method for controlling equipment with different communication protocols in mode of synchronizing clocks |
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 |