WO2023142627A1 - 一种多流同步的方法和装置 - Google Patents

一种多流同步的方法和装置 Download PDF

Info

Publication number
WO2023142627A1
WO2023142627A1 PCT/CN2022/133085 CN2022133085W WO2023142627A1 WO 2023142627 A1 WO2023142627 A1 WO 2023142627A1 CN 2022133085 W CN2022133085 W CN 2022133085W WO 2023142627 A1 WO2023142627 A1 WO 2023142627A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
network element
packet
data packet
arrival time
Prior art date
Application number
PCT/CN2022/133085
Other languages
English (en)
French (fr)
Inventor
蒋成堃
周汉
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023142627A1 publication Critical patent/WO2023142627A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • 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/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • 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/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Definitions

  • the present application relates to the communication field, and more specifically, relates to a multi-stream synchronization method and device.
  • the same service will generate multiple interrelated data streams.
  • augmented reality augmented reality
  • AR augmented reality
  • the background in the AR picture will generate a data stream
  • the virtual picture of the foreground added by AR will also generate a data stream
  • a 360-degree video frame is split into different parts, and each part generates a data stream.
  • some data streams in multiple data streams may not be able to achieve multi-stream synchronization, which may cause the service to fail to operate normally, which not only affects the normal use of users, but also wastes network bandwidth.
  • synchronization of multiple streams of the same service is implemented at the receiving end device. Specifically, after receiving the data packets of a part of the data flow, the receiving end device first buffers the data packets of the part of the data flow, and the service can operate normally after receiving the data packets of all the data flows.
  • this method needs to consume a large amount of storage resources of the receiving end device, and it may not be able to quickly respond to abnormal conditions such as packet loss and congestion of the data stream.
  • the present application provides a method and device for synchronizing multiple streams, which can reduce the consumption of storage resources of a receiver device, and can quickly give feedback on abnormal conditions such as packet loss and congestion of data streams.
  • a multi-stream synchronization method is provided, and the method may be executed by a first network element, or may also be executed by a component (such as a chip or a circuit) of the first network element, which is not limited thereto.
  • a component such as a chip or a circuit
  • the execution by the first network element is taken as an example for description below.
  • the method may include: the first network element acquires multi-flow information and a first preset value, the multi-flow information includes a first cycle, wherein the first network element is a radio access network device or a user plane functional device; in the In the first period, if the first network element determines that the actual arrival time of the first data packet in the multiple data flows is later than the first preset value, the first network element discards the data packets.
  • the first network element (such as radio access network equipment, or user plane functional equipment) can, according to the transmission status of the data packet, perform a multi-stream transmission that has been received in the first period and cannot achieve multi-flow synchronization. packets are discarded. For example, if the actual arrival time of the first data packet in the multiple data flows is later than the first preset value, the first network element discards the data packet received within the first period. In this way, it is not only possible to quickly respond to the abnormal situation of the data packet, such as responding to packet loss faster, but also to prevent the first network element from sending multiple data packets that have not achieved multi-flow synchronization in the first cycle to the Signaling overhead brought by the receiver device.
  • performing multi-stream synchronization judgment at the first network element can save storage resources of the receiving end device, thereby reducing reception waste of end storage resources.
  • the first A network element in response to the first network element determining that the actual arrival time of the first data packet in the plurality of data flows is later than the first preset value, the first A network element sends instruction information to the sending end device, where the instruction information is used to instruct to retransmit the data packets of each data flow in the multiple data flows.
  • the first network element determines that multiple data packets in the first period cannot achieve multi-stream synchronization, it can request the sending end device to retransmit the data packets of each data stream in the multiple data streams, so that Respond quickly to packet loss.
  • the first network element sends indication information to the sending end device, including: the first network element generates an acknowledgment packet; the first network element sends the sending end device The device sends the acknowledgment data packet, where the acknowledgment data packet is used to instruct retransmission of the data packets of each data flow in the multiple data flows.
  • the first network element determines that the actual arrival time of the first data packet is earlier than or equal to the first preset value, and the first network element caches the first data packet a packet.
  • the first preset value is the scheduled arrival time of the first data packet; or, the first preset value is at least The sum of the actual arrival time of a data packet of a data flow and the preset time interval between the arrival times of two data packets in the plurality of data flows.
  • the multi-stream information further includes the size of the data packet of each data stream in the multiple data streams, and the data packet size of each data stream in the multiple data streams
  • the scheduled arrival time of the packet; before the first network element determines the actual arrival time of the first data packet in the multiple data streams, the method also includes: the first network element, according to the multi-flow information, for the multiple data streams Packet pre-allocation resources for each data flow in the flow.
  • the first network element obtaining the multi-flow information includes: the first network element obtaining the multi-flow information from any one or more of the following: control plane network element, the user plane functional device, and the radio access network device.
  • a multi-flow synchronization method including: a first network element acquires multi-flow information and a first preset value, the multi-flow information includes a first cycle, wherein the first network element is a wireless interface A network access device or a user plane functional device; within the first period, if the first network element determines that the actual arrival time of the first data packet in the multiple data flows is later than the first preset value, the first network element The element sends indication information to the sender device, where the indication information is used to instruct retransmission of the data packets of each data stream in the multiple data streams.
  • the first network element (such as radio access network equipment, or user plane functional equipment) determines that multiple data packets in the first period cannot achieve multi-flow synchronization, it can request the sending end equipment to retransmit the multiple streams. packets for each of the data streams. For example, if the actual arrival time of the first data packet in the multiple data streams is later than the first preset value, the first network element sends indication information to the sending end device, where the indication information is used to instruct retransmission of the multiple data streams packets for each data flow in . In this way, it is possible to quickly respond to abnormalities of data packets, such as responding to packet loss faster.
  • performing multi-stream synchronization judgment at the first network element can save storage resources of the receiving end device, thereby reducing reception waste of end storage resources.
  • the first network element sends indication information to the sending end device, including: the first network element generates an acknowledgment packet; the first network element sends the sending end device The device sends the acknowledgment data packet, where the acknowledgment data packet is used to instruct retransmission of the data packets of each data flow in the multiple data flows.
  • the first network element determines that the actual arrival time of the first data packet is earlier than or equal to the first preset value, and the first network element caches the first data packet a packet.
  • the first preset value is the scheduled arrival time of the first data packet; or, the first preset value is at least one of the multiple data streams The sum of the actual arrival time of a data packet of a data flow and the preset time interval between the arrival times of two data packets in the plurality of data flows.
  • the multi-stream information further includes the size of the data packet of each data stream in the multiple data streams, and the data packet size of each data stream in the multiple data streams
  • the scheduled arrival time of the packet; before the first network element determines the actual arrival time of the first data packet in the multiple data streams, the method also includes: the first network element, according to the multi-flow information, for the multiple data streams Packet pre-allocation resources for each data flow in the flow.
  • the first network element obtaining the multi-flow information includes: the first network element obtaining the multi-flow information from any one or more of the following: control plane network element, the user plane functional device, and the radio access network device.
  • a multi-flow synchronization method including: a control plane network element determines a first rule, where the first rule is the actual arrival time of a data packet of at least one data flow among the multiple data flows The sum of the preset time intervals between the arrival times of two data packets in the plurality of data streams; the control plane network element sends the first rule to the first network element, wherein the first network element is a wireless access Network equipment or user plane functional equipment.
  • the control plane network element can send the determined first rule to the first network element (such as radio access network equipment, and another example is user plane functional equipment), so that the first network element can use the control plane network element to send
  • the first rule determines whether the data packets of each data flow in the multiple data flows can achieve multi-flow synchronization, so that the first network element can quickly respond to the abnormal situation of the data packets, such as responding to packet loss faster , in addition, compared with the multi-flow synchronization judgment of multiple data packets at the receiving end device, through the above technical solution, the first network element performs multi-flow synchronization judgment based on the first rule sent by the control plane network element, which can save the receiving time The storage resources of the end device, thereby reducing the waste of storage resources at the receiving end.
  • the control plane network element acquires multi-flow information, where the multi-flow information includes one or more of the following information: the first period, the multiple data flows The size of the data packet of each data flow in the data flow, the scheduled arrival time of the data packet of each data flow in the plurality of data flows, and the preset time interval between the arrival times of two data packets in the plurality of data flows;
  • the determining the first rule by the control plane network element includes: determining the first rule by the control plane network element according to the multi-flow information.
  • the control plane network element sending the multi-flow information to the first network element includes: the control plane network element determining that each data stream in the first period The maximum value of the data packet size of the flow; when the maximum value is less than or equal to the resource size of the first network element, the control plane network element sends the multi-flow information to the first network element.
  • control plane network element obtains the multi-flow information, including: the control plane network element obtains the multi-flow information from any one or more of the following: application function device , the radio access network device, and the user plane functional device.
  • a communication device including: a transceiver unit and a processing unit, the transceiver unit is used to acquire multi-stream information and a first preset value, the multi-stream information includes a first cycle, wherein the device is A radio access network device or a user plane function device; within the first period, if the processing unit is configured to determine that the actual arrival time of the first data packet in the multiple data streams is later than the first preset value, the The transceiver unit is configured to discard data packets received within the first period.
  • the apparatus further includes: in response to the processing unit, configured to determine that the actual arrival time of the first data packet in the multiple data streams is later than the first As a preset value, the transceiving unit is configured to send indication information to the sender device, where the indication information is used to instruct retransmission of the data packets of each data stream in the plurality of data streams.
  • the transceiving unit is configured to send indication information to the sending end device, including: the processing unit is configured to generate an acknowledgment data packet; the transceiving unit is configured to send The sender device sends the acknowledgment packet, where the acknowledgment packet is used to instruct retransmission of the data packet of each data flow in the multiple data flows.
  • the device further includes: the device determines that the actual arrival time of the first data packet is earlier than or equal to the first preset value, and the processing unit is configured to Buffer the first data packet.
  • the first preset value is the scheduled arrival time of the first data packet; or, the first preset value is at least The sum of the actual arrival time of a data packet of a data flow and the preset time interval between the arrival times of two data packets in the plurality of data flows.
  • the multi-stream information further includes the size of the data packet of each data stream in the multiple data streams, and the data packet size of each data stream in the multiple data streams The scheduled arrival time of the packet; before the processing unit is used to determine the actual arrival time of the first data packet in the plurality of data streams, the device also includes: the processing unit is used for the multiple streams according to the multi-stream information. Packet pre-allocation resources for each data flow in the data flow.
  • the transceiving unit is configured to acquire multi-stream information, including: the transceiving unit is configured to acquire the multi-stream information from any one or more of the following: control plane network elements, the user plane functional equipment, and the radio access network equipment.
  • a communication device including: a transceiver unit and a processing unit, the transceiver unit is used to acquire multi-stream information and a first preset value, the multi-stream information includes a first cycle, wherein the device is A radio access network device or a user plane function device; within the first period, if the processing unit is configured to determine that the actual arrival time of the first data packet in the multiple data streams is later than the first preset value, the The transceiver unit is configured to send indication information to the sending end device, where the indication information is used to instruct retransmission of the data packets of each data stream in the multiple data streams.
  • the transceiving unit is configured to send indication information to the sending end device, including: the processing unit is configured to generate an acknowledgment data packet; the transceiving unit is configured to send The sender device sends the acknowledgment packet, where the acknowledgment packet is used to instruct retransmission of the data packet of each data flow in the multiple data flows.
  • the device further includes: the device determines that the actual arrival time of the first data packet is earlier than or equal to the first preset value, and the processing unit is configured to Buffer the first data packet.
  • the first preset value is the scheduled arrival time of the first data packet; or, the first preset value is at least one of the multiple data streams The sum of the actual arrival time of a data packet of a data flow and the preset time interval between the arrival times of two data packets in the plurality of data flows.
  • the multi-stream information further includes the size of the data packet of each data stream in the multiple data streams, and the data packet size of each data stream in the multiple data streams The scheduled arrival time of the packet; before the processing unit is used to determine the actual arrival time of the first data packet in the plurality of data streams, the device also includes: the processing unit is used for the multiple streams according to the multi-stream information. Packet pre-allocation resources for each data flow in the data flow.
  • the transceiving unit is configured to acquire multi-stream information, including: the transceiving unit is configured to acquire the multi-stream information from any one or more of the following: control plane network elements, the user plane functional equipment, and the radio access network equipment.
  • a communication device including: a transceiver unit and a processing unit, the processing unit is configured to determine a first rule, where the first rule is a data packet of at least one data flow in a plurality of data flows The sum of the actual arrival time and the preset time interval between the arrival times of two data packets in the plurality of data streams; the transceiver unit is configured to send the first rule to the first network element, wherein the first A network element is a wireless access network device or a user plane functional device.
  • the transceiver unit is configured to acquire multi-stream information, where the multi-stream information includes one or more of the following information: the first period, the multiple data The size of the data packets of each data flow in the flow, the scheduled arrival time of the data packets of each data flow in the plurality of data flows, the preset time interval between the arrival times of two data packets in the plurality of data flows
  • the processing unit is used to determine the first rule, including: the processing unit is used to determine the first rule according to the multi-flow information.
  • the transceiver unit configured to send the multi-flow information to the first network element, includes: the processing unit, configured to determine the The maximum value of the size of the data packets of the data flows; when the maximum value is less than or equal to the resource size of the first network element, the transceiver unit is used to send the multi-flow information to the first network element.
  • the processing unit is configured to acquire the multi-stream information, comprising: the device acquires the multi-stream information from any one or more of the following: application function device, the The wireless access network equipment and the user plane functional equipment.
  • a communication device is provided, and the device is configured to execute the method in any possible implementation manner of the foregoing first aspect to the third aspect.
  • the apparatus may include a unit and/or module for executing the method in any possible implementation manner of the first aspect to the third aspect, such as a processing unit and/or a transceiver unit.
  • the device is a first network element or a control plane network element.
  • the transceiver unit may be a transceiver, or an input/output interface; the processing unit may be at least one processor.
  • the transceiver may be a transceiver circuit.
  • the input/output interface may be an input/output circuit.
  • the device is a chip, a chip system or a circuit for the first network element or the control plane network element.
  • the transceiver unit may be an input/output interface, interface circuit, output circuit, or input circuit on the chip, chip system or circuit , pins or related circuits, etc.; the processing unit may be at least one processor, processing circuit or logic circuit, etc.
  • a communication device in an eighth aspect, includes: at least one processor configured to execute a computer program or an instruction stored in a memory, so as to execute the method in any one possible implementation manner of the first aspect to the third aspect above.
  • the apparatus further includes a memory for storing computer programs or instructions.
  • the device further includes a communication interface, through which the processor reads the computer program or instructions stored in the memory.
  • the device is a first network element or a control plane network element.
  • the device is a chip, a chip system or a circuit for the first network element or the control plane network element.
  • the present application provides a processor configured to execute the methods provided in the foregoing aspects.
  • the processor's output and reception, input and other operations can also be understood as the sending and receiving operations performed by the radio frequency circuit and the antenna, which is not limited in this application.
  • a computer-readable storage medium stores program code for execution by a device, and the program code includes a method for executing any one of the possible implementation manners of the first aspect to the third aspect above. method.
  • a computer program product containing instructions is provided, and when the computer program product is run on a computer, the computer is made to execute the method in any one possible implementation manner of the above first aspect to the third aspect.
  • FIG. 1 shows a schematic diagram of a network architecture applied to an embodiment of the present application.
  • FIG. 2 shows a schematic diagram of a multi-stream synchronization method 200 provided by an embodiment of the present application.
  • FIG. 3 shows a flow chart of a multi-stream synchronization method 300 provided by an embodiment of the present application.
  • FIG. 4 shows a schematic flowchart of a multi-stream synchronization method 400 provided by an embodiment of the present application.
  • FIG. 5 shows a schematic flowchart of another multi-stream synchronization method 500 provided by an embodiment of the present application.
  • FIG. 6 shows a schematic flowchart of another multi-stream synchronization method 600 provided by an embodiment of the present application.
  • FIG. 7 shows a schematic block diagram of a communication device 700 provided by an embodiment of the present application.
  • FIG. 8 shows a schematic block diagram of another communication device 800 provided by an embodiment of the present application.
  • FIG. 9 shows a schematic diagram of a chip system 900 provided by an embodiment of the present application.
  • the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: fifth generation (5th generation, 5G) or new radio (new radio, NR) system, long term evolution (long term evolution, LTE) system, LTE frequency Division duplex (frequency division duplex, FDD) system, LTE time division duplex (time division duplex, TDD) system, etc.
  • 5G fifth generation
  • NR new radio
  • long term evolution long term evolution
  • LTE frequency Division duplex frequency division duplex
  • FDD frequency division duplex
  • TDD time division duplex
  • the technical solution provided by this application can also be applied to future communication systems, such as the sixth generation mobile communication system.
  • the technical solution provided by this application can also be applied to device to device (device to device, D2D) communication, vehicle to everything (vehicle-to-everything, V2X) communication, machine to machine (machine to machine, M2M) communication, machine type Communication (machine type communication, MTC), and Internet of things (internet of things, IoT) communication system or other communication systems.
  • D2D device to device
  • V2X vehicle-to-everything
  • M2M machine to machine
  • M2M machine type Communication
  • MTC machine type communication
  • IoT Internet of things
  • FIG. 1 the network architecture applicable to the embodiment of the present application is briefly introduced in conjunction with FIG. 1 , as follows.
  • the network architecture takes 5GS as an example.
  • the network architecture may include but not limited to: access and mobility management function (access and mobility management function, AMF) equipment, unified data management (unified data management, UDM) equipment, radio access network (radio access network, RAN) Equipment, policy control function (PCF) equipment, user equipment (user equipment, UE) equipment, user plane function (user plane function, UPF) equipment, data network (data network, DN) equipment, authentication service function (authentication server function, AUSF) equipment, network slice selection function (network slice selection function, NSSF) equipment, application function (application function, AF) equipment, session management function (session management function, SMF) equipment, capability exposure function (network Exposure function, NEF) equipment, network storage function (network repository function, NRF) equipment, etc.
  • AMF access and mobility management function
  • UDM radio access network
  • PCF policy control function
  • user equipment user equipment, UE
  • user plane function user plane function, UPF
  • data network data network
  • DN authentication service function
  • UE can be called terminal equipment, access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device.
  • a terminal device may be a device that provides voice/data to a user, for example, a handheld device with a wireless connection function, a vehicle-mounted device, and the like.
  • some terminals are: mobile phone (mobile phone), tablet computer, notebook computer, palmtop computer, mobile internet device (mobile internet device, MID), wearable device, virtual reality (virtual reality, VR) device, augmented reality (augmented reality, AR) equipment, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, smart grid Wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home, cellular phones, cordless phones, session initiation protocol , SIP) phones, wireless local loop (wireless local loop, WLL) stations, personal digital assistants (personal digital assistant, PDA), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, Wearable devices, terminal devices in a 5G network, or terminal devices in a future evolving public land mobile network (PLMN), etc., are not limited in this
  • the terminal device may also be a wearable device.
  • Wearable devices can also be called wearable smart devices, which is a general term for the application of wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes.
  • a wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not only a hardware device, but also achieve powerful functions through software support, data interaction, and cloud interaction.
  • Generalized wearable smart devices include full-featured, large-sized, complete or partial functions without relying on smart phones, such as smart watches or smart glasses, etc., and only focus on a certain type of application functions, and need to cooperate with other devices such as smart phones Use, such as various smart bracelets and smart jewelry for physical sign monitoring.
  • the terminal device can also be the terminal device in the IoT system.
  • IoT is an important part of the development of information technology in the future. Its main technical feature is to connect items to the network through communication technology, so as to realize Interconnection, an intelligent network that interconnects things.
  • a certain air interface technology such as NR or LTE technology
  • a certain air interface technology may also be used to communicate with each other between terminal devices.
  • the device for realizing the function of the terminal device may be the terminal device, or may be a device capable of supporting the terminal device to realize the function, such as a chip system or a chip, and the device may be installed in the terminal device.
  • the system-on-a-chip may be composed of chips, or may include chips and other discrete devices.
  • RAN It can provide authorized users in a specific area with the function of accessing the communication network. Specifically, it can include wireless network equipment in the 3rd generation partnership project (3rd generation partnership project, 3GPP) network, and can also include non-3GPP (non-3GPP ) access point in the network. For the convenience of description, AN equipment is used below.
  • 3rd generation partnership project 3rd generation partnership project, 3GPP
  • non-3GPP non-3GPP
  • AN devices may use different wireless access technologies.
  • 3GPP access technologies for example, wireless access technologies used in third generation (3rd generation, 3G), fourth generation (4th generation, 4G) or 5G systems
  • non- 3GPP (non-3GPP) access technology refers to the access technology that complies with the 3GPP standard specifications.
  • the access network equipment in the 5G system is called the next generation Node Base station (gNB) or RAN equipment.
  • Non-3GPP access technologies may include air interface technology represented by access point (AP) in wireless fidelity (WiFi), worldwide interoperability for microwave access (WiMAX), code Multiple access (code division multiple access, CDMA), etc.
  • the AN device may allow non-3GPP technology interconnection and intercommunication between the terminal device and the 3GPP core network.
  • the AN device can be responsible for functions such as wireless resource management, quality of service (QoS) management, data compression and encryption on the air interface side.
  • QoS quality of service
  • the AN equipment provides access services for the terminal equipment, and then completes the forwarding of control signals and user data between the terminal equipment and the core network.
  • AN equipment may include, but not limited to, for example: a macro base station, a micro base station (also called a small station), a radio network controller (radio network controller, RNC), a node B (Node B, NB), a base station controller (base station controller) , BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (baseband unit, BBU), AP in WiFi system, wireless relay Node, wireless backhaul node, transmission point (transmission point, TP) or transmission and reception point (transmission and reception point, TRP), etc., can also be gNB or transmission point (TRP or TP) in the 5G (eg, NR) system , one or a group (including multiple antenna panels) antenna panels of a base station in a 5G system, or, it can also be a network node that constitutes a gNB or a transmission point, such as
  • AMF mainly used for functions such as access control, mobility management, attachment and detachment.
  • the access management network element can also be connected as N1 signaling (that is, the signaling of the N1 interface, for brevity, referred to as N1 signaling) and N2 signaling (that is, the signaling of the N2 interface, for brevity, referred to as N2 signaling)
  • N1 signaling that is, the signaling of the N1 interface, for brevity, referred to as N1 signaling
  • N2 signaling that is, the signaling of the N2 interface, for brevity, referred to as N2 signaling
  • the anchor point provides the routing of N1/N2 session management (session management, SM) messages for the session management network element.
  • SM session management
  • the access management network element can also maintain and manage the status information of the UE.
  • SMF It is mainly used for user plane functional device selection, user plane functional device redirection, Internet protocol (internet protocol, IP) address allocation for terminal devices, session establishment, modification and release, and QoS control.
  • IP Internet protocol
  • UPF mainly used for receiving and forwarding user plane data.
  • the UPF can receive user plane data from the DN, and send the user plane data to the terminal device through the AN device.
  • UPF can also receive user plane data from terminal equipment through AN equipment and forward it to DN.
  • PCF A unified policy framework mainly used to guide network behavior, and provide policy rule information for control plane network elements (such as AMF, SMF, etc.).
  • AF It is mainly used to provide services to the 3GPP network, such as interacting with the PCF for policy control.
  • the AF may be a third-party functional entity, or an application service deployed by an operator, such as an IP multimedia subsystem (IP multimedia subsystem, IMS) voice call service.
  • IP multimedia subsystem IP multimedia subsystem
  • IMS IP multimedia subsystem
  • a multi-access edge computing (MEC) platform or an application server can serve as an AF to communicate with the 5G core network.
  • MEC multi-access edge computing
  • UDM mainly used for UE subscription data management, including storage and management of UE ID, UE access authorization, etc.
  • DN mainly used for the operator's network that provides data services for the UE.
  • the Internet Internet
  • a third-party service network IP multimedia service (IP multi-media service, IMS) network, and the like.
  • IP multimedia service IP multi-media service, IMS
  • AUSF mainly used for user authentication, etc.
  • NSSF It is mainly used to determine the network slice instance that the UE is allowed to access according to the slice selection auxiliary information and subscription information of the UE.
  • NEF can also be called network opening equipment, network opening function entity, network opening function network element, network capability opening function entity, network capability opening function equipment, network capability opening function network element, network capability opening equipment, etc.): mainly It is used to support the opening of capabilities and events, for example, it is used to securely open services and capabilities provided by 3GPP network functions to the outside.
  • NRF also known as network storage device, network storage function network element, network storage function entity: mainly used to support the service discovery function.
  • a network element discovery request is received from a network element function or a service communication proxy (SCP), and the network element discovery request information may be fed back.
  • SCP service communication proxy
  • the NRF is also responsible for maintaining information about available network functions and the services they each support. It can also be understood as a network storage device.
  • the discovery process is a process in which the required network element function (network function, NF) realizes the addressing of a specific NF or a specific service with the help of NRF, and the NRF provides the IP address or fully qualified domain name (fully qualified domain name) of the corresponding NF instance or NF service instance , FQDN) or uniform resource identifier (unified resource identifier, URI).
  • NRF can also realize the discovery process across PLMNs by providing network identification (such as PLMN ID).
  • PLMN ID network identification
  • each network element needs to be registered in the NRF, and some network element functions can be registered in the NRF when running for the first time.
  • the network storage function device may be a core network device.
  • network elements can communicate through the interfaces shown in the figure.
  • the UE and the AMF can communicate through the N1 interface.
  • the RAN and AMF can communicate through the N2 interface.
  • Communication between RAN and UPF can be carried out through N3 interface.
  • the SMF and UPF can communicate through the N4 interface.
  • Some network elements can also use service interfaces to interact.
  • the service interface provided by AMF can be Namf.
  • the service interface provided by the SMF may be Nsmf.
  • the service interface provided by NEF can be Nnef.
  • the service interface provided by the NRF may be Nnrf.
  • the service interface provided by AF can be Naf.
  • the relationship between other interfaces and each network element is shown in FIG. 1 , and for the sake of brevity, details are not described here one by one.
  • FIG. 1 is only an example, and the network architecture applicable to the embodiment of the present application is not limited thereto, and any network architecture capable of realizing the functions of the foregoing network elements is applicable to the embodiment of the present application.
  • network elements shown in Figure 1 can be understood as network elements for realizing different functions, for example, they can be combined as needed into network slices.
  • These network elements can be independent devices, or can be integrated in the same device to achieve different functions, or can be network elements in hardware devices, or software functions running on dedicated hardware, or platforms (for example, cloud The virtualization function instantiated on the platform), this application does not limit the specific form of the above network elements.
  • the same service will generate multiple interrelated data streams. Only when the receiving end receives data packets of multiple data streams and realizes multi-stream synchronization, can the service operate normally; however, in this service The data packets of some data streams may fail to achieve multi-stream synchronization due to abnormal conditions such as packet loss and congestion, resulting in the failure of the normal operation of the service, which not only affects the normal use of users, but also wastes network bandwidth.
  • the background in the AR picture will generate a data stream, and the virtual picture of the foreground added by the AR will also generate a data stream.
  • the data stream generated by the background in the AR screen is synchronized with the data stream generated by the virtual screen in the foreground added by AR to achieve multi-stream synchronization, the user can normally experience the AR experience.
  • the 360-degree video frame is split into different parts, and each part generates a data stream.
  • the data packets split into different parts of the data stream realize multi-stream synchronization, Only then can they be combined to form a 360-degree picture.
  • the normal transmission of data packets of some data streams cannot guarantee the normal use of users, so the normal transmission of data packets of some data streams is invalid, and will occupy network bandwidth, resulting in waste of resources.
  • synchronization of multiple streams of the same service is implemented at the receiving end device. Specifically, after receiving the data packets of a part of the data flow, the receiving end device first buffers the data packets of the part of the data flow, and the service can operate normally after receiving the data packets of all the data flows. However, when the data packets of some data streams are unable to receive the data packets of all data streams due to abnormal conditions such as packet loss and congestion, the normal operation of the service will be affected. The data packets of the normally transmitted data flow received by the receiving end device will occupy the storage resources of the receiving end device, resulting in a waste of resources. In addition, the multi-stream synchronization judgment at the receiving end device will greatly reduce the loss of data streams, Anomalies such as congestion may not be able to respond quickly.
  • this application provides a multi-stream synchronization method, through which this application can respond to packet loss faster, and can also avoid occupying a large amount of storage resources on the receiving end device, resulting in resource loss of the receiving end device. waste.
  • the offset of the arrival time of the data packet (such as the scheduled arrival time, or the actual arrival time) relative to the reference time is mainly used as an example for illustration. For example, taking the 24-hour clock as an example, assuming that the reference time is 8:00, and the time when packet 1 actually arrives at the network element or device (such as radio access network equipment, or user plane functional equipment) is 8:01, then The actual arrival time of package 1 is 60s (ie 1 minute).
  • the scheduled arrival time of the data packet and the actual arrival time of the data packet are mentioned several times.
  • the scheduled arrival time of the data packet indicates the time when the data packet is scheduled (or originally) to arrive at the network element or device. If the scheduled arrival time of the data packet is the time when the data packet is scheduled (or originally) to arrive at the user plane functional device, and if the scheduled arrival time of the data packet is the time when the data packet is scheduled (or originally) to arrive at the wireless access network device, For another example, the scheduled arrival time of the data packet is the time when the data packet is scheduled (or originally) to arrive at other network elements or devices, which is not limited in this embodiment of the present application.
  • the actual arrival time of the data packet indicates the time when the data packet actually arrives at the network element or device.
  • the actual arrival time of a data packet is the time when the data packet actually arrives at the user plane functional device, or the actual arrival time of the data packet is the time when the data packet actually arrives at the wireless access network device, or the actual arrival time of the data packet It is the time when the data packet actually arrives at other network elements or devices, which is not limited in this embodiment of the present application.
  • the scheduled arrival time of the data packet is not equal to the actual arrival time of the data packet, and the actual arrival time of the data packet may be later than the scheduled arrival time of the data packet, or may be earlier than the scheduled arrival time of the data packet, or may It is equal to the scheduled arrival time of the data packet, which is not limited in this embodiment of the present application.
  • FIG. 2 shows a schematic diagram of a multi-stream synchronization method 200 provided by an embodiment of the present application. As shown in FIG. 2 , the method 200 may include the following steps.
  • the first network element acquires multi-flow information and a first preset value, where the multi-flow information includes a first period, where the first network element is a radio access network device or a user plane function device.
  • the multi-flow information further includes one or more of the following information: the size of the data packet of each data flow among the multiple data flows, the scheduled arrival time of the data packet of each data flow among the multiple data flows, The preset time interval between the arrival times of two data packets in the plurality of data streams.
  • the first network element acquiring the multi-flow information includes: the first network element itself acquires the multi-flow information, or the first network element receives the multi-flow information.
  • the first network element obtains the multi-flow information by means of deep packet inspection (deep packet inspection, DPI), machine learning, and the like.
  • DPI deep packet inspection
  • the user plane functional device may receive multi-flow information from a control plane network element or a radio access network device.
  • the radio access network device may receive multi-flow information from a control plane network element or a user plane functional device.
  • the control plane network element obtains the multi-flow information, which may include: the control plane network element receives the multi-flow information from the application function device; or, the control plane network element receives the multi-flow information obtained from the user plane function device itself; or, the control plane network element receives the multi-flow information obtained from the user plane function device itself; The plane network element receives the multi-flow information obtained from the wireless access network device itself.
  • the control plane network element may obtain from the application function device the first period, the size of the data packet of each of the multiple data flows, the scheduled arrival time of the data packet of each of the multiple data flows, the scheduled The time interval between the arrival times of two data packets in the plurality of data streams is set.
  • the first network element receives the first rule from the control plane network element, where the first rule is the difference between the actual arrival time of the data packet of at least one of the multiple data flows and the multiple preset The sum of the time intervals between the arrival times of two packets in a data stream.
  • the first network element obtaining the first preset value includes: the first network element may determine the first preset value according to the obtained multi-flow information or the first rule received from the control plane network element. set value.
  • the first network element may determine the first preset value according to a predetermined arrival time of data packets of each data flow among the multiple data flows, or receive a first rule from a control plane network element.
  • the first preset value may be the scheduled arrival time of the first data packet in the multiple data streams; or, the first preset value may be the actual arrival time of the data packet of at least one data stream in the multiple data streams The sum of the time intervals between the arrival times of two data packets in the preset multiple data streams.
  • Mode #1 The first preset value is the scheduled arrival time of the first data packet.
  • the scheduled arrival time of the first data packet may be the sum of the original scheduled arrival time of the first data packet and a time threshold.
  • the original scheduled arrival time is expressed as the time when the first data packet should arrive at the network element or device, or the preconfigured arrival time at the network element or device.
  • the time threshold may be predefined by the protocol, may be set manually, or may be configured by the network side, which is not limited in this embodiment of the present application.
  • the time threshold can be 0 or greater than 0. It can be understood that when the time threshold is 0, the scheduled arrival time of the first data packet is the original scheduled arrival time of the first data packet; when the time threshold is greater than 0, the scheduled arrival time of the first data packet is greater than the first data packet The original scheduled arrival time of the packet.
  • the time threshold can be understood as a newly added period of time when the first data packet cannot reach the network element or device within the original scheduled arrival time. That is to say, by setting the time threshold, the first preset value of a data packet can be given a certain range of grace on the basis of the original scheduled arrival time, and the time after the grace is the final scheduled arrival time.
  • the original scheduled arrival time of package 1 is 8s
  • the time threshold is 2s
  • the scheduled arrival time of package 1 is 10s (that is, the sum of the original scheduled arrival time of package 1 of 8s and the time threshold 2s).
  • each data stream has one data packet in the first cycle, that is, there are three data packets corresponding to these three data streams, respectively recorded as Pack 1, Pack 2, Pack 3.
  • the scheduled arrival time of package 1 may be 10s
  • the scheduled arrival time of package 2 may be 15s
  • the scheduled arrival time of package 3 may be 25s. Therefore, in the case of mode #1, the first default value of package 1 is 10s, the first default value of package 2 is 15s, and the first default value of package 3 is 25s.
  • the first preset value is the sum of the actual arrival time of the data packets of at least one of the multiple data streams and the preset time interval between the arrival times of two data packets in the multiple data streams.
  • the first preset value of the data packet of each data stream can be: the other data streams arriving before the data packet Among the data packets, the sum of the actual arrival time of one data packet and the preset time interval between the arrival times of two data packets in multiple data streams. It should be understood that, for the first data packet arriving at the network element or device in the first period, no data packet of other data flows has arrived at the network element or device before this data packet, so the first data packet arriving at the network element or device
  • the first preset value of the data packet can be determined according to mode #1.
  • each data stream has one data packet in the first cycle, that is, there are three data packets corresponding to these three data streams, respectively Denote as pack 1, pack 2, pack 3.
  • pack 1, pack 2, pack 3 Assume that the preset time interval between the arrival times of two data packets is 5s. For packet 2, suppose that when packet 2 arrives at the network element or device, packet 1 has already arrived at the network element or device, and the actual arrival time of packet 1 is 8s, and packet 3 has not yet arrived at the network element or device.
  • the first preset value of packet 2 may be the sum of the actual arrival time of packet 1 and the time interval between the preset arrival times of two data packets in multiple data streams, that is, 13s (the actual arrival time of packet 1 8s and time interval 5s).
  • 13s the actual arrival time of packet 1 8s and time interval 5s.
  • the first preset value of packet 3 can be the sum of the actual arrival time of packet 1 and the time interval between the arrival times of two data packets in the preset multiple data streams, that is, 13s (the actual arrival time of packet 1 is 8s and the time interval 5s), it can also be the sum of the actual arrival time of packet 2 and the time interval between the arrival times of two data packets in the preset multiple data streams, that is, 17s (the actual arrival time of packet 2 is 12s sum with time interval 5s).
  • Method #3 When two first preset values are calculated through method #1 and method #2, the first preset value may take the minimum value of the two first preset values at this time.
  • each data stream has one data packet in the first cycle, that is, there are two data packets corresponding to these two data streams, respectively recorded as For package 1 and package 2.
  • the scheduled arrival times of packet 1 and packet 2 are 10s and 12s respectively, and the preset time interval between the arrival times of two data packets is 5s.
  • the first preset value of packet 1 determined according to method #1 is 10s (that is, the scheduled arrival time of packet 1).
  • the first preset value of packet 1 in mode #3 can be determined according to mode #1, that is, the first preset value of packet 1 determined according to mode #3 for 10s.
  • mode #1 that is, the first preset value of packet 1 determined according to mode #3 for 10s.
  • packet 2 is the first data packet
  • packet 1 has arrived at the network element or device, and the actual arrival time of packet 1 is 8s
  • the first preset value corresponding to packet 2 determined according to method #1 is 12s (that is, packet 2 scheduled arrival time)
  • the first preset value of packet 2 determined according to mode #2 can be the time interval between the actual arrival time of packet 1 and the preset arrival time of two data packets, that is, 13s (packet 1’s The sum of the actual arrival time 8s and the time interval 5s)
  • the first preset value of the packet 2 determined according to the mode #3 is the minimum value of 12s in the mode #1 and the mode #2.
  • the first network element determines that the actual arrival time of the first data packet in the multiple data flows is later than the first preset value, the first network element discards the packets received within the first period. data pack.
  • the first data packet is a data packet that just arrives at a network element or device.
  • each data stream has one data packet in the first cycle, that is, there are three data packets corresponding to these three data streams, respectively recorded as Pack 1, Pack 2, Pack 3.
  • Packet 1 has been cached by the network element or device, packet 2 has just arrived at the network element or device, and packet 3 has not yet arrived at the network element or device, then the first data packet at this time is packet 2.
  • the first network element determines that the actual arrival time of the first data packet is earlier than or equal to a first preset value, and the first network element caches the first data packet.
  • the first network element may have cached one or more data pack.
  • the first network element may discard one or more data pack.
  • each data stream has one data packet in the first cycle, that is, there are three data packets corresponding to these three data streams, respectively Denote as pack 1, pack 2, pack 3.
  • the above method #1 or method #3 is used to determine the first preset value, it is assumed that the scheduled arrival times of package 1, package 2 and package 3 are 10s, 15s and 20s respectively.
  • the preset time interval between the arrival times of two data packets is 5s. The processing of the first network element corresponding to data packets arriving at different times will be described below in conjunction with specific examples.
  • the first preset value of packet 1 determined according to method #1 is 10s (scheduled arrival time of packet 1). Since no data packets of other data streams have arrived at the first network element before packet 1, it is determined in method #3
  • the first preset value of package 1 is the same as the first preset value of package 1 determined according to method #1, that is, the first preset value of package 1 determined according to method #3 is 10s. If the packet 1 does not arrive within 10s, the first network element does not receive subsequent packets 2 and 3 at this time. If the packet 1 arrives within 10s, the first network element caches the packet 1 at this time, and continues to wait for the receipt of the packets 2 and 3.
  • the first network element caches packet 1 and continues to wait for the arrival of packets 2 and 3. take over.
  • the first preset value of package 2 determined according to method #1 is 15s (the scheduled arrival time of package 2), and the first preset value of package 2 determined according to method #2 can be the actual arrival time of package 1 and the preset time
  • the first preset value of packet 2 determined according to mode #3 is mode #1 and Minimum value 13s in mode #2. In actual operation, it is only necessary to determine the first preset value according to one of ways #1 to #3.
  • the first network element discards the buffered packet 1 and does not receive the subsequent packet 3. If packet 2 arrives within the first preset value determined in a corresponding manner, the first network element further caches packet 2 and continues to wait for packet 3 to be received.
  • the actual arrival time of packet 2 is 14s. If the first preset value (15s) of packet 2 determined according to method #1, since the actual arrival time of packet 2 is earlier than the first preset value, the first network element caches packet 2 and continues to wait for the arrival of packet 3 take over. If the first preset value (13s) of packet 2 determined according to mode #2 or mode #3, since the actual arrival time of packet 2 is later than the first preset value, the first network element discards the cached packet 1 at this time , and no longer receive subsequent packet 3.
  • the first preset value of package 3 determined according to mode #1 is 20s (the scheduled arrival time of package 3)
  • the first preset value of package 3 determined according to mode #2 can be the actual arrival time of package 1 and the preset
  • the first preset value of packet 3 determined according to mode #3 is mode #1 and a minimum of 13s in method #2.
  • the first preset value of packet 3 determined according to mode #2 can be the time interval between the actual arrival time of packet 2 and the preset arrival time of two data packets, that is, 17s (the actual arrival time of packet 2 is 12s and the time interval 5s), then the first preset value of package 3 determined according to mode #3 is the minimum value of 17s in mode #1 and mode #2. In actual operation, it is only necessary to determine the first preset value according to one of ways #1 to #3. If the packet 3 does not arrive within the first preset value determined in a corresponding manner, the first network element discards the buffered packets 1 and 2 at this time. If the packet 3 arrives within the first preset value determined in a corresponding manner, the first network element sends the cached packet 1, packet 2, and packet 3 to the receiving end device.
  • the first preset value of package 3 determined according to method #1 is 20s (the scheduled arrival time of package 3).
  • the first preset value of packet 3 determined according to mode #2 or mode #3 is 17s (the time interval between the actual arrival time of packet 2 and the preset arrival time of two data packets). For example, the actual arrival time of package 3 is 19s. If the first preset value (20s) of packet 3 determined according to mode #1, since the actual arrival time of packet 3 is earlier than the first preset value, the first network element will cache the cached packet 1 and packet 2 at this time, And packet 3 is sent to the receiving end device. If the first preset value (17s) of packet 3 determined according to mode #2 or mode #3, since the actual arrival time of packet 3 is later than the first preset value, the first network element discards the cached packet 1 at this time and pack 2.
  • the first network element (such as radio access network equipment, or user plane functional equipment) can, according to the transmission status of the data packet, perform a multi-stream transmission that has been received in the first period and cannot achieve multi-flow synchronization. packets are discarded. For example, if the actual arrival time of the first data packet in the multiple data flows is later than the first preset value, the first network element discards the data packet received within the first period. In this way, it is not only possible to quickly respond to the abnormal situation of the data packet, such as responding to packet loss faster, but also to prevent the first network element from sending multiple data packets that have not achieved multi-flow synchronization in the first cycle to the Signaling overhead brought by the receiver device.
  • performing multi-stream synchronization judgment at the first network element can save storage resources of the receiving end device, thereby reducing reception waste of end storage resources.
  • the first network element in response to the first network element determining that the actual arrival time of the first data packet in the multiple data streams is later than a first preset value, the first network element sends indication information to the sending end device, where the indication information uses Used to instruct retransmission of packets for each of the multiple data streams.
  • the first network element sending the instruction information to the sending end device may include: the first network element generates an acknowledgment packet; the first network element sends an acknowledgment packet to the sending end device, and the acknowledgment packet is used to indicate Retransmits packets for each of the multiple streams.
  • the first network element when the transmission of the data packet is uplink transmission, the first network element may be a wireless access network device, the sending end device may be a terminal device, and the receiving end device may be a data network device; when the transmission of the data packet is downlink During transmission, the first network element may be a user plane functional device, the sending end device may be a data network device, and the receiving end device may be a terminal device.
  • the first network element calculates the data packet of each data flow in the multiple data flows according to the multi-flow information Pre-allocate resources.
  • the user plane function device may, according to the size of the data packet of each data flow in the multiple data flows and the scheduled arrival time of the data packets of each data flow in the multiple data flows, set
  • the radio access network device may, according to the size of the data packet of each data flow in the multiple data flows, and the scheduled arrival time of the data packets of each data flow in the multiple data flows, Air interface resources are pre-allocated for data packets of each data flow among multiple data flows.
  • FIG. 3 shows a flow chart of a multi-stream synchronization method 300 provided by an embodiment of the present application.
  • the processing flow of the first network element on the data packets received in the first period may include the following steps.
  • a first network element receives a first data packet from a sending end device within a first period.
  • the first network element determines the actual arrival time of the first data packet.
  • the first network element determines whether the actual arrival time is later than a first preset value.
  • step 304 or step 305 is performed, and if not, step 306 is performed.
  • the first network element discards the data packets received within the first period.
  • the first network element After discarding the data packets received in the first period, the first network element does not receive other data packets that have not arrived in the first period.
  • the first network element may continue to perform step 305, instructing the terminal device to retransmit the data packet of each data flow in the multiple data flows in the first period.
  • the first network element sends indication information to the sending end device, where the indication information is used to instruct retransmission of the data packet of each data flow in the multiple data flows in the first period.
  • the first network element may choose to discard the data packet received within the first period (ie step 304), It is also possible to choose to directly send indication information to the sender device, instructing the terminal device to retransmit the data packets of each data stream in the multiple data streams in the first period (that is, step 305). Based on these two processing methods, it is not only possible to quickly respond to the abnormal situation of the data packet, such as responding to packet loss faster, but also to prevent the first network element from sending multiple data packets that have not achieved multi-stream synchronization in the first cycle. The signaling overhead caused by sending packets to the receiving end device.
  • the first network element caches the first data packet.
  • the first network element judges whether the first data packet is the last data packet in the first period.
  • execute step 308 If yes, execute step 308; if not, execute step 301, that is, the first network element continues to receive the next data packet in the first period.
  • the first network element sends the received data packets within the first period to the receiving end device.
  • the data packets received in the first period include one or more data packets that have been buffered in the first network element.
  • step 308 when the first network element sends the data packet received in the first cycle to the receiving end device, at this time, the data packet received by the first network element in the first cycle has achieved multi-flow synchronization, That is to say, the determination of multi-stream synchronization is performed at the first network element.
  • performing multi-stream synchronization judgment at the first network element can save storage resources of the receiving end device, thereby reducing waste of storage resources at the receiving end.
  • Figures 4 to 6 mainly introduce that the user plane functional device and the radio access network functional device obtain multi-flow information and the first rule, and determine the first preset value based on the obtained multi-flow information or the first rule, and then according to the The first preset value determines whether to send a possible flow of the data packet to the receiving end device.
  • the method 500 shown in FIG. 4 can be used for the user plane functional device and the radio access network functional device to receive the multi-flow information and the first rule from the control plane network element, and based on the received multi-flow information or the first rule , determine a first preset value, and then determine whether to send the data packet to the receiving end device according to the first preset value.
  • the user plane functional device can be used for the user plane functional device to obtain multi-flow information by itself, and send the multi-flow information obtained by itself to the control plane network element;
  • the user plane functional device receives the first rule from the control plane network element, And according to the multi-flow information obtained by itself or the first rule sent by the control plane network element, determine the first preset value, and then determine whether to send the data packet to the receiving end device according to the first preset value;
  • the radio access network device receives From the multi-flow information and the first rule sent by the user plane functional device, and according to the multi-flow information or the first rule sent by the user plane functional device, determine the first preset value, and then determine whether to send to the receiving end according to the first preset value
  • the device sends the packet.
  • the wireless access network device can be used for the wireless access network device to obtain multi-flow information by itself, and send the multi-flow information obtained by itself to the control plane network element; the wireless access network device receives the first According to the multi-flow information obtained by itself or the first rule sent by the network element of the control plane, determine the first preset value, and then determine whether to send the data packet to the receiving end device according to the first preset value; the user plane functional device receiving the multi-flow information and the first rule from the wireless access network device, and determining a first preset value according to the multi-flow information or the first rule sent by the wireless access network device, and then determining whether to Send a data packet to the receiving end device.
  • FIG. 4 shows a schematic flowchart of a multi-stream synchronization method 400 provided by an embodiment of the present application.
  • the method 400 may include the following steps.
  • the AF sends multi-flow information to the CP.
  • the multi-flow information may include one or more of the following information: the first period, the size of the data packet of each data flow in the multiple data flows, the scheduled arrival of the data packet in each data flow in the multiple data flows Time, the time interval between the arrival times of two data packets in preset multiple data streams.
  • the scheduled arrival time of the data packet may include: the time when the data packet is scheduled to arrive at the UPF, and the time when the data packet is scheduled to arrive at the RAN.
  • the CP receives multi-flow information, and determines a first rule according to the multi-flow information.
  • the multi-flow information may include one or more of the following information: the first period, the size of the data packet of each data flow in the multiple data flows, the scheduled arrival of the data packet in each data flow in the multiple data flows Time, the time interval between the arrival times of two data packets in preset multiple data streams.
  • the first rule is the sum of the actual arrival time of the data packets of at least one of the multiple data streams and the preset time interval between the arrival times of two data packets in the multiple data streams.
  • the CP determines the maximum value of the data packet size of each data flow in the first period; when the maximum value is less than or equal to the resource size of the UPF, the CP sends the multi-flow information and the first rule to the UPF.
  • SMF receives the cache resource size from UPF, and when the maximum size of data packets of each data flow in the first period is less than or equal to the cache resource size of UPF, SMF can send multi-flow information to UPF through N4* interface and first rule.
  • the CP determines the maximum value of the data packet size of each data flow in the first period; when the maximum value is less than or equal to the resource size of the RAN, the CP sends the multi-flow information and the first rule to the RAN.
  • the SMF receives the size of the air interface resource from the RAN, and when the maximum size of the data packet of each data flow in the first cycle is less than or equal to the size of the air interface resource of the RAN, the SMF can send multi-flow information to the RAN through the N2* interface and first rule.
  • the multi-flow information may be obtained by the SMF, or by the PCF or NEF, and the PCF or NEF sends the multi-flow information to the SMF, which is not limited in this embodiment of the present application.
  • the CP sends the multi-flow information and the first rule to the UPF.
  • the multi-flow information may include one or more of the following information: the first period, the size of the data packet of each data flow in the multiple data flows, the scheduled arrival of the data packet in each data flow in the multiple data flows Time, the time interval between the arrival times of two data packets in preset multiple data streams.
  • the scheduled arrival time of the data packet indicates the time when the data packet is scheduled to arrive at the UPF.
  • the first rule is the sum of the actual arrival time of the data packets of at least one of the multiple data streams and the preset time interval between the arrival times of two data packets in the multiple data streams.
  • the CP sends the multi-flow information and the first rule to the RAN.
  • the multi-flow information may include one or more of the following information: the first period, the size of the data packet of each data flow in the multiple data flows, the scheduled arrival of the data packet in each data flow in the multiple data flows Time, the time interval between the arrival times of two data packets in preset multiple data streams.
  • the scheduled arrival time of the data packet indicates the time when the data packet is scheduled to arrive at the RAN.
  • the first rule is the sum of the actual arrival time of the data packets of at least one of the multiple data streams and the preset time interval between the arrival times of two data packets in the multiple data streams.
  • step 403 and step 404 may or may not occur simultaneously, which is not limited in this embodiment of the present application.
  • the CP can first send the multi-flow information and the first rule to the UPF, and then send the multi-flow information and the first rule to the RAN; or, the CP can first send the multi-flow information and the first rule to the RAN, and then send the multi-flow information to the UPF information and the first rule; or, the CP may simultaneously send the multi-flow information and the first rule to the UPF and the RAN.
  • the order in which the CP sends the multi-flow information and the first rule to the UPF or the RAN is not limited.
  • the CP can send multi-flow information and the first rule to UPF or RAN at the same time; for another example, the CP can first send multi-flow information to UPF or RAN, and then send the first rule; for another example, the CP can send UPF or RAN first The first rule is to send multi-stream information.
  • the UPF receives the multi-flow information and the first rule, and determines a first preset value according to the multi-flow information or the first rule, and then determines whether to send the data packet.
  • the multi-flow information may include one or more of the following information: the first period, the size of the data packet of each data flow in the multiple data flows, the scheduled arrival of the data packet in each data flow in the multiple data flows Time, the time interval between the arrival times of two data packets in preset multiple data streams.
  • the scheduled arrival time of the data packet indicates the time when the data packet is scheduled to arrive at the UPF.
  • the UPF determines that the actual arrival time of the first data packet in the multiple data flows is later than the first preset value, the UPF discards the data packets received in the first period.
  • the first data packet is a data packet that just arrives at the UPF.
  • the UPF may determine the first preset value according to the received multi-flow information or the first rule. For example, the UPF may determine the first preset value according to the scheduled arrival time of data packets of each of the multiple data flows, or receive a first rule from the CP.
  • the first preset value may be the scheduled arrival time of the first data packet in the multiple data streams; or, the first preset value may be the actual arrival time of the data packet of at least one data stream in the multiple data streams The sum of the time intervals between the arrival times of two data packets in the preset multiple data streams.
  • the UPF determines that the actual arrival time of the first data packet is earlier than or equal to a first preset value, and the UPF caches the first data packet.
  • the UPF may have buffered one or more data packets received in the first cycle.
  • the UPF may discard one or more data packets received within the first period.
  • the UPF in response to the UPF determining that the actual arrival time of the first data packet in the multiple data streams is later than the first preset value, the UPF sends indication information to the sending end device, where the indication information is used to instruct retransmission of the multiple data packets Packets for each flow in the flow.
  • the UPF sending the indication information to the sending end device may include: the UPF generates an acknowledgment data packet; the UPF sends an acknowledgment data packet to the sending end device, and the acknowledgment data packet is used to instruct retransmission of each data flow in the multiple data flows data pack.
  • the UPF pre-allocates resources for the data packets of each data flow in the multiple data flows according to the multi-flow information.
  • the UPF may, according to the size of the data packets of each of the multiple data streams, the scheduled arrival time of the data packets of each of the multiple data streams, Pre-allocate cache resources.
  • the RAN receives the multi-flow information and the first rule, and determines a first preset value according to the multi-flow information or the first rule, and then determines whether to send the data packet.
  • the multi-flow information may include one or more of the following information: the first period, the size of the data packet of each data flow in the multiple data flows, the scheduled arrival of the data packet in each data flow in the multiple data flows Time, the time interval between the arrival times of two data packets in preset multiple data streams.
  • the scheduled arrival time of the data packet indicates the time when the data packet is scheduled (or originally) to arrive at the RAN.
  • the RAN determines that the actual arrival time of the first data packet in the multiple data flows is later than a first preset value, the RAN discards the data packets received within the first period.
  • the first data packet is a data packet that just arrives at the RAN.
  • the RAN may determine the first preset value according to the received multi-flow information or the first rule. For example, the RAN may determine the first preset value according to the scheduled arrival time of data packets of each data flow in the multiple data flows, or receive a first rule from the CP.
  • the first preset value may be the scheduled arrival time of the first data packet in the multiple data streams; or, the first preset value may be the actual arrival time of the data packet of at least one data stream in the multiple data streams The sum of the time intervals between the arrival times of two data packets in the preset multiple data streams.
  • the RAN determines that the actual arrival time of the first data packet is earlier than or equal to a first preset value, and the RAN caches the first data packet.
  • the RAN may have buffered one or more data packets received in the first period.
  • the RAN may discard one or more data packets received within the first period.
  • the RAN in response to the RAN determining that the actual arrival time of the first data packet in the multiple data streams is later than the first preset value, the RAN sends indication information to the sending end device, where the indication information is used to instruct retransmission of multiple data streams Packets for each flow in the flow.
  • the RAN sending the indication information to the sending end device may include: the RAN generates an acknowledgment data packet; the RAN sends an acknowledgment data packet to the sending end device, and the acknowledgment data packet is used to instruct retransmission of each data flow in the multiple data flows data pack.
  • the multi-flow information also includes the size of the data packet of each data flow in the multiple data flows, and the scheduled arrival time of the data packet of each data flow in the multiple data flows;
  • the RAN pre-allocates resources for the data packets of each data flow in the multiple data flows according to the multi-flow information. For example, the RAN may assign data packets for each of the multiple data streams based on the size of the data packets for each of the multiple data streams and the scheduled arrival time of the data packets for each of the multiple data streams. Pre-allocate air interface resources.
  • the first network element (such as RAN, such as UPF) can discard multiple data packets that have been received in the first period and fail to achieve multi-flow synchronization according to the transmission status of the data packets, At the same time, the sending end device may also be requested to retransmit the data packets of each data flow in the multiple data flows. In this way, it is not only possible to quickly respond to the abnormal situation of the data packet, such as responding to packet loss faster, but also to prevent the first network element from sending multiple data packets that have not achieved multi-flow synchronization in the first cycle to the Signaling overhead brought by the receiver device.
  • performing multi-stream synchronization judgment at the first network element can save storage resources of the receiving end device, thereby reducing reception waste of end storage resources.
  • FIG. 5 shows a schematic flowchart of another multi-stream synchronization method 500 provided by an embodiment of the present application.
  • the method 500 may include the following steps.
  • the UPF sends multi-flow information to the CP.
  • the multi-flow information may include one or more of the following information: the first period, the size of the data packet of each data flow in the multiple data flows, the scheduled arrival of the data packet in each data flow in the multiple data flows Time, the time interval between the arrival times of two data packets in preset multiple data streams.
  • the UPF may obtain the first period, the size of the data packet of each data flow in the multiple data flows, and the scheduled arrival of the data packet in each data flow in the multiple data flows by itself through DPI, machine learning, etc. Time, the time interval between the arrival times of two data packets in preset multiple data streams.
  • the scheduled arrival time of the data packet obtained by the UPF itself is the scheduled arrival time of the data packet at the UPF, and the UPF may determine the scheduled arrival time of the data packet at the RAN according to the scheduled arrival time of the data packet at the UPF.
  • the UPF can determine the time when the data packet is scheduled to arrive at the RAN by calculating the difference between the time when the data packet is scheduled to arrive at the UPF and the packet delay budget; when the data packet is for downlink transmission, the UPF can calculate The sum of the time when the data packet is scheduled to arrive at the UPF and the packet delay budget determines the time when the data packet is scheduled to arrive at the RAN, where the packet delay budget may be predefined by the QoS flow.
  • the UPF sending the multi-flow information to the CP includes: the UPF obtains the multi-flow information, and sends the obtained multi-flow information to the CP.
  • the UPF may send the multi-flow information to the SMF through the N4* interface.
  • the CP receives multi-flow information, and determines a first rule according to the multi-flow information.
  • the multi-flow information may include one or more of the following information: the first period, the size of the data packet of each data flow in the multiple data flows, the scheduled arrival of the data packet in each data flow in the multiple data flows Time, the time interval between the arrival times of two data packets in preset multiple data streams.
  • the first rule is the sum of the actual arrival time of the data packets of at least one of the multiple data streams and the preset time interval between the arrival times of two data packets in the multiple data streams.
  • the CP determines the maximum value of the data packet size of each data flow in the first period; when the maximum value is less than or equal to the resource size of the UPF, the CP sends the first rule to the UPF.
  • the SMF receives the cache resource size from the UPF, and when the maximum size of the data packets of each data flow in the first period is less than or equal to the cache resource size of the UPF, the SMF can send the first rule to the UPF through the N4* interface .
  • the multi-flow information may be obtained by the SMF, or by the PCF or NEF, and the PCF or NEF sends the multi-flow information to the SMF, which is not limited in this embodiment of the present application.
  • the CP sends the first rule to the UPF.
  • the first rule is the sum of the actual arrival time of the data packets of at least one of the multiple data streams and the preset time interval between the arrival times of two data packets in the multiple data streams.
  • the UPF sends the multi-flow information and the first rule to the RAN.
  • the multi-flow information may include one or more of the following information: the first period, the size of the data packet of each data flow in the multiple data flows, the scheduled arrival of the data packet in each data flow in the multiple data flows Time, the time interval between the arrival times of two data packets in preset multiple data streams.
  • the scheduled arrival time of the data packet indicates the time when the data packet is scheduled to arrive at the RAN.
  • the first rule is the sum of the actual arrival time of the data packets of at least one of the multiple data streams and the preset time interval between the arrival times of two data packets in the multiple data streams.
  • the order in which the UPF sends the multi-flow information and the first rule to the RAN is not limited.
  • the UPF can send multi-flow information and the first rule to the RAN at the same time; for another example, the UPF can first send the multi-flow information to the RAN, and then send the first rule; for another example, the UPF can first send the first rule to the RAN, and then send Multiple streams of information.
  • the UPF determines the maximum value of the data packet size of each data flow in the first period; when the maximum value is less than or equal to the resource size of the RAN, the UPF sends the multi-flow information and the first rule to the RAN. For example, the UPF receives the size of the air interface resource from the RAN. When the maximum size of the data packet of each data flow in the first period is less than or equal to the size of the air interface resource of the RAN, the UPF can send the multi-flow to the RAN through the N3* interface. information and this first rule.
  • the UPF receives the first rule, and determines a first preset value according to the multi-flow information or the first rule, and then determines whether to send the data packet.
  • the RAN receives the multi-flow information and the first rule, and determines a first preset value according to the multi-flow information or the first rule, and then determines whether to send the data packet.
  • steps 505 and 506 reference may be made to steps 405 and 406, and details are not repeated here.
  • the first network element (such as RAN, such as UPF) can discard multiple data packets that have been received in the first period and fail to achieve multi-flow synchronization according to the transmission status of the data packets, At the same time, the sending end device may also be requested to retransmit the data packets of each data flow in the multiple data flows. In this way, it is not only possible to quickly respond to the abnormal situation of the data packet, such as responding to packet loss faster, but also to prevent the first network element from sending multiple data packets that have not achieved multi-flow synchronization in the first cycle to the Signaling overhead brought by the receiver device.
  • performing multi-stream synchronization judgment at the first network element can save storage resources of the receiving end device, thereby reducing reception waste of end storage resources.
  • FIG. 6 shows a schematic flowchart of another multi-stream synchronization method 600 provided by an embodiment of the present application.
  • the method 600 may include the following steps.
  • the RAN sends multi-flow information to the CP.
  • the multi-flow information may include one or more of the following information: the first period, the size of the data packet of each data flow in the multiple data flows, the scheduled arrival of the data packet in each data flow in the multiple data flows Time, the time interval between the arrival times of two data packets in preset multiple data streams.
  • the RAN may acquire the first period, the size of the data packet of each of the multiple data streams, and the scheduled arrival of the data packets of each of the multiple data streams by itself through DPI, machine learning, etc. Time, the time interval between the arrival times of two data packets in preset multiple data streams.
  • the scheduled arrival time of the data packet acquired by the RAN itself is the scheduled arrival time of the data packet to the RAN, and the RAN may determine the scheduled arrival time of the data packet at the UPF according to the scheduled arrival time of the data packet to the RAN.
  • the RAN can determine the time when the data packet is scheduled to arrive at the UPF by calculating the sum of the time when the data packet is scheduled to arrive at the RAN and the packet delay budget; The difference between the time when the packet is scheduled to arrive at the RAN and the packet delay budget determines the time when the data packet is scheduled to arrive at the UPF, where the packet delay budget may be predefined by the QoS flow.
  • the RAN sending the multi-flow information to the CP includes: the RAN obtains the multi-flow information, and sends the obtained multi-flow information to the CP, for example, the RAN may send the multi-flow information to the SMF through the N2* interface.
  • the CP receives multi-flow information, and determines a first rule according to the multi-flow information.
  • the multi-flow information may include one or more of the following information: the first period, the size of the data packet of each data flow in the multiple data flows, the scheduled arrival of the data packet in each data flow in the multiple data flows Time, the time interval between the arrival times of two data packets in preset multiple data streams.
  • the first rule is the sum of the actual arrival time of the data packets of at least one of the multiple data streams and the preset time interval between the arrival times of two data packets in the multiple data streams.
  • the CP determines the maximum value of the data packet size of each data flow in the first period; when the maximum value is less than or equal to the resource size of the RAN, the CP sends the first rule to the RAN.
  • the SMF receives the size of the air interface resource from the RAN.
  • the SMF can send the first packet to the RAN through the N2* interface. rule.
  • the multi-flow information may be obtained by the SMF, or by the PCF or NEF, and the PCF or NEF sends the multi-flow information to the SMF, which is not limited in this embodiment of the present application.
  • the CP sends the first rule to the RAN.
  • the first rule is the sum of the actual arrival time of the data packets of at least one of the multiple data streams and the preset time interval between the arrival times of two data packets in the multiple data streams.
  • the RAN sends the multi-flow information and the first rule to the UPF.
  • the multi-flow information may include one or more of the following information: the first period, the size of the data packet of each data flow in the multiple data flows, the scheduled arrival of the data packet in each data flow in the multiple data flows Time, the time interval between the arrival times of two data packets in preset multiple data streams.
  • the scheduled arrival time of the data packet indicates the time when the data packet is scheduled to arrive at the RAN.
  • the first rule is the sum of the actual arrival time of the data packets of at least one of the multiple data streams and the preset time interval between the arrival times of two data packets in the multiple data streams.
  • the order in which the RAN sends the multi-flow information and the first rule to the UPF is not limited.
  • the RAN can send multi-flow information and the first rule to the UPF at the same time; for another example, the RAN can first send the multi-flow information to the UPF, and then send the first rule; for another example, the RAN can first send the first rule to the UPF, and then send Multiple streams of information.
  • the RAN determines the maximum value of the data packet size of each data flow in the first period; when the maximum value is less than or equal to the resource size of the RAN, the RAN sends the multi-flow information and the first rule to the UPF.
  • the RAN receives the buffer resource size from the UPF, and when the maximum size of the data packets of each data flow in the first cycle is less than or equal to the buffer resource size of the UPF, the RAN can send the multi-flow to the UPF through the N3* interface information and this first rule.
  • the UPF receives the multi-flow information and the first rule, and determines a first preset value according to the multi-flow information or the first rule, and then determines whether to send the data packet.
  • the RAN receives the first rule, and determines a first preset value according to the multi-flow information or the first rule, and then determines whether to send the data packet.
  • steps 605 and 606 For descriptions of steps 605 and 606, reference may be made to steps 405 and 406, and details are not repeated here.
  • the first network element (such as RAN, such as UPF) can discard multiple data packets that have been received in the first period and fail to achieve multi-flow synchronization according to the transmission status of the data packets, At the same time, the sending end device may also be requested to retransmit the data packets of each data flow in the multiple data flows. In this way, it is not only possible to quickly respond to the abnormal situation of the data packet, such as responding to packet loss faster, but also to prevent the first network element from sending multiple data packets that have not achieved multi-flow synchronization in the first cycle to the Signaling overhead brought by the receiver device.
  • performing multi-stream synchronization judgment at the first network element can save storage resources of the receiving end device, thereby reducing reception waste of end storage resources.
  • the first period in the multi-flow information, the size of the data packet of each of the multiple data streams, the scheduled arrival time of the data packets of each of the multiple data streams, the preset multiple data streams The time interval between the arrival times of two data packets can be obtained by AF, UPF, or RAN, and the multi-flow information obtained by CP (for example, the first period, and then for example, multiple data flows).
  • the size of the data packet of each data flow in the data flow) can be from AF, also can be from UPF, also can be from RAN;
  • the size of the data packet of each data flow) can be from the CP, or from the RAN, or can be obtained by the UPF itself;
  • the multi-flow information obtained by the RAN for example, the first cycle, and then for example in multiple data flows
  • the size of the data packet of each data flow) may be from the CP, may also be from the UPF, and may also be acquired by the RAN itself.
  • N2* interface, the N3* interface, and the N4* interface in the embodiment of the present application are only defined for the convenience of distinguishing different interfaces, and should not constitute any limitation to the present application. This application does not exclude the possibility of adopting other names.
  • radio access network radio access network
  • UPF user plane function
  • DN data network
  • UE user equipment
  • application function application function, AF
  • SMF session management function
  • devices or network elements such as radio access network devices, and user plane functional devices
  • components of devices or network elements such as chip or circuit
  • embodiments of the present application further provide corresponding devices, and the device includes corresponding modules for executing the foregoing method embodiments.
  • the module can be software, or hardware, or a combination of software and hardware. It can be understood that the technical features described in the above method embodiments are also applicable to the following device embodiments.
  • Fig. 7 is a schematic block diagram of a communication device provided by an embodiment of the present application.
  • the apparatus 700 includes a transceiver unit 710, and the transceiver unit 710 can be used to implement a corresponding communication function.
  • the transceiver unit 710 may also be called a communication interface or a communication unit.
  • the apparatus 700 may further include a processing unit 720, and the processing unit 720 may be configured to implement a corresponding processing function, such as determining that the actual arrival time of the first data packet in the multiple data streams is later than a first preset value.
  • the device 700 further includes a storage unit, which can be used to store instructions and/or data, and the processing unit 720 can read the instructions and/or data in the storage unit, so that the device implements the foregoing method embodiments Actions of the first network element (such as the UPF, such as the RAN) or the control plane network element (such as the SMF) in the network.
  • a storage unit which can be used to store instructions and/or data
  • the processing unit 720 can read the instructions and/or data in the storage unit, so that the device implements the foregoing method embodiments Actions of the first network element (such as the UPF, such as the RAN) or the control plane network element (such as the SMF) in the network.
  • the processing unit 720 can read the instructions and/or data in the storage unit, so that the device implements the foregoing method embodiments Actions of the first network element (such as the UPF, such as the RAN) or the control plane network element (such as the SMF) in the network.
  • the first network element
  • the device 700 can be used to execute the actions performed by the first network element (such as UPF, such as RAN) or the control plane network element (such as SMF) in the above method embodiments.
  • the device 700 can be the first A network element (such as UPF, such as RAN) or a component of the first network element (such as UPF, such as RAN), can also be a control plane network element (such as SMF) or a component of a control plane network element (such as SMF)
  • the transceiving unit 710 is used to perform operations related to the sending and receiving of the first network element (such as UPF, such as RAN) or the control plane network element (such as SMF) in the above method embodiment, and the processing unit 720 is used to perform the implementation of the above method
  • the first network element (such as UPF, such as RAN) or the control plane network element (such as SMF) processes related operations.
  • the apparatus 700 is configured to execute the actions performed by the first network element (such as UPF, or RAN) in each method embodiment above.
  • the first network element such as UPF, or RAN
  • the transceiver unit 710 is configured to obtain multi-flow information and a first preset value, where the multi-flow information includes a first cycle, wherein the apparatus 700 is a radio access network device or a user plane functional device; Within one cycle, if the processing unit 720 is configured to determine that the actual arrival time of the first data packet in the plurality of data streams is later than the first preset value, the transceiver unit is configured to discard data received within the first cycle Bag.
  • the transceiving unit 710 is configured to send indication information to the sending end device , the instruction information is used to instruct to retransmit the data packets of each data flow in the multiple data flows.
  • the transceiving unit 710 is configured to send indication information to the sender device, including: a processing unit 720 configured to generate a confirmation data packet; the transceiver unit 710 is configured to send the confirmation data packet to the sender device, and the confirmation The data packet is used to indicate to retransmit the data packet of each data flow in the plurality of data flows.
  • the apparatus 700 further includes: the apparatus 700 determines that the actual arrival time of the first data packet is earlier than or equal to the first preset value, and a processing unit 720 is configured to cache the first data packet.
  • the first preset value is the scheduled arrival time of the first data packet; or, the first preset value is the difference between the actual arrival time of the data packet of at least one of the multiple data streams and the expected arrival time. The sum of the time intervals between the arrival times of two data packets in the multiple data streams.
  • the multi-flow information further includes the size of the data packet of each data flow in the multiple data flows, and the scheduled arrival time of the data packet of each data flow in the multiple data flows;
  • the processing unit 720 is configured to Before determining the actual arrival time of the first data packet in the multiple data streams, the device 700 further includes: a processing unit 720, configured to pre-determine the data packets of each data stream in the multiple data streams according to the multi-stream information Allocating resources.
  • the transceiver unit 710 is configured to obtain multi-flow information, including: the transceiver unit 710 is configured to obtain the multi-flow information from any one or more of the following: control plane network element (such as SMF), the user plane function equipment, the wireless access network equipment.
  • control plane network element such as SMF
  • the user plane function equipment such as SMF
  • the wireless access network equipment such as SMF
  • the transceiver unit 710 is configured to obtain multi-flow information and a first preset value, where the multi-flow information includes a first period, wherein the apparatus 700 is a radio access network device or a user plane functional device; Within one cycle, if the processing unit 720 is configured to determine that the actual arrival time of the first data packet in the multiple data streams is later than the first preset value, the transceiver unit 710 is configured to send indication information to the sending end device, the indication information Packet used to instruct retransmission of each stream in multiple streams.
  • the transceiving unit 710 is configured to send indication information to the sender device, including: a processing unit 720 configured to generate a confirmation data packet; the transceiver unit 710 is configured to send the confirmation data packet to the sender device, and the confirmation The data packet is used to indicate to retransmit the data packet of each data flow in the plurality of data flows.
  • the apparatus 700 further includes: the apparatus 700 determines that the actual arrival time of the first data packet is earlier than or equal to the first preset value, and a processing unit 720 is configured to cache the first data packet.
  • the first preset value is the scheduled arrival time of the first data packet; or, the first preset value is the difference between the actual arrival time of the data packet of at least one of the multiple data streams and the expected arrival time. The sum of the time intervals between the arrival times of two data packets in the multiple data streams.
  • the multi-flow information further includes the size of the data packet of each data flow in the multiple data flows, and the scheduled arrival time of the data packet of each data flow in the multiple data flows;
  • the processing unit 720 is configured to Before determining the actual arrival time of the first data packet in the multiple data streams, the device 700 further includes: a processing unit 720, configured to pre-determine the data packets of each data stream in the multiple data streams according to the multi-stream information Allocating resources.
  • the transceiver unit 710 is configured to obtain multi-flow information, including: the transceiver unit 710 is configured to obtain the multi-flow information from any one or more of the following: control plane network element (such as SMF), the user plane function equipment, the wireless access network equipment.
  • control plane network element such as SMF
  • the user plane function equipment such as SMF
  • the wireless access network equipment such as SMF
  • the apparatus 700 can implement the steps or processes corresponding to the first network element (such as UPF, or RAN) in the method embodiment according to the embodiment of the present application, and the apparatus 700 can include a method for executing the A unit of the method executed by the first network element (such as UPF, or RAN) in any one of the illustrated embodiments.
  • the first network element such as UPF, or RAN
  • the apparatus 700 is configured to perform actions performed by a control plane network element (such as an SMF) in each of the above method embodiments.
  • a control plane network element such as an SMF
  • the processing unit 720 is configured to determine a first rule, where the first rule is that the actual arrival time of a data packet in at least one of the multiple data streams is different from the preset time of arrival in the multiple data streams. The sum of the time intervals between the arrival times of two data packets; the transceiver unit 710, configured to send the first rule to the first network element, where the first network element is a radio access network device or a user plane functional device.
  • the transceiver unit 710 is configured to obtain multi-stream information, where the multi-stream information includes one or more of the following information: first period, size of data packets of each data stream in multiple data streams, multiple The scheduled arrival time of the data packets of each data flow in the three data flows, the preset time interval between the arrival times of two data packets in the plurality of data flows; the processing unit 720 is used to determine the first rule, including: The processing unit 720 is configured to determine the first rule according to the multi-flow information.
  • the transceiver unit 710 configured to send multi-flow information to the first network element (such as UPF, and RAN), includes: a processing unit 720, configured to determine the number of packets of each data flow in the first period The maximum value of the size; when the maximum value is less than or equal to the resource size of the first network element (such as UPF, such as RAN again), the transceiver unit 710 is used to send multi-flow to the first network element (such as UPF, such as RAN again) information.
  • the first network element such as UPF, and RAN
  • the transceiver unit 710 includes: a processing unit 720, configured to determine the number of packets of each data flow in the first period The maximum value of the size; when the maximum value is less than or equal to the resource size of the first network element (such as UPF, such as RAN again), the transceiver unit 710 is used to send multi-flow to the first network element (such as UPF, such as RAN again) information.
  • the processing unit 720 is configured to obtain the multi-flow information, including: obtaining the multi-flow information from any one or more of the following: application function devices, radio access network devices, and user plane function devices.
  • the apparatus 700 may implement the steps or processes corresponding to the execution of the control plane network element (such as the SMF) in the method embodiment according to the embodiment of the present application.
  • the apparatus 700 may include a unit for executing the method performed by the control plane network element (such as the SMF) in any one of the embodiments shown in FIG. 2 to FIG. 6 .
  • unit here may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor for executing one or more software or firmware programs (such as a shared processor, a dedicated processor, or a group processor, etc.) and memory, incorporated logic, and/or other suitable components to support the described functionality.
  • ASIC application specific integrated circuit
  • processor for executing one or more software or firmware programs (such as a shared processor, a dedicated processor, or a group processor, etc.) and memory, incorporated logic, and/or other suitable components to support the described functionality.
  • the device 700 may specifically be the first network element (such as UPF, such as RAN) or the control plane network element (such as SMF) in the above embodiments, and may be used to execute In order to avoid repetition, the various processes and/or steps corresponding to the first network element (such as UPF, such as RAN) or the control plane network element (such as SMF) in the above method embodiments are not repeated here.
  • the first network element such as UPF, such as RAN
  • the control plane network element such as SMF
  • the apparatus 700 in each of the above solutions has the function of implementing the corresponding steps performed by the first network element (such as UPF, or RAN) or the control plane network element (such as SMF) in the above methods.
  • the functions described above can be realized by hardware, or can be realized by executing corresponding software by hardware.
  • the hardware or software includes one or more modules corresponding to the above functions; for example, the transceiver unit can be replaced by a transceiver (for example, the sending unit in the transceiver unit can be replaced by a transmitter, and the receiving unit in the transceiver unit can be replaced by a receiver computer), and other units, such as a processing unit, may be replaced by a processor to respectively perform the sending and receiving operations and related processing operations in each method embodiment.
  • the transceiver unit 710 may also be a transceiver circuit (for example, may include a receiving circuit and a sending circuit), and the processing unit may be a processing circuit.
  • the apparatus in FIG. 7 may be the network element or device in the foregoing embodiments, or may be a chip or a chip system, such as a system on chip (system on chip, SoC).
  • the transceiver unit may be an input-output circuit or a communication interface;
  • the processing unit is a processor or a microprocessor or an integrated circuit integrated on the chip. It is not limited here.
  • this embodiment of the present application provides another communication device 800 .
  • the device 800 includes a processor 810, the processor 810 is coupled with a memory 820, the memory 820 is used for storing computer programs or instructions and/or data, and the processor 810 is used for executing the computer programs or instructions stored in the memory 820, or reading the memory 820
  • the stored data is used to execute the methods in the above method embodiments.
  • processors 810 there are one or more processors 810 .
  • the memory 820 is integrated with the processor 810, or is set separately.
  • the apparatus 800 further includes a transceiver 830 , and the transceiver 830 is used for receiving and/or sending signals.
  • the processor 810 is configured to control the transceiver 830 to receive and/or send signals.
  • the apparatus 800 is used to implement the operations performed by the first network element (such as UPF, or RAN) or the control plane network element (such as SMF) in the above method embodiments.
  • the first network element such as UPF, or RAN
  • the control plane network element such as SMF
  • the processor 810 is configured to execute the computer programs or instructions stored in the memory 820, so as to implement related operations of the first network element (such as UPF, or RAN) in each method embodiment above.
  • the method performed by the first network element such as UPF, or RAN in any one of the embodiments shown in FIG. 2 to FIG. 6 .
  • processors mentioned in the embodiment of the present application may be a central processing unit (central processing unit, CPU), and may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits ( application specific integrated circuit (ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the like.
  • the memory mentioned in the embodiments of the present application may be a volatile memory and/or a nonvolatile memory.
  • the non-volatile memory can be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically programmable Erases programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM).
  • RAM random access memory
  • RAM can be used as an external cache.
  • RAM includes the following multiple forms: static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), Double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and direct Memory bus random access memory (direct rambus RAM, DR RAM).
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components
  • the memory storage module may be integrated in the processor.
  • memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.
  • an embodiment of the present application provides a chip system 900 .
  • the chip system 900 (or also called a processing system) includes a logic circuit 910 and an input/output interface (input/output interface) 920 .
  • the logic circuit 910 may be a processing circuit in the chip system 900 .
  • the logic circuit 910 may be coupled to the storage unit, and invoke instructions in the storage unit, so that the chip system 900 can implement the methods and functions of the various embodiments of the present application.
  • the input/output interface 920 may be an input/output circuit in the chip system 900, which outputs information processed by the chip system 900, or inputs data or signaling information to be processed into the chip system 900 for processing.
  • the chip system 900 is used to implement the operations performed by the first network element (such as the UPF, or RAN) or the control plane network element (such as the SMF) in the various method embodiments above.
  • the first network element such as the UPF, or RAN
  • the control plane network element such as the SMF
  • the logic circuit 910 is used to implement the processing-related operations performed by the first network element (such as UPF, or RAN) in the above method embodiments, and the first network element in any one of the embodiments shown in FIG. 2 to FIG. 6
  • a processing-related operation performed by a network element such as UPF, such as RAN
  • the input/output interface 920 is used to implement the sending and/or performed by the first network element (such as UPF, such as RAN) in the above method embodiment
  • receive-related operations such as sending and/or receiving-related operations performed by the first network element (such as UPF, or RAN) in any one of the embodiments shown in FIG. 2 to FIG. 6 .
  • the embodiment of the present application also provides a computer-readable storage medium, on which is stored the information used to implement the above methods executed by the first network element (such as UPF, or RAN) or the control plane network element (such as SMF) Method computer instructions.
  • the first network element such as UPF, or RAN
  • the control plane network element such as SMF
  • the computer program when executed by a computer, the computer can implement the methods performed by the first network element (such as UPF, or RAN) in each embodiment of the foregoing method.
  • the first network element such as UPF, or RAN
  • the embodiment of the present application also provides a computer program product, which includes instructions, and when the instructions are executed by a computer, the first network element (such as UPF, or RAN) or the control plane network element (such as SMF) in the above method embodiments can be implemented. ) method to execute.
  • the first network element such as UPF, or RAN
  • the control plane network element such as SMF
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • all or part may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer may be a personal computer, a server, or a network device and the like.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available media can be magnetic media (for example, floppy disk, hard disk, magnetic tape), optical media (for example, DVD), or semiconductor media (for example, solid state disk (solid state disk, SSD) etc.
  • the aforementioned available media include but Not limited to: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例提供了多流同步的方法和装置,该方法包括:第一网元获取多流信息和第一预设值,该多流信息包括第一周期,其中,该第一网元为无线接入网设备或用户面功能设备;在该第一周期内,若该第一网元确定多个数据流中的第一数据包的实际到达时间晚于该第一预设值,该第一网元丢弃在该第一周期内已接收到的数据包。通过本申请,不仅可以对数据包的异常情况快速做出反馈,还可以避免第一网元将第一周期内未实现多流同步的多个数据包发送至接收端设备带来的信令开销,以及节省接收端设备的存储资源。

Description

一种多流同步的方法和装置
本申请要求于2022年01月30日提交中国专利局、申请号为202210114432.X、申请名称为“一种多流同步的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,并且更具体地,涉及一种多流同步的方法和装置。
背景技术
在某些应用场景中,如第五代移动通信系统(the 5th generation mobile communication system,5GS)时期的诸多应用场景中,同一业务会产生多条互相关联的数据流。例如,在增强现实(augmented reality,AR)应用中,AR画面中的背景会产生一个数据流,AR添加的前景的虚拟画面也会产生一个数据流;再例如,在高清的360度全景视频传输中,360度的视频帧被拆分成不同部分,每一部分生成一个数据流。对于同一业务而言,多个数据流中的部分数据流可能无法实现多流同步,从而可能导致该业务不能正常运作,既影响了用户的正常使用,又浪费了网络带宽。
在现有技术中,同一业务的多流同步是在接收端设备处实现的。具体地,接收端设备收到部分数据流的数据包后,先缓存该部分数据流的数据包,待收到全部数据流的数据包后,该业务便能够正常运作。然而该方式需要消耗接收端设备大量的存储资源,并且对数据流的丢包、拥塞等异常情况可能无法快速做出反馈。
发明内容
本申请提供一种多流同步的方法和装置,可以减少接收端设备存储资源的消耗,并且可以对数据流的丢包、拥塞等异常情况快速做出反馈。
第一方面,提供了一种多流同步的方法,该方法可以由第一网元执行,或,也可以由第一网元的组成部件(例如芯片或电路)执行,对此不做限定。为了便于描述,下面以由第一网元执行为例进行说明。
该方法可以包括:第一网元获取多流信息和第一预设值,该多流信息包括第一周期,其中,该第一网元为无线接入网设备或用户面功能设备;在该第一周期内,若该第一网元确定多个数据流中的第一数据包的实际到达时间晚于该第一预设值,该第一网元丢弃在该第一周期内已接收到的数据包。
基于上述技术方案,第一网元(例如无线接入网设备、再例如用户面功能设备)可以根据数据包的传输情况,对第一周期内已经接收到的且未能实现多流同步的多个数据包作丢弃处理。例如,若多个数据流中的第一数据包的实际到达时间晚于第一预设值,则第一网元丢弃在第一周期内已接收到的数据包。通过该方式,不仅可以对数据包的异常情况快速做出反馈,如更快对丢包作出响应,还可以避免第一网元将第一周期内未实现多流同步 的多个数据包发送至接收端设备带来的信令开销。此外,相比于多个数据包在接收端设备进行多流同步的判断,通过上述技术方案,在第一网元处进行多流同步的判断,可以节省接收端设备的存储资源,进而减少接收端存储资源的浪费。
结合第一方面,在第一方面的某些实现方式中,响应于该第一网元确定该多个数据流中的第一数据包的实际到达时间晚于该第一预设值,该第一网元向发送端设备发送指示信息,该指示信息用于指示重传该多个数据流中每个数据流的数据包。
基于上述技术方案,第一网元确定第一周期内的多个数据包无法实现多流同步时,可以请求发送端设备重传该多个数据流中每个数据流的数据包,从而可以更快对丢包作出响应。
结合第一方面,在第一方面的某些实现方式中,该第一网元向发送端设备发送指示信息,包括:该第一网元生成确认数据包;该第一网元向该发送端设备发送该确认数据包,该确认数据包用于指示重传该多个数据流中每个数据流的数据包。
结合第一方面,在第一方面的某些实现方式中,该第一网元确定该第一数据包的实际到达时间早于或等于该第一预设值,该第一网元缓存该第一数据包。
结合第一方面,在第一方面的某些实现方式中,该第一预设值为该第一数据包的预定到达时间;或,该第一预设值为该多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
结合第一方面,在第一方面的某些实现方式中,该多流信息还包括该多个数据流中每个数据流的数据包的大小、该多个数据流中每个数据流的数据包的预定到达时间;该第一网元确定该多个数据流中的第一数据包的实际到达时间之前,该方法还包括:该第一网元根据该多流信息,为该多个数据流中每个数据流的数据包预分配资源。
结合第一方面,在第一方面的某些实现方式中,该第一网元获取多流信息,包括:该第一网元从以下任意一项或多项获取该多流信息:控制面网元、该用户面功能设备、该无线接入网设备。
第二方面,提供了一种多流同步的方法,包括:第一网元获取多流信息和第一预设值,该多流信息包括第一周期,其中,该第一网元为无线接入网设备或用户面功能设备;在该第一周期内,若该第一网元确定多个数据流中的第一数据包的实际到达时间晚于该第一预设值,该第一网元向发送端设备发送指示信息,该指示信息用于指示重传该多个数据流中每个数据流的数据包。
基于上述技术方案,第一网元(例如无线接入网设备、又例如用户面功能设备)确定第一周期内的多个数据包无法实现多流同步时,可以请求发送端设备重传该多个数据流中每个数据流的数据包。例如,若多个数据流中的第一数据包的实际到达时间晚于第一预设值,则第一网元向发送端设备发送指示信息,该指示信息用于指示重传多个数据流中每个数据流的数据包。通过该方式,可以对数据包的异常情况快速做出反馈,如更快对丢包作出响应。此外,相比于多个数据包在接收端设备进行多流同步的判断,通过上述技术方案,在第一网元处进行多流同步的判断,可以节省接收端设备的存储资源,进而减少接收端存储资源的浪费。
结合第二方面,在第二方面的某些实现方式中,该第一网元向发送端设备发送指示信息,包括:该第一网元生成确认数据包;该第一网元向该发送端设备发送该确认数据包,该确认数据包用于指示重传该多个数据流中每个数据流的数据包。
结合第二方面,在第二方面的某些实现方式中,该第一网元确定该第一数据包的实际到达时间早于或等于该第一预设值,该第一网元缓存该第一数据包。
结合第二方面,在第二方面的某些实现方式中,该第一预设值为该第一数据包的预定到达时间;或,该第一预设值为该多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
结合第二方面,在第二方面的某些实现方式中,该多流信息还包括该多个数据流中每个数据流的数据包的大小、该多个数据流中每个数据流的数据包的预定到达时间;该第一网元确定该多个数据流中的第一数据包的实际到达时间之前,该方法还包括:该第一网元根据该多流信息,为该多个数据流中每个数据流的数据包预分配资源。
结合第二方面,在第二方面的某些实现方式中,该第一网元获取多流信息,包括:该第一网元从以下任意一项或多项获取该多流信息:控制面网元、该用户面功能设备、该无线接入网设备。
第三方面,提供了一种多流同步的方法,包括:控制面网元确定第一规则,其中,该第一规则为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和;该控制面网元向第一网元发送该第一规则,其中,该第一网元为无线接入网设备或用户面功能设备。
基于上述技术方案,控制面网元可以将确定的第一规则发送至第一网元(例如无线接入网设备、再例如用户面功能设备),使得第一网元可以利用控制面网元发送的第一规则确定多个数据流中每个数据流的数据包是否可以实现多流同步,进而使得第一网元可以对数据包的异常情况快速做出反馈,如更快对丢包作出响应,此外,相比于多个数据包在接收端设备进行多流同步的判断,通过上述技术方案,第一网元基于控制面网元发送的第一规则进行多流同步的判断,可以节省接收端设备的存储资源,进而减少接收端存储资源的浪费。
结合第三方面,在第三方面的某些实现方式中,该控制面网元获取多流信息,其中,该多流信息包括以下一项或多项信息:第一周期、该多个数据流中每个数据流的数据包的大小、该多个数据流中每个数据流的数据包的预定到达时间、预设的该多个数据流中两个数据包到达时间之间的时间间隔;该控制面网元确定第一规则,包括:该控制面网元根据该多流信息,确定该第一规则。
结合第三方面,在第三方面的某些实现方式中,该控制面网元向第一网元发送该多流信息,包括:该控制面网元确定在该第一周期内该每个数据流的数据包的大小的最大值;当该最大值小于或等于该第一网元的资源大小时,该控制面网元向该第一网元发送该多流信息。
结合第三方面,在第三方面的某些实现方式中,该控制面网元获取多流信息,包括:该控制面网元从以下任意一项或多项获取该多流信息:应用功能设备、该无线接入网设备、该用户面功能设备。
第四方面,提供了一种通信装置,包括:收发单元和处理单元,该收发单元,用于获取多流信息和第一预设值,该多流信息包括第一周期,其中,该装置为无线接入网设备或用户面功能设备;在该第一周期内,若该处理单元,用于确定多个数据流中的第一数据包的实际到达时间晚于该第一预设值,该收发单元,用于丢弃在该第一周期内已接收到的数据包。
结合第四方面,在第四方面的某些实现方式中,该装置还包括:响应于该处理单元,用于确定该多个数据流中的第一数据包的实际到达时间晚于该第一预设值,该收发单元,用于向发送端设备发送指示信息,该指示信息用于指示重传该多个数据流中每个数据流的数据包。
结合第四方面,在第四方面的某些实现方式中,该收发单元,用于向发送端设备发送指示信息,包括:该处理单元,用于生成确认数据包;该收发单元,用于向该发送端设备发送该确认数据包,该确认数据包用于指示重传该多个数据流中每个数据流的数据包。
结合第四方面,在第四方面的某些实现方式中,该装置还包括:该装置确定该第一数据包的实际到达时间早于或等于该第一预设值,该处理单元,用于缓存该第一数据包。
结合第四方面,在第四方面的某些实现方式中,该第一预设值为该第一数据包的预定到达时间;或,该第一预设值为该多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
结合第四方面,在第四方面的某些实现方式中,该多流信息还包括该多个数据流中每个数据流的数据包的大小、该多个数据流中每个数据流的数据包的预定到达时间;该处理单元,用于确定该多个数据流中的第一数据包的实际到达时间之前,该装置还包括:该处理单元,用于根据该多流信息,为该多个数据流中每个数据流的数据包预分配资源。
结合第四方面,在第四方面的某些实现方式中,该收发单元,用于获取多流信息,包括:该收发单元,用于从以下任意一项或多项获取该多流信息:控制面网元、该用户面功能设备、该无线接入网设备。
第五方面,提供了一种通信装置,包括:收发单元和处理单元,该收发单元,用于获取多流信息和第一预设值,该多流信息包括第一周期,其中,该装置为无线接入网设备或用户面功能设备;在该第一周期内,若该处理单元,用于确定多个数据流中的第一数据包的实际到达时间晚于该第一预设值,该收发单元,用于向发送端设备发送指示信息,该指示信息用于指示重传该多个数据流中每个数据流的数据包。
结合第五方面,在第五方面的某些实现方式中,该收发单元,用于向发送端设备发送指示信息,包括:该处理单元,用于生成确认数据包;该收发单元,用于向该发送端设备发送该确认数据包,该确认数据包用于指示重传该多个数据流中每个数据流的数据包。
结合第五方面,在第五方面的某些实现方式中,该装置还包括:该装置确定该第一数据包的实际到达时间早于或等于该第一预设值,该处理单元,用于缓存该第一数据包。
结合第五方面,在第五方面的某些实现方式中,该第一预设值为该第一数据包的预定到达时间;或,该第一预设值为该多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
结合第五方面,在第五方面的某些实现方式中,该多流信息还包括该多个数据流中每个数据流的数据包的大小、该多个数据流中每个数据流的数据包的预定到达时间;该处理单元,用于确定该多个数据流中的第一数据包的实际到达时间之前,该装置还包括:该处理单元,用于根据该多流信息,为该多个数据流中每个数据流的数据包预分配资源。
结合第五方面,在第五方面的某些实现方式中,该收发单元,用于获取多流信息,包括:该收发单元,用于从以下任意一项或多项获取该多流信息:控制面网元、该用户面功能设备、该无线接入网设备。
第六方面,提供了一种通信装置,包括:收发单元和处理单元,该处理单元,用于确 定第一规则,其中,该第一规则为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和;该收发单元,用于向第一网元发送该第一规则,其中,该第一网元为无线接入网设备或用户面功能设备。
结合第六方面,在第六方面的某些实现方式中,该收发单元,用于获取多流信息,其中,该多流信息包括以下一项或多项信息:第一周期、该多个数据流中每个数据流的数据包的大小、该多个数据流中每个数据流的数据包的预定到达时间、预设的该多个数据流中两个数据包到达时间之间的时间间隔;该处理单元,用于确定第一规则,包括:该处理单元,用于根据该多流信息,确定该第一规则。
结合第六方面,在第六方面的某些实现方式中,该收发单元,用于向第一网元发送该多流信息,包括:该处理单元,用于确定在该第一周期内该每个数据流的数据包的大小的最大值;当该最大值小于或等于该第一网元的资源大小时,该收发单元,用于向该第一网元发送该多流信息。
结合第六方面,在第六方面的某些实现方式中,该处理单元,用于获取多流信息,包括:该装置从以下任意一项或多项获取该多流信息:应用功能设备、该无线接入网设备、该用户面功能设备。
第七方面,提供一种通信装置,该装置用于执行上述第一方面至第三方面任一种可能实现方式中的方法。具体地,该装置可以包括用于执行第一方面至第三方面任一种可能实现方式中的方法的单元和/或模块,如处理单元和/或收发单元。
在一种实现方式中,该装置为第一网元或控制面网元。当该装置为第一网元或控制面网元时,收发单元可以是收发器,或,输入/输出接口;处理单元可以是至少一个处理器。可选地,收发器可以为收发电路。可选地,输入/输出接口可以为输入/输出电路。
在另一种实现方式中,该装置为用于第一网元或控制面网元的芯片、芯片系统或电路。当该装置为用于第一网元或控制面网元的芯片、芯片系统或电路时,收发单元可以是该芯片、芯片系统或电路上的输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等;处理单元可以是至少一个处理器、处理电路或逻辑电路等。
第八方面,提供一种通信装置,该装置包括:至少一个处理器,用于执行存储器存储的计算机程序或指令,以执行上述第一方面至第三方面任一种可能实现方式中的方法。可选地,该装置还包括存储器,用于存储的计算机程序或指令。可选地,该装置还包括通信接口,处理器通过通信接口读取存储器存储的计算机程序或指令。
在一种实现方式中,该装置为第一网元或控制面网元。
在另一种实现方式中,该装置为用于第一网元或控制面网元的芯片、芯片系统或电路。
第九方面,本申请提供一种处理器,用于执行上述各方面提供的方法。
对于处理器所涉及的发送和获取/接收等操作,如果没有特殊说明,或,如果未与其在相关描述中的实际作用或内在逻辑相抵触,则可以理解为处理器输出和接收、输入等操作,也可以理解为由射频电路和天线所进行的发送和接收操作,本申请对此不做限定。
第十方面,提供一种计算机可读存储介质,该计算机可读介质存储用于设备执行的程序代码,该程序代码包括用于执行上述第一方面至第三方面任一种可能实现方式中的方法。
第十一方面,提供一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述第一方面至第三方面任一种可能实现方式中的方法。
附图说明
图1示出了应用于本申请实施例的一种网络架构示意图。
图2示出了本申请实施例提供的一种多流同步的方法200的示意图。
图3示出了本申请实施例提供的一种多流同步的方法300的流程图。
图4示出了本申请实施例提供的一种多流同步的方法400的示意性流程图。
图5示出了本申请实施例提供的又一种多流同步的方法500的示意性流程图。
图6示出了本申请实施例提供的又一种多流同步的方法600的示意性流程图。
图7示出了本申请实施例提供的一种通信装置700的示意性框图。
图8示出了本申请实施例提供的另一种通信装置800的示意性框图。
图9示出了本申请实施例提供的一种芯片系统900的示意图。
具体实施方式
下面将结合附图,对本申请实施例中的技术方案进行描述。
本申请实施例的技术方案可以应用于各种通信系统,例如:第五代(5th generation,5G)或新无线(new radio,NR)系统、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)系统等。本申请提供的技术方案还可以应用于未来的通信系统,如第六代移动通信系统。本申请提供的技术方案还可以应用于设备到设备(device to device,D2D)通信,车到万物(vehicle-to-everything,V2X)通信,机器到机器(machine to machine,M2M)通信,机器类型通信(machine type communication,MTC),以及物联网(internet of things,IoT)通信系统或其他通信系统。
首先结合图1简单介绍适用于本申请实施例的网络架构,如下。
如图1所示,该网络架构以5GS为例。该网络架构可以包括但不限于:接入和移动性管理功能(access and mobility management function,AMF)设备、统一数据管理(unified data management,UDM)设备、无线接入网(radio access network,RAN)设备、策略控制功能(policy control function,PCF)设备、用户设备(user equipment,UE)设备、用户面功能(user plane function,UPF)设备、数据网络(data network,DN)设备、鉴权服务功能(authentication server function,AUSF)设备、网络切片选择功能(network slice selection function,NSSF)设备、应用功能(application function,AF)设备、会话管理功能(session management function,SMF)设备、能力开放功能(network exposure function,NEF)设备、网络存储功能(network repository function,NRF)设备等等。
图1所示的各网元(或设备)的主要功能描述如下:
1、UE:可以称终端设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。
终端设备可以是一种向用户提供语音/数据的设备,例如,具有无线连接功能的手持式设备、车载设备等。目前,一些终端的举例为:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote  medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、可穿戴设备,5G网络中的终端设备或未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等,本申请实施例对此并不限定。
作为示例而非限定,在本申请实施例中,该终端设备还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。
此外,在本申请实施例中,终端设备还可以是IoT系统中的终端设备,IoT是未来信息技术发展的重要组成部分,其主要技术特点是将物品通过通信技术与网络连接,从而实现人机互连,物物互连的智能化网络。
需要指出的是,终端设备与接入网设备之间可以采用某种空口技术(如NR或LTE技术等)相互通信。终端设备与终端设备之间也可以采用某种空口技术(如NR或LTE技术等)相互通信。
本申请实施例中,用于实现终端设备的功能的装置可以是终端设备,也可以是能够支持终端设备实现该功能的装置,例如芯片系统或芯片,该装置可以被安装在终端设备中。本申请实施例中,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。
2、RAN:可以为特定区域的授权用户提供接入通信网络的功能,具体可以包括第三代合作伙伴计划(3rd generation partnership project,3GPP)网络中无线网络设备也可以包括非3GPP(non-3GPP)网络中的接入点。下文为方便描述采用AN设备表示。
AN设备可以为采用不同的无线接入技术。目前的无线接入技术有两种类型:3GPP接入技术(例如,第三代(3rd generation,3G)、第四代(4th generation,4G)或5G系统中采用的无线接入技术)和非3GPP(non-3GPP)接入技术。3GPP接入技术是指符合3GPP标准规范的接入技术,例如,5G系统中的接入网设备称为下一代基站节点(next generation Node Base station,gNB)或RAN设备。非3GPP接入技术可以包括以无线保真(wireless fidelity,WiFi)中的接入点(access point,AP)为代表的空口技术、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)、码分多址(code division multiple access,CDMA)等。AN设备可以允许终端设备和3GPP核心网之间采用非3GPP技术互连互通。
AN设备能够负责空口侧的无线资源管理、服务质量(quality of service,QoS)管理、数据压缩和加密等功能。AN设备为终端设备提供接入服务,进而完成控制信号和用户数据在终端设备和核心网之间的转发。
AN设备例如可以包括但不限于:宏基站、微基站(也称为小站)、无线网络控制器 (radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(baseband unit,BBU),WiFi系统中的AP、无线中继节点、无线回传节点、传输点(transmission point,TP)或发送接收点(transmission and reception point,TRP)等,还可以为5G(如,NR)系统中的gNB或传输点(TRP或TP),5G系统中的基站的一个或一组(包括多个天线面板)天线面板,或,还可以为构成gNB或传输点的网络节点,如分布式单元(distributed unit,DU),或下一代通信6G系统中的基站等。本申请实施例对AN设备所采用的具体技术和具体设备形态不做限定。
3、AMF:主要用于接入控制、移动性管理、附着与去附着等功能。接入管理网元还可作为N1信令(即N1接口的信令,为简洁,简称为N1信令)和N2信令(即N2接口的信令,为简洁,简称为N2信令)连接的锚点,为会话管理网元提供N1/N2会话管理(session management,SM)消息的路由。接入管理网元还可维护和管理UE的状态信息。
4、SMF:主要用于用户面功能设备选择,用户面功能设备重定向,终端设备的因特网协议(internet protocol,IP)地址分配,以及会话的建立、修改和释放及QoS控制。
5、UPF:主要用于用户面数据的接收和转发。例如,UPF可以从DN接收用户面数据,并通过AN设备将用户面数据发送给终端设备。UPF还可以通过AN设备从终端设备接收用户面数据,并转发到DN。
6、PCF:主要用于指导网络行为的统一策略框架,为控制面网元(例如AMF,SMF等)提供策略规则信息等。
7、AF:主要用于向3GPP网络提供业务,如与PCF之间交互以进行策略控制等。AF可以是第三方功能实体,也可以是运营商部署的应用服务,如IP多媒体子系统(IP multimedia subsystem,IMS)语音呼叫业务。在本申请中,多接入边缘计算(multi-access edge computing,MEC)平台或应用服务器可以作为AF与5G核心网进行通信。
8、UDM:主要用于UE的签约数据管理,包括UE标识的存储和管理,UE的接入授权等。
9、DN:主要用于为UE提供数据服务的运营商网络。例如,因特网(Internet)、第三方的业务网络、IP多媒体服务业务(IP multi-media service,IMS)网络等。
10、AUSF:主要用于用户鉴权等。
11、NSSF:主要用于根据UE的切片选择辅助信息、签约信息等确定UE允许接入的网络切片实例。
12、NEF:也可以称为网络开放设备、网络开放功能实体、网络开放功能网元、网络能力开放功能实体、网络能力开放功能设备、网络能力开放功能网元、网络能力开放设备等):主要用于支持能力和事件的开放,如用于安全地向外部开放由3GPP网络功能提供的业务和能力等。
13、NRF:也可以称为网络存储设备、网络存储功能网元、网络存储功能实体):主要用于支持服务发现功能。从一个网元功能或服务通信代理(service communication proxy,SCP)收到网元发现请求,并且可以予以反馈该网元发现请求信息。同时,NRF还用于负责维护可用网络功能的信息以及它们各自支持的服务。也可以理解为网络存储设备。其中,发现流程是由需求网元功能(network function,NF)借助NRF实现特定NF或特定服务寻址的过程,NRF提供相应NF实例或NF服务实例的IP地址或全限定域名(fully qualified  domain name,FQDN)或统一资源标识符(unified resource identifier,URI)。此外,NRF还可以通过提供网络标识(例如PLMN ID)实现跨PLMN的发现流程。为了实现网元功能的寻址发现,各个网元都需要在NRF中进行登记,一些网元功能可在首次运行时在NRF中进行登记。网络存储功能设备可以是核心网设备。
在图1所示的网络架构中,各网元之间可以通过图中所示的接口通信。如图1所示,UE和AMF之间可以通过N1接口进行通信。RAN和AMF之间可以通过N2接口进行通信。RAN和UPF之间可以通过N3接口进行通信。SMF和UPF之间可以通过N4接口进行通信。部分网元也可以采用服务化接口进行交互,例如,AMF对外提供的服务化接口可以为Namf。SMF对外提供的服务化接口可以为Nsmf。NEF对外提供的服务化接口可以为Nnef。NRF对外提供的服务化接口可以为Nnrf。AF对外提供的服务化接口可以为Naf。其他接口与各网元之间的关系如图1中所示,为了简洁,这里不一一详述。
应理解,图1所示的网络架构仅是示例性说明,适用本申请实施例的网络架构并不局限于此,任何能够实现上述各个网元的功能的网络架构都适用于本申请实施例。
还应理解,图1所示的各网元,如AMF、SMF、UPF、PCF、UDM、NSSF、AUSF等功能或网元,可以理解为用于实现不同功能的网元,例如可以按需组合成网络切片。这些网元可以各自独立的设备,也可以集成于同一设备中实现不同的功能,或可以是硬件设备中的网络元件,也可以是在专用硬件上运行的软件功能,或是平台(例如,云平台)上实例化的虚拟化功能,本申请对于上述网元的具体形态不做限定。
还应理解,上述命名仅为便于区分不同的功能而定义,不应对本申请构成任何限定。本申请并不排除在6G网络以及未来其它的网络中采用其他命名的可能。例如,在6G网络中,上述各个网元中的部分或全部可以沿用5G中的术语,也可能采用其他名称等。
在某些应用场景中,同一业务会产生多条互相关联的数据流,接收端只有接收到多个数据流的数据包,实现多流同步时,该业务才能才能够正常运作;然而该业务中的部分数据流的数据包可能会由于丢包、拥塞等异常情况而无法实现多流同步,从而导致该业务不能正常运作,既影响了用户的正常使用,又浪费了网络带宽。
例如,在增强现实(augmented reality,AR)应用中,AR画面中的背景会产生一个数据流,AR添加的前景的虚拟画面也会产生一个数据流。当AR画面中的背景产生的数据流与AR添加的前景的虚拟画面产生数据流实现多流同步时,用户才可以正常进行AR体验。再例如,在高清的360度全景视频传输中,360度的视频帧被拆分成不同部分,每一部分生成一个数据流,当拆分成不同部分的数据流的数据包实现多流同步时,才可以组合形成360度的画面。在这类应用场景下,部分数据流的数据包正常传输无法保证用户的正常使用,因此部分数据流的数据包正常传输是无效的,而且会占用网络带宽,造成资源的浪费。
在现有技术中,同一业务的多流同步是在接收端设备处实现的。具体地,接收端设备收到部分数据流的数据包后,先缓存该部分数据流的数据包,待收到全部数据流的数据包后,该业务便能够正常运作。然而,当部分数据流的数据包由于丢包、拥塞等异常情况使得接收端设备无法收到全部数据流的数据包时,会影响该业务的正常运作。接收端设备已经收到的正常传输的数据流的数据包就会占用接收端设备的存储资源,造成资源的浪费,此外,在接收端设备处进行多流同步的判断对数据流的丢包、拥塞等异常情况可能无法快速做出反馈。
鉴于上述技术问题,本申请提供了一种多流同步的方法,通过该方法,本申请可以更快对丢包作出响应,也可以避免在接收端设备占用大量的存储资源,造成接收端设备资源的浪费。
下面将结合附图详细说明本申请提供的各个实施例。
应理解,在本申请中实施例中,主要以数据包的到达时间(如预定到达时间、又如实际到达时间)相对于基准时间的偏移量为例进行示例性说明。例如,以二十四小时制为例,假设基准时间为8:00,包1实际到达网元或设备(例如无线接入网设备、再例如用户面功能设备)的时间为8:01,则包1的实际到达时间为60s(即1分钟)。
在下文实施例中,多次提及数据包的预定到达时间和数据包的实际到达时间。
其中,数据包的预定到达时间,表示数据包预定(或原本)到达网元或设备的时间。如数据包的预定到达时间为该数据包预定(或原本)到达用户面功能设备的时间,又如数据包的预定到达时间为该数据包预定(或原本)到达无线接入网设备的时间,又如数据包的预定到达时间为该数据包预定(或原本)到达其它网元或设备的时间,本申请实施例对此不予限制。
其中,数据包的实际到达时间,表示数据包实际到达网元或设备的时间。如数据包的实际到达时间为该数据包实际到达用户面功能设备的时间,又如数据包的实际到达时间为该数据包实际到达无线接入网设备的时间,又如数据包的实际到达时间为该数据包实际到达其它网元或设备的时间,本申请实施例对此不予限制。
应理解,数据包的预定到达时间不等同于数据包的实际到达时间,数据包的实际到达时间可能晚于该数据包的预定到达时间,也可能早于该数据包的预定到达时间,也可能等于该数据包的预定到达时间,本申请实施例对此不做限定。
图2示出了本申请实施例提供的一种多流同步的方法200的示意图。如图2所示,方法200可以包括如下步骤。
210,第一网元获取多流信息和第一预设值,该多流信息包括第一周期,其中,第一网元为无线接入网设备或用户面功能设备。
可选地,该多流信息还包括以下一项或多项信息:多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的该多个数据流中两个数据包到达时间之间的时间间隔。
可选地,在步骤210中,第一网元获取多流信息,包括:第一网元自身获取多流信息,或,第一网元接收多流信息。例如,第一网元通过深度报文检测(deep packet inspection,DPI)、机器学习等方式获取多流信息。再例如,当第一网元是用户面功能设备时,用户面功能设备可以从控制面网元或无线接入网设备接收多流信息。再例如,当第一网元是无线接入网设备时,无线接入网设备可以从控制面网元或用户面功能设备接收多流信息。
其中,控制面网元获取多流信息,可以包括:控制面网元接收来自应用功能设备的多流信息;或,控制面网元接收来自用户面功能设备自身获取的多流信息;或,控制面网元接收来自无线接入网设备自身获取的多流信息。本申请实施例对此不做限定。例如,控制面网元可以从应用功能设备获取到第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的该多个数据流中两个数据包到达时间之间的时间间隔。
可选地,第一网元接收来自控制面网元的第一规则,其中,该第一规则为多个数据流 中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
可选地,在步骤210中,第一网元获取第一预设值,包括:第一网元可以根据获取到的多流信息或者接收来自控制面网元的第一规则,确定第一预设值。例如,第一网元可以根据多个数据流中每个数据流的数据包的预定到达时间,或者接收来自控制面网元的第一规则,确定该第一预设值。
其中,该第一预设值可以为多个数据流中的第一数据包的预定到达时间;或,第一预设值为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的多个数据流中两个数据包到达时间之间的时间间隔的和。
基于上述技术方案,关于第一预设值的确定可以有以下三种方式。
方式#1:第一预设值为第一数据包的预定到达时间。
其中,第一数据包的预定到达时间可以为第一数据包的原预定到达时间与时间阈值之和。原预定到达时间,表示为第一数据包应该到达网元或设备的时间,或说预配置的到达网元或设备的时间。该时间阈值可以是协议预定义的,也可以是人为设定的,也可以是网络侧配置的,本申请实施例对此不作限定。时间阈值可以为0,也可以大于0。可以理解,当时间阈值等为0时,第一数据包的预定到达时间即为第一数据包的原预定到达时间;当时间阈值大于0时,第一数据包的预定到达时间大于第一数据包的原预定到达时间,此时该时间阈值可以理解为第一数据包在原预定到达时间内不能够到达网元或设备时新增加的一段时间。也就是说,通过时间阈值的设定,一个数据包的第一预设值可以在原预定到达时间的基础上进行一定范围的宽限,宽限后的时间即为最终的预定到达时间。
举例来说,包1的原预定到达时间为8s,时间阈值为2s,则包1的预定到达时间为10s(即包1的原预定到达时间8s与时间阈值2s的和)。
应理解,在第一周期内不同数据流的数据包的预定到达时间可以是不同的。
例如,假设有三个数据流,分别记为流1、流2、流3,在第一周期内每个数据流有一个数据包,即这三个数据流对应的数据包有三个,分别记为包1、包2、包3。包1的预定到达时间可以为10s,包2的预定到达时间可以为15s,包3的预定到达时间可以为25s。因此,在方式#1的情况下,包1的第一预设值为10s,包2的第一预设值为15s,包3的第一预设值为25s。
方式#2:第一预设值为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的多个数据流中两个数据包到达时间之间的时间间隔的和。
也就是说,在方式#2的情况下,对于第一周期内的多个数据流,每个数据流的数据包的第一预设值可以为:在该数据包之前到达的其它数据流的数据包中,其中一个数据包的实际到达时间与预设的多个数据流中两个数据包到达时间之间的时间间隔的和。应理解,对于第一周期内第一个到达网元或设备的数据包来说,在该数据包之前没有其它数据流的数据包已经到达网元或设备,因此第一个到达网元或设备的数据包的第一预设值可以根据方式#1确定。
举例来说,假设有三个数据流,分别记为流1、流2、流3,在第一周期内每个数据流有一个数据包,即这三个数据流对应的数据包有三个,分别记为包1、包2、包3。假设预设的两个数据包到达时间之间的时间间隔为5s。对于包2来说,假设包2到达网元或设备时,包1已经到达网元或设备,且包1的实际到达时间为8s,包3还未到达网元或设 备,此时在该方式下,包2的第一预设值可以是包1的实际到达时间与预设的多个数据流中两个数据包到达时间之间的时间间隔的和,即13s(包1的实际到达时间8s与时间间隔5s的和)。对于包3来说,假设包3到达网元或设备时,包1、包2已经到达网元或设备,且包1、包2的实际到达时间分别为8s、12s,此时在该方式下,包3的第一预设值可以是包1的实际到达时间与预设的多个数据流中两个数据包到达时间之间的时间间隔的和,即13s(包1的实际到达时间8s与时间间隔5s的和),也可以是包2的实际到达时间与预设的多个数据流中两个数据包到达时间之间的时间间隔的和,即17s(包2的实际到达时间12s与时间间隔5s的和)。
方式#3:通过方式#1和方式#2计算出两个第一预设值时,此时第一预设值可以取该两个第一预设值中的最小值。
举例来说,假设有两个数据流,分别记为流1、流2,在第一周期内每个数据流有一个数据包,即这两个数据流对应的数据包有两个,分别记为包1、包2。假设包1、包2的预定到达时间分别为10s、12s,预设的两个数据包到达时间之间的时间间隔为5s。假设包1为第一数据包,包2未到达网元或设备,则根据方式#1确定的包1的第一预设值为10s(即包1的预定到达时间),由于在包1之前没有其它数据流的数据包已经到达网元或设备,因此在方式#3下包1的第一预设值可以根据方式#1确定,即根据方式#3确定的包1的第一预设值为10s。假设包2为第一数据包,包1已到达网元或设备,且包1的实际到达时间为8s,则根据方式#1确定的包2对应的第一预设值为12s(即包2的预定到达时间),根据方式#2确定的包2的第一预设值可以是包1的实际到达时间与预设的两个数据包到达时间之间的时间间隔,即13s(包1的实际到达时间8s与时间间隔5s的和),则根据方式#3确定的包2的第一预设值为方式#1和方式#2中的最小值12s。
220,在第一周期内,若第一网元确定多个数据流中的第一数据包的实际到达时间晚于第一预设值,第一网元丢弃在第一周期内已接收到的数据包。
其中,第一数据包为恰好到达网元或设备的数据包。例如,假设有三个数据流,分别记为流1、流2、流3,在第一周期内每个数据流有一个数据包,即这三个数据流对应的数据包有三个,分别记为包1、包2、包3。包1已经被网元或设备缓存,包2恰好到达网元或设备,包3还未到达网元或设备,则此时第一数据包为包2。
可选地,第一网元确定第一数据包的实际到达时间早于或等于第一预设值,该第一网元缓存该第一数据包。
因此,在第一网元确定某个数据包的实际到达时间晚于该数据包对应的第一预设值前,第一网元可能已缓存在第一周期内已接收到的一个或多个数据包。而在第一网元确定某个数据包的实际到达时间晚于该数据包对应的第一预设值的情况下,第一网元可以丢弃在第一周期内已接收到的一个或多个数据包。
举例来说,假设有三个数据流,分别记为流1、流2、流3,在第一周期内每个数据流有一个数据包,即这三个数据流对应的数据包有三个,分别记为包1、包2、包3。在应用上述方式#1或方式#3确定第一预设值的场景中,假设包1、包2、包3的预定到达时间分别为10s、15s、20s。在应用上述方式#2或方式#3确定第一预设值的场景中,预设的两个数据包到达时间之间的时间间隔为5s。以下将结合具体例子描述第一网元对应不同时间到达的数据包的处理。
(1)假设包1为第一数据包,且包2、包3还未到达第一网元。根据方式#1确定的 包1的第一预设值为10s(包1的预定到达时间),由于在包1之前没有其它数据流的数据包已经到达第一网元,因此方式#3下确定的包1的第一预设值与根据方式#1确定的包1的第一预设值是相同的,即根据方式#3确定的包1的第一预设值为10s。若包1未在10s内到达,此时第一网元不再接收后续的包2和包3。若包1在10s内到达,此时第一网元缓存包1,并继续等待包2和包3的接收。例如,假设包1的实际到达时间为8s,此时包1的实际到达时间8s早于包1的第一预设值10s,第一网元缓存包1,并继续等待包2和包3的接收。
(2)假设包2为第一数据包,包1已被第一网元缓存,且包1的实际到达时间为8s,包3还未到达第一网元。根据方式#1确定的包2的第一预设值为15s(包2的预定到达时间),根据方式#2确定的包2的第一预设值可以为包1的实际到达时间与预设的两个数据包到达时间之间的时间间隔,即13s(包1的实际到达时间8s与时间间隔5s的和),根据方式#3确定的包2的第一预设值为方式#1和方式#2中的最小值13s。实际操作中,只需根据方式#1至方式#3中的一种方式确定第一预设值即可。若包2未在相应方式中确定的第一预设值内到达,此时第一网元丢弃已缓存的包1,并不再接收后续的包3。若包2在相应方式中确定的第一预设值内到达,此时第一网元进一步缓存包2,并继续等待包3的接收。
例如,包2的实际到达时间为14s。若根据方式#1确定的包2的第一预设值(15s),由于包2的实际到达时间早于第一预设值,此时第一网元缓存包2,并继续等待包3的接收。若根据方式#2或方式#3确定的包2的第一预设值(13s),由于包2的实际到达时间晚于第一预设值,此时第一网元丢弃已缓存的包1,并不再接收后续的包3。
(3)假设包3为第一数据包,包1、包2已被第一网元缓存,且包1、包2的实际到达时间分别为8s,12s。根据方式#1确定的包3的第一预设值为20s(包3的预定到达时间),根据方式#2确定的包3的第一预设值可以为包1的实际到达时间与预设的两个数据包到达时间之间的时间间隔,即13s(包1的实际到达时间8s与时间间隔5s的和),则根据方式#3确定的包3的第一预设值为方式#1和方式#2中的最小值13s。或者,根据方式#2确定的包3的第一预设值可以为包2的实际到达时间与预设的两个数据包到达时间之间的时间间隔,即17s(包2的实际到达时间12s与时间间隔5s的和),则根据方式#3确定的包3的第一预设值为方式#1和方式#2中的最小值17s。实际操作中,只需根据方式#1至方式#3中的一种方式确定第一预设值即可。若包3未在相应方式中确定的第一预设值内到达,此时第一网元丢弃已缓存的包1和包2。若包3在相应方式中确定的第一预设值内到达,此时第一网元将已缓存的包1、包2,以及包3发送至接收端设备。
假设根据方式#1确定的包3的第一预设值为20s(包3的预定到达时间)。根据方式#2或方式#3确定的包3的第一预设值为17s(包2的实际到达时间与预设的两个数据包到达时间之间的时间间隔)。例如,包3的实际到达时间为19s。若根据方式#1确定的包3的第一预设值(20s),由于包3的实际到达时间早于第一预设值,此时第一网元将已缓存的包1、包2,以及包3发送至接收端设备。若根据方式#2或方式#3确定的包3的第一预设值(17s),由于包3的实际到达时间晚于第一预设值,此时第一网元丢弃已缓存的包1和包2。
基于上述技术方案,第一网元(例如无线接入网设备、再例如用户面功能设备)可以根据数据包的传输情况,对第一周期内已经接收到的且未能实现多流同步的多个数据包作 丢弃处理。例如,若多个数据流中的第一数据包的实际到达时间晚于第一预设值,则第一网元丢弃在第一周期内已接收到的数据包。通过该方式,不仅可以对数据包的异常情况快速做出反馈,如更快对丢包作出响应,还可以避免第一网元将第一周期内未实现多流同步的多个数据包发送至接收端设备带来的信令开销。此外,相比于多个数据包在接收端设备进行多流同步的判断,通过上述技术方案,在第一网元处进行多流同步的判断,可以节省接收端设备的存储资源,进而减少接收端存储资源的浪费。
可选地,响应于第一网元确定多个数据流中的第一数据包的实际到达时间晚于第一预设值,该第一网元向发送端设备发送指示信息,该指示信息用于指示重传多个数据流中每个数据流的数据包。
其中,该第一网元向发送端设备发送指示信息,可以包括:该第一网元生成确认数据包;该第一网元向该发送端设备发送确认数据包,该确认数据包用于指示重传多个数据流中每个数据流的数据包。
可选地,当数据包的传输为上行传输时,第一网元可以是无线接入网设备,发送端设备可以是终端设备,接收端设备可以是数据网络设备;当数据包的传输为下行传输时,第一网元可以是用户面功能设备,发送端设备可以是数据网络设备,接收端设备可以是终端设备。
可选地,第一网元确定该多个数据流中的第一数据包的实际到达时间之前,该第一网元根据该多流信息,为多个数据流中每个数据流的数据包预分配资源。例如,用户面功能设备可以根据多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间,为多个数据流中每个数据流的数据包预分配缓存资源;再例如,无线接入网设备可以根据多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间,为多个数据流中每个数据流的数据包预分配空口资源。
图3示出了本申请实施例提供的一种多流同步的方法300的流程图。如图3所示,第一网元对在第一周期内已接收到的数据包的处理流程可以包括如下步骤。
301,第一网元在第一周期内接收来自发送端设备的第一数据包。
302,第一网元确定第一数据包的实际到达时间。
303,第一网元判断该实际到达时间是否晚于第一预设值。
若是,则执行步骤304或步骤305中的至少一项,若否,则执行步骤306。
应理解,第一预设值的设定,可以参考前面方式#1至方式#3的描述。也就是说,确定第一数据包的实际到达时间是否晚于第一预设值,可以确定第一数据包的实际到达时间是否晚于第一数据包的预定到达时间;也可以确定第一数据包的实际到达时间是否晚于多个数据流中的至少一个数据流的数据包的实际到达时间与预设的多个数据流中两个数据包到达时间之间的时间间隔的和。
304,第一网元丢弃在第一周期内已接收到的数据包。
第一网元丢弃在第一周期内已接收到的数据包后,不再接收在第一周期内未到达的其它数据包。
可选的,第一网元可以继续执行步骤305,指示终端设备重传第一周期内的多个数据流中每个数据流的数据包。
305,第一网元向发送端设备发送指示信息,该指示信息用于指示重传第一周期内的多个数据流中每个数据流的数据包。
还应理解,第一网元确定第一数据包的实际到达时间晚于第一预设值后,第一网元可以选择丢弃在第一周期内已接收到的数据包(即步骤304),也可以选择直接向发送端设备发送指示信息,指示终端设备重传第一周期内的多个数据流中每个数据流的数据包(即步骤305)。基于这两种处理方式,不仅可以对数据包的异常情况快速做出反馈,如更快对丢包作出响应,还可以避免第一网元将第一周期内未实现多流同步的多个数据包发送至接收端设备带来的信令开销。
306,第一网元缓存第一数据包。
307,第一网元判断第一数据包是否是第一周期内的最后一个数据包。
若是,则执行步骤308,若否,则执行步骤301,即,第一网元继续接收第一周期内的下一个数据包。
308,第一网元向接收端设备发送在第一周期内已接收到的数据包。
其中,在第一周期内已接收到的数据包包括已在第一网元缓存的一个或多个数据包。
基于步骤308,第一网元向接收端设备发送在第一周期内已接收到的数据包时,此时第一网元在第一周期内已接收到的数据包已经实现了多流同步,也就是说,多流同步的判断是在第一网元处进行的。相比于多个数据包在接收端设备进行多流同步的判断,在第一网元处进行多流同步的判断,可以节省接收端设备的存储资源,进而减少接收端存储资源的浪费。
为便于理解,下面结合图4至图6介绍适用于本申请实施例的可能的流程。图4至图6主要介绍用户面功能设备和无线接入网功能设备获取多流信息和第一规则,并基于获取到的多流信息或第一规则,确定第一预设值,进而根据该第一预设值确定是否向接收端设备发送数据包的可能的流程。其中,图4所示的方法400可以用于用户面功能设备和无线接入网功能设备接收来自控制面网元的多流信息和第一规则,并基于接收到的多流信息或第一规则,确定第一预设值,进而根据该第一预设值确定是否向接收端设备发送数据包。图5所示的方法500可以用于用户面功能设备自身获取多流信息,并将自身获取的多流信息发送至控制面网元;用户面功能设备接收来自控制面网元的第一规则,并根据自身获取的多流信息或控制面网元发送的第一规则,确定第一预设值,进而根据该第一预设值确定是否向接收端设备发送数据包;无线接入网设备接收来自用户面功能设备的多流信息和第一规则,并根据用户面功能设备发送的多流信息或第一规则,确定第一预设值,进而根据该第一预设值确定是否向接收端设备发送数据包。图6所示的方法600可以用于无线接入网设备自身获取多流信息,并将自身获取的多流信息发送至控制面网元;无线接入网设备接收来自控制面网元的第一规则,并根据自身获取的多流信息或控制面网元发送的第一规则,确定第一预设值,进而根据该第一预设值确定是否向接收端设备发送数据包;用户面功能设备接收来自无线接入网设备的多流信息和第一规则,并根据无线接入网设备发送的多流信息或第一规则,确定第一预设值,进而根据该第一预设值确定是否向接收端设备发送数据包。
图4示出了本申请实施例提供的一种多流同步的方法400的示意性流程图。该方法400可以包括如下步骤。
401,AF向CP发送多流信息。
其中,该多流信息可以包括以下一项或多项信息:第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的多个数据 流中两个数据包到达时间之间的时间间隔。
其中,数据包的预定到达时间可以包括:数据包预定到达UPF的时间、数据包预定到达RAN的时间。
402,CP接收多流信息,并根据多流信息,确定第一规则。
其中,该多流信息可以包括以下一项或多项信息:第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的多个数据流中两个数据包到达时间之间的时间间隔。
其中,该第一规则为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
可选地,CP确定在第一周期内每个数据流的数据包的大小的最大值;当该最大值小于或等于UPF的资源大小时,CP向UPF发送多流信息和第一规则。例如,SMF接收来自UPF的缓存资源大小,当第一周期内每个数据流的数据包的大小的最大值小于或等于UPF的缓存资源大小时,SMF可以通过N4*接口向UPF发送多流信息和第一规则。
可选地,CP确定在第一周期内每个数据流的数据包的大小的最大值;当该最大值小于或等于RAN的资源大小时,CP向RAN发送多流信息和第一规则。例如,SMF接收来自RAN的空口资源大小,当第一周期内每个数据流的数据包的大小的最大值小于或等于RAN的空口资源大小时,SMF可以通过N2*接口向RAN发送多流信息和第一规则。
可选地,该多流信息可以是SMF获取的,也可以是PCF或NEF获取的,PCF或NEF将该多流信息发送至SMF,本申请实施例对此不做限定。
403,CP向UPF发送多流信息和第一规则。
其中,该多流信息可以包括以下一项或多项信息:第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的多个数据流中两个数据包到达时间之间的时间间隔。其中,数据包的预定到达时间,表示数据包预定到达UPF的时间。
其中,该第一规则为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
404,CP向RAN发送多流信息和第一规则。
其中,该多流信息可以包括以下一项或多项信息:第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的多个数据流中两个数据包到达时间之间的时间间隔。其中,数据包的预定到达时间,表示数据包预定到达RAN的时间。
其中,该第一规则为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
应理解,步骤403与步骤404可以是同时发生的,也可以是不同时发生的,本申请实施例对此不作限定。例如,CP可以先向UPF发送多流信息和第一规则,再向RAN发送多流信息和第一规则;或,CP可以先向RAN发送多流信息和第一规则,再向UPF发送多流信息和第一规则;或,CP可以同时向UPF和RAN发送多流信息和第一规则。
还应理解,CP向UPF或RAN发送多流信息与第一规则的顺序并不限定。例如,CP可以向UPF或RAN同时发送多流信息和第一规则;再例如,CP可以向UPF或RAN先发送多流信息,再发送第一规则;再例如,CP可以向UPF或RAN先发送第一规则,再 发送多流信息。
405,UPF接收多流信息和第一规则,并根据多流信息或第一规则,确定第一预设值,进而确定是否发送数据包。
其中,该多流信息可以包括以下一项或多项信息:第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的多个数据流中两个数据包到达时间之间的时间间隔。其中,数据包的预定到达时间,表示数据包预定到达UPF的时间。
在第一周期内,若UPF确定多个数据流中的第一数据包的实际到达时间晚于第一预设值,UPF丢弃在第一周期内已接收到的数据包。其中,第一数据包为恰好到达UPF的数据包。关于第一数据包的示例性说明可参考步骤210中的描述,在此不再进行赘述。
可选地,UPF可以根据接收到的多流信息或第一规则,确定第一预设值。例如,UPF可以根据多个数据流中每个数据流的数据包的预定到达时间,或者接收来自CP的第一规则,确定该第一预设值。
其中,该第一预设值可以为多个数据流中的第一数据包的预定到达时间;或,第一预设值为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的多个数据流中两个数据包到达时间之间的时间间隔的和。
可选地,UPF确定第一数据包的实际到达时间早于或等于第一预设值,UPF缓存该第一数据包。
因此,在UPF确定某个数据包的实际到达时间晚于该数据包对应的第一预设值前,UPF可能已缓存在第一周期内已接收到的一个或多个数据包。而在UPF确定某个数据包的实际到达时间晚于该数据包对应的第一预设值的情况下,UPF可以丢弃在第一周期内已接收到的一个或多个数据包。
关于UPF确定是否发送数据包的示例性说明可参考步骤220中的描述,在此不再进行赘述。
可选地,响应于UPF确定多个数据流中的第一数据包的实际到达时间晚于第一预设值,UPF向发送端设备发送指示信息,该指示信息用于指示重传多个数据流中每个数据流的数据包。
其中,UPF向发送端设备发送指示信息,可以包括:UPF生成确认数据包;UPF向该发送端设备发送确认数据包,该确认数据包用于指示重传多个数据流中每个数据流的数据包。
可选地,UPF确定该多个数据流中的第一数据包的实际到达时间之前,UPF根据该多流信息,为多个数据流中每个数据流的数据包预分配资源。例如,UPF可以根据多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间,为多个数据流中每个数据流的数据包预分配缓存资源。
406,RAN接收多流信息和第一规则,并根据多流信息或第一规则,确定第一预设值,进而确定是否发送数据包。
其中,该多流信息可以包括以下一项或多项信息:第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的多个数据流中两个数据包到达时间之间的时间间隔。其中,数据包的预定到达时间,表示数据包预定(或原本)到达RAN的时间。
在第一周期内,若RAN确定多个数据流中的第一数据包的实际到达时间晚于第一预设值,RAN丢弃在第一周期内已接收到的数据包。其中,第一数据包为恰好到达RAN的数据包。关于第一数据包的示例性说明可参考步骤210中的描述,在此不再进行赘述。
可选地,RAN可以根据接收到的多流信息或第一规则,确定第一预设值。例如,RAN可以根据多个数据流中每个数据流的数据包的预定到达时间,或者接收来自CP的第一规则,确定该第一预设值。
其中,该第一预设值可以为多个数据流中的第一数据包的预定到达时间;或,第一预设值为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的多个数据流中两个数据包到达时间之间的时间间隔的和。
可选地,RAN确定第一数据包的实际到达时间早于或等于第一预设值,RAN缓存该第一数据包。
因此,在RAN确定某个数据包的实际到达时间晚于该数据包对应的第一预设值前,RAN可能已缓存在第一周期内已接收到的一个或多个数据包。而在RAN确定某个数据包的实际到达时间晚于该数据包对应的第一预设值的情况下,RAN可以丢弃在第一周期内已接收到的一个或多个数据包。
关于RAN确定是否发送数据包的示例性说明可参考步骤220中的描述,在此不再进行赘述。
可选地,响应于RAN确定多个数据流中的第一数据包的实际到达时间晚于第一预设值,RAN向发送端设备发送指示信息,该指示信息用于指示重传多个数据流中每个数据流的数据包。
其中,RAN向发送端设备发送指示信息,可以包括:RAN生成确认数据包;RAN向该发送端设备发送确认数据包,该确认数据包用于指示重传多个数据流中每个数据流的数据包。
可选地,该多流信息还包括多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间;RAN确定该多个数据流中的第一数据包的实际到达时间之前,RAN根据该多流信息,为多个数据流中每个数据流的数据包预分配资源。例如,RAN可以根据多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间,为多个数据流中每个数据流的数据包预分配空口资源。
基于上述技术方案,第一网元(例如RAN、再例如UPF)可根据数据包的传输情况,对第一周期内已经接收到的且未能实现多流同步的多个数据包作丢弃处理,同时也可以请求发送端设备重传该多个数据流中每个数据流的数据包。通过该方式,不仅可以对数据包的异常情况快速做出反馈,如更快对丢包作出响应,还可以避免第一网元将第一周期内未实现多流同步的多个数据包发送至接收端设备带来的信令开销。此外,相比于多个数据包在接收端设备进行多流同步的判断,通过上述技术方案,在第一网元处进行多流同步的判断,可以节省接收端设备的存储资源,进而减少接收端存储资源的浪费。
图5示出了本申请实施例提供的又一种多流同步的方法500的示意性流程图。该方法500可以包括如下步骤。
501,UPF向CP发送多流信息。
其中,该多流信息可以包括以下一项或多项信息:第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的多个数据 流中两个数据包到达时间之间的时间间隔。
示例性地,UPF可以通过DPI、机器学习等方式,自身获取第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的多个数据流中两个数据包到达时间之间的时间间隔。其中,UPF自身获取到的数据包的预定到达时间为数据包预定到达UPF的时间,UPF可以根据数据包预定到达UPF的时间,确定数据包预定到达RAN的时间。例如,当数据包为上行传输时,UPF可以通过计算数据包预定到达UPF的时间与包延迟预算的差值,确定数据包预定到达RAN的时间;当数据包为下行传输时,UPF可以通过计算数据包预定到达UPF的时间与包延迟预算的和,确定数据包预定到达RAN的时间,其中,包延迟预算可以是QoS流预定义的。
可选地,UPF向CP发送多流信息,包括:UPF获取多流信息,并将获取到的多流信息发送至CP,例如,UPF可以通过N4*接口将该多流信息发送至SMF。
502,CP接收多流信息,并根据多流信息,确定第一规则。
其中,该多流信息可以包括以下一项或多项信息:第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的多个数据流中两个数据包到达时间之间的时间间隔。
其中,该第一规则为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
可选地,CP确定在第一周期内每个数据流的数据包的大小的最大值;当该最大值小于或等于UPF的资源大小时,CP向UPF发送第一规则。例如,SMF接收来自UPF的缓存资源大小,当第一周期内每个数据流的数据包的大小的最大值小于或等于UPF的缓存资源大小时,SMF可以通过N4*接口向UPF发送第一规则。
可选地,该多流信息可以是SMF获取的,也可以是PCF或NEF获取的,PCF或NEF将该多流信息发送至SMF,本申请实施例对此不做限定。
503,CP向UPF发送第一规则。
其中,该第一规则为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
504,UPF向RAN发送多流信息和第一规则。
其中,该多流信息可以包括以下一项或多项信息:第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的多个数据流中两个数据包到达时间之间的时间间隔。其中,数据包的预定到达时间,表示数据包预定到达RAN的时间。
其中,该第一规则为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
应理解,UPF向RAN发送多流信息与第一规则的顺序并不限定。例如,UPF可以向RAN同时发送多流信息和第一规则;再例如,UPF可以向RAN先发送多流信息,再发送第一规则;再例如,UPF可以向RAN先发送第一规则,再发送多流信息。
可选地,UPF确定在第一周期内每个数据流的数据包的大小的最大值;当该最大值小于或等于RAN的资源大小时,UPF向RAN发送多流信息和第一规则。例如,UPF接收来自RAN的空口资源大小,当第一周期内每个数据流的数据包的大小的最大值小于或等于RAN的空口资源大小时,UPF可以通过N3*接口向RAN发送该多流信息和该第一规 则。
505,UPF接收第一规则,并根据多流信息或第一规则,确定第一预设值,进而确定是否发送数据包。
506,RAN接收多流信息和第一规则,并根据多流信息或第一规则,确定第一预设值,进而确定是否发送数据包。
关于步骤505和步骤506的说明可参考步骤405和406,在此不再进行赘述。
基于上述技术方案,第一网元(例如RAN、再例如UPF)可根据数据包的传输情况,对第一周期内已经接收到的且未能实现多流同步的多个数据包作丢弃处理,同时也可以请求发送端设备重传该多个数据流中每个数据流的数据包。通过该方式,不仅可以对数据包的异常情况快速做出反馈,如更快对丢包作出响应,还可以避免第一网元将第一周期内未实现多流同步的多个数据包发送至接收端设备带来的信令开销。此外,相比于多个数据包在接收端设备进行多流同步的判断,通过上述技术方案,在第一网元处进行多流同步的判断,可以节省接收端设备的存储资源,进而减少接收端存储资源的浪费。
图6示出了本申请实施例提供的又一种多流同步的方法600的示意性流程图。该方法600可以包括如下步骤。
601,RAN向CP发送多流信息。
其中,该多流信息可以包括以下一项或多项信息:第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的多个数据流中两个数据包到达时间之间的时间间隔。
示例性地,RAN可以通过DPI、机器学习等方式,自身获取第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的多个数据流中两个数据包到达时间之间的时间间隔。其中,RAN自身获取到的数据包的预定到达时间为数据包预定到达RAN的时间,RAN可以根据数据包预定到达RAN的时间,确定数据包预定到达UPF的时间。例如,当数据包为上行传输时,RAN可以通过计算数据包预定到达RAN的时间与包延迟预算的和,确定数据包预定到达UPF的时间;当数据包为下行传输时,RAN可以通过计算数据包预定到达RAN的时间与包延迟预算的差值,确定数据包预定到达UPF的时间,其中,包延迟预算可以是QoS流预定义的。
可选地,RAN向CP发送多流信息,包括:RAN获取多流信息,并将获取到的多流信息发送至CP,例如,RAN可以通过N2*接口将该多流信息发送至SMF。
602,CP接收多流信息,并根据多流信息,确定第一规则。
其中,该多流信息可以包括以下一项或多项信息:第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的多个数据流中两个数据包到达时间之间的时间间隔。
其中,该第一规则为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
可选地,CP确定在第一周期内每个数据流的数据包的大小的最大值;当该最大值小于或等于RAN的资源大小时,CP向RAN发送第一规则。例如,SMF接收来自RAN的空口资源大小,当第一周期内每个数据流的数据包的大小的最大值小于或等于RAN的空口资源大小时,SMF可以通过N2*接口向RAN发送该第一规则。
可选地,该多流信息可以是SMF获取的,也可以是PCF或NEF获取的,PCF或NEF 将该多流信息发送至SMF,本申请实施例对此不做限定。
603,CP向RAN发送第一规则。
其中,该第一规则为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
604,RAN向UPF发送多流信息和第一规则。
其中,该多流信息可以包括以下一项或多项信息:第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的多个数据流中两个数据包到达时间之间的时间间隔。其中,数据包的预定到达时间,表示数据包预定到达RAN的时间。
其中,该第一规则为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
应理解,RAN向UPF发送多流信息与第一规则的顺序并不限定。例如,RAN可以向UPF同时发送多流信息和第一规则;再例如,RAN可以向UPF先发送多流信息,再发送第一规则;再例如,RAN可以向UPF先发送第一规则,再发送多流信息。
可选地,RAN确定在第一周期内每个数据流的数据包的大小的最大值;当该最大值小于或等于RAN的资源大小时,RAN向UPF发送多流信息和第一规则。例如,RAN接收来自UPF的缓存资源大小,当第一周期内每个数据流的数据包的大小的最大值小于或等于UPF的缓存资源大小时,RAN可以通过N3*接口向UPF发送该多流信息和该第一规则。
605,UPF接收多流信息和第一规则,并根据多流信息或第一规则,确定第一预设值,进而确定是否发送数据包。
606,RAN接收第一规则,并根据多流信息或第一规则,确定第一预设值,进而确定是否发送数据包。
关于步骤605和步骤606的说明可参考步骤405和406,在此不再进行赘述。
基于上述技术方案,第一网元(例如RAN、再例如UPF)可根据数据包的传输情况,对第一周期内已经接收到的且未能实现多流同步的多个数据包作丢弃处理,同时也可以请求发送端设备重传该多个数据流中每个数据流的数据包。通过该方式,不仅可以对数据包的异常情况快速做出反馈,如更快对丢包作出响应,还可以避免第一网元将第一周期内未实现多流同步的多个数据包发送至接收端设备带来的信令开销。此外,相比于多个数据包在接收端设备进行多流同步的判断,通过上述技术方案,在第一网元处进行多流同步的判断,可以节省接收端设备的存储资源,进而减少接收端存储资源的浪费。
可以理解,本申请实施例中的图4至图6中的例子仅仅是为了便于本领域技术人员理解本申请实施例,并非要将本申请实施例限于例示的具体场景。本领域技术人员根据图4至图6的例子,显然可以进行各种等价的修改或变化,这样的修改或变化也落入本申请实施例的范围内。例如,多流信息中的第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的多个数据流中两个数据包到达时间之间的时间间隔可以是AF获取的,也可以是UPF获取的,也可以是RAN获取的,CP获取的多流信息(例如第一周期,再例如多个数据流中每个数据流的数据包的大小)可以是来自AF的,也可以是来自UPF的,也可以是来自RAN的;UPF获取的多流信息(例如第一周期,再例如多个数据流中每个数据流的数据包的大小)可以是来自CP的, 也可以是来自RAN的,也可以是UPF自身获取的;RAN获取的多流信息(例如第一周期,再例如多个数据流中每个数据流的数据包的大小)可以是来自CP的,也可以是来自UPF的,也可以是RAN自身获取的。
还可以理解,本申请实施例中N2*接口、N3*接口、N4*接口的命名仅为便于区分不同的接口而定义,不应对本申请构成任何限定。本申请并不排除采用其他命名的可能。
还可以理解,本申请的各实施例中的一些可选的特征,在某些场景下,可以不依赖于其他特征,也可以在某些场景下,与其他特征进行结合,不做限定。
还可以理解,本申请的各实施例中的方案可以进行合理的组合使用,并且实施例中出现的各个术语的解释或说明可以在各个实施例中互相参考或解释,对此不做限定。
还可以理解,在本申请的各实施例中的各种数字序号的大小并不意味着执行顺序的先后,仅为描述方便进行的区分,不应对本申请实施例的实施过程构成任何限定。
还可以理解,在本申请的各实施例中涉及到消息名称,如多流信息,应理解,其命名不对本申请实施例的保护范围造成限定。
还可以理解,在上述一些实施例中,主要以无线接入网(radio access network,RAN)设备、用户面功能(user plane function,UPF)设备、数据网络(data network,DN)设备、用户设备(user equipment,UE)、应用功能(application function,AF)设备、会话管理功能(session management function,SMF)设备为例进行了示例性说明,本申请不限于此,任何可以实现RAN的设备,或任何可以实现UPF的网元,或任何可以实现DN的网元,或任何可以实现UE的设备,或任何可以实现AF的网元,或任何可以实现SMF的网元,都适用于本申请。
还可以理解,上述各个方法实施例中,由设备或网元(如无线接入网设备,又如用户面功能设备)实现的方法和操作,也可以由设备或网元的组成部件(例如芯片或电路)来实现。
相应于上述各方法实施例给出的方法,本申请实施例还提供了相应的装置,该装置包括用于执行上述各个方法实施例相应的模块。该模块可以是软件,也可以是硬件,或是软件和硬件结合。可以理解的是,上述各方法实施例所描述的技术特征同样适用于以下装置实施例。
图7是本申请实施例提供的一种通信装置的示意性框图。该装置700包括收发单元710,收发单元710可以用于实现相应的通信功能。收发单元710还可以称为通信接口或通信单元。
可选地,该装置700还可以包括处理单元720,处理单元720可以用于实现相应的处理功能,如确定多个数据流中的第一数据包的实际到达时间晚于第一预设值。
可选地,该装置700还包括存储单元,该存储单元可以用于存储指令和/或数据,处理单元720可以读取存储单元中的指令和/或数据,以使得装置实现前述各个方法实施例中的第一网元(如UPF,又如RAN)或控制面网元(如SMF)的动作。
该装置700可以用于执行上文各个方法实施例中第一网元(如UPF,又如RAN)或控制面网元(如SMF)所执行的动作,这时,该装置700可以为第一网元(如UPF,又如RAN)或第一网元(如UPF,又如RAN)的组成部件,也可以为控制面网元(如SMF)或控制面网元(如SMF)的组成部件,收发单元710用于执行上文方法实施例中第一网元(如UPF,又如RAN)或控制面网元(如SMF)的收发相关的操作,处理单元720用 于执行上文方法实施例中第一网元(如UPF,又如RAN)或控制面网元(如SMF)的处理相关的操作。
作为一种设计,该装置700用于执行上文各个方法实施例中第一网元(如UPF,又如RAN)所执行的动作。
一种可能的实现方式,收发单元710,用于获取多流信息和第一预设值,多流信息包括第一周期,其中,装置700为无线接入网设备或用户面功能设备;在第一周期内,若处理单元720,用于确定多个数据流中的第一数据包的实际到达时间晚于第一预设值,收发单元,用于丢弃在第一周期内已接收到的数据包。
可选地,响应于处理单元720,用于确定该多个数据流中的第一数据包的实际到达时间晚于该第一预设值,收发单元710,用于向发送端设备发送指示信息,该指示信息用于指示重传该多个数据流中每个数据流的数据包。
可选地,收发单元710,用于向发送端设备发送指示信息,包括:处理单元720,用于生成确认数据包;收发单元710,用于向该发送端设备发送该确认数据包,该确认数据包用于指示重传该多个数据流中每个数据流的数据包。
可选地,装置700还包括:装置700确定该第一数据包的实际到达时间早于或等于该第一预设值,处理单元720,用于缓存该第一数据包。
可选地,该第一预设值为该第一数据包的预定到达时间;或,该第一预设值为该多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
可选地,该多流信息还包括该多个数据流中每个数据流的数据包的大小、该多个数据流中每个数据流的数据包的预定到达时间;处理单元720,用于确定该多个数据流中的第一数据包的实际到达时间之前,装置700还包括:处理单元720,用于根据该多流信息,为该多个数据流中每个数据流的数据包预分配资源。
可选地,收发单元710,用于获取多流信息,包括:收发单元710,用于从以下任意一项或多项获取该多流信息:控制面网元(如SMF)、该用户面功能设备、该无线接入网设备。
另一种可能的方式,收发单元710,用于获取多流信息和第一预设值,多流信息包括第一周期,其中,装置700为无线接入网设备或用户面功能设备;在第一周期内,若处理单元720,用于确定多个数据流中的第一数据包的实际到达时间晚于第一预设值,收发单元710,用于向发送端设备发送指示信息,指示信息用于指示重传多个数据流中每个数据流的数据包。
可选地,收发单元710,用于向发送端设备发送指示信息,包括:处理单元720,用于生成确认数据包;收发单元710,用于向该发送端设备发送该确认数据包,该确认数据包用于指示重传该多个数据流中每个数据流的数据包。
可选地,装置700还包括:装置700确定该第一数据包的实际到达时间早于或等于该第一预设值,处理单元720,用于缓存该第一数据包。
可选地,该第一预设值为该第一数据包的预定到达时间;或,该第一预设值为该多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和。
可选地,该多流信息还包括该多个数据流中每个数据流的数据包的大小、该多个数据 流中每个数据流的数据包的预定到达时间;处理单元720,用于确定该多个数据流中的第一数据包的实际到达时间之前,装置700还包括:处理单元720,用于根据该多流信息,为该多个数据流中每个数据流的数据包预分配资源。
可选地,收发单元710,用于获取多流信息,包括:收发单元710,用于从以下任意一项或多项获取该多流信息:控制面网元(如SMF)、该用户面功能设备、该无线接入网设备。
该装置700可实现对应于根据本申请实施例的方法实施例中的第一网元(如UPF,又如RAN)执行的步骤或流程,该装置700可以包括用于执行图2至图6中任意一个所示实施例中第一网元(如UPF,又如RAN)执行的方法的单元。
作为另一种设计,该装置700用于执行上文各个方法实施例中控制面网元(如SMF)所执行的动作。
一种可能的方式,处理单元720,用于确定第一规则,其中,第一规则为多个数据流中的至少一个数据流的数据包的实际到达时间与预设的该多个数据流中两个数据包到达时间之间的时间间隔的和;收发单元710,用于向第一网元发送第一规则,其中,第一网元为无线接入网设备或用户面功能设备。
可选地,收发单元710,用于获取多流信息,其中,该多流信息包括以下一项或多项信息:第一周期、多个数据流中每个数据流的数据包的大小、多个数据流中每个数据流的数据包的预定到达时间、预设的该多个数据流中两个数据包到达时间之间的时间间隔;处理单元720,用于确定第一规则,包括:处理单元720,用于根据该多流信息,确定该第一规则。
可选地,收发单元710,用于向第一网元(如UPF,又如RAN)发送多流信息,包括:处理单元720,用于确定在第一周期内每个数据流的数据包的大小的最大值;当最大值小于或等于第一网元(如UPF,又如RAN)的资源大小时,收发单元710,用于向第一网元(如UPF,又如RAN)发送多流信息。
可选地,处理单元720,用于获取多流信息,包括:从以下任意一项或多项获取多流信息:应用功能设备、无线接入网设备、用户面功能设备。
该装置700可实现对应于根据本申请实施例的方法实施例中的控制面网元(如SMF)执行的步骤或流程。该装置700可以包括用于执行图2至图6中任意一个所示实施例中的控制面网元(如SMF)执行的方法的单元。
应理解,各单元执行上述相应步骤的具体过程在上述各方法实施例中已经详细说明,为了简洁,在此不再赘述。
还应理解,这里的装置700以功能单元的形式体现。这里的术语“单元”可以指应用特有集成电路(application specific integrated circuit,ASIC)、电子电路、用于执行一个或多个软件或固件程序的处理器(例如共享处理器、专有处理器或组处理器等)和存储器、合并逻辑电路和/或其它支持所描述的功能的合适组件。在一个可选例子中,本领域技术人员可以理解,装置700可以具体为上述实施例中的第一网元(如UPF,又如RAN)或控制面网元(如SMF),可以用于执行上述各方法实施例中与第一网元(如UPF,又如RAN)或控制面网元(如SMF)对应的各个流程和/或步骤,为避免重复,在此不再赘述。
上述各个方案的装置700具有实现上述方法中第一网元(如UPF,又如RAN)或控制面网元(如SMF)所执行的相应步骤的功能。所述功能可以通过硬件实现,也可以通 过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块;例如收发单元可以由收发机替代(例如,收发单元中的发送单元可以由发送机替代,收发单元中的接收单元可以由接收机替代),其它单元,如处理单元等可以由处理器替代,分别执行各个方法实施例中的收发操作以及相关的处理操作。
此外,上述收发单元710还可以是收发电路(例如可以包括接收电路和发送电路),处理单元可以是处理电路。
需要指出的是,图7中的装置可以是前述实施例中的网元或设备,也可以是芯片或芯片系统,例如:片上系统(system on chip,SoC)。其中,收发单元可以是输入输出电路、通信接口;处理单元为该芯片上集成的处理器或微处理器或集成电路。在此不做限定。
如图8所示,本申请实施例提供另一种通信装置800。该装置800包括处理器810,处理器810与存储器820耦合,存储器820用于存储计算机程序或指令和/或数据,处理器810用于执行存储器820存储的计算机程序或指令,或读取存储器820存储的数据,以执行上文各方法实施例中的方法。
可选地,处理器810为一个或多个。
可选地,存储器820为一个或多个。
可选地,该存储器820与该处理器810集成在一起,或分离设置。
可选地,如图8所示,该装置800还包括收发器830,收发器830用于信号的接收和/或发送。例如,处理器810用于控制收发器830进行信号的接收和/或发送。
作为一种方案,该装置800用于实现上文各个方法实施例中由第一网元(如UPF,又如RAN)或控制面网元(如SMF)执行的操作。
例如,处理器810用于执行存储器820存储的计算机程序或指令,以实现上文各个方法实施例中第一网元(如UPF,又如RAN)的相关操作。例如,图2至图6中任意一个所示实施例中的第一网元(如UPF,又如RAN)执行的方法。
应理解,本申请实施例中提及的处理器可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或其他可编程逻辑器件、分立门或晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或该处理器也可以是任何常规的处理器等。
还应理解,本申请实施例中提及的存储器可以是易失性存储器和/或非易失性存储器。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM)。例如,RAM可以用作外部高速缓存。作为示例而非限定,RAM包括如下多种形式:静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或其他可编程逻辑器件、 分立门或晶体管逻辑器件、分立硬件组件时,存储器(存储模块)可以集成在处理器中。
还需要说明的是,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
如图9所示,本申请实施例提供一种芯片系统900。该芯片系统900(或也可以称为处理系统)包括逻辑电路910以及输入/输出接口(input/output interface)920。
其中,逻辑电路910可以为芯片系统900中的处理电路。逻辑电路910可以耦合连接存储单元,调用存储单元中的指令,使得芯片系统900可以实现本申请各实施例的方法和功能。输入/输出接口920,可以为芯片系统900中的输入输出电路,将芯片系统900处理好的信息输出,或将待处理的数据或信令信息输入芯片系统900进行处理。
作为一种方案,该芯片系统900用于实现上文各个方法实施例中由第一网元(如UPF,又如RAN)或控制面网元(如SMF)执行的操作。
例如,逻辑电路910用于实现上文方法实施例中由第一网元(如UPF,又如RAN)执行的处理相关的操作,如图2至图6中任意一个所示实施例中的第一网元(如UPF,又如RAN)执行的处理相关的操作;输入/输出接口920用于实现上文方法实施例中由第一网元(如UPF,又如RAN)执行的发送和/或接收相关的操作,如图2至图6中任意一个所示实施例中的第一网元(如UPF,又如RAN)执行的发送和/或接收相关的操作。
本申请实施例还提供一种计算机可读存储介质,其上存储有用于实现上述各方法实施例中由第一网元(如UPF,又如RAN)或控制面网元(如SMF)执行的方法的计算机指令。
例如,该计算机程序被计算机执行时,使得该计算机可以实现上述方法各实施例中由第一网元(如UPF,又如RAN)执行的方法。
本申请实施例还提供一种计算机程序产品,包含指令,该指令被计算机执行时以实现上述各方法实施例中由第一网元(如UPF,又如RAN)或控制面网元(如SMF)执行的方法。
上述提供的任一种装置中相关内容的解释及有益效果均可参考上文提供的对应的方法实施例,此处不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或可以集成到另一个系统,或一些特征可以忽略,或不执行。此外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或其他可编程装置。例如,所述计算机可以是个人计算机,服务器,或网络设备等。所述计算机指令可以存储在计算机可读存储介质中,或从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例 如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或半导体介质(例如固态硬盘(solid state disk,SSD)等。例如,前述的可用介质包括但不限于:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (20)

  1. 一种多流同步的方法,其特征在于,包括:
    第一网元获取多流信息和第一预设值,所述多流信息包括第一周期,其中,所述第一网元为无线接入网设备或用户面功能设备;
    在所述第一周期内,若所述第一网元确定多个数据流中的第一数据包的实际到达时间晚于所述第一预设值,所述第一网元丢弃在所述第一周期内已接收到的数据包。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    响应于所述第一网元确定所述多个数据流中的第一数据包的实际到达时间晚于所述第一预设值,所述第一网元向发送端设备发送指示信息,所述指示信息用于指示重传所述多个数据流中每个数据流的数据包。
  3. 一种多流同步的方法,其特征在于,包括:
    第一网元获取多流信息和第一预设值,所述多流信息包括第一周期,其中,所述第一网元为无线接入网设备或用户面功能设备;
    在所述第一周期内,若所述第一网元确定多个数据流中的第一数据包的实际到达时间晚于所述第一预设值,所述第一网元向发送端设备发送指示信息,所述指示信息用于指示重传所述多个数据流中每个数据流的数据包。
  4. 根据权利要求2或3所述的方法,其特征在于,所述第一网元向发送端设备发送指示信息,包括:
    所述第一网元生成确认数据包;
    所述第一网元向所述发送端设备发送所述确认数据包,所述确认数据包用于指示重传所述多个数据流中每个数据流的数据包。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:
    所述第一网元确定所述第一数据包的实际到达时间早于或等于所述第一预设值,所述第一网元缓存所述第一数据包。
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,
    所述第一预设值为所述第一数据包的预定到达时间;或,
    所述第一预设值为所述多个数据流中的至少一个数据流的数据包的实际到达时间与预设的所述多个数据流中两个数据包到达时间之间的时间间隔的和。
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述多流信息还包括所述多个数据流中每个数据流的数据包的大小、所述多个数据流中每个数据流的数据包的预定到达时间;
    所述第一网元确定所述多个数据流中的第一数据包的实际到达时间之前,所述方法还包括:
    所述第一网元根据所述多流信息,为所述多个数据流中每个数据流的数据包预分配资源。
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述第一网元获取多流信息,包括:
    所述第一网元从以下任意一项或多项获取所述多流信息:控制面网元、所述用户面功 能设备、所述无线接入网设备。
  9. 一种通信装置,其特征在于,包括:收发单元和处理单元,
    所述收发单元,用于获取多流信息和第一预设值,所述多流信息包括第一周期,其中,所述装置为无线接入网设备或用户面功能设备;
    在所述第一周期内,若所述处理单元,用于确定多个数据流中的第一数据包的实际到达时间晚于所述第一预设值,所述收发单元,用于丢弃在所述第一周期内已接收到的数据包。
  10. 根据权利要求9所述的装置,其特征在于,所述装置还包括:
    响应于所述处理单元,用于确定所述多个数据流中的第一数据包的实际到达时间晚于所述第一预设值,所述收发单元,用于向发送端设备发送指示信息,所述指示信息用于指示重传所述多个数据流中每个数据流的数据包。
  11. 一种通信装置,其特征在于,包括:收发单元和处理单元,
    所述收发单元,用于获取多流信息和第一预设值,所述多流信息包括第一周期,其中,所述装置为无线接入网设备或用户面功能设备;
    在所述第一周期内,若所述处理单元,用于确定多个数据流中的第一数据包的实际到达时间晚于所述第一预设值,所述收发单元,用于向发送端设备发送指示信息,所述指示信息用于指示重传所述多个数据流中每个数据流的数据包。
  12. 根据权利要求10或11所述的装置,其特征在于,所述收发单元,用于向发送端设备发送指示信息,包括:
    所述处理单元,用于生成确认数据包;
    所述收发单元,用于向所述发送端设备发送所述确认数据包,所述确认数据包用于指示重传所述多个数据流中每个数据流的数据包。
  13. 根据权利要求9至12中任一项所述的装置,其特征在于,所述装置还包括:
    所述装置确定所述第一数据包的实际到达时间早于或等于所述第一预设值,所述处理单元,用于缓存所述第一数据包。
  14. 根据权利要求9至13中任一项所述的装置,其特征在于,
    所述第一预设值为所述第一数据包的预定到达时间;或,
    所述第一预设值为所述多个数据流中的至少一个数据流的数据包的实际到达时间与预设的所述多个数据流中两个数据包到达时间之间的时间间隔的和。
  15. 根据权利要求9至14中任一项所述的装置,其特征在于,所述多流信息还包括所述多个数据流中每个数据流的数据包的大小、所述多个数据流中每个数据流的数据包的预定到达时间;
    所述处理单元,用于确定所述多个数据流中的第一数据包的实际到达时间之前,所述装置还包括:
    所述处理单元,用于根据所述多流信息,为所述多个数据流中每个数据流的数据包预分配资源。
  16. 根据权利要求9至15中任一项所述的装置,其特征在于,所述收发单元,用于获取多流信息,包括:
    所述收发单元,用于从以下任意一项或多项获取所述多流信息:控制面网元、所述用户面功能设备、所述无线接入网设备。
  17. 一种通信装置,其特征在于,包括:
    处理器,用于执行存储器中存储的计算机程序,以使得所述装置执行如权利要求1至2和4至8中任一项所述的方法,或,以使得所述装置执行如权利要求3至8中任一项所述的方法。
  18. 根据权利要求17所述的装置,其特征在于,所述装置还包括所述存储器。
  19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1至2和4至8中任一项所述的方法,或,使得所述计算机执行如权利要求3至8中任一项所述的方法。
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品包括用于执行如权利要求1至2和4至8中任一项所述的方法的指令,或,所述计算机程序产品包括用于执行如权利要求3至8中任一项所述的方法的指令。
PCT/CN2022/133085 2022-01-30 2022-11-21 一种多流同步的方法和装置 WO2023142627A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210114432.X 2022-01-30
CN202210114432.XA CN116567794A (zh) 2022-01-30 2022-01-30 一种多流同步的方法和装置

Publications (1)

Publication Number Publication Date
WO2023142627A1 true WO2023142627A1 (zh) 2023-08-03

Family

ID=87470423

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/133085 WO2023142627A1 (zh) 2022-01-30 2022-11-21 一种多流同步的方法和装置

Country Status (2)

Country Link
CN (1) CN116567794A (zh)
WO (1) WO2023142627A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5623483A (en) * 1995-05-11 1997-04-22 Lucent Technologies Inc. Synchronization system for networked multimedia streams
US5664164A (en) * 1995-02-24 1997-09-02 Apple Computer, Inc. Synchronization of one or more data streams
CN102742249A (zh) * 2010-01-27 2012-10-17 荷兰皇家Kpn电信集团 用于媒体流同步的方法、系统和装置
JP2016144172A (ja) * 2015-02-05 2016-08-08 日本電信電話株式会社 パケット制御装置、方法及びプログラム
CN112347143A (zh) * 2020-11-19 2021-02-09 中国平安财产保险股份有限公司 多数据流处理方法、装置、终端及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5664164A (en) * 1995-02-24 1997-09-02 Apple Computer, Inc. Synchronization of one or more data streams
US5623483A (en) * 1995-05-11 1997-04-22 Lucent Technologies Inc. Synchronization system for networked multimedia streams
CN102742249A (zh) * 2010-01-27 2012-10-17 荷兰皇家Kpn电信集团 用于媒体流同步的方法、系统和装置
JP2016144172A (ja) * 2015-02-05 2016-08-08 日本電信電話株式会社 パケット制御装置、方法及びプログラム
CN112347143A (zh) * 2020-11-19 2021-02-09 中国平安财产保险股份有限公司 多数据流处理方法、装置、终端及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NEC: "Potential enhancements of NR to support XR services", 3GPP TSG RAN WG1 #106BIS-E R1- 2109137, 1 October 2021 (2021-10-01), XP052058097 *

Also Published As

Publication number Publication date
CN116567794A (zh) 2023-08-08

Similar Documents

Publication Publication Date Title
US20240179118A1 (en) Edge Service Obtaining Method and Apparatus
WO2023280121A1 (zh) 一种获取边缘服务的方法和装置
US20220217611A1 (en) Service Configuration Method, Communication Apparatus, and Communication System
US11968565B2 (en) User plane information reporting method and apparatus
EP3761679A1 (en) Location method and related device
WO2018176422A1 (zh) 资源调度的方法和装置以及基站
EP4192111A1 (en) Relay management method and communication apparatus
WO2021083321A1 (zh) 一种通信方法及设备
WO2021031010A1 (zh) 通信方法、终端设备和网络设备
US20230254922A1 (en) Multipath transmission method and communication apparatus
US20210007172A1 (en) Capability exposure method, related apparatus, and system
WO2023185552A1 (zh) 通信方法和装置
WO2020258191A1 (zh) 一种接入控制方法及装置、终端
WO2021227600A1 (zh) 一种网络切片控制方法及通信装置
US20230254859A1 (en) Downlink Transmission Method and Communication Apparatus
WO2023143177A1 (zh) 一种通信方法和通信装置
WO2023040781A1 (zh) 一种通信方法和通信装置
WO2021204361A1 (en) Apparatus, method and computer program
WO2020223907A1 (zh) 一种信息传输方法及装置、网络设备
WO2023142627A1 (zh) 一种多流同步的方法和装置
WO2022170798A1 (zh) 确定策略的方法和通信装置
EP4207655A1 (en) Communication method and apparatus
EP4075859A1 (en) Session processing method and communication device
WO2021142669A1 (zh) 业务传输的方法和设备
WO2024104454A2 (zh) 通信方法、计算机可读存储介质及通信装置

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: 22923421

Country of ref document: EP

Kind code of ref document: A1