CN113225768A - 4G/5G transmission network synchronization method - Google Patents

4G/5G transmission network synchronization method Download PDF

Info

Publication number
CN113225768A
CN113225768A CN202110473638.7A CN202110473638A CN113225768A CN 113225768 A CN113225768 A CN 113225768A CN 202110473638 A CN202110473638 A CN 202110473638A CN 113225768 A CN113225768 A CN 113225768A
Authority
CN
China
Prior art keywords
clock
local area
mobile network
network
data
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.)
Granted
Application number
CN202110473638.7A
Other languages
Chinese (zh)
Other versions
CN113225768B (en
Inventor
龙图景
刘政伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kaishida Information Technology Co ltd
Original Assignee
Beijing Kaishida Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kaishida Information Technology Co ltd filed Critical Beijing Kaishida Information Technology Co ltd
Priority to CN202110473638.7A priority Critical patent/CN113225768B/en
Publication of CN113225768A publication Critical patent/CN113225768A/en
Application granted granted Critical
Publication of CN113225768B publication Critical patent/CN113225768B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing 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 comprises the steps of carrying out dynamic delay detection on a local area network and a mobile network through a router gateway and a synchronization host, carrying 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 carrying out synchronous locking on a first clock of the local equipment and second equipment of the remote equipment through the relay clock when the delay difference between the local area network and the mobile network is large, and carrying out delay transmission on data to be forwarded in the network with small delay through the synchronization host if the delay difference is large so as to keep the consistency of the two networks.

Description

4G/5G transmission network synchronization method
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 field of remote control or cloud control technology, due to the complexity of networking and the limitation of a local area network in some scenes, fusion control is often required to be performed through a mobile network (currently, a 4G or 5G network) and a wired or wireless local area network, for example, an AGV (automatic guided vehicle) and a robot arm in an automation plant need to remotely transmit control instructions through the mobile network and also need to remotely transmit image information through the mobile network, a remote operator often needs to acquire image video information in the mobile network and then send control information through the local area network, but the instruction synchronization is difficult to achieve due to the fact that links between the mobile network and the local area network are completely different, and therefore a difficult problem is provided for remote control under a complex network environment.
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 device and the remote device receiving the data packets at times T1 and T2, respectively, and transmitting return data packets at times T3 and T4, respectively;
(4-3) the synchronous host respectively receives the return data packets from the local device and the remote device at the time T5 and T6, so that the time delays of the local area network and the mobile network are respectively obtained
Figure BDA0003046521000000021
And
Figure BDA0003046521000000022
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) local area network latency
Figure BDA0003046521000000023
Greater than mobile network delay
Figure BDA0003046521000000024
When 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,
Figure BDA0003046521000000025
(4-4-2) local area network latency
Figure BDA0003046521000000026
Less than mobile network delay
Figure BDA0003046521000000027
When the router gateway directly forwards the data to be sent to or received from the mobile network, the router gateway directly forwards the data to be sent to or received from the mobile networkThe gateway delays the data in the local area network by delta T and then forwards the data,
Figure BDA0003046521000000028
further, the frequency of the time delay detection in the step (4) is 50 Hz.
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 a method of the present invention;
fig. 2 is a schematic system architecture of 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 carry out 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 as to distinguish different data packets;
(4-2) the local device and the remote device receive the data packets at the time of T1 and the time of T2 respectively, and send return data packets at the time of T3 and the time of T4 respectively, the return data packets contain corresponding identity information, and the synchronization host corresponds to the data packets sent by the synchronization host according to the identity information after receiving the return data packets;
(4-3) the synchronous host respectively receives the return data packets from the local device and the remote device at the time T5 and T6, so that the time delays of the local area network and the mobile network are respectively obtained
Figure BDA0003046521000000041
And
Figure BDA0003046521000000042
the synchronization host intercepts timing information of a first clock and a second clock in data through the router gateway, compensates time delay of the local device and the remote device, and forwards the data, and the method specifically includes:
(4-4) comparing the time delay of the local area network and the mobile network by the synchronous host:
(4-4-1) local area network latency
Figure BDA0003046521000000043
Greater than mobile network delay
Figure BDA0003046521000000051
When 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,
Figure BDA0003046521000000052
(4-4-2) local area network latency
Figure BDA0003046521000000053
Less than mobile network delay
Figure BDA0003046521000000054
When 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,
Figure BDA0003046521000000055
(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 of the local area network and the time delay of the mobile network are different by no more than 20ms, the clock of the camera and the clock of the remote equipment can be directly related through the relay clock of the synchronous host.
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 (5)

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;
(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 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 device and the remote device receiving the data packets at times T1 and T2, respectively, and transmitting return data packets at times T3 and T4, respectively;
(4-3) the synchronous host respectively receives the return data packets from the local device and the remote device at the time T5 and T6, so that the time delays of the local area network and the mobile network are respectively obtained
Figure FDA0003046520990000011
And
Figure FDA0003046520990000012
3. the synchronization method of 4G/5G transport network according to claim 2, characterized in that: the clock compensation step in the step (4) comprises:
(4-4) comparing the time delay of the local area network and the mobile network by the synchronous host:
(4-4-1) local area network latency
Figure FDA0003046520990000021
Greater than mobile network delay
Figure FDA0003046520990000022
When 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,
Figure FDA0003046520990000023
(4-4-2) local area network latency
Figure FDA0003046520990000024
Less than mobile network delay
Figure FDA0003046520990000025
When 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,
Figure FDA0003046520990000026
4. 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 50 Hz.
5. 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.
CN202110473638.7A 2021-04-29 2021-04-29 4G/5G transmission network synchronization method Active CN113225768B (en)

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 true CN113225768A (en) 2021-08-06
CN113225768B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113676411A (en) * 2021-10-21 2021-11-19 深圳鼎信通达股份有限公司 Network communication method, session edge controller and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
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
CN106254021A (en) * 2016-07-18 2016-12-21 自连电子科技(上海)有限公司 Realize the system and method for time synchronized between internet of things equipment
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
CN106254021A (en) * 2016-07-18 2016-12-21 自连电子科技(上海)有限公司 Realize the system and method for time synchronized between internet of things equipment
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113676411A (en) * 2021-10-21 2021-11-19 深圳鼎信通达股份有限公司 Network communication method, session edge controller and storage medium
CN113676411B (en) * 2021-10-21 2022-01-11 深圳鼎信通达股份有限公司 Network communication method, session edge controller and storage medium

Also Published As

Publication number Publication date
CN113225768B (en) 2023-02-10

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
CN112272387B (en) Low-scheduling time delay and high-speed access method, module, terminal and power secondary equipment based on 5G
CN110120846B (en) Clock synchronization method and system
TWI532352B (en) Evolved packet core less direct mode communication system and communication attaching method thereof
TWI403126B (en) Network connection apparatus, and communication network and method applying the same
US20210144666A1 (en) Synchronizing tsn master clocks in wireless networks
EP3738275B1 (en) Method and arrangement for deterministic delivery of data traffic over wireless connection
WO2021082674A1 (en) Time synchronization method, communication device, and system
Pocovi et al. Measurement framework for assessing reliable real-time capabilities of wireless networks
CN106850331B (en) Ethernet frame sending device with synchronous clock function in traffic field
CN108834435B (en) Method, node and computer readable medium for controlling transmission timing
CN113225768B (en) 4G/5G transmission network synchronization method
Mahmood et al. Clock synchronization for IEEE 802.11 based wired-wireless hybrid networks using PTP
CN103369662A (en) Adapter, baseband processing unit and base station system
CN108199822B (en) Bus synchronization method and device of EtherCAT-NCUC
US20210382462A1 (en) Technique for providing status information relating to a wireless data transmission for industrial process control
JP7185054B2 (en) Resource cycle configuration method and device, link processing and establishment method and device
JP3802408B2 (en) Network system synchronization method
US20220278871A1 (en) Method, system, and gateway for linking time-sensitive fieldbuses
Nguyen et al. High Precision Industrial Wireless LAN System with Asynchronous Communication
JP2012023511A (en) Serial device server
CN106788949B (en) Synchronous planning method and device
JPH09326817A (en) Data transmitter for vehicle control

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