CN116260772A - Bridge end-to-end deterministic forwarding method, bridge transmitting end and receiving end - Google Patents

Bridge end-to-end deterministic forwarding method, bridge transmitting end and receiving end Download PDF

Info

Publication number
CN116260772A
CN116260772A CN202111463117.XA CN202111463117A CN116260772A CN 116260772 A CN116260772 A CN 116260772A CN 202111463117 A CN202111463117 A CN 202111463117A CN 116260772 A CN116260772 A CN 116260772A
Authority
CN
China
Prior art keywords
message
bridge
residence time
receiving
time
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.)
Pending
Application number
CN202111463117.XA
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202111463117.XA priority Critical patent/CN116260772A/en
Priority to PCT/CN2022/128459 priority patent/WO2023098367A1/en
Publication of CN116260772A publication Critical patent/CN116260772A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations
    • 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/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The embodiment of the application relates to the field of communication transmission, in particular to a network bridge end-to-end deterministic forwarding method, a network bridge sending end and a receiving end. The method comprises the steps of being applied to a network bridge sending end, receiving a message transmitted by a network bridge receiving end, and caching the message; the message carries a receiving time stamp of the message received by the network bridge receiving end from the time sensitive network TSN system; under the condition that the actual residence time of the cached message in the network bridge reaches the set network bridge fixed residence time according to the receiving timestamp, sending the cached message; the bridge fixed residence time is smaller than a first preset time threshold, the duty ratio of the overtime message is smaller than a preset duty ratio threshold, and the overtime message is a message with the actual residence time in the bridge larger than the bridge fixed residence time. The method and the device can effectively solve the problems of jitter, disorder or packet loss of TSN messages when the TSN messages are transmitted in the 5G network bridge.

Description

Bridge end-to-end deterministic forwarding method, bridge transmitting end and receiving end
Technical Field
The embodiment of the invention relates to the field of communication transmission, in particular to a network bridge end-to-end deterministic forwarding method, a network bridge transmitting end and a receiving end.
Background
As a new generation mobile communication system, the 5G network has wide application scene on the industrial Internet, and can not only meet the flexible mobility of industrial Internet equipment, but also assist the flexible production of factories; the system also has differentiated network customization capability and can meet various business requirements. 5G networks have a wide range of applications, but at the same time face unprecedented challenges. For example, scenes such as industrial control, automatic driving and the like have strict requirements on time delay, jitter and packet loss of a network; this deterministic transmission requirement is difficult to achieve in current mobile networks because conventional networks employ best effort forwarding models, and it is difficult to guarantee delay and jitter in the worst case.
TSN (Time Sensitive Network ) is a set of data link layer protocol specifications developed by the IEEE802.1 task group, with the aim of building a more reliable, low latency, low jitter ethernet. The TSN can provide microsecond deterministic service, and real-time requirements of various industries are guaranteed. The 5G TSN technology can meet various indexes of deterministic communication in wireless network transmission depending on deterministic time delay provided by the wireless access of 5G and the TSN, and is an important foundation for realizing industrial Internet wireless and flexible manufacturing in the future.
As shown in fig. 1, the TSN integrates the 5G system as a bridge in the TSN system, and the TSN network and the 5G network are mutually communicated through a TSN converter function. The TSN converter comprises DS-TT (Device Side TSN Translator, device side TSN converter) and NW-TT (Network Side TSN Translator, network side TSN converter); wherein the DS-TT is located at the terminal side, the NW-TT is located at the network side, and the message can enter the 5G network bridge from the DS-TT or the NW-TT, such as the illustrated TSN logical network bridge. Wherein AMF is Access and Mobility Management Function, access and mobility management function, SMF is Session Management function, session management function, PCF is Policy Control function, policy control function, UPF is The User plane function, user plane function; AF is Application function, application function; the UE is User Equipment, and the TSN System module on the left side in the figure includes devices where the User hangs on two ends of the bridge, for example, power grid devices, detected meters, and the like, which can be regarded as consumers of the TSN System. The whole 5G network comprises a terminal, a wireless, a bearing network and a core network, the message is subjected to more links, and even under the condition of deterministic scheduling of the RAN (Radio Access Network, a wireless access network), the message can still have the conditions of jitter, sporadic disorder and the like.
Disclosure of Invention
The embodiment of the invention aims to provide a network bridge end-to-end deterministic forwarding method, a network bridge sending end and a receiving end, and the problem that jitter, accidental disorder or packet loss is generated in the message transmission process is avoided.
In order to solve the above technical problems, the embodiment of the present invention provides a deterministic forwarding method from end to end of a bridge, which is applied to a sending end of the bridge, and includes the following steps: receiving a message transmitted by a receiving end of a network bridge, and caching the message; the message carries a receiving time stamp of the message received by the network bridge receiving end from the time sensitive network TSN system; under the condition that the actual residence time of the cached message in the network bridge reaches the set network bridge fixed residence time according to the receiving timestamp, sending the cached message; the bridge fixed residence time is smaller than a first preset time threshold, the duty ratio of the overtime message is smaller than a preset duty ratio threshold, and the overtime message is a message with the actual residence time in the bridge larger than the bridge fixed residence time.
The embodiment of the invention also provides a method for forwarding the network bridge end-to-end certainty, which is applied to the network bridge receiving end and comprises the following steps: receiving a message from a time sensitive network TSN system, and recording the receiving time of the message; transmitting a message to a network bridge transmitting end; the message carries a receiving time stamp indicating a receiving time, and is used for the network bridge transmitting end to transmit the message under the condition that the actual residence time of the message in the network bridge reaches the set network bridge fixed residence time according to the receiving time stamp, wherein the network bridge fixed residence time is smaller than a first preset time threshold, the occupancy rate of the overtime message is smaller than a preset occupancy rate threshold, and the overtime message is the message that the actual residence time in the network bridge is larger than the network bridge fixed residence time.
The embodiment of the invention also provides a network bridge transmitting end, which comprises the following steps: the receiving module is used for receiving the message transmitted by the receiving end of the network bridge; the message carries a receiving time stamp of the message received by the network bridge receiving end from the time sensitive network TSN system; the buffer module is used for buffering the message; the sending module is used for sending the cached message under the condition that the actual residence time of the cached message in the network bridge reaches the set network bridge fixed residence time according to the receiving timestamp; the bridge fixed residence time is smaller than a first preset time threshold, the duty ratio of the overtime message is smaller than a preset duty ratio threshold, and the overtime message is a message with the actual residence time in the bridge larger than the bridge fixed residence time.
The embodiment of the invention also provides a network bridge receiving end, which comprises the following components: the receiving module is used for receiving the message from the time sensitive network TSN system and recording the receiving time of the message; the sending module is used for transmitting the message to the network bridge sending end; the message carries a receiving time stamp indicating a receiving time, and is used for the network bridge transmitting end to transmit the message under the condition that the actual residence time of the message in the network bridge reaches the set network bridge fixed residence time according to the receiving time stamp, wherein the network bridge fixed residence time is smaller than a first preset time threshold, the occupancy rate of the overtime message is smaller than a preset occupancy rate threshold, and the overtime message is the message that the actual residence time in the network bridge is larger than the network bridge fixed residence time.
The embodiment of the invention also provides electronic equipment, and at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the above-described bridge end-to-end deterministic forwarding method applied to a bridge sender or to perform the above-described bridge end-to-end deterministic forwarding method applied to a bridge receiver.
Embodiments of the present invention also provide a computer-readable storage medium comprising: the computer program when executed by the processor implements the above-described bridge end-to-end deterministic forwarding method applied to the sending end of the bridge, or implements the above-described bridge end-to-end deterministic forwarding method applied to the receiving end of the bridge.
In the embodiment of the application, the network bridge sending end receives the message transmitted by the network bridge receiving end, wherein the message carries the receiving timestamp of the message received by the network bridge receiving end from the time sensitive network TSN system, and the receiving timestamp can be used for determining the actual residence time; the relation between the actual residence time of the message and the fixed residence time of the network bridge solves the problems of message jitter and disorder, and finally can reduce the message transmission delay on the premise of ensuring the deterministic forwarding of the message.
Drawings
FIG. 1 is a schematic diagram of the background art;
FIG. 2 is a flow chart of a method of bridge end-to-end deterministic forwarding provided in accordance with one embodiment of the present application;
FIG. 3 is a schematic diagram of a bridge end-to-end deterministic forwarding method according to one embodiment of the present application;
FIG. 4 is a flow chart of a method of deterministic forwarding from end to end of a bridge provided in accordance with another embodiment of the present application;
fig. 5 is a schematic diagram of a bridge sender provided according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a bridge receiver provided according to one embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the following detailed description of the embodiments of the present invention will be given with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present invention, numerous technical details have been set forth in order to provide a better understanding of the present application. However, the technical solutions claimed in the present application can be implemented without these technical details and with various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not be construed as limiting the specific implementation of the present invention, and the embodiments can be mutually combined and referred to without contradiction.
The terms "first", "second" in the embodiments of the present application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the terms "comprise" and "have," along with any variations thereof, are intended to cover non-exclusive inclusions. For example, a system, article, or apparatus that comprises a list of elements is not limited to only those elements or units listed but may alternatively include other elements not listed or inherent to such article, or apparatus. In the description of the present application, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
As described in the technical background, the TSN network regards the entire 5G system as a logical bridge, and the entire 5G network includes a terminal, a radio, a bearer network, and a core network; since the base station may be interfered by the wireless environment, and the 5G core network may also be affected by the deployment scheme, the scale, etc., the message may possibly shake, be sporadically disordered, or be lost. One embodiment of the invention relates to a method for forwarding end-to-end certainty of a network bridge, which is applied to a network bridge transmitting end. The specific flow is shown in fig. 2.
Step 101, receiving a message transmitted by a receiving end of a network bridge and caching the message; the message carries a receiving time stamp of the message received by the network bridge receiving end from the time sensitive network TSN system;
step 102, under the condition that the actual residence time of the cached message in the network bridge reaches the set network bridge fixed residence time according to the receiving timestamp, sending the cached message; the bridge fixed residence time is smaller than a first preset time threshold, the duty ratio of the overtime message is smaller than a preset duty ratio threshold, and the overtime message is a message with the actual residence time in the bridge larger than the bridge fixed residence time.
In this embodiment, the bridge sending end receives the message transmitted by the bridge receiving end, where the message carries a receiving timestamp of the message received by the bridge receiving end from the time sensitive network TSN system, and the receiving timestamp can be used to determine the actual residence time; the relation between the actual residence time of the message and the fixed residence time of the network bridge solves the problems of message jitter and disorder, and finally can reduce the message transmission delay on the premise of ensuring the deterministic forwarding of the message.
The implementation details of the bridge end-to-end deterministic forwarding method according to the present embodiment are specifically described below, and the following description is merely provided for convenience of understanding, and is not a necessity for implementing the present embodiment.
In step 101, a message transmitted by a receiving end of a network bridge is received, and the message is cached; the message carries a receiving time stamp of the message received by the network bridge receiving end from the time sensitive network TSN system. Namely, the message acquired by the receiving end of the receiving network bridge comprises time information of the receiving network bridge end receiving the message from the TSN system.
In addition, clock synchronization is a precondition for realizing TSN network deterministic forwarding, and the bridge transmitting end and the bridge receiving end need to realize clock synchronization. Specifically, the delay of the message in the bridge is calculated through the timestamp difference value of the message at the outlet and the inlet of the bridge, and whether the residence time of the bridge is reached is judged, so that clock synchronization is needed to be realized on DS-TT and NW-TT on the premise.
In one example, before receiving the message transmitted by the receiving end of the network bridge, the method further includes: setting the fixed residence time of the network bridge as an initial value, wherein the initial value is smaller than a second preset time threshold; the second preset time threshold is smaller than the first preset time threshold; counting the duty ratio of a timeout message in a sampling period; under the condition that the counted duty ratio is larger than a preset duty ratio threshold, adjusting the fixed residence time of the network bridge, wherein the adjusted fixed residence time of the network bridge is an integral multiple of a transmission gating period and smaller than a first preset time threshold; repeatedly executing statistics on the duty ratio of the timeout message in one sampling period and the adjustment of the fixed residence time of the network bridge until the duty ratio of the timeout message is smaller than a preset duty ratio threshold; and acquiring the set bridge fixed residence time according to the bridge fixed residence time adjusted last time. Specifically, the stage can be considered to acquire a proper network bridge residence time, and the network bridge residence time can be acquired through manual configuration or a fixed measurement method on the premise of meeting the user delay and jitter, but the acquired value is generally not ideal, the transmission delay is increased due to larger value, and the message jitter frequency is increased due to smaller value.
In one implementation, the message resides within the bridge for a bridge fixed residence time T keep-time And by calculating the time stamp difference between the sending end and the receiving end of the message, the residence time of the message in the network bridge is obtained as T. The arrival of a message at the bridge sender can be divided into two cases, one is the early arrival (T<T keep-time ) One is the time-out arrival (T>=T keep-time ) The method comprises the steps of carrying out a first treatment on the surface of the For the message arriving in advance, the message can be solved by a caching mechanism; whereas for a message arriving over time, it will be appreciated that the message is not meaningful, either discarded or sent may be selected. The more messages that arrive over time, the higher the representative jitter frequency.
The number of messages arriving over time is defined as N over-time The number of messages arriving in advance can be defined as N pre-arrive The message occupancy rate reached in time-out is r=n over-time /(N over-time +N pre-arrive ) The method comprises the steps of carrying out a first treatment on the surface of the It is assumed that the proportion of messages arriving over time must not exceed R set And the time delay required by the user must not exceed a first preset time threshold T set . Wherein the second predetermined time threshold is smaller than the first predetermined time threshold, e.g. approaching 0, i.e. the initial phase message is at the 5G bridge residence time T keep-time In an initial sampling period (a period of time or N messages are received), all the received messages at the 5G network bridge transmitting end are overtime messages, and the overtime arrival message accounts for R=1; at this time pair T keep-time Make adjustments, but T keep-time The value of (2) needs to be integer times of the transmission gating period and T keep-time <T set After the adjustment, statistics and calculation of the next sampling period are started. After a plurality of sampling periods, T keep-time Is continuously regulated, the message duty ratio R reaching overtime is also continuously reduced, when R is satisfied<R set And T is keep-time <T set T is then keep-time I.e. the acquired fixed bridge residence time.
The residence time is used for absorbing jitter, for example, the message sending time delay is 3-5 s, and the jitter is any numerical value in the range of 3-5 s, which is possible, the message sending time delay is indefinite; and setting the transmission gating period to be 10s, and transmitting after the transmission gating period is 10s is met no matter the actual time delay of the message is 3s,4s or 5s, namely unifying the time delay of message transmission and absorbing jitter. The transmission gating period is used for processing different data streams, and when a plurality of data streams need to be transmitted at the same time, the data streams which are allowed to be transmitted in the current time period are controlled.
In one example, obtaining the set bridge fixed residence time based on the last adjusted bridge fixed residence time includes: the last adjusted network bridge fixed residence time is sent to an application function entity in the network bridge, and the supply function entity determines the network bridge fixed residence time suitable for both the uplink data stream and the downlink data stream according to the network bridge fixed residence time sent by the network bridge sending end and the network bridge fixed residence time sent by the network bridge receiving end; and receiving the applicable bridge fixed residence time issued by the application functional entity as the set bridge fixed residence time. That is, T can be keep-time Is configured on an AF (Application Function ) entity, T is set by AF keep-time Respectively issued to both ends of the 5G bridge. Wherein, the upstream is the residence time learning on NW-TT, and the downstream is the DS-TT, and finally T keep-time The maximum of the two is also taken. Because the upstream and downstream are generally symmetrical, i.e., T keep-time If the maximum value is not taken, there is a problem that one side cannot realize the jitter absorbing effect after adjustment due to a short time delay, so the maximum value is generally taken.
In one example, after receiving the message transmitted by the receiving end of the network bridge, the method further includes: according to the received time stamp of the received message, carrying out duplicate removal processing on the received message; caching a message, including: caching the message subjected to the duplicate removal processing. That is, the message arrives at the sending end of the network bridge through the transmitting end of the network bridge, and after the sending end of the network bridge receives the message, the message is subjected to duplication elimination and buffer processing according to the time stamp in the message. Specifically, as shown in the structure of fig. 3, after receiving the TSN service message, the sending end of the bridge decapsulates the message to obtain the message, and enters the bridgeIs to be received with a time stamp T in Searching a buffer area of a network bridge transmitting end according to the time stamp to check whether messages with the same time stamp exist, and if so, considering the current message as a copy message and directly discarding the copy message; otherwise, the current message is stored in the buffer area.
In step 102, under the condition that the actual residence time of the cached message in the network bridge reaches the set network bridge fixed residence time according to the receiving timestamp, sending the cached message; the bridge fixed residence time is smaller than a first preset time threshold, the duty ratio of the overtime message is smaller than a preset duty ratio threshold, and the overtime message is a message with the actual residence time in the bridge larger than the bridge fixed residence time. That is, the bridge fixed residence time needs to be smaller than a first preset time threshold, and the duty ratio of the timeout message selected according to the bridge fixed residence time needs to be smaller than a preset duty ratio threshold.
In one example, in a case where it is determined that an actual residence time of the buffered packet in the bridge reaches a set bridge fixed residence time according to the reception timestamp, transmitting the buffered packet includes: and under the condition that the actual residence time of the cached message in the network bridge is detected to be smaller than the fixed residence time of the network bridge according to the receiving timestamp and the difference value between the actual residence time of the cached message in the network bridge and the fixed residence time of the network bridge is detected to be smaller than the sending gating period, the cached message is moved into a sending area, and the message in the sending area is sent according to the sending gating period. The sending end of the network bridge circularly scans the buffer area, judges whether the message reaches the residence time of the network bridge according to the time stamp, and if so, the message is converted into a sending state, is moved into the sending area, and is sent after the gate control reaches.
Specifically, the bridge sender obtains the current time T current Circularly scanning the buffer area to obtain the current time and the receiving time stamp T of the buffer area message in Comparing, e.g. (T) current -T in )<T keep-time And (T) current -T in )>(T keep-time 1/m time interval), i.e. in case the difference from the bridge fixed residence time is smaller than the transmission gating period, the message enters the state to be transmitted, moves into the transmitting zone, waitsThe gate is sent when it is open. The time interval is a message sending gating period, in order to eliminate errors, a window for extracting a message from a buffer area is shifted to the left by 1/m sending gating periods, and m is a positive number greater than 1.
In one example, the method further comprises: and discarding the cached message under the condition that the actual residence time of the cached message in the network bridge exceeds the fixed residence time of the network bridge according to the receiving timestamp. Specifically, if (T) current -T in )>=T keep-time Indicating that the packet is a message arriving overtime, the packet may be discarded; in addition, a message arriving overtime can be set according to the requirement of the user, for example, if the importance of the message is higher, the message can be moved into a sending area.
In the embodiment of the application, the transmission reliability of the message is improved through a copying and eliminating mechanism; the problem of message jitter and disorder is solved by the residence time of the message in the network bridge, and the residence time supports self-adaptive learning so as to solve the problems of increased transmission delay caused by larger value and increased message jitter probability caused by smaller value, and finally, the message transmission delay is reduced as much as possible on the premise of ensuring the deterministic forwarding of the message. The method for guaranteeing the end-to-end deterministic forwarding of the network bridge can be a 5G network bridge, and can effectively solve the problems of jitter, disorder or packet loss when TSN messages are transmitted in the network bridge.
One embodiment of the present invention relates to a deterministic forwarding method from end to end of a bridge, applied to a bridge receiving end, as shown in fig. 4, including:
step 201, receiving a message from a time sensitive network TSN system and recording the receiving time of the message;
step 202, transmitting a message to a network bridge transmitting end; the message carries a receiving time stamp indicating a receiving time, and is used for the network bridge transmitting end to transmit the message under the condition that the actual residence time of the message in the network bridge reaches the set network bridge fixed residence time according to the receiving time stamp, wherein the network bridge fixed residence time is smaller than a first preset time threshold, the occupancy rate of the overtime message is smaller than a preset occupancy rate threshold, and the overtime message is the message that the actual residence time in the network bridge is larger than the network bridge fixed residence time.
In one example, transmitting a message to a bridge sender includes: copying n copies of the message, wherein n is a natural number greater than 0; and transmitting n messages to a network bridge transmitting end, wherein the n messages all carry receiving time stamps indicating receiving time, and n is dynamically adjusted according to the congestion condition of the wireless network. The message enters the 5G network bridge from the receiving end, after the receiving end receives the message, the receiving end adds a packet receiving time stamp into the TSN message, and then copies the message for n times to be sent.
Specifically, a message enters a 5G network bridge from a receiving end, and when the message is received, a current timestamp T is recorded in After the processing flow of the message is completed, the message is marked with a time stamp T in To improve transmission reliability and prevent packet loss due to interference or network failure, n copies of a message may be sent, where the copied message has the same timestamp T in . However, if the value of n is too large, the network is burdened, and network congestion is caused; the value of n can be dynamically adjusted on the premise of meeting the packet loss rate according to the congestion condition fed back by the wireless network.
In combination with the above embodiment, in one specific implementation, for example: clock synchronization is a precondition for realizing the deterministic forwarding of the TSN network, and the network bridge receiving end and the network bridge transmitting end need to realize the synchronization of clocks; self-adaptive learning of the message in the residence time of the network bridge, and synchronizing the learning result to the network bridge transmitting end and the network bridge receiving end; after receiving the message, the network bridge receiving end adds a packet receiving time stamp into the TSN message, copies the message n times (n is more than or equal to 0), and the n value can be adaptively adjusted according to the network congestion condition; the message is transmitted by the network bridge to reach the network bridge transmitting end, and after the network bridge transmitting end receives the message, the message is subjected to duplication elimination and buffer storage according to the time stamp in the message; and the network bridge transmitting end circularly scans the buffer area, judges whether the message reaches the network bridge residence time according to the time stamp, and if so, the message is converted into a transmitting state, is moved into the transmitting area, and is transmitted after the gate control reaches.
In the embodiment of the application, the bridge receiving end transmits the message to the bridge sending end, wherein the message carries the receiving timestamp of the message received by the bridge receiving end from the time sensitive network TSN system, and the receiving timestamp can be used for determining the actual residence time; the relation between the actual residence time of the message and the fixed residence time of the network bridge solves the problems of message jitter and disorder, and finally can reduce the message transmission delay on the premise of ensuring the deterministic forwarding of the message.
The above steps of the methods are divided, for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as they include the same logic relationship, and they are all within the protection scope of this patent; it is within the scope of this patent to add insignificant modifications to the algorithm or flow or introduce insignificant designs, but not to alter the core design of its algorithm and flow.
One embodiment of the present invention relates to a network bridge transmitting end, as shown in fig. 5, including:
a receiving module 301, configured to receive a packet transmitted by a receiving end of a network bridge; the message carries a receiving time stamp of the message received by the network bridge receiving end from the time sensitive network TSN system;
a buffer module 302, configured to buffer a packet;
a sending module 303, configured to send a buffered packet when it is determined, according to the receiving timestamp, that an actual residence time of the buffered packet in the bridge reaches a set bridge fixed residence time; the bridge fixed residence time is smaller than a first preset time threshold, the duty ratio of the overtime message is smaller than a preset duty ratio threshold, and the overtime message is a message with the actual residence time in the bridge larger than the bridge fixed residence time.
For the receiving module 301, in one example, before the receiving end of the receiving bridge receives the message, the method further includes: setting the bridge fixed residence time to an initial value, wherein the initial value is smaller than a second preset time threshold; wherein the second preset time threshold is less than the first preset time threshold; counting the duty ratio of a timeout message in a sampling period; adjusting the bridge fixed residence time under the condition that the counted duty ratio is larger than the preset duty ratio threshold, wherein the adjusted bridge fixed residence time is an integral multiple of a transmission gating period and smaller than the first preset time threshold; repeatedly executing the statistics of the duty ratio of the timeout message in one sampling period and the adjustment of the fixed residence time of the network bridge until the duty ratio of the timeout message is smaller than a preset duty ratio threshold; and acquiring the set bridge fixed residence time according to the bridge fixed residence time which is adjusted last time.
In one example, the obtaining the set bridge fixed residence time according to the bridge fixed residence time adjusted last time includes: the last adjusted fixed residence time of the network bridge is sent to an application function entity in the network bridge, and the supply function entity determines the applicable fixed residence time of the network bridge for both the uplink data stream and the downlink data stream according to the fixed residence time of the network bridge sent by the network bridge sending end and the fixed residence time of the network bridge sent by the network bridge receiving end; and receiving the applicable bridge fixed residence time issued by the application function entity as the set bridge fixed residence time.
In one example, after the receiving the message transmitted by the receiving end of the receiving bridge, the method further includes: and carrying out repeated processing on the received message according to the receiving time stamp of the received message.
For the buffering module 302, in one example, the buffering the packet includes: and caching the message subjected to the duplicate removal processing.
For the sending module 303, in an example, in a case that it is determined, according to the receiving timestamp, that the actual residence time of the buffered packet in the bridge reaches the set bridge fixed residence time, sending the buffered packet includes: and under the condition that the actual residence time of the cached message in the network bridge is detected to be smaller than the fixed residence time of the network bridge and the difference value between the actual residence time of the cached message and the fixed residence time of the network bridge is detected to be smaller than the sending gating period according to the receiving timestamp, the cached message is moved into a sending area, and the message in the sending area is sent according to the sending gating period.
In one example, the buffered packets are discarded if it is determined that the actual residence time of the buffered packets within the bridge exceeds the bridge fixed residence time based on the receive timestamp.
In the embodiment of the application, the network bridge sending end receives the message transmitted by the network bridge receiving end, wherein the message carries the receiving timestamp of the message received by the network bridge receiving end from the time sensitive network TSN system, and the receiving timestamp can be used for determining the actual residence time; the relation between the actual residence time of the message and the fixed residence time of the network bridge solves the problems of message jitter and disorder, and finally can reduce the message transmission delay on the premise of ensuring the deterministic forwarding of the message.
It is to be noted that this embodiment is a system example corresponding to the first embodiment, and can be implemented in cooperation with the above-described embodiment. The related technical details mentioned in the above embodiments are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the related technical details mentioned in the present embodiment can also be applied to the above-described embodiments.
It should be noted that each module in this embodiment is a logic module, and in practical application, one logic unit may be one physical unit, or may be a part of one physical unit, or may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, units that are not so close to solving the technical problem presented by the present invention are not introduced in the present embodiment, but this does not indicate that other units are not present in the present embodiment.
One embodiment of the present invention relates to a bridge receiver, as shown in fig. 6, including:
a receiving module 401, configured to receive a message from a time sensitive network TSN system, and record a receiving time of the message;
a sending module 402, configured to transmit a message to a sending end of the network bridge; the message carries a receiving time stamp indicating a receiving time, and is used for the network bridge transmitting end to transmit the message under the condition that the actual residence time of the message in the network bridge reaches the set network bridge fixed residence time according to the receiving time stamp, wherein the network bridge fixed residence time is smaller than a first preset time threshold, the occupancy rate of the overtime message is smaller than a preset occupancy rate threshold, and the overtime message is the message that the actual residence time in the network bridge is larger than the network bridge fixed residence time.
For the sending module 402, in one example, the transmitting the packet to the bridge sender includes: copying n copies of the message, wherein n is a natural number greater than 0; and transmitting the n parts of messages to a network bridge transmitting end, wherein the n parts of messages all carry receiving time stamps indicating the receiving time, and the n is dynamically adjusted according to the congestion condition of the wireless network.
In the embodiment of the application, the bridge receiving end transmits the message to the bridge sending end, wherein the message carries the receiving timestamp of the message received by the bridge receiving end from the time sensitive network TSN system, and the receiving timestamp can be used for determining the actual residence time; the relation between the actual residence time of the message and the fixed residence time of the network bridge solves the problems of message jitter and disorder, and finally can reduce the message transmission delay on the premise of ensuring the deterministic forwarding of the message.
One embodiment of the invention relates to an electronic device, as shown in fig. 7, comprising at least one processor 501; and a memory 502 communicatively coupled to the at least one processor 501; the memory 502 stores instructions executable by the at least one processor 501, where the instructions are executed by the at least one processor 501, so that the at least one processor 501 can perform the above-mentioned deterministic forwarding method from end to end of a bridge applied to a sending end of a bridge, or perform a deterministic forwarding method from end to end of a bridge applied to a receiving end of a bridge.
Where the memory and the processor are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting the various circuits of the one or more processors and the memory together. The bus may also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or may be a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over the wireless medium via the antenna, which further receives the data and transmits the data to the processor.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory may be used to store data used by the processor in performing operations.
One embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program implements the above-described method embodiments when executed by a processor.
That is, it will be understood by those skilled in the art that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, where the program includes several instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps in the methods of the embodiments described herein. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of carrying out the invention and that various changes in form and details may be made therein without departing from the spirit and scope of the invention.

Claims (12)

1. The method is characterized by being applied to a network bridge transmitting end and comprising the following steps of:
receiving a message transmitted by a receiving end of a network bridge, and caching the message; the message carries a receiving time stamp of the message received by the network bridge receiving end from a time sensitive network TSN system;
transmitting the cached message under the condition that the actual residence time of the cached message in the network bridge reaches the set network bridge fixed residence time according to the receiving timestamp;
the network bridge fixed residence time is smaller than a first preset time threshold, the duty ratio of the overtime message is smaller than a preset duty ratio threshold, and the overtime message is a message with the actual residence time in the network bridge larger than the network bridge fixed residence time.
2. The method for deterministic end-to-end forwarding of a bridge according to claim 1, further comprising, prior to said receiving the message transmitted by the bridge receiving end:
setting the bridge fixed residence time to an initial value, wherein the initial value is smaller than a second preset time threshold; wherein the second preset time threshold is less than the first preset time threshold;
counting the duty ratio of a timeout message in a sampling period;
adjusting the bridge fixed residence time under the condition that the counted duty ratio is larger than the preset duty ratio threshold, wherein the adjusted bridge fixed residence time is an integral multiple of a transmission gating period and smaller than the first preset time threshold;
repeatedly executing the statistics of the duty ratio of the timeout message in one sampling period and the adjustment of the fixed residence time of the network bridge until the duty ratio of the timeout message is smaller than a preset duty ratio threshold;
and acquiring the set bridge fixed residence time according to the bridge fixed residence time which is adjusted last time.
3. The method for forwarding the network bridge end-to-end certainty according to claim 2, wherein the obtaining the set network bridge fixed residence time according to the network bridge fixed residence time adjusted last time includes:
the last adjusted fixed residence time of the network bridge is sent to an application function entity in the network bridge, and the supply function entity determines the applicable fixed residence time of the network bridge for both the uplink data stream and the downlink data stream according to the fixed residence time of the network bridge sent by the network bridge sending end and the fixed residence time of the network bridge sent by the network bridge receiving end;
and receiving the applicable bridge fixed residence time issued by the application function entity as the set bridge fixed residence time.
4. The method for deterministic forwarding from end to end of a bridge according to claim 2, wherein said sending the buffered packet if it is determined that the actual residence time of the buffered packet in the bridge reaches the set bridge fixed residence time according to the receiving timestamp comprises:
and under the condition that the actual residence time of the cached message in the network bridge is detected to be smaller than the fixed residence time of the network bridge and the difference value between the actual residence time of the cached message and the fixed residence time of the network bridge is detected to be smaller than the sending gating period according to the receiving timestamp, the cached message is moved into a sending area, and the message in the sending area is sent according to the sending gating period.
5. The bridge end-to-end deterministic forwarding method according to any one of claims 1 to 4, further comprising:
and discarding the cached message under the condition that the actual residence time of the cached message in the network bridge exceeds the fixed residence time of the network bridge according to the receiving timestamp.
6. The method for forwarding the packets from the bridge end to end according to any one of claims 1 to 4, further comprising, after the receiving the packets transmitted from the receiving end of the bridge:
according to the received time stamp of the received message, carrying out repeated processing on the received message;
the step of caching the message comprises the following steps:
and caching the message subjected to the duplicate removal processing.
7. The method is characterized by being applied to a network bridge receiving end and comprising the following steps of:
receiving a message from a time sensitive network TSN system, and recording the receiving time of the message;
transmitting the message to a network bridge transmitting end;
the message carries a receiving time stamp indicating the receiving time, and is used for the bridge sending end to send the message when determining that the actual residence time of the message in the bridge reaches the set bridge fixed residence time according to the receiving time stamp, wherein the bridge fixed residence time is smaller than a first preset time threshold and the occupancy rate of the overtime message is smaller than a preset occupancy rate threshold, and the overtime message is a message that the actual residence time in the bridge is larger than the bridge fixed residence time.
8. The method for deterministic end-to-end forwarding of a bridge according to claim 7, wherein said transmitting said message to a bridge sender comprises:
copying n copies of the message, wherein n is a natural number greater than 0;
and transmitting the n parts of messages to a network bridge transmitting end, wherein the n parts of messages all carry receiving time stamps indicating the receiving time, and the n is dynamically adjusted according to the congestion condition of the wireless network.
9. A bridge sender, comprising:
the receiving module is used for receiving the message transmitted by the receiving end of the network bridge; the message carries a receiving time stamp of the message received by the network bridge receiving end from a time sensitive network TSN system;
the buffer module is used for buffering the message;
a sending module, configured to send the buffered packet when it is determined, according to the receiving timestamp, that an actual residence time of the buffered packet in the bridge reaches a set bridge fixed residence time;
the network bridge fixed residence time is smaller than a first preset time threshold, the duty ratio of the overtime message is smaller than a preset duty ratio threshold, and the overtime message is a message with the actual residence time in the network bridge larger than the network bridge fixed residence time.
10. A bridge receiver, comprising:
the receiving module is used for receiving the message from the time sensitive network TSN system and recording the receiving time of the message;
the sending module is used for transmitting the message to a network bridge sending end;
the message carries a receiving time stamp indicating the receiving time, and is used for the bridge sending end to send the message when determining that the actual residence time of the message in the bridge reaches the set bridge fixed residence time according to the receiving time stamp, wherein the bridge fixed residence time is smaller than a first preset time threshold and the occupancy rate of the overtime message is smaller than a preset occupancy rate threshold, and the overtime message is a message that the actual residence time in the bridge is larger than the bridge fixed residence time.
11. An electronic device, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the bridge end-to-end deterministic forwarding method according to any one of claims 1 to 6 or to perform the bridge end-to-end deterministic forwarding method according to claim 7 or 8.
12. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the bridge-end-to-end deterministic forwarding method according to any of claims 1 to 6 or the bridge-end-to-end deterministic forwarding method according to claim 7 or 8.
CN202111463117.XA 2021-12-02 2021-12-02 Bridge end-to-end deterministic forwarding method, bridge transmitting end and receiving end Pending CN116260772A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111463117.XA CN116260772A (en) 2021-12-02 2021-12-02 Bridge end-to-end deterministic forwarding method, bridge transmitting end and receiving end
PCT/CN2022/128459 WO2023098367A1 (en) 2021-12-02 2022-10-29 Network bridge end-to-end deterministic forwarding method, network bridge sending end, and network bridge receiving end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111463117.XA CN116260772A (en) 2021-12-02 2021-12-02 Bridge end-to-end deterministic forwarding method, bridge transmitting end and receiving end

Publications (1)

Publication Number Publication Date
CN116260772A true CN116260772A (en) 2023-06-13

Family

ID=86611476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111463117.XA Pending CN116260772A (en) 2021-12-02 2021-12-02 Bridge end-to-end deterministic forwarding method, bridge transmitting end and receiving end

Country Status (2)

Country Link
CN (1) CN116260772A (en)
WO (1) WO2023098367A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117478615A (en) * 2023-12-28 2024-01-30 贵州大学 Method for solving burst disorder problem in reliable transmission of deterministic network

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117560109B (en) * 2024-01-11 2024-04-12 鹏城实验室 Time synchronization method, device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113574813B (en) * 2019-03-21 2023-05-05 华为技术有限公司 Network entity and method for a wireless network system for determining time information
US20230171014A1 (en) * 2020-04-23 2023-06-01 Telefonaktiebolaget Lm Ericsson (Publ) Technique for determining radio device residence time and scheduling
CN111585895B (en) * 2020-05-12 2021-11-09 北京交通大学 Time-triggered data transmission method without time synchronization
CN113300798B (en) * 2021-05-27 2022-07-01 北京交通大学 Transmission certainty access method of asynchronous terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117478615A (en) * 2023-12-28 2024-01-30 贵州大学 Method for solving burst disorder problem in reliable transmission of deterministic network
CN117478615B (en) * 2023-12-28 2024-02-27 贵州大学 Reliable transmission method in deterministic network

Also Published As

Publication number Publication date
WO2023098367A1 (en) 2023-06-08

Similar Documents

Publication Publication Date Title
US8982897B2 (en) Data block output apparatus, communication system, data block output method, and communication method
WO2023098367A1 (en) Network bridge end-to-end deterministic forwarding method, network bridge sending end, and network bridge receiving end
EP2983324A1 (en) Timestamp generating method, device and system
CN102244603B (en) Method, equipment and system for transmitting message bearing time
CA2910079C (en) Transmitting information across a communications network
US20100020698A1 (en) Communication apparatus and OAM frame transmission method
US8493928B2 (en) Wireless system, for packet communication between base station and mobile stations
US20170164231A1 (en) Data transmission method and base station
US8718213B2 (en) Clock synchronization method, apparatus, and system
CN105450321A (en) Network data transmission method and device
CN105610727B (en) A kind of network data transmission method and device
CN113574813B (en) Network entity and method for a wireless network system for determining time information
CN102870477B (en) Uplink temporal synchronization in communication system
US9326022B2 (en) Wireless communication system, wireless communication device, and wireless communication method
KR20210088378A (en) Apparatu and method for updating time sensitive communications assistance information in a mobkle system
Won et al. 3GPP URLLC patent analysis
CN107534606B (en) Frame start optimization method, system and readable medium in telecommunication system
CN114449644A (en) System frame number synchronization method and related device
CN1983869B (en) Wireless access controller and method for timed adjusting transmission channel between base stations
KR101026890B1 (en) Method and system to improve transmission and receipt of channel descriptors
CN116318506A (en) Clock synchronization method for wireless time-sensitive network in spacecraft
WO2012162947A1 (en) Method and system for controlling transmission delay
Krainyukov et al. Performance analysis of wireless communications for V2G applications using WPT technology in energy transfer
CN114339980A (en) Method, device, unit, equipment and storage medium for synchronizing downlink data
CN109587728B (en) Congestion detection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication