Message time processing method based on 5G TSN network
By unifying the base station clock source and computing the restart time in the 5G TSN network, the problem of heartbeat packet impact of the base station is solved, and the balanced processing of the network management system is realized, lag is avoided, and the normal operation of the 5G TSN system is ensured.
Patent Information
- Application Number
- CN202411159215.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-08-22
AI Technical Summary
The heartbeat message of the base station in the 5G TSN network impacts the network management system, causing the network management system to stutter and affects normal operation.
Through the unified base station clock source, the unified heartbeat message time interval and restart time are calculated and issued to avoid centralized reports of heartbeat messages. The network management system confirms the link delay difference through RPC messages to ensure balanced processing.
This avoids the lag caused by the network management system due to the concentrated reporting of a large number of heartbeat messages, and ensures the normal operation of the 5G TSN system.
Smart Images

Figure CN118921680A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technologies, and in particular to a message time processing method based on a 5G TSN network. Background Art
[0002] Time Sensitive Networking (TSN) refers to a set of protocol standards developed by the TSN Task Group in the IEEE802.1 Working Group. This standard defines a time-sensitive mechanism for Ethernet data transmission, adding determinism and reliability to standard Ethernet to ensure that Ethernet can provide a stable and consistent service level for the transmission of critical data.
[0003] 5G (5th Generation Mobile Communication Technology) is a new generation of broadband mobile communication technology with the characteristics of high speed, low latency and large connection. It is the network infrastructure for realizing the interconnection of man, machine and things. It has extremely high application value in factories, smart manufacturing, smart mines, industrial automation, smart transportation, smart grid, telemedicine, smart education, virtual reality and augmented reality. Especially when combined with production control, it can give full play to the technical advantages of 5G's low latency and large connection.
[0004] In the current technical research, the technology of merging 5G and TSN is proposed, which will promote the in-depth integration of 5G and TSN networks, thereby generating greater value. The 5G system is virtualized as a bridge in the TSN system, and the control plane (TSN AF) with TSN adaptation function is added to the application function (AF) network element in the network architecture of the 5G system, the network side TSN converter (NW-TT) with TSN adaptation function is added to the user plane function (UPF) network element, and the device side TSN converter (DS-TT) with TSN adaptation function is added to the user equipment (UE) network element. However, after the 5G system is deployed, when many 5G base station devices are running, the base station network management system uses the TR069 protocol to manage 5G base stations, and there will be a large number of heartbeat messages reported regularly. When the heartbeat messages of a large number of base stations are reported to the network management system at the same time, congestion is likely to occur, which will cause the network management system to crash.
[0005] In order to solve the above problems, the present invention proposes a message time processing method based on 5G TSN network. Summary of the invention
[0006] The purpose of the present invention is to propose a message time processing method based on a 5G TSN network to solve the problems raised in the background technology:
[0007] There is no solution in the existing network to solve the problem of base station heartbeat messages impacting the network management system in the 5G TSN network, which will cause the processing of the 5G network management system to be stuck and affect the normal operation of the network management function.
[0008] In order to achieve the above object, the present invention adopts the following technical solutions:
[0009] A method for processing message time based on a 5G TSN network comprises the following steps:
[0010] S1: Send the heartbeat messages of the base station and the base station to the network management system at the same time, that is, the base station and the network management system use the same clock source for timing and time synchronization;
[0011] S2: The network management system unifies the heartbeat message time interval IntervalTime of all base stations;
[0012] S3: The average of the link delay differences between the base station and the network management system confirmed by the network management system through RPC messages
[0013] S4: The network management system calculates the time SetStartTime for each base station to restart heartbeat message reporting i ;
[0014] S5: The network management system calculates the SetStartTime of all base stations i After the value is set, it is sent to all base stations;
[0015] S6: The base station receives the SetStartTime sent by the network management system i After that, stop reporting heartbeat messages immediately and wait for SetStartTime i After the time is reached, the heartbeat message will be reported to the network management system.
[0016] Preferably, S2 is specifically as follows:
[0017] S2.1: The network management system sends a message to all base stations to obtain the time interval for the heartbeat message reported by the base station;
[0018] S2.2: After receiving the message, the base station queries the locally configured heartbeat message time interval and returns it to the network management system;
[0019] S2.3: The network management system selects the largest time interval from the heartbeat message time intervals reported by the base stations as the unified heartbeat message time interval for all base stations;
[0020] S2.4: The network management system re-sends a unified heartbeat message time interval to all base stations;
[0021] S2.5: After receiving the heartbeat message time interval, all base stations reconfigure the local heartbeat time interval and return a response to the network management system.
[0022] Preferably, S3 is specifically as follows:
[0023] S3.1: The network management system sends a synchronous RPC message GetParameterValues to all managed base stations, carrying the parameter name Device.Time.CurrentLocalTime of the base station local time;
[0024] S3.2: After receiving the message, the base station uses the RPC message GetParameterValuesResponse to return the value of the parameter Device.Time.CurrentLocalTime to the network management system;
[0025] S3.3: The network management system collects the Device.Time.CurrentLocalTime values of all base stations through S3.1 to S3.2 three times in succession, compares it with the current time CurrentACSTime of the network management system server, and obtains the average value of the transmission delay difference Where i represents the base station ID of the base station management, starting from 1 to n; the transmission delay from base station i to the network management system server is OffSetTime i The calculation is as follows:
[0026]
[0027] Among them, CurrentACSTime i1 Indicates the base station local time returned by base station i for the first time; CurrentLocalTime i1 Indicates the current time when the network management system server receives the first message from base station i and returns it to the local network management system server of the base station; CurrentACSTime i2 Indicates the base station local time returned by base station i for the second time; CurrentLocalTime i2 Indicates the current time when the network management system server receives the second message from base station i and returns it to the local network management system server of the base station; CurrentACSTime i3 Indicates the base station local time returned by base station i for the third time; CurrentLocalTime i3 Indicates the current time when the network management system server receives the third message returned by base station i to the local network management system server of the base station.
[0028] Preferably, the S4 is specifically as follows:
[0029] Set the time when base station 1 starts reporting heartbeat messages as SetStartTime1, the transmission delay from base station 1 to the network management system server as OffSetTime1, and the time ReceiveTime1 from the start of reporting to the network management system receiving the heartbeat message is calculated as follows:
[0030] ReceiveTime1=SetStartTime1+OffSetTime1
[0031] The time SetStartTime1 when base station i starts reporting heartbeat messages is calculated as follows:
[0032] SetStartTime1=ReceiveTime1+ReIntervalTime*(i-1)-OffSetTime1
[0033] The actual interval time ReIntervalTime of the constrained network management system after receiving the heartbeat messages from all base stations is calculated as follows:
[0034] ReIntervalTime=(OffSetTimeMax+IntervalTime) / n
[0035] Among them, OffSetTimeMax is the average transmission delay The maximum value in .
[0036] Compared with the prior art, the present invention provides a message time processing method based on 5G TSN network, which has the following beneficial effects:
[0037] The present invention unifies the time for base stations and base station heartbeat messages to impact the network management system, calculates the transmission delay from all base stations to the network management and determines the sending time of the base stations, so that the network management system can evenly receive and process the heartbeat messages reported by the base stations, avoiding the periodic centralized reporting of a large number of heartbeat messages to the network management system, and the network management system fails to process them in time, resulting in the network management system being stuck, affecting the normal operation of the 5G TSN system. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 This is a flow chart of the method mentioned in Example 1 of the present invention;
[0039] Figure 2 It is a flow chart of the time interval IntervalTime of the heartbeat message of the network management unified base station mentioned in Example 1 of the present invention;
[0040] Figure 3This is a flow chart of the network manager mentioned in Embodiment 1 of the present invention confirming the link delay set from the base station to the network manager through the RPC message. DETAILED DESCRIPTION
[0041] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0042] The present invention unifies the time for the base station and the base station heartbeat message to impact the network management system, calculates the transmission delay from all base stations to the network management and determines the sending time of the base station, so that the network management system can evenly receive and process the heartbeat messages reported by the base station, avoiding the periodic large number of heartbeat messages concentratedly reported to the network management system, and the network management system is not processed in time, which causes the network management system to freeze and affects the normal operation of the 5G TSN system. Specifically including the following contents.
[0043] Embodiment 1:
[0044] See also Figure 1-3 The present invention provides a message time processing method based on a 5G TSN network, comprising the following steps:
[0045] S1: The heartbeat messages of the base station and the base station impact the network management system at the same time, that is, the base station and the network management system use the same clock source for timing and time synchronization; the details are as follows:
[0046] The base station and the network management system use a unified clock source for timing and unified time. The unified timing clock can use GPS, Beidou or a unified clock source can also be located on the 5G core network equipment, such as based on NTP (Network Time Protocol) network timing.
[0047] S2: The network management system unifies the heartbeat message time interval IntervalTime of all base stations; the details are as follows: For details, please refer to Figure 2 ;
[0048] S2.1: First, the network management system sends a message to all base stations to obtain the time interval for the base stations to report heartbeat messages. The network management system sends a message to all managed base stations 1 to base station n to obtain the heartbeat message time interval IntervalTime of all managed base stations 1 to base station n. Using XML (Extensible Markup Language) format SOAP (Simple Object Access Protocol) to describe the message sent by the network management system to base station 1 to obtain the heartbeat message time interval is as follows:
[0049] <SOAP-ENV:Envelope xmlns:SOAP-ENC="http: / / schemas.xmlsoap.org / soap / encoding / "
[0050]
[0051] The parameter Device.ManagementServer.PeriodicInformInterval indicates the parameter name of the time interval for the base station to report the heartbeat message, which the network management system needs to obtain.
[0052] S2.2: After receiving the message, the base station queries the locally configured heartbeat message time interval and returns it to the network management system. Base station 1 to base station n query the heartbeat message time interval configured by themselves and return the corresponding parameter value to the network management system.
[0053] For details, please refer to the message of the time interval of the heartbeat message returned by base station 1 locally configured:
[0054] <? xml version="1.0" encoding="UTF-8" standalone="no"? >
[0055] <soap_env:Envelope xmlns:soap_env="http: / / schemas.xmlsoap.org / soap / envelope / "xmlns:soap_enc="http: / / schemas.xmlsoap.org / soap / encoding / "xmlns:xsd="http: / / www.w3.org / 2001 / XMLSchema"
[0056] xmlns:xsi="http: / / www.w3.org / 2001 / XMLSchema-instance"xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
[0057] <soap_env:Header>
[0058] <cwmp:ID soap_env:mustUnderstand="1"> ID:intrnl.unset.id.GetParameterValues1586853135635.1190005599
[0059] < / soap_env:Header>
[0060] <soap_env:Body>
[0061] <cwmp:getparametervaluesresponse>
[0062] <ParameterListsoap_enc:arrayType="cwmp:ParameterInfoStruct[1]">
[0063] <parametervaluestruct>
[0064]
[0065] In the above message, the value 5 corresponding to the parameter Device.ManagementServer.PeriodicInformInter-val is the time interval of the heartbeat message of base station 1, which means 5s.
[0066] S2.3: The network management system receives the time interval of the heart messages reported by all managed base stations, and selects the largest value as the unified IntervalTime value. For example: the IntervalTime reported by base station 1 is 5s, the IntervalTime reported by base station 2 is 7s, and the IntervalTime reported by base station n is 10s, which is the largest IntervalTime value among all base stations (the IntervalTime values reported by other base stations in this embodiment are all less than 10s), so 10s of base station n is selected as the unified IntervalTime value.
[0067] S2.4: The network management system re-sends a unified heartbeat message time interval to all base stations; the network management sends the data of the maximum IntervalTime value of 10s in step 2.3 to all base stations. You can refer to the setting of the heartbeat message sent by the network management system to base station 1:
[0068]
[0069]
[0070]
[0071] Where 10 means that the Device.ManagementServer.PeriodicInformInterval value is set to 10s.
[0072] S2.5: After receiving the heartbeat message time interval, all base stations reconfigure the local heartbeat time interval and return a response to the network management system.
[0073] After receiving the IntervalTime value sent by the network management system, base station 1 to base station n set the local IntervalTime to the corresponding value (for example, 10s in step 4), and then reply to the network management system that the sending is successful.
[0074] S3: The average of the link delay differences between the base station and the network management system confirmed by the network management system through RPC messages The details are as follows: Figure 3 ;
[0075] S3.1: The network management system sends a synchronous RPC message GetParameterValues to all managed base stations, and carries the parameter name Device.Time.CurrentLocalTime of the base station local time;
[0076] For example, the network management system sends the following GetParameterValues message to base station 1:
[0077] <cwmp:ID
[0078] SOAP-ENV:mustUnderstand="1">ID:intrnl.unset.id.GetParameterValues1565430643371.870050275
[0079]
[0080] <cwmp:nomorerequests> 0
[0081] < / cwmp:nomorerequests>
[0082]
[0083] <soap-env:body>
[0084] <cwmp:getparametervalues>
[0085] <ParameterNames SOAP-ENC:arrayType="xsd:strin g[1]">
[0086] <string>Device.Time.CurrentLocalTime< / strin g>
[0087]
[0088] < / string> < / cwmp:getparametervalues>
[0089] < / soap-env:body>
[0090]
[0091] The message carries the parameter Device.Time.CurrentLocalTime, which indicates obtaining the local time information of the base station.
[0092] S3.2: After receiving the message, the base station responds with the RPC message GetParameterValuesResponse, which carries the base station local time;
[0093] For example, base station 1 responds to the network management system using GetParameterValuesResponse. The message is as follows:
[0094] <? xml version="1.0" encoding="utf-8" standalone="no"? >
[0095] <soap_env:Envelope xmlns:cwmp="urn:dslforum-org:cwmp-1-0"xmlns:soap_enc="http: / / schemas.xmlsoap.org / soap / encoding / "xmlns:soap_env="http: / / schemas.xmlsoap.org / soap / envelope / "xmlns:xsd="http: / / www.w3.org / 2001 / XMLSchema"
[0096] xmlns:xsi="http: / / www.w3.org / 2001 / XMLSchema-instance">
[0097] <soap_env:Header>
[0098] <cwmp:ID
[0099] soap_env:mustUnderstand="1">ID:com.ctran.ums.acs.GetParameterValues.1639636729718.nxjhsT
[0100] < / soap_env:Header>
[0101] <soap_env:Body>
[0102] <cwmp:getparametervaluesresponse>
[0103] <ParameterListsoap_enc:arrayType="cwmp:ParameterValueStruct[1]">
[0104] <parametervaluestruct>
[0105] <name>Device.Time.CurrentLocalTime< / Nam e>
[0106] <Valuexsi:type="xsd:dateTime">2024-07-11T19:15:01:000
[0107] < / name> < / parametervaluestruct>
[0108]
[0109] Among them, the base station local time reported by base station 1 is 2024-07-11T19:15:01:000.
[0110] S3.3: The network management system collects the Device.Time.CurrentLocalTime values of all base stations through the above steps three times in a row, compares it with the current time CurrentACSTime of the network management system server, and obtains the average value of the transmission delay difference. Wherein, i represents the base station ID of the base station management, starting from 1 to n;
[0111]
[0112] Among them, CurrentACSTime i1 Indicates the base station local time returned by base station i for the first time; CurrentLocalTime i1 Indicates the current time when the network management system server receives the first message from base station i and returns it to the local network management system server of the base station; CurrentACSTime i2 Indicates the base station local time returned by base station i for the second time; CurrentLocalTime i2 Indicates the current time when the network management system server receives the second message from base station i and returns it to the local network management system server of the base station; CurrentACSTime i3 Indicates the base station local time returned by base station i for the third time; CurrentLocalTime i3 Indicates the current time when the network management system server receives the third message from base station i and returns it to the local network management system server of the base station; OffSetTime i is the transmission delay from base station i to the network management system server, which is used to compare the time of the three events returned by the base station with the time of the network management server and calculate the average value of the delay.
[0113] For example: i = 1,
[0114] CurrentACSTime i1 =2024-07-11T19:15:01:000,
[0115] CurrentLocalTime i1 =2024-07-11T19:15:00:000;
[0116] CurrentACSTime i2 =2024-07-11T19:15:06:000,
[0117] CurrentLocalTime i2 =2024-07-11T19:15:05:000;
[0118] CurrentACSTime i3 =2024-07-11T19:15:10:000,
[0119] CurrentLocalTime i3 =2024-07-11T19:15:09:000;
[0120] Then OffSetTime1 = (1000ms + 1000ms + 1000ms) / 3 = 1000ms; it means that the transmission delay difference of base station 1 is 1s, and the minimum granularity unit of time expression in the above process is milliseconds. The absolute value of the difference between the local time of the base station and the time when the network management system server receives the message is calculated in the above formula to avoid negative numbers in the calculation.
[0121] S4: The network management system calculates the time SetStartTime for each base station to restart heartbeat message reporting i ; The details are as follows:
[0122] S4.1: Set the time for base station 1 to start heartbeat reporting to SetStartTime1. The estimated time for the network management system to receive the heartbeat after it is started:
[0123] ReceiveTime1=SetStartTime1+OffSetTime1
[0124] For example: To set the time for base station 1 to start heartbeat:
[0125] SetStartTime1=2024-07-11T20:00:05:000
[0126] OffSetTime1=1000ms
[0127] The estimated time for the network management system to receive the heartbeat after it is enabled is:
[0128] ReceiveTime1=2024-07-11T20:00:06:000
[0129] S4.2: The time when base station i starts to report heartbeat:
[0130] SetStartTime1=ReceiveTime1+ReIntervalTime*(i-1)-OffSetTime1
[0131] The actual interval time ReIntervalTime of the constrained network management system after receiving the heartbeat messages from all base stations is calculated as follows:
[0132] ReIntervalTime=(OffSetTimeMax+IntervalTime) / n
[0133] Among them, OffSetTimeMax is the average transmission delay difference The maximum value.
[0134] For example: OffSetTimeMax = 4s, which means the maximum transmission delay from all base stations to the network management system server is 4s. IntervalTime = 10s, which means the interval between each base station sending heartbeat messages is 10s. The number of base stations managed by the network management system is n = 1000, then:
[0135] ReIntervalTime=(OffSetTimeMax+IntervalTime) / n
[0136] =(4s+10s) / 1000=0.014s=14ms
[0137] It indicates that the time difference between the consecutive heartbeat messages received by the network management system is 14ms.
[0138] ReIntervalTime takes into full account the maximum transmission delay from the base station to the network management system server, the heartbeat message time interval and the number of base stations.
[0139] When i=3, if OffSetTime3=2s (the transmission delay between base station 3 and the network management system is 2s), then:
[0140] SetStartTime3=ReceiveTime1+ReIntervalTime*(3-1)-OffSetTime3
[0141] =2024-07-11T20:00:06:000+14*2(ms)-2000(ms)
[0142] =2024-07-11T20:00:06:000-1972ms
[0143] =2024-07-11T20:00:04:028
[0144] That is, the time when base station 3 starts to generate heartbeat messages is 2024-07-11T20:00:04:028.
[0145] S5: The network management system completes the SetStartTime of all base stations i After the value is set, it is sent to all base stations;
[0146] S6: The base station receives the SetStartTime sent by the network management system i After that, stop reporting heartbeat messages immediately and wait for SetStartTime i After the time is reached, the heartbeat message will be reported to the network management system.
[0147] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.< / cwmp:getparametervaluesresponse> < / parametervaluestruct> < / cwmp:getparametervaluesresponse>
Claims
1. A message time processing method based on 5G TSN network, characterized in that: The steps include: S1: Send the heartbeat messages of the base station and the base station to the network management system at the same time, that is, the base station and the network management system use the same clock source for timing and time synchronization; S2: The network management system unifies the heartbeat message time interval IntervalTime of all base stations; S3: The average of the link delay differences between the base station and the network management system confirmed by the network management system through RPC messages S4: The network management system calculates the time SetStartTime for each base station to restart heartbeat message reporting i ; S5: The network management system calculates the SetStartTime of all base stations i After the value is set, it is sent to all base stations; S6: The base station receives the SetStartTime sent by the network management system i After that, stop reporting heartbeat messages immediately and wait for SetStartTime i After the time is reached, the heartbeat message will be reported to the network management system.
2. According to a method for processing message time based on 5G TSN network according to claim 1, it is characterized in that: The S2 is specifically as follows: S2.1: The network management system sends a message to all base stations to obtain the time interval for the heartbeat message reported by the base station; S2.2: After receiving the message, the base station queries the locally configured heartbeat message time interval and returns it to the network management system; S2.3: The network management system selects the largest time interval from the heartbeat message time intervals reported by the base stations as the unified heartbeat message time interval for all base stations; S2.4: The network management system re-sends a unified heartbeat message time interval to all base stations; S2.5: After receiving the heartbeat message time interval, all base stations reconfigure the local heartbeat time interval and return a response to the network management system.
3. According to a method for processing message time based on 5G TSN network according to claim 2, it is characterized in that: The S3 is as follows: S3.1: The network management system sends a synchronous RPC message GetParameterValues to all managed base stations, carrying the parameter name Device.Time.CurrentLocalTime of the base station local time; S3.2: After receiving the message, the base station uses the RPC message GetParameterValuesResponse to return the value of the parameter Device.Time.CurrentLocalTime to the network management system; S3.3: The network management system collects the Device.Time.CurrentLocalTime values of all base stations through S3.1 to S3.2 three times in succession, compares it with the current time CurrentACSTime of the network management system server, and obtains the average value of the transmission delay difference Where i represents the base station ID of the base station management, starting from 1 to n; the transmission delay from base station i to the network management system server is OffSetTime i The calculation is as follows: Among them, CurrentACSTime i1 Indicates the base station local time returned by base station i for the first time; CurrentLocalTime i1 Indicates the current time when the network management system server receives the first message from base station i and returns it to the local network management system server of the base station; CurrentACSTime i2 Indicates the base station local time returned by base station i for the second time; CurrentLocalTime i2 Indicates the current time when the network management system server receives the second message from base station i and returns it to the local network management system server of the base station; CurrentACSTime i3 Indicates the base station local time returned by base station i for the third time; CurrentLocalTime i3 Indicates the current time when the network management system server receives the third message returned by base station i to the local network management system server of the base station.
4. According to a method for processing message time based on 5G TSN network according to claim 3, it is characterized in that: The S4 is specifically as follows: Set the time when base station 1 starts reporting heartbeat messages as SetStartTime1, the transmission delay from base station 1 to the network management system server as OffSetTime1, and the time ReceiveTime1 from the start of reporting to the network management system receiving the heartbeat message is calculated as follows: ReceiveTime1=SetStartTime1+OffSetTime1 The time SetStartTime1 when base station i starts reporting heartbeat messages is calculated as follows: SetStartTime1=ReceiveTime1+ReIntervalTime*(i-1)-OffSetTime1 The actual interval time ReIntervalTime of the constrained network management system after receiving the heartbeat messages from all base stations is calculated as follows: ReIntervalTime=(OffSetTimeMax+IntervalTime) / n Among them, OffSetTimeMax is the average transmission delay The maximum value in .
Citation Information
Patent Citations
Clock synchronization network energy saving method and device and storage medium
CN112769606A
Clock synchronization method and device of vehicle infrastructure cooperative system
CN114189808A
Industrial internet data acquisition control system and computer equipment
CN116980450A
