[go: up one dir, main page]

WO2023077996A1 - Method and apparatus for forwarding user message, and electronic device and storage medium - Google Patents

Method and apparatus for forwarding user message, and electronic device and storage medium Download PDF

Info

Publication number
WO2023077996A1
WO2023077996A1 PCT/CN2022/121665 CN2022121665W WO2023077996A1 WO 2023077996 A1 WO2023077996 A1 WO 2023077996A1 CN 2022121665 W CN2022121665 W CN 2022121665W WO 2023077996 A1 WO2023077996 A1 WO 2023077996A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
message
sending
list
sent
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.)
Ceased
Application number
PCT/CN2022/121665
Other languages
French (fr)
Chinese (zh)
Inventor
戚佳佳
杜相文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Publication of WO2023077996A1 publication Critical patent/WO2023077996A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/622Queue service order
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the technical field of communications, and in particular to a user message forwarding method, device, electronic equipment and storage medium.
  • Latency refers to the time required for a packet to be transmitted from one end of a network to the other.
  • a certain degree of delay, jitter, and even out-of-order packet loss will occur.
  • the rapid development and wide application of 5G technology have put forward higher and higher requirements for the deterministic forwarding of data in communication networks.
  • For user packets sent to the core network there is a need for a method capable of measuring the arrival delay of user packets, solving the problem of out-of-sequence during packet transmission, and ensuring deterministic forwarding of user packets.
  • the purpose of the embodiments of the present application is to provide a user message forwarding method, device, electronic equipment, and storage medium to solve the problem of out-of-sequence sending of user messages and realize deterministic forwarding of user messages.
  • the embodiment of the present application provides a user message forwarding method, which is applied to a user plane function (User plane function, referred to as "UPF") device, including: receiving a user message sent by at least one user equipment , respectively generating a message sending list for the user equipment; wherein, the message sending list is generated according to the sending time stamp carried in the user message; according to the message sending list, the message sending list The user packets in it are sent out one by one.
  • a user plane function User plane function
  • the embodiment of the present application also provides a user message forwarding device, including: a generating module, configured to receive a user message sent by at least one user equipment, and generate a message sending list for the user equipment respectively; wherein, the The message sending list is generated according to the sending time stamps carried in the user messages; the sending module is configured to sequentially send the user messages in the message sending list according to the message sending list.
  • a generating module configured to receive a user message sent by at least one user equipment, and generate a message sending list for the user equipment respectively; wherein, the The message sending list is generated according to the sending time stamps carried in the user messages; the sending module is configured to sequentially send the user messages in the message sending list according to the message sending list.
  • the embodiment of the present application also provides an electronic device, including: at least one processor; and a memory connected in communication with the at least one processor; wherein, the memory stores instructions that can be executed by the at least one processor, and the instructions Executed by at least one processor, so that at least one processor can execute the above method for forwarding user packets.
  • Embodiments of the present application also provide a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above method for forwarding user messages is implemented.
  • the UPF device receives the user message sent by at least one user equipment, and generates a message sending list for the user equipment respectively, which can avoid confusion of user messages sent by different user equipments connected to the same UPF device.
  • the UPF device generates a message sending list according to the sending time stamp carried in the user message and sends the user messages sequentially according to the generated message sending list, and can receive out-of-order user messages due to different delays, Send out according to the correct sending sequence of the user equipment, and realize the deterministic forwarding of the user message.
  • FIG. 1 is a flow chart of a method for forwarding user messages according to an embodiment of the present application
  • FIG. 2 is a flow chart of a method for forwarding user messages according to another embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a device for forwarding user messages according to an embodiment of the present application
  • Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • An embodiment of the present application relates to a method for forwarding a user message, which is applied to a UPF device with a user plane function.
  • the user plane function UPF device receives the user message sent by at least one user equipment, and generates a message sending list for the user equipment respectively; wherein, the message sending list is based on the user message carried in the user message Generating a sending time stamp; sending the user messages in the message sending list sequentially according to the message sending list.
  • Step 101 receiving a user message sent by at least one user equipment, and generating a message sending list for the user equipment respectively; wherein, the message sending list is generated according to the sending time stamp carried in the user message.
  • the UPF device may connect to different user equipments (user equipment, "UE" for short).
  • UE user equipment
  • the UPF device In order to prevent different UEs from connecting to the same UPF, resulting in conflicts in the sending timestamps of user packets, the UPF device generates packet sending lists for different user equipments according to the sending timestamps carried in the user packets.
  • the message transmission list is generated according to the transmission time stamp carried in the user message, so that the packets that may be out of sequence during transmission can be ranked in the correct transmission order in the message transmission list, and finally can be sent by the UE Messages are sent out in the correct order.
  • Step 102 according to the message sending list, send the user messages in the message sending list sequentially.
  • the packets sent by the UE received by the UPF device are arranged in the correct order sent by the UE in the packet sending list, and the UPF device sends the user packets in sequence according to the packet sending list, which can solve the problem of The out-of-sequence problem may occur during the transmission of files from UE to UPF.
  • the gate at the sending end of the UPF device may also be controlled according to a preset gating rule. control state.
  • the sequentially sending the user packets in the packet sending list according to the packet sending list may include: when the gate control state is open, according to the A message sending list, sending user messages in the message sending list sequentially.
  • the UPF device uses the gated sending method to send messages, that is, sends the messages in the message sending list at a certain time interval, which can further ensure that the messages are sent in the correct order. Avoid possible packet disorder caused by UE sending early and arriving UPF late.
  • the preset gating rule in the above example may include: when the first time interval is not less than the second time interval, controlling the gating state to be open; wherein, the first time interval is based on the current time and the Acquiring the difference between the last user message sending time of the UPF device, the second time interval is based on the sending timestamp carried in the next user message to be sent in the message sending list and the last time of the UPF device Obtain the difference value of the sending timestamp carried in the sent user message.
  • This setting is made for the gating rule, that is, the sending end of the UPF device waits for the interval between the sending time stamps carried by two adjacent messages in the message sending list, and then turns on the sending end to send messages, which can avoid possible UE sending , arrive at the UPF device late, and there are packets with sending timestamps between the last sent packet and the packets to be sent in the list, which causes the packets to be out of order.
  • the preset gating rule gate(f) involved in this example can be expressed by the following expression:
  • T send refers to the sending timestamp carried in the user message sent by the UPF device last time
  • T' send refers to the sending time carried in the next user message to be sent in the message sending list
  • T'UpfSend refers to the time when the UPF device sent the last user message.
  • open means that the gate control status of the sending end of the UPF device is open; close means that the gate control status of the sending end of the UPF device is off.
  • the user messages in the message sending list may further include: Timestamp, update the message sending list.
  • updating the message sending list according to the sending time stamp carried in the user message received in real time may be that the sending time stamp carried in the user message received in real time is less than the time stamp carried in the report
  • the transmission time stamp carried in the next user message to be sent in the message transmission list add the user message received in real time to the message transmission list and use it as the next user message to be sent arts.
  • the sending timestamp carried in the real-time received message is smaller than the sending timestamp carried in the next user message to be sent in the message sending list, it means that the real-time received message was sent by the UE earlier Messages to be sent in the message sending list. Therefore, in order to ensure that the messages are sent sequentially, it is necessary to add the real-time received message to the message sending list and use it as the next user message to be sent.
  • the present application receives user messages sent by at least one user equipment, and generates message sending lists for the user equipments respectively, which can avoid confusion of user messages sent by different user equipments connected to the same UPF device.
  • the UPF device generates a message sending list according to the sending time stamp carried in the user message and sends the user messages sequentially according to the generated message sending list, and can receive out-of-order user messages due to different delays, Send out according to the correct sending sequence of the user equipment, and realize the deterministic forwarding of the user message.
  • the user plane function UPF device receives a user message sent by at least one user equipment, and generates a message sending list for the user equipment respectively.
  • the method further includes: obtaining the sending time stamp carried in the user message, and obtaining the arrival delay of the user message according to the sending time stamp; Discarding user packets whose arrival delays exceed a preset delay threshold according to the arrival delays of the plurality of user packets.
  • Step 201 Receive a user message sent by at least one user equipment, obtain a sending time stamp carried in the user message, and obtain an arrival delay of the user message according to the sending time stamp.
  • ⁇ t(f, qfi) T rev (f, qfi) - T send (f, qfi)
  • T rev (f, qfi) refers to the sending timestamp carried in the message when the UE sends the message
  • T send (f, qfi) refers to the quality of service (Quality of Service, referred to as "QoS") carried in the user message. ”) identifier, and the preset delay threshold can be set accordingly
  • T rev (f, qfi) refers to the time stamp when the UPF device receives the user message.
  • a packet delay statistics list may also be generated according to the received user packet and the obtained delay.
  • the delay value ⁇ t(f i ,qfi) stored in the i-th position in the packet delay statistics list can be expressed by the following expression:
  • n refers to the number of delays saved in the statistics list.
  • Step 202 according to the arrival delays of multiple user packets, discard user packets whose arrival delays exceed a preset delay threshold.
  • the user packets whose arrival delay exceeds the preset delay threshold may have been sent by the UPF device at the adjacent time, so if the Adding to the cache list may cause out-of-order packets, which should be discarded.
  • the processing of the received message can also be realized by using the following expression to preset the delay screening policy policy(f):
  • drop refers to discarding the message, and keep refers to performing further processing on the message (adding it to the message sending list).
  • E( ⁇ t,qfi) is the preset delay threshold.
  • the delay threshold can be preset to obtain the preset delay threshold, and the preset delay threshold is calculated according to the average value of the arrival delays of multiple user packets and the service quality requirements corresponding to the user packets.
  • the delay threshold is dynamically updated.
  • the delay threshold E( ⁇ t,qfi) can be preset and dynamically updated by the following expression:
  • n is the number of user packets obtained by the UPF equipment
  • ratio (qfi) refers to different qfi, that is, corresponding correction parameters configured for different service quality requirements corresponding to user packets, and the range can be based on actual business requirements (for service flow delay requirements) setting.
  • n ⁇ t(f i ,qfi) is the average value of n ⁇ t(f i ,qfi), which can be obtained by the following expression:
  • the mode value or other statistics of n ⁇ t(f i , qfi) can also be used to set the delay threshold.
  • Step 203 generating a packet transmission list for the user equipment respectively; wherein, the packet transmission list is generated according to the transmission time stamp carried in the user packet.
  • Step 204 according to the message sending list, send the user messages in the message sending list sequentially.
  • step 203 and step 204 in this embodiment are the same as step 101 and step 102 in the previous embodiment, so the relevant technical details mentioned in the previous embodiment are still valid in this embodiment, and in the previous embodiment
  • the technical effects that can be achieved in the implementation manner can also be achieved in this implementation manner, and in order to reduce repetition, details are not repeated here.
  • the user message forwarding method involved in this embodiment may also be implemented by a user message forwarding device.
  • the user message forwarding device may include a delay acquisition module for obtaining the arrival delay of the user message, and a forwarding message acquisition module for discarding messages with too large delay and only retaining messages that can be forwarded, And generate module and send module.
  • This embodiment receives the user message sent by at least one user equipment, and obtains the sending timestamp carried in the user message, and then according to the sending timestamp and the time stamp of the user message received by the UPF device, the user message can be obtained arrival delay.
  • the user packets whose arrival delay exceeds the preset delay threshold are discarded, so as to prevent the sequence sending of service flows from being affected by excessive packet delay.
  • Generating a packet transmission list for the user equipment separately can avoid confusion in user packets sent by different user equipment connected to the same UPF device.
  • the UPF device generates a message sending list according to the sending time stamp carried in the user message and sends the user messages sequentially according to the generated message sending list, and can receive out-of-order user messages due to different delays, Send out according to the correct sending sequence of the user equipment, and realize the deterministic forwarding of the user message.
  • An embodiment of the present application relates to a device for forwarding user messages, as shown in FIG. 3 , including:
  • the generating module 301 is configured to receive a user message sent by at least one user equipment, and generate a message sending list for the user equipment respectively; wherein, the message sending list is generated according to the sending time stamp carried in the user message ;
  • the sending module 302 is configured to sequentially send the user messages in the message sending list according to the message sending list.
  • the device for forwarding user messages may further include: a gating module (not shown in the figure), configured to send user messages in the message sending list according to the message sending list Before the text is sent out in sequence, the gating state of the sending end of the UPF device is controlled according to the preset gating rules; in this case, according to the message sending list, the user messages in the message sending list are sent Sending out sequentially may include: when the gate control state is on, according to the message sending list, sending the user messages in the message sending list sequentially.
  • a gating module (not shown in the figure), configured to send user messages in the message sending list according to the message sending list Before the text is sent out in sequence, the gating state of the sending end of the UPF device is controlled according to the preset gating rules; in this case, according to the message sending list, the user messages in the message sending list are sent Sending out sequentially may include: when the gate control state is on, according to the message sending list, sending the user messages in the message sending list sequentially.
  • the preset gating rule may include: when the first time interval is not less than the second time interval, controlling the gating state to be open; wherein the first time interval is based on the current time and the set The difference between the last user message sending time of the UPF device is obtained, and the second time interval is based on the sending time stamp carried in the next user message to be sent in the message sending list and the time stamp on the UPF device. Obtain the difference value of the sending timestamp carried in the user message sent once.
  • the device for forwarding user messages may further include: an update module (not shown in the figure), configured to send user messages in the message sending list according to the message sending list After sending out sequentially, the message sending list is updated according to the sending time stamp carried in the user message received in real time.
  • an update module (not shown in the figure), configured to send user messages in the message sending list according to the message sending list After sending out sequentially, the message sending list is updated according to the sending time stamp carried in the user message received in real time.
  • the update module may also be configured to include the sending timestamp carried in the user message received in real time to be smaller than the sending timestamp carried in the next user message to be sent in the message sending list In the case of , add the user message received in real time to the message sending list, and use it as the next user message to be sent.
  • the device for forwarding user packets may further include: a discarding module (not shown in the figure), configured to acquire the carry the sending timestamp, and obtain the arrival delay of the user message according to the sending timestamp; according to the arrival delay of multiple user messages, discard the arrival delay exceeding the preset delay threshold user messages.
  • a discarding module (not shown in the figure), configured to acquire the carry the sending timestamp, and obtain the arrival delay of the user message according to the sending timestamp; according to the arrival delay of multiple user messages, discard the arrival delay exceeding the preset delay threshold user messages.
  • the preset delay threshold involved in this example may be dynamically updated according to an average value of the arrival delays of multiple user packets and a service quality requirement corresponding to the user packets.
  • the user message forwarding device receives user messages sent by at least one user equipment, and generates message sending lists for the user equipments respectively, which can avoid confusion of user messages sent by different user equipments connected to the same UPF device.
  • the UPF device generates a message sending list according to the sending time stamp carried in the user message and sends the user messages sequentially according to the generated message sending list, and can receive out-of-order user messages due to different delays, Send out according to the correct sending order of the user equipment, and realize the deterministic forwarding of the user message.
  • a logical unit can be a physical unit, or a part of a physical unit, and can also Combination of physical units.
  • units that are not closely related to solving the technical problems raised in the application are not introduced in the application, but this does not mean that there are no other units in the application.
  • An embodiment of the present application also provides an electronic device, as shown in FIG. 4 , including at least one processor 401; and a memory 402 communicatively connected to the at least one processor 401; An instruction executed by one processor 401, the instruction is executed by at least one processor 401, so that at least one processor 401 can execute the foregoing method for forwarding user packets.
  • the memory 402 and the processor 401 are connected by a bus, and the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors 401 and various circuits of the memory 402 together.
  • the bus may also connect together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein.
  • the bus interface provides an interface between the bus and the transceivers.
  • a transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing means for communicating with various other devices over a transmission medium.
  • the data processed by the processor 401 is transmitted on the wireless medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor 401 .
  • Processor 401 is responsible for managing the bus and general processing, and may also provide various functions including timing, peripheral interface, voltage regulation, power management, and other control functions. And the memory 402 may be used to store data used by the processor 401 when performing operations.
  • Embodiments of the present application also provide a computer-readable storage medium storing a computer program.
  • the computer program is executed by the processor, the above method for forwarding the user message is realized.
  • a storage medium includes several instructions to make a device (which can be A single chip microcomputer, a chip, etc.) or a processor (processor) executes all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as "ROM”), random access memory (Random Access Memory, referred to as "RAM”), magnetic disk or optical disc, etc.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or optical disc etc.

Landscapes

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

Abstract

Disclosed in the present application are a method and apparatus for forwarding a user message, and an electronic device and a storage medium. The method for forwarding a user message is applied to a user plane function (UPF) device, and comprises: receiving a user message, which is sent by at least one user equipment, and respectively generating a message sending list for the user equipment, wherein the message sending list is generated according to a sending timestamp which is carried in the user message; and sequentially sending out user messages in the message sending list according to the message sending list.

Description

用户报文的转发方法、装置、电子设备和存储介质User message forwarding method, device, electronic equipment and storage medium

相关申请related application

本申请要求于2021年11月4日申请的、申请号为202111302256.4的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application with application number 202111302256.4 filed on November 4, 2021, the entire contents of which are incorporated herein by reference.

技术领域technical field

本申请涉及通信技术领域,尤其是涉及一种用户报文的转发方法、装置、电子设备和存储介质。The present application relates to the technical field of communications, and in particular to a user message forwarding method, device, electronic equipment and storage medium.

背景技术Background technique

时延是指报文从一个网络的一端传送到另一端所需要的时间。业务流在端到端的传输过程中,到达网络中的每一个节点,都会产生一定程度的时延、抖动,甚至乱序丢包。而5G技术的迅速发展和广泛应用,对通信网络中数据的确定性转发提出了越来越高的要求。对于发往核心网的用户报文,需要一种能够测量用户报文的到达时延、解决报文传输过程中发生乱序这一问题、保障用户报文的确定性转发的方法。Latency refers to the time required for a packet to be transmitted from one end of a network to the other. During the end-to-end transmission process, when the service flow reaches each node in the network, a certain degree of delay, jitter, and even out-of-order packet loss will occur. The rapid development and wide application of 5G technology have put forward higher and higher requirements for the deterministic forwarding of data in communication networks. For user packets sent to the core network, there is a need for a method capable of measuring the arrival delay of user packets, solving the problem of out-of-sequence during packet transmission, and ensuring deterministic forwarding of user packets.

然而,传统的通信技术中,没有解决报文乱序这一问题的相关方法。However, in traditional communication technologies, there is no relevant method to solve the problem of out-of-sequence packets.

发明内容Contents of the invention

本申请实施方式的目的在于提供一种用户报文的转发方法、装置、电子设备和存储介质,用以解决用户报文发送乱序的问题,实现用户报文的确定性转发。The purpose of the embodiments of the present application is to provide a user message forwarding method, device, electronic equipment, and storage medium to solve the problem of out-of-sequence sending of user messages and realize deterministic forwarding of user messages.

为了解决上述问题,本申请的实施方式提供了一种用户报文的转发方法,应用于用户面功能(User plane function,简称“UPF”)设备,包括:接收至少一个用户设备发送的用户报文,为所述用户设备分别生成报文发送列表;其中,所述报文发送列表根据所述用户报文中携带的发送时间戳生成;根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去。In order to solve the above problems, the embodiment of the present application provides a user message forwarding method, which is applied to a user plane function (User plane function, referred to as "UPF") device, including: receiving a user message sent by at least one user equipment , respectively generating a message sending list for the user equipment; wherein, the message sending list is generated according to the sending time stamp carried in the user message; according to the message sending list, the message sending list The user packets in it are sent out one by one.

本申请的实施方式还提供了一种用户报文的转发装置,包括:生成模块,用于接收至少一个用户设备发送的用户报文,为所述用户设备分别生成报文发送列表;其中,所述报文发送列表根据所述用户报文中携带的发送时间戳生成;发送模块,用于根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去。The embodiment of the present application also provides a user message forwarding device, including: a generating module, configured to receive a user message sent by at least one user equipment, and generate a message sending list for the user equipment respectively; wherein, the The message sending list is generated according to the sending time stamps carried in the user messages; the sending module is configured to sequentially send the user messages in the message sending list according to the message sending list.

本申请的实施方式还提供了一种电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行上述的用户报文的转发方法。The embodiment of the present application also provides an electronic device, including: at least one processor; and a memory connected in communication with the at least one processor; wherein, the memory stores instructions that can be executed by the at least one processor, and the instructions Executed by at least one processor, so that at least one processor can execute the above method for forwarding user packets.

本申请的实施方式还提供了一种存储有计算机程序的计算机可读存储介质,计算机程序被处理器执行时实现上述的用户报文的转发方法。Embodiments of the present application also provide a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above method for forwarding user messages is implemented.

在本申请的实施方式中,UPF设备接收至少一个用户设备发送的用户报文,为用户设备分别生成报文发送列表,能够避免对接同一UPF设备的不同用户设备,发出的用户报文发生混乱。UPF设备根据用户报文中携带的发送时间戳生成报文发送列表并根据生成的报文发送列表将用户报文依次发送出去,能够将接收到的由于时延不同发生乱序的用户报文,按照用户设备的正确发送顺序发送出去,实现用户报文的确定性转发。In the embodiment of the present application, the UPF device receives the user message sent by at least one user equipment, and generates a message sending list for the user equipment respectively, which can avoid confusion of user messages sent by different user equipments connected to the same UPF device. The UPF device generates a message sending list according to the sending time stamp carried in the user message and sends the user messages sequentially according to the generated message sending list, and can receive out-of-order user messages due to different delays, Send out according to the correct sending sequence of the user equipment, and realize the deterministic forwarding of the user message.

附图说明Description of drawings

一个或多个实施方式通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施方式的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings, and these exemplifications do not constitute a limitation to the embodiments. Elements with the same reference numerals in the drawings represent similar elements. Unless otherwise stated, the drawings in the drawings are not limited to scale.

图1是根据本申请一实施方式中的用户报文的转发方法流程图;FIG. 1 is a flow chart of a method for forwarding user messages according to an embodiment of the present application;

图2是根据本申请另一实施方式中的用户报文的转发方法流程图;FIG. 2 is a flow chart of a method for forwarding user messages according to another embodiment of the present application;

图3是根据本申请一实施方式中的用户报文的转发装置的结构示意图;FIG. 3 is a schematic structural diagram of a device for forwarding user messages according to an embodiment of the present application;

图4是根据本申请一实施方式中的电子设备的结构示意图。Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请的各实施方式进行详细的阐述。然而,本领域的普通技术人员可以理解,在本申请各实施方式中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请所要求保护的技术方案。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, various implementations of the present application will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present application, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in this application can also be realized.

本申请的一实施方式涉及一种用户报文的转发方法,应用于用户面功能UPF设备。An embodiment of the present application relates to a method for forwarding a user message, which is applied to a UPF device with a user plane function.

在本申请中,用户面功能UPF设备接收至少一个用户设备发送的用户报文,为所述用户设备分别生成报文发送列表;其中,所述报文发送列表根据所述用户报文中携带的发送时间戳生成;根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去。In this application, the user plane function UPF device receives the user message sent by at least one user equipment, and generates a message sending list for the user equipment respectively; wherein, the message sending list is based on the user message carried in the user message Generating a sending time stamp; sending the user messages in the message sending list sequentially according to the message sending list.

下面对本申请中的用户报文的转发方法的实现细节进行具体的说明,以下内容仅为方便理解本方案的实现细节,并非实施本方案的必须。如图1所示,可包括如下步骤:The implementation details of the method for forwarding user messages in this application are described in detail below. The following content is only for the convenience of understanding the implementation details of this solution, and is not necessary for implementing this solution. As shown in Figure 1, the following steps may be included:

步骤101,接收至少一个用户设备发送的用户报文,为用户设备分别生成报文发送列表;其中,报文发送列表根据用户报文中携带的发送时间戳生成。Step 101, receiving a user message sent by at least one user equipment, and generating a message sending list for the user equipment respectively; wherein, the message sending list is generated according to the sending time stamp carried in the user message.

在本步骤中,UPF设备可能对接不同的用户设备(user equipment,简称“UE”)。为避免不同UE对接同一UPF,而导致用户报文的发送时间戳产生冲突,UPF设备根据用户报文中携带的发送时间戳,为不同用户设备分别生成报文发送列表。该报文发送列表根据用户报文中携带的发送时间戳生成,能够使得在传输过程中可能发生乱序的报文,在报文发送列表中以正确发送顺序排位,并最终能够以UE发送报文的正确顺序发送出去。In this step, the UPF device may connect to different user equipments (user equipment, "UE" for short). In order to prevent different UEs from connecting to the same UPF, resulting in conflicts in the sending timestamps of user packets, the UPF device generates packet sending lists for different user equipments according to the sending timestamps carried in the user packets. The message transmission list is generated according to the transmission time stamp carried in the user message, so that the packets that may be out of sequence during transmission can be ranked in the correct transmission order in the message transmission list, and finally can be sent by the UE Messages are sent out in the correct order.

步骤102,根据报文发送列表,将报文发送列表中的用户报文依次发送出去。Step 102, according to the message sending list, send the user messages in the message sending list sequentially.

具体地说,UPF设备接收到的UE发送的报文在报文发送列表中以UE发送的正确顺序排布,UPF设备根据报文发送列表,将其中的用户报文依次发送出去,能够解决报文在UE至UPF的传输过程中可能发生乱序的问题。Specifically, the packets sent by the UE received by the UPF device are arranged in the correct order sent by the UE in the packet sending list, and the UPF device sends the user packets in sequence according to the packet sending list, which can solve the problem of The out-of-sequence problem may occur during the transmission of files from UE to UPF.

在一个例子中,在所述根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去之前,还可以根据预设门控规则控制所述UPF设备的发送端的门控状态。在这种情况下,所述根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去,可以包括:在所述门控状态为开的情况下,根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去。UPF设备发送报文采用门控发送方式,即以一定的时间间隔将报文发送列表中的报文发送出去,能够进一步确保报文按照正确顺序发送。避免可能存在的UE发出早、到达UPF设备晚的报文存在,引发的报文乱序。In an example, before the user messages in the message sending list are sequentially sent out according to the message sending list, the gate at the sending end of the UPF device may also be controlled according to a preset gating rule. control state. In this case, the sequentially sending the user packets in the packet sending list according to the packet sending list may include: when the gate control state is open, according to the A message sending list, sending user messages in the message sending list sequentially. The UPF device uses the gated sending method to send messages, that is, sends the messages in the message sending list at a certain time interval, which can further ensure that the messages are sent in the correct order. Avoid possible packet disorder caused by UE sending early and arriving UPF late.

上述例子中的预设门控规则可以包括:在第一时间间隔不小于第二时间间隔的情况下,控制所述门控状态为开;其中,所述第一时间间隔根据当前时间和所述UPF设备上一次的用 户报文发送时间的差值获取,所述第二时间间隔根据所述报文发送列表中下一个待发送的用户报文中携带的发送时间戳和所述UPF设备上一次发送的用户报文中携带的发送时间戳的差值获取。对门控规则进行此设置,即令UPF设备的发送端等待报文发送列表中相邻的两报文携带的发送时间戳的间隔,再开启发送端进行报文发送,能够避免可能存在的UE发出早、到达UPF设备晚、发送时间戳处于上一发出的报文和列表中待发送的报文之间的报文存在,引发的报文乱序。本例中涉及的预设门控规则gate(f)可以用下述表达式表示:The preset gating rule in the above example may include: when the first time interval is not less than the second time interval, controlling the gating state to be open; wherein, the first time interval is based on the current time and the Acquiring the difference between the last user message sending time of the UPF device, the second time interval is based on the sending timestamp carried in the next user message to be sent in the message sending list and the last time of the UPF device Obtain the difference value of the sending timestamp carried in the sent user message. This setting is made for the gating rule, that is, the sending end of the UPF device waits for the interval between the sending time stamps carried by two adjacent messages in the message sending list, and then turns on the sending end to send messages, which can avoid possible UE sending , arrive at the UPF device late, and there are packets with sending timestamps between the last sent packet and the packets to be sent in the list, which causes the packets to be out of order. The preset gating rule gate(f) involved in this example can be expressed by the following expression:

Figure PCTCN2022121665-appb-000001
Figure PCTCN2022121665-appb-000001

其中,t为当前时间,T send是指UPF设备上一次发送的用户报文中携带的发送时间戳,T' send是指报文发送列表中下一个待发送的用户报文中携带的发送时间戳,T' UpfSend是指UPF设备上一次的用户报文发送时间。open是指UPF设备的发送端的门控状态为开;close是指UPF设备的发送端的门控状态为关。 Among them, t is the current time, T send refers to the sending timestamp carried in the user message sent by the UPF device last time, and T' send refers to the sending time carried in the next user message to be sent in the message sending list T'UpfSend refers to the time when the UPF device sent the last user message. open means that the gate control status of the sending end of the UPF device is open; close means that the gate control status of the sending end of the UPF device is off.

在另一个例子中,在所述根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去后,还可以包括:根据实时接收到的用户报文中携带的发送时间戳,更新所述报文发送列表。本例中,根据实时接收到的用户报文中携带的发送时间戳,更新所述报文发送列表可以是,在所述实时接收到的用户报文中携带的发送时间戳,小于所述报文发送列表中下一个待发送的用户报文中携带的发送时间戳的情况下,将所述实时接收到的用户报文添加至所述报文发送列表,并作为下一个待发送的用户报文。In another example, after the user messages in the message sending list are sequentially sent out according to the message sending list, it may further include: Timestamp, update the message sending list. In this example, updating the message sending list according to the sending time stamp carried in the user message received in real time may be that the sending time stamp carried in the user message received in real time is less than the time stamp carried in the report In the case of the transmission time stamp carried in the next user message to be sent in the message transmission list, add the user message received in real time to the message transmission list and use it as the next user message to be sent arts.

若实时接收到的报文携带的发送时间戳小于所述报文发送列表中下一个待发送的用户报文中携带的发送时间戳,说明此实时接收到的报文被UE发出来的时间早于报文发送列表中待发送的报文。因此,为保证使报文顺序发送,需将该实时接收到的报文添加至所述报文发送列表,并作为下一个待发送的用户报文。If the sending timestamp carried in the real-time received message is smaller than the sending timestamp carried in the next user message to be sent in the message sending list, it means that the real-time received message was sent by the UE earlier Messages to be sent in the message sending list. Therefore, in order to ensure that the messages are sent sequentially, it is necessary to add the real-time received message to the message sending list and use it as the next user message to be sent.

本申请接收至少一个用户设备发送的用户报文,为用户设备分别生成报文发送列表,能够避免对接同一UPF设备的不同用户设备,发出的用户报文发生混乱。UPF设备根据用户报文中携带的发送时间戳生成报文发送列表并根据生成的报文发送列表将用户报文依次发送出去,能够将接收到的由于时延不同发生乱序的用户报文,按照用户设备的正确发送顺序发送出去,实现用户报文的确定性转发。The present application receives user messages sent by at least one user equipment, and generates message sending lists for the user equipments respectively, which can avoid confusion of user messages sent by different user equipments connected to the same UPF device. The UPF device generates a message sending list according to the sending time stamp carried in the user message and sends the user messages sequentially according to the generated message sending list, and can receive out-of-order user messages due to different delays, Send out according to the correct sending sequence of the user equipment, and realize the deterministic forwarding of the user message.

本申请的另一实施方式涉及一种用户报文的转发方法,应用于用户面功能UPF设备。在本申请中,用户面功能UPF设备接收至少一个用户设备发送的用户报文,为所述用户设备分别生成报文发送列表。在所述为所述用户设备分别生成报文发送列表之前,还包括:获取所述用户报文中携带的发送时间戳,并根据所述发送时间戳获取所述用户报文的到达时延;根据多个所述用户报文的所述到达时延,丢弃到达时延超出预设时延阈值的用户报文。Another embodiment of the present application relates to a method for forwarding user packets, which is applied to a user plane function UPF device. In this application, the user plane function UPF device receives a user message sent by at least one user equipment, and generates a message sending list for the user equipment respectively. Before generating the message sending list for the user equipment, the method further includes: obtaining the sending time stamp carried in the user message, and obtaining the arrival delay of the user message according to the sending time stamp; Discarding user packets whose arrival delays exceed a preset delay threshold according to the arrival delays of the plurality of user packets.

下面对本申请中的用户报文的转发方法的实现细节进行具体的说明,以下内容仅为方便理解本方案的实现细节,并非实施本方案的必须。如图2所示,可包括如下步骤:The implementation details of the method for forwarding user messages in this application are described in detail below. The following content is only for the convenience of understanding the implementation details of this solution, and is not necessary for implementing this solution. As shown in Figure 2, the following steps may be included:

步骤201,接收至少一个用户设备发送的用户报文,获取用户报文中携带的发送时间戳,并根据发送时间戳获取用户报文的到达时延。Step 201: Receive a user message sent by at least one user equipment, obtain a sending time stamp carried in the user message, and obtain an arrival delay of the user message according to the sending time stamp.

对于用户报文f,其到达时延Δt(f,qfi)的获取可以用以下表达式表示:For a user message f, the acquisition of its arrival delay Δt(f, qfi) can be expressed by the following expression:

Δt(f,qfi)=T rev(f,qfi)-T send(f,qfi) Δt(f, qfi) = T rev (f, qfi) - T send (f, qfi)

其中,T rev(f,qfi)是指UE发送报文时,报文里携带的发送时间戳,T send(f,qfi)是指 用户报文携带的服务质量(Quality of Service,简称“QoS”)标识符,可以据此设置预设时延阈值;T rev(f,qfi)是指UPF设备接收该用户报文时的时间戳。 Among them, T rev (f, qfi) refers to the sending timestamp carried in the message when the UE sends the message, and T send (f, qfi) refers to the quality of service (Quality of Service, referred to as "QoS") carried in the user message. ”) identifier, and the preset delay threshold can be set accordingly; T rev (f, qfi) refers to the time stamp when the UPF device receives the user message.

在接收至少一个用户设备发送的用户报文,获取用户报文中携带的发送时间戳后,还可以根据接收的用户报文和获取的时延生成报文时延统计列表。报文时延统计列表里第i个位置保存的时延值Δt(f i,qfi)可以用以下表达式表示: After receiving the user packet sent by at least one user equipment and obtaining the sending time stamp carried in the user packet, a packet delay statistics list may also be generated according to the received user packet and the obtained delay. The delay value Δt(f i ,qfi) stored in the i-th position in the packet delay statistics list can be expressed by the following expression:

for 1≤i≤nfor 1≤i≤n

Figure PCTCN2022121665-appb-000002
Figure PCTCN2022121665-appb-000002

其中,n是指所述统计列表保存的时延个数。Wherein, n refers to the number of delays saved in the statistics list.

步骤202,根据多个所述用户报文的所述到达时延,丢弃到达时延超出预设时延阈值的用户报文。Step 202, according to the arrival delays of multiple user packets, discard user packets whose arrival delays exceed a preset delay threshold.

在本步骤中,到达时延超出预设时延阈值的用户报文即时延过大的用户报文,与其在相邻时间被发出的用户报文可能已被UPF设备发送出去,因此若将其加入缓存列表可能会引发报文乱序,应对其进行丢包。也可以通过采用以下表达式预设时延筛选策略policy(f)来实现对接收到的报文的处理:In this step, the user packets whose arrival delay exceeds the preset delay threshold, that is, the user packets with too large delay, may have been sent by the UPF device at the adjacent time, so if the Adding to the cache list may cause out-of-order packets, which should be discarded. The processing of the received message can also be realized by using the following expression to preset the delay screening policy policy(f):

Figure PCTCN2022121665-appb-000003
Figure PCTCN2022121665-appb-000003

其中,drop是指对报文进行丢弃,keep是指对报文进行下一步处理(添加至报文发送列表)。E(Δt,qfi)为预设时延阈值。Wherein, drop refers to discarding the message, and keep refers to performing further processing on the message (adding it to the message sending list). E(Δt,qfi) is the preset delay threshold.

在一个例子中,可以预先设置时延阈值得到预设时延阈值,并根据多个所述用户报文的所述到达时延的平均值和所述用户报文对应的业务质量需求对预设时延阈值进行动态更新。可以通过以下表达式预先设置时延阈值E(Δt,qfi)并对时延阈值进行动态更新:In an example, the delay threshold can be preset to obtain the preset delay threshold, and the preset delay threshold is calculated according to the average value of the arrival delays of multiple user packets and the service quality requirements corresponding to the user packets. The delay threshold is dynamically updated. The delay threshold E(Δt,qfi) can be preset and dynamically updated by the following expression:

Figure PCTCN2022121665-appb-000004
Figure PCTCN2022121665-appb-000004

其中,n为UPF设备获取的用户报文的个数,ratio(qfi)是指针对不同的qfi,即用户报文对应的不同业务质量需求配置的相应修正参数,范围可根据实际业务需求(对业务流时延的要求)设置。

Figure PCTCN2022121665-appb-000005
为n个Δt(f i,qfi)的平均值,可以通过以下表达式获取: Among them, n is the number of user packets obtained by the UPF equipment, ratio (qfi) refers to different qfi, that is, corresponding correction parameters configured for different service quality requirements corresponding to user packets, and the range can be based on actual business requirements (for service flow delay requirements) setting.
Figure PCTCN2022121665-appb-000005
is the average value of n Δt(f i ,qfi), which can be obtained by the following expression:

Figure PCTCN2022121665-appb-000006
Figure PCTCN2022121665-appb-000006

除平均值外,也可以取n个Δt(f i,qfi)的众值或其他统计量用以设置时延阈值。 In addition to the average value, the mode value or other statistics of n Δt(f i , qfi) can also be used to set the delay threshold.

步骤203,为用户设备分别生成报文发送列表;其中,报文发送列表根据用户报文中携带的发送时间戳生成。Step 203, generating a packet transmission list for the user equipment respectively; wherein, the packet transmission list is generated according to the transmission time stamp carried in the user packet.

步骤204,根据报文发送列表,将报文发送列表中的用户报文依次发送出去。Step 204, according to the message sending list, send the user messages in the message sending list sequentially.

不难发现,本实施方式中的步骤203和步骤204与上一实施方式中的步骤101步骤102相同,因此上一实施方式中提到的相关技术细节在本实施方式中依然有效,在上一实施方式中所能达到的技术效果在本实施方式中也同样可以实现,为了减少重复,这里不再赘述。It is not difficult to find that step 203 and step 204 in this embodiment are the same as step 101 and step 102 in the previous embodiment, so the relevant technical details mentioned in the previous embodiment are still valid in this embodiment, and in the previous embodiment The technical effects that can be achieved in the implementation manner can also be achieved in this implementation manner, and in order to reduce repetition, details are not repeated here.

本实施方式中涉及的用户报文的转发方法也可以由一用户报文转发装置实现。其中,该 用户报文转发装置可以包括用于获取用户报文的到达时延的时延获取模块,用于丢弃时延过大的报文仅保留能够转发的报文的转发报文获取模块,以及生成模块和发送模块。The user message forwarding method involved in this embodiment may also be implemented by a user message forwarding device. Wherein, the user message forwarding device may include a delay acquisition module for obtaining the arrival delay of the user message, and a forwarding message acquisition module for discarding messages with too large delay and only retaining messages that can be forwarded, And generate module and send module.

本实施方式接收至少一个用户设备发送的用户报文,并获取用户报文中携带的发送时间戳,进而根据发送时间戳再结合UPF设备接收到用户报文的时间戳,能够实现获取用户报文的到达时延。对于到达时延超出预设时延阈值的用户报文进行丢弃,避免报文时延过大而影响业务流的顺序发送。为用户设备分别生成报文发送列表,能够避免对接同一UPF设备的不同用户设备,发出的用户报文发生混乱。UPF设备根据用户报文中携带的发送时间戳生成报文发送列表并根据生成的报文发送列表将用户报文依次发送出去,能够将接收到的由于时延不同发生乱序的用户报文,按照用户设备的正确发送顺序发送出去,实现用户报文的确定性转发。This embodiment receives the user message sent by at least one user equipment, and obtains the sending timestamp carried in the user message, and then according to the sending timestamp and the time stamp of the user message received by the UPF device, the user message can be obtained arrival delay. The user packets whose arrival delay exceeds the preset delay threshold are discarded, so as to prevent the sequence sending of service flows from being affected by excessive packet delay. Generating a packet transmission list for the user equipment separately can avoid confusion in user packets sent by different user equipment connected to the same UPF device. The UPF device generates a message sending list according to the sending time stamp carried in the user message and sends the user messages sequentially according to the generated message sending list, and can receive out-of-order user messages due to different delays, Send out according to the correct sending sequence of the user equipment, and realize the deterministic forwarding of the user message.

本申请的一实施方式涉及一种用户报文的转发装置,如图3所示,包括:An embodiment of the present application relates to a device for forwarding user messages, as shown in FIG. 3 , including:

生成模块301,用于接收至少一个用户设备发送的用户报文,为所述用户设备分别生成报文发送列表;其中,所述报文发送列表根据所述用户报文中携带的发送时间戳生成;The generating module 301 is configured to receive a user message sent by at least one user equipment, and generate a message sending list for the user equipment respectively; wherein, the message sending list is generated according to the sending time stamp carried in the user message ;

发送模块302,用于根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去。The sending module 302 is configured to sequentially send the user messages in the message sending list according to the message sending list.

在一个例子中,用户报文的转发装置还可以包括:门控模块(图中未示出),用于在所述根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去之前,根据预设门控规则控制所述UPF设备的发送端的门控状态;在这种情况下,根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去,可以包括:在所述门控状态为开的情况下,根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去。In an example, the device for forwarding user messages may further include: a gating module (not shown in the figure), configured to send user messages in the message sending list according to the message sending list Before the text is sent out in sequence, the gating state of the sending end of the UPF device is controlled according to the preset gating rules; in this case, according to the message sending list, the user messages in the message sending list are sent Sending out sequentially may include: when the gate control state is on, according to the message sending list, sending the user messages in the message sending list sequentially.

在本例中,预设门控规则可以包括:在第一时间间隔不小于第二时间间隔的情况下,控制所述门控状态为开;其中,所述第一时间间隔根据当前时间和所述UPF设备上一次的用户报文发送时间的差值获取,所述第二时间间隔根据所述报文发送列表中下一个待发送的用户报文中携带的发送时间戳和所述UPF设备上一次发送的用户报文中携带的发送时间戳的差值获取。In this example, the preset gating rule may include: when the first time interval is not less than the second time interval, controlling the gating state to be open; wherein the first time interval is based on the current time and the set The difference between the last user message sending time of the UPF device is obtained, and the second time interval is based on the sending time stamp carried in the next user message to be sent in the message sending list and the time stamp on the UPF device. Obtain the difference value of the sending timestamp carried in the user message sent once.

在一个例子中,用户报文的转发装置还可以包括:更新模块(图中未示出),用于在所述根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去后,根据实时接收到的用户报文中携带的发送时间戳,更新所述报文发送列表。In an example, the device for forwarding user messages may further include: an update module (not shown in the figure), configured to send user messages in the message sending list according to the message sending list After sending out sequentially, the message sending list is updated according to the sending time stamp carried in the user message received in real time.

在一个例子中,更新模块还可以用于在所述实时接收到的用户报文中携带的发送时间戳,小于所述报文发送列表中下一个待发送的用户报文中携带的发送时间戳的情况下,将所述实时接收到的用户报文添加至所述报文发送列表,并作为下一个待发送的用户报文。In an example, the update module may also be configured to include the sending timestamp carried in the user message received in real time to be smaller than the sending timestamp carried in the next user message to be sent in the message sending list In the case of , add the user message received in real time to the message sending list, and use it as the next user message to be sent.

在一个例子中,用户报文的转发装置还可以包括:丢弃模块(图中未示出),用于在所述为所述用户设备分别生成报文发送列表之前,获取所述用户报文中携带的发送时间戳,并根据所述发送时间戳获取所述用户报文的到达时延;根据多个所述用户报文的所述到达时延,丢弃到达时延超出预设时延阈值的用户报文。In an example, the device for forwarding user packets may further include: a discarding module (not shown in the figure), configured to acquire the carry the sending timestamp, and obtain the arrival delay of the user message according to the sending timestamp; according to the arrival delay of multiple user messages, discard the arrival delay exceeding the preset delay threshold user messages.

本例中涉及的所述预设时延阈值可以根据多个所述用户报文的所述到达时延的平均值和所述用户报文对应的业务质量需求动态更新。The preset delay threshold involved in this example may be dynamically updated according to an average value of the arrival delays of multiple user packets and a service quality requirement corresponding to the user packets.

本申请提供的用户报文的转发装置接收至少一个用户设备发送的用户报文,为用户设备分别生成报文发送列表,能够避免对接同一UPF设备的不同用户设备,发出的用户报文发生 混乱。UPF设备根据用户报文中携带的发送时间戳生成报文发送列表并根据生成的报文发送列表将用户报文依次发送出去,能够将接收到的由于时延不同发生乱序的用户报文,按照用户设备的正确发送顺序发送出去,实现用户报文的确定性转发。The user message forwarding device provided by this application receives user messages sent by at least one user equipment, and generates message sending lists for the user equipments respectively, which can avoid confusion of user messages sent by different user equipments connected to the same UPF device. The UPF device generates a message sending list according to the sending time stamp carried in the user message and sends the user messages sequentially according to the generated message sending list, and can receive out-of-order user messages due to different delays, Send out according to the correct sending order of the user equipment, and realize the deterministic forwarding of the user message.

值得一提的是,本申请上述实施方式中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本申请的创新部分,本申请中并没有将与解决本申请所提出的技术问题关系不太密切的单元引入,但这并不表明本申请中不存在其它的单元。It is worth mentioning that all the modules involved in the above embodiments of the present application are logical modules. In practical applications, a logical unit can be a physical unit, or a part of a physical unit, and can also Combination of physical units. In addition, in order to highlight the innovative part of the application, units that are not closely related to solving the technical problems raised in the application are not introduced in the application, but this does not mean that there are no other units in the application.

本申请的实施例还提供一种电子设备,如图4所示,包括至少一个处理器401;以及,与所述至少一个处理器401通信连接的存储器402;其中,存储器402存储有可被至少一个处理器401执行的指令,指令被至少一个处理器401执行,以使至少一个处理器401能够执行上述用户报文的转发方法。An embodiment of the present application also provides an electronic device, as shown in FIG. 4 , including at least one processor 401; and a memory 402 communicatively connected to the at least one processor 401; An instruction executed by one processor 401, the instruction is executed by at least one processor 401, so that at least one processor 401 can execute the foregoing method for forwarding user packets.

其中,存储器402和处理器401采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器401和存储器402的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器401处理的数据通过天线在无线介质上进行传输,进一步,天线还接收数据并将数据传送给处理器401。Wherein, the memory 402 and the processor 401 are connected by a bus, and the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors 401 and various circuits of the memory 402 together. The bus may also connect together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein. The bus interface provides an interface between the bus and the transceivers. A transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing means for communicating with various other devices over a transmission medium. The data processed by the processor 401 is transmitted on the wireless medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor 401 .

处理器401负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器402可以被用于存储处理器401在执行操作时所使用的数据。Processor 401 is responsible for managing the bus and general processing, and may also provide various functions including timing, peripheral interface, voltage regulation, power management, and other control functions. And the memory 402 may be used to store data used by the processor 401 when performing operations.

上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果,未在本申请中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above-mentioned products can execute the methods provided in the embodiments of this application, and have corresponding functional modules and beneficial effects for executing the methods. For technical details not described in detail in this application, please refer to the methods provided in the embodiments of this application.

本申请的实施例还提供一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现上述用户报文的转发方法。Embodiments of the present application also provide a computer-readable storage medium storing a computer program. When the computer program is executed by the processor, the above method for forwarding the user message is realized.

本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称“ROM”)、随机存取存储器(Random Access Memory,简称“RAM”)、磁碟或者光盘等各种可以存储程序代码的介质。Those skilled in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, the program is stored in a storage medium, and includes several instructions to make a device (which can be A single chip microcomputer, a chip, etc.) or a processor (processor) executes all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as "ROM"), random access memory (Random Access Memory, referred to as "RAM"), magnetic disk or optical disc, etc. A medium on which program code can be stored.

上述实施例是提供给本领域普通技术人员来实现和使用本申请的,本领域普通技术人员可以在不脱离本申请的发明思想的情况下,对上述实施例做出种种修改或变化,因而本申请的保护范围并不被上述实施例所限,而应该符合权利要求书所提到的创新性特征的最大范围。The above-mentioned embodiments are provided for those of ordinary skill in the art to implement and use this application. Those of ordinary skill in the art can make various modifications or changes to the above-mentioned embodiments without departing from the inventive idea of this application. Therefore, this The protection scope of the application is not limited by the above-mentioned embodiments, but should conform to the maximum scope of the innovative features mentioned in the claims.

Claims (10)

一种用户报文的转发方法,应用于用户面功能设备,包括:A method for forwarding user packets, applied to user plane functional equipment, comprising: 接收至少一个用户设备发送的用户报文,为所述用户设备分别生成报文发送列表;其中,所述报文发送列表根据所述用户报文中携带的发送时间戳生成;Receive a user message sent by at least one user equipment, and generate a message sending list for the user equipment respectively; wherein, the message sending list is generated according to the sending time stamp carried in the user message; 根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去。According to the message sending list, the user messages in the message sending list are sent sequentially. 根据权利要求1所述的用户报文的转发方法,其中,在所述根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去之前,还包括:根据预设门控规则控制所述UPF设备的发送端的门控状态;The method for forwarding user messages according to claim 1, wherein, before the user messages in the message sending list are sequentially sent out according to the message sending list, further comprising: according to preset The gating rule controls the gating state of the sending end of the UPF device; 所述根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去,包括:According to the message sending list, sending the user messages in the message sending list sequentially, including: 在所述门控状态为开的情况下,根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去。When the gate control state is on, the user packets in the packet sending list are sent sequentially according to the packet sending list. 根据权利要求2所述的用户报文的转发方法,其中,所述预设门控规则包括:The method for forwarding user messages according to claim 2, wherein the preset gating rules include: 在第一时间间隔不小于第二时间间隔的情况下,控制所述门控状态为开;When the first time interval is not less than the second time interval, controlling the gate state to be on; 其中,所述第一时间间隔根据当前时间和所述UPF设备上一次的用户报文发送时间的差值获取,所述第二时间间隔根据所述报文发送列表中下一个待发送的用户报文中携带的发送时间戳和所述UPF设备上一次发送的用户报文中携带的发送时间戳的差值获取。Wherein, the first time interval is obtained according to the difference between the current time and the last user message sending time of the UPF device, and the second time interval is obtained according to the next user message to be sent in the message sending list The difference between the sending time stamp carried in the text and the sending time stamp carried in the last user message sent by the UPF device is obtained. 根据权利要求2所述的用户报文的转发方法,其中,在所述根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去后,还包括:The method for forwarding user messages according to claim 2, wherein, after the user messages in the message sending list are sequentially sent according to the message sending list, further comprising: 根据实时接收到的用户报文中携带的发送时间戳,更新所述报文发送列表。The message sending list is updated according to the sending time stamp carried in the user message received in real time. 根据权利要求4所述的用户报文的转发方法,其中,所述根据实时接收到的用户报文中携带的发送时间戳,更新所述报文发送列表,包括:The method for forwarding a user message according to claim 4, wherein said updating said message sending list according to the sending timestamp carried in the user message received in real time comprises: 在所述实时接收到的用户报文中携带的发送时间戳,小于所述报文发送列表中下一个待发送的用户报文中携带的发送时间戳的情况下,将所述实时接收到的用户报文添加至所述报文发送列表,并作为下一个待发送的用户报文。When the sending timestamp carried in the user message received in real time is smaller than the sending timestamp carried in the next user message to be sent in the message sending list, the real-time received The user message is added to the message sending list and used as the next user message to be sent. 根据权利要求1至5中任一项所述的用户报文的转发方法,其中,在所述为所述用户设备分别生成报文发送列表之前,还包括:The method for forwarding a user message according to any one of claims 1 to 5, wherein, before said respectively generating a message sending list for said user equipment, further comprising: 获取所述用户报文中携带的发送时间戳,并根据所述发送时间戳获取所述用户报文的到达时延;Obtain the sending time stamp carried in the user message, and obtain the arrival delay of the user message according to the sending time stamp; 根据多个所述用户报文的所述到达时延,丢弃到达时延超出预设时延阈值的用户报文。Discarding user packets whose arrival delays exceed a preset delay threshold according to the arrival delays of the plurality of user packets. 根据权利要求6所述的用户报文的转发方法,其中,所述预设时延阈值根据多个所述用户报文的所述到达时延的平均值和所述用户报文对应的业务质量需求动态更新。The method for forwarding user packets according to claim 6, wherein the preset delay threshold is based on the average value of the arrival delays of multiple user packets and the service quality corresponding to the user packets Dynamic updates are required. 一种用户报文的转发装置,包括:A device for forwarding user messages, comprising: 生成模块,用于接收至少一个用户设备发送的用户报文,为所述用户设备分别生成报文发送列表;其中,所述报文发送列表根据所述用户报文中携带的发送时间戳生成;A generating module, configured to receive a user message sent by at least one user equipment, and generate a message sending list for the user equipment respectively; wherein, the message sending list is generated according to the sending time stamp carried in the user message; 发送模块,用于根据所述报文发送列表,将所述报文发送列表中的用户报文依次发送出去。A sending module, configured to sequentially send the user messages in the message sending list according to the message sending list. 一种电子设备,包括:An electronic device comprising: 至少一个处理器;以及,at least one processor; and, 与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein, 所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至7中任一项所述的用户报文的转发方法。The memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can perform the operation described in any one of claims 1 to 7 The forwarding method of user packets described above. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的用户报文的转发方法。A computer-readable storage medium storing a computer program, wherein, when the computer program is executed by a processor, the user message forwarding method according to any one of claims 1 to 7 is implemented.
PCT/CN2022/121665 2021-11-04 2022-09-27 Method and apparatus for forwarding user message, and electronic device and storage medium Ceased WO2023077996A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111302256.4A CN116074258A (en) 2021-11-04 2021-11-04 User message forwarding method and device, electronic equipment and storage medium
CN202111302256.4 2021-11-04

Publications (1)

Publication Number Publication Date
WO2023077996A1 true WO2023077996A1 (en) 2023-05-11

Family

ID=86179197

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/121665 Ceased WO2023077996A1 (en) 2021-11-04 2022-09-27 Method and apparatus for forwarding user message, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN116074258A (en)
WO (1) WO2023077996A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2111073A1 (en) * 2007-06-13 2009-10-21 NTT DoCoMo, Inc. Method and apparatus for performing a seamless handover of a mobile entity
CN101742430A (en) * 2008-11-20 2010-06-16 华为技术有限公司 Method and device for processing data packet, and base station
CN103918233A (en) * 2011-11-03 2014-07-09 高通股份有限公司 Multi-delivery route grouping sort
CN105052112A (en) * 2013-03-13 2015-11-11 华为技术有限公司 System and method for compressing data associated with a buffer
CN107800653A (en) * 2016-09-06 2018-03-13 中兴通讯股份有限公司 Message compression method and device
US20190081902A1 (en) * 2016-03-17 2019-03-14 Dolby Laboratories Licensing Corporation Jitter Buffer Apparatus and Method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2111073A1 (en) * 2007-06-13 2009-10-21 NTT DoCoMo, Inc. Method and apparatus for performing a seamless handover of a mobile entity
CN101742430A (en) * 2008-11-20 2010-06-16 华为技术有限公司 Method and device for processing data packet, and base station
CN103918233A (en) * 2011-11-03 2014-07-09 高通股份有限公司 Multi-delivery route grouping sort
CN105052112A (en) * 2013-03-13 2015-11-11 华为技术有限公司 System and method for compressing data associated with a buffer
US20190081902A1 (en) * 2016-03-17 2019-03-14 Dolby Laboratories Licensing Corporation Jitter Buffer Apparatus and Method
CN107800653A (en) * 2016-09-06 2018-03-13 中兴通讯股份有限公司 Message compression method and device

Also Published As

Publication number Publication date
CN116074258A (en) 2023-05-05

Similar Documents

Publication Publication Date Title
US11864019B2 (en) Time-sensitive networking communication method and apparatus
US9071529B2 (en) Method and apparatus for accelerating forwarding in software-defined networks
US9842013B2 (en) Dynamic adaptive approach for failure detection of node in a cluster
US12074809B2 (en) Signalling of dejittering buffer capabilities for TSN integration
JP2023511918A (en) SERVICE LEVEL ADJUSTMENT METHOD AND APPARATUS, DEVICE AND STORAGE MEDIUM
CN114157603A (en) Congestion control method, device, equipment and storage medium
CN104168212B (en) The method and apparatus for sending message
US10536385B2 (en) Output rates for virtual output queses
WO2010099718A1 (en) Method and equipment for controlling data tranmission, and system thereof
US20200252337A1 (en) Data transmission method, device, and computer storage medium
EP4184887A1 (en) Method for sending data packet, and network device
WO2018213987A1 (en) Data distribution method, device and system
WO2021128927A1 (en) Message processing method and apparatus, storage medium, and electronic apparatus
CN108768781A (en) Avoid deadlock without losing flow control methods and device
US11245635B2 (en) Feedback loop for frame maximization
CN111404840A (en) Message processing method and device
CN111698787A (en) Scheduling rule determining method and device
WO2023077996A1 (en) Method and apparatus for forwarding user message, and electronic device and storage medium
US20200336429A1 (en) In service flow capability update in guaranteed bandwidth multicast network
US10581742B2 (en) Congestion control method and network node
KR101681613B1 (en) Apparatus and method for scheduling resources in distributed parallel data transmission system
JP5047099B2 (en) Data communication system, data communication method, and information processing apparatus constituting data communication system
TWI875047B (en) Delay compensation method and device
CN114900476B (en) Data transmission method, device, network equipment and storage medium
CN106506434B (en) Service data transmission method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22889022

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22889022

Country of ref document: EP

Kind code of ref document: A1