CN117014944A - Message transmission method and device - Google Patents

Message transmission method and device Download PDF

Info

Publication number
CN117014944A
CN117014944A CN202210468586.9A CN202210468586A CN117014944A CN 117014944 A CN117014944 A CN 117014944A CN 202210468586 A CN202210468586 A CN 202210468586A CN 117014944 A CN117014944 A CN 117014944A
Authority
CN
China
Prior art keywords
delay
message
timer
period
transmission
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
CN202210468586.9A
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.)
Shanghai Huawei Technologies Co Ltd
Original Assignee
Shanghai Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Huawei Technologies Co Ltd filed Critical Shanghai Huawei Technologies Co Ltd
Priority to CN202210468586.9A priority Critical patent/CN117014944A/en
Priority to PCT/CN2023/087741 priority patent/WO2023207585A1/en
Publication of CN117014944A publication Critical patent/CN117014944A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
    • 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/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/56Queue scheduling implementing delay-aware scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application discloses a message transmission method and a message transmission device, wherein the method comprises the following steps: the communication network receiving end or the application receiving end determines a period timer according to the transmission period requirement of the received first message, and determines a delay timer according to the transmission delay requirement, if the first message is received outside the period timer, the first message is determined to be greatly influenced by network fluctuation and needs to be immediately forwarded, if the first message is received outside the delay timer, the first message is determined to be slightly influenced by the network fluctuation and still exceeds the normal forwarding time, and the first message is only received in the delay timer and is buffered to the delay timer to be forwarded, so that the jitter of message transmission is reduced, and the time delay of message transmission is reduced.

Description

Message transmission method and device
Technical Field
The embodiment of the application relates to the field of communication, in particular to a message transmission method and device.
Background
Delay sensitive messages generally have a periodic characteristic, and a transmission network is required to simultaneously consider certainty (low jitter) and low delay performance of message transmission, for example, typical characteristics of industrial control messages: the periodic dense packet interaction has short interaction period and high requirements on delay and jitter reliability.
The current message transmission technology periodically transmits a message, and when the message is received in other periods due to network fluctuation, the message needs to wait for the periodic transmission of the message, and the message transmission delay is high.
Disclosure of Invention
The embodiment of the application provides a message transmission method and device, which are used for reducing the jitter of message transmission and reducing the time delay of message transmission.
The first aspect of the embodiment of the application provides a message transmission method, which comprises the following steps: acquiring a transmission period requirement and a transmission delay requirement of a first message in a communication service, wherein the first message is a time delay sensitive message; determining a period timer according to the transmission period requirement and determining a delay timer according to the transmission delay requirement; when the first message is received outside the period timer, forwarding the first message to the next node; and when the first message is received in the period timer and is received outside the delay timer, forwarding the first message to the next node, wherein the delay timer is smaller than the period timer.
In the above aspect, the communication network receiving end or the application receiving end determines the period timer according to the transmission period requirement of the received first message, and determines the delay timer according to the transmission delay requirement, if the first message is received outside the period timer, it is determined that the first message is affected by network fluctuation and needs to be immediately forwarded to the next node, if the first message is received outside the period timer, it is determined that the first message is affected by network fluctuation a little less, but still exceeds the normal forwarding time, it is determined that the first message is required to be immediately forwarded to the next node, and the first message is only received inside the delay timer and is buffered until the delay timer is finished for forwarding, thereby reducing jitter of message transmission and delay of message transmission.
In one possible embodiment, the method further comprises: counting a first number of messages received in a delay timer and a second number of messages received in a period timer; and adjusting the length of the delay timer according to the relation between the first quantity and the first preset quantity range, and adjusting the length of the period timer according to the relation between the second quantity and the second preset quantity range.
In the above possible embodiments, the lengths of the period timer and the delay timer determined by the transmission period requirement and the transmission delay requirement may decrease accuracy due to the influence of network fluctuation or other influences, so the application receiving end may count the first number of messages received in the delay timer and the second number of messages received in the period timer within a preset time range. The application receiving end can adjust the length of the delay timer according to the relation between the first quantity and the first preset quantity range, and adjust the length of the period timer according to the relation between the second quantity and the second preset quantity range.
In one possible embodiment, after the step of adjusting the length of the delay timer according to the relationship between the first number and the first preset number range, the method further includes: and regulating the sending period of the message according to the relation between the delay timer and the preset delay range.
In the above possible embodiments, the length of the delay timer needs to occupy a certain length in the transmission period of the data packet, that is, a preset delay range is set relative to the transmission period, when the length of the delay timer is smaller than the preset delay range, the transmission period can be shortened, and when the length of the delay timer is greater than the preset delay range, the transmission period can be increased, so that the experience of the periodic delay sensitive packet is improved.
In one possible embodiment, the difference between the first number and the first predetermined number range is in positive feedback relation to the length of the delay timer; the difference between the second number and the second predetermined number range is in positive feedback relation to the length of the periodic timer.
In one possible embodiment, the method further comprises: receiving indication information from the network equipment, wherein the indication information indicates transmission quality; the lengths of the delay timer and the period timer are adjusted according to the indication information.
In the above possible implementation manner, the application receiving end provides the indication information to the communication network receiving end, the communication network receiving end cooperates with the communication network receiving end to adjust the de-jitter buffer, the communication network receiving end provides the indication information to the application receiving end, the cooperation application receiving end cooperates with the application receiving end to adjust the de-jitter buffer, the indication information can indicate the message transmission quality, the application receiving end and the communication network receiving end cooperate to adjust the de-jitter buffer, and the setting of the buffer timer is more in accordance with the application experience and the network state, so that better application experience and network resource saving can be obtained.
In one possible embodiment, the method further comprises: receiving buffer information from a network device, the buffer information including a length of a delay timer; and adjusting the length of the local delay timer according to the buffer information.
In the possible implementation manner, the two communication parties interact and cooperate with the buffer area information, and the length of the local delay timer is adjusted according to the buffer area information, so that the certainty and instantaneity of delay sensitive message delivery are improved.
In one possible embodiment, after the step of adjusting the length of the local delay timer according to the buffer information, the method further includes: and regulating the sending period of the message according to the relation between the length of the regulated delay timer and the preset delay range.
In the above possible implementation manner, the two communication parties may also adjust the sending period of the message according to the relationship between the adjusted length of the delay timer and the preset delay range, so as to improve the experience of the periodic delay-sensitive message.
In one possible embodiment, the method further comprises: transmitting buffer information to the central control node, the buffer information including the length of the delay timer; the length of the delay timer is adjusted according to an instruction from the central control node, wherein the instruction is the adjustment specification of the delay timer determined by the central control node according to the buffer information.
In the above possible implementation manner, both communication parties send buffer information to the central control node, where the buffer information includes the length of the delay timer, and the central control node determines, according to the adjustment specification of the delay timer determined by the buffer information and the relation between the length of the delay timer and the preset delay range, the adjustment specification of the sending period, and then generates an instruction according to the adjustment specification, so that both communication parties can adjust the length of the respective delay timer and the sending period of the message, and by cooperation of the buffers of both communication parties, certainty and instantaneity of delay sensitive message delivery are improved.
In one possible embodiment, the instructions further include an adjustment specification of the transmission period determined by the central control node according to a relationship between the adjusted length of the delay timer and a preset delay range, and after adjusting the length of the delay timer according to the instruction from the central control node, the method further includes: and adjusting the sending period of the message according to the adjustment specification of the sending period.
In the above possible implementation manner, the central control node may further adjust a sending period of the message according to a relationship between the adjusted length of the delay timer and a preset delay range, so as to improve experience of the periodic delay sensitive message.
In one possible implementation manner, the adjusting the sending period of the message according to the relationship between the adjusted length of the delay timer and the preset delay range includes: when the length of the delay timer after adjustment is smaller than a preset delay range, reducing a transmission period; and when the length of the adjusted delay timer is greater than the preset delay range, increasing the transmission period.
In one possible embodiment, the method further comprises: acquiring the arrival conditions of messages in the delay timer and the period timer; and adjusting the service quality of the message transmission according to the arrival condition.
In the possible implementation manner, the self-adaptive buffer area effectively counts the packet arrival condition of the packet-by-packet level, and further feeds back the packet arrival condition to the communication network, so that the QoS adjustment of the network transmission packet can be performed in time.
The second aspect of the present application provides a message transmission method, including: acquiring the transmission time delay of a service message; when the transmission delay exceeds a delay threshold value, forwarding the service message through a first queue; and when the transmission delay does not exceed the delay threshold value, periodically forwarding the service message through the second queue.
In the aspect, the high-priority preemption queue is added through the communication network receiving end, which is superior to TSN queue transmission, increases the time delay calculation mode of the message, sets the threshold value of the message transmission time delay, judges the waiting time delay of the message, submits and avoids buffering waiting when exceeding the threshold value, and improves the timeliness of the message.
In one possible implementation, the delay threshold is determined according to a transmission period of the service message.
A third aspect of the embodiment of the present application provides a data transmission device, which may implement the method of the first aspect or any of the possible implementation manners of the first aspect. The apparatus comprises corresponding units or modules for performing the above-described methods. The units or modules included in the apparatus may be implemented in a software and/or hardware manner. The device may be, for example, a network device, a chip system, or a processor that supports the network device to implement the method, or a logic module or software that can implement all or part of the functions of the network device.
A fourth aspect of the embodiment of the present application provides a data transmission device, which may implement the method of the second aspect or any of the possible implementation manners of the second aspect. The apparatus comprises corresponding units or modules for performing the above-described methods. The units or modules included in the apparatus may be implemented in a software and/or hardware manner. The device may be, for example, a network device, a chip system, or a processor that supports the network device to implement the method, or a logic module or software that can implement all or part of the functions of the network device.
A fifth aspect of an embodiment of the present application provides a computer apparatus, including: a processor coupled to a memory for storing instructions that when executed by the processor cause the computer device to implement the method of the first aspect or any of the possible implementations of the first aspect. The computer device may be, for example, a network device, or a chip system supporting the network device to implement the above method.
A sixth aspect of an embodiment of the present application provides a computer apparatus, including: a processor coupled to a memory for storing instructions that when executed by the processor cause the computer device to implement the method of the second aspect or any of the possible implementations of the second aspect. The computer device may be, for example, a network device, or a chip system supporting the network device to implement the above method.
A seventh aspect of the embodiments of the present application provides a computer readable storage medium having instructions stored therein which, when executed by a processor, implement a method as provided by the foregoing first aspect or any one of the possible implementations of the first aspect, the second aspect or any one of the possible implementations of the second aspect.
An eighth aspect of the embodiments of the present application provides a computer program product comprising computer program code for implementing the method of the first aspect or any one of the possible implementation manners of the first aspect, the second aspect or any one of the possible implementation manners of the second aspect when the computer program code is executed on a computer.
Drawings
Fig. 1 is a schematic structural diagram of a network framework according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of another network framework according to an embodiment of the present application;
fig. 3 is a flow chart of a message transmission method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a message transmission step according to an embodiment of the present application;
fig. 5 is a schematic diagram of an adaptive de-jitter buffer effect according to an embodiment of the present application;
Fig. 6 is a flow chart of another message transmission method according to an embodiment of the present application;
fig. 7 is a schematic diagram of another message transmission step according to an embodiment of the present application;
FIG. 8 is a schematic diagram of another adaptive de-jitter buffer effect according to an embodiment of the present application;
fig. 9 is a schematic flow chart of a coordinated adjustment timer length according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a buffer adjustment flow according to an embodiment of the present application;
fig. 11 is a schematic flow chart of QoS adjustment according to an embodiment of the present application;
fig. 12 is a flow chart of another message transmission method according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a message transmission device according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of another message transmission device according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a message transmission method and device, which are used for reducing the jitter of message transmission and reducing the time delay of message transmission.
Embodiments of the present application will now be described with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the present application. As one of ordinary skill in the art can know, with the development of technology and the appearance of new scenes, the technical scheme provided by the embodiment of the application is also applicable to similar technical problems.
The terms first, second and the like in the description and in the claims and in the above-described figures, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The word "exemplary" is used herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
In addition, numerous specific details are set forth in the following description in order to provide a better illustration of the application. It will be understood by those skilled in the art that the present application may be practiced without some of these specific details. In some instances, well known methods, procedures, components, and circuits have not been described in detail so as not to obscure the present application.
Some terms of embodiments of the present application are explained below.
Dithering: the change condition of message transmission delay and the condition of deviation from an ideal position.
Watchdog: a device (typically a timer or driver) for monitoring whether a continuously operating system is functioning properly.
The technical scheme provided by the embodiment of the application can be applied to various communication systems, such as: the embodiment of the present application is not limited by a long term evolution (longterm evolution, LTE) system, a fifth generation (5th generation,5G) mobile communication system, a wireless-fidelity (WiFi) system, a future communication system, or a system in which multiple communication systems are integrated, and the like. Wherein 5G may also be referred to as New Radio (NR).
The technical scheme provided by the embodiment of the application can be applied to various communication scenes, for example, one or more of the following communication scenes: enhanced mobile broadband (enhanced mobile broadband, eMBB), ultra-reliable low-latency communication (URLLC), machine type communication (machinetype communication, MTC), large-scale machine type communication (massive machine typecommunications, mctc), device-to-device (D2D), vehicle-to-device (vehicle toeverything, V2X), vehicle-to-vehicle (vehicle to vehicle, V2V), and internet of things (internet ofthings, ioT), among others.
Referring to fig. 1 and 2, in an embodiment of the present application, a network frame includes:
industrial communication terminal equipment, wireless network terminal equipment, access network equipment and core network equipment;
the industrial communication terminal device may be connected to a wireless network terminal device, such as the first industrial communication terminal device in fig. 1 or the third and fourth industrial communication terminal devices in fig. 2, the industrial communication terminal device being connected to a wireless network terminal device, the wireless network terminal device being connected to a core network device via an access network device. The industrial communication terminal may also be connected to a core network device, such as the second industrial communication terminal in fig. 1.
1) The embodiment of the application can be applied to wired and wireless communication scenes; fig. 1 and 2 illustrate only one deployment scenario under 3GPP communications;
2) The application equipment and the network equipment are logically separated, and can be deployed in one piece during physical deployment or can be deployed separately;
3) The industrial terminal side only describes a scene of 1-to-1 communication between industrial terminals, and can also be applied to complex networking scenes (such as chain, ring, star and the like) of the industrial terminals;
4) The location of buffers/buffers, the upper graph is an example, and may be deployed in other links of the network.
The industrial communication terminal equipment and the wireless network terminal equipment can be connected by using an IC-1 (Industrial Communication Type 1) interface, the connection mode comprises wire, wireless or a mixture of the wire and the wireless, and the types of protocols supported by the IC-1 interface comprise: IP, ethernet, wiFi, other protocol types extended in industrial communication scenarios, the industrial communication terminal device and the core network device may be connected by using an N6 interface, where the protocol types supported by the N6 interface include: IP, ethernet, other industry communication scenario extended protocol types.
In the embodiment of the present application, the number of the devices such as the industrial communication terminal device, the wireless network terminal device, the access network device, the core network device, and the like is not limited, and the embodiment of the present application is only described by taking the network frame shown in fig. 1 as an example.
Industrial communication subscribers (industrial user equipment, i-UE) refer to industrial communication terminals (terminals for providing data connectivity at industrial production sites), such as: a PLC controller or an industrial personal computer, an industrial server, etc.
A wireless network terminal device, also known as a wireless network (e.g., 3 GPP) User Equipment (UE), mobile Station (MS), mobile Terminal (MT), etc., is a device that provides voice and/or data connectivity to a user. Such as a handheld device, an in-vehicle device, etc., having a wireless connection function. Currently, some examples of terminals are: a mobile phone, a tablet, a notebook, a palm, a mobile internet device (mobile internet device, MID), a wearable device, a Virtual Reality (VR) device, an augmented reality (augmented reality, AR) device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned (self driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and the like.
The core network device refers to a device in a Core Network (CN) that provides service support for a terminal. Currently, examples of some core network devices are: access and mobility management function (access and mobility management function, AMF) entities, session management function (session management function, SMF) entities, user plane function (user plane function, UPF) entities, and the like, to name but a few. The AMF entity can be responsible for access management and mobility management of the terminal; the SMF entity may be responsible for session management, such as session establishment for the user, etc.; the UPF entity may be a functional entity of the user plane, mainly responsible for connecting to external networks. It should be noted that, in the present application, an entity may also be referred to as a network element or a functional entity, for example, an AMF entity may also be referred to as an AMF network element or an AMF functional entity, for example, an SMF entity may also be referred to as an SMF network element or an SMF functional entity, which is not limited herein.
An access network device refers to a radio access network (radio access network, RAN) node (or device), also referred to as a base station, that accesses a terminal to a wireless network. Currently, some examples of RAN nodes are: a further evolved Node B (gNB), a transmission and reception point (transmission reception point, TRP), an evolved Node B (eNB), a radio network controller (radio network controller, RNC), a Node B (Node B, NB), a base station controller (base station controller, BSC), a base transceiver station (base transceiver station, BTS), a home base station (e.g., home evolved NodeB, or home Node B, HNB), a baseband unit (BBU), or a wireless fidelity (wireless fidelity, wifi) Access Point (AP), etc.
The messages transmitted in the communication system may be delay sensitive messages requiring low delay, the delay sensitive messages generally have periodic characteristics, and the transmission network is required to simultaneously consider certainty (low jitter) and low delay performance of message transmission, wherein industrial control type messages are required to meet the characteristics of periodic dense packet interaction, short interaction period and high requirements on delay and jitter reliability. In addition, similar delay-sensitive message transmission requirements are also common in the scenes of voice transmission, video transmission, augmented reality (augmented reality, AR)/Virtual Reality (VR)/augmented reality (XR), internet of vehicles (vehicle to everything, V2X), smart grid and the like, and the delay-sensitive message transmission requirements have periodic characteristics. The current message transmission technology periodically transmits a message, and when the message is received in other periods due to network fluctuation, the message needs to wait for the periodic transmission of the message, and the message transmission delay is high.
In order to solve the above problems, an embodiment of the present application provides a message transmission method, which is as follows.
In the embodiment of the application, the first industrial communication terminal equipment is an application transmitting end, the second industrial communication terminal equipment is an application receiving end, the 3GPP base station is a communication network transmitting end, and the 3GPP core network is a communication network receiving end.
Referring to fig. 3, fig. 3 shows a message transmission method according to an embodiment of the present application, where the method includes:
step 301, a receiving end of a communication network obtains a transmission period requirement and a transmission delay requirement of a first message in a communication service, wherein the first message is a delay sensitive message.
In this embodiment, the application transmitting end transmits the message to the communication network transmitting end, and the communication network transmitting end forwards the message to the communication network receiving end, and the communication network receiving end forwards the message to the application receiving end. The communication network receiving end can receive a first message from the communication network transmitting end, wherein the first message is a time delay sensitive message, and the communication network receiving end is required to be forwarded to the application receiving end in time. Because the first message is a delay sensitive message, the communication network receiving end needs to determine a message forwarding time limit, that is, the communication network receiving end can acquire a sending period requirement and a sending delay requirement of the first message, wherein the sending period requirement can limit the sending period of the same type of message of the first message, and the sending delay requirement can limit the sending time point of the same type of message of the first message in each period.
A communication network receiving end identifies a message which needs periodic submission and is sensitive to time delay in communication service; specific implementations include, but are not limited to: a) Network self-identification: the network receiving end identifies through key fields in the message (such as message type, quality of service (service of quality, qoS) field, session type, etc.), and determines whether the message is a periodic delay sensitive message; or the receiving end determines whether the message is a periodic time delay sensitive message through learning the rule of the historical message; b)
Application collaboration: the application sending end and/or the receiving end inform the network that the receiving end needs to submit a message type sensitive to time delay periodically; c) Application and network co-configuration: and the application and the network pre-negotiate and formulate a data flow QOS mapping rule of the network communication side, and determine the QoS flow where the periodic delay sensitive message is located.
Step 302, the communication network receiving end determines a period timer according to the transmission period requirement, and determines a delay timer according to the transmission delay requirement.
In this embodiment, the receiving end of the communication network may set and start an adaptive buffer, after acquiring the transmission period requirement and the transmission delay requirement of the first packet, may determine the duration of the period timer according to the transmission period requirement, determine the duration of the delay timer according to the transmission delay requirement, then start the delay timer and the period timer in the adaptive buffer, and each first packet is sent in the same type of packet only in each period, and is sent after the delay timer in that period takes effect.
Identifying/acquiring a submitting period requirement and a message maximum delay requirement; specific implementations include, but are not limited to: a) Network self-identification: the network receiving end regularly controls the historical message; b) Application collaboration: the application sending end and/or the receiving end informs the network receiving end of the submitting period requirement of the periodic time delay sensitive message and the message maximum delay requirement; the notification mode is random message transmission or independent message transmission; c) Application and network co-configuration: the application and the network negotiate the submitting period requirement and the message maximum delay requirement of the periodic time delay sensitive message in advance.
The communication network (receiving end or other links) starts the period timer CT and the delay timer BF simultaneously; the starting mode of the timer includes but is not limited to: a) The starting time point of the timer can be the first/N-th period message receiving time; b) The timer may also be configured to start at a fixed point in time; c) In the scenario of time synchronization of the application transmitting end and the application receiving end, the starting time point of the timer can be the time when the first/nth period message of the transmitting end is sent; or a contracted point in time; d) The length of the CT timer can be set as the sending period of the periodic message or other lengths; e) The BF timer length is determined according to the statistical performance of network delay.
Step 303, when the first message is received outside the periodic timer, the communication network receiving end forwards the first message to the application receiving end.
In this embodiment, after determining the period timer, the communication network receiving end may monitor whether a first packet from the communication network transmitting end is received in the period timer, if the first packet is received in other periods by the communication network receiving end, it indicates that the first packet has serious timeout and needs to be immediately forwarded to the application receiving end, so that the communication network receiving end may forward the first packet.
Step 304, when the first message is received in the period timer, but is received outside the delay timer, the communication network receiving end forwards the first message to the application receiving end, and the delay timer is smaller than the period timer.
In this embodiment, if the communication network receiving end receives the first message in the period timer, but receives the first message outside the normal forwarding time point in the period, for example, receives the first message outside the delay timer, it indicates that the first message is slightly overtime, because of time delay sensitivity, or needs to be immediately forwarded to the application receiving end, so the communication network receiving end may forward the first message, and specific implementation manners include, but are not limited to, setting a period sending queue and a priority preempting queue, and placing the data received after the delay timer is overtime into the priority preempting queue and sending. Wherein the delay timer represents a forwarding time point of the message in the period timer. If the first message is received in the delay timer, the first message may be buffered and forwarded after the delay timer has ended.
Specifically, the receiving end of the communication network can locally set and start an adaptive buffer zone, and a period timer and a delay timer are started in the adaptive buffer zone so as to carry out adaptive forwarding on the received message, delay-sensitive timely forwarding and normal message forwarding.
In the embodiment of the present application, the step of transmitting a message performed by the receiving end of the communication network may be shown in fig. 4, and step 401: the receiving end of the communication network identifies the time delay sensitive message; step 402: a receiving end of a communication network acquires a transmission period requirement and a transmission delay requirement of a delay sensitive message; step 403: the communication network receiving end starts a period timer and a delay timer to receive messages; step 404: the communication network receiving end judges whether the message is received in the periodic timer, if not, the step 405 is executed, if yes, the step 406 is executed; step 405: the communication network receiving end forwards the message; step 406: the communication network receiving end judges whether the message is received in the delay timer, if not, the step 405 is executed, if yes, the step 407 is executed; step 407: and the communication network receiving end caches the message to the end of the delay timer and forwards the message. Step 408: the communication network receiving end can adaptively adjust the lengths of the periodic timer and the delay timer according to the network delay and/or delay jitter conditions.
Specifically, the schematic diagram of the effect of setting the adaptive de-jitter buffer at the receiving end of the communication network based on the message transmission step can be shown in fig. 5.
The embodiment of the application determines the period timer according to the transmission period requirement of the received first message, and determines the delay timer according to the transmission delay requirement, if the first message is received outside the period timer, the first message is determined to be greatly influenced by network fluctuation and needs to be immediately forwarded, if the first message is received outside the period timer, the first message is determined to be slightly influenced by the network fluctuation and still exceeds the normal forwarding time, and the first message is only received in the delay timer and is buffered to the end of the delay timer for forwarding, thereby reducing the jitter of message transmission and the delay of message transmission.
The above describes a scheme of setting an adaptive buffer in a receiving end of a communication network, and the following describes a scheme of setting an adaptive buffer in an application receiving end.
Referring to fig. 6, fig. 6 is a flow chart of another message transmission method according to an embodiment of the application, the method includes:
step 601, an application receiving end obtains a transmission period requirement and a transmission delay requirement of a first message in a communication service, wherein the first message is a time delay sensitive message.
In this embodiment, the application receiving end may obtain the transmission period requirement and the transmission delay requirement locally.
Step 602, the application receiving end determines a period timer according to the transmission period requirement, and determines a delay timer according to the transmission delay requirement.
Step 603, when the first message is received outside the period timer, the application receiving end forwards the first message to the upper layer application.
Step 604, when the first message is received in the period timer, but is received outside the delay timer, the application receiving end forwards the first message to the upper layer application, and the delay timer is smaller than the period timer.
In this embodiment, the actions performed by the application receiving end in steps 602 to 604 may refer to the actions performed by the communication network device in steps 302 to 304 in fig. 3, and are not described herein.
Step 605. The application receiving end counts a first number of messages received in the delay timer and a second number of messages received in the period timer.
In this embodiment, the length of the period timer and the delay timer determined based on the transmission period requirement and the transmission delay requirement may decrease accuracy due to the influence of network fluctuation or other influences, so the application receiving end may count the first number of messages received in the delay timer and the second number of messages received in the period timer within a preset time range.
Step 606, the application receiving end adjusts the length of the delay timer according to the relation between the first number and the first preset number range, and adjusts the length of the period timer according to the relation between the second number and the second preset number range.
In this embodiment, in a preset time range, the number of messages received in the delay timer meeting the transmission delay requirement has a first preset number range, the number of messages received in the periodic timer has a second preset number range, the application receiving end can adjust the length of the delay timer according to the relationship between the first number and the first preset number range, the difference between the first number and the first preset number range is in positive feedback relationship with the length of the delay timer, and when the first number is smaller than the first preset number range, the length of the delay timer is increased, and when the first number is greater than the first preset number range, the length of the delay timer is shortened. Similarly, the application receiving end may adjust the length of the periodic timer according to the relationship between the second number and the second preset number range, where the difference between the second number and the second preset number range is in positive feedback relationship with the length of the periodic timer, and illustratively, when the second number is smaller than the second preset number range, the length of the periodic timer is increased, and when the second number is greater than the second preset number range, the length of the periodic timer is shortened.
Specifically, the mode of adaptively adjusting the period timer and/or the delay timer length by the application device may be that a) the delay timer and/or the proportion of the message received in each period timer are counted, and corresponding high threshold and low threshold are set; b) If the received proportion in the delay timer exceeds the high threshold value, shortening the length of the delay timer according to a certain step length (for example, x ms); c) If the received proportion in the delay timer is lower than the low threshold value, the length of the delay timer is increased according to a certain step length (for example, y ms); d) The period timer may also be dynamically adjusted according to the mechanisms described above.
Step 607, the application receiving end adjusts the sending period of the message according to the relation between the delay timer and the preset delay range.
In this embodiment, the length of the delay timer needs to occupy a certain length in the transmission period of the data packet, that is, a preset delay range is set relative to the transmission period, when the length of the delay timer is smaller than the preset delay range, the transmission period can be shortened, and when the length of the delay timer is greater than the preset delay range, the transmission period can be increased.
Specifically, the method for jointly adjusting the packet sending period and other parameters by the receiving end according to the statistics results of the period timer and/or the delay timer may be that a) the maximum value MaxT and the minimum value MinT of the delay timer are set; b) If the value of the delay timer has reached the maximum value MaxT and needs to be increased further, it is contemplated that the transmission period of the application or/and other parameter configurations (including, but not limited to, parameters such as watchdog (watch)/survival (survivin time) of the industrial application scenario) may be increased; c) If the value of the delay timer has reached the minimum value MinT and needs to be further reduced, shortening the transmission period of the application or/and other parameter configurations (including but not limited to parameters such as the Watchdog/survivinal Time of the industrial application scenario) can be considered.
Another message transmission step in the embodiment of the present application may refer to fig. 7, step 701: the application receiving end identifies the time delay sensitive message; step 702: an application receiving end obtains a sending period requirement and a sending delay requirement of a delay sensitive message; step 703: the application receiving end starts a period timer and a delay timer to receive the message; step 704: the application receiving end judges whether the message is received in the periodic timer, if not, the step 705 is executed, if yes, the step 706 is executed; step 705: the application receiving end forwards the message; step 706: the application receiving end judges whether the message is received in the delay timer, if not, the step 705 is executed, if yes, the step 707 is executed; step 707: the application receiving end caches the message to the delay timer and forwards the message; step 708: the application receiving end adaptively adjusts the lengths of the periodic timer and the delay timer according to the number of the received messages; step 709: and the application receiving end adjusts the sending period of the message according to the length of the delay timer.
The application receiving end forwards the first message to the upper layer application, and a schematic diagram of the effect of setting the adaptive de-jitter buffer area by the application receiving end based on the message transmission step can be shown in fig. 8. By setting the self-adaptive de-jitter buffer area in the application receiving end, on the premise of reducing message delay jitter, the large-delay message is prevented from entering the buffer, the delay jitter and the delay performance are balanced, the length and the sending period of the timer are self-adaptively adjusted, the experience of the periodic delay sensitive message is improved, and the resource consumption of a communication network is reduced.
In the embodiment of the application, the communication network receiving end can also receive the indication information of the application receiving end to adjust the length of the timer, and the application receiving end can also receive the indication information of the communication network receiving end to adjust the length of the timer.
Referring to fig. 9, a flow chart of coordinated adjustment of a timer length according to an embodiment of the application is shown in fig. 9.
Step 901: judging the deployment position of the de-jitter buffer; if deployed at the receiving end of the communication network, step 902 is executed; if deployed at the application receiving end, step 904 is performed.
Step 902: the application receiving end provides indication information for the communication network receiving end, and the indication information can indicate the message transmission quality in cooperation with the adjustment of the de-jitter buffer area by the communication network receiving end; the manner in which the application receiving end provides the indication information includes, but is not limited to, sending the message alone, carrying a header field of the message, carrying a Payload (Payload/Data) of the message, and carrying a tail of the message. The application receiving end provides indication information including but not limited to:
a) Message receiving conditions (whether the upper layer application requirements are matched or not) in each period of the application receiving end;
b) The sending condition (sending time point, message time drift condition and the like) of the message in each period of the application receiving end is adopted;
c) Whether the activation condition of the application receiving end contains effective information interaction (such as a control instruction which needs to be sent, state information which needs to be fed back and the like); if no valid information interaction is involved (e.g., only keep-alive messages are included), the jitter buffer length may be increased appropriately;
step 903: the communication network receiving end adjusts the de-jitter buffer area according to the indication information. One specific adjustment mode is as follows:
a) Setting a maximum value MaxT and a minimum value MinT of the delay timer;
b) Setting an increase step size StepUp (e.g., x ms) and a decrease step size StepDown (e.g., y ms) of the delay timer;
c) When the delay timer needs to be lengthened, the step length is increased according to the step length, and the maximum value does not exceed MaxT;
d) When the delay timer needs to be shortened, shortening according to the step length of the StepDOWn, wherein the minimum value is not lower than MinT;
e) The periodic timer may also be adjusted according to the application information.
Step 904: the communication network receiving end provides indication information for the application receiving end, and the application receiving end is cooperated to adjust the de-jitter buffer; the manner of providing the indication information by the communication network receiving end includes, but is not limited to, transmitting the message alone, negotiating modification of the header field of the message, negotiating modification of the Payload (Payload/Data) of the message, negotiating modification of the tail of the message; the indication information provided by the communication network receiving end includes, but is not limited to:
a) Channel quality information (channel quality, load information, interference information of wireless network, etc.) at the network side;
b) The working state of the network equipment (information such as hardware load information, temperature and the like);
c) Counting the transmission accuracy/bit error rate of the network;
step 905: the application receiving end adjusts the de-jitter buffer area according to the network information. One specific adjustment is as follows;
a) Setting a maximum value MaxT and a minimum value MinT of the delay timer;
b) Setting an increase step size StepUp (e.g., x ms) and a decrease step size StepDown (e.g., y ms) of the delay timer;
c) When the delay timer needs to be lengthened, the step length is increased according to the step length, and the maximum value does not exceed MaxT;
d) When the delay timer needs to be shortened, shortening according to the step length of the StepDOWn, wherein the minimum value is not lower than MinT;
e) The periodic timer may also be adjusted according to the network information.
According to the embodiment, the de-jitter buffer is adjusted cooperatively by the application receiving end and the communication network receiving end, the setting of the buffer timer is more in line with the application experience and the network state, and better application experience and network resource saving can be obtained.
The periodic time delay sensitive message transmission process is usually bidirectional, for example, in the industrial control message interaction process, the control master station periodically transmits a control instruction to the slave station, and the slave station needs to periodically feed back state information to the master station; in such a bidirectional periodic delay sensitive message transmission scenario, in order to guarantee the effects of delay jitter and delay, de-jitter buffers need to be set at both communication ends (or other links). Because the transmitted information at the two communication ends has correlation, the buffer areas at the two communication ends need to be cooperated, and the certainty and the instantaneity of the information interaction are improved.
Taking bidirectional communication of the device A and the device B as an example, the two devices are provided with a transmitting end buffer area and a receiving end buffer area; the sending end buffer area is used for sending periodic messages; the receiving end buffer zone is used for controlling jitter of a message submitting scene to an upper layer application and giving consideration to real-time performance. Please refer to a buffer adjustment flow chart shown in fig. 10.
Step 1001: whether the two communication parties have a central control node (main control node) is judged, otherwise, step 1002 is executed, and if yes, step 1004 is executed.
Step 1002: the information interaction of the two communication parties and the information of the coordinated buffer area are as follows:
the devices A, B can notify the buffer information (such as the timer length, the receiving condition, etc.) of the opposite end through the modes of path following or independent message sending, etc.
Step 1003: the two parties of communication adjust the length of the local delay timer according to the buffer information, specifically, the device A, B may negotiate the unified/differential buffer timer length according to the buffer information of the opposite end.
In one example, the two communication parties may also adjust the sending period of the message according to the relationship between the adjusted length of the delay timer and the preset delay range. The specific adjustment mode is as follows:
The equipment A, B can adjust message sending parameters (including but not limited to message sending period) according to the receiving condition of the receiving end buffer area message of the opposite end interaction, wherein when the length of the adjusted delay timer is smaller than a preset delay range, the sending period is reduced, and when the length of the adjusted delay timer is larger than the preset delay range, the sending period is increased;
a) The receiving end buffer area of the opposite end reaches the maximum value, and the scene of upward adjustment is also needed, so that the sending period of the message can be increased by the local end;
b) The receiving end buffer area of the opposite end reaches the minimum value, and the downward adjustment is needed, so that the sending period of the message can be shortened by the local end.
Step 1004: the central control node collects child node buffer information.
Both communication parties send buffer information to a central control node, wherein the buffer information comprises the length of a delay timer, the central control node determines the adjustment specification of the delay timer according to the buffer information, determines the adjustment specification of a sending period according to the relation between the length of the delay timer and a preset delay range, and then generates an instruction according to the adjustment specification.
Step 1005: the central control node adjusts the sending parameter configuration of the child node through the instruction, for example, the two communication parties adjust the length of the delay timer according to the instruction of the central control node; the specific adjustment mode is as follows:
The central control node (master control node) sends the above instruction to both communication parties according to the buffer information fed back by the subordinate sub-nodes, so that both communication parties can adjust the respective delay timer length and the message sending period, and can also adjust the message sending time bias of each sub-node, adjust the content such as the logic relationship and the network configuration of message sending among the sub-nodes, and the like, which is not limited herein.
The embodiment of the application improves the certainty and instantaneity of the delay sensitive message delivery through the cooperation of the buffer areas of the two communication parties.
The transmission delay and jitter of the scheduling message caused by the concurrency of short-time messages and the competing scheduling resources of multiple services are unavoidable in the communication network. The QoS adjustment of the network is more biased to the adjustment of multi-user level, user level or service flow level, and the adjustment cost of making the packet-by-packet level is huge; part of the scenes are to ensure the real-time performance of periodic message transmission, and the network side adopts a non-acknowledgement communication mechanism (such as a user datagram protocol (user datagram protocol, UDP)/IP, an Unconfirmed Mode (UM) of 3GPP and the like), so that the difficulty degree of QoS adjustment at a packet-by-packet level is further increased.
Referring to fig. 11, fig. 11 is a flow chart illustrating QoS adjustment according to an embodiment of the application.
Step 1101: judging the deployment position of the de-jitter buffer; if deployed at the receiving end of the communication network, step 1102 is executed; if deployed at the application receiving end, executing step 1103;
step 1102: the communication network receiving end counts the arrival condition of the message and feeds the information back to the communication network sending end; the specific implementation scheme is as follows:
a) The receiving end buffer zone counts the message arrival conditions of the packet-by-packet level (whether a message arrives in each period or not and whether the message arrives after the delay timer is overtime or not);
b) The communication network receiving end collects the information and feeds back the information to the communication network transmitting end in a mode of message following or independent message transmission.
Step 1103: the application receiving end counts the arrival condition of the message and feeds the information back to the communication network receiving end; the specific implementation scheme is as follows:
a) The buffer area of the receiving end counts the message arrival conditions of the packet-by-packet level (whether a message arrives in each period or not and whether the message arrives after the TBf timer is overtime or not);
b) The receiving end of the application equipment collects the information and feeds the information back to the receiving end of the communication network in a mode of message following, independent message sending or buffer zone sharing;
c) The communication network receiving end collects the information and feeds back the information to the network sending end in a mode of message following or independent message sending.
Step 1104: the communication network receiving end adjusts QoS of the user and the service flow where the user is positioned according to the feedback information, thereby guaranteeing the certainty of message transmission and guaranteeing service experience; qoS that a communication network may guarantee includes, but is not limited to, the following:
a) Network slice identification of a user, and attribute/configuration (content such as priority, bandwidth, time delay guarantee and the like) of the network slice;
b) QoS class, scheduling priority, preemption attribute, etc. of the service flow where the user period message is located;
c) The transmission redundancy degree (such as transmission error rate threshold control, modulation coding mode, repeated transmission mechanism, etc.) of the service stream where the user period message is located.
The self-adaptive buffer zone of the embodiment of the application effectively counts the receiving condition of the packet-by-packet level message, and further feeds back the receiving condition to the communication network, thereby being capable of timely adjusting the QoS of the network transmission message.
In the scenario that E2E has deployed 802.1Qbv, 802.1Qch protocol of time-sensitive network (time-sensitive networking, TSN), periodic data stream is put into periodic queue to be sent periodically, guaranteeing minimum delay jitter; but the time of receiving the message is not comprehensively considered; this results in a situation where a message with a larger transmission delay is put into the buffer and delayed until the next transmission window is transmitted. For the TSN scenario, in order to reduce the impact on packets with large transmission delay, the following adjustments may be made.
Referring to fig. 12, fig. 12 is a flowchart of another message transmission method according to an embodiment of the application, where the method includes:
step 1201: the communication network receiving end adds a high-priority preemption queue, and the priority of the high-priority preemption queue is higher than that of the periodic transmission queue of the TSN.
In this embodiment, the high priority preemption queue may take precedence over the periodic transmission queue of the TSN for forwarding the message. Step 1201 may be set only once and not participate in the repeated implementation of the scheme.
Step 1202: and the communication network receiving end calculates the transmission delay of the service message. The calculation modes include, but are not limited to, the following:
a) If the sender and the receiver have realized Time synchronization of the TSN, the receiver acquires a TimeStamp TimeStamp1 and a local Time Time2 carried in the message, and the TimeStamp TimeStamp1 and the local Time Time2 subtract the transmitted Time of the acquired message: i.e., transmissiiontime = Time2-TimeStamp1;
b) If the sending end and the receiving end do not deploy time synchronization of TSN, the receiving end can take the receiving time of the first/Nth received periodic message as a starting point TimeStart and record a corresponding message sequence number SN_Start; judging the transmitted Time of the message according to the local Time Time2, the sending period CycleTime of the message and the current sequence number SN: transmisionTime = Time2-TimeStart- (CycleTime x (SN-SN_Start)); the sequence number SN and sn_start may be counted by the receiving end, or may be obtained by calculating the sequence number information of the message itself.
Step 1203: a receiving end of the communication network sets a message transmission delay threshold value Thd; the setting manner of the threshold value includes, but is not limited to, the following manners:
a) Multiplying the cycle time of the applied packet by a coefficient alpha to obtain; namely: thd=cycletime, α, where α is used to equalize jitter of the message, α decreases when jitter increases, and α increases when jitter decreases;
b) On the basis of the above-mentioned Thd, a buffer queue processing delay and a receiving end processing delay can be reserved;
c) The method can negotiate with the application to determine the delay threshold value Thd of the message transmission which can be tolerated by the application, and is set in the modes of pre-negotiation, application active notification and the like, wherein the delay threshold value is determined according to the sending period of the service message.
Step 1204: the communication network receiving end judges whether the transmission delay of the message exceeds a threshold value Thd, if yes, the step 1205 is executed; if not, go to step 1206.
Step 1205: the transmission delay of the message exceeds a threshold value Thd, and the communication network receiving end puts the message into a high-priority preemption queue for immediate delivery; the timeliness of the message is guaranteed.
In this embodiment, the high priority preemption queue may submit the message in time without waiting for buffering of the periodic queue.
Step 1206: and the communication network receiving end puts the message into a periodic transmission queue of the TSN and submits the message according to a transmission period set by the TSN.
The embodiment of the application increases the high-priority preemption queue through the communication network receiving end, is superior to TSN queue transmission, increases the time delay calculation mode of the message, sets the threshold value of the message transmission time delay, judges the waiting time delay of the message, submits and avoids buffering waiting when exceeding the threshold value, and improves the timeliness of the message.
The message transmission method is described above, and the device for executing the method is described below.
Referring to fig. 13, fig. 13 is a schematic structural diagram of a message transmission device according to an embodiment of the present application, where the device 130 includes:
an obtaining unit 1301, configured to obtain a transmission period requirement and a transmission delay requirement of a first packet in a communication service, where the first packet is a delay sensitive packet;
a determining unit 1302 for determining a period timer according to the transmission period requirement and a delay timer according to the transmission delay requirement;
and the forwarding unit 1303 is configured to forward the first message to the next node when the first message is received outside the period timer, and forward the first message to the next node when the first message is received inside the period timer but is received outside the delay timer, where the delay timer is smaller than the period timer.
Optionally, the apparatus 130 further comprises an adjustment unit 1304, where the adjustment unit 1304 is specifically configured to:
counting a first number of messages received in a delay timer and a second number of messages received in a period timer;
and adjusting the length of the delay timer according to the relation between the first quantity and the first preset quantity range, and adjusting the length of the period timer according to the relation between the second quantity and the second preset quantity range.
Optionally, the adjusting unit 1304 is further configured to:
and regulating the sending period of the message according to the relation between the delay timer and the preset delay range.
Optionally, the difference between the first number and the first preset number range is in positive feedback relation with the length of the delay timer;
the difference between the second number and the second predetermined number range is in positive feedback relation to the length of the periodic timer.
Optionally, the apparatus 130 further comprises an adjustment unit 1304, where the adjustment unit 1304 is specifically configured to:
receiving indication information from the network equipment, wherein the indication information indicates transmission quality;
the lengths of the delay timer and the period timer are adjusted according to the indication information.
Optionally, the apparatus 130 further comprises an adjustment unit 1304, where the adjustment unit 1304 is specifically configured to:
receiving buffer information from a network device, the buffer information including a length of a delay timer;
And adjusting the length of the local delay timer according to the buffer information.
Optionally, the adjusting unit 1304 is further configured to:
and regulating the sending period of the message according to the relation between the length of the regulated delay timer and the preset delay range.
Optionally, the adjusting unit 1304 is further configured to:
when the length of the delay timer after adjustment is smaller than a preset delay range, reducing a transmission period;
and when the length of the adjusted delay timer is greater than the preset delay range, increasing the transmission period.
Optionally, the apparatus 130 further comprises an adjustment unit 1304, where the adjustment unit 1304 is specifically configured to:
transmitting buffer information to the central control node, the buffer information including the length of the delay timer;
the length of the delay timer is adjusted according to an instruction from the central control node, wherein the instruction is the adjustment specification of the delay timer determined by the central control node according to the buffer information.
Optionally, the instructions further include an adjustment specification of the transmission period determined by the central control node according to a relationship between the adjusted length of the delay timer and the preset delay range, and the adjustment unit 1304 is further configured to:
and adjusting the sending period of the message according to the adjustment specification of the sending period.
Optionally, the apparatus 130 further comprises an adjustment unit 1304, where the adjustment unit 1304 is specifically configured to:
acquiring the arrival conditions of messages in the delay timer and the period timer;
and adjusting the service quality of the message transmission according to the arrival condition.
The obtaining unit 1301 of the apparatus 130 is configured to perform the step 301 in the method embodiment of fig. 3 and the step 601 in the method embodiment of fig. 6, the determining unit 1302 of the apparatus 130 is configured to perform the step 302 in the method embodiment of fig. 3 and the step 602 in the method embodiment of fig. 6, and the forwarding unit 1303 of the apparatus 130 is configured to perform the steps 303 to 304 in the method embodiment of fig. 3 and the steps 602 to 604 in the method embodiment of fig. 6, which are not described herein again.
Referring to fig. 14, fig. 14 is a schematic structural diagram of another message transmission apparatus according to an embodiment of the present application, where the apparatus 140 includes:
an acquiring unit 1401, acquiring a transmission delay of a service packet;
a forwarding unit 1402, configured to forward the service packet through the first queue when the transmission delay exceeds the delay threshold; and when the transmission delay does not exceed the delay threshold value, periodically forwarding the service message through the second queue.
Optionally, the delay threshold is determined according to a transmission period of the service message.
The obtaining unit 1401 of the device 140 is configured to perform the step 1202 in the method embodiment of fig. 12 and the step 602 in the method embodiment of fig. 6, and the forwarding unit 1402 of the device 140 is configured to perform the steps 1203 to 1206 in the method embodiment of fig. 12, which are not described herein.
Fig. 15 is a schematic diagram of a possible logic structure of a computer device 150 according to an embodiment of the present application. The computer device 150 includes: a processor 1501, a communication interface 1502, a memory system 1503, and a bus 1504. The processor 1501, the communication interface 1502, and the memory system 1503 are connected to each other through a bus 1504. In an embodiment of the present application, the processor 1501 is configured to control and manage the actions of the computer device 150, for example, the processor 1501 is configured to perform the steps performed by the receiving end of the communication network or the receiving end of the application in the method embodiments of fig. 3, 6, 9, 10, 11 and 12. The communication interface 1502 is used to support communication by the computer device 150. A memory system 1503 for storing program codes and data for the computer device 150.
The processor 1501 may be a central processor unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. The processor 1501 may also be a combination of computing functions, e.g., comprising one or more microprocessor combinations, a combination of digital signal processors and microprocessors, and the like. Bus 1504 may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 15, but not only one bus or one type of bus.
The forwarding unit 1303 in the apparatus 130 corresponds to the communication interface 1502 in the computer device 150, and the acquiring unit 1301, the determining unit 1302, and the adjusting unit 1304 in the apparatus 130 correspond to the processor 1501 in the computer device 150.
The forwarding unit 1402 in the apparatus 140 corresponds to the communication interface 1502 in the computer device 150, and the acquisition unit 1401 in the apparatus 140 corresponds to the processor 1501 in the computer device 150.
The computer device 150 of the present embodiment may correspond to the communication network receiving end or the application receiving end in the foregoing method embodiments of fig. 3, fig. 6, fig. 9, fig. 10, fig. 11, and fig. 12, and the communication interface 1502 in the computer device 150 may implement the functions and/or the various steps of the communication network receiving end or the application receiving end in the foregoing method embodiments of fig. 3, fig. 6, fig. 9, fig. 10, fig. 11, and fig. 12, which are not repeated herein for brevity.
It should be understood that the division of the units in the above apparatus is merely a division of a logic function, and may be fully or partially integrated into a physical entity or may be physically separated when actually implemented. And the units in the device can be all realized in the form of software calls through the processing element; or can be realized in hardware; it is also possible that part of the units are implemented in the form of software, which is called by the processing element, and part of the units are implemented in the form of hardware. For example, each unit may be a processing element that is set up separately, may be implemented as integrated in a certain chip of the apparatus, or may be stored in a memory in the form of a program, and the functions of the unit may be called and executed by a certain processing element of the apparatus. Furthermore, all or part of these units may be integrated together or may be implemented independently. The processing element described herein may in turn be a processor, which may be an integrated circuit with signal processing capabilities. In implementation, each step of the above method or each unit above may be implemented by an integrated logic circuit of hardware in a processor element or in the form of software called by a processing element.
In one example, the unit in any of the above apparatuses may be one or more integrated circuits configured to implement the above methods, for example: one or more specific integrated circuits (application specific integrated circuit, ASIC), or one or more microprocessors (digital singnal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA), or a combination of at least two of these integrated circuit forms. For another example, when the units in the apparatus may be implemented in the form of a scheduler of processing elements, the processing elements may be general-purpose processors, such as a central processing unit (central processing unit, CPU) or other processor that may invoke the program. For another example, the units may be integrated together and implemented in the form of a system-on-a-chip (SOC).
In another embodiment of the present application, there is further provided a computer readable storage medium having stored therein computer executable instructions which, when executed by a processor of a device, perform a method performed by a communication network receiving end or an application receiving end in the above method embodiment.
In another embodiment of the present application, there is also provided a computer program product comprising computer-executable instructions stored in a computer-readable storage medium. When the processor of the device executes the computer-executable instructions, the device executes the method executed by the communication network receiving end or the application receiving end in the method embodiment described above.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. 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.

Claims (30)

1. A method for transmitting a message, comprising:
acquiring a transmission period requirement and a transmission delay requirement of a first message in a communication service, wherein the first message is a time delay sensitive message;
determining a period timer according to the transmission period requirement, and determining a delay timer according to the transmission delay requirement;
when the first message is received outside the period timer, forwarding the first message to a next node;
and when the first message is received in the period timer but is received outside the delay timer, forwarding the first message to the next node, wherein the delay timer is smaller than the period timer.
2. The method according to claim 1, wherein the method further comprises:
counting a first number of messages received in the delay timer and a second number of messages received in the period timer;
and adjusting the length of the delay timer according to the relation between the first quantity and the first preset quantity range, and adjusting the length of the period timer according to the relation between the second quantity and the second preset quantity range.
3. The method of claim 2, wherein after said adjusting the length of the delay timer according to the relationship of the first number to a first predetermined number range, the method further comprises:
And regulating the sending period of the message according to the relation between the delay timer and a preset delay range.
4. A method according to claim 2 or 3, wherein the difference between the first number and the first predetermined number range is in positive feedback relation to the length of the delay timer;
the difference between the second number and the second preset number range is in positive feedback relation with the length of the periodic timer.
5. The method according to claim 1, wherein the method further comprises:
receiving indication information from network equipment, wherein the indication information indicates transmission quality;
and adjusting the lengths of the delay timer and the period timer according to the indication information.
6. The method according to claim 1, wherein the method further comprises:
receiving buffer information from a network device, the buffer information comprising a length of a delay timer of the network device;
and adjusting the length of the local delay timer according to the buffer information.
7. The method of claim 6, wherein after said adjusting the length of the local delay timer based on the buffer information, the method further comprises:
And regulating the sending period of the message according to the relation between the length of the regulated delay timer and the preset delay range.
8. The method of claim 7, wherein the adjusting the transmission period of the message according to the adjusted relationship between the length of the delay timer and the preset delay range comprises:
when the adjusted length of the delay timer is smaller than the preset delay range, reducing the transmission period;
and when the adjusted length of the delay timer is greater than the preset delay range, increasing the transmission period.
9. The method according to claim 1, wherein the method further comprises:
transmitting buffer information to a central control node, wherein the buffer information comprises the length of a delay timer of the network equipment;
and adjusting the length of the delay timer according to an instruction from the central control node, wherein the instruction is the adjustment specification of the delay timer determined by the central control node according to the buffer zone information.
10. The method of claim 9, wherein the instructions further comprise an adjustment specification for the transmission period determined by the central control node based on the adjusted length of the delay timer in relation to a preset delay range, the method further comprising, after adjusting the length of the delay timer based on the instructions from the central control node:
And adjusting the sending period of the message according to the adjustment specification of the sending period.
11. The method according to claim 1, wherein the method further comprises:
acquiring the arrival conditions of the messages in the delay timer and the period timer;
and adjusting the service quality of the message transmission according to the arrival condition.
12. A method for transmitting a message, comprising:
acquiring the transmission time delay of a service message;
when the transmission delay exceeds a delay threshold value, forwarding the service message through a first queue;
and when the transmission delay does not exceed the delay threshold value, periodically forwarding the service message through a second queue.
13. The method of claim 12, wherein the delay threshold is determined based on a transmission period of the service message.
14. A message transmission apparatus, comprising:
the device comprises an acquisition unit, a delay detection unit and a delay detection unit, wherein the acquisition unit is used for acquiring the transmission period requirement and the transmission delay requirement of a first message in communication service, wherein the first message is a delay sensitive message;
a determining unit, configured to determine a period timer according to the transmission period requirement, and determine a delay timer according to the transmission delay requirement;
And the forwarding unit is used for forwarding the first message when the first message is received outside the period timer, and forwarding the first message when the first message is received inside the period timer but is received outside the delay timer, wherein the delay timer is smaller than the period timer.
15. The device according to claim 14, characterized in that it further comprises an adjustment unit, in particular for:
counting a first number of messages received in the delay timer and a second number of messages received in the period timer;
and adjusting the length of the delay timer according to the relation between the first quantity and the first preset quantity range, and adjusting the length of the period timer according to the relation between the second quantity and the second preset quantity range.
16. The apparatus of claim 15, wherein the adjustment unit is further configured to:
and regulating the sending period of the message according to the relation between the delay timer and a preset delay range.
17. The apparatus of claim 15 or 16, wherein the difference between the first number and the first predetermined number range is in positive feedback relation to the length of the delay timer;
The difference between the second number and the second preset number range is in positive feedback relation with the length of the periodic timer.
18. The device according to claim 14, characterized in that it further comprises an adjustment unit, in particular for:
receiving indication information from network equipment, wherein the indication information indicates transmission quality;
and adjusting the lengths of the delay timer and the period timer according to the indication information.
19. The device according to claim 14, characterized in that it further comprises an adjustment unit, in particular for:
receiving buffer information from a network device, the buffer information comprising a length of a delay timer of the network device;
and adjusting the length of the local delay timer according to the buffer information.
20. The apparatus of claim 19, wherein the adjustment unit is further configured to:
and regulating the sending period of the message according to the relation between the length of the regulated delay timer and the preset delay range.
21. The apparatus of claim 20, wherein the adjustment unit is further configured to:
When the adjusted length of the delay timer is smaller than the preset delay range, reducing the transmission period;
and when the adjusted length of the delay timer is greater than the preset delay range, increasing the transmission period.
22. The device according to claim 14, characterized in that it further comprises an adjustment unit, in particular for:
transmitting buffer information to a central control node, wherein the buffer information comprises the length of a delay timer of the network equipment;
and adjusting the length of the delay timer according to an instruction from the central control node, wherein the instruction is the adjustment specification of the delay timer determined by the central control node according to the buffer zone information.
23. The apparatus of claim 22, wherein the instructions further comprise an adjustment specification for the transmission period determined by the central control node based on the adjusted length of the delay timer versus a preset delay range, the adjustment unit further configured to:
and adjusting the sending period of the message according to the adjustment specification of the sending period.
24. The device according to claim 14, characterized in that it further comprises an adjustment unit, in particular for:
Acquiring the arrival conditions of the messages in the delay timer and the period timer;
and adjusting the service quality of the message transmission according to the arrival condition.
25. A message transmission apparatus, comprising:
the acquisition unit acquires the transmission time delay of the service message;
a forwarding unit, configured to forward the service packet through a first queue when the transmission delay exceeds a delay threshold value; and when the transmission delay does not exceed the delay threshold value, periodically forwarding the service message through a second queue.
26. The apparatus of claim 25, wherein the delay threshold is determined based on a transmission period of the service message.
27. A computer device, comprising: a processor coupled to the memory,
the processor is configured to execute instructions stored in the memory to cause the computer device to perform the method of any one of claims 1 to 11.
28. A computer device, comprising: a processor coupled to the memory,
the processor is configured to execute instructions stored in the memory to cause the computer device to perform the method of any one of claims 12 to 13.
29. A computer readable storage medium having instructions stored therein which, when executed by a processor, implement the method of any one of claims 1 to 13.
30. A computer program product, characterized in that the computer program product comprises computer program code for implementing the method according to any of claims 1 to 13 when the computer program code is run on a computer.
CN202210468586.9A 2022-04-29 2022-04-29 Message transmission method and device Pending CN117014944A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210468586.9A CN117014944A (en) 2022-04-29 2022-04-29 Message transmission method and device
PCT/CN2023/087741 WO2023207585A1 (en) 2022-04-29 2023-04-12 Message transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210468586.9A CN117014944A (en) 2022-04-29 2022-04-29 Message transmission method and device

Publications (1)

Publication Number Publication Date
CN117014944A true CN117014944A (en) 2023-11-07

Family

ID=88517299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210468586.9A Pending CN117014944A (en) 2022-04-29 2022-04-29 Message transmission method and device

Country Status (2)

Country Link
CN (1) CN117014944A (en)
WO (1) WO2023207585A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10623524B2 (en) * 2015-10-08 2020-04-14 International Business Machines Corporation Temporal network service request combination to improve throughput
CN106998484B (en) * 2017-05-25 2023-05-05 游密科技(深圳)有限公司 Device and method for realizing server-side data buffering type delay forwarding
CN110876159B (en) * 2018-08-30 2022-02-11 华为技术有限公司 Method and device for improving time delay certainty
US20240214323A1 (en) * 2021-07-15 2024-06-27 New H3C Technologies Co., Ltd. Packet transmission method and apparatus

Also Published As

Publication number Publication date
WO2023207585A1 (en) 2023-11-02

Similar Documents

Publication Publication Date Title
KR102667781B1 (en) Data transmission methods and devices, traffic conversion methods and devices
US11979859B2 (en) Methods and systems for autonomous sidelink resource allocation
EP3854160B1 (en) Methods and apparatus for scheduling resources in radio access networks
WO2019196810A1 (en) Data transmission method, related device, and communications system
US20220021624A1 (en) Output pacing in a cellular communications system serving as a time-sensitive networking (tsn) node
US20220078662A1 (en) TSN-CELLULAR COMMUNICATION SYSTEM QoS MAPPING AND RAN OPTIMIZATION BASED ON TSN TRAFFIC PATTERN RELATED INFORMATION
WO2019057154A1 (en) Data transmission method, terminal device and network device
WO2019157855A1 (en) Quality of service (qos) parameter processing method, network element, system, and storage medium
KR20210088378A (en) Apparatu and method for updating time sensitive communications assistance information in a mobkle system
US20200305026A1 (en) Data Transmission Method And Apparatus
US20240214864A1 (en) Communication method, apparatus, and system
US20230171014A1 (en) Technique for determining radio device residence time and scheduling
WO2021017875A1 (en) Transmission control method and apparatus
WO2021162627A1 (en) Intra-ue uplink prioritization handling
CN117014944A (en) Message transmission method and device
WO2019089194A1 (en) Flow controlling a network stack
US20230021043A1 (en) HANDLING OVERLAPPING OF MULTIPLE PHYSICAL UPLINK SHARED CHANNELS (PUSCHs)
JP2023534724A (en) User equipment and base stations involved in small data transmission
WO2017028681A1 (en) Methods and devices for reporting data transmission status and for determining data transmission volume
WO2022248035A1 (en) Network nodes for time sensitive communication between a controller and a terminal device
WO2024093725A1 (en) Data packet processing method and communication apparatus
WO2024027615A1 (en) Communication method, communication apparatus, and communication system
WO2022056863A1 (en) Switching method and apparatus
WO2023005728A1 (en) Communication method, apparatus, and system
WO2022030113A1 (en) Base station, terminal, and communication method

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