Data processing method and device and storage medium
By synchronous processing and timestamping of associated data flows in 5G systems, the problem of data flow uncoordinated processing and timestamp invisibility is solved, resource scheduling is optimized, and resource utilization efficiency of 5G systems is improved.
Patent Information
- Application Number
- CN202310491940.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-04
- Publication Date
- 2024-11-05
AI Technical Summary
The data flows associated with the same XR service in 5G systems are not synchronized, resulting in the inability to perform time synchronization collaborative processing, and the timestamp of the data packet is not visible to the network side, making it difficult to perform resource scheduling.
By synchronizing the associated data stream and timestamping its packets, the tagged data packets are sent to the RAN node, allowing the RAN node to optimize resource scheduling based on the timestamp.
Time synchronization and resource scheduling optimization of data flows are realized, the problems of data flow uncoordinated processing and time stamps in 5G systems are solved, and resource utilization efficiency is improved.
Smart Images

Figure CN118900453A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a data processing method, device and storage medium. Background Art
[0002] The fifth generation mobile communication (5G) eXtended Reality (XR) supports application functions (AF) that provide a universal identifier, configure multiple data streams for a single user equipment (UE) or multiple UEs to the network, and implement policy enhancement to support multi-stream collaborative transmission on the control plane.
[0003] However, the data streams associated with the same XR service are not synchronized, which makes it impossible for the 5G system to perform collaborative processing of time synchronization. In addition, the timestamp of the data packet is not visible to the network side, making it difficult for the network side to use timestamp tags for resource scheduling. Summary of the invention
[0004] In view of the above problems existing in the related art, the embodiments of the present application provide a data processing method, device and storage medium.
[0005] In a first aspect, an embodiment of the present application provides a data processing method, including:
[0006] Synchronize the associated data streams;
[0007] Timestamping the data packets in the synchronized data stream;
[0008] The data packet with the timestamp is sent to the radio access network RAN node.
[0009] In some embodiments, the synchronizing the associated data streams includes:
[0010] Based on the time information, the associated data streams are synchronized.
[0011] In some embodiments, the time information includes a data packet timestamp, and the synchronizing the associated data streams based on the time information includes:
[0012] The associated data streams are synchronized based on the data packet timestamps.
[0013] In some embodiments, when the data packet is a real-time transport protocol RTP packet, the data packet timestamp is an RTP header timestamp; or,
[0014] In the case where the data packet is a Real-time Transport Control Protocol RTCP packet, the RTCP packet includes a sender report, the sender report includes a Network Time Protocol NTP timestamp and an RTP timestamp, and the data packet timestamp is the NTP timestamp and the RTP timestamp; or,
[0015] In the case that the data packet is a Secure Real-time Transport Protocol (SRTP) packet, the data packet timestamp is a SRTP header timestamp.
[0016] In some embodiments, the time information includes a local clock of the communication system, and the synchronizing the associated data streams based on the time information includes:
[0017] The associated data streams are synchronized to the local clock.
[0018] In some embodiments, the step of timestamping the data packets in the synchronized data stream includes:
[0019] Corresponding the receiving time of the first data packet in each data frame in the data stream to the absolute time of the local clock is used as the timestamp of each data frame in the data stream, and marking the data packets in each data frame in the data stream with the timestamp; or,
[0020] The receiving time of the first data packet in each PDU set in the data stream corresponds to the absolute time of the local clock as the timestamp of each PDU set in the data stream, and the data packets in each PDU set in the data stream are timestamped; or
[0021] Based on the sequence number and / or timestamp contained in the RTP header in the data stream, the order of different data packets in the RTP header is determined, and the data packets in the RTP header in the data stream are timestamped based on the order of the data packets.
[0022] In some embodiments, the time information includes a first delay between a user plane function UPF and a server, the server being an application server AS or an NTP server;
[0023] The synchronous processing of the associated data stream based on the time information includes:
[0024] Based on the first time delay, the associated data streams are synchronously processed.
[0025] In some embodiments, the time information includes a data packet timestamp and a first delay between the UPF and a server, the server being an AS or an NTP server;
[0026] The synchronous processing of the associated data stream based on the time information includes:
[0027] The associated data streams are synchronized based on the data packet timestamp and the first delay.
[0028] In some embodiments, the method further comprises:
[0029] The first time delay is detected.
[0030] In some embodiments, the time information includes a correspondence between an RTP timestamp and an NTP timestamp, and the synchronizing the associated data streams based on the time information includes:
[0031] Based on the corresponding relationship between the RTP timestamp and the NTP timestamp, synchronization processing is performed on the associated data streams.
[0032] In some embodiments, the time information includes a second delay between the communication system and the AS, and the synchronizing the associated data stream based on the time information includes:
[0033] Based on the second delay, the associated data streams are synchronously processed.
[0034] In some embodiments, the time information includes a correspondence between the RTP timestamp and the NTP timestamp, and a second delay between the communication system and the AS;
[0035] The synchronous processing of the associated data stream based on the time information includes:
[0036] Based on the corresponding relationship between the RTP timestamp and the NTP timestamp, and the second delay, the associated data streams are synchronized.
[0037] In some embodiments, the step of timestamping the data packets in the synchronized data stream includes:
[0038] Allocating a timestamp to each PDU in the data stream, and marking the data packets in the data stream with a timestamp based on the timestamp; or,
[0039] Assigning a timestamp to each PDU set in the data stream, and marking the data packets in the data stream with a timestamp based on the timestamp; or,
[0040] A timestamp is assigned to each data frame in the data stream, and based on the timestamp, the data packets in the data stream are timestamped.
[0041] In some embodiments, the synchronizing the associated data streams based on the time information includes:
[0042] Based on one or more of the data packet timestamp included in the time information, the correspondence between the RTP timestamp and the NTP timestamp, the local clock of the communication system, the first delay between the UPF and the application server AS, the first delay between the UPF and the NTP server, and the second delay between the communication system and AS, the associated data stream is synchronized.
[0043] In some embodiments, the step of timestamping the data packets in the synchronized data stream includes:
[0044] A user plane General Packet Radio Service Tunneling Protocol GTP-U header of a data packet in the synchronized data stream is timestamped.
[0045] In some embodiments, the method further comprises:
[0046] Receive a packet detection rule PDR and a flow synchronization processing indication sent by a control plane network function entity, wherein the flow synchronization processing indication is used to trigger synchronization processing of an associated data flow, or the flow synchronization processing indication is used to trigger synchronization processing of an associated data flow and timestamp marking of data packets in the synchronized data flow.
[0047] In a second aspect, the embodiment of the present application further provides a data processing method, including:
[0048] Receive synchronized and time-stamped data packets sent by UPF;
[0049] Resource scheduling is performed based on the timestamp marked on the data packet.
[0050] In some embodiments, the resource scheduling based on the timestamp marked on the data packet includes:
[0051] Determining the order of sending data packets in the data stream to the terminal based on the size of the timestamp value marked by the data packet; or,
[0052] Determine the order of sending the PDU sets in the data stream to the terminal based on the size of the timestamp value marked by the data packet; or,
[0053] Determine the order of sending data frames in the data stream to the terminal based on the size of the timestamp value marked by the data packet; or,
[0054] Based on the size of the PDU set sequence number, the order of sending PDU sets with the same timestamp in the data stream to the terminal is determined.
[0055] In a third aspect, the present application also provides a data processing method, including:
[0056] Time information is sent to the UPF, where the time information is used to synchronize the associated data stream and / or timestamp the data packets in the synchronized data stream.
[0057] In some embodiments, the time information includes one or more of the following:
[0058] Packet timestamp;
[0059] The correspondence between RTP timestamp and NTP timestamp;
[0060] The second delay between the communication system and the AS.
[0061] In some embodiments, the method further comprises:
[0062] Sending a PDR and a stream synchronization processing indication to the UPF;
[0063] The stream synchronization processing indication is used to trigger synchronization processing of the associated data stream, or the stream synchronization indication is used to trigger synchronization processing of the associated data stream and timestamp the data packets in the synchronized data stream.
[0064] In a fourth aspect, an embodiment of the present application further provides a UPF, including a memory, a transceiver, and a processor;
[0065] A memory for storing a computer program; a transceiver for sending and receiving data under the control of the processor; and a processor for reading the computer program in the memory and executing the data processing method provided in the first aspect as described above.
[0066] In a fifth aspect, an embodiment of the present application further provides a RAN node, including a memory, a transceiver, and a processor;
[0067] A memory for storing a computer program; a transceiver for sending and receiving data under the control of the processor; and a processor for reading the computer program in the memory and executing the data processing method provided in the second aspect as described above.
[0068] In a sixth aspect, an embodiment of the present application further provides a control plane network function entity, including a memory, a transceiver, and a processor;
[0069] A memory for storing a computer program; a transceiver for sending and receiving data under the control of the processor; and a processor for reading the computer program in the memory and executing the data processing method provided in the third aspect as described above.
[0070] In a seventh aspect, an embodiment of the present application further provides a data processing device, including:
[0071] A synchronization processing unit, used for performing synchronization processing on associated data streams;
[0072] A timestamp marking unit, used for marking the data packets in the synchronously processed data stream with timestamps;
[0073] The data packet sending unit is used to send the data packet marked with the timestamp to the radio access network RAN node.
[0074] In an eighth aspect, an embodiment of the present application further provides a data processing device, including:
[0075] A second receiving unit, configured to receive a data packet sent by the UPF that has been synchronized and marked with a timestamp;
[0076] A resource scheduling unit is used to perform resource scheduling based on the timestamp marked on the data packet.
[0077] In a ninth aspect, an embodiment of the present application further provides a data processing device, including:
[0078] A time information sending unit is used to send time information to the UPF, where the time information is used to synchronize the associated data stream and / or timestamp the data packets in the synchronized data stream.
[0079] In the tenth aspect, an embodiment of the present application also provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the data processing method provided in the first aspect, the second aspect, or the third aspect as described above.
[0080] In the eleventh aspect, an embodiment of the present application also provides a non-transitory readable storage medium, which stores a computer program, and the computer program is used to enable a computer to execute the data processing method provided in the first aspect, the second aspect, or the third aspect as described above.
[0081] In the twelfth aspect, an embodiment of the present application further provides a communication device-readable storage medium, wherein the communication device-readable storage medium stores a computer program, and the computer program is used to enable the communication device to execute the data processing method provided in the first aspect, the second aspect, or the third aspect as described above.
[0082] In the thirteenth aspect, an embodiment of the present application further provides a chip product readable storage medium, wherein the chip product readable storage medium stores a computer program, and the computer program is used to enable the chip product to execute the data processing method provided in the first aspect, the second aspect, or the third aspect as described above.
[0083] The data processing method, device and storage medium provided in the embodiments of the present application perform synchronization processing and timestamp marking on the associated data streams, and send the timestamp-marked data packets to the RAN node, so that the RAN node can optimize resource scheduling based on the timestamp marking of the data packets. BRIEF DESCRIPTION OF THE DRAWINGS
[0084] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0085] Figure 1 It is a schematic diagram of the architecture of a non-roaming 5G system provided by the relevant technology;
[0086] Figure 2 It is a schematic diagram of the format of the RTP header provided by the relevant technology;
[0087] Figure 3 This is one of the flow charts of the data processing method provided in the embodiment of the present application;
[0088] Figure 4 This is the second flow chart of the data processing method provided in the embodiment of the present application;
[0089] Figure 5 This is the third flow chart of the data processing method provided in the embodiment of the present application;
[0090] Figure 6 This is a fourth flow chart of the data processing method provided in the embodiment of the present application;
[0091] Figure 7 It is a schematic diagram of the structure of the UPF provided in the embodiment of the present application;
[0092] Figure 8 It is a structural diagram of a RAN node provided in an embodiment of the present application;
[0093] Fig. 9 is a schematic diagram of the structure of a control plane network function entity provided in an embodiment of the present application;
[0094] Fig.10 It is one of the structural schematic diagrams of the data processing device provided in the embodiment of the present application;
[0095] Fig.11 This is the second structural diagram of the data processing device provided in the embodiment of the present application;
[0096] Fig.12This is the third structural diagram of the data processing device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0097] In order to better describe the technical solutions in the embodiments of the present application, relevant knowledge is introduced below.
[0098] (1) The 3rd Generation Partnership Project (3GPP)
[0099] Figure 1 It is a schematic diagram of the architecture of the non-roaming 5G system provided by the relevant technology, such as Figure 1 As shown in the figure, the main network functions (NF) in the 5G system architecture are introduced as follows:
[0100] AMF: Access and Mobility Management Function. Its main functions include registration and connection management.
[0101] UPF: User Plan Function. UPF is an external protocol data unit (PDU) session node that interconnects with the data network, and performs message routing and forwarding.
[0102] SMF: Session Management Function. The main functions include session establishment and deletion, user plane selection and control, UE Internet Protocol (IP) allocation, etc.
[0103] AF: Application Function. AF interacts with the 3GPP core network to provide services. Based on the operator's deployment, a trusted AF can interact directly with the relevant NF, while an untrusted AF cannot interact directly with the NF, but should use an open framework through the NEF.
[0104] PCF: Policy Control Function. PCF supports a unified policy framework to manage network behavior and provide policy rules for control plane NF to execute.
[0105] NRF: Network Repository Function, network storage function. NRF supports service discovery function.
[0106] UDM: Unified Data Management. UDM stores UE information, such as contract information and information about established PDU sessions.
[0107] NEF: Network Exposure Function. NEF provides functions related to securely exposing the services and capabilities provided by the 3GPP network to external networks.
[0108] UDR: Unified Data Repository. UDR stores contract data and UDMFE retrieves contract data. It stores policy information and PCF retrieves policy information.
[0109] (R)AN:Radio Access Network, wireless access network.
[0110] NSSF: Network Slice Selection Function, network slice selection function.
[0111] AUSF: Authentication Server Function, authentication server function.
[0112] NSACF: The Network Slice Admission Control Function, network slice admission control function.
[0113] NSSAAF: Network Slice-Specific Authentication and Authorization Function, authentication and authorization function selected by network slices.
[0114] DN: Data Network, data network.
[0115] Among them, N and numbers between different modules represent different interfaces.
[0116] (2) 5G XR
[0117] In the current 5G network, there are more and more high data rate and low latency (HDRLL) services, such as mobile multimedia services, cloud augmented reality (AR) or virtual reality (VR), cloud games, video-based remote control machines or drones, and real-time digital twins.
[0118] Different types of service data need to be transmitted in 5G networks, and the data units transmitted between peer levels are usually PDUs. The data units involved in the XR service transmission data flow are as follows:
[0119] PDU set: A media unit of an XR service, which may contain a frame, or one or more slices, segments, or tiles.
[0120] Data frame: can contain one or more PDU sets.
[0121] Data packet: can be a PDU. A PDU set or data frame can contain one or more data packets or PDUs.
[0122] (3) Network Protocol
[0123] Real-time Transport Protocol (RTP) is a network transmission protocol. Figure 2 This is a schematic diagram of the format of the RTP header provided by the relevant technology, such as Figure 2 As shown, the RTP header contains a timestamp field to mark the time information of the RTP packet sending. SSRC represents the synchronization source information (Synchronization Source), CSRC represents the contributing source (Contributing Source), and Identifier represents the identifier. Each SSRC identifier occupies 32 bits, and each CSRC identifier occupies 32 bits. P represents the padding byte, which occupies 1 bit. The P padding identification field of the same RTP. X represents the extension identifier, which occupies 1 bit. CC represents the CSRC counter, which indicates the number of CSRS identifiers and occupies 4 bits. M represents the marker bit, which identifies the frame boundary and occupies 1 bit. PT represents the payload type and occupies 7 bits. Sequence Number represents the sequence number of the RTP message and occupies 16 bits.
[0124] The Real-time Transport Control Protocol (RTCP) works in conjunction with RTP. RTP implements the actual data transmission, while RTCP is responsible for transmitting control data. Its main function is to provide feedback for the Quality of Service (QoS) provided by RTP. The Sender Report (SR) packet of RTCP contains the Network Time Protocol (NTP) timestamp and the RTP timestamp.
[0125] NTP is a time synchronization protocol used to synchronize time between distributed time servers and clients.
[0126] Currently, 5G XR supports AF to provide a universal identifier, configure the multi-data flow requirements for a single UE or multiple UEs to the network, and implement policy enhancements to support multi-flow collaborative transmission on the control plane. In addition, UPF can identify PDU sets and mark PDU set related information in the GPRS Tunnelling Protocol for the user plane (GTP-U) at the user level, including PDU Set Sequence Number (SN), End PDU of the PDU Set, PDU SN within a PDU Set, PDU Set Size in bytes, PDU Set Importance, and send the relevant information to NG-RAN to assist NG-RAN in resource scheduling at the PDU Set granularity. Among them, GPRS stands for General Packet Radio Service.
[0127] However, in the related technology, the data streams associated with the same XR service are not synchronized (for example, audio and video data are collected from the same or different devices. Due to differences in data type, device clock frequency, sampling frequency, etc., the timestamps marked in the RTP headers of different data streams are also not synchronized). The 5G system cannot perform collaborative processing of their time synchronization. At the same time, the timestamp of the RTP header is invisible to the network side, and the timestamp for each frame is the same. The base station cannot perform resource scheduling based on timestamp marks of different granularities (such as PDU Set granularity).
[0128] In view of the above-mentioned problems existing in the related technology, the embodiments of the present application provide a data processing method, device and storage medium, which synchronize and timestamp the associated data streams, send the timestamp-marked data packets to the RAN node, so that the RAN node can optimize resource scheduling based on the timestamp of the data packet.
[0129] In the embodiments of the present application, the term "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0130] In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.
[0131] The technical solution provided in the embodiment of the present application can be applicable to a variety of systems, especially 5G systems. For example, applicable systems can be global system of mobile communication (Global System of Mobile Communication, GSM) system, code division multiple access (Code Division Multiple Access, CDMA) system, wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA) general packet radio service (Aeneral Packet Radio Service, GPRS) 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, advanced long-term evolution (Long Term Evolution Advanced, LTE-A) system, universal mobile system (Universal Mobile Telecommunication System, UMTS), global interconnection microwave access (Worldwide Interoperability for Microwave Access, WiMAX) system, 5G new air interface (New Radio, NR) system, etc. These various systems include terminal equipment and network equipment. The system may also include core network parts, such as the Evolved Packet System (EPS), 5G System (5GS), etc.
[0132] The terminal device involved in the embodiment of the present application may be a device that provides voice and / or data connectivity to a user, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem. In different systems, the name of the terminal device may also be different. For example, in a 5G system, the terminal device may be called a user equipment (UE). The wireless terminal device can communicate with one or more core networks (CN) via a radio access network (RAN). The wireless terminal device can be a mobile terminal device, such as a mobile phone (or a "cellular" phone) and a computer with a mobile terminal device. For example, it can be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device that exchanges language and / or data with a wireless access network. For example, personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDA) and other devices. The wireless terminal device may also be referred to as a system, a subscriber unit (Subscriber Unit), a subscriber station (Subscriber Station), a mobile station (MobileStation), a mobile station (Mobile), a remote station (Remote Station), an access point (Access Point), a remote terminal device (Remote Terminal), an access terminal device (Access Terminal), a user terminal device (User Terminal), a user agent (User Agent), and a user device (User Device), but is not limited in the embodiments of the present application.
[0133] The network device involved in the embodiment of the present application may be a base station, which may include multiple cells providing services for the terminal. Depending on the specific application scenario, the base station may also be called an access point, or may be a device in the access network that communicates with the wireless terminal device through one or more sectors on the air interface, or other names. The network device may be used to replace the received air frame with the Internet Protocol (IP) packet, as a router between the wireless terminal device and the rest of the access network, wherein the rest of the access network may include an Internet Protocol (IP) communication network. The network device may also coordinate the attribute management of the air interface. For example, the network device involved in the embodiments of the present application may be a network device (Base Transceiver Station, BTS) in the Global System for Mobile Communications (Global System for Mobile Communications, GSM) or Code Division Multiple Access (Code Division Multiple Access, CDMA), or a network device (NodeB) in Wide-band Code Division Multiple Access (WCDMA), or an evolved network device (Evolutional Node B, eNB or e-NodeB) in the Long Term Evolution (Long Term Evolution, LTE) system, a 5G base station (gNB) in the 5G network architecture (Next Generation System), or a Home evolved Node B (Home evolved Node B, HeNB), a relay node (Relay Node), a home base station (Femto), a pico base station (Pico), etc., which is not limited in the embodiments of the present application. In some network structures, the network device may include a centralized unit (CU) node and a distributed unit (DU) node, and the centralized unit and the distributed unit may also be arranged geographically separately.
[0134] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0135] Figure 3 is one of the flow charts of the data processing method provided in the embodiment of the present application, such as Figure 3As shown, the method is performed by UPF and includes at least the following steps:
[0136] Step 301: Synchronize the associated data streams.
[0137] Step 302: Timestamp the data packets in the synchronized data stream.
[0138] Step 303: Send the data packet marked with the timestamp to the RAN node.
[0139] Specifically, the associated data streams may be different data streams associated with a specific service (eg, associated with the same XR service or other services), including encrypted data or non-encrypted data, XR data or non-XR data.
[0140] Synchronize the associated data streams. Specifically, synchronize different data streams to a clock source to achieve synchronization.
[0141] After completing the synchronization processing of different data streams, all or part of the data packets in the data stream are time-stamped, and the time-stamped data packets are sent to the RAN node, so that the RAN node can optimize resource scheduling using the time stamp.
[0142] Among them, UPF performs synchronization processing on the associated data stream, which can be automatically triggered upon receiving the data stream or at a specified time interval, or after receiving a corresponding request sent by the control plane network function entity. Similarly, UPF performs timestamp marking, which can be automatically triggered after synchronization processing, or after receiving a corresponding request sent by the control plane network function entity.
[0143] UPF timestamps the data packets in the synchronously processed data stream, and may timestamp each data packet or a specified portion of the data packets.
[0144] The data processing method provided in the embodiment of the present application performs synchronization processing and timestamp marking on the associated data streams, and sends the timestamp-marked data packets to the RAN node, so that the RAN node can optimize resource scheduling based on the timestamp marking of the data packets.
[0145] In some embodiments, step 301: performing synchronization processing on the associated data streams specifically includes:
[0146] Based on the time information, the associated data streams are synchronized.
[0147] Specifically, the UPF uses the time information to synchronize the associated data streams. The time information can be obtained from the control plane network function entity (such as AF, PCF, SMF, etc.), can be obtained locally, and can also be detected by itself.
[0148] In some embodiments, the time information includes one or more of the following:
[0149] ① Packet timestamp;
[0150] ②The correspondence between RTP timestamp and NTP timestamp;
[0151] ③Local clock of the communication system;
[0152] ④The first delay between UPF and the server, where the server is the application server AS or NTP server;
[0153] ⑤The second delay between the communication system and AS.
[0154] Specifically, the time information may include: one or more of: a data packet timestamp, a correspondence between an RTP timestamp and an NTP timestamp, a local clock of the communication system, a first delay between the UPF and the server, a second delay between the communication system and the AS, and the like.
[0155] Among them, information such as the data packet timestamp, the correspondence between the RTP timestamp and the NTP timestamp, the second delay between the communication system and the AS, etc. can be obtained from the control plane network function entity, and information such as the local clock of the communication system, the second delay between the communication system and the AS, etc. can be obtained locally or detected by itself.
[0156] The first delay between the UPF and the server, which can be an application server (AS) or an NTP server. The local clock of the communication system, such as the 5G clock.
[0157] In some embodiments, synchronization processing is performed on associated data streams based on time information, including:
[0158] Based on one or more items included in the time information, the associated data streams are synchronized.
[0159] Specifically, UPF can use any one or a combination of multiple of the above ① to ⑤ to synchronize the associated data streams.
[0160] In some embodiments, the time information includes a data packet timestamp, and synchronization processing is performed on the associated data stream based on the time information, including:
[0161] Based on the packet timestamp, the associated data streams are synchronized.
[0162] Specifically, when the time information includes a data packet timestamp, the UPF uses the data packet timestamp to synchronize the associated data streams and perform subsequent timestamp marking.
[0163] In some embodiments, when the data packet is an RTP packet, the data packet timestamp is an RTP header timestamp; or,
[0164] In the case where the data packet is an RTCP packet, the RTCP packet includes a sender report, the sender report includes a network time protocol NTP timestamp and an RTP timestamp, and the data packet timestamp is the NTP timestamp and the RTP timestamp; or,
[0165] When the data packet is an SRTP packet, the data packet timestamp is the SRTP header timestamp.
[0166] Specifically, data packets can be divided into different types, such as RTP packets, RTCP packets, SRTP packets, etc. Different types of data packets have different timestamps in their headers.
[0167] For RTP packets, the data packet timestamp is the RTP header timestamp, that is, the timestamp contained in the RTP header; for RTCP packets, the RTCP packets include a sender report (SR), the sender report includes an NTP timestamp and an RTP timestamp, and the data packet timestamp is the NTP timestamp and the RTP timestamp; for SRTP packets, the data packet timestamp is the SRTP header timestamp, that is, the timestamp contained in the SRTP header.
[0168] In the case where the time information is a data packet timestamp, the associated data streams are synchronized using the data packet timestamp, which may be to map the timestamps contained in different data streams to the same NTP server.
[0169] In some embodiments, the time information includes a local clock of the communication system, and synchronization processing is performed on the associated data stream based on the time information, including:
[0170] Synchronizes the associated data stream to the local clock.
[0171] Specifically, when the time information is a local clock of the communication system, the UPF uses the local clock to synchronize the associated data streams, which may be to synchronize the associated data streams to the local clock.
[0172] In some embodiments, timestamping the data packets in the synchronized data stream includes:
[0173] Corresponding the receiving time of the first data packet in each data frame in the data stream to the absolute time of the local clock is used as the timestamp of each data frame in the data stream, and the data packets in each data frame in the data stream are timestamped; or,
[0174] The absolute time of the local clock corresponding to the reception time of the first data packet in each PDU set in the data stream is used as the timestamp of each PDU set in the data stream, and the data packets in each PDU set in the data stream are timestamped; or,
[0175] Based on the sequence number and / or timestamp contained in the RTP header in the data stream, the order of different data packets in the RTP header is determined, and the data packets in the RTP header in the data stream are timestamped based on the order of the data packets.
[0176] Specifically, after the associated data stream is synchronized to the local clock, a timestamp is assigned to the data packet based on the local clock, and the UPF performs timestamp marking, corresponding to different marking granularities, as follows:
[0177] ① Frame granularity. The absolute time of the local clock corresponding to the receiving time of the first data packet of each data frame is used as the timestamp of the data frame. Each data packet in the data frame can be timestamped, or only the first data packet or a specified data packet in the data frame can be timestamped. In each data frame, if multiple data packets are timestamped, the timestamps of the multiple data packets are the same.
[0178] ②PDU set granularity. The absolute time of the local clock corresponding to the reception time of the first data packet of each PDU set is used as the timestamp corresponding to the PDU set. Each data packet in the PDU set can be timestamped, or only the first data packet or a specified data packet in the PDU set can be timestamped. In each PDUset, if multiple data packets are timestamped, the timestamps of the multiple data packets are the same.
[0179] ③PDU granularity: Determine the order of different data packets based on the timestamp and / or sequence number contained in the RTP header, and mark them with timestamps in sequence.
[0180] The timestamp marked at this time can be called an internal timestamp.
[0181] In some embodiments, the time information includes a first time delay between the UPF and the server, the server being an application server AS or an NTP server;
[0182] Based on the time information, the associated data streams are synchronized, including:
[0183] Based on the first time delay, the associated data streams are synchronously processed.
[0184] Specifically, when the time information is the first delay between the UPF and the server, the UPF uses the first delay to synchronize the associated data stream. The server can be an AS or an NTP server, mainly for scenarios where the downlink data stream comes from the same or different ASs, and the NTPs of different ASs may be different.
[0185] In some embodiments, the time information includes a packet timestamp, and a first delay between the UPF and the server, the server being an AS or an NTP server;
[0186] Based on the time information, the associated data streams are synchronized, including:
[0187] Based on the data packet timestamp and the first delay, the associated data streams are synchronously processed.
[0188] Specifically, when the time information is a data packet timestamp and a first time delay between the UPF and the server, the UPF can combine the two to perform synchronous processing on the associated data streams.
[0189] In some embodiments, the data processing method further includes:
[0190] Detect the first delay.
[0191] Specifically, when UPF needs to use the first delay to perform synchronization processing of associated data streams, UPF receives downlink data streams sent from different ASs. The NTP absolute time between different ASs may be different. UPF needs to detect the first delay, such as the N6 delay between UPF and different ASs.
[0192] There are many detection methods. Detecting the first delay includes:
[0193] ① The first delay is determined based on the reception time of the downlink data packet sent by the AS and the timestamp sent by the AS. The timestamp sent by the AS is carried in the extension header. When the UPF detects an uplink data packet with the destination address as the AS, it adds a delay detection indication in the Internet Protocol Version 6 (IPv6) extension header or the In-band Network Telemetry (INT) header. When the AS sends a downlink packet, a timestamp is added to the extension header. The UPF calculates the delay based on the reception time and timestamp of the received downlink packet.
[0194] ② Receive the first delay sent by AS. The first delay is determined based on the round-trip delay of the echo message. UPF generates an echo message and sends it to AS, thereby calculating the delay as RTT / 2, where RTT stands for round-trip time.
[0195] ③ Send a generalized Precision Time Protocol (gTPT) message to the AS to synchronize with the AS and obtain the first delay. The UPF synchronizes with the AS and calculates the first delay by sending a gTPT message.
[0196] In some embodiments, the time information includes a correspondence between an RTP timestamp and an NTP timestamp, and synchronization processing is performed on the associated data stream based on the time information, including:
[0197] Based on the correspondence between the RTP timestamp and the NTP timestamp, the associated data streams are synchronized.
[0198] Specifically, when the time information includes the correspondence between the RTP timestamp and the NTP timestamp, the UPF uses the correspondence to synchronize the associated data streams. The correspondence between the RTP timestamp and the NTP timestamp is usually sent by the AF to the network, and the UPF obtains it from the control plane network function entity.
[0199] The correspondence between the RTP timestamp and the NTP timestamp, for example, the RTP timestamp and NTP timestamp contained in the sender report contained in the RTCP packet, and the NTP timestamp and RTP timestamp contained in the SRTP header.
[0200] In some embodiments, the time information includes a second delay between the communication system and the AS, and based on the time information, synchronization processing is performed on the associated data stream, including:
[0201] Based on the second time delay, the associated data streams are synchronously processed.
[0202] Specifically, when the time information includes a second time delay between the communication system and the AS, the UPF uses the second time delay to perform synchronization processing on the associated data streams.
[0203] Taking the communication system as a 5G system as an example, the AS is synchronized with the 5G system, and the AS is the Internet Protocol Multimedia Subsystem (IMS). The second delay between the AS and the 5G system may be included in the AF request.
[0204] In some embodiments, the time information includes a correspondence between the RTP timestamp and the NTP timestamp, and a second delay between the communication system and the AS;
[0205] Based on the time information, the associated data streams are synchronized, including:
[0206] Based on the corresponding relationship between the RTP timestamp and the NTP timestamp, and the second delay, the associated data streams are synchronously processed.
[0207] Specifically, when the time information includes the second delay and the correspondence between the NTP timestamp and the RTP timestamp, the UPF can combine the two to synchronize the associated data streams.
[0208] In some embodiments, timestamping the data packets in the synchronized data stream includes:
[0209] Assign a timestamp to each PDU in the data stream, and based on the timestamp, timestamp the data packets in the data stream; or,
[0210] Assign a timestamp to each PDU set in the data stream, and based on the timestamp, timestamp the data packets in the data stream; or,
[0211] Each data frame in the data stream is assigned a timestamp, and based on the timestamp, the data packets in the data stream are timestamped.
[0212] Specifically, after the UPF completes the aforementioned synchronization processing of the associated data stream, it performs timestamp marking, which can be based on different granularities, specifically including:
[0213] ①PDU granularity. UPF assigns a timestamp to each PDU, and based on the timestamp, timestamps the data packets. Specifically, all data packets contained in each PDU can be marked with the same timestamp, or the first data packet or specified data packet of each PDU can be timestamped. For example, for non-XR services, each data packet can be timestamped, and each data packet in a PDU has the same timestamp. For all data packets in the same PDU, their timestamps are the same.
[0214] ②PDU set granularity. A timestamp is assigned to each PDU set, and the data packets are timestamped based on the timestamp. Specifically, all data packets in each PDU set can be marked with the same timestamp, or the first data packet or a specified data packet in each PDUset can be timestamped. This method requires the PDU set to be determined first. For example, the timestamp on each RTP packet of a video frame is the same, and a video frame has a large amount of data and may require multiple RTP packets to be transmitted. In this case, the different PDU sets in the frame need to be determined first, and then a timestamp is assigned to each PDU set. For all data packets in the same PDU set, their timestamps are the same.
[0215] ③ Data frame granularity. Each data frame is assigned a timestamp, and the data packets are timestamped based on the timestamp. Specifically, all data packets in each data frame can be marked with the same timestamp, or the first data packet or a specified data packet in each data frame can be timestamped. For all data packets in the same data frame, their timestamps are the same. This timestamp marking method can be applied to non-XR services.
[0216] The timestamp marked at this time can be called an internal timestamp.
[0217] In some embodiments, timestamping the data packets in the synchronized data stream includes:
[0218] A user plane General Packet Radio Service Tunneling Protocol GTP-U header of a data packet in the synchronized data stream is timestamped.
[0219] Specifically, the UPF timestamps the data packet, which may be a GTP-U header of the data packet. GTP-U stands for GPRS Tunnelling Protocol for the user plane, and GPRS stands for General Packet Radio Service.
[0220] In some embodiments, the data processing method further includes:
[0221] Receive the packet detection rule PDR and flow synchronization processing indication sent by the control plane network function entity, the flow synchronization processing indication is used to trigger the synchronization processing of the associated data flow, or the flow synchronization processing indication is used to trigger the synchronization processing of the associated data flow and timestamp the data packets in the synchronized data flow.
[0222] Specifically, the synchronization processing and timestamp marking performed by the UPF may be triggered based on a corresponding request sent by the control plane network function entity.
[0223] UPF receives the packet detection rule (PDR) and flow synchronization processing indication sent by the control plane network function entity (such as AF, PCF, SMF, etc.), and determines that synchronization processing and timestamp marking are required. The flow synchronization processing indication is used to trigger synchronization processing of the associated data flow, or to trigger synchronization processing of the associated data flow and timestamp marking of the data packets in the synchronized data flow.
[0224] In the data processing method provided in the embodiment of the present application, the UPF uses time information to synchronize and timestamp the associated data streams, and sends the timestamp-marked data packets to the RAN node, so that the RAN node can optimize resource scheduling based on the timestamp marking of the data packets.
[0225] Figure 4 This is a second flow chart of the data processing method provided in the embodiment of the present application, such as Figure 4 As shown, the execution subject of the method is a RAN node, such as a base station, etc. The method includes at least the following steps:
[0226] Step 401: Receive the synchronized and timestamped data packet sent by UPF.
[0227] Step 402: Perform resource scheduling based on the timestamp marked on the data packet.
[0228] Specifically, the RAN node receives data packets sent by the UPF, which have been synchronized and time-stamped, and then optimizes resource scheduling according to the time stamps marked on the data packets, for example, to support synchronous scheduling.
[0229] The data processing method provided in the embodiment of the present application is that the RAN node receives the data packets that the UPF uses time information to perform synchronization processing and timestamp marking, thereby optimizing resource scheduling.
[0230] In some embodiments, step 402: performing resource scheduling based on the timestamp marked on the data packet includes:
[0231] Determine the order of sending data packets in the data stream to the terminal based on the size of the timestamp value marked in the data packet; or,
[0232] Determine the order of sending PDU sets in the data stream to the terminal based on the timestamp value of the data packet mark; or,
[0233] Determine the order of sending data frames in the data stream to the terminal based on the size of the timestamp value marked in the data packet; or,
[0234] Based on the size of the PDU set sequence number, the order of sending PDU sets with the same timestamp in the data stream to the terminal is determined.
[0235] Specifically, the RAN node uses the data packet marked with the timestamp sent by the UPF to perform resource scheduling, which can be implemented in multiple ways, including:
[0236] ① According to the size of the timestamp value of the data packet, determine the order of sending data packets or PDUs or PDU sets or data frames in the data stream. For example, data packets or PDUs or PDU sets or data frames with smaller parameter values, that is, data packets or PDUs or PDU sets or data frames received by 5GS first, are sent to the terminal first.
[0237] ② For PDU sets with the same timestamp in the data stream, the order of sending the PDU sets is determined according to the size of the PDU set sequence number (PDU Set Sequence Number). For example, the one with a smaller sequence number is sent to the terminal first.
[0238] Figure 5 This is a third flow chart of the data processing method provided in the embodiment of the present application, such as Figure 5 As shown, the execution subject of the method is a control plane network function entity, such as AF, PCF, SMF, etc. The method includes at least the following steps:
[0239] Step 501: Send time information to UPF, where the time information is used to synchronize associated data streams and / or timestamp data packets in the synchronized data streams.
[0240] Specifically, the control plane network function entity may send time information to the UPF, and the time information may be used to synchronize associated data streams and / or to timestamp data packets in the synchronized data streams.
[0241] The data processing method provided in the embodiment of the present application is that the control plane network function entity sends time information to the UPF, so that the UPF can use the time information to synchronize and timestamp the associated data streams, and send the timestamp-marked data packets to the RAN node, so that the RAN node can optimize resource scheduling based on the timestamp of the data packet.
[0242] In some embodiments, the time information includes one or more of the following:
[0243] Packet timestamp;
[0244] The correspondence between RTP timestamp and NTP timestamp;
[0245] The second delay between the communication system and the AS.
[0246] Specifically, the time information that the control plane network function entity can send to the UPF includes: data packet timestamp, the correspondence between the RTP timestamp and the NTP timestamp, the second delay between the communication system and the AS, etc.
[0247] In some embodiments, the data processing method further includes:
[0248] Send PDR and stream synchronization processing instructions to UPF;
[0249] The stream synchronization processing indication is used to trigger synchronization processing of the associated data stream, or the stream synchronization indication is used to trigger synchronization processing of the associated data stream and timestamp marking of data packets in the synchronized data stream.
[0250] Specifically, when the control plane network function entity sends the PDR to the UPF, it can also send a stream synchronization processing indication to trigger the UPF to synchronize the associated data stream, or trigger the UPF to synchronize the associated data stream and timestamp the data packets in the synchronized data stream.
[0251] The technical solution of the embodiments of the present application is further described below through several specific examples.
[0252] Example 1: UPF synchronizes different data streams based on the timestamp contained in the RTP header, the NTP timestamp and RTP timestamp contained in the SR sender report packet of RTCP, and marks the timestamp on the GTP-U header to assist NG-RAN resource scheduling.
[0253] Figure 6 This is a fourth flow chart of the data processing method provided in the embodiment of the present application, such as Figure 6 As shown, the method at least includes:
[0254] Step 1a: Establish a PDU session to access XR services (for example, the network slice type is XR services) or non-XR services.
[0255] Step 2b: AF sends a request to the PCF by invoking the creation of an AF session with specific QoS (Nnef_AFsessionWithQoS_Create). The request contains a flow synchronization processing indication for indicating the synchronization processing and timestamp marking of data flows associated with specific services. The request may contain the UE address, AF identifier (ID), flow description (such as source and destination IP addresses, port numbers, etc.). AF can also provide the information of the above request before the PDU session is established.
[0256] Step 2: The PCF generates Policy and Charging Control (PCC) rules. The PCC rules contain a flow synchronization processing indication and a service data flow filter. The PCF sends the PCC rules to the SMF through the notification of session management policy control update (Npcf_SMPolicyControl_Update Notify).
[0257] Step 3: The SMF generates a QoS profile and an N4 rule based on the PCC rules. The QoS profile and the N4 rule contain a flow synchronization processing indication.
[0258] Step 4: The SMF sends the QoS profile to the NG-RAN through the AMF and sends the N4 rule to the UPF.
[0259] Step 5: When the UPF receives the downlink data flow sent by the AS, it determines that synchronization processing and timestamp marking are required based on the flow synchronization processing indication and the PDR. ① For receiving RTP packets, the UPF synchronizes different data flows respectively according to the timestamps contained in the RTP header, the NTP timestamp and the RTP timestamp contained in the RTCP SR packet in different data flows, and determines the timestamp. For example, by using the SR packet <NTP timestamp, RTP timestamp> to locate the audio frame RTP timestamp and the video frame RTP timestamp on the absolute time axis NTP, the relative time relationship between the audio frame and the video frame can be determined. ② For receiving SRTP packets, the UPF synchronizes different data flows respectively according to the timestamps contained in the SRTP header in different data flows, and determines the timestamp.
[0260] The UPF marks the internal timestamp on each user plane data packet GTP-U header. The marked timestamp can have three granularities:
[0261] ①PDU granularity: a timestamp is assigned to each PDU. For example, for non-XR services, the data packets are timestamped.
[0262] ②PDU set granularity: assign a corresponding timestamp to each PDU set, and the timestamps of all data packets in each PDU set are the same. This method requires first determining the PDU set. For example, the timestamps on each RTP packet of a video frame are the same, and a video frame has a large amount of data and may require multiple RTP packets to be transmitted. In this case, it is necessary to first determine the different PDU sets in the frame and then assign timestamps to each PDU set. For all data packets in the same PDU set, their timestamps are the same.
[0263] ③ Frame granularity: Assign a corresponding timestamp to each data frame, and the timestamps of all data packets in each data frame are the same. It can be used for non-XR services.
[0264] Step 6: UPF sends the timestamped data packet to NG-RAN.
[0265] Step 7: NG-RAN adjusts resource scheduling (e.g., synchronous scheduling) according to the timestamp contained in the GTP-U header, including but not limited to the following methods:
[0266] ① The order of sending data packets / PDU sets / data frames is determined according to the size of the timestamp value. For example, the data frame / PDU set with a smaller parameter value (i.e., the data frame / PDU set received by 5GS first) is sent to the UE first.
[0267] ② For PDU sets with the same timestamp, the order of sending them to the UE is determined according to the value of the "PDU Set Sequence Number" parameter, for example, the smaller value is sent first.
[0268] Example 2: UPF synchronizes different data streams based on the local clock (5G clock) and timestamps the GTP-Uheader to assist in NG-RAN resource scheduling. The data processing method specifically includes:
[0269] Step 1a: Establish a PDU session to access XR services (for example, the network slice type is XR services) or non-XR services.
[0270] Step 2b, AF sends a request to PCF by calling Nnef_AFsessionWithQoS_Create. The request contains a stream synchronization instruction, which is used to indicate the synchronization and timestamp marking of the data stream associated with a specific service. The request may contain the UE address, AF identifier, and stream description (for example, source and destination IP addresses, port numbers, etc.). AF can also provide the above requested information before the PDU session is established.
[0271] Step 2: PCF generates PCC rules, which include flow synchronization processing instructions and service data flow filters. PCF sends the PCC rules to SMF via Npcf_SMPolicyControl_Update Notify.
[0272] Step 3: SMF generates QoS configuration and N4 rules based on PCC rules. QoS configuration and N4 rules include flow synchronization processing instructions.
[0273] Step 4: SMF sends the QoS configuration to NG-RAN via AMF and sends the N4 rule to UPF.
[0274] Step 5: When UPF receives the downlink data stream sent by AS, it determines the need for synchronization and timestamp based on the stream synchronization indication and PDR. UPF synchronizes different data streams to the local clock (e.g., 5G clock) and assigns timestamps to data packets based on the local clock. UPF marks the timestamp in the GTP-U header of each user plane data packet, corresponding to three marking granularities. The timestamp can be assigned in the following ways:
[0275] ① Frame granularity: The absolute time of the local clock corresponding to the moment when the first data packet of each data frame is received is used as the timestamp corresponding to the data frame. The timestamps of all data packets in each data frame are the same.
[0276] ②PDU set granularity: The absolute time of the local clock corresponding to the moment of receiving the first data packet of each PDU set is used as the timestamp corresponding to the PDU set. The timestamps of all data packets in each PDU set are the same.
[0277] ③PDU granularity: Determine the order of data packets based on the timestamp and sequence number contained in the RTP header, and mark the timestamps in sequence.
[0278] Step 6: UPF sends the timestamped data packet to NG-RAN.
[0279] Step 7: NG-RAN adjusts resource scheduling (e.g., synchronous scheduling) according to the timestamp contained in the GTP-U header, including but not limited to the following methods:
[0280] ① The order of sending data packets / PDU sets / data frames is determined according to the size of the timestamp value. For example, the data frame / PDU set with a smaller parameter value (i.e., the data frame / PDU set received by 5GS first) is sent to the UE first.
[0281] ② For PDU sets with the same timestamp, the order of sending them to the UE is determined according to the value of the "PDU Set Sequence Number" parameter, for example, the smaller value is sent first.
[0282] Example 3: UPF synchronizes different data streams based on the N6 delay detected between UPF and different ASs (optionally, based on the timestamp contained in the RTP header, the NTP timestamp and RTP timestamp contained in the SR packet of RTCP, or based on the timestamp contained in the SRTP header), and marks the timestamp on the GTP-U header to assist in NG-RAN resource scheduling. This solution can support scenarios where downlink data streams come from the same or different ASs (such as NTP servers), and the NTPs of different ASs may be different.
[0283] Step 1a: Establish a PDU session to access XR services (for example, the network slice type is XR services) or non-XR services.
[0284] Step 2b, AF sends a request to PCF by calling Nnef_AFsessionWithQoS_Create. The request contains a stream synchronization processing indication, which is used to indicate synchronization and timestamping of data streams associated with a specific service. It may also contain UE address, AF identifier, and stream description (e.g., source and destination IP addresses, port numbers, etc.). AF can also provide the requested information before the PDU session is established.
[0285] Step 2: PCF generates PCC rules, which include flow synchronization processing instructions and service data flow filters. PCF sends the PCC rules to SMF via notification Npcf_SMPolicyControl_Update Notify.
[0286] Step 3: SMF generates QoS configuration and N4 rules based on PCC rules. QoS configuration and N4 rules include flow synchronization processing instructions.
[0287] Step 4: SMF sends the QoS configuration to NG-RAN via AMF and sends the N4 rule to UPF.
[0288] Step 5: UPF determines that synchronization processing and timestamp marking are required based on the flow synchronization processing indication and PDR. When UPF receives downstream data streams sent from different ASs, and the NTP absolute time of different ASs may be different (for example, the clock accuracy of the NTP server is different), UPF needs to detect the N6 delay (time difference) between UPF and different ASs. The detection method includes but is not limited to the following two methods:
[0289] ① When UPF detects an uplink data packet with the destination address as AS, it adds a delay detection indication in the IPv6 extension header or INT header. When AS sends a downlink packet, it adds a timestamp in the extension header. UPF calculates the delay based on the time and timestamp of receiving the downlink packet.
[0290] ②UPF generates an echo message and sends it to AS. The calculated delay is RTT / 2.
[0291] ③Synchronize with AS by sending gPTP messages and calculate the delay.
[0292] UPF synchronizes different data streams based on the latency between different ASs. Optionally, for RTP packets, different data streams are synchronized based on the timestamps contained in the RTP headers of different data streams, the NTP timestamps contained in the SR packets of RTCP, and the RTP timestamps. Optionally, for SRTP packets, different data streams are synchronized based on the timestamps contained in the SRTP headers.
[0293] UPF determines the timestamp and marks the timestamp in each user plane data packet GTP-Uheader. As in Example 1, the marked timestamp can have three granularities.
[0294] Step 6: UPF sends the timestamped data packet to NG-RAN.
[0295] Step 7: NG-RAN adjusts resource scheduling (e.g., synchronous scheduling) according to the timestamp contained in the GTP-U header, including but not limited to the following methods:
[0296] ① The order of sending data packets / PDU sets / data frames is determined according to the size of the timestamp value. For example, the data frame / PDU set with a smaller parameter value (i.e., the data frame / PDU set received by 5GS first) is sent to the UE first.
[0297] ② For PDU sets with the same timestamp, the order of sending them to the UE is determined according to the value of the "PDU Set Sequence Number" parameter, for example, the smaller value is sent first.
[0298] Example 4: AF sends the correspondence between the RTP timestamp and the NTP timestamp (for example, the NTP timestamp and the RTP timestamp contained in the SR packet of RTCP, or the NTP timestamp and the RTP timestamp contained in the SRTP header) to the network. UPF synchronizes different data based on the correspondence between the RTP timestamp and the NTP timestamp obtained from the control plane (AF / PCF / SMF), and optionally based on the delay between UPF and AS, and marks the timestamp on the GTP-U header to assist NG-RAN resource scheduling.
[0299] Step 1a: Establish a PDU session to access XR services (for example, the network slice type is XR services) or non-XR services.
[0300] Step 1b, AF sends a request to PCF by calling Nnef_AFsessionWithQoS_Create. The request contains a stream synchronization processing indication, which is used to indicate the synchronization and timestamp marking of the data stream associated with a specific service, and / or contains the correspondence between the RTP timestamp and the NTP timestamp (for example, the NTP timestamp and RTP timestamp contained in the SR packet of RTCP, or the NTP timestamp and RTP timestamp contained in the SRTPheader). Optionally, for synchronization between AS and 5G system, for example, AS is IMS, the AF request may include the delay (time difference) between AS and 5G system. And it may include UE address, AF identifier, stream description (for example, source and destination IP addresses, port number, etc.). AF can also provide the requested information before the PDU session is established.
[0301] Step 2: PCF generates PCC rules, which include stream synchronization processing instructions, and / or the correspondence between RTP timestamps and NTP timestamps, and / or the delay (time difference) between AS and 5G system. It also includes service data flow filters. PCF sends PCC rules to SMF via Npcf_SMPolicyControl_Update Notify.
[0302] Step 3: SMF generates QoS configuration and N4 rules based on PCC rules. QoS configuration and N4 rules include the aforementioned stream synchronization processing indication, the correspondence between RTP timestamp and NTP timestamp, and the delay (time difference) between AS and 5G system.
[0303] Step 4: SMF sends the QoS configuration to NG-RAN via AMF and sends the N rule to UPF.
[0304] Step 5. When UPF receives the downlink data stream sent by AS, based on the stream synchronization processing indication, and / or the correspondence between the RTP timestamp and the NTP timestamp, and the PDR determines that synchronization processing and timestamp marking are required. UPF performs time synchronization on different data streams based on the correspondence between the RTP timestamp and the NTP timestamp, and optionally based on the delay with AS (the same detection method as in Example 3). If the received N4 rule contains the delay between AS and the 5G system, different data streams are time synchronized based on this information. UPF determines the timestamp and marks the timestamp in each user plane data packet GTP-Uheader. As in Example 1, the marked timestamp can have three granularities.
[0305] Step 6: UPF sends the timestamped data packet to NG-RAN.
[0306] Step 7: NG-RAN adjusts resource scheduling (e.g., synchronous scheduling) according to the timestamp contained in the GTP-U header, including but not limited to the following methods:
[0307] ① The order of sending data packets / PDU sets / data frames is determined according to the size of the timestamp value. For example, the data frame / PDU set with a smaller parameter value (i.e., the data frame / PDU set received by 5GS first) is sent to the UE first.
[0308] ② For PDU sets with the same timestamp, the order of sending them to the UE is determined according to the value of the "PDU Set Sequence Number" parameter, for example, the smaller value is sent first.
[0309] Figure 7 701 is a schematic diagram of the structure of the UPF provided in an embodiment of the present application. The UPF includes a memory 701, a transceiver 702, and a processor 703:
[0310] The memory 701 is used to store computer programs; the transceiver 702 is used to send and receive data under the control of the processor 703.
[0311] Specifically, the transceiver 702 is used to receive and send data under the control of the processor 703.
[0312] Among them, Figure 7 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 703 and memory represented by memory 701. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface.
[0313] The transceiver 702 may be a plurality of components, i.e., a transmitter and a receiver, and provides a unit for communicating with various other devices on a transmission medium, such as a wireless channel, a wired channel, an optical cable, etc. The processor 703 is responsible for managing the bus architecture and general processing, and the memory 701 may store data used by the processor 703 when performing operations.
[0314] The processor 703 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD). The processor may also adopt a multi-core architecture.
[0315] The processor 703 is configured to read the computer program in the memory 701 and perform the following operations:
[0316] Synchronize the associated data streams;
[0317] Timestamping the data packets in the synchronized data stream;
[0318] The data packet with the timestamp is sent to the radio access network RAN node.
[0319] In some embodiments, the synchronizing the associated data streams includes:
[0320] Based on the time information, the associated data streams are synchronized.
[0321] In some embodiments, the time information includes a data packet timestamp, and the synchronizing the associated data streams based on the time information includes:
[0322] The associated data streams are synchronized based on the data packet timestamps.
[0323] In some embodiments, when the data packet is a real-time transport protocol RTP packet, the data packet timestamp is an RTP header timestamp; or,
[0324] In the case where the data packet is a Real-time Transport Control Protocol RTCP packet, the RTCP packet includes a sender report, the sender report includes a Network Time Protocol NTP timestamp and an RTP timestamp, and the data packet timestamp is the NTP timestamp and the RTP timestamp; or,
[0325] In the case that the data packet is a Secure Real-time Transport Protocol (SRTP) packet, the data packet timestamp is a SRTP header timestamp.
[0326] In some embodiments, the time information includes a local clock of the communication system, and the synchronizing the associated data streams based on the time information includes:
[0327] The associated data streams are synchronized to the local clock.
[0328] In some embodiments, the step of timestamping the data packets in the synchronized data stream includes:
[0329] Corresponding the receiving time of the first data packet in each data frame in the data stream to the absolute time of the local clock is used as the timestamp of each data frame in the data stream, and marking the data packets in each data frame in the data stream with the timestamp; or,
[0330] The receiving time of the first data packet in each PDU set in the data stream corresponds to the absolute time of the local clock as the timestamp of each PDU set in the data stream, and the data packets in each PDU set in the data stream are timestamped; or
[0331] Based on the sequence number and / or timestamp contained in the RTP header in the data stream, the order of different data packets in the RTP header is determined, and the data packets in the RTP header in the data stream are timestamped based on the order of the data packets.
[0332] In some embodiments, the time information includes a first delay between a user plane function UPF and a server, the server being an application server AS or an NTP server;
[0333] The synchronous processing of the associated data stream based on the time information includes:
[0334] Based on the first time delay, the associated data streams are synchronously processed.
[0335] In some embodiments, the time information includes a data packet timestamp and a first delay between the UPF and a server, the server being an AS or an NTP server;
[0336] The synchronous processing of the associated data stream based on the time information includes:
[0337] The associated data streams are synchronized based on the data packet timestamp and the first delay.
[0338] In some embodiments, the processor 703 is used to read the computer program in the memory 701 and further perform the following operations:
[0339] The first time delay is detected.
[0340] In some embodiments, the time information includes a correspondence between an RTP timestamp and an NTP timestamp, and the synchronizing the associated data streams based on the time information includes:
[0341] Based on the corresponding relationship between the RTP timestamp and the NTP timestamp, synchronization processing is performed on the associated data streams.
[0342] In some embodiments, the time information includes a second delay between the communication system and the AS, and the synchronizing the associated data stream based on the time information includes:
[0343] Based on the second delay, the associated data streams are synchronously processed.
[0344] In some embodiments, the time information includes a correspondence between the RTP timestamp and the NTP timestamp, and a second delay between the communication system and the AS;
[0345] The synchronous processing of the associated data stream based on the time information includes:
[0346] Based on the corresponding relationship between the RTP timestamp and the NTP timestamp, and the second delay, the associated data streams are synchronized.
[0347] In some embodiments, the step of timestamping the data packets in the synchronized data stream includes:
[0348] Allocating a timestamp to each PDU in the data stream, and marking the data packets in the data stream with a timestamp based on the timestamp; or,
[0349] Assigning a timestamp to each PDU set in the data stream, and marking the data packets in the data stream with a timestamp based on the timestamp; or,
[0350] A timestamp is assigned to each data frame in the data stream, and based on the timestamp, the data packets in the data stream are timestamped.
[0351] In some embodiments, the time information includes one or more of the following:
[0352] Packet timestamp;
[0353] The correspondence between RTP timestamp and NTP timestamp;
[0354] The local clock of the communication system;
[0355] A first delay between the UPF and a server, wherein the server is an application server AS or an NTP server;
[0356] The second delay between the communication system and the AS.
[0357] In some embodiments, the synchronizing the associated data streams based on the time information includes:
[0358] Based on the one or more items included in the time information, the associated data streams are synchronized.
[0359] In some embodiments, the step of timestamping the data packets in the synchronized data stream includes:
[0360] A user plane General Packet Radio Service Tunneling Protocol GTP-U header of a data packet in the synchronized data stream is timestamped.
[0361] In some embodiments, the processor 703 is used to read the computer program in the memory 701 and further perform the following operations:
[0362] Receive a packet detection rule PDR and a flow synchronization processing indication sent by a control plane network function entity, wherein the flow synchronization processing indication is used to trigger synchronization processing of an associated data flow, or the flow synchronization processing indication is used to trigger synchronization processing of an associated data flow and timestamp marking of data packets in the synchronized data flow.
[0363] It should be noted here that the above-mentioned UPF provided in the embodiment of the present invention can implement all the method steps implemented by the above-mentioned method embodiment with UPF as the execution body, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.
[0364] Figure 8 80 is a schematic diagram of the structure of a RAN node provided in an embodiment of the present application. The RAN node includes a memory 801, a transceiver 802, and a processor 803:
[0365] The memory 801 is used to store computer programs; the transceiver 802 is used to send and receive data under the control of the processor 803.
[0366] Specifically, the transceiver 802 is used to receive and send data under the control of the processor 803.
[0367] Among them, Figure 8In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 803 and memory represented by memory 801. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface.
[0368] The transceiver 802 may be a plurality of components, i.e., a transmitter and a receiver, and provides a unit for communicating with various other devices on a transmission medium, such as a wireless channel, a wired channel, an optical cable, etc. The processor 803 is responsible for managing the bus architecture and general processing, and the memory 801 may store data used by the processor 803 when performing operations.
[0369] The processor 803 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD). The processor may also adopt a multi-core architecture.
[0370] The processor 803 is configured to read the computer program in the memory 801 and perform the following operations:
[0371] Receive synchronized and time-stamped data packets sent by UPF;
[0372] Resource scheduling is performed based on the timestamp marked on the data packet.
[0373] In some embodiments, the resource scheduling based on the timestamp marked on the data packet includes:
[0374] Determining the order of sending data packets in the data stream to the terminal based on the size of the timestamp value marked by the data packet; or,
[0375] Determine the order of sending the PDU sets in the data stream to the terminal based on the size of the timestamp value marked by the data packet; or,
[0376] Determine the order of sending data frames in the data stream to the terminal based on the size of the timestamp value marked by the data packet; or,
[0377] Based on the size of the PDU set sequence number, the order of sending PDU sets with the same timestamp in the data stream to the terminal is determined.
[0378] It should be noted here that the above-mentioned RAN node provided in the embodiment of the present invention can implement all the method steps implemented by the above-mentioned method embodiment with the RAN node as the execution subject, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.
[0379] Fig. 9 90 is a schematic diagram of the structure of a control plane network function entity provided in an embodiment of the present application. The control plane network function entity includes a memory 901, a transceiver 902, and a processor 903:
[0380] The memory 901 is used to store computer programs; the transceiver 902 is used to send and receive data under the control of the processor 903.
[0381] Specifically, the transceiver 902 is used to receive and send data under the control of the processor 903.
[0382] Among them, Fig. 9 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking various circuits of one or more processors represented by processor 903 and memory represented by memory 901. The bus architecture may also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface.
[0383] The transceiver 902 may be a plurality of components, i.e., a transmitter and a receiver, and provides a unit for communicating with various other devices on a transmission medium, such as a wireless channel, a wired channel, an optical cable, etc. The processor 903 is responsible for managing the bus architecture and general processing, and the memory 901 may store data used by the processor 903 when performing operations.
[0384] The processor 903 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD). The processor may also adopt a multi-core architecture.
[0385] The processor 903 is configured to read the computer program in the memory 901 and perform the following operations:
[0386] Time information is sent to the UPF, where the time information is used to synchronize the associated data stream and / or timestamp the data packets in the synchronized data stream.
[0387] In some embodiments, the processor 903 is used to read the computer program in the memory 901 and further perform the following operations:
[0388] Sending a PDR and a stream synchronization processing indication to the UPF;
[0389] The stream synchronization processing indication is used to trigger synchronization processing of the associated data stream, or the stream synchronization indication is used to trigger synchronization processing of the associated data stream and timestamp the data packets in the synchronized data stream.
[0390] In some embodiments, the time information includes one or more of the following:
[0391] Packet timestamp;
[0392] The correspondence between RTP timestamp and NTP timestamp;
[0393] The second delay between the communication system and the AS.
[0394] It should be noted here that the above-mentioned control plane network function entity provided in the embodiment of the present invention can implement all the method steps implemented by the above-mentioned method embodiment with the control plane network function entity as the execution body, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.
[0395] Fig.10 is one of the structural diagrams of the data processing device provided in the embodiment of the present application, such as Fig.10 As shown, the device at least includes:
[0396] A synchronization processing unit 1001, used for performing synchronization processing on associated data streams;
[0397] A timestamp marking unit 1002, used to timestamp the data packets in the synchronized data stream;
[0398] The data packet sending unit 1003 is configured to send the data packet marked with a timestamp to a radio access network RAN node.
[0399] In some embodiments, the synchronization processing unit 1001 includes:
[0400] The synchronization processing module is used to perform synchronization processing on the associated data stream based on time information.
[0401] In some embodiments, the time information includes a data packet timestamp, and the synchronization processing module is further configured to:
[0402] The associated data streams are synchronized based on the data packet timestamps.
[0403] In some embodiments, when the data packet is a real-time transport protocol RTP packet, the data packet timestamp is an RTP header timestamp; or,
[0404] In the case where the data packet is a Real-time Transport Control Protocol RTCP packet, the RTCP packet includes a sender report, the sender report includes a Network Time Protocol NTP timestamp and an RTP timestamp, and the data packet timestamp is the NTP timestamp and the RTP timestamp; or,
[0405] In the case that the data packet is a Secure Real-time Transport Protocol (SRTP) packet, the data packet timestamp is a SRTP header timestamp.
[0406] In some embodiments, the time information includes a local clock of the communication system, and the synchronization processing module is further configured to:
[0407] The associated data streams are synchronized to the local clock.
[0408] In some embodiments, the timestamp marking unit 1002 is further configured to:
[0409] Corresponding the receiving time of the first data packet in each data frame in the data stream to the absolute time of the local clock is used as the timestamp of each data frame in the data stream, and marking the data packets in each data frame in the data stream with the timestamp; or,
[0410] The receiving time of the first data packet in each PDU set in the data stream corresponds to the absolute time of the local clock as the timestamp of each PDU set in the data stream, and the data packets in each PDU set in the data stream are timestamped; or
[0411] Based on the sequence number and / or timestamp contained in the RTP header in the data stream, the order of different data packets in the RTP header is determined, and the data packets in the RTP header in the data stream are timestamped based on the order of the data packets.
[0412] In some embodiments, the time information includes a first delay between a user plane function UPF and a server, the server being an application server AS or an NTP server;
[0413] The synchronization processing module is also used for:
[0414] Based on the first time delay, the associated data streams are synchronously processed.
[0415] In some embodiments, the time information includes a data packet timestamp and a first delay between the UPF and a server, the server being an AS or an NTP server;
[0416] The synchronization processing module is also used for:
[0417] The associated data streams are synchronized based on the data packet timestamp and the first delay.
[0418] In some embodiments, the apparatus further comprises:
[0419] A detection unit is used to detect the first time delay.
[0420] In some embodiments, the time information includes a correspondence between an RTP timestamp and an NTP timestamp, and the synchronization processing module is further used to:
[0421] Based on the corresponding relationship between the RTP timestamp and the NTP timestamp, synchronization processing is performed on the associated data streams.
[0422] In some embodiments, the time information includes a second delay between the communication system and the AS, and the synchronization processing module is further used to:
[0423] Based on the second delay, the associated data streams are synchronously processed.
[0424] In some embodiments, the time information includes a correspondence between the RTP timestamp and the NTP timestamp, and a second delay between the communication system and the AS;
[0425] The synchronization processing module is also used for:
[0426] Based on the corresponding relationship between the RTP timestamp and the NTP timestamp, and the second delay, the associated data streams are synchronized.
[0427] In some embodiments, the timestamp marking unit 1002 is further configured to:
[0428] Allocating a timestamp to each PDU in the data stream, and marking the data packets in the data stream with a timestamp based on the timestamp; or,
[0429] Assigning a timestamp to each PDU set in the data stream, and marking the data packets in the data stream with a timestamp based on the timestamp; or,
[0430] A timestamp is assigned to each data frame in the data stream, and based on the timestamp, the data packets in the data stream are timestamped.
[0431] In some embodiments, the time information includes one or more of the following:
[0432] Packet timestamp;
[0433] The correspondence between RTP timestamp and NTP timestamp;
[0434] The local clock of the communication system;
[0435] A first delay between the UPF and a server, wherein the server is an application server AS or an NTP server;
[0436] The second delay between the communication system and the AS.
[0437] In some embodiments, the synchronization processing module is further used to:
[0438] Based on the one or more items included in the time information, the associated data streams are synchronized.
[0439] In some embodiments, the timestamp marking unit 1002 is further configured to:
[0440] A user plane General Packet Radio Service Tunneling Protocol GTP-U header of a data packet in the synchronized data stream is timestamped.
[0441] In some embodiments, the apparatus further comprises:
[0442] A first receiving unit is used to receive a packet detection rule PDR and a flow synchronization processing indication sent by a control plane network function entity, wherein the flow synchronization processing indication is used to trigger synchronization processing of an associated data stream, or the flow synchronization processing indication is used to trigger synchronization processing of an associated data stream and timestamp marking of data packets in the synchronized data stream.
[0443] Fig.11 This is a second structural diagram of a data processing device provided in an embodiment of the present application, such as Fig.11 As shown, the device at least includes:
[0444] The second receiving unit 1101 is used to receive the synchronized and timestamped data packets sent by the UPF;
[0445] The resource scheduling unit 1102 is used to perform resource scheduling based on the timestamp marked on the data packet.
[0446] In some embodiments, the resource scheduling unit is further configured to:
[0447] Determining the order of sending data packets in the data stream to the terminal based on the size of the timestamp value marked by the data packet; or,
[0448] Determine the order of sending the PDU sets in the data stream to the terminal based on the size of the timestamp value marked by the data packet; or,
[0449] Determine the order of sending data frames in the data stream to the terminal based on the size of the timestamp value marked by the data packet; or,
[0450] Based on the size of the PDU set sequence number, the order of sending PDU sets with the same timestamp in the data stream to the terminal is determined.
[0451] Fig.12 This is a third structural diagram of a data processing device provided in an embodiment of the present application, such as Fig.12 As shown, the device at least includes:
[0452] The time information sending unit 1201 is used to send time information to the UPF, where the time information is used to synchronize the associated data stream and / or timestamp the data packets in the synchronized data stream.
[0453] In some embodiments, the apparatus further comprises:
[0454] A PDR and stream synchronization indication sending unit, used to send a PDR and a stream synchronization processing indication to the UPF;
[0455] The stream synchronization processing indication is used to trigger synchronization processing of the associated data stream, or the stream synchronization indication is used to trigger synchronization processing of the associated data stream and timestamp the data packets in the synchronized data stream.
[0456] In some embodiments, the time information includes one or more of the following:
[0457] Packet timestamp;
[0458] The correspondence between RTP timestamp and NTP timestamp;
[0459] The second delay between the communication system and the AS.
[0460] The methods and devices provided in the various embodiments of the present application are based on the same application concept. Since the methods and devices solve the problems in a similar manner, the implementation of the devices and methods can be referred to, and the repeated parts will not be repeated.
[0461] It should be noted that the division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0462] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (Processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.
[0463] It should be noted here that the above-mentioned device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those in the method embodiment will not be described in detail here.
[0464] On the other hand, an embodiment of the present application further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the data processing method provided in the above embodiments, including:
[0465] Synchronize the associated data streams; timestamp the data packets in the synchronized data streams; send the timestamped data packets to a radio access network RAN node; or,
[0466] Receiving a synchronized and time-stamped data packet sent by the UPF; performing resource scheduling based on the time stamp marked on the data packet; or,
[0467] Time information is sent to the UPF, where the time information is used to synchronize the associated data stream and / or timestamp the data packets in the synchronized data stream.
[0468] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.
[0469] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0470] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer executable instructions. These computer executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0471] These processor executable instructions may also be stored in a processor readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the processor readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0472] These processor-executable instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0473] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A data processing method, characterized in that: include: Synchronize the associated data streams; Timestamping the data packets in the synchronized data stream; The data packet with the timestamp is sent to the radio access network RAN node.
2. The data processing method according to claim 1, characterized in that: The synchronous processing of the associated data streams includes: Based on the time information, the associated data streams are synchronized.
3. The data processing method according to claim 2, characterized in that: The time information includes a data packet timestamp, and the synchronization processing of the associated data stream based on the time information includes: The associated data streams are synchronized based on the data packet timestamps.
4. The data processing method according to claim 3, characterized in that: In the case where the data packet is a Real-time Transport Protocol (RTP) packet, the data packet timestamp is an RTP header timestamp; or, In the case where the data packet is a Real-time Transport Control Protocol RTCP packet, the RTCP packet includes a sender report, the sender report includes a Network Time Protocol NTP timestamp and an RTP timestamp, and the data packet timestamp is the NTP timestamp and the RTP timestamp; or, In the case that the data packet is a Secure Real-time Transport Protocol (SRTP) packet, the data packet timestamp is a SRTP header timestamp.
5. The data processing method according to claim 2, characterized in that: The time information includes a local clock of the communication system, and the synchronization processing of the associated data stream based on the time information includes: The associated data streams are synchronized to the local clock.
6. The data processing method according to claim 5, characterized in that: The step of marking the data packets in the synchronously processed data stream with a timestamp includes: Corresponding the receiving time of the first data packet in each data frame in the data stream to the absolute time of the local clock is used as the timestamp of each data frame in the data stream, and marking the data packets in each data frame in the data stream with the timestamp; or, The receiving time of the first data packet in each protocol data unit set PDU set in the data stream corresponds to the absolute time of the local clock as the timestamp of each PDU set in the data stream, and the data packets in each PDU set in the data stream are timestamped; or Based on the sequence number and / or timestamp contained in the RTP header in the data stream, the order of different data packets in the RTP header is determined, and the data packets in the RTP header in the data stream are timestamped based on the order of the data packets.
7. The data processing method according to claim 2, characterized in that: The time information includes a first time delay between a user plane function UPF and a server, wherein the server is an application server AS or an NTP server; The synchronous processing of the associated data stream based on the time information includes: Based on the first time delay, the associated data streams are synchronously processed.
8. The data processing method according to claim 2, characterized in that: The time information includes a data packet timestamp and a first delay between the UPF and the server, wherein the server is an AS or an NTP server; The synchronous processing of the associated data stream based on the time information includes: The associated data streams are synchronized based on the data packet timestamp and the first delay.
9. The data processing method according to claim 7 or 8, characterized in that: The method further comprises: The first time delay is detected.
10. The data processing method according to claim 2, characterized in that: The time information includes a corresponding relationship between an RTP timestamp and an NTP timestamp, and the synchronization processing of the associated data stream based on the time information includes: Based on the corresponding relationship between the RTP timestamp and the NTP timestamp, synchronization processing is performed on the associated data streams.
11. The data processing method according to claim 2, characterized in that: The time information includes a second time delay between the communication system and the AS, and the synchronizing the associated data stream based on the time information includes: Based on the second time delay, the associated data streams are synchronously processed.
12. The data processing method according to claim 2, characterized in that: The time information includes a correspondence between an RTP timestamp and an NTP timestamp, and a second delay between the communication system and the AS; The synchronous processing of the associated data stream based on the time information includes: Based on the corresponding relationship between the RTP timestamp and the NTP timestamp, and the second delay, the associated data streams are synchronized.
13. The data processing method according to claim 2, characterized in that: The step of marking the data packets in the synchronously processed data stream with a timestamp includes: Allocate a timestamp to each PDU in the data stream, and perform timestamp marking on the data packets in the data stream based on the timestamp; or, Assigning a timestamp to each PDU set in the data stream, and marking the data packets in the data stream with a timestamp based on the timestamp; or, A timestamp is assigned to each data frame in the data stream, and based on the timestamp, the data packets in the data stream are timestamped.
14. The data processing method according to claim 2, characterized in that: The synchronous processing of the associated data stream based on the time information includes: Based on one or more of the data packet timestamp included in the time information, the correspondence between the RTP timestamp and the NTP timestamp, the local clock of the communication system, the first delay between the UPF and the application server AS, the first delay between the UPF and the NTP server, and the second delay between the communication system and AS, the associated data stream is synchronized.
15. The data processing method according to any one of claims 1 to 14, characterized in that: The step of marking the data packets in the synchronously processed data stream with a timestamp includes: A user plane General Packet Radio Service Tunneling Protocol GTP-U header of a data packet in the synchronized data stream is timestamped.
16. The data processing method according to any one of claims 1 to 15, characterized in that: The method further comprises: Receive a packet detection rule PDR and a flow synchronization processing indication sent by a control plane network function entity, wherein the flow synchronization processing indication is used to trigger synchronization processing of an associated data flow, or the flow synchronization processing indication is used to trigger synchronization processing of an associated data flow and timestamp marking of data packets in the synchronized data flow.
17. A data processing method, characterized in that: include: Receive synchronized and time-stamped data packets sent by UPF; Resource scheduling is performed based on the timestamp marked on the data packet.
18. The data processing method according to claim 17, characterized in that: The resource scheduling based on the timestamp marked by the data packet includes: Determining the order of sending data packets in the data stream to the terminal based on the size of the timestamp value marked by the data packet; or, Determine the order of sending the PDU sets in the data stream to the terminal based on the size of the timestamp value marked by the data packet; or, Determine the order of sending data frames in the data stream to the terminal based on the size of the timestamp value marked by the data packet; or, Based on the size of the PDU set sequence number, the order of sending PDU sets with the same timestamp in the data stream to the terminal is determined.
19. A data processing method, characterized in that: include: Time information is sent to the UPF, where the time information is used to synchronize the associated data stream and / or timestamp the data packets in the synchronized data stream.
20. The data processing method according to claim 19, characterized in that: The time information includes one or more of the following: Packet timestamp; The correspondence between RTP timestamp and NTP timestamp; The second delay between the communication system and the AS.
21. The data processing method according to claim 19, characterized in that: The method further comprises: Sending a PDR and a stream synchronization processing indication to the UPF; The stream synchronization processing indication is used to trigger the synchronization processing of the associated data stream, or the stream synchronization indication is used to trigger the synchronization processing of the associated data stream and the timestamp marking of the data packets in the synchronized data stream.
22. A UPF, comprising a memory, a transceiver, and a processor; characterized in that: A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations: Synchronize the associated data streams; Timestamping the data packets in the synchronized data stream; The time-stamped data packet is sent to the RAN node.
23. The UPF according to claim 22, characterized in that The synchronous processing of the associated data streams includes: Based on the time information, the associated data streams are synchronized.
24. The UPF according to claim 23, characterized in that The time information includes a data packet timestamp, and the synchronization processing of the associated data stream based on the time information includes: The associated data streams are synchronized based on the data packet timestamps.
25. The UPF according to claim 24, characterized in that In the case where the data packet is an RTP packet, the data packet timestamp is an RTP header timestamp; or, In the case where the data packet is a Real-time Transport Control Protocol RTCP packet, the RTCP packet includes a sender report, the sender report includes a Network Time Protocol NTP timestamp and an RTP timestamp, and the data packet timestamp is the NTP timestamp and the RTP timestamp; or, In the case that the data packet is a Secure Real-time Transport Protocol (SRTP) packet, the data packet timestamp is a SRTP header timestamp.
26. The UPF of claim 23, wherein: The time information includes a local clock of the communication system, and the synchronization processing of the associated data stream based on the time information includes: The associated data streams are synchronized to the local clock.
27. The UPF according to claim 26, characterized in that The step of marking the data packets in the synchronously processed data stream with a timestamp includes: Corresponding the receiving time of the first data packet in each data frame in the data stream to the absolute time of the local clock is used as the timestamp of each data frame in the data stream, and marking the data packets in each data frame in the data stream with the timestamp; or, The receiving time of the first data packet in each protocol data unit PDU set in the data stream corresponds to the absolute time of the local clock as the timestamp of each PDU set in the data stream, and the data packets in each PDUset in the data stream are timestamped; or Based on the sequence number and / or timestamp contained in the RTP header in the data stream, the order of different data packets in the RTP header is determined, and the data packets in the RTP header in the data stream are timestamped based on the order of the data packets.
28. The UPF of claim 23, wherein: The time information includes a first time delay between a user plane function UPF and a server, wherein the server is an application server AS or an NTP server; The synchronous processing of the associated data stream based on the time information includes: Based on the first time delay, the associated data streams are synchronously processed.
29. The UPF of claim 23, wherein: The time information includes a data packet timestamp and a first delay between the UPF and the server, wherein the server is an AS or an NTP server; The synchronous processing of the associated data stream based on the time information includes: The associated data streams are synchronized based on the data packet timestamp and the first delay.
30. The UPF according to claim 28 or 29, characterized in that The processor is configured to read the computer program in the memory and further perform the following operations: The first time delay is detected.
31. The UPF of claim 23, wherein: The time information includes a corresponding relationship between an RTP timestamp and an NTP timestamp, and the synchronization processing of the associated data stream based on the time information includes: Based on the corresponding relationship between the RTP timestamp and the NTP timestamp, synchronization processing is performed on the associated data streams.
32. The UPF of claim 23, wherein: The time information includes a second time delay between the communication system and the AS, and the synchronizing the associated data stream based on the time information includes: Based on the second time delay, the associated data streams are synchronously processed.
33. The UPF of claim 23, wherein: The time information includes a correspondence between an RTP timestamp and an NTP timestamp, and a second delay between the communication system and the AS; The synchronous processing of the associated data stream based on the time information includes: Based on the corresponding relationship between the RTP timestamp and the NTP timestamp, and the second delay, the associated data streams are synchronized.
34. The UPF of claim 23, wherein: The step of marking the data packets in the synchronously processed data stream with a timestamp includes: Allocate a timestamp to each PDU in the data stream, and perform timestamp marking on the data packets in the data stream based on the timestamp; or, Assigning a timestamp to each PDU set in the data stream, and marking the data packets in the data stream with a timestamp based on the timestamp; or, A timestamp is assigned to each data frame in the data stream, and based on the timestamp, the data packets in the data stream are timestamped.
35. The UPF of claim 23, wherein: The synchronous processing of the associated data stream based on the time information includes: Based on one or more of the data packet timestamp included in the time information, the correspondence between the RTP timestamp and the NTP timestamp, the local clock of the communication system, the first delay between the UPF and the application server AS, the first delay between the UPF and the NTP server, and the second delay between the communication system and AS, the associated data stream is synchronized.
36. The UPF according to any one of claims 22 to 35, characterized in that The step of marking the data packets in the synchronously processed data stream with a timestamp includes: A user plane General Packet Radio Service Tunneling Protocol GTP-U header of a data packet in the synchronized data stream is timestamped.
37. The UPF according to any one of claims 22 to 36, characterized in that The processor is configured to read the computer program in the memory and further perform the following operations: Receive a packet detection rule PDR and a flow synchronization processing indication sent by a control plane network function entity, wherein the flow synchronization processing indication is used to trigger synchronization processing of an associated data flow, or the flow synchronization processing indication is used to trigger synchronization processing of an associated data flow and timestamp marking of data packets in the synchronized data flow.
38. A RAN node, comprising a memory, a transceiver, and a processor; characterized in that: A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations: Receive synchronized and time-stamped data packets sent by UPF; Resource scheduling is performed based on the timestamp marked on the data packet.
39. The RAN node according to claim 38, characterized in that The resource scheduling based on the timestamp marked by the data packet includes: Determining the order of sending data packets in the data stream to the terminal based on the size of the timestamp value marked by the data packet; or, Determine the order of sending the PDU sets in the data stream to the terminal based on the size of the timestamp value marked by the data packet; or, Determine the order of sending data frames in the data stream to the terminal based on the size of the timestamp value marked by the data packet; or, Based on the size of the PDU set sequence number, the order of sending PDU sets with the same timestamp in the data stream to the terminal is determined.
40. A control plane network function entity, comprising a memory, a transceiver, and a processor; characterized in that: A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations: Time information is sent to the UPF, where the time information is used to synchronize the associated data stream and / or timestamp the data packets in the synchronized data stream.
41. The control plane network function entity according to claim 40, characterized in that: The time information includes one or more of the following: Packet timestamp; The correspondence between RTP timestamp and NTP timestamp; The second delay between the communication system and the AS.
42. The control plane network function entity according to claim 40, characterized in that: The processor is configured to read the computer program in the memory and further perform the following operations: Sending a PDR and a stream synchronization processing indication to the UPF; The stream synchronization processing indication is used to trigger synchronization processing of the associated data stream, or the stream synchronization indication is used to trigger synchronization processing of the associated data stream and timestamp the data packets in the synchronized data stream.
43. A data processing device, characterized in that: include: A synchronization processing unit, used for performing synchronization processing on associated data streams; A timestamp marking unit, used for timestamp marking of data packets in the synchronously processed data stream; The data packet sending unit is used to send the data packet marked with the timestamp to the radio access network RAN node.
44. A data processing device, characterized in that: include: A second receiving unit, configured to receive a data packet sent by the UPF that has been synchronized and marked with a timestamp; A resource scheduling unit is used to perform resource scheduling based on the timestamp marked on the data packet.
45. A data processing device, characterized in that: include: A time information sending unit is used to send time information to the UPF, where the time information is used to synchronize the associated data stream and / or timestamp the data packets in the synchronized data stream.
46. A non-transitory readable storage medium, characterized in that The non-transitory readable storage medium stores a computer program, and the computer program is used to enable a computer to execute the data processing method according to any one of claims 1 to 16.
47. A non-transitory readable storage medium, characterized in that The non-transitory readable storage medium stores a computer program, and the computer program is used to enable a computer to execute the data processing method according to any one of claims 17 to 18.
48. A non-transitory readable storage medium, characterized in that The non-transitory readable storage medium stores a computer program, and the computer program is used to enable a computer to execute the data processing method according to any one of claims 19 to 21.
