CN111954297B - Precise timing method of NG-RAN network architecture - Google Patents
Precise timing method of NG-RAN network architecture Download PDFInfo
- Publication number
- CN111954297B CN111954297B CN202010808726.3A CN202010808726A CN111954297B CN 111954297 B CN111954297 B CN 111954297B CN 202010808726 A CN202010808726 A CN 202010808726A CN 111954297 B CN111954297 B CN 111954297B
- Authority
- CN
- China
- Prior art keywords
- message
- time
- gnb
- sends
- ran 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
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The invention discloses an accurate time correction method of an NG-RAN network framework, which belongs to the technical field of communication and comprises the steps of establishing the NG-RAN network framework, finishing the registration of UE in the NG-RAN network framework, sending SIB9, calculating time difference and local time, and calculating standard time by a host through a screening and averaging method, thereby solving the technical problem of time synchronization of UE equipment in the NG-RAN network framework.
Description
Technical Field
The invention belongs to the technical field of communication, and relates to an accurate time correction method for an NG-RAN network architecture.
Background
5G is rapidly developing and the entire mobile ecosystem, whether it is a chipset and device manufacturer or a network device manufacturer (NEM) and service provider, is driving this technology explosion.
At present, the 5G network adopts an NG-RAN network architecture.
The 5G network is widely used in massive internet of things, and some terminal devices in the internet of things have high requirements for time synchronization, such as various devices for positioning or navigation, and if only one host is adopted to issue the terminal devices to other devices according to the time of the host as a standard, a large time difference is caused, which is not beneficial to synchronization.
Disclosure of Invention
The invention aims to provide an accurate time correction method for an NG-RAN network architecture, which solves the technical problem of time synchronization of UE (user equipment) in the NG-RAN network architecture.
In order to achieve the purpose, the invention adopts the following technical scheme:
an accurate time correction method for an NG-RAN network architecture comprises the following steps:
step 1: establishing an NG-RAN network architecture, wherein the NG-RAN network architecture comprises a plurality of gNBs, 5 GCs and a plurality of UEs, the gNBs are communicated through Xn-C interfaces, and the gNBs and the 5 GCs are communicated through NG interfaces;
the UE communicates with the gNB;
step 2: the UE completes the registration in the NG-RAN network architecture:
and step 3: UE initiates timing and simultaneously sends a system information Request system message Request to the corresponding gNB, wherein the message Request is SIB 9;
and 4, step 4: the UE waits for the reply message, and if the reply message is overtime, the step 2 is executed again; otherwise, executing step 5;
and 5: the gNB receiving the system information Request replies the system information messages feedback;
step 6: the UE finishes timing, records timing time and takes the timing time as time difference information; the UE records the system time returned by the gNB, takes the system time as local time, and updates the local time;
and 7: setting a certain UE as a host for intensively acquiring data of other UEs; except the host, other UE regularly acquires the system time of the gNB according to the method from the step 2 to the step 3, and sends the time difference information and the local time to the host after acquiring the system time;
and 8: the host presets a time difference upper limit value, screens the time difference information sent by all the UE, reserves the UE smaller than the time difference upper limit value, and takes the local time of the UE as a time parameter;
and step 9: the host calculates the average value of the time parameters to obtain correct system time;
step 10: the host takes the correct system time as standard time, refreshes local time and sends the standard time to all UE;
step 11: and the UE refreshes the local time after receiving the standard time.
Because the gNB has a certain delay when communicating with the UE, the actual maximum delay is 80ms, which is not beneficial to accurate timing, the method adopts the gNB with small delay firstly screened out as the alternative base station, and then carries out mean value processing on the system time of the alternative base station, thereby ensuring the time accuracy to the maximum extent.
The UE is a user side, the gNB is a 5G base station, and the AMF is a mobility management function in the 5G network.
Preferably, in step 2, the UE performs the following steps:
step S1: the UE completes the random access process in the gNB;
step S2: UE sends RRC Setup Request message to gNB;
step S3: the gNB replies an RRC Setup message to the UE;
step S4: UE sends RRC Setup Complete to gNB, which contains Registration Reqeust message;
step S5: the gNB sends an Initial UE Message to the AMF, wherein the Message comprises a Registration request Message;
step S6: after receiving the Message of the Initial UE, the AMF completes the user authentication process with the UE;
step S7: AMF sends Initial Context Setup Request message to gNB, wherein the Initial Context Setup Request message is contained;
step S8: after receiving the Initial Context Setup Request message, the gNB completes the capability query process of the UE;
step S9: the gNB sends a Security Mode Command access layer encryption message to the UE;
step S10: UE replies a Security Mode Complete access layer encryption success message to the gNB;
step S11: the gNB sends an RRC Reconfiguration message to the UE, wherein the RRC Reconfiguration message comprises a Registration Accept message;
step S12: the UE sends an RRC Reconfiguration Complete message to the gNB;
step S13: the gNB sends an Initial Context Setup Response message to the AMF, and the UE completes registration.
Preferably, the AMF is completed in conjunction with the PCF and HSS in performing step S6.
Preferably, the timeout time is 80ms when step 4 is performed.
The invention relates to an accurate timing method of an NG-RAN network framework, which solves the technical problem of time synchronization of UE equipment in the NG-RAN network framework.
Drawings
Fig. 1 is a diagram of an NG-RAN network architecture of the present invention;
FIG. 2 is a step 2 flow diagram of the present invention;
fig. 3 is a main flow chart of the present invention.
Detailed Description
A method for accurate timing of an NG-RAN network architecture as shown in fig. 1-3, comprising the steps of:
step 1: establishing an NG-RAN network architecture, wherein the NG-RAN network architecture comprises a plurality of gNBs, 5 GCs and a plurality of UEs, the gNBs are communicated through Xn-C interfaces, and the gNBs and the 5 GCs are communicated through NG interfaces;
the UE communicates with the gNB;
step 2: the UE completes the registration in the NG-RAN network architecture:
and step 3: UE initiates timing and simultaneously sends a system information Request system message Request to the corresponding gNB, wherein the message Request is SIB 9;
the SIB9 is a message instruction in the Master Information Block (MIB), SIB9 contains UTC, GPS and local clock.
And 4, step 4: the UE waits for the reply message, and if the reply message is overtime, the step 2 is executed again; otherwise, executing step 5;
and 5: the gNB receiving the system information Request replies the system information messages feedback;
step 6: the UE finishes timing, records timing time and takes the timing time as time difference information; the UE records the system time returned by the gNB, takes the system time as local time, and updates the local time;
and 7: setting a certain UE as a host for intensively acquiring data of other UEs; except the host, other UE regularly acquires the system time of the gNB according to the method from the step 2 to the step 3, and sends the time difference information and the local time to the host after acquiring the system time;
and 8: the host presets a time difference upper limit value, screens the time difference information sent by all the UE, reserves the UE smaller than the time difference upper limit value, and takes the local time of the UE as a time parameter;
and step 9: the host calculates the average value of the time parameters to obtain correct system time;
step 10: the host takes the correct system time as standard time, refreshes local time and sends the standard time to all UE;
step 11: and the UE refreshes the local time after receiving the standard time.
Preferably, in step 2, the UE performs the following steps:
step S1: the UE completes the random access process in the gNB, namely RA Procedure;
step S2: the UE sends an RRC Setup Request message, namely an RRC setting Request message, to the gNB;
step S3: the gNB replies an RRC Setup message, namely an RRC setting message, to the UE;
step S4: UE sends RRC Setup Complete message, namely RRC Setup success message, which contains Registration request message, namely NAS message, to gNB;
step S5: the gNB sends an Initial UE Message to the AMF, namely UE Initial information which comprises a Registration Reqeust Message;
step S6: after receiving the Initial UE Message, the AMF completes the user Authentication process with the UE, namely the Identity/Authentication/NAS session process;
step S7: the AMF sends an Initial Context Setup Request message, namely an Initial Context setting Request, to the gNB, wherein the Initial Context Setup Request message comprises Registration Accept message, namely a Registration message is received;
step S8: after receiving the Initial Context Setup Request message, the gNB completes the capability query process for the UE, namely UE capability inquiry;
step S9: the gNB sends a Security Mode Command access layer encryption message to the UE;
step S10: UE replies a Security Mode Complete access layer encryption success message to the gNB;
step S11: the gNB sends an RRC Reconfiguration message, namely an RRC Reconfiguration message, to the UE, wherein the RRC Reconfiguration message comprises a Registration Accept message;
step S12: the UE sends an RRC Reconfiguration Complete message, namely an RRC Reconfiguration Complete message to the gNB;
step S13: and the gNB sends an Initial Context Setup Response message to the AMF, namely an Initial Context Setup Response, and the UE completes registration.
Preferably, the AMF is completed in conjunction with the PCF and HSS in performing step S6.
Preferably, the timeout time is 80ms when step 4 is performed.
The invention relates to an accurate timing method of an NG-RAN network framework, which solves the technical problem of time synchronization of UE equipment in the NG-RAN network framework.
Claims (4)
1. A precise time correction method for an NG-RAN network architecture is characterized in that: the method comprises the following steps:
step 1: establishing an NG-RAN network architecture, wherein the NG-RAN network architecture comprises a plurality of gNBs, 5 GCs and a plurality of UEs, the gNBs are communicated through Xn-C interfaces, and the gNBs and the 5 GCs are communicated through NG interfaces;
the UE communicates with the gNB;
step 2: the UE completes the registration in the NG-RAN network architecture:
and step 3: UE initiates timing and simultaneously sends a system information Request system message Request to the gNB, wherein the message Request is SIB 9;
and 4, step 4: the UE waits for the reply message, and if the reply message is overtime, the step 2 is executed again; otherwise, executing step 5;
and 5: the gNB receiving the system information Request replies the system information messages feedback;
step 6: the UE finishes timing, records timing time and takes the timing time as time difference information; the UE records the system time returned by the gNB, takes the system time as local time, and updates the local time;
and 7: setting a certain UE as a host for intensively acquiring data of other UEs; except the host, other UE regularly acquires the system time of the gNB according to the methods from the step 2 to the step 3, and sends the time difference information and the local time to the host after acquiring the system time;
and 8: the host presets a time difference upper limit value, screens the time difference information sent by all the UE, reserves the UE smaller than the time difference upper limit value, and takes the local time of the UE as a time parameter;
and step 9: the host calculates the average value of the time parameters to obtain correct system time;
step 10: the host takes the correct system time as standard time, refreshes local time and sends the standard time to all UE;
step 11: and the UE refreshes the local time after receiving the standard time.
2. A method for accurate timing of a NG-RAN network architecture, as claimed in claim 1, wherein: in performing step 2, the UE proceeds according to the following steps:
step S1: the UE completes the random access process in the gNB;
step S2: UE sends RRC Setup Request message to gNB;
step S3: the gNB replies an RRC Setup message to the UE;
step S4: UE sends RRC Setup Complete to gNB, which contains Registration Reqeust message;
step S5: the gNB sends an Initial UE Message to the AMF, wherein the Message comprises a Registration request Message;
step S6: after receiving the Message of the Initial UE, the AMF completes the user authentication process with the UE;
step S7: AMF sends Initial Context Setup Request message to gNB, wherein the Initial Context Setup Request message is contained;
step S8: after receiving the Initial Context Setup Request message, the gNB completes the capability query process of the UE;
step S9: the gNB sends a Security Mode Command access layer encryption message to the UE;
step S10: UE replies a Security Mode Complete access layer encryption success message to the gNB;
step S11: the gNB sends an RRC Reconfiguration message to the UE, wherein the RRC Reconfiguration message comprises a Registration Accept message;
step S12: the UE sends an RRC Reconfiguration Complete message to the gNB;
step S13: the gNB sends an Initial Context Setup Response message to the AMF, and the UE completes registration.
3. A method for fine timing of a NG-RAN network architecture, as claimed in claim 2, wherein: in performing step S6, the AMF is completed in conjunction with the PCF and the HSS.
4. A method for accurate timing of a NG-RAN network architecture, as claimed in claim 1, wherein: in performing step 4, the timeout is 80 ms.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010808726.3A CN111954297B (en) | 2020-08-12 | 2020-08-12 | Precise timing method of NG-RAN network architecture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010808726.3A CN111954297B (en) | 2020-08-12 | 2020-08-12 | Precise timing method of NG-RAN network architecture |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111954297A CN111954297A (en) | 2020-11-17 |
CN111954297B true CN111954297B (en) | 2022-06-10 |
Family
ID=73333104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010808726.3A Active CN111954297B (en) | 2020-08-12 | 2020-08-12 | Precise timing method of NG-RAN network architecture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111954297B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103796296A (en) * | 2012-11-02 | 2014-05-14 | 中国移动通信集团公司 | Time synchronization method, user equipment (UE) and base station of LTE (Long Term Evolution) system |
CN104410481A (en) * | 2014-11-28 | 2015-03-11 | 国家电网公司 | Time synchronization method and time synchronization system based on NTP (network time protocol) network |
WO2015036213A1 (en) * | 2013-09-12 | 2015-03-19 | Siemens Aktiengesellschaft | Method for localizing a frequency deviation in a communication network and corresponding communication network |
CN108243396A (en) * | 2016-12-27 | 2018-07-03 | 普天信息技术有限公司 | A kind of time synchronizing method and device |
-
2020
- 2020-08-12 CN CN202010808726.3A patent/CN111954297B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103796296A (en) * | 2012-11-02 | 2014-05-14 | 中国移动通信集团公司 | Time synchronization method, user equipment (UE) and base station of LTE (Long Term Evolution) system |
WO2015036213A1 (en) * | 2013-09-12 | 2015-03-19 | Siemens Aktiengesellschaft | Method for localizing a frequency deviation in a communication network and corresponding communication network |
CN104410481A (en) * | 2014-11-28 | 2015-03-11 | 国家电网公司 | Time synchronization method and time synchronization system based on NTP (network time protocol) network |
CN108243396A (en) * | 2016-12-27 | 2018-07-03 | 普天信息技术有限公司 | A kind of time synchronizing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN111954297A (en) | 2020-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102006646B (en) | Switching method and equipment | |
RU2446600C2 (en) | Method and devices for services rendered via switched channels in communications networks | |
US10716051B2 (en) | Method and apparatus for transmitting D2D discovery signal and communication system | |
CN110913497B (en) | Information reporting method, information acquisition method, terminal and network equipment | |
EP4216620A1 (en) | Time synchronization method and apparatus | |
CN102595637A (en) | Apparatuses and methods for handling mobility management back-offs | |
JP2019503635A (en) | Virtual user identification module authentication method and apparatus | |
CN104066070A (en) | Terminal registration method, terminal finding method, terminal and devices | |
US20230262459A1 (en) | Service authorization method, communication apparatus, and system | |
US20230262588A1 (en) | Cell configuration schemes in wireless communications | |
US11751248B2 (en) | Random access method, apparatus, and device | |
EP2555545B1 (en) | Method and system for selecting mobility management entity of terminal group | |
CN103152798A (en) | Method of handling system information reception and related communication device | |
WO2018045805A1 (en) | Network registration method and device | |
US11706588B2 (en) | Positioning method and apparatus for UE | |
CN111954297B (en) | Precise timing method of NG-RAN network architecture | |
WO2020244631A1 (en) | Service call processing method and device | |
EP3641426A1 (en) | Positioning apparatus and method | |
CN111866892A (en) | Method and device for realizing random access, user equipment and base station | |
CN107948995B (en) | Method and device for detecting LTE network access result and computer storage medium | |
KR102127028B1 (en) | Method and device for internet protocol multimedia subsystem terminal to access network | |
US20200107367A1 (en) | Determining device locations based on random access channel signaling | |
US20240147409A1 (en) | Location information sending method and apparatus, device, and storage medium | |
CN113676996A (en) | Satellite terminal registration method, system and terminal based on DVB and 5G fusion networking | |
EP4319233A1 (en) | Communication method and communication apparatus |
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 |