Data transmission method, device and equipment

By synchronizing the local timestamp identification and network equipment at the terminal, the problem that the terminal cannot mark timestamps for uplink data flow is solved, and the synchronization resource scheduling of the base station is realized.

CN119212065APending Publication Date: 2024-12-27DATANG MOBILE COMM EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310759498.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-26
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

In the prior art, terminals cannot mark timestamps for uplink data streams, resulting in the base station being unable to perform synchronous resource scheduling.

Method used

The terminal timestamps the uplink data packets according to local time, and sends target time-related information through the network device to time synchronization until it is synchronized with the target server or clock source, thereby marking the time stamp.

Benefits of technology

The terminal marks the timestamp for the uplink data stream and assists the base station in synchronous resource scheduling, solving the problem that UEs cannot mark the timestamp for the uplink data stream in the prior art.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119212065A_ABST
    Figure CN119212065A_ABST
Patent Text Reader

Abstract

The invention provides a data transmission method, device and equipment, and the data transmission method comprises the steps: carrying out the timestamp identification of an uplink data packet according to the local time; and sending the identified uplink data packet to the base station. According to the scheme, the terminal can be supported to mark the timestamp for the uplink data flow so as to assist the base station in synchronous resource scheduling, and the problem that the UE cannot mark the timestamp for the uplink data flow to assist the base station in synchronous resource scheduling in the prior art is well solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a data transmission method, device and equipment. Background Art

[0002] In the current technology, it is mainly the User Plan Function (UPF) that identifies the Protocol Data Unit (PDU) set to assist the 5G Radio Access Network (NG-RAN) in resource scheduling; however, there is no solution for the User Equipment (UE) to process the uplink data (for example, it is not possible to mark the timestamp for the uplink data stream) to assist the base station in synchronous resource scheduling.

[0003] As described above, the prior art has the problem that the UE cannot assist the base station in performing synchronous resource scheduling by marking a timestamp for the uplink data stream. Summary of the invention

[0004] The purpose of the present application is to provide a data transmission method, apparatus and device to solve the problem in the prior art that the UE cannot assist the base station in performing synchronous resource scheduling by marking a timestamp for the uplink data stream.

[0005] In order to solve the above technical problems, an embodiment of the present application provides a data transmission method, which is applied to a terminal, including:

[0006] Timestamp the uplink data packets according to the local time;

[0007] Send the marked uplink data packet to the base station.

[0008] Optionally, before timestamping the uplink data packet according to the local time, the method further includes:

[0009] Receiving target time related information sent by network equipment;

[0010] According to the target time related information, the local time is adjusted until it is synchronized with the time of the target server or the target clock source;

[0011] The step of timestamping the uplink data packet according to the local time includes:

[0012] Performing a timestamp on an uplink data packet corresponding to at least one data stream according to the adjusted local time;

[0013] The data flow is an associated data flow; the associated data flow is a data flow for the terminal to execute a target service, or a data flow for the terminal and other terminals to jointly execute a target service.

[0014] Optionally, the target time related information is carried in at least one of the following information:

[0015] Network Time Protocol NTP messages;

[0016] Stream synchronization control strategy.

[0017] Optionally, the timestamping an uplink data packet corresponding to at least one data stream according to the adjusted local time includes:

[0018] In a first manner, a timestamp is performed on an uplink data packet corresponding to at least one data stream according to the adjusted local time;

[0019] The first method includes at least one of the following:

[0020] Mark the timestamp in the protocol data unit (PDU) IP header;

[0021] Mark the timestamp in the Packet Data Convergence Protocol (PDCP) header;

[0022] The timestamp is marked in the radio link layer control protocol RLC header.

[0023] Optionally, the timestamping an uplink data packet corresponding to at least one data stream according to the adjusted local time includes:

[0024] Using a first marking granularity, and according to the adjusted local time, timestamp an uplink data packet corresponding to at least one data flow;

[0025] The first marking granularity includes at least one of the following:

[0026] Frame granularity;

[0027] Protocol data unit set granularity;

[0028] Protocol Data Unit (PDU) granularity.

[0029] Optionally, before receiving the target time related information sent by the network device, the method further includes:

[0030] Send synchronization request to network device;

[0031] The synchronization request is used to request synchronization of the terminal to a target server.

[0032] Optionally, the target time related information is target server information, and the data transmission method further includes:

[0033] Receive the stream synchronization control strategy sent by the network device;

[0034] The sending of a synchronization request to the network device comprises:

[0035] According to the target server information, a synchronization request is sent to the network device.

[0036] The embodiment of the present application also provides a data transmission method, which is applied to a network device, including:

[0037] determining target time related information for providing a reference time for at least one terminal;

[0038] Sending the target time related information to the at least one terminal;

[0039] The terminal is a terminal corresponding to at least one data stream, and the data stream is an associated data stream; the associated data stream refers to a data stream for a terminal to execute a target service, or refers to a data stream for at least two terminals to jointly execute a target service.

[0040] Optionally, the target time related information is carried in at least one of the following information:

[0041] Network Time Protocol NTP messages;

[0042] Stream synchronization control strategy.

[0043] Optionally, the determining target time related information for providing a reference time for at least one terminal includes:

[0044] receiving a synchronization request sent by at least one terminal;

[0045] Determining, according to the synchronization request, target time related information for providing a reference time for at least one terminal;

[0046] The synchronization request is used to request synchronization with a target server.

[0047] Optionally, determining, according to the synchronization request, target time-related information for providing a reference time for at least one terminal includes:

[0048] Replacing the first target address of the packet header of the synchronization request with the address of the target server and sending the address to the target server; receiving response information from the target server to obtain target time related information for providing reference time for at least one terminal;

[0049] Alternatively, target time related information for providing reference time for at least one terminal is obtained according to the synchronization request and a timestamp marked by a target clock source.

[0050] Optionally, before determining, according to the synchronization request, target time related information for providing a reference time for at least one terminal, the method further includes:

[0051] In the case where at least one data stream is determined to be a related data stream, information of the target server or information of the target clock source is determined.

[0052] Optionally, when the first target address of the packet header of the synchronization request is replaced with the address of the target server, before sending the target time related information to the at least one terminal, the method further includes:

[0053] Replacing the second target address of the packet header of the response information with the first target address to obtain a first request response;

[0054] The sending the target time related information to the at least one terminal includes:

[0055] The first request response is sent to the terminal that sends the synchronization request.

[0056] Optionally, the timestamp based on the target clock source mark includes: a first timestamp and a second timestamp based on the target clock source mark;

[0057] The first timestamp is: the first time when the network device receives the synchronization request; the second timestamp is: the second time when the network device sends a response corresponding to the synchronization request.

[0058] Optionally, the target time related information is target server information, and the data transmission method further includes:

[0059] Sending stream synchronization control strategy to the terminal;

[0060] Wherein, the stream synchronization control strategy includes: target server information.

[0061] The embodiment of the present application further provides a data transmission device, which is a terminal and includes a memory, a transceiver, and a processor:

[0062] 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:

[0063] Timestamp the uplink data packets according to the local time;

[0064] The marked uplink data packet is sent to the base station through the transceiver.

[0065] Optionally, the operation further includes:

[0066] Before timestamping the uplink data packet according to the local time, receiving target time related information sent by the network device through the transceiver;

[0067] According to the target time related information, the local time is adjusted until it is synchronized with the time of the target server or the target clock source;

[0068] The step of timestamping the uplink data packet according to the local time includes:

[0069] Performing a timestamp on an uplink data packet corresponding to at least one data stream according to the adjusted local time;

[0070] The data flow is an associated data flow; the associated data flow is a data flow for the terminal to execute a target service, or a data flow for the terminal and other terminals to jointly execute a target service.

[0071] Optionally, the target time related information is carried in at least one of the following information:

[0072] Network Time Protocol NTP messages;

[0073] Stream synchronization control strategy.

[0074] Optionally, the timestamping an uplink data packet corresponding to at least one data stream according to the adjusted local time includes:

[0075] In a first manner, a timestamp is performed on an uplink data packet corresponding to at least one data stream according to the adjusted local time;

[0076] The first method includes at least one of the following:

[0077] Mark the timestamp in the protocol data unit (PDU) IP header;

[0078] Mark the timestamp in the Packet Data Convergence Protocol (PDCP) header;

[0079] The timestamp is marked in the radio link layer control protocol RLC header.

[0080] Optionally, the timestamping an uplink data packet corresponding to at least one data stream according to the adjusted local time includes:

[0081] Using a first marking granularity, and according to the adjusted local time, timestamp an uplink data packet corresponding to at least one data flow;

[0082] The first marking granularity includes at least one of the following:

[0083] Frame granularity;

[0084] Protocol data unit set granularity;

[0085] Protocol Data Unit (PDU) granularity.

[0086] Optionally, the operation further includes:

[0087] Before receiving the target time related information sent by the network device, sending a synchronization request to the network device through the transceiver;

[0088] The synchronization request is used to request synchronization of the terminal to a target server.

[0089] Optionally, the target time related information is target server information, and the operation further includes:

[0090] Receiving, by the transceiver, a stream synchronization control strategy sent by a network device;

[0091] The sending of a synchronization request to the network device comprises:

[0092] According to the target server information, a synchronization request is sent to the network device.

[0093] The embodiment of the present application further provides a data transmission device, which is a network device, including a memory, a transceiver, and a processor:

[0094] 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:

[0095] determining target time related information for providing a reference time for at least one terminal;

[0096] sending, by the transceiver, the target time related information to the at least one terminal;

[0097] The terminal is a terminal corresponding to at least one data stream, and the data stream is an associated data stream; the associated data stream refers to a data stream for a terminal to execute a target service, or refers to a data stream for at least two terminals to jointly execute a target service.

[0098] Optionally, the target time related information is carried in at least one of the following information:

[0099] Network Time Protocol NTP messages;

[0100] Stream synchronization control strategy.

[0101] Optionally, the determining target time related information for providing a reference time for at least one terminal includes:

[0102] Receiving, by the transceiver, a synchronization request sent by at least one terminal;

[0103] Determining, according to the synchronization request, target time related information for providing a reference time for at least one terminal;

[0104] The synchronization request is used to request synchronization with a target server.

[0105] Optionally, determining, according to the synchronization request, target time-related information for providing a reference time for at least one terminal includes:

[0106] Replacing the first target address of the packet header of the synchronization request with the address of the target server and sending the address to the target server through the transceiver; receiving the response information of the target server through the transceiver to obtain the target time related information for providing a reference time for at least one terminal;

[0107] Alternatively, target time related information for providing reference time for at least one terminal is obtained according to the synchronization request and a timestamp marked by a target clock source.

[0108] Optionally, the operation further includes:

[0109] Before determining target time related information for providing reference time for at least one terminal according to the synchronization request, when at least one data stream is determined to be an associated data stream, information of the target server or information of the target clock source is determined.

[0110] Optionally, the operation further includes:

[0111] In the case where the first target address of the packet header of the synchronization request is replaced with the address of the target server, before sending the target time related information to the at least one terminal, the second target address of the packet header of the response information is replaced with the first target address to obtain a first request response;

[0112] The sending the target time related information to the at least one terminal includes:

[0113] The first request response is sent to the terminal that sends the synchronization request.

[0114] Optionally, the timestamp based on the target clock source mark includes: a first timestamp and a second timestamp based on the target clock source mark;

[0115] The first timestamp is: the first time when the network device receives the synchronization request; the second timestamp is: the second time when the network device sends a response corresponding to the synchronization request.

[0116] Optionally, the target time related information is target server information, and the operation further includes:

[0117] Sending a stream synchronization control strategy to a terminal via the transceiver;

[0118] Wherein, the stream synchronization control strategy includes: target server information.

[0119] The embodiment of the present application also provides a data transmission device, applied to a terminal, including:

[0120] A first processing unit, configured to timestamp an uplink data packet according to a local time;

[0121] The first sending unit is used to send a marked uplink data packet to a base station.

[0122] Optionally, also include:

[0123] A first receiving unit, configured to receive target time related information sent by a network device before timestamping an uplink data packet according to a local time;

[0124] A first adjustment unit, configured to adjust the local time according to the target time related information until the local time is synchronized with the time of the target server or the target clock source;

[0125] The step of timestamping the uplink data packet according to the local time includes:

[0126] Performing a timestamp on an uplink data packet corresponding to at least one data stream according to the adjusted local time;

[0127] The data flow is an associated data flow; the associated data flow is a data flow for the terminal to execute a target service, or a data flow for the terminal and other terminals to jointly execute a target service.

[0128] Optionally, the target time related information is carried in at least one of the following information:

[0129] Network Time Protocol NTP messages;

[0130] Stream synchronization control strategy.

[0131] Optionally, the timestamping an uplink data packet corresponding to at least one data stream according to the adjusted local time includes:

[0132] In a first manner, a timestamp is performed on an uplink data packet corresponding to at least one data stream according to the adjusted local time;

[0133] The first method includes at least one of the following:

[0134] Mark the timestamp in the protocol data unit (PDU) IP header;

[0135] Mark the timestamp in the Packet Data Convergence Protocol (PDCP) header;

[0136] The timestamp is marked in the radio link layer control protocol RLC header.

[0137] Optionally, the timestamping an uplink data packet corresponding to at least one data stream according to the adjusted local time includes:

[0138] Using a first marking granularity, and according to the adjusted local time, timestamp an uplink data packet corresponding to at least one data flow;

[0139] The first marking granularity includes at least one of the following:

[0140] Frame granularity;

[0141] Protocol data unit set granularity;

[0142] Protocol Data Unit (PDU) granularity.

[0143] Optionally, also include:

[0144] A second sending unit, configured to send a synchronization request to the network device before receiving target time related information sent by the network device;

[0145] The synchronization request is used to request synchronization of the terminal to a target server.

[0146] Optionally, the target time related information is target server information, and the data transmission device further includes:

[0147] A second receiving unit, configured to receive a flow synchronization control strategy sent by a network device;

[0148] The sending of a synchronization request to the network device comprises:

[0149] According to the target server information, a synchronization request is sent to the network device.

[0150] The embodiment of the present application also provides a data transmission device, which is applied to a network device, including:

[0151] A first determining unit, configured to determine target time related information for providing a reference time for at least one terminal;

[0152] A third sending unit, configured to send the target time related information to the at least one terminal;

[0153] The terminal is a terminal corresponding to at least one data stream, and the data stream is an associated data stream; the associated data stream refers to a data stream for a terminal to execute a target service, or refers to a data stream for at least two terminals to jointly execute a target service.

[0154] Optionally, the target time related information is carried in at least one of the following information:

[0155] Network Time Protocol NTP messages;

[0156] Stream synchronization control strategy.

[0157] Optionally, the determining target time related information for providing a reference time for at least one terminal includes:

[0158] receiving a synchronization request sent by at least one terminal;

[0159] Determining, according to the synchronization request, target time related information for providing a reference time for at least one terminal;

[0160] The synchronization request is used to request synchronization with a target server.

[0161] Optionally, determining, according to the synchronization request, target time-related information for providing a reference time for at least one terminal includes:

[0162] Replacing the first target address of the packet header of the synchronization request with the address of the target server and sending the address to the target server; receiving response information from the target server to obtain target time related information for providing reference time for at least one terminal;

[0163] Alternatively, target time related information for providing reference time for at least one terminal is obtained according to the synchronization request and a timestamp marked by a target clock source.

[0164] Optionally, also include:

[0165] The second determination unit is used to determine the information of the target server or the information of the target clock source when it is determined that at least one data stream is an associated data stream before determining the target time related information for providing a reference time for at least one terminal according to the synchronization request.

[0166] Optionally, also include:

[0167] A second processing unit is configured to replace the first target address of the packet header of the synchronization request with the address of the target server, and before sending the target time related information to the at least one terminal, replace the second target address of the packet header of the response information with the first target address to obtain a first request response;

[0168] The sending the target time related information to the at least one terminal includes:

[0169] The first request response is sent to the terminal that sends the synchronization request.

[0170] Optionally, the timestamp based on the target clock source mark includes: a first timestamp and a second timestamp based on the target clock source mark;

[0171] The first timestamp is: the first time when the network device receives the synchronization request; the second timestamp is: the second time when the network device sends a response corresponding to the synchronization request.

[0172] Optionally, the target time related information is target server information, and the data transmission device further includes:

[0173] A third sending unit, used for sending a stream synchronization control strategy to a terminal;

[0174] Wherein, the stream synchronization control strategy includes: target server information.

[0175] 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 processor to execute the above-mentioned method on the terminal side or the network device side.

[0176] The beneficial effects of the above technical solution of the present application are as follows:

[0177] In the above scheme, the data transmission method uses the terminal to timestamp the uplink data packet according to the local time; sends the marked uplink data packet to the base station; and can support the terminal to timestamp the uplink data stream, thereby assisting the base station in synchronous resource scheduling, which is a good solution to the problem in the prior art that the UE cannot assist the base station in synchronous resource scheduling by marking the uplink data stream with a timestamp. BRIEF DESCRIPTION OF THE DRAWINGS

[0178] Figure 1 A schematic diagram of the wireless communication system architecture of an embodiment of the present application;

[0179] Figure 2 The data transmission method of the present invention is shown in the following figure. Figure 1 ;

[0180] Figure 3 The data transmission method of the present invention is shown in the following figure. Figure 2 ;

[0181] Figure 4 The data transmission method of the present invention is specifically implemented as follows: Figure 1 ;

[0182] Figure 5 The data transmission method of the present invention is specifically implemented as follows: Figure 2 ;

[0183] Figure 6 The data transmission method of the present invention is specifically implemented as follows: Figure 3 ;

[0184] Figure 7 The data transmission device structure of the embodiment of the present application is shown in FIG. Figure 1 ;

[0185] Figure 8 The data transmission device structure of the embodiment of the present application is shown in FIG. Figure 2 ;

[0186] Fig. 9 The structure of the data transmission device of the embodiment of the present application is shown as follows: Figure 1 ;

[0187] Fig.10 The structure of the data transmission device of the embodiment of the present application is shown as follows: Figure 2 . DETAILED DESCRIPTION

[0188] 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.

[0189] 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.

[0190] In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.

[0191] It is explained here that the technical solution provided in the embodiment of the present application can be applicable to a variety of systems, especially 5G systems. For example, the applicable system can be a global system of mobile communication (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) general packet radio service (GPRS) system, a long term evolution (LTE) system, a LTE frequency division duplex (FDD) system, a LTE time division duplex (TDD) system, an advanced long term evolution (LTE-A) system, a universal mobile telecommunication system (UMTS), a world-wide interoperability for microwave access (WiMAX) system, a 5G new radio (NR) system, etc. These various systems include terminal equipment and base stations. The system may also include a core network part, such as an evolved packet system (EPS), a 5G system (5GS), etc.

[0192] Figure 1 A block diagram of a wireless communication system to which the embodiments of the present application can be applied is shown. The wireless communication system includes a terminal device (also referred to as a terminal) and a base station.

[0193] 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, a subscriber station, a mobile station, a mobile station, a remote station, an access point, a remote terminal device, an access terminal device, a user terminal device, a user agent, and a user device, but is not limited in the embodiments of the present application.

[0194] The base station involved in the embodiment of the present application 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 base station may be used to interchange received air frames with Internet Protocol (IP) packets, and serve 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 base station may also coordinate the attribute management of the air interface. For example, the base station involved in the embodiments of the present application may be a base transceiver station (BTS) in the Global System for Mobile communications (GSM) or Code Division Multiple Access (CDMA), or a base station (NodeB) in Wide-band Code Division Multiple Access (WCDMA), or an evolutionary NodeB (eNB or e-NodeB) in the long term evolution (LTE) system, or a 5G base station (the next Generation Node B, gNB) in the 5G network architecture (next generation system), or a home evolved Node B (HeNB), a 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 base station 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.

[0195] The base station and the terminal device can each use one or more antennas for multiple-input multiple-output (MIMO) transmission. MIMO transmission can be single-user MIMO (SU-MIMO) or multi-user MIMO (MU-MIMO). Depending on the form and number of antenna combinations, MIMO transmission can be 2D-MIMO, 3D-MIMO, FD-MIMO or massive-MIMO, or it can be diversity transmission, precoding transmission or beamforming transmission, etc.

[0196] The following first introduces the contents involved in the solution provided in the embodiment of the present application.

[0197] (1) Main network functions in the 5G system (5G System, 5GS) architecture;

[0198] Access and Mobility Management Function (AMF): used for registration, connection management, etc.

[0199] User Plan Function (UPF): An external protocol data unit (PDU) session node interconnected with the data network for message routing and forwarding.

[0200] Session Management Function (SMF): used for session establishment and deletion, user plane selection and control, UE IP allocation, etc.

[0201] Network Exposure Function (NEF): It is used to provide functions related to securely exposing the services and capabilities provided by the 3GPP network to external networks.

[0202] Application Function (AF): used to interact with the 3GPP core network to provide services. Based on the operator's deployment, the trusted AF can interact directly with the relevant network function (NF), while the untrusted AF cannot interact directly with the NF, but should use the public framework through the NEF.

[0203] Policy Control Function (PCF): Supports a unified policy framework to manage network behavior and provides policy rules for control plane NF execution.

[0204] Network Repository Function (NRF): supports service discovery.

[0205] Unified Data Management (UDM): used to store UE information, such as contract information and information about established PDU sessions.

[0206] Radio Access Network (RAN): used for UE to access the network.

[0207] (ii) 5G Extended Reality (XR);

[0208] 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.

[0209] 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:

[0210] PDU set: A media unit of an XR service, which may contain a frame, or one or more slices, slice segments, or tiles.

[0211] Data frame: can contain one or more PDU sets.

[0212] Data packet: can be a PDU. A PDU set or data frame can contain one or more data packets (PDUs).

[0213] (3) Network Time Protocol (NTP);

[0214] NTP is a currently defined time synchronization protocol. It is used to synchronize time between distributed time servers and clients. The purpose of using NTP is to synchronize the clocks of all devices with the clocks on the network so that the clocks of all devices on the network are consistent so that the devices can provide multiple applications based on unified time. The time source obtained by NTP can be atomic clocks, observatories, satellites, or obtained from the Internet (network). The NTP client will send a time request and exchange time with the time server. The result of this exchange is that the client can calculate the time delay and the corresponding compensation value, and adjust the synchronization with the server time.

[0215] (iv) resource scheduling;

[0216] At present, 5G XR supports AF to provide common ID, configure the multi-data flow requirements for single UE or multiple UEs to the network, realize the policy enhancement of supporting multi-flow collaborative transmission on the control plane, and ensure that the transmission delay difference of multiple data flows is within a certain range. In addition, UPF can identify PDU set and mark PDU set related information (including PDU Set Sequence Number, End PDU of the PDU Set, PDU SN within a PDU Set, PDU Set Size in bytes, PDU Set Importance, etc.) in the user plane general packet radio service tunneling protocol (GPRS (general packet radio service) Tunnelling Protocol for the userplane, GTP-U) and send it to the 5G radio access network (NG Radio Access Network, NG-RAN) to assist NG-RAN in PDU Set granular resource scheduling.

[0217] In current technology, it is impossible to perform time synchronization and collaborative processing on the user plane for associated data streams (eg, multiple data streams associated with a specific service) sent by the same or different terminals (User Equipment, UE), and the base station cannot perform synchronous resource scheduling.

[0218] Based on the above, the embodiments of the present application provide a data transmission method, device and equipment to solve the problem in the prior art that the UE cannot assist the base station in performing synchronous resource scheduling by marking the timestamp for the uplink data stream. Among them, the method, device and equipment are based on the same application concept. Since the principles of solving the problems by the method, device and equipment are similar, the implementation of the method, device and equipment can refer to each other, and the repeated parts will not be repeated.

[0219] The data transmission method provided in the embodiment of the present application is applied to a terminal, such as Figure 2 As shown, including:

[0220] Step 21: Timestamp the uplink data packet according to the local time;

[0221] Step 22: Send the marked uplink data packet to the base station.

[0222] The data transmission method provided in the embodiment of the present application timestamps the uplink data packet according to the local time by the terminal; sends the marked uplink data packet to the base station; and can support the terminal to timestamp the uplink data stream, thereby assisting the base station in synchronous resource scheduling, which effectively solves the problem in the prior art that the UE cannot assist the base station in synchronous resource scheduling by timestamping the uplink data stream.

[0223] Furthermore, before timestamping the uplink data packet according to the local time, it also includes: receiving target time related information sent by the network device; adjusting the local time according to the target time related information until it is synchronized with the time of the target server or the target clock source; timestamping the uplink data packet according to the local time includes: timestamping the uplink data packet corresponding to at least one data stream according to the adjusted local time; wherein the data stream is an associated data stream; the associated data stream is a data stream for the terminal to execute the target service, or a data stream for the terminal and other terminals to jointly execute the target service.

[0224] In this way, the terminal can mark the associated data stream with a timestamp based on the synchronized time, and better assist the base station in scheduling synchronization resources. The target time related information includes a timestamp marked according to the time of the target server or the target clock source, and can also be related information of the target server, such as address information, but is not limited thereto.

[0225] The target time related information is carried in at least one of the following information: a network time protocol NTP message; a stream synchronization control strategy.

[0226] This can support multiple modes of transmitting target time related information.

[0227] In an embodiment of the present application, the timestamp marking of the uplink data packet corresponding to at least one data stream according to the adjusted local time includes: adopting a first method to timestamp the uplink data packet corresponding to at least one data stream according to the adjusted local time; wherein the first method includes at least one of the following: marking the timestamp in the protocol data unit network association PDU IP header; marking the timestamp in the packet data convergence protocol PDCP header; marking the timestamp in the radio link layer control protocol RLC header.

[0228] This allows for multiple timestamping methods to be supported.

[0229] Among them, the timestamp marking of the uplink data packet corresponding to at least one data stream according to the adjusted local time includes: using a first marking granularity to timestamp the uplink data packet corresponding to at least one data stream according to the adjusted local time; wherein the first marking granularity includes at least one of the following: frame granularity; protocol data unit set granularity; protocol data unit PDU granularity.

[0230] This can support timestamp marking at multiple granularities. Among them, the marking at the frame granularity may include: using the absolute time of the local clock corresponding to the moment when the first data packet of each data frame is received as the timestamp corresponding to the data frame; the timestamps of all data packets in each data frame are the same, but not limited to this. The marking at the PDU set granularity may include: using the absolute time of the local clock corresponding to the moment when the first data packet of each PDU set is received as the timestamp corresponding to the PDU set; the timestamps of all data packets in each PDU set are the same, but not limited to this. The marking at the PDU granularity may include: determining the order of data packets based on the timestamp and Sequence Number contained in the Real-time Transport Protocol (RTP) header, and marking the timestamps in sequence, but not limited to this.

[0231] Furthermore, before receiving the target time related information sent by the network device, it also includes: sending a synchronization request to the network device; wherein the synchronization request is used to request to synchronize the terminal to the target server.

[0232] This can support the terminal to actively perform time synchronization.

[0233] Among them, the target time related information is the target server information, and the data transmission method also includes: receiving a stream synchronization control strategy (carrying the target time related information) sent by a network device; sending a synchronization request to the network device includes: sending a synchronization request to the network device according to the target server information.

[0234] In this way, the synchronization request can be accurately initiated. The target server information may be the target server address, but is not limited thereto.

[0235] The present application also provides a data transmission method, which is applied to a network device, such as Figure 3 As shown, including:

[0236] Step 31: Determine target time related information for providing reference time for at least one terminal;

[0237] Step 32: Send the target time related information to the at least one terminal; wherein the terminal is a terminal corresponding to at least one data stream, and the data stream is an associated data stream; the associated data stream refers to a data stream for a terminal to execute the target service, or refers to a data stream for at least two terminals to jointly execute the target service.

[0238] The terminal may adjust the local time (of the terminal) according to the reference time (corresponding to the terminal adjusting the local time according to the target time related information), but is not limited thereto.

[0239] The data transmission method provided in the embodiment of the present application determines target time related information for providing reference time for at least one terminal; sends the target time related information to the at least one terminal; wherein the terminal is a terminal corresponding to at least one data stream, and the data stream is an associated data stream; the associated data stream refers to a data stream for a terminal to perform a target service, or refers to a data stream for at least two terminals to jointly perform a target service; it can support the implementation of terminal time synchronization and mark the uplink data stream with a timestamp accordingly, thereby assisting the base station in performing synchronous resource scheduling, which well solves the problem in the prior art that the UE cannot assist the base station in performing synchronous resource scheduling by marking the uplink data stream with a timestamp.

[0240] The target time related information is carried in at least one of the following information: a network time protocol NTP message; a stream synchronization control strategy.

[0241] This can support multiple modes of transmitting target time related information.

[0242] In an embodiment of the present application, determining target time-related information for providing a reference time for at least one terminal includes: receiving a synchronization request sent by at least one terminal; determining target time-related information for providing a reference time for at least one terminal based on the synchronization request; wherein the synchronization request is used to request synchronization with a target server.

[0243] This can support the terminal to actively perform time synchronization.

[0244] The method of determining target time related information for providing reference time for at least one terminal based on the synchronization request comprises: (1) replacing the first target address of the packet header of the synchronization request with the address of the target server and sending the address to the target server; receiving response information of the target server to obtain target time related information for providing reference time for at least one terminal; or (2) obtaining target time related information for providing reference time for at least one terminal based on the synchronization request and a timestamp marked based on the target clock source.

[0245] In this way, target time related information can be obtained in multiple ways.

[0246] Furthermore, before determining target time related information for providing reference time for at least one terminal according to the synchronization request, it also includes: when determining that at least one data stream is an associated data stream, determining information of the target server or information of the target clock source.

[0247] This supports accurate acquisition of target time related information.

[0248] In an embodiment of the present application, when the first target address of the packet header of the synchronization request is replaced with the address of the target server, before sending the target time related information to the at least one terminal, it also includes: replacing the second target address of the packet header of the response information with the first target address to obtain a first request response; sending the target time related information to the at least one terminal includes: sending the first request response (carrying the target time related information) to the terminal that sends the synchronization request.

[0249] This allows target time related information to be fed back to the terminal.

[0250] Among them, the timestamp based on the target clock source mark includes: a first timestamp and a second timestamp marked according to the target clock source; wherein the first timestamp is: the first time when the network device receives the synchronization request; the second timestamp is: the second time when the network device sends a response corresponding to the synchronization request.

[0251] In this way, the target time-related information can be accurately obtained based on the timestamp marked by the target clock source.

[0252] Furthermore, the target time related information is target server information, and the data transmission method further includes: sending a stream synchronization control strategy to the terminal; wherein the stream synchronization control strategy includes: target server information.

[0253] This can support the terminal to accurately initiate a synchronization request. The target server information may be a target server address, but is not limited thereto.

[0254] The data transmission method provided in the embodiment of the present application is illustrated below by taking the NTP (Network Time Protocol) time server as an example of the target server and the 5G clock as an example of the target clock source.

[0255] In response to the above technical problems, an embodiment of the present application provides a data transmission method, which can be specifically implemented as a method supporting stream synchronization, which can support the 5G system to time synchronize data streams sent by the same or different UEs, and mark timestamps based on different methods and granularities to assist the base station in optimizing resource scheduling. Specifically: This solution mainly synchronizes a group of UEs (whether the UE belongs to a group can be determined based on the UE ID and / or packet detection rule (Packet Detection Rule, PDR)) (synchronize to the same clock source). Among them, the synchronization method includes at least one of the following:

[0256] 1) UPF (corresponding to the above-mentioned network device) obtains NTP time server request synchronization information from (a group of) UEs (corresponding to the above-mentioned reception of the synchronization request sent by at least one terminal), and replaces the destination address (corresponding to the above-mentioned first destination address) of the (NTP time server request synchronization information) data packet header with the same NTP (time) server address (corresponding to the address of the above-mentioned target server), so as to synchronize a group of associated UEs to the same clock source (the same NTP time server);

[0257] 2) UPF obtains the NTP time server request synchronization information from (a group of) UEs, and uses 5G clock (clock) as the clock source to mark the timestamp in the NTP information (i.e., the NTP time server request synchronization information) (corresponding to the timestamp marked based on the target clock source, and obtaining the target time related information for providing reference time for at least one terminal), so as to synchronize a group of associated UEs to the same clock source (5G clock);

[0258] 3) AF or PCF (corresponding to the above network device) sends UE policy (corresponding to the above stream synchronization control policy) to UE, which includes the NTP time server address (corresponding to the above target server information), so as to synchronize a group of associated UEs to the same clock source (the same NTP time server).

[0259] Afterwards, the UE can send the timestamped data packet to the NG-RAN based on the synchronized time (corresponding to the above-mentioned timestamping the uplink data packet corresponding to at least one data stream according to the adjusted local time; and sending the marked uplink data packet to the base station).

[0260] Among them, there are three ways for UE to mark timestamps (corresponding to the first method mentioned above): 1) Mark the timestamp in the PDUIP header (PDU IP header) and send it to NG-RAN through the Uu interface (the interface between the terminal and the base station); 2) Mark the timestamp in the Packet Data Convergence Protocol (PDCP) header and send it to NG-RAN through NR-Uu (the interface between the terminal and the base station); 3) Mark the timestamp in the Radio Link Layer Control Protocol (Radio Link Control, RLC) header and send it to NG-RAN through NR-Uu.

[0261] The following is a specific example of this solution.

[0262] Embodiment 1

[0263] This embodiment introduces that the UE sends an application layer request (corresponding to the above synchronization request) to request synchronization information from the NTP time server, and the UPF obtains requests from different UEs, and replaces the target address of the data packet header with the same NTP (time) server address (corresponding to the above replacement of the first target address of the synchronization request header with the address of the target server) to achieve time synchronization of a group of associated UEs to the same clock source (same NTP (time) server). This solution is to indicate the same NTP address through the user plane. Specifically, Figure 4 As shown, the following steps are included:

[0264] 0. The control plane network function (e.g., AF, PCF, AMF, or SMF) configures flow synchronization processing indication to UPF, gNB, and UE respectively.

[0265] 1. The UE sends an NTP message to the NTP time server (this message corresponds to the above synchronization request). The message contains an Originate timestamp field, whose value is T1, that is, the time when the UE sends the message is T1.

[0266] Specifically, the UE sends an NTP message to the NTP time server through the UPF:

[0267] (1) UE sends NTP message to UPF.

[0268] (2) UPF receives the NTP message and determines the data stream sent by the UE that needs to be synchronized based on the PDR and / or UE ID (for example, determines the specific target NTP time server to be synchronized to), so as to determine the target NTP time server address. Optionally, UPF obtains the PDR, UE ID, target NTP time server address (for example, IP address, port number), stream synchronization processing indication, etc. based on policy control and charging (PCC) rules. The target NTP (time) server address can also be locally configured.

[0269] UPF replaces the destination address of the NTP message data packet (corresponding to the first destination address mentioned above, such as: NTP1 IP, port number 1) with the destination NTP time server address (corresponding to the address of the destination server mentioned above, such as: NTP2 IP, port number 2).

[0270] (3) UPF sends the NTP message to the target NTP time server.

[0271] The above (2) and (3) correspond to replacing the first target address of the packet header of the synchronization request with the address of the target server and sending it to the target server.

[0272] 2. UPF receives the NTP message replied by the target NTP time server (corresponding to the above-mentioned receiving the response information of the target server, and obtaining the target time related information used to provide reference time for at least one terminal). The received NTP message will contain timestamp information (for example, the Receive timestamp field of the NTP message header marks the time T2 when the message is received, and the Transmit timestamp field marks the time T3 when the NTP message is sent).

[0273] Optionally, the UPF replaces the destination address (corresponding to the above-mentioned second destination address, such as: NTP2 IP, port number 2) of the packet header of the received NTP reply message (i.e., the received NTP message) with the address indicated by the original UE (i.e., the source NTP server address, corresponding to the above-mentioned first destination address, such as: NTP1 IP, port number 1); corresponding to the above, the second destination address of the packet header of the response information is replaced with the first destination address, and the first request response is obtained.

[0274] 3. UPF replies the NTP message to the UE; corresponding to the above, the first request response is sent to the terminal that sends the synchronization request.

[0275] 4. The UE adjusts the local time based on the timestamp included in the NTP message to synchronize with the target NTP time server (corresponding to the above-mentioned adjustment of the local time according to the target time related information until it is synchronized with the time of the target server).

[0276] Specifically, the UE may determine that synchronization processing and / or timestamp marking are required for this data stream based on the synchronization processing indication received from the SMF or AMF (the indication may be: the SMF calls the N1N2 message transmission Namf_Communication_N1N2MessageTransfer to transmit the Non-Access-Stratum (NAS)-Session Management (SM) protocol containing the synchronization processing indication to the UE through the AMF, or the SMF sends it to the AMF, and then the AMF sends it to the UE through the Non-Access-Stratum (NAS) Mobility Management (NAS-MM) protocol). The UE timestamps the uplink data packet based on the adjusted local time.

[0277] There are three ways for the UE to mark the timestamp (corresponding to the first way above, the uplink data packet corresponding to at least one data stream is timestamped according to the adjusted local time):

[0278] 1) Mark the timestamp in the PDU IP header and send it to NG-RAN through the Uu interface;

[0279] 2) Mark the timestamp in the PDCP header and send it to the NG-RAN via NR-Uu;

[0280] 3) Mark the timestamp in the RLC header and send it to NG-RAN via NR-Uu.

[0281] The marking granularity of the timestamp may be one of the following three types (corresponding to the first marking granularity used above, the uplink data packet corresponding to at least one data stream is timestamped according to the adjusted local time):

[0282] 1) 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 timestamp of all data packets in each data frame is the same.

[0283] 2) 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 timestamp of all data packets in each PDU set is the same.

[0284] 3) PDU granularity: The order of data packets is determined based on the timestamp and sequence number contained in the Real-time Transport Protocol (RTP) header, and the timestamps are marked in sequence.

[0285] 5. The UE sends the uplink data packet marked with the timestamp to the NG-RAN (corresponding to the uplink data packet marked with the timestamp sent to the base station).

[0286] 6. NG-RAN receives the uplink data flow sent by the UE and performs resource synchronization scheduling based on the QoS profile (quality of service profile) received from the SMF or AMF.

[0287] Embodiment 2

[0288] This embodiment introduces that the UE sends an application layer request (corresponding to the above synchronization request) to request synchronization information from the NTP time server; the UPF obtains the request from different UEs to "use 5G clock as the clock source to mark the timestamp in the NTP information", and replies to the UE through the application layer NTP information to achieve a group of associated UEs Time synchronization to the same clock source (5G clock). This solution is to indicate the 5G clock through the user plane. Specifically, Figure 5 As shown, the following steps are included:

[0289] 0. Control Plane NF (such as AF, PCF, AMF or SMF) configures flow synchronization processing indication to UPF, gNB and UE respectively.

[0290] 1. The UE sends an NTP message (clock synchronization message) to the NTP time server. The message contains the Originatetimestamp (original timestamp) field, whose value is T1, that is, the time when the UE sends the message is T1. Specifically, the UE sends a message to the NTP time server, and the target address of the message is the time NTP server. It can be understood that the network (UPF) is an information transmission channel, that is, the UE sends a message to the NTP time server through the UPF.

[0291] 2. The UPF receives the NTP message and determines based on the PDR and / or UE ID that the data stream sent by the UE needs to be synchronized (for example, it determines that it needs to be synchronized to the 5G clock). Optionally, the UPF obtains the PDR, UE ID, stream synchronization processing indication, etc. based on the PCC rule.

[0292] UPF uses the 5G clock (local clock) as the clock source to synchronize with the UE. Specifically, based on the 5G clock, the timestamp is marked in the NTP packet header, including: marking the time T2 (corresponding to the above-mentioned first timestamp) when the message is received in the Receive timestamp field of the NTP message header, and marking the time T3 (corresponding to the above-mentioned second timestamp) when the NTP message is sent in the Transmit timestamp field; corresponding to the above-mentioned information based on the synchronization request and the timestamp marked based on the target clock source, the target time related information for providing a reference time for at least one terminal is obtained; the timestamp based on the target clock source mark includes: the first timestamp and the second timestamp marked based on the target clock source; wherein the first timestamp is: the first time when the network device receives the synchronization request; the second timestamp is: the second time when the network device sends a response corresponding to the synchronization request.

[0293] 3. UPF sends the NTP message marked with the timestamp to the UE; corresponding to the above-mentioned sending of the target time related information to the at least one terminal.

[0294] 4. The UE adjusts the local time based on the timestamp contained in the NTP message to synchronize with the 5G clock (corresponding to the above adjustment of the local time according to the target time related information until the target clock source is synchronized). The UE timestamps the uplink data packet based on the adjusted local time.

[0295] There are three ways for the UE to mark the timestamp (corresponding to the first way above, the uplink data packet corresponding to at least one data stream is timestamped according to the adjusted local time):

[0296] 1) Mark the timestamp in the PDU IP header and send it to NG-RAN through the Uu interface;

[0297] 2) Mark the timestamp in the PDCP header and send it to the NG-RAN via NR-Uu;

[0298] 3) Mark the timestamp in the RLC header and send it to NG-RAN via NR-Uu.

[0299] The marking granularity of the timestamp may be one of the following three types (corresponding to the first marking granularity used above, the uplink data packet corresponding to at least one data stream is timestamped according to the adjusted local time):

[0300] 1) 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 timestamp of all data packets in each data frame is the same.

[0301] 2) 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 timestamp of all data packets in each PDU set is the same.

[0302] 3) PDU granularity: The order of data packets is determined based on the timestamp and sequence number contained in the Real-time Transport Protocol (RTP) header, and the timestamps are marked in sequence.

[0303] 5. The UE sends the uplink data packet marked with the timestamp to the NG-RAN (corresponding to the uplink data packet marked with the timestamp sent to the base station).

[0304] 6. NG-RAN receives the uplink data flow sent by the UE and performs resource synchronization scheduling based on the QoS profile (quality of service profile) received from the SMF or AMF.

[0305] Embodiment 3

[0306] This embodiment introduces that AF or PCF (corresponding to the above network device) sends UE policy (corresponding to the above stream synchronization control policy) to a group of UEs associated with a specific application, indicating the NTP time server address (i.e., synchronizing to a specific NTP time server). This solution indicates the same NTP address through the control plane. Figure 6As shown, the following steps are included:

[0307] 1. AF sends the flow control strategy (corresponding to the above-mentioned flow synchronization control strategy) to PCF. The flow control strategy includes the target NTP time server information (corresponding to the above-mentioned target time related information, such as IP address, port number) and AFIdentifier (identifier).

[0308] 2. PCF calls the Namf_Communication_N1N2MessageTransfer service operation to send the flow control policy to AMF.

[0309] 3. AMF sends the UE Policy container containing the flow control policy to the UE (corresponding to the above-mentioned sending of the flow synchronization control policy to the terminal). Steps 1-3 may be performed before or after the PDU session is established, and are not limited here.

[0310] 4. The UE synchronizes to the target NTP and marks the timestamp; specifically, the UE sends an NTP message to the target NTP time server based on the received policy (target NTP time server information) to synchronize to the target NTP time server (see steps 1 to 4 of embodiment 1 for details, but not limited thereto). The UE marks the timestamp of the uplink data packet based on the adjusted local time.

[0311] There are three ways for the UE to mark the timestamp (corresponding to the first way above, the uplink data packet corresponding to at least one data stream is timestamped according to the adjusted local time):

[0312] 1) Mark the timestamp in the PDU IP header and send it to NG-RAN through the Uu interface;

[0313] 2) Mark the timestamp in the PDCP header and send it to the NG-RAN via NR-Uu;

[0314] 3) Mark the timestamp in the RLC header and send it to NG-RAN via NR-Uu.

[0315] The marking granularity of the timestamp may be one of the following three types (corresponding to the first marking granularity used above, the uplink data packet corresponding to at least one data stream is timestamped according to the adjusted local time):

[0316] 1) 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 timestamp of all data packets in each data frame is the same.

[0317] 2) 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 timestamp of all data packets in each PDU set is the same.

[0318] 3) PDU granularity: The order of data packets is determined based on the timestamp and sequence number contained in the Real-time Transport Protocol (RTP) header, and the timestamps are marked in sequence.

[0319] 5. The UE sends the uplink data packet marked with the timestamp to the NG-RAN (corresponding to the uplink data packet marked with the timestamp sent to the base station).

[0320] 6. NG-RAN receives the uplink data flow sent by the UE and performs resource synchronization scheduling based on the QoS profile (quality of service profile) received from the SMF or AMF.

[0321] Based on the above, the solution provided by the embodiment of the present application involves the following contents:

[0322] 1. UE side;

[0323] 1. The UE timestamps the uplink data packet based on the synchronized time.

[0324] 2. Before executing 1, the UE synchronizes to the target NTP time server based on the received policy (target NTP time server information).

[0325] 3. Based on 1, there are three ways for UE to mark timestamp, including marking the timestamp in PDU IP header, PDCP header and / or RLC header.

[0326] 4. Based on 1, there are three granularities for UE marking timestamps: frame granularity, PDU set granularity, and PDU granularity.

[0327] 2. UPF side;

[0328] 1. UPF modifies the target address of the NTP time server request synchronization information packet header sent by the UE, and replaces it with the same NTP (time) server address (corresponding to the above-mentioned embodiment 1).

[0329] 2. UPF modifies the timestamp of the NTP time server request synchronization information packet header sent by the UE, and uses 5G clock as the clock source to mark the timestamp in the NTP information (corresponding to the above-mentioned embodiment 2).

[0330] 3. Before executing 1 or 2, the UPF confirms that the UE belongs to a specific associated group and needs to synchronize the data stream (for example, it can subsequently determine the specific target NTP time server or 5G clock to which it needs to be synchronized); corresponding to the above, when at least one data stream is determined to be an associated data stream, the information of the target server or the information of the target clock source is determined.

[0331] 4. Based on 1, UPF replaces the target address of the received NTP reply message data packet header with the address indicated by the original UE (corresponding to the above-mentioned first target address).

[0332] 5. Based on 2, UPF marks the time when the message is received in the Receive timestamp field of the NTP message header, and marks the time when the NTP message is sent in the Transmit timestamp field.

[0333] 3. Control plane function (such as AF, PCF or SMF) side;

[0334] AF, PCF or SMF sends a UE policy to the UE, which includes the address of the NTP time server to ensure that a group of associated UEs are synchronized to the same clock source (the same NTP time server).

[0335] It should be noted that the above-mentioned group of UEs is not necessarily multiple, and this solution is for the synchronization of associated data streams; if there are multiple data streams of the same UE (associated data streams), then the operation in the above embodiment is that for each data stream, the UE adjusts the local time once and timestamps the data packet before sending it, but it is not limited to this. In addition, the relevant contents between the above embodiments can refer to each other, and the relevant contents between the terminal side and the network device side can also refer to each other, and the repeated parts will not be repeated.

[0336] In summary, the present application proposes a method that supports the 5G system to time synchronize data streams (including XR or non-XR data streams, encrypted data or non-encrypted data) sent by the same or different UEs, and marks timestamps based on different methods and granularities to assist the base station in optimizing resource scheduling.

[0337] The embodiment of the present application also provides a data transmission device, wherein the data transmission device is a terminal, such as Figure 7 As shown, it includes a memory 71, a transceiver 72, and a processor 73:

[0338] The memory 71 is used to store computer programs; the transceiver 72 is used to send and receive data under the control of the processor 73; the processor 73 is used to read the computer program in the memory 71 and perform the following operations:

[0339] Timestamp the uplink data packets according to the local time;

[0340] The transceiver 72 sends the marked uplink data packet to the base station.

[0341] The data transmission device provided in the embodiment of the present application timestamps the uplink data packet according to the local time through the terminal; sends the marked uplink data packet to the base station; and can support the terminal to timestamp the uplink data stream, thereby assisting the base station in synchronous resource scheduling, which effectively solves the problem in the prior art that the UE cannot assist the base station in synchronous resource scheduling by marking the uplink data stream with a timestamp.

[0342] Specifically, the transceiver 72 is used to receive and send data under the control of the processor 73.

[0343] Among them, Figure 7 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 73 and various circuits of memory represented by memory 71 are linked together. 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. The transceiver 72 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, including wireless channels, wired channels, optical cables, and other transmission media. For different user devices, the user interface 74 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

[0344] The processor 73 is responsible for managing the bus architecture and general processing, and the memory 71 can store data used by the processor 73 when performing operations.

[0345] Optionally, the processor 73 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), and the processor may also adopt a multi-core architecture.

[0346] The processor calls the computer program stored in the memory to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.

[0347] Furthermore, the operation also includes: before timestamping the uplink data packet according to the local time, receiving target time-related information sent by the network device through the transceiver; adjusting the local time according to the target time-related information until it is synchronized with the time of the target server or the target clock source; timestamping the uplink data packet according to the local time includes: timestamping the uplink data packet corresponding to at least one data stream according to the adjusted local time; wherein the data stream is an associated data stream; the associated data stream is a data stream for the terminal to execute the target service, or a data stream for the terminal and other terminals to jointly execute the target service.

[0348] The target time related information is carried in at least one of the following information: a network time protocol NTP message; a stream synchronization control strategy.

[0349] In an embodiment of the present application, the timestamp marking of the uplink data packet corresponding to at least one data stream according to the adjusted local time includes: adopting a first method to timestamp the uplink data packet corresponding to at least one data stream according to the adjusted local time; wherein the first method includes at least one of the following: marking the timestamp in the protocol data unit network association PDU IP header; marking the timestamp in the packet data convergence protocol PDCP header; marking the timestamp in the radio link layer control protocol RLC header.

[0350] Among them, the timestamp marking of the uplink data packet corresponding to at least one data stream according to the adjusted local time includes: using a first marking granularity to timestamp the uplink data packet corresponding to at least one data stream according to the adjusted local time; wherein the first marking granularity includes at least one of the following: frame granularity; protocol data unit set granularity; protocol data unit PDU granularity.

[0351] Furthermore, the operation also includes: before receiving the target time related information sent by the network device, sending a synchronization request to the network device through the transceiver; wherein the synchronization request is used to request to synchronize the terminal to the target server.

[0352] In an embodiment of the present application, the target time-related information is target server information, and the operation also includes: receiving a stream synchronization control strategy sent by a network device through the transceiver; sending a synchronization request to the network device includes: sending a synchronization request to the network device according to the target server information.

[0353] 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 terminal side method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0354] The embodiment of the present application also provides a data transmission device, wherein the data transmission device is a network device, such as Figure 8 As shown, it includes a memory 81, a transceiver 82, and a processor 83:

[0355] The memory 81 is used to store computer programs; the transceiver 82 is used to send and receive data under the control of the processor 83; the processor 83 is used to read the computer program in the memory 81 and perform the following operations:

[0356] determining target time related information for providing a reference time for at least one terminal;

[0357] sending the target time related information to the at least one terminal via the transceiver 82;

[0358] The terminal is a terminal corresponding to at least one data stream, and the data stream is an associated data stream; the associated data stream refers to a data stream for a terminal to execute a target service, or refers to a data stream for at least two terminals to jointly execute a target service.

[0359] The data transmission device provided in the embodiment of the present application determines target time related information for providing reference time for at least one terminal; sends the target time related information to the at least one terminal; wherein the terminal is a terminal corresponding to at least one data stream, and the data stream is an associated data stream; the associated data stream refers to a data stream for a terminal to perform a target service, or refers to a data stream for at least two terminals to jointly perform a target service; it can support the implementation of terminal time synchronization and mark the uplink data stream with a timestamp accordingly, thereby assisting the base station in performing synchronous resource scheduling, which well solves the problem in the prior art that the UE cannot assist the base station in performing synchronous resource scheduling by marking the uplink data stream with a timestamp.

[0360] Specifically, the transceiver 82 is used to receive and send data under the control of the processor 83.

[0361] Among them, Figure 8 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 83 and various circuits of memory represented by memory 81 are linked together. 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. The transceiver 82 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, which transmission medium may include a wireless channel, a wired channel, an optical cable, and other transmission media. The processor 83 is responsible for managing the bus architecture and general processing, and the memory 81 may store data used by the processor 83 when performing operations.

[0362] The processor 83 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.

[0363] The target time related information is carried in at least one of the following information: a network time protocol NTP message; a stream synchronization control strategy.

[0364] In an embodiment of the present application, determining target time related information for providing a reference time for at least one terminal includes: receiving a synchronization request sent by at least one terminal through the transceiver; determining target time related information for providing a reference time for at least one terminal based on the synchronization request; wherein the synchronization request is used to request synchronization with a target server.

[0365] Wherein, determining the target time related information for providing a reference time for at least one terminal according to the synchronization request comprises: (1) replacing the first target address of the packet header of the synchronization request with the address of the target server, and sending it to the target server through the transceiver; receiving the response information of the target server through the transceiver to obtain the target time related information for providing a reference time for at least one terminal; or, (2) obtaining the target time related information for providing a reference time for at least one terminal according to the synchronization request and a timestamp based on the target clock source mark.

[0366] Furthermore, the operation also includes: before determining the target time-related information for providing a reference time for at least one terminal according to the synchronization request, when at least one data stream is determined to be an associated data stream, determining the information of the target server or the information of the target clock source.

[0367] In an embodiment of the present application, the operation also includes: when the first target address of the packet header of the synchronization request is replaced with the address of the target server, before sending the target time related information to the at least one terminal, the second target address of the packet header of the response information is replaced with the first target address to obtain a first request response; sending the target time related information to the at least one terminal includes: sending the first request response to the terminal that sends the synchronization request.

[0368] Among them, the timestamp based on the target clock source mark includes: a first timestamp and a second timestamp marked according to the target clock source; wherein the first timestamp is: the first time when the network device receives the synchronization request; the second timestamp is: the second time when the network device sends a response corresponding to the synchronization request.

[0369] In an embodiment of the present application, the target time related information is target server information, and the operation further includes: sending a stream synchronization control strategy to the terminal through the transceiver; wherein the stream synchronization control strategy includes: target server information.

[0370] 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 network device side method embodiment, 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.

[0371] The present application also provides a data transmission device, which is applied to a terminal, such as Fig. 9 As shown, including:

[0372] The first processing unit 91 is used to timestamp the uplink data packet according to the local time;

[0373] The first sending unit 92 is configured to send a marked uplink data packet to a base station.

[0374] The data transmission device provided in the embodiment of the present application timestamps the uplink data packet according to the local time through the terminal; sends the marked uplink data packet to the base station; and can support the terminal to timestamp the uplink data stream, thereby assisting the base station in synchronous resource scheduling, which effectively solves the problem in the prior art that the UE cannot assist the base station in synchronous resource scheduling by marking the uplink data stream with a timestamp.

[0375] Furthermore, the data transmission device also includes: a first receiving unit, used to receive target time-related information sent by a network device before timestamping the uplink data packet according to the local time; a first adjustment unit, used to adjust the local time according to the target time-related information until it is synchronized with the time of the target server or the target clock source; timestamping the uplink data packet according to the local time, including: timestamping the uplink data packet corresponding to at least one data stream according to the adjusted local time; wherein the data stream is an associated data stream; the associated data stream is a data stream for the terminal to execute the target service, or a data stream for the terminal and other terminals to jointly execute the target service.

[0376] The target time related information is carried in at least one of the following information: a network time protocol NTP message; a stream synchronization control strategy.

[0377] In the embodiment of the present application, the timestamping of the uplink data packet corresponding to at least one data stream according to the adjusted local time includes: adopting a first method to timestamp the uplink data packet corresponding to at least one data stream according to the adjusted local time;

[0378] Among them, the first method includes at least one of the following: marking the timestamp in the protocol data unit network association PDUIP header; marking the timestamp in the packet data convergence protocol PDCP header; marking the timestamp in the radio link layer control protocol RLC header.

[0379] Among them, the timestamp marking of the uplink data packet corresponding to at least one data stream according to the adjusted local time includes: using a first marking granularity to timestamp the uplink data packet corresponding to at least one data stream according to the adjusted local time; wherein the first marking granularity includes at least one of the following: frame granularity; protocol data unit set granularity; protocol data unit PDU granularity.

[0380] Furthermore, the data transmission device also includes: a second sending unit, used to send a synchronization request to the network device before receiving the target time related information sent by the network device; wherein the synchronization request is used to request to synchronize the terminal to the target server.

[0381] In an embodiment of the present application, the target time-related information is target server information, and the data transmission device also includes: a second receiving unit for receiving a stream synchronization control strategy sent by a network device; sending a synchronization request to the network device includes: sending a synchronization request to the network device according to the target server information.

[0382] 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 terminal side method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0383] The present application also provides a data transmission device, which is applied to a network device, such as Fig.10 As shown, including:

[0384] A first determining unit 101 is configured to determine target time related information for providing a reference time for at least one terminal;

[0385] The third sending unit 102 is configured to send the target time related information to the at least one terminal;

[0386] The terminal is a terminal corresponding to at least one data stream, and the data stream is an associated data stream; the associated data stream refers to a data stream for a terminal to execute a target service, or refers to a data stream for at least two terminals to jointly execute a target service.

[0387] The data transmission device provided in the embodiment of the present application determines target time related information for providing reference time for at least one terminal; sends the target time related information to the at least one terminal; wherein the terminal is a terminal corresponding to at least one data stream, and the data stream is an associated data stream; the associated data stream refers to a data stream for a terminal to perform a target service, or refers to a data stream for at least two terminals to jointly perform a target service; it can support the implementation of terminal time synchronization and mark the uplink data stream with a timestamp accordingly, thereby assisting the base station in performing synchronous resource scheduling, which well solves the problem in the prior art that the UE cannot assist the base station in performing synchronous resource scheduling by marking the uplink data stream with a timestamp.

[0388] The target time related information is carried in at least one of the following information: a network time protocol NTP message; a stream synchronization control strategy.

[0389] In an embodiment of the present application, determining target time-related information for providing a reference time for at least one terminal includes: receiving a synchronization request sent by at least one terminal; determining target time-related information for providing a reference time for at least one terminal based on the synchronization request; wherein the synchronization request is used to request synchronization with a target server.

[0390] The method of determining target time related information for providing reference time for at least one terminal based on the synchronization request comprises: (1) replacing the first target address of the packet header of the synchronization request with the address of the target server and sending the address to the target server; receiving response information of the target server to obtain target time related information for providing reference time for at least one terminal; or (2) obtaining target time related information for providing reference time for at least one terminal based on the synchronization request and a timestamp marked based on the target clock source.

[0391] Furthermore, the data transmission device also includes: a second determination unit, which is used to determine the information of the target server or the information of the target clock source when it is determined that at least one data stream is an associated data stream, before determining the target time-related information for providing a reference time for at least one terminal according to the synchronization request.

[0392] In an embodiment of the present application, the data transmission device also includes: a second processing unit, which is used to replace the second target address of the header of the response information with the first target address before sending the target time related information to the at least one terminal, so as to obtain a first request response; sending the target time related information to the at least one terminal includes: sending the first request response to the terminal that sends the synchronization request.

[0393] Among them, the timestamp based on the target clock source mark includes: a first timestamp and a second timestamp marked according to the target clock source; wherein the first timestamp is: the first time when the network device receives the synchronization request; the second timestamp is: the second time when the network device sends a response corresponding to the synchronization request.

[0394] In an embodiment of the present application, the target time related information is target server information, and the data transmission device also includes: a third sending unit, used to send a stream synchronization control strategy to the terminal; wherein the stream synchronization control strategy includes: target server information.

[0395] 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 network device side method embodiment, 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.

[0396] 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.

[0397] 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, and the computer software product is stored in a storage medium, including a number of 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.

[0398] 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 processor to execute the above-mentioned method on the terminal side or the network device side.

[0399] The non-transitory 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 (MO)), etc.), optical storage (such as compact discs (CD), digital video discs (DVD), Blu-ray discs (BD), high-definition versatile discs (HVD), etc.), and semiconductor memories (such as ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read only memory (EEPROM), non-volatile memory (NAND (Non-volatile Memory Device) FLASH), solid-state drives (SSD)), etc.

[0400] Among them, the implementation embodiments of the methods on the above-mentioned terminal side or network device side are all applicable to the embodiments of the non-transitory readable storage medium, and can also achieve the same technical effects.

[0401] 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.

[0402] 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.

[0403] 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.

[0404] 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.

[0405] 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 transmission method, applied to a terminal, characterized in that: include: Timestamp the uplink data packets according to the local time; Send the marked uplink data packet to the base station.

2. The data transmission method according to claim 1, characterized in that: Before timestamping the uplink data packet according to the local time, the following steps are also included: Receiving target time related information sent by network equipment; According to the target time related information, the local time is adjusted until it is synchronized with the time of the target server or the target clock source; The step of timestamping the uplink data packet according to the local time includes: Performing a timestamp on an uplink data packet corresponding to at least one data stream according to the adjusted local time; The data flow is an associated data flow; the associated data flow is a data flow for the terminal to execute a target service, or a data flow for the terminal and other terminals to jointly execute a target service.

3. The data transmission method according to claim 2, characterized in that: The target time related information is carried in at least one of the following information: Network Time Protocol NTP messages; Stream synchronization control strategy.

4. The data transmission method according to claim 2, characterized in that: The step of timestamping an uplink data packet corresponding to at least one data stream according to the adjusted local time includes: In a first manner, a timestamp is performed on an uplink data packet corresponding to at least one data stream according to the adjusted local time; The first method includes at least one of the following: Mark the timestamp in the PDUIP header of the protocol data unit network association; Mark the timestamp in the Packet Data Convergence Protocol (PDCP) header; The timestamp is marked in the radio link layer control protocol RLC header.

5. The data transmission method according to claim 2, characterized in that: The step of timestamping an uplink data packet corresponding to at least one data stream according to the adjusted local time includes: Using a first marking granularity, and according to the adjusted local time, timestamp an uplink data packet corresponding to at least one data flow; The first marking granularity includes at least one of the following: Frame granularity; Protocol data unit set granularity; Protocol Data Unit (PDU) granularity.

6. The data transmission method according to claim 2, characterized in that: Before receiving the target time related information sent by the network device, it also includes: Send synchronization request to network device; The synchronization request is used to request synchronization of the terminal to a target server.

7. The data transmission method according to claim 6, characterized in that: The target time related information is target server information, and the data transmission method further includes: Receive the stream synchronization control strategy sent by the network device; The sending of a synchronization request to the network device comprises: According to the target server information, a synchronization request is sent to the network device.

8. A data transmission method, applied to a network device, characterized in that: include: determining target time related information for providing a reference time for at least one terminal; Sending the target time related information to the at least one terminal; The terminal is a terminal corresponding to at least one data stream, and the data stream is an associated data stream; the associated data stream refers to a data stream for a terminal to execute a target service, or refers to a data stream for at least two terminals to jointly execute a target service.

9. The data transmission method according to claim 8, characterized in that: The target time related information is carried in at least one of the following information: Network Time Protocol NTP messages; Stream synchronization control strategy.

10. The data transmission method according to claim 8, characterized in that: The determining of target time related information for providing a reference time for at least one terminal includes: receiving a synchronization request sent by at least one terminal; Determining, according to the synchronization request, target time related information for providing a reference time for at least one terminal; The synchronization request is used to request synchronization with a target server.

11. The data transmission method according to claim 10, characterized in that: The determining, according to the synchronization request, target time related information for providing a reference time for at least one terminal comprises: Replacing the first target address of the packet header of the synchronization request with the address of the target server and sending the address to the target server; receiving response information from the target server to obtain target time related information for providing reference time for at least one terminal; Alternatively, target time related information for providing reference time for at least one terminal is obtained according to the synchronization request and a timestamp marked by a target clock source.

12. The data transmission method according to claim 11, characterized in that: Before determining, according to the synchronization request, target time related information for providing a reference time for at least one terminal, the method further includes: In the case where at least one data stream is determined to be a related data stream, information of the target server or information of the target clock source is determined.

13. The data transmission method according to claim 11, characterized in that: In the case where the first target address of the packet header of the synchronization request is replaced with the address of the target server, before sending the target time related information to the at least one terminal, the method further includes: Replacing the second target address of the packet header of the response information with the first target address to obtain a first request response; The sending the target time related information to the at least one terminal includes: The first request response is sent to the terminal that sends the synchronization request.

14. The data transmission method according to claim 11, characterized in that: The timestamp based on the target clock source mark includes: a first timestamp and a second timestamp based on the target clock source mark; The first timestamp is: the first time when the network device receives the synchronization request; the second timestamp is: the second time when the network device sends a response corresponding to the synchronization request.

15. The data transmission method according to claim 8, characterized in that: The target time related information is target server information, and the data transmission method further includes: Sending stream synchronization control strategy to the terminal; Wherein, the stream synchronization control strategy includes: target server information.

16. A data transmission device, the data transmission device being a terminal, characterized in that: Including memory, transceiver, processor: 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: Timestamp the uplink data packets according to the local time; The marked uplink data packet is sent to the base station through the transceiver.

17. The data transmission device according to claim 16, characterized in that: The operations also include: Before timestamping the uplink data packet according to the local time, receiving target time related information sent by the network device through the transceiver; According to the target time related information, the local time is adjusted until it is synchronized with the time of the target server or the target clock source; The step of timestamping the uplink data packet according to the local time includes: Performing a timestamp on an uplink data packet corresponding to at least one data stream according to the adjusted local time; The data flow is an associated data flow; the associated data flow is a data flow for the terminal to execute a target service, or a data flow for the terminal and other terminals to jointly execute a target service.

18. The data transmission device according to claim 17, characterized in that: The target time related information is carried in at least one of the following information: Network Time Protocol NTP messages; Stream synchronization control strategy.

19. The data transmission device according to claim 17, characterized in that: The step of timestamping an uplink data packet corresponding to at least one data stream according to the adjusted local time includes: In a first manner, a timestamp is performed on an uplink data packet corresponding to at least one data stream according to the adjusted local time; The first method includes at least one of the following: Mark the timestamp in the PDUIP header of the protocol data unit network association; Mark the timestamp in the Packet Data Convergence Protocol (PDCP) header; The timestamp is marked in the radio link layer control protocol RLC header.

20. The data transmission device according to claim 17, characterized in that: The step of timestamping an uplink data packet corresponding to at least one data stream according to the adjusted local time includes: Using a first marking granularity, and according to the adjusted local time, timestamp an uplink data packet corresponding to at least one data flow; The first marking granularity includes at least one of the following: Frame granularity; Protocol data unit set granularity; Protocol Data Unit (PDU) granularity.

21. The data transmission device according to claim 17, characterized in that: The operations also include: Before receiving the target time related information sent by the network device, sending a synchronization request to the network device through the transceiver; The synchronization request is used to request synchronization of the terminal to a target server.

22. The data transmission device according to claim 21, characterized in that: The target time related information is target server information, and the operation further includes: Receiving, by the transceiver, a stream synchronization control strategy sent by a network device; The sending of a synchronization request to the network device comprises: According to the target server information, a synchronization request is sent to the network device.

23. A data transmission device, the data transmission device being a network device, characterized in that: Including memory, transceiver, processor: 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: determining target time related information for providing a reference time for at least one terminal; sending, by the transceiver, the target time related information to the at least one terminal; The terminal is a terminal corresponding to at least one data stream, and the data stream is an associated data stream; the associated data stream refers to a data stream for a terminal to execute a target service, or refers to a data stream for at least two terminals to jointly execute a target service.

24. The data transmission device according to claim 23, characterized in that: The target time related information is carried in at least one of the following information: Network Time Protocol NTP messages; Stream synchronization control strategy.

25. The data transmission device according to claim 23, characterized in that: The determining of target time related information for providing a reference time for at least one terminal includes: Receiving, by the transceiver, a synchronization request sent by at least one terminal; Determining, according to the synchronization request, target time related information for providing a reference time for at least one terminal; The synchronization request is used to request synchronization with a target server.

26. The data transmission device according to claim 25, characterized in that: The determining, according to the synchronization request, target time related information for providing a reference time for at least one terminal comprises: Replacing the first target address of the packet header of the synchronization request with the address of the target server and sending the address to the target server through the transceiver; receiving the response information of the target server through the transceiver to obtain the target time related information for providing a reference time for at least one terminal; Alternatively, target time related information for providing reference time for at least one terminal is obtained according to the synchronization request and a timestamp marked by a target clock source.

27. The data transmission device according to claim 26, characterized in that: The operations also include: Before determining target time related information for providing reference time for at least one terminal according to the synchronization request, when at least one data stream is determined to be an associated data stream, information of the target server or information of the target clock source is determined.

28. The data transmission device according to claim 26, characterized in that: The operations also include: In the case where the first target address of the packet header of the synchronization request is replaced with the address of the target server, before sending the target time related information to the at least one terminal, the second target address of the packet header of the response information is replaced with the first target address to obtain a first request response; The sending the target time related information to the at least one terminal includes: The first request response is sent to the terminal that sends the synchronization request.

29. The data transmission device according to claim 26, characterized in that: The timestamp based on the target clock source mark includes: a first timestamp and a second timestamp based on the target clock source mark; The first timestamp is: the first time when the network device receives the synchronization request; the second timestamp is: the second time when the network device sends a response corresponding to the synchronization request.

30. The data transmission device according to claim 23, characterized in that: The target time related information is target server information, and the operation further includes: Sending a stream synchronization control strategy to a terminal via the transceiver; Wherein, the stream synchronization control strategy includes: target server information.

31. A data transmission device, applied to a terminal, characterized in that: include: A first processing unit, configured to timestamp an uplink data packet according to a local time; The first sending unit is used to send a marked uplink data packet to a base station.

32. A data transmission device, applied to a network device, characterized in that: include: A first determining unit, configured to determine target time related information for providing a reference time for at least one terminal; A third sending unit, configured to send the target time related information to the at least one terminal; The terminal is a terminal corresponding to at least one data stream, and the data stream is an associated data stream; the associated data stream refers to a data stream for a terminal to execute a target service, or refers to a data stream for at least two terminals to jointly execute a target service.

33. 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 processor to execute the method according to any one of claims 1 to 15.