WO2022165768A1 - Method and apparatus for transmitting data - Google Patents
Method and apparatus for transmitting data Download PDFInfo
- Publication number
- WO2022165768A1 WO2022165768A1 PCT/CN2021/075638 CN2021075638W WO2022165768A1 WO 2022165768 A1 WO2022165768 A1 WO 2022165768A1 CN 2021075638 W CN2021075638 W CN 2021075638W WO 2022165768 A1 WO2022165768 A1 WO 2022165768A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target data
- data stream
- information
- indication information
- data packet
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 126
- 230000005540 biological transmission Effects 0.000 claims abstract description 222
- 230000001360 synchronised effect Effects 0.000 claims abstract description 69
- 238000012545 processing Methods 0.000 claims abstract description 66
- 238000004891 communication Methods 0.000 claims description 46
- 238000004590 computer program Methods 0.000 claims description 17
- 230000008569 process Effects 0.000 description 28
- 230000006870 function Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 10
- 238000007726 management method Methods 0.000 description 10
- 238000011144 upstream manufacturing Methods 0.000 description 9
- 230000004048 modification Effects 0.000 description 7
- 238000012986 modification Methods 0.000 description 7
- 230000003993 interaction Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 239000003550 marker Substances 0.000 description 3
- 238000013468 resource allocation Methods 0.000 description 3
- 230000002123 temporal effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 241001659321 ANME-2 cluster Species 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/38—Synchronous or start-stop systems, e.g. for Baudot code
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/04—Speed or phase control by synchronisation signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
Definitions
- the present application relates to the field of communications, and more particularly to a method and apparatus for transmitting data.
- multiple target data streams that need to be transmitted have content, time Correlation or multi-sensory synchronization requirements, that is, when multiple target data streams are transmitted in such scenarios, a certain synchronization accuracy needs to be met between multiple target data streams.
- the multiple target data streams are synchronized at the receiving end by means of buffering, but the effect of this synchronization method is not ideal, resulting in poor user experience. Therefore, when using mobile communication technology to transmit multiple target data streams with content, time correlation or multi-sensory synchronization requirements, how to achieve high-precision synchronization transmission among the multiple target data streams is an urgent problem to be solved.
- the present application provides a method and apparatus for transmitting data, which can realize synchronous transmission of multiple target data streams.
- a method for transmitting data including the first device acquiring first indication information, where the first indication information is used to indicate synchronous transmission of multiple target data streams; the first device at least according to the first indication information , performing synchronous transmission processing on at least one target data stream among the multiple target data streams, so that the deviation of the transmission progress among the multiple target data streams is less than or equal to the first threshold.
- the first device performs synchronous transmission processing on the multiple target data streams according to the first indication information, so that the deviation of the transmission progress among the multiple target data streams is less than or equal to the first threshold.
- the multiple target data streams are independently transmitted and the correlation between each target data stream is not considered, and the user experience can be improved by adopting the solution of the present application.
- the deviation of the transmission progress between the multiple target data streams includes one or more of the following: frame numbers of transmission between the multiple target data streams The deviation of the time stamps between the multiple target data streams, the deviation of the time consumed by the multiple target data streams to transmit the preset data amount.
- the first indication information is one, and the first indication information includes identification information of each target data stream in the multiple target data streams; or the There are multiple pieces of first indication information, and the pieces of first indication information are in one-to-one correspondence with multiple target data streams, and each first indication information includes identification information of the corresponding target data stream; wherein, the identification information of the target data stream includes At least one of the following parameters: quintuple information corresponding to the target data flow, information about the quality of service QoS flow identification information corresponding to the target data flow, or information about the QoS flow sub-flow identification information corresponding to the target data flow.
- the multiple target data streams belong to a first synchronization group among the multiple synchronization groups, wherein each synchronization group includes at least two target data streams, wherein , the target data streams in the same synchronization group need to be transmitted synchronously, and the first indication information further includes the identifier of the first synchronization group.
- the first indication information further includes indication information of the first threshold.
- the performing synchronous transmission processing on the plurality of target data streams includes: when the first target data stream in the plurality of target data streams and the plurality of target data streams are When the deviation of the transmission progress between the second target data streams in the stream is greater than the first threshold, and the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, the first device stops sending the A data packet in a first target data stream, wherein the second target data stream is a target data stream other than the first target data stream among the plurality of target data streams.
- the method further includes: the method further includes: after a preset first time period elapses since the data packets in the first target data stream are stopped, if If the deviation of the transmission progress between the first target data stream and the second target data stream is still greater than the first threshold, the first device sends the data packets in the first target data stream; or automatically stops sending the first target data stream.
- the data packets in the target data stream have not reached the preset first duration, and the deviation of the transmission progress between the first target data stream and the second target data stream is less than or equal to the first threshold, the first device Send the data packets in the first target data stream.
- the performing synchronous transmission processing on the plurality of target data streams includes: when the first target data stream in the plurality of target data streams and the plurality of target data streams are When the deviation of the transmission progress between the second target data streams in the stream is greater than the first threshold, and the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, the first device discards the first target data stream. The next data packet to be sent in the two target data streams.
- the first device includes a terminal device, and acquiring the first indication information by the first device includes: the first device receives the first indication from a session management network element information; or the first device receives first indication information through a first interface, where the first interface is an interface between the first device and an application client, and the application client transmits the plurality of target data through the first device flow.
- the first device includes an access network device or a user plane network element, and receiving the first indication information by the first device includes: the first device from the session management The network element receives the first indication information.
- the first device is an access network device, and the method further includes: the first device receiving first request information, where the first request information request is the The first target data stream among the multiple target data streams is allocated the first radio resource; the synchronous transmission processing for the multiple target data streams includes: when the transmission progress between the first target data stream and the second target data stream is When the deviation is greater than the first threshold, and the transmission progress of the first target data stream is faster than the transmission of the second target data stream, the first device stops allocating the first radio resource for the first target data stream, wherein , the second target data stream is a target data stream other than the first target data stream among the plurality of target data streams.
- the first request information includes information of a frame number corresponding to the first data packet or information of a timestamp corresponding to the first data packet, and the first data packet is the next data packet to be sent for the first target data stream.
- the first device before or at the same time as receiving the first request information, the first device further receives second request information, and the second request information request is the second target data
- the second wireless resource is allocated by the flow, and the second request information includes the information of the frame number corresponding to the second data packet or the information of the time stamp corresponding to the second data packet, and the second data packet is the next destination of the second target data flow. Send packets.
- the first request information further includes first buffer information of the first target data stream, and the first buffer information is the frame corresponding to the first data packet
- the second request information further includes second buffer information of the second target data stream, and the second buffer information is the total amount of data to be sent of the frame corresponding to the second data packet.
- the deviation of the transmission progress between the first target data stream and the second target data stream includes: the frame number corresponding to the first data packet and the second data packet The deviation of the corresponding frame number; or the deviation between the timestamp corresponding to the first data packet and the timestamp corresponding to the second data packet; or the time consumed by the first target data stream to transmit the first preset data amount is different from the first data packet.
- the deviation of the time consumed by the two target data streams to transmit the second preset data amount wherein the first indication information further includes the preset sending rate of the first target data stream and the preset sending rate of the second target data stream , the ratio of the first preset data amount to the second preset data amount is the first ratio, and the ratio of the preset sending rate of the first target data stream to the preset sending rate of the second target data stream is the first Two ratios, the first ratio is associated with the second ratio; wherein, the first data packet is the next data packet to be sent by the first target data stream, and the second data packet is the next data packet to be sent by the second target data stream data pack.
- the first data includes information about the frame number corresponding to the first data packet
- the second data includes information about the frame number corresponding to the second data packet
- the frame number corresponding to the first data packet is determined by the frame header identification and the frame tail identification in the first target data stream
- the frame number corresponding to the second data packet is determined by the frame header identification and the frame end identification in the second target data stream. End of frame identification is determined.
- the method further includes: the first device receiving second indication information, where the second indication information is used to instruct to preferentially send data that needs to be retransmitted in the target data stream packet; the first device sends the data packet that needs to be retransmitted according to the second indication information, wherein the sending time of the data packet that needs to be retransmitted is earlier than the sending time of other data packets to be sent in the target data stream .
- the sending the data packet that needs to be retransmitted includes: placing the data packet that needs to be retransmitted at the top of the queue corresponding to the target data stream, sending the data packet that needs to be retransmitted Retransmitted data packets; or, place the data packets that need to be retransmitted in a retransmission queue, and send the data packets that need to be retransmitted, and the retransmission queues belong to the first QoS flow or the first QoS sub-flow, wherein, The priority of the first QoS flow is higher than the priority of the QoS flow corresponding to the target data flow, and the priority of the first QoS sub-flow is higher than the priority of the QoS sub-flow corresponding to the target data flow.
- a communication method including: generating first indication information, where the first indication information is used to indicate synchronous transmission of multiple target data streams; sending the first indication information to a first device, the first device It is used for performing synchronous transmission processing on at least one target data stream in the plurality of target data streams, so that the deviation of the transmission progress among the plurality of target data streams is less than or equal to the first threshold.
- the first device by sending the first indication information to the first device, the first device can perform synchronous transmission processing on multiple target data streams according to the first indication information, and control the deviation of the transmission progress among the multiple target data streams less than or equal to the first threshold.
- the solution of the present application can improve user experience.
- the deviation of the transmission progress between the multiple target data streams includes one or more of the following: frame numbers of transmission between the multiple target data streams The deviation of the time stamps between the multiple target data streams, the deviation of the time consumed by the multiple target data streams to transmit the preset data amount.
- the first indication information is one, and the first indication information includes identification information of each target data stream in the multiple target data streams; or the There are multiple pieces of first indication information, and the pieces of first indication information are in one-to-one correspondence with multiple target data streams, and each first indication information includes identification information of the corresponding target data stream; wherein, the identification information of the target data stream includes At least one of the following parameters: quintuple information corresponding to the target data flow, information about the quality of service QoS flow identification information corresponding to the target data flow, or information about the QoS flow sub-flow identification information corresponding to the target data flow.
- the multiple target data streams belong to a first synchronization group among the multiple synchronization groups, wherein each synchronization group includes at least two target data streams, wherein , the target data streams in the same synchronization group need to be transmitted synchronously, and the first indication information further includes the identifier of the first synchronization group.
- the first indication information further includes indication information of the first threshold.
- the first indication information further includes a preset sending rate of each target data stream in the multiple target data streams.
- a method for transmitting data including: the first device receiving second indication information, where the second indication information is used to instruct to preferentially send data packets that need to be retransmitted in a target data stream; the first device receives For the data packet that needs to be retransmitted, send the data packet that needs to be retransmitted according to the second indication information, wherein the sending time of the data packet that needs to be retransmitted is earlier than the sending time of other data packets to be sent in the target data stream time.
- the sending the data packet that needs to be retransmitted includes: placing the data packet that needs to be retransmitted at the top of the queue corresponding to the target data stream, sending the data packet that needs to be retransmitted retransmitted data packet; or place the data packet that needs to be retransmitted in a retransmission queue, and send the data packet that needs to be retransmitted, the retransmission queue belongs to the first QoS flow or the first QoS sub-flow, wherein all The priority of the first QoS flow is higher than the priority of the QoS flow corresponding to the target data flow, and the priority of the first QoS sub-flow is higher than the priority of the QoS sub-flow corresponding to the target data flow.
- the data packet that needs to be retransmitted includes a retransmission marker, and the retransmission marker is used to indicate that the data packet that needs to be retransmitted needs to be retransmitted.
- the second indication information further includes identification information of the target data stream.
- the second indication information further includes identification information of the first QoS flow or identification information of the first QoS sub-flow.
- an apparatus for transmitting data includes a unit for executing the method in any of the possible implementation manners of the first aspect and the third aspect.
- a communication device comprising means for performing the method of the second aspect or various implementations thereof.
- a computer-readable medium stores a computer program (which may also be referred to as code, or an instruction), when it runs on a computer, causing the computer to execute the above-mentioned first to third aspects. method in any of the possible implementations.
- a computer program product comprising: computer program code, when the computer program code is executed by a computer, causing the computer to execute any one of the possible implementations of the first to third aspects. method.
- a chip is provided, and a processing circuit is provided on the chip, and the processing circuit is configured to execute the method in any one of the possible implementation manners of the first to third aspects.
- a communication device in a ninth aspect, includes a memory for storing a computer program; a processor for calling and running the computer program from the memory, so that the communication device implements any one of the first to third aspects method in one possible implementation.
- FIG. 1 shows the architecture of a communication system to which this embodiment of the present application is applicable.
- FIG. 2 shows an example of a schematic interaction diagram of the method for transmitting data of the present application.
- FIG. 3 shows another example of a schematic interaction diagram of the method for transmitting data of the present application.
- FIG. 4 shows another example of a schematic interaction diagram of the method for transmitting data of the present application.
- FIG. 5 shows another example of a schematic interaction diagram of the method for transmitting data of the present application.
- FIG. 6 shows another example of a schematic interaction diagram of the method for transmitting data of the present application.
- FIG. 7 shows another example of a schematic interaction diagram of the method for transmitting data of the present application.
- FIG. 8 shows an example of a schematic flow chart of the method for transmitting data of the present application.
- FIG. 9 shows another example of a schematic flow chart of the method for transmitting data of the present application.
- FIG. 10 shows another example of a schematic flow chart of the method for transmitting data of the present application.
- FIG. 11 shows a schematic block diagram of an example of the communication device provided by the present application.
- FIG. 12 shows another example of a schematic block diagram of the communication device provided by the present application.
- the technical solution proposed in this application can be applied to a communication system capable of completing communication through an access network and a core network, as shown in FIG. 1 .
- the access network includes access network equipment, and the access network equipment is a device that provides a cell.
- the access network equipment is a device that provides a cell.
- it may be an access point (Access Point, AP) in a WLAN, or an access point in WCDMA.
- Radio Access Network Radio Access Network
- the core network may include, but is not limited to, user plane network elements, session management network elements, and policy control network elements.
- the user plane network element is used for packet routing and forwarding and quality of service (QoS) processing of user plane data, etc., and is mainly responsible for processing user packets, such as forwarding and charging.
- the user plane network element may be a user plane function (user plane function, UPF) network element.
- UPF user plane function
- the user plane network element may still be the UPF network element, or may have other names, which are not limited in this application.
- the session management network element is mainly used for session management, such as session establishment, modification and release.
- the session management network element may be a session management function (session management function, SMF) network element.
- SMF session management function
- the session management network element may still be an SMF network element, or may have other names, which are not limited in this application.
- the policy control network element is used to guide the unified policy framework of network behavior, and provides policy rule information for the control plane functional network element.
- the policy control network element may be a policy and charging rules function (policy and charging rules function, PCRF) network element.
- PCRF policy and charging rules function
- the policy control network element may be a policy control function (PCF) network element.
- PCF policy control function
- the present application is aimed at scenarios such as VR, AR, MR, multi-camera, tire crane, etc., and the multiple target data streams transmitted in these scenarios have content and/or time dependencies.
- the synchronous transmission of multiple target data streams can be realized by the solution of the present application.
- a plurality of target data streams with content and/or time correlations must be determined first.
- the application client determines multiple target data streams with content and/or temporal dependencies.
- the application server determines multiple target data streams with content and/or time dependencies. For example, the application server may determine that multiple target data streams have content and/or temporal dependencies based on the type of application.
- the first indication information may be sent to the device #A.
- Device #A communicates with the application client through the first interface.
- Device #A can be deployed in a terminal device together with the application client.
- Device #A is the first module of the terminal device, and the first module is used to transmit data and signaling with the access network device.
- a module can be a modem of device #A; the application client can also be an external device, such as a camera, device #A is a client front-end for data and signaling transmission with access network devices Equipment (customer premise equipment, CPE).
- Equipment customer premise equipment
- the first indication information is used to indicate synchronous transmission of multiple target data streams, and the first indication information includes identification information of the target data streams and information of the first threshold.
- the first threshold value may be the maximum value of the deviation of the allowable transmission progress between any two target data streams in the multiple target data streams; or, the first threshold value may be two target data streams specified in the multiple target data streams The maximum value of the deviation of the allowable transmission progress between the streams, and the first threshold may be different for the two specified target data streams at this time.
- the first threshold may be determined by the application client or the application server. For example, when the target data stream is a video stream, the first threshold may be determined with reference to the range of deviations perceivable by the naked eye. For example, the difference between the transmission progress of two video streams is allowed to be less than or equal to 5 frames. If the transmission progress of the two video streams exceeds 5 frames, the viewer's experience will be affected.
- the application client sends information #A (an example of the first instruction information) to the device #A.
- device #A receives the information #A.
- the information #A includes information about the first identification of each target data stream in the multiple target data streams (an example of identification information).
- the first identification can be the quintuple information of the target data stream, and the first identification It can also be a data stream identifier.
- the application client can assign a data stream identifier to the target data stream, and insert the data stream identifier into the data packet corresponding to the target data stream to identify the target data stream.
- the information #A also includes information of the first threshold value.
- the information #A further includes identification information of the synchronization group.
- the application client sends multiple pieces of information #A to device #A, each message #A includes information about the first identifier of a target data stream, and at the same time, each message #A carries a synchronization group identifier, and device #A According to the received information #A with the same synchronization group identifier, multiple target data streams that need to be synchronized for transmission are determined.
- the information #A also includes information of the first threshold value.
- the application client also sends the information of the synchronization group to the device #A, wherein the information of the synchronization group includes the information of the identification of the synchronization group and the first threshold value.
- the application server sends the information #A to the core network element, and the core network element sends the information #A to the device #A. Accordingly, device #A receives the information #A.
- the core network element can send one or more pieces of information #A. When sending multiple pieces of information #A, each piece of information #A needs to carry a synchronization group identifier, and the core network element also sends a synchronization group identifier to device #A. group information.
- Device #A receives the first indication information, and acquires information of the first threshold and identification information of each target data stream in the multiple target data streams.
- Device #A may receive the first indication information according to the above-mentioned method 1 or method 2, and obtain information of the first threshold and identification information of each target data stream in the multiple target data streams.
- the application client sends a data packet to the device #A. Accordingly, device #A receives the data packet.
- S125, device #A can judge whether the target data stream to which the data packet belongs is the target data in multiple target data streams according to the identification information of the target data stream to which the data packet belongs, such as the quintuple information carried in the data packet. flow.
- the identification information of other types of target data streams can also be carried in the data packet, for example, the data stream identifier is carried in the data packet, and device #A identifies whether the data packet belongs to multiple The target data stream within the target data stream.
- Device #A determines information about the transmission progress of each target data stream in the multiple target data streams.
- Device #A determines the frame number transmitted by each target data stream, and the transmitted frame number includes the frame number corresponding to the next data packet to be sent by the target data stream.
- Device #A determines the information of the timestamp corresponding to the next data packet to be sent in each target data stream, and the information of the timestamp can be used to indicate the transmission progress of the target data stream.
- Device #A determines the time it takes for each target data stream to transmit a preset amount of data.
- S140, Device #A performs synchronous transmission processing on multiple target data streams.
- the device #A stops sending data packets in the first target data stream, wherein the second target data stream is the first target data in the multiple target data streams. Destination data stream outside of the stream.
- Device #A receives a first data packet and a second data packet, the first data packet belongs to the first target data stream among the multiple target data streams, and the first data packet is the next data packet to be sent from the first target data stream ; the second data packet belongs to the second target data stream in the plurality of target data streams, and the second data packet is the next data packet to be sent from the second target data stream or the last sent data packet of the second target data stream.
- device #A stops sending Data packets in the first target data stream.
- the frame number corresponding to the first data packet is the 15th frame
- the frame number corresponding to the second data packet is the 10th frame
- the first threshold is 4 frames
- the frame number corresponding to the first data packet corresponds to the second data packet If the deviation of the frame number is greater than 4 frames, and the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, stop sending the first data packet and the data of the first target data stream after the first data packet Bag. It should be understood that the starting frame number of each target data stream in the multiple target data streams is the same.
- Device #A may determine the frame number corresponding to the first data packet according to the information of the frame number carried in the first data packet.
- device #A determines a frame according to the frame header identifier and/or the frame end identifier, and records the transmission progress of each target data stream.
- the first data packet includes a frame header identifier
- device #A determines a frame number corresponding to the first data packet according to the transmission progress of the first target data stream and the frame header identifier. For example, the frame number obtained by adding one to the frame number corresponding to the most recent data packet transmitted by the first target data stream is determined as the frame number corresponding to the first data packet.
- device #A determines a frame according to the frame header identification and/or the frame end identification.
- the first data packet does not include the information of the frame header identification and the frame number corresponding to the first data packet, and the device #A determines the frame number of the data packet transmitted most recently by the first target data stream as the frame number corresponding to the first data packet. .
- device #A can determine the frame number corresponding to the second data packet.
- Device #A receives a first data packet and a second data packet, the first data packet belongs to the first target data stream among the multiple target data streams, and the first data packet is the next data packet to be sent from the first target data stream ; the second data packet belongs to the second target data stream in the plurality of target data streams, and the second data packet is the next data packet to be sent from the second target data stream or the last sent data packet of the second target data stream.
- device #A stops sending Data packets in the first target data stream.
- the time stamp corresponding to the first data packet is 15ms
- the time stamp corresponding to the second data packet is 10ms
- the first threshold is 4ms
- the deviation between the time stamp corresponding to the first data packet and the time stamp corresponding to the second data packet is greater than 4ms
- the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, stop sending the first data packet and the data packets of the first target data stream after the first data packet.
- device #A stops sending data packets in the first target data stream.
- the first indication information further includes the preset sending rate or total data volume of each target data stream in the multiple target data streams, wherein, when the first indication information includes each target data stream in the multiple target data streams
- the ratio of the first preset data amount to the second preset data amount is the first ratio
- the preset sending rate of the first target data stream is equal to the preset sending rate of the second target data stream.
- the ratio of the sending rate be the second ratio
- the first ratio is associated with the second ratio.
- the first ratio is the same as the second ratio; when the first indication information includes the total data flow of each target data flow, The ratio of the first preset data volume to the second preset data volume is the first ratio, the ratio of the total data volume of the first target data stream to the total data volume of the second target data stream is the second ratio, and the first ratio Associated with this second ratio, for example, the first ratio is the same as the second ratio.
- the preset sending rate of the first target data stream is 2M/s
- the preset sending rate of the second target data stream is 1M/s
- the first preset data volume is 2M
- the second preset data volume is 1M
- the first threshold is 0.03s
- the time t1 for device #A to monitor the first target data stream to send 2M data is 0.98s
- the time t2 for the second target data stream to send 1M data is 1.02s
- t1 and t2 The deviation is greater than the first threshold
- the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream
- device #A stops sending data packets in the first target data stream.
- the total data volume of the first target data stream is 200M
- the total data volume of the second target data stream is 100M
- the first preset data stream is 2M
- the second preset data stream is 1M
- the first threshold is 0.03s
- the time t1 consumed by device #A to monitor the first target data stream to send 2M data volume is 0.98s
- the time t2 consumed by the second target data stream to send 1M data volume is 1.02s
- the deviation between t1 and t2 is greater than the first threshold
- the transmission progress of the first target data stream is faster than that of the second target data stream
- device #A stops sending data packets in the first target data stream.
- the size of the preset data amount may be a variable.
- the first preset data amount is 4M, and the second preset data amount is correspondingly 2M; or, the first preset data amount is 6M, and the second preset data amount is correspondingly 3M, and so on. That is, the device #A can monitor the time consumed by the multiple target data streams to send the preset data amount according to a certain rule.
- the preset sending rate of the first target data stream and the preset sending rate of the second target data stream When the deviation of the ratio of sending rates is greater than the first threshold, and the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, device #A stops sending data packets in the first target data stream.
- the first indication information also includes the preset sending rate of each target data stream in the multiple target data streams, or includes the relative value of each target data stream in the multiple target data streams relative to other target data streams. preset rate ratio.
- the first threshold is 0.4
- the preset sending rate of the first target data stream is 2M/s
- the preset sending rate of the second target data stream is 1M/s
- the preset sending rate of the first target data stream is the same as that of the first target data stream.
- the ratio of the preset sending rates of the two target data streams is 2.
- the first target data stream sends 2M data volume
- the second target data stream sends 0.8M data volume
- the deviation is greater than the first threshold
- the transmission progress of the first target data stream is faster than that of the second target data stream
- device #A stops sending data packets in the first target data stream.
- modes 1-4 after the preset first time period elapses since the data packets in the first target data stream are stopped, if the deviation of the transmission progress between the first target data stream and the second target data stream is still greater than the first target data stream. A threshold at which device #A sends packets in the first target data stream. At this time, the first target data stream no longer waits for the transmission of the second target data stream.
- the preset first duration has not been reached since the data packets in the first target data stream are stopped, and device #A determines the transmission between the first target data stream and the second target data stream If the deviation of the progress is less than or equal to the first threshold, the device #A sends the data packets in the first target data stream.
- the Device #A receives a second data packet, the second data packet belongs to the second target data stream among the multiple target data streams, and the second data packet is the next data packet to be sent from the second target data stream.
- the Two data packets are discarded, or the second data packet and some data packets following the second data packet can be discarded, thereby reducing the deviation of the transmission progress between the first target data stream and the second target data stream.
- the manner in which the device #A determines that the deviation of the transmission progress between the first target data stream and the second target data stream is greater than the first threshold may be similar to that in manners 1-4, and will not be described in detail here.
- whether to discard the second data packet may be decided according to the reliability or importance of the second data packet. For example, when transmitting a video stream, if the second data packet belongs to an intra-coded picture frame, or I frame for short, then the second data packet is more reliable or important to the second target data stream. If the second data packet belongs to a predictive-coded picture frame of a predictive-coded picture, a P frame for short, the second data packet is reliable for the second target data stream or less important packets, the second packet can be discarded.
- the frame type to which the second data packet belongs may be determined according to the frame number corresponding to the second data packet.
- the size of a group of pictures (GOP) is 4 frames
- the frame number of the first I frame is the first frame
- the frame number corresponding to the second data packet is the fifth frame
- the second data packet is an I frame.
- Device #A receives the first data packet and the second data packet, the first data packet belongs to the first target data stream, the first data packet is the next to-be-sent data packet of the first target data stream, and the second data packet belongs to the second target data stream data stream, the second data packet is the next data packet to be sent in the second target data stream, when the deviation of the transmission progress between the first target data stream and the second target data stream is greater than the first threshold, and the first target data stream If the transmission progress of the stream is faster than the transmission progress of the second target data stream, stop sending the data packets in the first target data stream, and discard the second data packet, or discard the second data packet and part of the data after the second data packet Bag.
- the manner in which the device #A determines that the deviation of the transmission progress between the first target data stream and the second target data stream is greater than the first threshold may be similar to that in manners 1-4, and will not be described in detail here. Moreover, similar to the manners 1-4, after a certain condition is satisfied, the data packets in the first target data stream may continue to be sent, which will not be further described here.
- the second data packet can be discarded according to the frame type to which the second data packet belongs. For example, if the second data packet belongs to a P frame, the second data packet can be discarded Bag.
- S150 Device #A sends a data packet according to the result of performing synchronous transmission processing on multiple target data streams. Accordingly, the RAN receives the data packet.
- the RAN sends the data packet to the core network element.
- the core network element receives the data packet.
- packets can be sent to the UPF.
- the core network element sends a data packet to the application server. Accordingly, the application server receives the data packet.
- data packets can be sent by the UPF to the application server.
- device #A when transmitting data upstream, device #A can perform synchronous transmission processing on multiple target data streams, so that the deviation of the transmission progress among the multiple target data streams is less than or equal to the first threshold.
- the solution of the present application can achieve higher synchronization accuracy between multiple target data streams, thereby improving user experience.
- first indication information may be sent to the RAN, where the first indication information is used to instruct the RAN to perform synchronous transmission on the multiple target data streams.
- the first indication information includes identification information of the target data stream and information of the first threshold.
- the first threshold value may be the maximum value of the deviation of the allowable transmission progress between any two target data streams in the multiple target data streams; or, the first threshold value may be two target data streams specified in the multiple target data streams The maximum value of the deviation of the allowable transmission progress between the streams, and the first threshold may be different for the two specified target data streams at this time.
- the application client sends the information #A to the core network element through the device #A, the information #A includes the information of the first identification of each target data stream in the multiple target data streams, and the information #A also includes the first identifier. information of a threshold; or, device #A sends a plurality of messages #A to the core network element, each message #A includes information of the first identifier of a target data stream and a synchronization group identifier, and device #A also sends a message to the core network.
- the network element sends the information of the synchronization group.
- the core network element maps multiple target data flows to multiple quality of service (quality of service, QoS) flows, that is, establishes the correspondence between the first identifiers of the multiple target data flows and the QoS flow identifiers (QoS flow ID, QFI) relation.
- the core network element sends information #B (another example of the first indication information) to the RAN, where the information #B includes QFI (an example of identification information) corresponding to multiple target data streams and information of the first threshold. Accordingly, the RAN receives this information #B.
- the core network element sends multiple messages #B to the RAN, each message #B includes a QFI corresponding to a target data stream, and in this case, each message #B should also carry a synchronization group identifier.
- the RAN receives multiple pieces of information #B with the same synchronization group identifier, and determines multiple target data streams that need to be processed for synchronization transmission.
- the core network element also sends the synchronization group information to the RAN.
- the core network element When transmitting data upstream, the core network element also needs to send information #E to the device #A, where the information #E includes the correspondence between the first identifier of each target data stream in the multiple target data streams and the QFI. Accordingly, device #A receives information #E.
- device #A can send information #A to SMF, for example, by sending information #A through a session establishment request or session modification request, and the SMF maps multiple target data flows to multiple QoS flows.
- RAN sends message #B.
- the SMF sends information #E to device #A through a NAS message.
- the above-mentioned core network element can be an SMF.
- the SMF also needs to send information #E to the UPF, and the information #E includes the information of each target data stream in the multiple target data streams.
- the application client sends the information #A to the core network element through the device #A, the information #A includes the information of the first identification of each target data stream in the multiple target data streams, and the information #A also includes the first identifier. information of a threshold; or, the core network element receives multiple pieces of information #A, each information #A includes information about the first identifier of a target data stream and a synchronization group identifier, and the core network element also receives the synchronization group information.
- the core network element maps the multiple target data flows to multiple sub-flows of the same QoS flow, that is, establishes a correspondence between the first identifiers of the multiple target data flows and the multiple sub-flow identifiers of the same QoS flow.
- the core network element sends information #C (another example of the first indication information) to the RAN, where the information #C includes multiple sub-flow identifiers (an example of identification information) of the same QoS flow and information about the first threshold, optionally
- the QFI can also be included. Accordingly, the RAN receives this information #C.
- the core network element can also send multiple messages #C to the RAN, each message #C includes a sub-flow identifier of a QoS flow, and each message #C also needs to include the synchronization group identifier, and the core network element also Send the synchronization group information to the RAN.
- the core network element When transmitting data upstream, the core network element also needs to send information #F to device #A, where information #F includes the first identifier of each target data flow in the multiple target data flows and multiple sub-flows of the same QoS flow The corresponding relationship of the identification. Accordingly, device #A receives information #F.
- device #A can send information #A to SMF, which maps multiple target data flows to multiple sub-flows of the same QoS flow, and SMF sends information #C to RAN.
- SMF sends information #F to device #A through a NAS message.
- the above-mentioned core network element can be an SMF.
- the SMF also needs to send information #F to the UPF, and the information #F includes the information of each target data stream in the multiple target data streams.
- the application server sends the information #A to the core network element, the information #A includes the information of the first identification of each target data stream in the multiple target data streams, and the information #A also includes the information of the first threshold;
- the core network element receives multiple pieces of information #A, each information #A includes information of the first identifier of a target data stream and a synchronization group identifier, and the core network element also receives the synchronization group information.
- the core network element maps multiple target data flows to multiple QoS flows, and the core network element sends information #B to the RAN.
- the core network element also sends the synchronization group information to the RAN. Accordingly, the RAN receives this information #B.
- Method 1 please refer to Method 1.
- the core network element When transmitting data in the uplink, the core network element also needs to send the information #E to the device #A. Accordingly, device #A receives information #E.
- an application server can send information #A to SMF through PCF, SMF maps multiple target data flows to multiple QoS flows, SMF sends information #B to RAN, and SMF sends information # to device #A E.
- the above-mentioned core network element may be an SMF.
- the SMF also needs to send the information #E to the UPF, and correspondingly, the UPF receives the information #E.
- the application server sends the information #A to the core network element, the information #A includes the information of the first identification of each target data stream in the multiple target data streams, and the information #A also includes the information of the first threshold;
- the core network element receives multiple pieces of information #A, each information #A includes information of the first identifier of a target data stream and a synchronization group identifier, and the core network element also receives the synchronization group information.
- the core network element maps multiple target data flows to multiple sub-flows of the same QoS flow, and the core network element sends information #C to the RAN. Accordingly, the RAN receives this information #C. See method 2 for details.
- the core network element When transmitting data in the uplink, the core network element also needs to send the information #F to the device #A. Accordingly, device #A receives information #F.
- the application server can send information #A to the SMF through the PCF, and the SMF maps multiple target data flows to multiple sub-flows of the same QoS flow, the SMF sends the information #C to the RAN, and the SMF sends the device# A sends message #F.
- the above-mentioned core network element may be an SMF.
- the SMF also needs to send the information #F to the UPF, and correspondingly, the UPF receives the information #F.
- the RAN receives the first indication information, and obtains information of the first threshold and identification information of each target data stream in the multiple target data streams.
- the RAN may obtain the information of the first threshold value in any one of the foregoing manners 1 to 4, and the identification information of each target data stream in the multiple target data streams.
- the application client sends a data packet to the device #A. Accordingly, device #A receives the data packet.
- S230 Device #A sends first request information to the RAN, where the first request information is used to request the RAN to allocate radio resources. Accordingly, the RAN receives the first request information.
- the RAN determines information about the transmission progress of each target data stream in the multiple target data streams.
- the RAN performs synchronous transmission processing on the multiple target data streams.
- the first request information requests to allocate a first radio resource for a first target data stream in the plurality of target data streams.
- the first request information includes frame number information corresponding to the first data packet, where the first data packet is the next data packet to be sent in the first target data stream.
- the RAN stops the first A first radio resource allocated by a target data stream, wherein the second data packet belongs to the second target data stream among the multiple target data streams, and the second data packet is the next data packet to be sent or the first data packet of the second target data stream.
- Two destination data streams are the last sent packet.
- the RAN also receives the second request information before receiving the first request information, or the RAN receives the first request information and the second request information in one message, wherein the second request information requests allocation of the second target data flow
- the second request information includes a frame number corresponding to the second data packet, and the second data packet is the next data packet to be sent in the second target data stream.
- the RAN In response to the second request information, the RAN allocates second radio resources for the second target data flow.
- the RAN may also A first radio resource is allocated, and the first radio resource is less than the second radio resource.
- the bandwidth allocated by the RAN for the first target data flow is smaller than the bandwidth allocated for the second target data flow. Due to the different bandwidths of the allocated radio resources, the transmission resources obtained by the second target data flow are larger than the resources obtained by the first target data flow, so that more data can be sent.
- the first request information further includes first buffer information of the first target data stream and second buffer information of the second target data stream, where the first buffer information is the waiting list of the frame corresponding to the first data packet.
- the size of the total amount of data to be sent, and the second buffer information is the size of the total amount of data to be sent in the frame corresponding to the second data packet.
- a difference between the transmission progress of the first target data stream and the second target data stream is determined.
- the first threshold is 4, the frame number of the second data packet is the 15th frame, the second buffer information is 100Kb, the frame number of the first data packet is the 20th frame, and the first buffer information is 200Kb.
- the 15th frame of the target data stream still has data that has not been sent, and the difference between the frame number of the first data packet and the frame number of the second data packet is 5, which is greater than the first threshold of 4. Therefore, the RAN can decide not to The first target data flow allocates first radio resources.
- the first request information may further include identification information of the first target data flow and the second target data flow, where the identification information may be QFI or QoS flow sub-flow identifiers corresponding to the first target data flow and the second target data flow.
- the RAN may determine, according to the identification information of the first target data stream and the second target data stream, that the first target data stream and the second target data stream are target data streams among the multiple target data streams.
- the above two request information may be sent in one message, and correspondingly, the two request information may also be responded to in one response message.
- the above two request messages can also be sent by different devices #A respectively. This application does not limit this.
- the first request information requests to allocate radio resources for a first target data stream in the plurality of target data streams.
- the first request information includes timestamp information corresponding to the first data packet, where the first data packet is the next data packet to be sent in the first target data stream.
- the RAN stops the A first radio resource allocated by a target data stream, wherein the second data packet belongs to the second target data stream among the multiple target data streams, and the second data packet is the next data packet to be sent or the first data packet of the second target data stream.
- Two destination data streams are the last sent packet.
- the radio resources allocated by the RAN for the first target data flow and the second target data flow may also be in other situations, and the description is not repeated here.
- the first request information requests to allocate radio resources for a first target data stream in the plurality of target data streams.
- the RAN stops allocating the first radio resource for the first target data flow, or the first radio resource allocated by the RAN for the first target data flow is smaller than the second target data flow allocated for the second target data flow. wireless resources.
- the RAN monitors the time consumed by the multiple target data streams sending the preset data amount.
- the radio resources allocated by the RAN for the first target data flow and the second target data flow may also be in other situations, and the description is not repeated here.
- the first request information requests to allocate radio resources for a first target data stream in the plurality of target data streams.
- the preset sending rate of the first target data stream and the preset sending rate of the second target data stream When the ratio of the actual sending rate of the first target data stream among the multiple target data streams to the actual sending rate of the second target data stream among the multiple target data streams, the preset sending rate of the first target data stream and the preset sending rate of the second target data stream When the deviation of the ratio of the transmission rates is greater than the first threshold, and the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, the RAN stops allocating the first radio resource for the first target data stream, or the RAN is the first target data stream.
- the first radio resource allocated for the target data flow is smaller than the second radio resource allocated for the second target data flow.
- the first indication information also includes the preset sending rate of each target data stream in the multiple target data streams, or includes the relative value of each target data stream in the multiple target data streams relative to other target data streams. preset rate ratio.
- radio resources can be allocated for the first target data flow.
- S260 Device #A sends a data packet according to the result of performing synchronous transmission processing on the multiple target data streams. Accordingly, the RAN receives the data packet.
- the RAN sends the data packet to the core network element.
- the core network element receives the data packet.
- packets can be sent to the UPF.
- the core network element sends a data packet to the application server. Accordingly, the application server receives the data packet.
- data packets can be sent by the UPF to the application server.
- the RAN receives the first indication information, and obtains information of the first threshold and identification information of each target data stream in the multiple target data streams.
- the RAN may acquire the information of the first threshold and the identification information of each target data stream in the multiple target data streams in any one of the foregoing manners 1 to 4.
- S320 The application server sends a data packet, where the data packet includes a first identifier of the target data stream to which the data packet belongs. Accordingly, the UPF receives the data packet.
- the UPF sends the data packet to the RAN. Accordingly, the RAN receives the data packet.
- the UPF determines the QFI of the QoS flow to which the data packet belongs according to the information #E received from the SMF and the first identifier in the data packet, and the UPF encapsulates the data packet into a GTP-U data packet, wherein the GTP-U packet is in the Include the QFI corresponding to the data packet.
- the UPF determines the QoS flow sub-flow identifier to which the data packet belongs according to the information #F received from the SMF and the first identifier in the data packet, and the UPF encapsulates the data packet into a GTP-U data packet, wherein the GTP-U The U packet includes the QoS flow sub-flow identifier corresponding to the data packet.
- the RAN determines whether the target data flow to which the data packet belongs is a target data flow among multiple target data flows according to the QFI and/or QoS flow sub-flow identifier carried in the GTP-U of the data packet.
- S340 The RAN determines information about the transmission progress of each target data stream in the multiple target data streams.
- the manner in which the RAN determines the information on the transmission progress of each target data stream in the multiple target data streams is similar to that in S130, and will not be described herein again.
- the RAN performs synchronous transmission processing on the multiple target data streams.
- the manner in which the RAN performs synchronous transmission processing on multiple target data streams may be similar to that in S140, and will not be described herein again.
- the RAN sends a data packet according to the result of performing the synchronous transmission process on the multiple target data streams. Accordingly, device #A receives the data packet.
- Device #A sends the data packet to the application client. Accordingly, the application client receives the data packet.
- the RAN may perform synchronous transmission processing on the multiple target data streams, so that the deviation of the transmission progress among the multiple target data streams is less than or equal to the first threshold.
- the solution of the present application can achieve higher synchronization accuracy among multiple target data streams, thereby improving user experience.
- first indication information may be sent to the core network element, where the first indication information is used to instruct the core network element to perform synchronous transmission of the multiple target data streams .
- the first indication information includes identification information of the target data stream and information of the first threshold.
- the first threshold value may be the maximum value of the deviation of the allowable transmission progress between any two target data streams in the multiple target data streams; or, the first threshold value may be two target data streams specified in the multiple target data streams The maximum value of the deviation of the allowable transmission progress between the streams, and the first threshold may be different for the two specified target data streams at this time.
- the UPF can synchronously transmit multiple target data streams.
- the application client sends the information #A to the SMF through the device #A, the information #A includes the information of the first identifier of each target data stream in the multiple target data streams, and the information #A also includes the first threshold value. information; or, the SMF receives a plurality of information #A, each information #A includes the information of the first identification of a target data stream and the synchronization group identification, and the SMF also receives the information of the synchronization group.
- the SMF maps multiple target data flows to multiple QoS flows, that is, establishes a correspondence between the first identifiers of the multiple target data flows and the QFI.
- the SMF When data is transmitted upstream, the SMF sends information #B to the UPF, where the information #B includes information about QFIs and first thresholds corresponding to multiple target data streams. Accordingly, the UPF receives the information #B.
- the SMF sends multiple messages #B to the UPF, each message #B includes a QFI corresponding to a target data stream, and in this case, each message #B should also carry a synchronization group identifier.
- the UPF receives multiple pieces of information #B with the same synchronization group identifier, and determines multiple target data streams that need to be processed for synchronization transmission.
- the SMF also sends the synchronization group information to the UPF.
- the SMF When transmitting data upstream, the SMF also needs to send information #E to the device #A, where the information #E includes the correspondence between the first identifier of each target data stream in the multiple target data streams and the QFI. Accordingly, the UPF receives the message #B and the device #A receives the message #E.
- the SMF When downlinking data, the SMF sends information #H to the UPF, where the information #H includes information about the first identifier of each target data stream in the multiple target data streams, and the information #H also includes information about the first threshold.
- the SMF sends a plurality of messages #H to the UPF, each message #H includes information about the first identifier of a target data stream and a synchronization group identifier, and the UPF also receives the synchronization group information.
- the SMF also needs to send information #E to the UPF, where the information #E includes the correspondence between the first identifier of each target data stream in the multiple target data streams and the QFI. Accordingly, the UPF receives information #H and information #E.
- the application client sends the information #A to the SMF through the device #A, the information #A includes the information of the first identifier of each target data stream in the multiple target data streams, and the information #A also includes the first threshold value. information; or, the SMF receives a plurality of information #A, each information #A includes the information of the first identification of a target data stream and the synchronization group identification, and the SMF also receives the information of the synchronization group.
- the SMF maps multiple target data flows to multiple sub-flows of the same QoS flow, that is, establishes a correspondence between the first identifiers of the multiple target data flows and the multiple sub-flow identifiers of the same QoS flow.
- the SMF When transmitting data upstream, the SMF sends information #C to the UPF, where the information #C includes multiple sub-flow identifiers of the same QoS flow and information about the first threshold, and optionally the QFI.
- the SMF sends multiple messages #C to the UPF, each message #C includes a sub-flow identifier of a QoS flow, and at this time, each message #C should also carry a synchronization group identifier.
- the UPF receives multiple pieces of information #C with the same synchronous group identifier, and determines multiple target data streams that need to be processed for synchronous transmission.
- the SMF also sends the synchronization group information to the UPF.
- SMF When transmitting data upstream, SMF also needs to send information #F to device #A, where information #F includes the correspondence between the first identifier of each target data stream in the multiple target data streams and the identifiers of multiple sub-flows of the same QoS stream relation. Accordingly, the UPF receives the information #C and the device #A receives the information #F.
- the SMF When downlinking data, the SMF sends information #H to the UPF, where the information #H includes information about the first identifier of each target data stream in the multiple target data streams, and the information #H also includes information about the first threshold.
- the SMF sends a plurality of messages #H to the UPF, each message #H includes information about the first identifier of a target data stream and a synchronization group identifier, and the UPF also receives the synchronization group information.
- the SMF also needs to send message #F to the UPF. Accordingly, the UPF receives information #H and information #F.
- the application server sends the information #A to the SMF, the information #A includes the information of the first identifier of each target data stream in the multiple target data streams, and the information #A also includes the information of the first threshold; or, the SMF A plurality of messages #A are received, each message #A includes information of the first identifier of a target data stream and a synchronization group identifier, and the SMF also receives the information of the synchronization group.
- the SMF maps multiple target data flows to multiple QoS flows, that is, establishes a correspondence between the first identifiers of the multiple target data flows and the QFI.
- the SMF When transmitting data upstream, similar to Mode 1, the SMF sends information #B to the UPF, and the SMF also needs to send information #E to the device #A. Accordingly, the UPF receives the message #B and the device #A receives the message #E.
- the SMF When transmitting data in the downlink, similar to Mode 1, the SMF sends the information #H to the UPF, and the SMF also needs to send the information #E to the UPF.
- the application server sends the information #A to the SMF, the information #A includes the information of the first identifier of each target data stream in the multiple target data streams, and the information #A also includes the information of the first threshold; or, the SMF A plurality of messages #A are received, each message #A includes information of the first identifier of a target data stream and a synchronization group identifier, and the SMF also receives the information of the synchronization group.
- the SMF maps multiple target data flows to multiple sub-flows of the same QoS flow, that is, establishes a correspondence between the first identifiers of the multiple target data flows and the multiple sub-flow identifiers of the same QoS flow.
- the SMF When transmitting data in the uplink, similar to Mode 2, the SMF sends the information #C to the UPF, and the SMF also needs to send the information #F to the device #A. Accordingly, the UPF receives the information #C and the device #A receives the information #F.
- the SMF When transmitting data in the downlink, similar to Mode 2, the SMF sends the information #H to the UPF, and the SMF also needs to send the information #F to the UPF.
- the UPF receives the first indication information, and acquires information of the first threshold and identification information of each target data stream in the multiple target data streams.
- the UPF may acquire the information of the first threshold and the identification information of each target data stream in the plurality of target data streams in any one of the foregoing manners 1 to 4.
- the application client sends a data packet to the device #A. Accordingly, device #A receives the data packet.
- Device #A sends a data packet to the RAN. Accordingly, the RAN receives the data packet.
- the data packet includes identification information of the target data stream to which the data packet belongs.
- the identification information may be the QFI or QoS flow sub-flow identification corresponding to the target data flow.
- the RAN sends a data packet to the UPF. Accordingly, the UPF receives the data packet.
- the UPF determines, according to the identification information of the target data stream to which the data packet belongs, included in the data packet, the target data stream to which the data packet belongs is a target data stream among the multiple target data streams.
- the UPF determines information about the transmission progress of each target data stream in the multiple target data streams.
- the manner in which the UPF determines the information of the transmission progress of each target data stream in the multiple target data streams is similar to that in S130, and will not be described herein again.
- the UPF performs synchronous transmission processing on the multiple target data streams.
- This process may be similar to S140, and will not be further described here.
- the UPF sends a data packet to the application server according to the result of the synchronous transmission processing on the multiple target data streams.
- the UPF receives the first indication information, and acquires information of the first threshold and identification information of each target data stream in the multiple target data streams.
- the UPF may acquire the information of the first threshold and the identification information of each target data stream in the plurality of target data streams in any one of the foregoing manners 1 to 4.
- the application server sends a data packet to the UPF. Accordingly, the UPF receives the data packet.
- the data packet includes the first identifier of the target data stream to which the data packet belongs.
- the UPF determines whether the target data stream to which the data packet belongs is a target data stream among multiple target data streams according to the first identifier of the target data stream to which the data packet belongs.
- the UPF determines information on the transmission progress of each target data stream in the multiple target data streams.
- the manner in which the UPF determines the information of the transmission progress of each target data stream in the multiple target data streams is similar to that in S130, and will not be described herein again.
- the UPF performs synchronous transmission processing on the multiple target data streams.
- the manner in which the UPF performs synchronous transmission processing on multiple target data streams may be similar to that in S140, and will not be described herein again.
- the UPF sends data packets according to the result of performing the synchronous transmission processing on the multiple target data streams. Accordingly, the RAN receives the data packet.
- the UPF determines the QFI of the QoS flow to which the data packet belongs or the sub-flow identifier of the QoS flow to which the data packet belongs.
- the UPF encapsulates the packet into a GTP-U packet and sends it to the RAN.
- the RAN sends the data packet. Accordingly, device #A receives the data packet.
- Device #A sends the data packet to the application client. Accordingly, the application client receives the data packet.
- the UPF when transmitting data, the UPF may perform synchronous transmission processing on multiple target data streams, so that the deviation of the transmission progress among the multiple target data streams is less than or equal to the first threshold.
- the solution of the present application can achieve higher synchronization accuracy among multiple target data streams, thereby improving user experience.
- the multiple target data streams can be synchronously transmitted by the device #A, RAN or core network element.
- the process is shown above. It should be understood that in this scenario, multiple targets can also be connected by device #A and RAN, or device #A and core network element, or RAN and core network element, or device #A, RAN and core network element Data streams are transmitted synchronously.
- the specific process may be a combination of the above-mentioned processes.
- the following takes the example of synchronous transmission of downlink data of multiple target data streams through RAN and UPF.
- the first The indication information is used to instruct the RAN and the UPF to synchronously transmit multiple target data streams.
- the first indication information includes identification information of the target data stream and information of the first threshold. As shown in Figure 7:
- the RAN receives the first indication information, and obtains information of the first threshold and identification information of each target data stream in the multiple target data streams.
- the process may be similar to S310.
- the RAN may determine the information of the first threshold and the QFI corresponding to each of the multiple target data streams by receiving the information #B.
- the UPF receives the first indication information, and acquires information of the first threshold and identification information of each target data stream in the multiple target data streams.
- the process may be similar to S510.
- the UPF may determine the information of the first identification of each target data stream in the plurality of target data streams by receiving the information #H, and the information #H further includes the information of the first threshold.
- the UPF also receives information #E, where the information #E includes the correspondence between the first identifier of each target data stream in the multiple target data streams and the QFI.
- the application server sends a data packet, where the data packet includes a first identifier of the target data stream to which the data packet belongs. Accordingly, the UPF receives the data packet.
- the UPF determines, according to the first identifier carried in the data packet, whether the target data stream to which the data packet belongs is a target data stream among multiple target data streams.
- the UPF determines information about the transmission progress of each target data stream in the multiple target data streams.
- the manner in which the UPF determines the information of the transmission progress of each target data stream in the multiple target data streams is similar to that in S130, and will not be described herein again.
- the UPF performs synchronous transmission processing on multiple target data streams.
- the manner in which the UPF performs synchronous transmission processing on multiple target data streams may be similar to that in S140, and will not be described herein again.
- the UPF sends a data packet according to the result of performing the synchronous transmission process on the multiple target data streams. Accordingly, the RAN receives the data packet.
- the process is similar to S330.
- the UPF determines the QFI of the QoS flow to which the data packet belongs according to the information #E received from the SMF and the first identifier in the data packet, and the UPF encapsulates the data packet into a GTP-U data packet, where the GTP-U The packet includes the QFI corresponding to the data packet.
- the UPF determines the QoS flow sub-flow identifier to which the data packet belongs according to the information #F received from the SMF and the first identifier in the data packet, and the UPF encapsulates the data packet into a GTP-U data packet, wherein the GTP The -U packet includes the QoS flow sub-flow identifier corresponding to the data packet, and optionally, also includes the QFI.
- the RAN determines whether the target data flow to which the data packet belongs is a target data flow among multiple target data flows according to the QFI and/or the QoS flow sub-flow identifier carried in the GTP-U of the data packet.
- the RAN determines information about the transmission progress of each target data stream in the multiple target data streams.
- the manner in which the RAN determines the information on the transmission progress of each target data stream in the multiple target data streams is similar to that in S130, and will not be described herein again.
- the RAN performs synchronous transmission processing on the multiple target data streams.
- the manner in which the RAN performs synchronous transmission processing on multiple target data streams may be similar to that in S140, and will not be described herein again.
- the RAN sends a data packet according to the result of performing the synchronous transmission process on the multiple target data streams. Accordingly, device #A receives the data packet.
- Device #A sends the data packet to the application client. Accordingly, the application client receives the data packet.
- the RAN may The synchronous transmission processing is performed on the target data streams again, so that the deviation of the transmission progress among the plurality of target data streams is less than or equal to the first threshold.
- the solution of the present application can achieve higher synchronization accuracy among multiple target data streams, thereby improving user experience.
- multiple target data streams are transmitted through multiple terminal devices, the same RAN, and the same core network element.
- multiple target data streams can be synchronously transmitted through the RAN, or the core network element, or the RAN and the core network element.
- multiple target data streams are transmitted through multiple terminal devices, multiple RANs, and the same core network element.
- multiple target data streams may be synchronously transmitted through the core network element, and the specific associated scheduling process may be similar to the above-mentioned process, which will not be described here.
- the data packets in the target data stream may be lost, and in this case, the data packets need to be retransmitted.
- the following introduces a method for retransmitting data packets during uplink transmission, as shown in FIG. 8 .
- Device #A receives second indication information, where the second indication information indicates to preferentially send the retransmitted data packets in the target data stream, and the second indication information includes identification information of the target data stream that needs to preferentially transmit the retransmitted data packets.
- the application client determines the target data stream that needs to send the retransmitted data packet preferentially, and sends the second indication information to the device #A.
- the application client sends the second indication information to the device #A, where the second indication information is used to instruct to preferentially send the retransmitted data packets of the target data stream.
- the identification information of the target data stream included in the second indication information may be the first identification corresponding to the target data stream.
- the device #A may also send a session modification request to the SMF, which is used to request the SMF to create a first QoS flow or a first QoS flow with a higher priority for priority retransmission subflow.
- the SMF After receiving the session modification request, the SMF creates a first QoS flow or a first QoS flow sub-flow with a higher priority for the retransmitted data packets of the target data flow, and sends the session modification response information to device #A, the session modification
- the response information includes the information of the first QoS flow or the first QoS flow sub-flow with the higher priority, and the session response message instructs the device #A to pass the first QoS flow or the first QoS flow sub-flow with the higher priority Send a retransmission packet of the target stream.
- the SMF may also send third indication information to the RAN, where the third indication information includes the information of the first QoS flow or the first QoS flow sub-flow with the higher priority, and indicates that the RAN is the first QoS flow with a higher priority.
- the first QoS flow or sub-flow of the first QoS flow with a higher priority is allocated a dedicated radio bearer.
- the application server determines the target data stream that needs to send the retransmitted data packet preferentially, and sends the second indication information to the device #A through the core network element.
- the application server may send retransmission priority information to the SMF, where the retransmission priority information includes the first identifier corresponding to the target data stream.
- the application server sends the retransmission priority information to the SMF through the PCF.
- the SMF After receiving the retransmission priority information, the SMF maps the target data flow to the QoS flow or QoS flow sub-flow and sends second indication information to Device #A, where the second indication information includes the QFI or QoS flow sub-flow corresponding to the target data flow logo.
- the SMF after receiving the retransmission priority information, creates a first QoS flow or a first QoS flow sub-flow with a higher priority for the retransmitted data packets of the target data flow, and sends the information to the device# A sends second indication information, the second indication information includes the information of the first QoS flow or the first QoS flow sub-flow with the higher priority, and the second indication information instructs the device #A to pass the first QoS flow with the higher priority.
- a QoS flow or a sub-flow of the first QoS flow sends the retransmitted data packets of the target data flow.
- the SMF may also send third indication information to the RAN, where the third indication information includes the information of the first QoS flow or the first QoS flow sub-flow with the higher priority, and indicates that the RAN is the first QoS flow with a higher priority.
- the first QoS flow or sub-flow of the first QoS flow with a higher priority is allocated a dedicated radio bearer.
- the application client determines that a certain data packet needs to be retransmitted, and sends the retransmitted data packet to device #A.
- the retransmission data packet includes a retransmission mark, and optionally may also include identification information of the target data stream to which the retransmission data packet belongs. Accordingly, device #A receives the retransmitted data packet.
- the method for the application client to determine that a certain data packet needs to be retransmitted may be similar to the prior art. For example, if the TCP layer corresponding to the application client senses that a certain data packet is lost, it determines that the data packet needs to be retransmitted.
- device #A determines, according to the identification information of the target data stream to which the retransmitted data packet belongs, that the retransmitted data packet transmitted on the target data stream needs to be sent preferentially.
- Device #A preferentially sends the retransmitted data packet.
- Device #A determines the target data stream to which the retransmitted data packet belongs, increases the priority of the target data stream, and preferentially sends the data packets that need to be transmitted on the target data stream.
- Device #A determines the target data stream to which the retransmitted data packet belongs, and places the retransmitted data packet at the top of the queue corresponding to the target data stream.
- the retransmitted data packet may be sent preferentially. It should be understood that the data packet at the top of the queue is the next data packet to be sent in the queue.
- the multiple retransmitted data packets that need to be retransmitted, and the multiple retransmitted data packets belong to multiple target data streams
- the multiple retransmitted data packets are inserted into the top of the queue of the corresponding target data stream, the number of The priority of each target data stream, the retransmission data packets on the target data stream with higher priority are sent first.
- device #A can increase the priority of the target data flow while inserting the retransmitted data packet into the top of the queue corresponding to the target data flow.
- the Device #A adds a retransmission queue locally, and the priority of this retransmission queue is higher than that of other queues.
- the retransmission queue is a queue corresponding to the first QoS flow or the sub-flow of the first QoS flow with a higher priority.
- the creation method of the first QoS flow or the first QoS flow sub-flow with the higher priority is introduced in S710.
- the retransmission queue may be created by a request from device #A, that is, device #A sends a session modification request to the SMF for creating a first QoS flow or a first QoS flow sub-flow with a higher priority for priority retransmission
- the core network element such as SMF
- the retransmission queue is the one specially used for the priority retransmission. Queue corresponding to the transmitted first QoS flow or the first QoS flow sub-flow. This application does not limit how to establish the retransmission queue.
- Device #A sends the retransmission data packet through the retransmission queue, the RAN allocates resources to the retransmission queue preferentially, and sends the retransmission data packet after the RAN allocates uplink resources to the retransmission queue.
- the multiple retransmitted data packets can be processed according to the priority of the multiple target data streams in the retransmission queue. Sorting is performed, and the retransmission data packets in the retransmission queue are preferentially sent in order. Alternatively, retransmission queues with different priorities are respectively created for the multiple target data streams with different priorities, and the retransmission data packets of each target data stream are respectively sent through the respective retransmission queues.
- the RAN or the core network element may also send retransmission data packets in a similar manner, which will not be described in detail here.
- the following introduces a method for retransmitting data packets during downlink transmission, as shown in FIG. 9 .
- the RAN receives second indication information, where the second indication information indicates to preferentially send the retransmitted data packets that need to be retransmitted in the target data stream, and the second indication information includes identification information of the target data stream that needs to preferentially send the retransmitted data packets .
- the application server determines the target data stream that needs to send retransmission packets preferentially, and the application server sends retransmission priority information to the SMF.
- the retransmission priority information includes the target data stream that needs to send retransmission packets preferentially. the first identification.
- the SMF maps the target data flow that needs to preferentially send retransmitted data packets to the QoS flow, and sends second indication information to the RAN, where the second indication information includes the target data flow that needs to be preferentially retransmitted.
- the corresponding QFI of the packet At this time, the SMF also needs to send information #J to the UPF, where the information #J includes the corresponding relationship between the first identifier of the target data stream that needs to send the retransmitted data packet preferentially and the QFI.
- the information #J further includes a retransmission flag.
- the SMF maps the target data flow that needs to send retransmission packets preferentially to the sub-flow of the QoS flow, and sends second indication information to the RAN, where the second indication information includes the target data flow
- the SMF also needs to send the information #K to the UPF, and the information #K includes the first identifier of the target data flow that needs to send the retransmitted data packet preferentially and the QoS flow. Correspondence of subflow identifiers.
- the information #K further includes a retransmission flag.
- the SMF after receiving the retransmission priority information, creates a first QoS flow or a first QoS flow sub-flow with a higher priority for the retransmission data packet of the target data flow, and sends it to the RAN Second indication information, where the second indication information includes the information of the first QoS flow or the sub-flow of the first QoS flow with a higher priority, and the second indication information is used to instruct the RAN to retransmit the data in the target data flow that needs to be retransmitted.
- the retransmission data packet is sent through the first QoS flow or the first QoS flow sub-flow with the higher priority.
- the RAN can be instructed to allocate the first QoS flow or the first QoS flow sub-flow with the higher priority Dedicated radio bearer.
- the application server determines that a certain data packet needs to be retransmitted, adds a retransmission mark to the retransmitted data packet, and sends the retransmitted data packet to the core network element.
- the core network element receives the retransmitted data packet.
- the retransmission data packet may further include identification information of the target data stream to which the retransmission data packet belongs.
- the application server can send this retransmission packet to the UPF. Accordingly, the UPF receives the retransmitted packet.
- the UPF identifies the retransmitted data packet of the target data flow according to the first identifier and the retransmission flag.
- the UPF determines the QFI corresponding to the retransmitted data packet according to the information #J or the QoS flow sub-flow identifier corresponding to the retransmitted data packet according to the information #K, and the UPF encapsulates the retransmitted data packet into the GTP- U, wherein the GTP-U packet includes QFI and/or sub-flow identifier.
- the method may not execute S820. After S810, the method includes S825, the core network element determines the retransmitted data packet that needs to be retransmitted, and the core network element is retransmitting the data packet. Add the retransmission flag to .
- the retransmission packets that need to be retransmitted can be determined by the UPF.
- the UE may establish a connection with the UPF, for example, the UE may obtain the IP address of the UPF through the SMF, and initiate a connection request to the UPF.
- the UPF can determine whether the data packet needs to be retransmitted. That is, at this time, the UPF is an application layer proxy between the UE and the application server, such as an HTTP proxy or a TCP proxy.
- An end-to-end connection is established between the UE and the UPF, and the retransmission of the data packet is determined by the UPF.
- the application server determines whether the data packet needs to be retransmitted. In this case, when the application server is maliciously attacked and fails, the application server may add a retransmission mark to the sent data packet at will, for example, in each data packet sent A retransmission marker is added to the packet. In contrast, in S825, the core network element determines whether the data packet needs to be retransmitted, so as to avoid the occurrence of the above situation.
- the core network element sends the retransmission data packet to the RAN. Accordingly, the RAN receives the retransmitted data packet.
- the retransmission data packet includes a retransmission flag and identification information of the target data stream to which the retransmission data packet belongs.
- the identification information of the target data flow to which the retransmitted data packet belongs included in the retransmission data packet sent by the UPF to the RAN may be the QFI or QoS flow corresponding to the target data flow to which the retransmitted data packet belongs Subflow ID.
- the RAN preferentially sends the retransmitted data packets.
- the RAN can preferentially send the retransmitted data packet in a similar manner as in S730, that is, the RAN can determine the target data stream to which the retransmitted data packet belongs, increase the priority of the target data stream, and preferentially send the data that needs to be transmitted on the target data stream or, the RAN places the retransmitted data packet at the top of the queue corresponding to the target data stream; or, if the RAN places the retransmitted data packet in the target data stream that needs to be retransmitted in the first place with the higher priority
- the retransmission queue corresponding to the QoS flow or the sub-flow of the first QoS flow allocates a dedicated radio bearer to the first QoS flow or sub-flow of the first QoS flow with a higher priority, and the RAN sends the data packets that need to be retransmitted through the dedicated radio bearer.
- the retransmitted data packet when there is a retransmitted data packet, the retransmitted data packet may be sent preferentially. Compared with the data packets in the target data stream that are transmitted according to the first-in, first-out principle, the retransmitted data packets need to wait for a long time in the target data stream to which the retransmitted data packets belong before being sent.
- the technical solution of the present application it is possible to solve the problems that the retransmitted data packets cannot be sent in time, which leads to the connection interruption and freeze at the application layer of the application server, thereby improving the user experience.
- each video stream includes multiple groups of pictures (GOPs), and a GOP starts with an intra-coded picture (I-frame for short) Frame, a GOP generally also includes a predictive-coded picture frame (predictive-coded picture), abbreviated as P frame.
- P frame predictive-coded picture frame
- the transmission resources required for transmitting an I frame in one GOP are generally greater than the transmission resources required for transmitting a P frame in one GOP.
- the application server sends information #G to the RAN, where the information #G is used to indicate the average frame rate and average GOP size of each video stream in the multiple video streams.
- the application server can send the message #G to the RAN through PCF and SMF.
- the RAN determines information on the transmission progress of each target data stream in the multiple target data streams, and adjusts the radio resource allocation.
- the RAN determines that the frame currently transmitted by the first target data stream is an I frame, it can be estimated that the arrival of the next I frame is combined with the average GOP size and the average frame rate corresponding to the first target data stream. time, thereby adjusting the allocation of radio resources, scheduling radio resources for the transmission of the next I frame, so that there are enough resources for transmission when the next I frame arrives.
- the RAN can estimate the arrival time of the next I frame, thereby adjusting the radio resources allocation.
- the RAN controls the transmission of the multiple target data streams according to the information on the transmission progress of each target data stream in the multiple target data streams.
- the RAN may not be able to transmit multiple I-frames of multiple target data streams at the same time.
- the RAN may transmit the I-frames on the multiple target data streams in batches when the transmission progress between the multiple target data streams is less than or equal to the first threshold.
- the I frame of the first target data stream and the second target data stream among the multiple target data streams may be transmitted first, and then the I frames of the third target data stream and the fourth target data stream among the multiple target data streams may be transmitted.
- the transmission order may be an order obtained by sorting the priorities of multiple target data streams.
- the RAN can dynamically adjust the allocation of radio resources according to the transmission status of the target data flow, realize the pre-allocation of the radio resources before the data arrives, and allow the transmission progress between multiple target data flows.
- the allocation of wireless resources can be adjusted within the range to realize peak shift scheduling.
- FIG. 11 is a schematic block diagram of a communication device provided by an embodiment of the present application.
- the communication device includes a transceiver unit 1110 and a processing unit 1120 .
- the communication device may be a terminal device, a RAN, or a UPF involved in the embodiments of the present application.
- the transceiver unit 1110 and the processing unit 1120 can support the communication device to perform the actions performed by the terminal device in the above method examples.
- the transceiver unit 1110 can support the communication device to perform S110, S150 in FIG. 2, and/or other processes for the techniques described herein;
- the processing unit 1120 can support the communication device to perform S130, S140, and/or other processes in FIG. 2 or other procedures for the techniques described herein.
- transceiver unit 1110 and the processing unit 1120 can support the communication device to perform the actions completed by the RAN in the above method examples.
- transceiving unit 1110 can support communication devices to perform S210, S230, S260 in FIG. 3, S310, S330, S360 in FIG. 4, and/or other processes for the techniques described herein;
- processing unit 1120 can support communication
- the apparatus performs S240, S250 in FIG. 3, S340, S350 in FIG. 4, and/or other processes for the techniques described herein.
- the transceiver unit 1110 and the processing unit 1120 can support the communication device to perform the actions completed by the UPF in the above method examples.
- the transceiver unit 1110 can support the communication device to perform S410, S440, S470 in FIG. 5, and/or other processes for the techniques described herein;
- the processing unit 1120 can support the communication device to perform S450, S460 in FIG. 5, and/or other processes for the techniques described herein.
- the transceiver unit 1110 and the processing unit 1120 can support the communication device to perform the actions completed by the SMF in the above method examples.
- the processing unit 1120 may generate first indication information, where the first indication information is used to indicate synchronous transmission of multiple target data streams; the transceiver unit 1110 may send the first indication information to the first device.
- FIG. 12 is a schematic block diagram of a communication device provided by an embodiment of the present application.
- the communication device includes a memory 1210 for storing a computer program and a processor 1220 for invoking and executing the computer program from the memory.
- the communication device can be used to implement the functions of the terminal device, RAN, UPF or SMF in the above method.
- the disclosed system, apparatus and method may be implemented in other manners.
- the apparatus embodiments described above are only illustrative.
- the division of the units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
- the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
- the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
- the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
- the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments 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), magnetic disk or optical disk and other media that can store program codes .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present application provides a method and apparatus for transmitting data. The method comprises: a first device obtains first indication information, the first indication information being used for indicating synchronous transmission of multiple target data streams; and the first device performs synchronous transmission processing on at least one target data stream in the multiple target data streams at least according to the first indication information, so that a deviation between transmission progress between the multiple target data streams is less than or equal to a first threshold. According to the solution of the present application, the first device performs synchronous transmission processing on the multiple target data streams according to the first indication information, so that the deviation between the transmission progress between the multiple target data streams is less than or equal to the first threshold. When the multiple target data streams are transmitted, compared with the independent transmission of the multiple target data streams without considering the correlation between the target data streams, the user experience can be improved by using the solution of the present application.
Description
本申请涉及通信领域,更具体地涉及传输数据的方法和装置。The present application relates to the field of communications, and more particularly to a method and apparatus for transmitting data.
在虚拟现实(virtual reality,VR)、增强现实(augmented reality,AR)、混合现实(mixed reality,MR)、多机位、轮胎吊等场景中,需要传输的多个目标数据流具有内容、时间相关性或具有多感同步诉求,即,在此类场景中传输多个目标数据流时,多个目标数据流之间需要满足一定的同步精度。在采用移动通信技术传输多个目标数据流时,多个目标数据流在接收端通过缓存的方式进行同步,但这种同步方式的效果并不理想,导致用户体验较差。因此,在采用移动通信技术传输多个具有内容、时间相关性或具有多感同步诉求的目标数据流时,如何使多个目标数据流之间达到高精度同步传输是亟待解决的问题。In virtual reality (VR), augmented reality (AR), mixed reality (MR), multi-camera, tire crane and other scenarios, multiple target data streams that need to be transmitted have content, time Correlation or multi-sensory synchronization requirements, that is, when multiple target data streams are transmitted in such scenarios, a certain synchronization accuracy needs to be met between multiple target data streams. When using the mobile communication technology to transmit multiple target data streams, the multiple target data streams are synchronized at the receiving end by means of buffering, but the effect of this synchronization method is not ideal, resulting in poor user experience. Therefore, when using mobile communication technology to transmit multiple target data streams with content, time correlation or multi-sensory synchronization requirements, how to achieve high-precision synchronization transmission among the multiple target data streams is an urgent problem to be solved.
发明内容SUMMARY OF THE INVENTION
本申请提供传输数据的方法和装置,可以实现对多个目标数据流的同步传输。The present application provides a method and apparatus for transmitting data, which can realize synchronous transmission of multiple target data streams.
第一方面,提供了一种传输数据的方法,包括第一设备获取第一指示信息,该第一指示信息用于指示多个目标数据流同步传输;该第一设备至少根据该第一指示信息,对该多个目标数据流中的至少一个目标数据流进行同步传输处理,以使该多个目标数据流之间的传输进度的偏差小于或等于第一阈值。In a first aspect, a method for transmitting data is provided, including the first device acquiring first indication information, where the first indication information is used to indicate synchronous transmission of multiple target data streams; the first device at least according to the first indication information , performing synchronous transmission processing on at least one target data stream among the multiple target data streams, so that the deviation of the transmission progress among the multiple target data streams is less than or equal to the first threshold.
根据本申请的方案,第一设备根据第一指示信息对多个目标数据流进行同步传输处理,使得多个目标数据流之间的传输进度的偏差小于或等于第一阈值。相比于在传输多个目标数据流时,多个目标数据流独立传输,不考虑各个目标数据流之间的相关性,采用本申请的方案可以提升用户体验。According to the solution of the present application, the first device performs synchronous transmission processing on the multiple target data streams according to the first indication information, so that the deviation of the transmission progress among the multiple target data streams is less than or equal to the first threshold. Compared with when multiple target data streams are transmitted, the multiple target data streams are independently transmitted and the correlation between each target data stream is not considered, and the user experience can be improved by adopting the solution of the present application.
结合第一方面,在第一方面的某些实现方式中,该多个目标数据流之间的传输进度的偏差包括以下一项或多项:该多个目标数据流之间的传输的帧号的偏差、该多个目标数据流之间时间戳的偏差、该多个目标数据流传输预设数据量所消耗时间的偏差。With reference to the first aspect, in some implementations of the first aspect, the deviation of the transmission progress between the multiple target data streams includes one or more of the following: frame numbers of transmission between the multiple target data streams The deviation of the time stamps between the multiple target data streams, the deviation of the time consumed by the multiple target data streams to transmit the preset data amount.
结合第一方面,在第一方面的某些实现方式中,该第一指示信息为一个,以及,该第一指示信息包括该多个目标数据流中每个目标数据流的识别信息;或者该第一指示信息为多个,多个第一指示信息与多个目标数据流一一对应,每个第一指示信息包括所对应的目标数据流的识别信息;其中,目标数据流的识别信息包括以下至少一种参数:目标数据流对应的五元组信息、目标数据流对应的服务质量QoS流标识的信息或目标数据流对应的QoS流子流标识的信息。With reference to the first aspect, in some implementations of the first aspect, the first indication information is one, and the first indication information includes identification information of each target data stream in the multiple target data streams; or the There are multiple pieces of first indication information, and the pieces of first indication information are in one-to-one correspondence with multiple target data streams, and each first indication information includes identification information of the corresponding target data stream; wherein, the identification information of the target data stream includes At least one of the following parameters: quintuple information corresponding to the target data flow, information about the quality of service QoS flow identification information corresponding to the target data flow, or information about the QoS flow sub-flow identification information corresponding to the target data flow.
结合第一方面,在第一方面的某些实现方式中,该多个目标数据流属于多个同步组中的第一同步组,其中,每个同步组中包括至少两个目标数据流,其中,同一同步组中的目标数据流需要同步传输,以及该第一指示信息还包括该第一同步组的标识。With reference to the first aspect, in some implementations of the first aspect, the multiple target data streams belong to a first synchronization group among the multiple synchronization groups, wherein each synchronization group includes at least two target data streams, wherein , the target data streams in the same synchronization group need to be transmitted synchronously, and the first indication information further includes the identifier of the first synchronization group.
结合第一方面,在第一方面的某些实现方式中,该第一指示信息还包括该第一阈值的指示信息。With reference to the first aspect, in some implementations of the first aspect, the first indication information further includes indication information of the first threshold.
结合第一方面,在第一方面的某些实现方式中,该对该多个目标数据流进行同步传输处理包括:当该多个目标数据流中的第一目标数据流与该多个目标数据流中的第二目标数据流之间的传输进度的偏差大于该第一阈值,且该第一目标数据流的传输进度比该第二目标数据流传输进度快时,该第一设备停止发送该第一目标数据流中的数据包,其中该第二目标数据流为该多个目标数据流中除该第一目标数据流之外的目标数据流。With reference to the first aspect, in some implementations of the first aspect, the performing synchronous transmission processing on the plurality of target data streams includes: when the first target data stream in the plurality of target data streams and the plurality of target data streams are When the deviation of the transmission progress between the second target data streams in the stream is greater than the first threshold, and the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, the first device stops sending the A data packet in a first target data stream, wherein the second target data stream is a target data stream other than the first target data stream among the plurality of target data streams.
结合第一方面,在第一方面的某些实现方式中,该方法还包括:该方法还包括:自停止发送该第一目标数据流中的数据包起经过预设的第一时长后,如果该第一目标数据流与该第二目标数据流之间的传输进度的偏差仍大于该第一阈值,该第一设备发送该第一目标数据流中的数据包;或者自停止发送该第一目标数据流中的数据包起未到达预设的该第一时长,该第一目标数据流与该第二目标数据流之间的传输进度的偏差小于或等于该第一阈值,该第一设备发送该第一目标数据流中的数据包。With reference to the first aspect, in some implementations of the first aspect, the method further includes: the method further includes: after a preset first time period elapses since the data packets in the first target data stream are stopped, if If the deviation of the transmission progress between the first target data stream and the second target data stream is still greater than the first threshold, the first device sends the data packets in the first target data stream; or automatically stops sending the first target data stream. The data packets in the target data stream have not reached the preset first duration, and the deviation of the transmission progress between the first target data stream and the second target data stream is less than or equal to the first threshold, the first device Send the data packets in the first target data stream.
结合第一方面,在第一方面的某些实现方式中,该对该多个目标数据流进行同步传输处理包括:当该多个目标数据流中的第一目标数据流与该多个目标数据流中的第二目标数据流之间的传输进度的偏差大于该第一阈值,且该第一目标数据流的传输进度比该第二目标数据流传输进度快时,该第一设备丢弃该第二目标数据流的下一待发送数据包。With reference to the first aspect, in some implementations of the first aspect, the performing synchronous transmission processing on the plurality of target data streams includes: when the first target data stream in the plurality of target data streams and the plurality of target data streams are When the deviation of the transmission progress between the second target data streams in the stream is greater than the first threshold, and the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, the first device discards the first target data stream. The next data packet to be sent in the two target data streams.
结合第一方面,在第一方面的某些实现方式中,该第一设备包括终端设备,以及该第一设备获取第一指示信息包括:该第一设备从会话管理网元接收该第一指示信息;或者该第一设备通过第一接口接收第一指示信息,该第一接口为该第一设备与应用客户端之间的接口,该应用客户端通过该第一设备传输该多个目标数据流。With reference to the first aspect, in some implementations of the first aspect, the first device includes a terminal device, and acquiring the first indication information by the first device includes: the first device receives the first indication from a session management network element information; or the first device receives first indication information through a first interface, where the first interface is an interface between the first device and an application client, and the application client transmits the plurality of target data through the first device flow.
结合第一方面,在第一方面的某些实现方式中,该第一设备包括接入网设备或用户面网元,以及该第一设备接收第一指示信息包括:该第一设备从会话管理网元接收该第一指示信息。With reference to the first aspect, in some implementations of the first aspect, the first device includes an access network device or a user plane network element, and receiving the first indication information by the first device includes: the first device from the session management The network element receives the first indication information.
结合第一方面,在第一方面的某些实现方式中,该第一设备为接入网设备,以及该方法还包括:该第一设备接收第一请求信息,该第一请求信息请求为该多个目标数据流中的第一目标数据流分配第一无线资源;该对该多个目标数据流进行同步传输处理包括:当该第一目标数据流与第二目标数据流之间的传输进度的偏差大于该第一阈值,且该第一目标数据流的传输进度比该第二目标数据流的传输快时,该第一设备停止为该第一目标数据流分配该第一无线资源,其中,该第二目标数据流为该多个目标数据流中除该第一目标数据流之外的目标数据流。With reference to the first aspect, in some implementations of the first aspect, the first device is an access network device, and the method further includes: the first device receiving first request information, where the first request information request is the The first target data stream among the multiple target data streams is allocated the first radio resource; the synchronous transmission processing for the multiple target data streams includes: when the transmission progress between the first target data stream and the second target data stream is When the deviation is greater than the first threshold, and the transmission progress of the first target data stream is faster than the transmission of the second target data stream, the first device stops allocating the first radio resource for the first target data stream, wherein , the second target data stream is a target data stream other than the first target data stream among the plurality of target data streams.
结合第一方面,在第一方面的某些实现方式中,该第一请求信息包括第一数据包对应的帧号的信息或该第一数据包对应的时间戳的信息,该第一数据包为该第一目标数据流下一待发送数据包。With reference to the first aspect, in some implementations of the first aspect, the first request information includes information of a frame number corresponding to the first data packet or information of a timestamp corresponding to the first data packet, and the first data packet is the next data packet to be sent for the first target data stream.
结合第一方面,在第一方面的某些实现方式中,在接收该第一请求信息之前或同时,该第一设备还接收第二请求信息,该第二请求信息请求为该第二目标数据流分配第二无线资源,该第二请求信息包括第二数据包对应的帧号的信息或该第二数据包对应的时间戳的信息,该第二数据包为该第二目标数据流下一待发送数据包。With reference to the first aspect, in some implementations of the first aspect, before or at the same time as receiving the first request information, the first device further receives second request information, and the second request information request is the second target data The second wireless resource is allocated by the flow, and the second request information includes the information of the frame number corresponding to the second data packet or the information of the time stamp corresponding to the second data packet, and the second data packet is the next destination of the second target data flow. Send packets.
结合第一方面,在第一方面的某些实现方式中,该第一请求信息中还包括该第一目标 数据流的第一缓存信息,该第一缓存信息为该第一数据包对应的帧的待发送的数据总量,该第二请求信息中还包括该第二目标数据流的第二缓存信息,该第二缓存信息为该第二数据包对应的帧的待发送的数据总量。With reference to the first aspect, in some implementations of the first aspect, the first request information further includes first buffer information of the first target data stream, and the first buffer information is the frame corresponding to the first data packet The second request information further includes second buffer information of the second target data stream, and the second buffer information is the total amount of data to be sent of the frame corresponding to the second data packet.
结合第一方面,在第一方面的某些实现方式中,该第一目标数据流与第二目标数据流之间的传输进度的偏差包括:第一数据包对应的帧号与第二数据包对应的帧号的偏差;或者该第一数据包对应的时间戳与第二数据包对应的时间戳的偏差;或者该第一目标数据流传输第一预设数据量所消耗的时间与该第二目标数据流传输第二预设数据量所消耗的时间的偏差,其中,该第一指示信息还包括该第一目标数据流的预设发送速率和该第二目标数据流的预设发送速率,该第一预设数据量与该第二预设数据量的比值为第一比值,该第一目标数据流的预设发送速率与该第二目标数据流的预设发送速率的比值为第二比值,该第一比值与该第二比值相关联;其中,该第一数据包为该第一目标数据流下一待发送数据包,该第二数据包为该第二目标数据流下一待发送数据包。With reference to the first aspect, in some implementations of the first aspect, the deviation of the transmission progress between the first target data stream and the second target data stream includes: the frame number corresponding to the first data packet and the second data packet The deviation of the corresponding frame number; or the deviation between the timestamp corresponding to the first data packet and the timestamp corresponding to the second data packet; or the time consumed by the first target data stream to transmit the first preset data amount is different from the first data packet. The deviation of the time consumed by the two target data streams to transmit the second preset data amount, wherein the first indication information further includes the preset sending rate of the first target data stream and the preset sending rate of the second target data stream , the ratio of the first preset data amount to the second preset data amount is the first ratio, and the ratio of the preset sending rate of the first target data stream to the preset sending rate of the second target data stream is the first Two ratios, the first ratio is associated with the second ratio; wherein, the first data packet is the next data packet to be sent by the first target data stream, and the second data packet is the next data packet to be sent by the second target data stream data pack.
结合第一方面,在第一方面的某些实现方式中,该第一数据包括该第一数据包对应的帧号的信息,该第二数据包括该第二数据包对应的帧号的信息;或者该第一数据包对应的帧号由该第一目标数据流中的帧头标识和帧尾标识确定,该第二数据包对应的帧号由该第二目标数据流中的帧头标识和帧尾标识确定。In conjunction with the first aspect, in some implementations of the first aspect, the first data includes information about the frame number corresponding to the first data packet, and the second data includes information about the frame number corresponding to the second data packet; Or the frame number corresponding to the first data packet is determined by the frame header identification and the frame tail identification in the first target data stream, and the frame number corresponding to the second data packet is determined by the frame header identification and the frame end identification in the second target data stream. End of frame identification is determined.
结合第一方面,在第一方面的某些实现方式中,该方法还包括:该第一设备接收第二指示信息,该第二指示信息用于指示优先发送目标数据流中需要重传的数据包;该第一设备根据该第二指示信息,发送该需要重传的数据包,其中,该需要重传的数据包的发送时间早于该目标数据流中其他待发送的数据包的发送时间。With reference to the first aspect, in some implementations of the first aspect, the method further includes: the first device receiving second indication information, where the second indication information is used to instruct to preferentially send data that needs to be retransmitted in the target data stream packet; the first device sends the data packet that needs to be retransmitted according to the second indication information, wherein the sending time of the data packet that needs to be retransmitted is earlier than the sending time of other data packets to be sent in the target data stream .
结合第一方面,在第一方面的某些实现方式中,该发送该需要重传的数据包包括:将该需要重传的数据包置于该目标数据流对应的队列的顶部,发送该需要重传的数据包;或者,将该需要重传的数据包置于重传队列中,发送该需要重传的数据包,该重传队列属于第一QoS流或第一QoS子流,其中,该第一QoS流的优先级高于该目标数据流对应的QoS流的优先级,该第一QoS子流的优先级高于该目标数据流对应的QoS子流的优先级。With reference to the first aspect, in some implementations of the first aspect, the sending the data packet that needs to be retransmitted includes: placing the data packet that needs to be retransmitted at the top of the queue corresponding to the target data stream, sending the data packet that needs to be retransmitted Retransmitted data packets; or, place the data packets that need to be retransmitted in a retransmission queue, and send the data packets that need to be retransmitted, and the retransmission queues belong to the first QoS flow or the first QoS sub-flow, wherein, The priority of the first QoS flow is higher than the priority of the QoS flow corresponding to the target data flow, and the priority of the first QoS sub-flow is higher than the priority of the QoS sub-flow corresponding to the target data flow.
第二方面,提供了一种通信方法,包括:生成第一指示信息,该第一指示信息用于指示多个目标数据流同步传输;向第一设备发送该第一指示信息,该第一设备用于对该多个目标数据流中的至少一个目标数据流进行同步传输处理,以使该多个目标数据流之间的传输进度的偏差小于或等于第一阈值。In a second aspect, a communication method is provided, including: generating first indication information, where the first indication information is used to indicate synchronous transmission of multiple target data streams; sending the first indication information to a first device, the first device It is used for performing synchronous transmission processing on at least one target data stream in the plurality of target data streams, so that the deviation of the transmission progress among the plurality of target data streams is less than or equal to the first threshold.
根据本申请的方案,通过向第一设备发送第一指示信息,使得第一设备根据第一指示信息对多个目标数据流进行同步传输处理,控制多个目标数据流之间的传输进度的偏差小于或等于第一阈值。相比于现有技术中,在传输多个目标数据流时,多个目标数据流独立传输,不考虑各个目标数据流之间的相关性,采用本申请的方案可以提升用户体验。According to the solution of the present application, by sending the first indication information to the first device, the first device can perform synchronous transmission processing on multiple target data streams according to the first indication information, and control the deviation of the transmission progress among the multiple target data streams less than or equal to the first threshold. Compared with the prior art, when multiple target data streams are transmitted, the multiple target data streams are independently transmitted, regardless of the correlation between each target data stream, the solution of the present application can improve user experience.
结合第二方面,在第二方面的某些实现方式中,该多个目标数据流之间的传输进度的偏差包括以下一项或多项:该多个目标数据流之间的传输的帧号的偏差、该多个目标数据流之间时间戳的偏差、该多个目标数据流传输预设数据量所消耗时间的偏差。In conjunction with the second aspect, in some implementations of the second aspect, the deviation of the transmission progress between the multiple target data streams includes one or more of the following: frame numbers of transmission between the multiple target data streams The deviation of the time stamps between the multiple target data streams, the deviation of the time consumed by the multiple target data streams to transmit the preset data amount.
结合第二方面,在第二方面的某些实现方式中,该第一指示信息为一个,以及,该第一指示信息包括该多个目标数据流中每个目标数据流的识别信息;或者该第一指示信息为多个,多个第一指示信息与多个目标数据流一一对应,每个第一指示信息包括所对应的目 标数据流的识别信息;其中,目标数据流的识别信息包括以下至少一种参数:目标数据流对应的五元组信息、目标数据流对应的服务质量QoS流标识的信息或目标数据流对应的QoS流子流标识的信息。With reference to the second aspect, in some implementations of the second aspect, the first indication information is one, and the first indication information includes identification information of each target data stream in the multiple target data streams; or the There are multiple pieces of first indication information, and the pieces of first indication information are in one-to-one correspondence with multiple target data streams, and each first indication information includes identification information of the corresponding target data stream; wherein, the identification information of the target data stream includes At least one of the following parameters: quintuple information corresponding to the target data flow, information about the quality of service QoS flow identification information corresponding to the target data flow, or information about the QoS flow sub-flow identification information corresponding to the target data flow.
结合第二方面,在第二方面的某些实现方式中,该多个目标数据流属于多个同步组中的第一同步组,其中,每个同步组中包括至少两个目标数据流,其中,同一同步组中的目标数据流需要同步传输,以及该第一指示信息还包括该第一同步组的标识。With reference to the second aspect, in some implementations of the second aspect, the multiple target data streams belong to a first synchronization group among the multiple synchronization groups, wherein each synchronization group includes at least two target data streams, wherein , the target data streams in the same synchronization group need to be transmitted synchronously, and the first indication information further includes the identifier of the first synchronization group.
结合第二方面,在第二方面的某些实现方式中,该第一指示信息还包括该第一阈值的指示信息。With reference to the second aspect, in some implementations of the second aspect, the first indication information further includes indication information of the first threshold.
结合第二方面,在第二方面的某些实现方式中,该第一指示信息还包括该多个目标数据流中每个目标数据流的预设发送速率。With reference to the second aspect, in some implementations of the second aspect, the first indication information further includes a preset sending rate of each target data stream in the multiple target data streams.
第三方面,提供一种传输数据的方法,包括:该第一设备接收第二指示信息,该第二指示信息用于指示优先发送目标数据流中需要重传的数据包;该第一设备接收需要重传的数据包,根据该第二指示信息,发送该需要重传的数据包,其中,该需要重传的数据包的发送时间早于该目标数据流中其他待发送的数据包的发送时间。In a third aspect, a method for transmitting data is provided, including: the first device receiving second indication information, where the second indication information is used to instruct to preferentially send data packets that need to be retransmitted in a target data stream; the first device receives For the data packet that needs to be retransmitted, send the data packet that needs to be retransmitted according to the second indication information, wherein the sending time of the data packet that needs to be retransmitted is earlier than the sending time of other data packets to be sent in the target data stream time.
结合第三方面,在第三方面的某些实现方式中,该发送该需要重传的数据包包括:将该需要重传的数据包置于该目标数据流对应的队列的顶部,发送该需要重传的数据包;或者将该需要重传的数据包置于重传队列中,发送该需要重传的数据包,该重传队列属于第一QoS流或第一QoS子流,其中,所述第一QoS流的优先级高于所述目标数据流对应的QoS流的优先级,所述第一QoS子流的优先级高于所述目标数据流对应的QoS子流的优先级。With reference to the third aspect, in some implementations of the third aspect, the sending the data packet that needs to be retransmitted includes: placing the data packet that needs to be retransmitted at the top of the queue corresponding to the target data stream, sending the data packet that needs to be retransmitted retransmitted data packet; or place the data packet that needs to be retransmitted in a retransmission queue, and send the data packet that needs to be retransmitted, the retransmission queue belongs to the first QoS flow or the first QoS sub-flow, wherein all The priority of the first QoS flow is higher than the priority of the QoS flow corresponding to the target data flow, and the priority of the first QoS sub-flow is higher than the priority of the QoS sub-flow corresponding to the target data flow.
结合第三方面,在第三方面的某些实现方式中,该需要重传的数据包中包括重传标记,该重传标记用于指示该需要重传的数据包需要重传。With reference to the third aspect, in some implementations of the third aspect, the data packet that needs to be retransmitted includes a retransmission marker, and the retransmission marker is used to indicate that the data packet that needs to be retransmitted needs to be retransmitted.
结合第三方面,在第三方面的某些实现方式中,第二指示信息还包括目标数据流的识别信息。With reference to the third aspect, in some implementations of the third aspect, the second indication information further includes identification information of the target data stream.
结合第三方面,在第三方面的某些实现方式中,第二指示信息还包括该第一QoS流的标识信息或第一QoS子流的标识信息。With reference to the third aspect, in some implementations of the third aspect, the second indication information further includes identification information of the first QoS flow or identification information of the first QoS sub-flow.
第四方面,提供一种传输数据的装置,该传输数据的装置包括用于执行该第一方面、第三方面中任一种可能实现方式中的方法的单元。In a fourth aspect, an apparatus for transmitting data is provided, and the apparatus for transmitting data includes a unit for executing the method in any of the possible implementation manners of the first aspect and the third aspect.
第五方面,提供一种通信装置,该通信装置包括用于执行该第二方面或其各种实现方式中的方法的单元。In a fifth aspect, a communication device is provided, the communication device comprising means for performing the method of the second aspect or various implementations thereof.
第六方面,提供一种计算机可读介质,该计算机可读介质存储有计算机程序(也可以称为代码,或指令)当其在计算机上运行时,使得计算机执行上述第一至第三方面中任一种可能实现方式中的方法。In a sixth aspect, a computer-readable medium is provided, the computer-readable medium stores a computer program (which may also be referred to as code, or an instruction), when it runs on a computer, causing the computer to execute the above-mentioned first to third aspects. method in any of the possible implementations.
第七方面,提供一种计算机程序产品,该计算机程序产品包括:计算机程序代码,当该计算机程序代码被计算机运行时,使得该计算机执行第一至第三方面中任一种可能实现方式中的方法。In a seventh aspect, a computer program product is provided, the computer program product comprising: computer program code, when the computer program code is executed by a computer, causing the computer to execute any one of the possible implementations of the first to third aspects. method.
第八方面,提供一种芯片,该芯片上设置有处理电路,该处理电路用于执行第一至第三方面中任一种可能实现方式中的方法。In an eighth aspect, a chip is provided, and a processing circuit is provided on the chip, and the processing circuit is configured to execute the method in any one of the possible implementation manners of the first to third aspects.
第九方面,提供一种通信设备,该通信设备包括存储器,用于存储计算机程序;处理 器,用于从存储器调用并运行该计算机程序,使得该通信设备实现第一至第三方面中任一种可能实现方式中的方法。In a ninth aspect, a communication device is provided, the communication device includes a memory for storing a computer program; a processor for calling and running the computer program from the memory, so that the communication device implements any one of the first to third aspects method in one possible implementation.
图1示出了本申请实施例适用的通信系统的架构。FIG. 1 shows the architecture of a communication system to which this embodiment of the present application is applicable.
图2示出了本申请传输数据的方法的一例示意性交互图。FIG. 2 shows an example of a schematic interaction diagram of the method for transmitting data of the present application.
图3示出了本申请传输数据的方法的另一例示意性交互图。FIG. 3 shows another example of a schematic interaction diagram of the method for transmitting data of the present application.
图4示出了本申请传输数据的方法的另一例示意性交互图。FIG. 4 shows another example of a schematic interaction diagram of the method for transmitting data of the present application.
图5示出了本申请传输数据的方法的另一例示意性交互图。FIG. 5 shows another example of a schematic interaction diagram of the method for transmitting data of the present application.
图6示出了本申请传输数据的方法的另一例示意性交互图。FIG. 6 shows another example of a schematic interaction diagram of the method for transmitting data of the present application.
图7示出了本申请传输数据的方法的另一例示意性交互图。FIG. 7 shows another example of a schematic interaction diagram of the method for transmitting data of the present application.
图8示出了本申请传输数据的方法的一例示意性流程图。FIG. 8 shows an example of a schematic flow chart of the method for transmitting data of the present application.
图9示出了本申请传输数据的方法的另一例示意性流程图。FIG. 9 shows another example of a schematic flow chart of the method for transmitting data of the present application.
图10示出了本申请传输数据的方法的另一例示意性流程图。FIG. 10 shows another example of a schematic flow chart of the method for transmitting data of the present application.
图11示出本申请提供的通信设备的一例示意性框图。FIG. 11 shows a schematic block diagram of an example of the communication device provided by the present application.
图12示出本申请提供的通信设备的另一例示意性框图。FIG. 12 shows another example of a schematic block diagram of the communication device provided by the present application.
下面将结合附图,对本申请中的技术方案进行描述,显然,所述的实施例是本申请的一部分实施例,而不是全部实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应属于本申请保护的范围。The technical solutions in the present application will be described below with reference to the accompanying drawings. Obviously, the described embodiments are a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present application.
本申请提出的技术方案,可以应用于能够通过接入网络和核心网络完成通信的通信系统,如图1所示。The technical solution proposed in this application can be applied to a communication system capable of completing communication through an access network and a core network, as shown in FIG. 1 .
在本申请实施例中,接入网中包括接入网设备,接入网设备是提供小区的设备,例如,可以是WLAN中的接入点(Access Point,AP),也可以是WCDMA中的基站(NodeB,NB),或者是新型无线系统(New Radio,NR)系统中的gNB,还可以是LTE中的演进型基站(Evolutional Node B,eNB或eNodeB),在5G网络中,还可以是无线接入网设备(Radio Access Network,RAN)。In this embodiment of the present application, the access network includes access network equipment, and the access network equipment is a device that provides a cell. For example, it may be an access point (Access Point, AP) in a WLAN, or an access point in WCDMA. A base station (NodeB, NB), or a gNB in a new wireless system (New Radio, NR) system, or an evolved base station (Evolutional Node B, eNB or eNodeB) in LTE, and in a 5G network, it can also be Radio access network equipment (Radio Access Network, RAN).
在本申请实施例中,核心网中可以包括但不限于用户面网元、会话管理网元、策略控制网元。其中,用户面网元用于分组路由和转发以及用户面数据的服务质量(quality of service,QoS)处理等,主要负责对用户报文进行处理,例如转发、计费等。例如,在5G通信系统中,该用户面网元可以是用户面功能(user plane function,UPF)网元。在未来通信系统中,用户面网元仍可以是UPF网元,或者,还可以有其它的名称,本申请不做限定。会话管理网元主要用于会话管理,如会话建立、修改、释放等。具体功能如终端设备的网络互连协议(internet protocol,IP)地址分配和管理、选择可管理用户平面功能、策略控制和收费功能接口的终结点以及下行数据通知等。例如,在5G通信系统中,该会话管理网元可以是会话管理功能(session management function,SMF)网元。在未来通信系统中,会话管理网元仍可以是SMF网元,或者,还可以有其它的名称,本申请不做限定。策略控制网元用于指导网络行为的统一策略框架,为控制面功能网元提供策略规则信息等。 在4G通信系统中,该策略控制网元可以是策略和计费规则功能(policy and charging rules function,PCRF)网元。在5G通信系统中,该策略控制网元可以是策略控制功能(policy control function,PCF)网元。在未来通信系统中,策略控制网元仍可以是PCF网元,或者,还可以有其它的名称,本申请不做限定。In this embodiment of the present application, the core network may include, but is not limited to, user plane network elements, session management network elements, and policy control network elements. Among them, the user plane network element is used for packet routing and forwarding and quality of service (QoS) processing of user plane data, etc., and is mainly responsible for processing user packets, such as forwarding and charging. For example, in a 5G communication system, the user plane network element may be a user plane function (user plane function, UPF) network element. In the future communication system, the user plane network element may still be the UPF network element, or may have other names, which are not limited in this application. The session management network element is mainly used for session management, such as session establishment, modification and release. Specific functions such as terminal device Internet Protocol (IP) address allocation and management, selection of manageable user plane functions, policy control and charging function interface endpoints, and downlink data notification, etc. For example, in a 5G communication system, the session management network element may be a session management function (session management function, SMF) network element. In the future communication system, the session management network element may still be an SMF network element, or may have other names, which are not limited in this application. The policy control network element is used to guide the unified policy framework of network behavior, and provides policy rule information for the control plane functional network element. In a 4G communication system, the policy control network element may be a policy and charging rules function (policy and charging rules function, PCRF) network element. In a 5G communication system, the policy control network element may be a policy control function (PCF) network element. In the future communication system, the policy control network element may still be the PCF network element, or may have other names, which are not limited in this application.
本申请针对的是VR、AR、MR、多机位、轮胎吊等场景,这些场景中传输的多个目标数据流具有内容和/或时间相关性。通过本申请的方案可以实现多个目标数据流的同步传输。要实现本申请的方案,首先要确定具有内容和/或时间相关性的多个目标数据流。The present application is aimed at scenarios such as VR, AR, MR, multi-camera, tire crane, etc., and the multiple target data streams transmitted in these scenarios have content and/or time dependencies. The synchronous transmission of multiple target data streams can be realized by the solution of the present application. To implement the solution of the present application, a plurality of target data streams with content and/or time correlations must be determined first.
下面介绍确定具有内容和/或时间相关性的多个目标数据流的方式:The following describes how to determine multiple target data streams with content and/or temporal dependencies:
方式a:way a:
应用客户端确定具有内容和/或时间相关性的多个目标数据流。The application client determines multiple target data streams with content and/or temporal dependencies.
方式b:way b:
应用服务器确定具有内容和/或时间相关性的多个目标数据流。例如,应用服务器可以基于应用的类型确定多个目标数据流具有内容和/或时间相关性。The application server determines multiple target data streams with content and/or time dependencies. For example, the application server may determine that multiple target data streams have content and/or temporal dependencies based on the type of application.
在由设备#A对多个目标数据流进行同步传输处理时,可以向设备#A发送第一指示信息。设备#A与应用客户端之间通过第一接口通信。设备#A可以与应用客户端部署在一个终端设备中,例如,设备#A是终端设备的第一模块,该第一模块用于与接入网设备进行数据和信令的传输,例如该第一模块可以为设备#A的调制解调器(modem);应用客户端也可以是一个外置设备,例如,摄像头,设备#A是一个用于与接入网设备进行数据和信令传输的客户前置设备(customer premise equipment,CPE)。When the device #A performs synchronous transmission processing on multiple target data streams, the first indication information may be sent to the device #A. Device #A communicates with the application client through the first interface. Device #A can be deployed in a terminal device together with the application client. For example, Device #A is the first module of the terminal device, and the first module is used to transmit data and signaling with the access network device. A module can be a modem of device #A; the application client can also be an external device, such as a camera, device #A is a client front-end for data and signaling transmission with access network devices Equipment (customer premise equipment, CPE).
该第一指示信息用于指示多个目标数据流同步传输,该第一指示信息中包括目标数据流的识别信息和第一阈值的信息。该第一阈值可以为多个目标数据流中任意两个目标数据流之间允许的传输进度的偏差的最大值;或者,该第一阈值可以为多个目标数据流中指定的两个目标数据流之间允许的传输进度的偏差的最大值,此时该第一阈值可随指定的两个目标数据流的不同而不同。该第一阈值可以是应用客户端或应用服务器确定的,例如,目标数据流为视频流时,可以参考肉眼可感知的偏差的范围确定该第一阈值。例如,允许两个视频流的发送的进度相差小于或等于5帧,若两个视频流的发送的进度超过5帧,则会影响观众的感受。The first indication information is used to indicate synchronous transmission of multiple target data streams, and the first indication information includes identification information of the target data streams and information of the first threshold. The first threshold value may be the maximum value of the deviation of the allowable transmission progress between any two target data streams in the multiple target data streams; or, the first threshold value may be two target data streams specified in the multiple target data streams The maximum value of the deviation of the allowable transmission progress between the streams, and the first threshold may be different for the two specified target data streams at this time. The first threshold may be determined by the application client or the application server. For example, when the target data stream is a video stream, the first threshold may be determined with reference to the range of deviations perceivable by the naked eye. For example, the difference between the transmission progress of two video streams is allowed to be less than or equal to 5 frames. If the transmission progress of the two video streams exceeds 5 frames, the viewer's experience will be affected.
下面介绍向设备#A发送该第一指示信息的方式:The following describes the manner of sending the first indication information to device #A:
方式1:Way 1:
与方式a对应,应用客户端向设备#A发送信息#A(第一指示信息的一例)。相应地,设备#A接收该信息#A。该信息#A中包括多个目标数据流中每个目标数据流的第一标识的信息(识别信息的一例),例如,该第一标识可以为目标数据流的五元组信息,第一标识也可以是数据流标识,例如,应用客户端可以为目标数据流分配数据流标识,并在目标数据流对应的数据包中插入该数据流标识用于识别该目标数据流。此外,信息#A还包括第一阈值的信息。可选的,信息#A还包括同步组的标识信息。Corresponding to the method a, the application client sends information #A (an example of the first instruction information) to the device #A. Accordingly, device #A receives the information #A. The information #A includes information about the first identification of each target data stream in the multiple target data streams (an example of identification information). For example, the first identification can be the quintuple information of the target data stream, and the first identification It can also be a data stream identifier. For example, the application client can assign a data stream identifier to the target data stream, and insert the data stream identifier into the data packet corresponding to the target data stream to identify the target data stream. In addition, the information #A also includes information of the first threshold value. Optionally, the information #A further includes identification information of the synchronization group.
或者,应用客户端向设备#A发送多个信息#A,每个信息#A中包括一个目标数据流的第一标识的信息,同时在每个信息#A中携带同步组标识,设备#A根据收到的具有相同同步组标识的信息#A确定需要进行同步传输的多个目标数据流。此外,信息#A还包括第一阈值的信息。应用客户端还向设备#A发送同步组的信息,其中,同步组的信息包括同步 组标识和第一阈值的信息。Alternatively, the application client sends multiple pieces of information #A to device #A, each message #A includes information about the first identifier of a target data stream, and at the same time, each message #A carries a synchronization group identifier, and device #A According to the received information #A with the same synchronization group identifier, multiple target data streams that need to be synchronized for transmission are determined. In addition, the information #A also includes information of the first threshold value. The application client also sends the information of the synchronization group to the device #A, wherein the information of the synchronization group includes the information of the identification of the synchronization group and the first threshold value.
方式2:Way 2:
与方式b对应,应用服务器向核心网网元发送信息#A,核心网网元向设备#A发送信息#A。相应地,设备#A接收该信息#A。类似地,核心网网元可以发送一个或多个信息#A,当发送多个信息#A时,每个信息#A中需要携带同步组标识,且核心网网元还向设备#A发送同步组的信息。Corresponding to the mode b, the application server sends the information #A to the core network element, and the core network element sends the information #A to the device #A. Accordingly, device #A receives the information #A. Similarly, the core network element can send one or more pieces of information #A. When sending multiple pieces of information #A, each piece of information #A needs to carry a synchronization group identifier, and the core network element also sends a synchronization group identifier to device #A. group information.
下面介绍由设备#A对多个目标数据流进行同步传输的具体过程,如图2所示:The following describes the specific process of synchronous transmission of multiple target data streams by device #A, as shown in Figure 2:
S110,设备#A接收第一指示信息,获取第一阈值的信息和多个目标数据流中每个目标数据流的识别信息。S110: Device #A receives the first indication information, and acquires information of the first threshold and identification information of each target data stream in the multiple target data streams.
设备#A可以按照上述方式1或方式2接收第一指示信息,获取第一阈值的信息和多个目标数据流中每个目标数据流的识别信息。Device #A may receive the first indication information according to the above-mentioned method 1 or method 2, and obtain information of the first threshold and identification information of each target data stream in the multiple target data streams.
S120,应用客户端向设备#A发送数据包。相应地,设备#A接收数据包。S120, the application client sends a data packet to the device #A. Accordingly, device #A receives the data packet.
可选地,S125,设备#A可以根据数据包中携带的数据包所属目标数据流的识别信息,例如五元组信息,判断数据包所属目标数据流是否为多个目标数据流中的目标数据流。或者,也可以在数据包中携带其他类型的目标数据流的识别信息,例如,在数据包中携带数据流标识,设备#A根据数据包中的该数据流标识识别该数据包是否属于多个目标数据流中的目标数据流。Optionally, S125, device #A can judge whether the target data stream to which the data packet belongs is the target data in multiple target data streams according to the identification information of the target data stream to which the data packet belongs, such as the quintuple information carried in the data packet. flow. Alternatively, the identification information of other types of target data streams can also be carried in the data packet, for example, the data stream identifier is carried in the data packet, and device #A identifies whether the data packet belongs to multiple The target data stream within the target data stream.
S130,设备#A确定多个目标数据流中每个目标数据流的传输进度的信息。S130, Device #A determines information about the transmission progress of each target data stream in the multiple target data streams.
下面介绍确定每个目标数据流的传输进度的方式:The following describes how the transfer progress of each target data stream is determined:
方式1:Way 1:
设备#A确定每个目标数据流传输的帧号,该传输的帧号包括目标数据流下一个待发数据包对应的帧号。Device #A determines the frame number transmitted by each target data stream, and the transmitted frame number includes the frame number corresponding to the next data packet to be sent by the target data stream.
方式2:Way 2:
设备#A确定每个目标数据流下一个待发数据包对应的时间戳的信息,该时间戳的信息可以用于指示目标数据流的传输进度。Device #A determines the information of the timestamp corresponding to the next data packet to be sent in each target data stream, and the information of the timestamp can be used to indicate the transmission progress of the target data stream.
方式3:Way 3:
设备#A确定每个目标数据流传输预设数据量所消耗的时间。Device #A determines the time it takes for each target data stream to transmit a preset amount of data.
应理解,以上列举的只是传输进度的一些体现方式,根据实际情况还可以为其他的方式,例如,还可以为每个目标数据流已传输的数据包的数量。It should be understood that the above enumerations are only some embodiments of the transmission progress, and other methods may also be used according to actual situations, for example, the number of data packets that have been transmitted for each target data stream.
S140,设备#A对多个目标数据流进行同步传输处理。S140, Device #A performs synchronous transmission processing on multiple target data streams.
当该多个目标数据流中的第一目标数据流与该多个目标数据流中的第二目标数据流之间的传输进度的偏差大于该第一阈值,且该第一目标数据流的传输进度比该第二目标数据流传输进度快时,设备#A停止发送该第一目标数据流中的数据包,其中该第二目标数据流为该多个目标数据流中除该第一目标数据流之外的目标数据流。When the deviation of the transmission progress between the first target data stream of the plurality of target data streams and the second target data stream of the plurality of target data streams is greater than the first threshold, and the transmission of the first target data stream When the progress is faster than the transmission progress of the second target data stream, the device #A stops sending data packets in the first target data stream, wherein the second target data stream is the first target data in the multiple target data streams. Destination data stream outside of the stream.
下面介绍对多个目标数据流进行同步传输处理的方式:The following describes how to perform synchronous transmission processing on multiple target data streams:
方式1:Way 1:
设备#A接收到第一数据包和第二数据包,该第一数据包属于多个目标数据流中的第一目标数据流,且第一数据包为第一目标数据流下一个待发数据包;该第二数据包属于多个目标数据流中的第二目标数据流,且第二数据包为第二目标数据流下一个待发数据包或 者第二目标数据流最后一个已发送数据包。Device #A receives a first data packet and a second data packet, the first data packet belongs to the first target data stream among the multiple target data streams, and the first data packet is the next data packet to be sent from the first target data stream ; the second data packet belongs to the second target data stream in the plurality of target data streams, and the second data packet is the next data packet to be sent from the second target data stream or the last sent data packet of the second target data stream.
第一数据包对应的帧号与第二数据包对应的帧号的偏差大于第一阈值,且,第一数据包对应的帧号大于第二数据包对应的帧号,则设备#A停止发送第一目标数据流中的数据包。If the deviation between the frame number corresponding to the first data packet and the frame number corresponding to the second data packet is greater than the first threshold, and the frame number corresponding to the first data packet is greater than the frame number corresponding to the second data packet, device #A stops sending Data packets in the first target data stream.
例如,第一数据包对应的帧号为第15帧,第二数据包对应的帧号为第10帧,第一阈值为4帧,由于第一数据包对应的帧号与第二数据包对应的帧号的偏差大于4帧,且第一目标数据流的传输进度比第二目标数据流的传输进度快,则停止发送第一数据包及第一目标数据流在第一数据包之后的数据包。应理解,多个目标数据流中每个目标数据流的起始帧号是相同的。For example, the frame number corresponding to the first data packet is the 15th frame, the frame number corresponding to the second data packet is the 10th frame, and the first threshold is 4 frames, since the frame number corresponding to the first data packet corresponds to the second data packet If the deviation of the frame number is greater than 4 frames, and the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, stop sending the first data packet and the data of the first target data stream after the first data packet Bag. It should be understood that the starting frame number of each target data stream in the multiple target data streams is the same.
设备#A可以根据第一数据包中携带的帧号的信息,确定第一数据包对应的帧号。Device #A may determine the frame number corresponding to the first data packet according to the information of the frame number carried in the first data packet.
或者,设备#A根据帧头标识和/或帧尾标识确定一个帧,并记录每个目标数据流的传输进度。第一数据包中包括帧头标识,设备#A根据第一目标数据流的传输进度和帧头标识确定第一数据包对应的帧号。例如,将在第一目标数据流最近一次传输的数据包对应的帧号上加一后得到的帧号确定为第一数据包对应的帧号。Alternatively, device #A determines a frame according to the frame header identifier and/or the frame end identifier, and records the transmission progress of each target data stream. The first data packet includes a frame header identifier, and device #A determines a frame number corresponding to the first data packet according to the transmission progress of the first target data stream and the frame header identifier. For example, the frame number obtained by adding one to the frame number corresponding to the most recent data packet transmitted by the first target data stream is determined as the frame number corresponding to the first data packet.
或者,设备#A根据帧头标识和/或帧尾标识确定一个帧。第一数据包中未包括帧头标识和第一数据包对应的帧号的信息,设备#A将第一目标数据流最近一次传输的数据包的帧号确定为第一数据包对应的帧号。Alternatively, device #A determines a frame according to the frame header identification and/or the frame end identification. The first data packet does not include the information of the frame header identification and the frame number corresponding to the first data packet, and the device #A determines the frame number of the data packet transmitted most recently by the first target data stream as the frame number corresponding to the first data packet. .
类似地,设备#A可以确定第二数据包对应的帧号。Similarly, device #A can determine the frame number corresponding to the second data packet.
方式2:Way 2:
设备#A接收到第一数据包和第二数据包,该第一数据包属于多个目标数据流中的第一目标数据流,且第一数据包为第一目标数据流下一个待发数据包;该第二数据包属于多个目标数据流中的第二目标数据流,且第二数据包为第二目标数据流下一个待发数据包或者第二目标数据流最后一个已发送数据包。Device #A receives a first data packet and a second data packet, the first data packet belongs to the first target data stream among the multiple target data streams, and the first data packet is the next data packet to be sent from the first target data stream ; the second data packet belongs to the second target data stream in the plurality of target data streams, and the second data packet is the next data packet to be sent from the second target data stream or the last sent data packet of the second target data stream.
第一数据包对应的时间戳与第二数据包对应的时间戳的偏差大于第一阈值,且,第一数据包对应的时间戳大于第二数据包对应的时间戳,则设备#A停止发送第一目标数据流中的数据包。If the deviation between the timestamp corresponding to the first data packet and the timestamp corresponding to the second data packet is greater than the first threshold, and the timestamp corresponding to the first data packet is greater than the timestamp corresponding to the second data packet, device #A stops sending Data packets in the first target data stream.
例如,第一数据包对应的时间戳为15ms,第二数据包对应的时间戳为10ms,第一阈值为4ms,第一数据包对应的时间戳与第二数据包对应的时间戳的偏差大于4ms,且第一目标数据流的传输进度比第二目标数据流的传输进度快,则停止发送第一数据包及第一目标数据流在第一数据包之后的数据包。For example, the time stamp corresponding to the first data packet is 15ms, the time stamp corresponding to the second data packet is 10ms, the first threshold is 4ms, and the deviation between the time stamp corresponding to the first data packet and the time stamp corresponding to the second data packet is greater than 4ms, and the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, stop sending the first data packet and the data packets of the first target data stream after the first data packet.
方式3:Way 3:
当多个目标数据流中第一目标数据流传输第一预设数据量所消耗的时间与多个目标数据流中第二目标数据流传输第二预设数据量所消耗的时间的偏差大于第一阈值,且第一目标数据流的传输进度比第二目标数据流传输进度快时,设备#A停止发送该第一目标数据流中的数据包。When the difference between the time consumed by the first target data stream of the multiple target data streams to transmit the first preset data amount and the time consumed by the second target data stream of the multiple target data streams to transmit the second preset data amount is greater than the first When a threshold is set and the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, device #A stops sending data packets in the first target data stream.
应理解,此时,第一指示信息中还包括多个目标数据流中每个目标数据流的预设发送速率或总数据量,其中,当第一指示信息中包括多个目标数据流中每个目标数据流的预设发送速率时,第一预设数据量与该第二预设数据量的比值为第一比值,第一目标数据流的预设发送速率与第二目标数据流的预设发送速率的比值为第二比值,第一比值与该第二比 值相关联,例如,第一比值与第二比值相同;当第一指示信息中包括每个目标数据流的总数据流时,第一预设数据量与该第二预设数据量的比值为第一比值,第一目标数据流的总数据量与第二目标数据流的总数据量的比值为第二比值,第一比值与该第二比值相关联,例如,第一比值与第二比值相同。It should be understood that, at this time, the first indication information further includes the preset sending rate or total data volume of each target data stream in the multiple target data streams, wherein, when the first indication information includes each target data stream in the multiple target data streams When there are preset sending rates of the first target data stream, the ratio of the first preset data amount to the second preset data amount is the first ratio, and the preset sending rate of the first target data stream is equal to the preset sending rate of the second target data stream. Let the ratio of the sending rate be the second ratio, and the first ratio is associated with the second ratio. For example, the first ratio is the same as the second ratio; when the first indication information includes the total data flow of each target data flow, The ratio of the first preset data volume to the second preset data volume is the first ratio, the ratio of the total data volume of the first target data stream to the total data volume of the second target data stream is the second ratio, and the first ratio Associated with this second ratio, for example, the first ratio is the same as the second ratio.
例如,第一目标数据流的预设发送速率为2M/s,第二目标数据流的预设发送速率为1M/s,第一预设数据量为2M,第二预设数据量为1M,第一阈值为0.03s,设备#A监测第一目标数据流发送2M数据量所消耗的时间t1为0.98s,第二目标数据流发送1M数据量所消耗的时间t2为1.02s,t1与t2的偏差大于第一阈值,且第一目标数据流的传输进度比第二目标数据流传输进度快,设备#A停止发送该第一目标数据流中的数据包。For example, the preset sending rate of the first target data stream is 2M/s, the preset sending rate of the second target data stream is 1M/s, the first preset data volume is 2M, and the second preset data volume is 1M, The first threshold is 0.03s, the time t1 for device #A to monitor the first target data stream to send 2M data is 0.98s, and the time t2 for the second target data stream to send 1M data is 1.02s, t1 and t2 The deviation is greater than the first threshold, and the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, and device #A stops sending data packets in the first target data stream.
例如,第一目标数据流的总数据量为200M,第二目标数据流的总数据量为100M,第一预设数据流为2M,第二预设数据流为1M,第一阈值为0.03s,设备#A监测第一目标数据流发送2M数据量所消耗的时间t1为0.98s,第二目标数据流发送1M数据量所消耗的时间t2为1.02s,t1与t2的偏差大于第一阈值,且第一目标数据流的传输进度比第二目标数据流的传输进度快,设备#A停止发送该第一目标数据流中的数据包。For example, the total data volume of the first target data stream is 200M, the total data volume of the second target data stream is 100M, the first preset data stream is 2M, the second preset data stream is 1M, and the first threshold is 0.03s , the time t1 consumed by device #A to monitor the first target data stream to send 2M data volume is 0.98s, the time t2 consumed by the second target data stream to send 1M data volume is 1.02s, and the deviation between t1 and t2 is greater than the first threshold , and the transmission progress of the first target data stream is faster than that of the second target data stream, and device #A stops sending data packets in the first target data stream.
应理解,预设数据量的大小可以为变量。例如,第一预设数据量为4M,相应地第二预设数据量为2M;或者,第一预设数据量为6M,相应地第二预设数据量为3M等。即设备#A可以按照一定的规律监测多个目标数据流发送预设数据量所消耗的时间。It should be understood that the size of the preset data amount may be a variable. For example, the first preset data amount is 4M, and the second preset data amount is correspondingly 2M; or, the first preset data amount is 6M, and the second preset data amount is correspondingly 3M, and so on. That is, the device #A can monitor the time consumed by the multiple target data streams to send the preset data amount according to a certain rule.
方式4:Way 4:
当多个目标数据流中第一目标数据流实际发送速率与多个目标数据流中第二目标数据流实际发送速率的比值与第一目标数据流预设发送速率与第二目标数据流预设发送速率的比值的偏差大于第一阈值,且第一目标数据流的传输进度比第二目标数据流传输进度快时,设备#A停止发送该第一目标数据流中的数据包。When the ratio of the actual sending rate of the first target data stream among the multiple target data streams to the actual sending rate of the second target data stream among the multiple target data streams, the preset sending rate of the first target data stream and the preset sending rate of the second target data stream When the deviation of the ratio of sending rates is greater than the first threshold, and the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, device #A stops sending data packets in the first target data stream.
应理解,此时,第一指示信息中还包括多个目标数据流中每个目标数据流的预设发送速率,或者,包括多个目标数据流中每个目标数据流相对于其他目标数据流的预设速率比值。It should be understood that, at this time, the first indication information also includes the preset sending rate of each target data stream in the multiple target data streams, or includes the relative value of each target data stream in the multiple target data streams relative to other target data streams. preset rate ratio.
例如,第一阈值为0.4,第一目标数据流的预设发送速率为2M/s,第二目标数据流的预设发送速率为1M/s,第一目标数据流的预设发送速率与第二目标数据流的预设发送速率的比值为2。在t=1s时,第一目标数据流发送2M数据量,第二目标数据流发送了0.8M数据量,第一目标数据流的发送速率与第二目标数据流的发送速率的比值为2÷0.8=2.5,偏差大于第一阈值,且第一目标数据流的传输进度比第二目标数据流的传输进度快,设备#A停止发送该第一目标数据流中的数据包。For example, the first threshold is 0.4, the preset sending rate of the first target data stream is 2M/s, the preset sending rate of the second target data stream is 1M/s, and the preset sending rate of the first target data stream is the same as that of the first target data stream. The ratio of the preset sending rates of the two target data streams is 2. At t=1s, the first target data stream sends 2M data volume, the second target data stream sends 0.8M data volume, and the ratio of the sending rate of the first target data stream to the sending rate of the second target data stream is 2÷ 0.8=2.5, the deviation is greater than the first threshold, and the transmission progress of the first target data stream is faster than that of the second target data stream, device #A stops sending data packets in the first target data stream.
方式1-4中,自停止发送第一目标数据流中的数据包起经过预设的第一时长后,如果第一目标数据流与第二目标数据流之间的传输进度的偏差仍大于第一阈值,设备#A发送该第一目标数据流中的数据包。此时第一目标数据流不再等待第二目标数据流的传输。In modes 1-4, after the preset first time period elapses since the data packets in the first target data stream are stopped, if the deviation of the transmission progress between the first target data stream and the second target data stream is still greater than the first target data stream. A threshold at which device #A sends packets in the first target data stream. At this time, the first target data stream no longer waits for the transmission of the second target data stream.
或者,方式1-4中,自停止发送第一目标数据流中的数据包起未到达预设的该第一时长,设备#A判断第一目标数据流与第二目标数据流之间的传输进度的偏差小于或等于该第一阈值,则设备#A发送第一目标数据流中的数据包。Alternatively, in modes 1-4, the preset first duration has not been reached since the data packets in the first target data stream are stopped, and device #A determines the transmission between the first target data stream and the second target data stream If the deviation of the progress is less than or equal to the first threshold, the device #A sends the data packets in the first target data stream.
方式5:Way 5:
设备#A接收到第二数据包,该第二数据包属于多个目标数据流中的第二目标数据流, 第二数据包为第二目标数据流下一个待发数据包。当第一目标数据流与第二目标数据流之间的传输进度的偏差大于该第一阈值,且该第一目标数据流的传输进度比该第二目标数据流传输进度快,则将该第二数据包丢弃,或者可以丢弃第二数据包及第二数据包之后的部分数据包,从而缩小第一目标数据流和第二目标数据流之间的传输进度的偏差。Device #A receives a second data packet, the second data packet belongs to the second target data stream among the multiple target data streams, and the second data packet is the next data packet to be sent from the second target data stream. When the deviation of the transmission progress between the first target data stream and the second target data stream is greater than the first threshold, and the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, the Two data packets are discarded, or the second data packet and some data packets following the second data packet can be discarded, thereby reducing the deviation of the transmission progress between the first target data stream and the second target data stream.
设备#A判断第一目标数据流与第二目标数据流之间的传输进度的偏差大于该第一阈值的方式可以与方式1-4中类似,在此不再详细说明。The manner in which the device #A determines that the deviation of the transmission progress between the first target data stream and the second target data stream is greater than the first threshold may be similar to that in manners 1-4, and will not be described in detail here.
在一种可能的方式中,可以根据第二数据包的可靠性或重要性决定是否将第二数据包丢弃。例如,在传输视频流时,如果该第二数据包属于帧内编码图像intra-coded picture帧,简称I帧,则该第二数据包对于第二目标数据流而言是可靠性或重要性较高的数据包,则可以不将第二数据包丢弃;如果第二数据包属于预测编码图像predictive-codedpicture帧,简称P帧,则该第二数据包对于第二目标数据流而言是可靠性或重要性较低的数据包,则可以将第二数据包丢弃。In a possible manner, whether to discard the second data packet may be decided according to the reliability or importance of the second data packet. For example, when transmitting a video stream, if the second data packet belongs to an intra-coded picture frame, or I frame for short, then the second data packet is more reliable or important to the second target data stream. If the second data packet belongs to a predictive-coded picture frame of a predictive-coded picture, a P frame for short, the second data packet is reliable for the second target data stream or less important packets, the second packet can be discarded.
应理解,可以根据第二数据包对应的帧号确定第二数据包属于的帧类型。例如,一个图像组(group of pictures,GOP)的大小为4帧,第一个I帧的帧号为第1帧,如果第二数据包对应的帧号为第5帧,则第二数据包为I帧。It should be understood that the frame type to which the second data packet belongs may be determined according to the frame number corresponding to the second data packet. For example, the size of a group of pictures (GOP) is 4 frames, the frame number of the first I frame is the first frame, and if the frame number corresponding to the second data packet is the fifth frame, the second data packet is an I frame.
方式6:Way 6:
设备#A接收到第一数据包和第二数据包,第一数据包属于第一目标数据流,第一数据包为第一目标数据流下一个待发送数据包,第二数据包属于第二目标数据流,第二数据包为第二目标数据流下一个待发送数据包,当第一目标数据流与第二目标数据流之间的传输进度的偏差大于该第一阈值,且该第一目标数据流的传输进度比该第二目标数据流传输进度快,则停止发送第一目标数据流中的数据包,并且丢弃第二数据包,或丢弃第二数据包及第二数据包之后的部分数据包。Device #A receives the first data packet and the second data packet, the first data packet belongs to the first target data stream, the first data packet is the next to-be-sent data packet of the first target data stream, and the second data packet belongs to the second target data stream data stream, the second data packet is the next data packet to be sent in the second target data stream, when the deviation of the transmission progress between the first target data stream and the second target data stream is greater than the first threshold, and the first target data stream If the transmission progress of the stream is faster than the transmission progress of the second target data stream, stop sending the data packets in the first target data stream, and discard the second data packet, or discard the second data packet and part of the data after the second data packet Bag.
设备#A判断第一目标数据流与第二目标数据流之间的传输进度的偏差大于该第一阈值的方式可以与方式1-4中类似,在此不再详细说明。并且,与方式1-4中类似,可以在满足一定条件后,继续发送第一目标数据流中的数据包,在此不再展开说明。The manner in which the device #A determines that the deviation of the transmission progress between the first target data stream and the second target data stream is greater than the first threshold may be similar to that in manners 1-4, and will not be described in detail here. Moreover, similar to the manners 1-4, after a certain condition is satisfied, the data packets in the first target data stream may continue to be sent, which will not be further described here.
在一种可能的方式中,与方式5中类似,可以根据第二数据包所属的帧类型判断是否可以丢弃第二数据包,例如,如果第二数据包属于P帧,则可以丢弃第二数据包。In a possible manner, similar to manner 5, it can be determined whether the second data packet can be discarded according to the frame type to which the second data packet belongs. For example, if the second data packet belongs to a P frame, the second data packet can be discarded Bag.
S150,根据对多个目标数据流进行同步传输处理的结果,设备#A发送数据包。相应地,RAN接收数据包。S150: Device #A sends a data packet according to the result of performing synchronous transmission processing on multiple target data streams. Accordingly, the RAN receives the data packet.
S160,RAN向核心网网元发送数据包。相应地,核心网网元接收数据包。S160, the RAN sends the data packet to the core network element. Correspondingly, the core network element receives the data packet.
例如,在5G网络中,可以向UPF发送数据包。For example, in a 5G network, packets can be sent to the UPF.
应理解,RAN向核心网网元发送数据包的过程可以与现有技术类似,在此不再赘述。It should be understood that the process of the RAN sending the data packet to the core network element may be similar to that in the prior art, and details are not described herein again.
S170,核心网网元向应用服务器发送数据包。相应地,应用服务器接收数据包。S170, the core network element sends a data packet to the application server. Accordingly, the application server receives the data packet.
例如,在5G网络中,可以由UPF向应用服务器发送数据包。For example, in a 5G network, data packets can be sent by the UPF to the application server.
应理解,核心网网元向应用服务器发送数据包的过程可以与现有技术类似,在此不再展开说明。It should be understood that the process of the core network element sending the data packet to the application server may be similar to that in the prior art, and will not be described herein again.
根据本申请的实施例,在上行传输数据时,设备#A可以对多个目标数据流进行同步传输处理,以使多个目标数据流之间传输进度的偏差小于或等于第一阈值。相比于将多个目标数据流独立传输,不考虑各个目标数据流之间的相关性,采用本申请的方案可以使多 个目标数据流之间具有较高的同步精度,从而提升用户体验。According to the embodiments of the present application, when transmitting data upstream, device #A can perform synchronous transmission processing on multiple target data streams, so that the deviation of the transmission progress among the multiple target data streams is less than or equal to the first threshold. Compared with the independent transmission of multiple target data streams, without considering the correlation between each target data stream, the solution of the present application can achieve higher synchronization accuracy between multiple target data streams, thereby improving user experience.
在由RAN对多个目标数据流进行同步传输时,可以向RAN发送第一指示信息,该第一指示信息用于指示RAN对多个目标数据流进行同步传输。该第一指示信息中包括目标数据流的识别信息和第一阈值的信息。该第一阈值可以为多个目标数据流中任意两个目标数据流之间允许的传输进度的偏差的最大值;或者,该第一阈值可以为多个目标数据流中指定的两个目标数据流之间允许的传输进度的偏差的最大值,此时该第一阈值可随指定的两个目标数据流的不同而不同。When the RAN performs synchronous transmission on multiple target data streams, first indication information may be sent to the RAN, where the first indication information is used to instruct the RAN to perform synchronous transmission on the multiple target data streams. The first indication information includes identification information of the target data stream and information of the first threshold. The first threshold value may be the maximum value of the deviation of the allowable transmission progress between any two target data streams in the multiple target data streams; or, the first threshold value may be two target data streams specified in the multiple target data streams The maximum value of the deviation of the allowable transmission progress between the streams, and the first threshold may be different for the two specified target data streams at this time.
下面介绍向RAN发送该第一指示信息的方式:The following describes the manner of sending the first indication information to the RAN:
方式1:Way 1:
与方式a对应,应用客户端通过设备#A向核心网网元发送信息#A,信息#A包括多个目标数据流中每个目标数据流的第一标识的信息,信息#A还包括第一阈值的信息;或者,设备#A向核心网网元发送多个信息#A,每个信息#A包括一个目标数据流的第一标识的信息和同步组标识,设备#A还向核心网网元发送同步组的信息。核心网网元将多个目标数据流映射到多个服务质量(quality of service,QoS)流,即,建立多个目标数据流的第一标识和QoS流标识(QoS流ID,QFI)的对应关系。核心网网元向RAN发送信息#B(第一指示信息的另一例),该信息#B包括多个目标数据流对应的QFI(识别信息的一例)和第一阈值的信息。相应地,RAN接收该信息#B。Corresponding to the mode a, the application client sends the information #A to the core network element through the device #A, the information #A includes the information of the first identification of each target data stream in the multiple target data streams, and the information #A also includes the first identifier. information of a threshold; or, device #A sends a plurality of messages #A to the core network element, each message #A includes information of the first identifier of a target data stream and a synchronization group identifier, and device #A also sends a message to the core network. The network element sends the information of the synchronization group. The core network element maps multiple target data flows to multiple quality of service (quality of service, QoS) flows, that is, establishes the correspondence between the first identifiers of the multiple target data flows and the QoS flow identifiers (QoS flow ID, QFI) relation. The core network element sends information #B (another example of the first indication information) to the RAN, where the information #B includes QFI (an example of identification information) corresponding to multiple target data streams and information of the first threshold. Accordingly, the RAN receives this information #B.
或者,核心网网元向RAN发送多个信息#B,每个信息#B包括一个目标数据流对应的QFI,此时在每个信息#B中还应携带同步组标识。RAN接收具有相同同步组标识的多个信息#B,确定需要进行同步传输处理的多个目标数据流。核心网网元还向RAN发送同步组的信息。Alternatively, the core network element sends multiple messages #B to the RAN, each message #B includes a QFI corresponding to a target data stream, and in this case, each message #B should also carry a synchronization group identifier. The RAN receives multiple pieces of information #B with the same synchronization group identifier, and determines multiple target data streams that need to be processed for synchronization transmission. The core network element also sends the synchronization group information to the RAN.
在上行传输数据时,核心网网元还需向设备#A发送信息#E,该信息#E包括多个目标数据流中每个目标数据流的第一标识和QFI的对应关系。相应地,设备#A接收信息#E。When transmitting data upstream, the core network element also needs to send information #E to the device #A, where the information #E includes the correspondence between the first identifier of each target data stream in the multiple target data streams and the QFI. Accordingly, device #A receives information #E.
例如,在5G网络中,设备#A可以向SMF发送信息#A,例如,通过会话建立请求或会话修改请求发送信息#A,由SMF将多个目标数据流映射到多个QoS流,SMF向RAN发送信息#B。SMF通过NAS消息向设备#A发送信息#E。For example, in a 5G network, device #A can send information #A to SMF, for example, by sending information #A through a session establishment request or session modification request, and the SMF maps multiple target data flows to multiple QoS flows. RAN sends message #B. The SMF sends information #E to device #A through a NAS message.
在下行传输数据时,以5G网络为例,上述核心网网元可以为SMF,此时SMF还需向UPF发送信息#E,该信息#E包括多个目标数据流中每个目标数据流的第一标识和QFI的对应关系。相应地,UPF接收信息#E。During downlink data transmission, taking a 5G network as an example, the above-mentioned core network element can be an SMF. At this time, the SMF also needs to send information #E to the UPF, and the information #E includes the information of each target data stream in the multiple target data streams. The correspondence between the first identifier and the QFI. Accordingly, the UPF receives the information #E.
方式2:Way 2:
与方式a对应,应用客户端通过设备#A向核心网网元发送信息#A,信息#A包括多个目标数据流中每个目标数据流的第一标识的信息,信息#A还包括第一阈值的信息;或者,核心网网元接收多个信息#A,每个信息#A包括一个目标数据流的第一标识的信息和同步组标识,核心网网元还接收同步组的信息。核心网网元将多个目标数据流映射到同一个QoS流的多个子流,即,建立多个目标数据流的第一标识和同一个QoS流的多个子流标识之间的对应关系。核心网网元向RAN发送信息#C(第一指示信息的另一例),该信息#C包括同一个QoS流的多个子流标识(识别信息的一例)和第一阈值的信息,可选地还可以包括该QFI。相应地,RAN接收该信息#C。类似地,核心网网元也可以向RAN发送多个信息#C,每个信息#C包括一个QoS流的子流标识,每个信息#C中还需包含同步组 标识,核心网网元还向RAN发送同步组的信息。Corresponding to the mode a, the application client sends the information #A to the core network element through the device #A, the information #A includes the information of the first identification of each target data stream in the multiple target data streams, and the information #A also includes the first identifier. information of a threshold; or, the core network element receives multiple pieces of information #A, each information #A includes information about the first identifier of a target data stream and a synchronization group identifier, and the core network element also receives the synchronization group information. The core network element maps the multiple target data flows to multiple sub-flows of the same QoS flow, that is, establishes a correspondence between the first identifiers of the multiple target data flows and the multiple sub-flow identifiers of the same QoS flow. The core network element sends information #C (another example of the first indication information) to the RAN, where the information #C includes multiple sub-flow identifiers (an example of identification information) of the same QoS flow and information about the first threshold, optionally The QFI can also be included. Accordingly, the RAN receives this information #C. Similarly, the core network element can also send multiple messages #C to the RAN, each message #C includes a sub-flow identifier of a QoS flow, and each message #C also needs to include the synchronization group identifier, and the core network element also Send the synchronization group information to the RAN.
在上行传输数据时,核心网网元还需向设备#A发送信息#F,该信息#F包括多个目标数据流中每个目标数据流的第一标识与同一个QoS流的多个子流标识的对应关系。相应地,设备#A接收信息#F。When transmitting data upstream, the core network element also needs to send information #F to device #A, where information #F includes the first identifier of each target data flow in the multiple target data flows and multiple sub-flows of the same QoS flow The corresponding relationship of the identification. Accordingly, device #A receives information #F.
例如,在5G网络中,设备#A可以向SMF发送信息#A,由SMF将多个目标数据流映射到同一个QoS流的多个子流,SMF向RAN发送信息#C。SMF通过NAS消息向设备#A发送信息#F。For example, in a 5G network, device #A can send information #A to SMF, which maps multiple target data flows to multiple sub-flows of the same QoS flow, and SMF sends information #C to RAN. The SMF sends information #F to device #A through a NAS message.
在下行传输数据时,以5G网络为例,上述核心网网元可以为SMF,此时SMF还需向UPF发送信息#F,该信息#F包括多个目标数据流中每个目标数据流的第一标识和同一个QoS流的多个子流标识的对应关系。相应地,UPF接收信息#F。When transmitting data in the downlink, taking a 5G network as an example, the above-mentioned core network element can be an SMF. At this time, the SMF also needs to send information #F to the UPF, and the information #F includes the information of each target data stream in the multiple target data streams. The correspondence between the first identifier and the identifiers of multiple sub-flows of the same QoS flow. Accordingly, the UPF receives the information #F.
方式3:Way 3:
与方式b对应,应用服务器向核心网网元发送信息#A,信息#A包括多个目标数据流中每个目标数据流的第一标识的信息,信息#A还包括第一阈值的信息;或者,核心网网元接收多个信息#A,每个信息#A包括一个目标数据流的第一标识的信息和同步组标识,核心网网元还接收同步组的信息。核心网网元将多个目标数据流映射到多个QoS流,核心网网元向RAN发送信息#B。核心网网元还向RAN发送同步组的信息。相应地,RAN接收该信息#B。具体可参见方式1。Corresponding to the mode b, the application server sends the information #A to the core network element, the information #A includes the information of the first identification of each target data stream in the multiple target data streams, and the information #A also includes the information of the first threshold; Alternatively, the core network element receives multiple pieces of information #A, each information #A includes information of the first identifier of a target data stream and a synchronization group identifier, and the core network element also receives the synchronization group information. The core network element maps multiple target data flows to multiple QoS flows, and the core network element sends information #B to the RAN. The core network element also sends the synchronization group information to the RAN. Accordingly, the RAN receives this information #B. For details, please refer to Method 1.
在上行传输数据时,核心网网元还需向设备#A发送信息#E。相应地,设备#A接收信息#E。When transmitting data in the uplink, the core network element also needs to send the information #E to the device #A. Accordingly, device #A receives information #E.
例如,在5G网络中,应用服务器可以通过PCF向SMF发送信息#A,由SMF将多个目标数据流映射到多个QoS流,SMF向RAN发送信息#B,SMF向设备#A发送信息#E。For example, in a 5G network, an application server can send information #A to SMF through PCF, SMF maps multiple target data flows to multiple QoS flows, SMF sends information #B to RAN, and SMF sends information # to device #A E.
在下行传输数据时,以5G网络为例,上述核心网网元可以为SMF,此时SMF还需向UPF发送信息#E,相应地,UPF接收信息#E。During downlink data transmission, taking a 5G network as an example, the above-mentioned core network element may be an SMF. At this time, the SMF also needs to send the information #E to the UPF, and correspondingly, the UPF receives the information #E.
方式4:Way 4:
与方式b对应,应用服务器向核心网网元发送信息#A,信息#A包括多个目标数据流中每个目标数据流的第一标识的信息,信息#A还包括第一阈值的信息;或者,核心网网元接收多个信息#A,每个信息#A包括一个目标数据流的第一标识的信息和同步组标识,核心网网元还接收同步组的信息。核心网网元将多个目标数据流映射到同一个QoS流的多个子流,核心网网元向RAN发送信息#C。相应地,RAN接收该信息#C。具体参见方式2。Corresponding to the mode b, the application server sends the information #A to the core network element, the information #A includes the information of the first identification of each target data stream in the multiple target data streams, and the information #A also includes the information of the first threshold; Alternatively, the core network element receives multiple pieces of information #A, each information #A includes information of the first identifier of a target data stream and a synchronization group identifier, and the core network element also receives the synchronization group information. The core network element maps multiple target data flows to multiple sub-flows of the same QoS flow, and the core network element sends information #C to the RAN. Accordingly, the RAN receives this information #C. See method 2 for details.
在上行传输数据时,核心网网元还需向设备#A发送信息#F。相应地,设备#A接收信息#F。When transmitting data in the uplink, the core network element also needs to send the information #F to the device #A. Accordingly, device #A receives information #F.
例如,在5G网络中,应用服务器可以通过PCF向SMF发送信息#A,由SMF将多个目标数据流映射到同一个QoS流的多个子流,SMF向RAN发送信息#C,SMF向设备#A发送信息#F。For example, in a 5G network, the application server can send information #A to the SMF through the PCF, and the SMF maps multiple target data flows to multiple sub-flows of the same QoS flow, the SMF sends the information #C to the RAN, and the SMF sends the device# A sends message #F.
在下行传输数据时,以5G网络为例,上述核心网网元可以为SMF,此时SMF还需向UPF发送信息#F,相应地,UPF接收信息#F。During downlink data transmission, taking a 5G network as an example, the above-mentioned core network element may be an SMF. At this time, the SMF also needs to send the information #F to the UPF, and correspondingly, the UPF receives the information #F.
下面介绍由RAN对多个目标数据流的上行数据进行同步传输的一种具体过程,如图3所示:The following introduces a specific process of synchronous transmission of uplink data of multiple target data streams by the RAN, as shown in Figure 3:
S210,RAN接收第一指示信息,获取第一阈值的信息和多个目标数据流中每个目标数据流的识别信息。S210: The RAN receives the first indication information, and obtains information of the first threshold and identification information of each target data stream in the multiple target data streams.
例如,RAN可以按照上述方式1至方式4中的任意一种方式获取第一阈值的信息多个目标数据流中每个目标数据流的识别信息。For example, the RAN may obtain the information of the first threshold value in any one of the foregoing manners 1 to 4, and the identification information of each target data stream in the multiple target data streams.
S220,应用客户端向设备#A发送数据包。相应地,设备#A接收数据包。S220, the application client sends a data packet to the device #A. Accordingly, device #A receives the data packet.
S230,设备#A向RAN发送第一请求信息,第一请求信息用于请求RAN分配无线资源。相应地,RAN接收第一请求信息。S230: Device #A sends first request information to the RAN, where the first request information is used to request the RAN to allocate radio resources. Accordingly, the RAN receives the first request information.
S240,RAN确定多个目标数据流中每个目标数据流的传输进度的信息。S240: The RAN determines information about the transmission progress of each target data stream in the multiple target data streams.
S250,RAN对多个目标数据流进行同步传输处理。S250, the RAN performs synchronous transmission processing on the multiple target data streams.
下面介绍RAN根据第一请求信息对多个目标数据流进行同步传输处理的方式:The following describes the manner in which the RAN performs synchronous transmission processing on multiple target data streams according to the first request information:
方式1:Way 1:
第一请求信息请求为该多个目标数据流中的第一目标数据流分配第一无线资源。第一请求信息中包括第一数据包对应的帧号信息,其中,第一数据包是第一目标数据流下一待发送数据包。The first request information requests to allocate a first radio resource for a first target data stream in the plurality of target data streams. The first request information includes frame number information corresponding to the first data packet, where the first data packet is the next data packet to be sent in the first target data stream.
当第一数据包对应的帧号与第二数据包对应的帧号的偏差大于第一阈值,且,第一数据包对应的帧号大于第二数据包对应的帧号时,RAN停止为第一目标数据流分配的第一无线资源,其中,该第二数据包属于多个目标数据流中的第二目标数据流,且第二数据包为第二目标数据流下一个待发数据包或者第二目标数据流最后一个已发送数据包。When the deviation between the frame number corresponding to the first data packet and the frame number corresponding to the second data packet is greater than the first threshold, and the frame number corresponding to the first data packet is greater than the frame number corresponding to the second data packet, the RAN stops the first A first radio resource allocated by a target data stream, wherein the second data packet belongs to the second target data stream among the multiple target data streams, and the second data packet is the next data packet to be sent or the first data packet of the second target data stream. Two destination data streams are the last sent packet.
应理解,RAN在接收第一请求信息之前还接收第二请求信息,或者,RAN在一条消息中接收第一请求信息和第二请求信息,其中,第二请求信息请求为第二目标数据流分配第二无线资源,第二请求信息包括第二数据包对应的帧号,第二数据包为第二目标数据流下一待发送数据包。It should be understood that the RAN also receives the second request information before receiving the first request information, or the RAN receives the first request information and the second request information in one message, wherein the second request information requests allocation of the second target data flow For the second wireless resource, the second request information includes a frame number corresponding to the second data packet, and the second data packet is the next data packet to be sent in the second target data stream.
RAN响应该第二请求信息,为第二目标数据流分配第二无线资源。In response to the second request information, the RAN allocates second radio resources for the second target data flow.
应理解,当第一目标数据流与第二目标数据流之间的传输进度的偏差大于第一阈值,且第一目标数据流的传输进度比第二目标数据流的传输快时,RAN也可以分配第一无线资源,且第一无线资源少于第二无线资源。It should be understood that when the deviation of the transmission progress between the first target data stream and the second target data stream is greater than the first threshold, and the transmission progress of the first target data stream is faster than the transmission of the second target data stream, the RAN may also A first radio resource is allocated, and the first radio resource is less than the second radio resource.
例如,RAN为第一目标数据流分配的带宽小于为第二目标数据流分配的带宽。通过分配的无线资源的带宽不同,第二目标数据流获得的发送资源大于第一目标数据流获得的资源,从而可以发送较多的数据。For example, the bandwidth allocated by the RAN for the first target data flow is smaller than the bandwidth allocated for the second target data flow. Due to the different bandwidths of the allocated radio resources, the transmission resources obtained by the second target data flow are larger than the resources obtained by the first target data flow, so that more data can be sent.
在一种可能的方式中,第一请求信息还包括第一目标数据流的第一缓存信息和第二目标数据流的第二缓存信息,第一缓存信息为第一数据包对应的帧的待发送的数据总量的大小,第二缓存信息为第二数据包对应的帧的待发送的数据总量的大小。应理解,RAN接收第一请求信息后,RAN可结合上次收到的第二请求信息来进行同步传输的处理。例如,根据最后一次接收到的第二请求信息中的第二数据包的帧号和第二缓存信息、以及第一请求信息中的第一数据包的帧号和第一缓存信息(可选)确定第一目标数据流与第二目标数据流的传输进度的差值。例如,第一阈值为4,第二数据包的帧号是第15帧,第二缓存信息为100Kb,第一数据包的帧号是第20帧,第一缓存信息为200Kb,RAN根据第二目标数据流的第15帧尚有数据未发送完成,且第一数据包的帧号与第二数据包的帧号的差值为5,大于第一阈值4,因此,RAN可决定暂时不为第一目标数据流分配第一无线资源。In a possible manner, the first request information further includes first buffer information of the first target data stream and second buffer information of the second target data stream, where the first buffer information is the waiting list of the frame corresponding to the first data packet. The size of the total amount of data to be sent, and the second buffer information is the size of the total amount of data to be sent in the frame corresponding to the second data packet. It should be understood that after the RAN receives the first request information, the RAN may perform synchronous transmission processing in combination with the second request information received last time. For example, according to the frame number and second buffer information of the second data packet in the last received second request information, and the frame number and first buffer information of the first data packet in the first request information (optional) A difference between the transmission progress of the first target data stream and the second target data stream is determined. For example, the first threshold is 4, the frame number of the second data packet is the 15th frame, the second buffer information is 100Kb, the frame number of the first data packet is the 20th frame, and the first buffer information is 200Kb. The 15th frame of the target data stream still has data that has not been sent, and the difference between the frame number of the first data packet and the frame number of the second data packet is 5, which is greater than the first threshold of 4. Therefore, the RAN can decide not to The first target data flow allocates first radio resources.
第一请求信息中还可以包括第一目标数据流和第二目标数据流的识别信息,该识别信息可以为第一目标数据流和第二目标数据流对应的QFI或者QoS流子流标识。RAN可以根据第一目标数据流和第二目标数据流的识别信息判断第一目标数据流和第二目标数据流为多个目标数据流中的目标数据流。The first request information may further include identification information of the first target data flow and the second target data flow, where the identification information may be QFI or QoS flow sub-flow identifiers corresponding to the first target data flow and the second target data flow. The RAN may determine, according to the identification information of the first target data stream and the second target data stream, that the first target data stream and the second target data stream are target data streams among the multiple target data streams.
应理解,上述两个请求信息可以在一条消息中发送,相应地,也可以在一个响应消息中响应两个请求信息。上述两个请求信息也可以分别由不同的设备#A发送。本申请对此不作限制。It should be understood that the above two request information may be sent in one message, and correspondingly, the two request information may also be responded to in one response message. The above two request messages can also be sent by different devices #A respectively. This application does not limit this.
方式2:Way 2:
第一请求信息请求为该多个目标数据流中的第一目标数据流分配无线资源。第一请求信息中包括第一数据包对应的时间戳信息,其中,第一数据包是第一目标数据流下一待发送数据包。The first request information requests to allocate radio resources for a first target data stream in the plurality of target data streams. The first request information includes timestamp information corresponding to the first data packet, where the first data packet is the next data packet to be sent in the first target data stream.
当第一数据包对应的时间戳与第二数据包对应的时间戳的偏差大于第一阈值,且,第一数据包对应的时间戳大于第二数据包对应的时间戳时,RAN停止为第一目标数据流分配的第一无线资源,其中,该第二数据包属于多个目标数据流中的第二目标数据流,且第二数据包为第二目标数据流下一个待发数据包或者第二目标数据流最后一个已发送数据包。When the deviation between the timestamp corresponding to the first data packet and the timestamp corresponding to the second data packet is greater than the first threshold, and the timestamp corresponding to the first data packet is greater than the timestamp corresponding to the second data packet, the RAN stops the A first radio resource allocated by a target data stream, wherein the second data packet belongs to the second target data stream among the multiple target data streams, and the second data packet is the next data packet to be sent or the first data packet of the second target data stream. Two destination data streams are the last sent packet.
与方式1中类似的,RAN为第一目标数据流和第二目标数据流分配的无线资源还可为其他情况,在此不再重复说明。Similar to Mode 1, the radio resources allocated by the RAN for the first target data flow and the second target data flow may also be in other situations, and the description is not repeated here.
方式3:Way 3:
第一请求信息请求为该多个目标数据流中的第一目标数据流分配无线资源。The first request information requests to allocate radio resources for a first target data stream in the plurality of target data streams.
当第一目标数据流传输第一预设数据量所消耗的时间与第二目标数据流传输第二预设数据量所消耗的时间的偏差大于第一阈值,且第一目标数据流的传输进度比第二目标数据流传输进度快时,RAN停止为第一目标数据流分配第一无线资源,或者RAN为第一目标数据流分配的第一无线资源小于为第二目标数据流分配的第二无线资源。When the difference between the time consumed by the first target data stream to transmit the first preset data amount and the time consumed by the second target data stream to transmit the second preset data amount is greater than the first threshold, and the transmission progress of the first target data stream When the transmission progress of the second target data flow is faster than that of the second target data flow, the RAN stops allocating the first radio resource for the first target data flow, or the first radio resource allocated by the RAN for the first target data flow is smaller than the second target data flow allocated for the second target data flow. wireless resources.
与S140中方式3类似,此时由RAN监测多个目标数据流发送预设数据量所消耗的时间。Similar to Mode 3 in S140, at this time, the RAN monitors the time consumed by the multiple target data streams sending the preset data amount.
与方式1中类似的,RAN为第一目标数据流和第二目标数据流分配的无线资源还可为其他情况,在此不再重复说明。Similar to Mode 1, the radio resources allocated by the RAN for the first target data flow and the second target data flow may also be in other situations, and the description is not repeated here.
方式4:Way 4:
第一请求信息请求为该多个目标数据流中的第一目标数据流分配无线资源。The first request information requests to allocate radio resources for a first target data stream in the plurality of target data streams.
当多个目标数据流中第一目标数据流实际发送速率与多个目标数据流中第二目标数据流实际发送速率的比值与第一目标数据流预设发送速率与第二目标数据流预设发送速率的比值的偏差大于第一阈值,且第一目标数据流的传输进度比第二目标数据流传输进度快时,RAN停止为第一目标数据流分配第一无线资源,或者RAN为第一目标数据流分配的第一无线资源小于为第二目标数据流分配的第二无线资源。When the ratio of the actual sending rate of the first target data stream among the multiple target data streams to the actual sending rate of the second target data stream among the multiple target data streams, the preset sending rate of the first target data stream and the preset sending rate of the second target data stream When the deviation of the ratio of the transmission rates is greater than the first threshold, and the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, the RAN stops allocating the first radio resource for the first target data stream, or the RAN is the first target data stream. The first radio resource allocated for the target data flow is smaller than the second radio resource allocated for the second target data flow.
应理解,此时,第一指示信息中还包括多个目标数据流中每个目标数据流的预设发送速率,或者,包括多个目标数据流中每个目标数据流相对于其他目标数据流的预设速率比值。It should be understood that, at this time, the first indication information also includes the preset sending rate of each target data stream in the multiple target data streams, or includes the relative value of each target data stream in the multiple target data streams relative to other target data streams. preset rate ratio.
在上述方式1-4中,自停止为第一目标数据流分配无线资源起经过预设的第一时长后, 或者自接收到第一请求信息起经过预设的第二时长后,如果该第一目标数据流与第二目标数据流之间的传输进度的偏差仍大于该第一阈值,则为第一目标数据流分配无线资源。此时第一目标数据流不再等待第二目标数据流的传输。In the above manners 1-4, after the preset first time period has elapsed since the radio resource allocation for the first target data stream is stopped, or after the preset second time period has elapsed since the first request information is received, if the If the deviation of the transmission progress between a target data stream and the second target data stream is still greater than the first threshold, radio resources are allocated to the first target data stream. At this time, the first target data stream no longer waits for the transmission of the second target data stream.
或者,当停止为第一目标数据流分配无线资源后还未到预设的第一时长,如果RAN判断第一目标数据流与第二目标数据流之间的传输进度的偏差小于或等于该第一阈值,则可以为第一目标数据流分配无线资源。Or, when the preset first time period has not expired after the radio resource allocation for the first target data flow is stopped, if the RAN determines that the deviation of the transmission progress between the first target data flow and the second target data flow is less than or equal to the first target data flow If a threshold is set, radio resources can be allocated for the first target data flow.
S260,根据对多个目标数据流进行同步传输处理的结果,设备#A发送数据包。相应地,RAN接收数据包。S260: Device #A sends a data packet according to the result of performing synchronous transmission processing on the multiple target data streams. Accordingly, the RAN receives the data packet.
S270,RAN向核心网网元发送数据包。相应地,核心网网元接收数据包。S270, the RAN sends the data packet to the core network element. Correspondingly, the core network element receives the data packet.
例如,在5G网络中,可以向UPF发送数据包。For example, in a 5G network, packets can be sent to the UPF.
应理解,RAN向核心网网元发送数据包的过程可以与现有技术类似,在此不再赘述。It should be understood that the process of the RAN sending the data packet to the core network element may be similar to that in the prior art, and details are not described herein again.
S280,核心网网元向应用服务器发送数据包。相应地,应用服务器接收数据包。S280, the core network element sends a data packet to the application server. Accordingly, the application server receives the data packet.
例如,在5G网络中,可以由UPF向应用服务器发送数据包。For example, in a 5G network, data packets can be sent by the UPF to the application server.
应理解,核心网网元向应用服务器发送数据包的过程可以与现有技术类似,在此不再赘述。It should be understood that the process of the core network element sending the data packet to the application server may be similar to that in the prior art, and details are not described herein again.
下面介绍由RAN对多个目标数据流的下行数据进行同步传输的一种具体过程,如图4所示:The following introduces a specific process of synchronous transmission of downlink data of multiple target data streams by the RAN, as shown in Figure 4:
S310,RAN接收第一指示信息,获取第一阈值的信息和多个目标数据流中每个目标数据流的识别信息。S310: The RAN receives the first indication information, and obtains information of the first threshold and identification information of each target data stream in the multiple target data streams.
例如,RAN可以按照上述方式1至方式4中的任意一种方式获取第一阈值的信息和多个目标数据流中每个目标数据流的识别信息。For example, the RAN may acquire the information of the first threshold and the identification information of each target data stream in the multiple target data streams in any one of the foregoing manners 1 to 4.
S320,应用服务器发送数据包,数据包中包括数据包所属的目标数据流的第一标识。相应地,UPF接收数据包。S320: The application server sends a data packet, where the data packet includes a first identifier of the target data stream to which the data packet belongs. Accordingly, the UPF receives the data packet.
S330,UPF向RAN发送数据包。相应地,RAN接收数据包。S330, the UPF sends the data packet to the RAN. Accordingly, the RAN receives the data packet.
UPF根据从SMF接收到的信息#E和数据包中的第一标识,确定数据包所属的QoS流的QFI,UPF将该数据包封装到GTP-U数据包中,其中,GTP-U包中包括该数据包对应的QFI。The UPF determines the QFI of the QoS flow to which the data packet belongs according to the information #E received from the SMF and the first identifier in the data packet, and the UPF encapsulates the data packet into a GTP-U data packet, wherein the GTP-U packet is in the Include the QFI corresponding to the data packet.
或者,UPF根据从SMF接收到的信息#F和数据包中的第一标识,确定数据包所属的QoS流子流标识,UPF将该数据包封装到GTP-U数据包中,其中,GTP-U包中包括该数据包对应的QoS流子流标识。Or, the UPF determines the QoS flow sub-flow identifier to which the data packet belongs according to the information #F received from the SMF and the first identifier in the data packet, and the UPF encapsulates the data packet into a GTP-U data packet, wherein the GTP-U The U packet includes the QoS flow sub-flow identifier corresponding to the data packet.
可选地,S335,RAN根据数据包的GTP-U中携带的QFI和/或QoS流子流标识判断数据包所属目标数据流是否为多个目标数据流中的目标数据流。Optionally, in S335, the RAN determines whether the target data flow to which the data packet belongs is a target data flow among multiple target data flows according to the QFI and/or QoS flow sub-flow identifier carried in the GTP-U of the data packet.
S340,RAN确定多个目标数据流中每个目标数据流的传输进度的信息。S340: The RAN determines information about the transmission progress of each target data stream in the multiple target data streams.
RAN确定多个目标数据流中每个目标数据流的传输进度的信息的方式与S130中类似,在此不再展开说明。The manner in which the RAN determines the information on the transmission progress of each target data stream in the multiple target data streams is similar to that in S130, and will not be described herein again.
S350,RAN对多个目标数据流进行同步传输处理。S350, the RAN performs synchronous transmission processing on the multiple target data streams.
RAN对多个目标数据流进行同步传输处理的方式可以与S140中类似,在此不再展开说明。The manner in which the RAN performs synchronous transmission processing on multiple target data streams may be similar to that in S140, and will not be described herein again.
S360,根据对多个目标数据流进行同步传输处理的结果,RAN发送数据包。相应地, 设备#A接收数据包。S360, the RAN sends a data packet according to the result of performing the synchronous transmission process on the multiple target data streams. Accordingly, device #A receives the data packet.
S370,设备#A向应用客户端发送该数据包。相应地,应用客户端接收该数据包。S370, Device #A sends the data packet to the application client. Accordingly, the application client receives the data packet.
根据本申请的实施例,RAN可以对多个目标数据流进行同步传输处理,以使多个目标数据流之间传输进度的偏差小于或等于第一阈值。相比于将多个目标数据流独立传输,不考虑各个目标数据流之间的相关性,采用本申请的方案可以使多个目标数据流之间具有较高的同步精度,从而提升用户体验。According to the embodiment of the present application, the RAN may perform synchronous transmission processing on the multiple target data streams, so that the deviation of the transmission progress among the multiple target data streams is less than or equal to the first threshold. Compared with the independent transmission of multiple target data streams, without considering the correlation between each target data stream, the solution of the present application can achieve higher synchronization accuracy among multiple target data streams, thereby improving user experience.
在由核心网网元对多个目标数据流进行同步传输时,可以向核心网网元发送第一指示信息,该第一指示信息用于指示核心网网元对多个目标数据流进行同步传输。该第一指示信息中包括目标数据流的识别信息和第一阈值的信息。该第一阈值可以为多个目标数据流中任意两个目标数据流之间允许的传输进度的偏差的最大值;或者,该第一阈值可以为多个目标数据流中指定的两个目标数据流之间允许的传输进度的偏差的最大值,此时该第一阈值可随指定的两个目标数据流的不同而不同。When the core network element performs synchronous transmission of multiple target data streams, first indication information may be sent to the core network element, where the first indication information is used to instruct the core network element to perform synchronous transmission of the multiple target data streams . The first indication information includes identification information of the target data stream and information of the first threshold. The first threshold value may be the maximum value of the deviation of the allowable transmission progress between any two target data streams in the multiple target data streams; or, the first threshold value may be two target data streams specified in the multiple target data streams The maximum value of the deviation of the allowable transmission progress between the streams, and the first threshold may be different for the two specified target data streams at this time.
例如,在5G网络中,可以由UPF对多个目标数据流进行同步传输,下面介绍向UPF发送第一指示信息的方式:For example, in a 5G network, the UPF can synchronously transmit multiple target data streams. The following describes the method of sending the first indication information to the UPF:
方式1:Way 1:
与方式a对应,应用客户端通过设备#A向SMF发送信息#A,信息#A包括多个目标数据流中每个目标数据流的第一标识的信息,信息#A还包括第一阈值的信息;或者,SMF接收多个信息#A,每个信息#A包括一个目标数据流的第一标识的信息和同步组标识,SMF还接收同步组的信息。SMF将多个目标数据流映射到多个QoS流,即,建立多个目标数据流的第一标识和QFI的对应关系。Corresponding to the mode a, the application client sends the information #A to the SMF through the device #A, the information #A includes the information of the first identifier of each target data stream in the multiple target data streams, and the information #A also includes the first threshold value. information; or, the SMF receives a plurality of information #A, each information #A includes the information of the first identification of a target data stream and the synchronization group identification, and the SMF also receives the information of the synchronization group. The SMF maps multiple target data flows to multiple QoS flows, that is, establishes a correspondence between the first identifiers of the multiple target data flows and the QFI.
当上行传输数据时,SMF向UPF发送信息#B,该信息#B包括多个目标数据流对应的QFI和第一阈值的信息。相应地,UPF接收该信息#B。When data is transmitted upstream, the SMF sends information #B to the UPF, where the information #B includes information about QFIs and first thresholds corresponding to multiple target data streams. Accordingly, the UPF receives the information #B.
或者,SMF向UPF发送多个信息#B,每个信息#B包括一个目标数据流对应的QFI,此时在每个信息#B中还应携带同步组标识。UPF接收具有相同同步组标识的多个信息#B,确定需要进行同步传输处理的多个目标数据流。SMF还向UPF发送同步组的信息。Alternatively, the SMF sends multiple messages #B to the UPF, each message #B includes a QFI corresponding to a target data stream, and in this case, each message #B should also carry a synchronization group identifier. The UPF receives multiple pieces of information #B with the same synchronization group identifier, and determines multiple target data streams that need to be processed for synchronization transmission. The SMF also sends the synchronization group information to the UPF.
当上行传输数据时,SMF还需向设备#A发送信息#E,该信息#E包括多个目标数据流中每个目标数据流的第一标识和QFI的对应关系。相应地,UPF接收该信息#B,设备#A接收信息#E。When transmitting data upstream, the SMF also needs to send information #E to the device #A, where the information #E includes the correspondence between the first identifier of each target data stream in the multiple target data streams and the QFI. Accordingly, the UPF receives the message #B and the device #A receives the message #E.
当下行传输数据时,SMF向UPF发送信息#H,信息#H包括多个目标数据流中每个目标数据流的第一标识的信息,信息#H还包括第一阈值的信息。或者,SMF向UPF发送多个信息#H,每个信息#H包括一个目标数据流的第一标识的信息和同步组标识,UPF还接收同步组的信息。SMF还需向UPF发送信息#E,该信息#E包括多个目标数据流中每个目标数据流的第一标识和QFI的对应关系。相应地,UPF接收信息#H和信息#E。When downlinking data, the SMF sends information #H to the UPF, where the information #H includes information about the first identifier of each target data stream in the multiple target data streams, and the information #H also includes information about the first threshold. Alternatively, the SMF sends a plurality of messages #H to the UPF, each message #H includes information about the first identifier of a target data stream and a synchronization group identifier, and the UPF also receives the synchronization group information. The SMF also needs to send information #E to the UPF, where the information #E includes the correspondence between the first identifier of each target data stream in the multiple target data streams and the QFI. Accordingly, the UPF receives information #H and information #E.
方式2:Way 2:
与方式a对应,应用客户端通过设备#A向SMF发送信息#A,信息#A包括多个目标数据流中每个目标数据流的第一标识的信息,信息#A还包括第一阈值的信息;或者,SMF接收多个信息#A,每个信息#A包括一个目标数据流的第一标识的信息和同步组标识,SMF还接收同步组的信息。SMF将多个目标数据流映射到同一个QoS流的多个子流,即,建立多个目标数据流的第一标识和同一个QoS流的多个子流标识之间的对应关系。Corresponding to the mode a, the application client sends the information #A to the SMF through the device #A, the information #A includes the information of the first identifier of each target data stream in the multiple target data streams, and the information #A also includes the first threshold value. information; or, the SMF receives a plurality of information #A, each information #A includes the information of the first identification of a target data stream and the synchronization group identification, and the SMF also receives the information of the synchronization group. The SMF maps multiple target data flows to multiple sub-flows of the same QoS flow, that is, establishes a correspondence between the first identifiers of the multiple target data flows and the multiple sub-flow identifiers of the same QoS flow.
当上行传输数据时,SMF向UPF发送信息#C,该信息#C包括同一个QoS流的多个子流标识和第一阈值的信息,可选地还可以包括该QFI。When transmitting data upstream, the SMF sends information #C to the UPF, where the information #C includes multiple sub-flow identifiers of the same QoS flow and information about the first threshold, and optionally the QFI.
或者,SMF向UPF发送多个信息#C,每个信息#C包括一个QoS流的子流标识,此时在每个信息#C中还应携带同步组标识。UPF接收具有相同同步组标识的多个信息#C,确定需要进行同步传输处理的多个目标数据流。SMF还向UPF发送同步组的信息。Alternatively, the SMF sends multiple messages #C to the UPF, each message #C includes a sub-flow identifier of a QoS flow, and at this time, each message #C should also carry a synchronization group identifier. The UPF receives multiple pieces of information #C with the same synchronous group identifier, and determines multiple target data streams that need to be processed for synchronous transmission. The SMF also sends the synchronization group information to the UPF.
当上行传输数据时,SMF还需向设备#A发送信息#F,该信息#F包括多个目标数据流中每个目标数据流的第一标识与同一个QoS流的多个子流标识的对应关系。相应地,UPF接收该信息#C,设备#A接收信息#F。When transmitting data upstream, SMF also needs to send information #F to device #A, where information #F includes the correspondence between the first identifier of each target data stream in the multiple target data streams and the identifiers of multiple sub-flows of the same QoS stream relation. Accordingly, the UPF receives the information #C and the device #A receives the information #F.
当下行传输数据时,SMF向UPF发送信息#H,信息#H包括多个目标数据流中每个目标数据流的第一标识的信息,信息#H还包括第一阈值的信息。或者,SMF向UPF发送多个信息#H,每个信息#H包括一个目标数据流的第一标识的信息和同步组标识,UPF还接收同步组的信息。SMF还需向UPF发送信息#F。相应地,UPF接收信息#H和信息#F。When downlinking data, the SMF sends information #H to the UPF, where the information #H includes information about the first identifier of each target data stream in the multiple target data streams, and the information #H also includes information about the first threshold. Alternatively, the SMF sends a plurality of messages #H to the UPF, each message #H includes information about the first identifier of a target data stream and a synchronization group identifier, and the UPF also receives the synchronization group information. The SMF also needs to send message #F to the UPF. Accordingly, the UPF receives information #H and information #F.
方式3:Way 3:
与方式b对应,应用服务器向SMF发送信息#A,信息#A包括多个目标数据流中每个目标数据流的第一标识的信息,信息#A还包括第一阈值的信息;或者,SMF接收多个信息#A,每个信息#A包括一个目标数据流的第一标识的信息和同步组标识,SMF还接收同步组的信息。SMF将多个目标数据流映射到多个QoS流,即,建立多个目标数据流的第一标识和QFI的对应关系。Corresponding to the mode b, the application server sends the information #A to the SMF, the information #A includes the information of the first identifier of each target data stream in the multiple target data streams, and the information #A also includes the information of the first threshold; or, the SMF A plurality of messages #A are received, each message #A includes information of the first identifier of a target data stream and a synchronization group identifier, and the SMF also receives the information of the synchronization group. The SMF maps multiple target data flows to multiple QoS flows, that is, establishes a correspondence between the first identifiers of the multiple target data flows and the QFI.
当上行传输数据时,与方式1类似地,SMF向UPF发送信息#B,SMF还需向设备#A发送信息#E。相应地,UPF接收该信息#B,设备#A接收信息#E。When transmitting data upstream, similar to Mode 1, the SMF sends information #B to the UPF, and the SMF also needs to send information #E to the device #A. Accordingly, the UPF receives the message #B and the device #A receives the message #E.
当下行传输数据时,与方式1类似地,SMF向UPF发送信息#H,SMF还需向UPF发送信息#E。When transmitting data in the downlink, similar to Mode 1, the SMF sends the information #H to the UPF, and the SMF also needs to send the information #E to the UPF.
方式4:Way 4:
与方式b对应,应用服务器向SMF发送信息#A,信息#A包括多个目标数据流中每个目标数据流的第一标识的信息,信息#A还包括第一阈值的信息;或者,SMF接收多个信息#A,每个信息#A包括一个目标数据流的第一标识的信息和同步组标识,SMF还接收同步组的信息。SMF将多个目标数据流映射到同一个QoS流的多个子流,即,建立多个目标数据流的第一标识和同一个QoS流的多个子流标识之间的对应关系。Corresponding to the mode b, the application server sends the information #A to the SMF, the information #A includes the information of the first identifier of each target data stream in the multiple target data streams, and the information #A also includes the information of the first threshold; or, the SMF A plurality of messages #A are received, each message #A includes information of the first identifier of a target data stream and a synchronization group identifier, and the SMF also receives the information of the synchronization group. The SMF maps multiple target data flows to multiple sub-flows of the same QoS flow, that is, establishes a correspondence between the first identifiers of the multiple target data flows and the multiple sub-flow identifiers of the same QoS flow.
当上行传输数据时,与方式2类似地,SMF向UPF发送信息#C,SMF还需向设备#A发送信息#F。相应地,UPF接收该信息#C,设备#A接收信息#F。When transmitting data in the uplink, similar to Mode 2, the SMF sends the information #C to the UPF, and the SMF also needs to send the information #F to the device #A. Accordingly, the UPF receives the information #C and the device #A receives the information #F.
当下行传输数据时,与方式2类似地,SMF向UPF发送信息#H,SMF还需向UPF发送信息#F。When transmitting data in the downlink, similar to Mode 2, the SMF sends the information #H to the UPF, and the SMF also needs to send the information #F to the UPF.
下面介绍由UPF对多个目标数据流的上行数据进行同步传输的具体过程,如图5所示:The following describes the specific process of synchronous transmission of upstream data of multiple target data streams by UPF, as shown in Figure 5:
S410,UPF接收第一指示信息,获取第一阈值的信息和多个目标数据流中每个目标数据流的识别信息。S410: The UPF receives the first indication information, and acquires information of the first threshold and identification information of each target data stream in the multiple target data streams.
例如,UPF可以按照上述方式1至方式4中的任意一种方式获取第一阈值的信息和多个目标数据流中每个目标数据流的识别信息。For example, the UPF may acquire the information of the first threshold and the identification information of each target data stream in the plurality of target data streams in any one of the foregoing manners 1 to 4.
S420,应用客户端向设备#A发送数据包。相应地,设备#A接收数据包。S420, the application client sends a data packet to the device #A. Accordingly, device #A receives the data packet.
S430,设备#A向RAN发送数据包。相应地,RAN接收数据包。S430, Device #A sends a data packet to the RAN. Accordingly, the RAN receives the data packet.
数据包中包括数据包所属的目标数据流的识别信息。例如,该识别信息可以为目标数据流对应的QFI或QoS流子流标识。The data packet includes identification information of the target data stream to which the data packet belongs. For example, the identification information may be the QFI or QoS flow sub-flow identification corresponding to the target data flow.
S440,RAN向UPF发送数据包。相应地,UPF接收数据包。S440, the RAN sends a data packet to the UPF. Accordingly, the UPF receives the data packet.
可选地,S455,UPF根据数据包中包括的数据包所属的目标数据流的识别信息,确定该数据包所属的目标数据流为多个目标数据流中的目标数据流。Optionally, in S455, the UPF determines, according to the identification information of the target data stream to which the data packet belongs, included in the data packet, the target data stream to which the data packet belongs is a target data stream among the multiple target data streams.
S450,UPF确定多个目标数据流中每个目标数据流的传输进度的信息。S450, the UPF determines information about the transmission progress of each target data stream in the multiple target data streams.
UPF确定多个目标数据流中每个目标数据流的传输进度的信息的方式与S130中类似,在此不再展开说明。The manner in which the UPF determines the information of the transmission progress of each target data stream in the multiple target data streams is similar to that in S130, and will not be described herein again.
S460,UPF对多个目标数据流进行同步传输处理。S460, the UPF performs synchronous transmission processing on the multiple target data streams.
该过程可以与S140类似,在此不再展开说明。This process may be similar to S140, and will not be further described here.
S470,根据对多个目标数据流进行同步传输处理的结果,UPF向应用服务器发送数据包。S470, the UPF sends a data packet to the application server according to the result of the synchronous transmission processing on the multiple target data streams.
下面介绍由UPF对多个目标数据流的下行数据进行同步传输的具体过程,如图6所示:The following describes the specific process of synchronous transmission of downlink data of multiple target data streams by UPF, as shown in Figure 6:
S510,UPF接收第一指示信息,获取第一阈值的信息和多个目标数据流中每个目标数据流的识别信息。S510: The UPF receives the first indication information, and acquires information of the first threshold and identification information of each target data stream in the multiple target data streams.
例如,UPF可以按照上述方式1至方式4中的任意一种方式获取第一阈值的信息和多个目标数据流中每个目标数据流的识别信息。For example, the UPF may acquire the information of the first threshold and the identification information of each target data stream in the plurality of target data streams in any one of the foregoing manners 1 to 4.
S520,应用服务器向UPF发送数据包。相应地,UPF接收数据包。S520, the application server sends a data packet to the UPF. Accordingly, the UPF receives the data packet.
数据包中包括数据包所属的目标数据流的第一标识。The data packet includes the first identifier of the target data stream to which the data packet belongs.
可选地,S525,UPF根据数据包所属的目标数据流的第一标识判断数据包所属目标数据流是否为多个目标数据流中的目标数据流。Optionally, in S525, the UPF determines whether the target data stream to which the data packet belongs is a target data stream among multiple target data streams according to the first identifier of the target data stream to which the data packet belongs.
S530,UPF确定多个目标数据流中每个目标数据流的传输进度的信息。S530, the UPF determines information on the transmission progress of each target data stream in the multiple target data streams.
UPF确定多个目标数据流中每个目标数据流的传输进度的信息的方式与S130中类似,在此不再展开说明。The manner in which the UPF determines the information of the transmission progress of each target data stream in the multiple target data streams is similar to that in S130, and will not be described herein again.
S540,UPF对多个目标数据流进行同步传输处理。S540, the UPF performs synchronous transmission processing on the multiple target data streams.
UPF对多个目标数据流进行同步传输处理的方式可以与S140中类似,在此不再展开说明。The manner in which the UPF performs synchronous transmission processing on multiple target data streams may be similar to that in S140, and will not be described herein again.
S550,根据对多个目标数据流进行同步传输处理的结果,UPF发送数据包。相应地,RAN接收数据包。S550, the UPF sends data packets according to the result of performing the synchronous transmission processing on the multiple target data streams. Accordingly, the RAN receives the data packet.
与S330中类似,UPF确定数据包所属的QoS流的QFI或者数据包所属的QoS流子流标识。UPF将该数据包封装到GTP-U数据包中,向RAN发送。Similar to S330, the UPF determines the QFI of the QoS flow to which the data packet belongs or the sub-flow identifier of the QoS flow to which the data packet belongs. The UPF encapsulates the packet into a GTP-U packet and sends it to the RAN.
S560,RAN发送数据包。相应地,设备#A接收数据包。S560, the RAN sends the data packet. Accordingly, device #A receives the data packet.
S570,设备#A向应用客户端发送该数据包。相应地,应用客户端接收该数据包。S570, Device #A sends the data packet to the application client. Accordingly, the application client receives the data packet.
根据本申请的实施例,在传输数据时,UPF可以对多个目标数据流进行同步传输处理,以使多个目标数据流之间传输进度的偏差小于或等于第一阈值。相比于将多个目标数据流独立传输,不考虑各个目标数据流之间的相关性,采用本申请的方案可以使多个目标数据流之间具有较高的同步精度,从而提升用户体验。According to the embodiment of the present application, when transmitting data, the UPF may perform synchronous transmission processing on multiple target data streams, so that the deviation of the transmission progress among the multiple target data streams is less than or equal to the first threshold. Compared with the independent transmission of multiple target data streams, without considering the correlation between each target data stream, the solution of the present application can achieve higher synchronization accuracy among multiple target data streams, thereby improving user experience.
在多个目标数据流通过同一个设备#A,同一个RAN,同一个核心网网元进行传输时,可以由设备#A,RAN或者核心网网元对多个目标数据流进行同步传输,具体过程如上述所示。应理解,在此场景下,还可以由设备#A与RAN,或者设备#A与核心网网元,或者RAN与核心网网元,或者设备#A、RAN与核心网网元对多个目标数据流进行同步传输。具体过程可以为上述过程的组合。When multiple target data streams are transmitted through the same device #A, the same RAN, and the same core network element, the multiple target data streams can be synchronously transmitted by the device #A, RAN or core network element. The process is shown above. It should be understood that in this scenario, multiple targets can also be connected by device #A and RAN, or device #A and core network element, or RAN and core network element, or device #A, RAN and core network element Data streams are transmitted synchronously. The specific process may be a combination of the above-mentioned processes.
下面以通过RAN与UPF对多个目标数据流的下行数据进行同步传输为例进行说明,由RAN与UPF对多个目标数据流的下行数据进行同步传输时,可以向RAN和UPF分别发送第一指示信息,用于指示RAN和UPF对多个目标数据流进行同步传输。该第一指示信息中包括目标数据流的识别信息和第一阈值的信息。如图7所示:The following takes the example of synchronous transmission of downlink data of multiple target data streams through RAN and UPF. When RAN and UPF perform synchronous transmission of downlink data of multiple target data streams, the first The indication information is used to instruct the RAN and the UPF to synchronously transmit multiple target data streams. The first indication information includes identification information of the target data stream and information of the first threshold. As shown in Figure 7:
S610,RAN接收第一指示信息,获取第一阈值的信息和多个目标数据流中每个目标数据流的识别信息。S610: The RAN receives the first indication information, and obtains information of the first threshold and identification information of each target data stream in the multiple target data streams.
该过程可以与S310类似。The process may be similar to S310.
例如,RAN可以通过接收信息#B,确定第一阈值的信息和多个目标数据流中每个目标数据流对应的QFI。For example, the RAN may determine the information of the first threshold and the QFI corresponding to each of the multiple target data streams by receiving the information #B.
S620,UPF接收第一指示信息,获取第一阈值的信息和多个目标数据流中每个目标数据流的识别信息。S620: The UPF receives the first indication information, and acquires information of the first threshold and identification information of each target data stream in the multiple target data streams.
该过程可以与S510类似。The process may be similar to S510.
例如,UPF可以通过接收信息#H确定多个目标数据流中每个目标数据流的第一标识的信息,信息#H还包括第一阈值的信息。UPF还接收信息#E,该信息#E包括多个目标数据流中每个目标数据流的第一标识和QFI的对应关系。For example, the UPF may determine the information of the first identification of each target data stream in the plurality of target data streams by receiving the information #H, and the information #H further includes the information of the first threshold. The UPF also receives information #E, where the information #E includes the correspondence between the first identifier of each target data stream in the multiple target data streams and the QFI.
S630,应用服务器发送数据包,数据包中包括数据包所属的目标数据流的第一标识。相应地,UPF接收数据包。S630: The application server sends a data packet, where the data packet includes a first identifier of the target data stream to which the data packet belongs. Accordingly, the UPF receives the data packet.
可选地,S635,UPF根据数据包中携带的第一标识判断数据包所属目标数据流是否为多个目标数据流中的目标数据流。Optionally, in S635, the UPF determines, according to the first identifier carried in the data packet, whether the target data stream to which the data packet belongs is a target data stream among multiple target data streams.
S640,UPF确定多个目标数据流中每个目标数据流的传输进度的信息。S640, the UPF determines information about the transmission progress of each target data stream in the multiple target data streams.
UPF确定多个目标数据流中每个目标数据流的传输进度的信息的方式与S130中类似,在此不再展开说明。The manner in which the UPF determines the information of the transmission progress of each target data stream in the multiple target data streams is similar to that in S130, and will not be described herein again.
S650,UPF对多个目标数据流进行同步传输处理。S650, the UPF performs synchronous transmission processing on multiple target data streams.
UPF对多个目标数据流进行同步传输处理的方式可以与S140中类似,在此不再展开说明。The manner in which the UPF performs synchronous transmission processing on multiple target data streams may be similar to that in S140, and will not be described herein again.
S660,根据对多个目标数据流进行同步传输处理的结果,UPF发送数据包。相应地,RAN接收数据包。S660, the UPF sends a data packet according to the result of performing the synchronous transmission process on the multiple target data streams. Accordingly, the RAN receives the data packet.
该过程与S330类似。The process is similar to S330.
例如,UPF根据从SMF接收到的信息#E和数据包中的第一标识,确定数据包所属的QoS流的QFI,UPF将该数据包封装到GTP-U数据包中,其中,GTP-U包中包括该数据包对应的QFI。For example, the UPF determines the QFI of the QoS flow to which the data packet belongs according to the information #E received from the SMF and the first identifier in the data packet, and the UPF encapsulates the data packet into a GTP-U data packet, where the GTP-U The packet includes the QFI corresponding to the data packet.
又例如,UPF根据从SMF接收到的信息#F和数据包中的第一标识,确定数据包所属的QoS流子流标识,UPF将该数据包封装到GTP-U数据包中,其中,GTP-U包中包括该数据包对应的QoS流子流标识,可选地,还包括QFI。For another example, the UPF determines the QoS flow sub-flow identifier to which the data packet belongs according to the information #F received from the SMF and the first identifier in the data packet, and the UPF encapsulates the data packet into a GTP-U data packet, wherein the GTP The -U packet includes the QoS flow sub-flow identifier corresponding to the data packet, and optionally, also includes the QFI.
可选地,S665,RAN根据数据包的GTP-U中携带的QFI和/或QoS流子流标识判断数据包所属目标数据流是否为多个目标数据流中的目标数据流。Optionally, in S665, the RAN determines whether the target data flow to which the data packet belongs is a target data flow among multiple target data flows according to the QFI and/or the QoS flow sub-flow identifier carried in the GTP-U of the data packet.
S670,RAN确定多个目标数据流中每个目标数据流的传输进度的信息。S670: The RAN determines information about the transmission progress of each target data stream in the multiple target data streams.
RAN确定多个目标数据流中每个目标数据流的传输进度的信息的方式与S130中类似,在此不再展开说明。The manner in which the RAN determines the information on the transmission progress of each target data stream in the multiple target data streams is similar to that in S130, and will not be described herein again.
S680,RAN对多个目标数据流进行同步传输处理。S680, the RAN performs synchronous transmission processing on the multiple target data streams.
RAN对多个目标数据流进行同步传输处理的方式可以与S140中类似,在此不再展开说明。The manner in which the RAN performs synchronous transmission processing on multiple target data streams may be similar to that in S140, and will not be described herein again.
S690,根据对多个目标数据流进行同步传输处理的结果,RAN发送数据包。相应地,设备#A接收数据包。S690, the RAN sends a data packet according to the result of performing the synchronous transmission process on the multiple target data streams. Accordingly, device #A receives the data packet.
S695,设备#A向应用客户端发送该数据包。相应地,应用客户端接收该数据包。S695, Device #A sends the data packet to the application client. Accordingly, the application client receives the data packet.
根据本申请的实施例,在下行传输数据时,UPF对多个目标数据流进行同步传输处理后,如果多个目标数据流之间的传输进度的偏差仍大于第一阈值,可以由RAN对多个目标数据流再次进行同步传输处理,以使多个目标数据流之间传输进度的偏差小于或等于第一阈值。相比于将多个目标数据流独立传输,不考虑各个目标数据流之间的相关性,采用本申请的方案可以使多个目标数据流之间具有较高的同步精度,从而提升用户体验。According to the embodiments of the present application, during downlink data transmission, after the UPF performs synchronous transmission processing on multiple target data streams, if the deviation of the transmission progress among the multiple target data streams is still greater than the first threshold, the RAN may The synchronous transmission processing is performed on the target data streams again, so that the deviation of the transmission progress among the plurality of target data streams is less than or equal to the first threshold. Compared with the independent transmission of multiple target data streams, without considering the correlation between each target data stream, the solution of the present application can achieve higher synchronization accuracy among multiple target data streams, thereby improving user experience.
在一些场景中,多个目标数据流通过多个终端设备、同一个RAN、同一个核心网网元传输。在此场景下,可以通过RAN,或者核心网网元,或者RAN与核心网网元对多个目标数据流进行同步传输,具体的可以与上述过程类似,在此不再展开说明。In some scenarios, multiple target data streams are transmitted through multiple terminal devices, the same RAN, and the same core network element. In this scenario, multiple target data streams can be synchronously transmitted through the RAN, or the core network element, or the RAN and the core network element.
在另一些场景中,多个目标数据流通过多个终端设备、多个RAN、同一个核心网网元传输。在此场景下,可以通过核心网网元对多个目标数据流进行同步传输,具体的关联调度过程可以与上述过程类似,在此不再展开说明。In other scenarios, multiple target data streams are transmitted through multiple terminal devices, multiple RANs, and the same core network element. In this scenario, multiple target data streams may be synchronously transmitted through the core network element, and the specific associated scheduling process may be similar to the above-mentioned process, which will not be described here.
在另一些场景中,在传输目标数据流中数据包的过程中,目标数据流中的数据包会发生丢失的情况,此时,需要对该数据包进行重传。In other scenarios, in the process of transmitting the data packets in the target data stream, the data packets in the target data stream may be lost, and in this case, the data packets need to be retransmitted.
下面介绍上行传输时对数据包进行重传的一种方法,如图8所示。The following introduces a method for retransmitting data packets during uplink transmission, as shown in FIG. 8 .
S710,设备#A接收第二指示信息,该第二指示信息指示优先发送目标数据流中的重传数据包,该第二指示信息包括需要优先发送重传数据包的目标数据流的识别信息。S710: Device #A receives second indication information, where the second indication information indicates to preferentially send the retransmitted data packets in the target data stream, and the second indication information includes identification information of the target data stream that needs to preferentially transmit the retransmitted data packets.
下面介绍设备#A接收该第二指示信息的方式:The following describes the manner in which device #A receives the second indication information:
方式1:Way 1:
应用客户端确定需要优先发送重传数据包的目标数据流,向设备#A发送第二指示信息。The application client determines the target data stream that needs to send the retransmitted data packet preferentially, and sends the second indication information to the device #A.
例如,应用客户端向设备#A发送第二指示信息,第二指示信息用于指示优先发送目标数据流的重传的数据包。该第二指示信息包括的目标数据流的识别信息可以为目标数据流对应的第一标识。For example, the application client sends the second indication information to the device #A, where the second indication information is used to instruct to preferentially send the retransmitted data packets of the target data stream. The identification information of the target data stream included in the second indication information may be the first identification corresponding to the target data stream.
在一种可能的方式中,设备#A收到第二指示信息后还可以向SMF发送会话修改请求,用于请求SMF为优先重传创建优先级更高的第一QoS流或第一QoS流子流。SMF在收到该会话修改请求后,为目标数据流的重传数据包创建优先级更高的第一QoS流或第一QoS流子流,向设备#A发送会话修改响应信息,该会话修改响应信息中包括该优先级更高的第一QoS流或第一QoS流子流的信息,该会话响应消息指示设备#A通过该优先级更 高的第一QoS流或第一QoS流子流发送目标数据流的重传数据包。在一种可能的方式中,SMF还可以向RAN发送第三指示信息,该第三指示信息包括该优先级更高的第一QoS流或第一QoS流子流的信息,并指示RAN为该优先级更高的第一QoS流或第一QoS流子流分配专用的无线承载。In a possible manner, after receiving the second indication information, the device #A may also send a session modification request to the SMF, which is used to request the SMF to create a first QoS flow or a first QoS flow with a higher priority for priority retransmission subflow. After receiving the session modification request, the SMF creates a first QoS flow or a first QoS flow sub-flow with a higher priority for the retransmitted data packets of the target data flow, and sends the session modification response information to device #A, the session modification The response information includes the information of the first QoS flow or the first QoS flow sub-flow with the higher priority, and the session response message instructs the device #A to pass the first QoS flow or the first QoS flow sub-flow with the higher priority Send a retransmission packet of the target stream. In a possible manner, the SMF may also send third indication information to the RAN, where the third indication information includes the information of the first QoS flow or the first QoS flow sub-flow with the higher priority, and indicates that the RAN is the first QoS flow with a higher priority. The first QoS flow or sub-flow of the first QoS flow with a higher priority is allocated a dedicated radio bearer.
方式2:Way 2:
应用服务器确定需要优先发送重传数据包的目标数据流,通过核心网网元向设备#A发送第二指示信息。The application server determines the target data stream that needs to send the retransmitted data packet preferentially, and sends the second indication information to the device #A through the core network element.
例如,在5G网络中,应用服务器可以向SMF发送重发优先信息,该重发优先信息中包括目标数据流对应的第一标识。在一种可能的实现方式中,应用服务器通过PCF向SMF发送重发优先信息。For example, in a 5G network, the application server may send retransmission priority information to the SMF, where the retransmission priority information includes the first identifier corresponding to the target data stream. In a possible implementation manner, the application server sends the retransmission priority information to the SMF through the PCF.
SMF在收到重发优先信息后,将目标数据流映射到QoS流或QoS流子流向设备#A发送第二指示信息,该第二指示信息中包括目标数据流对应的QFI或QoS流子流标识。After receiving the retransmission priority information, the SMF maps the target data flow to the QoS flow or QoS flow sub-flow and sends second indication information to Device #A, where the second indication information includes the QFI or QoS flow sub-flow corresponding to the target data flow logo.
在另一种可能的实现方式中,SMF在收到重发优先信息后,为目标数据流的重传数据包创建优先级更高的第一QoS流或第一QoS流子流,向设备#A发送第二指示信息,该第二指示信息中包括该优先级更高的第一QoS流或第一QoS流子流的信息,第二指示信息指示设备#A通过该优先级更高的第一QoS流或第一QoS流子流发送目标数据流的重传数据包。在一种可能的方式中,SMF还可以向RAN发送第三指示信息,该第三指示信息包括该优先级更高的第一QoS流或第一QoS流子流的信息,并指示RAN为该优先级更高的第一QoS流或第一QoS流子流分配专用的无线承载。In another possible implementation manner, after receiving the retransmission priority information, the SMF creates a first QoS flow or a first QoS flow sub-flow with a higher priority for the retransmitted data packets of the target data flow, and sends the information to the device# A sends second indication information, the second indication information includes the information of the first QoS flow or the first QoS flow sub-flow with the higher priority, and the second indication information instructs the device #A to pass the first QoS flow with the higher priority. A QoS flow or a sub-flow of the first QoS flow sends the retransmitted data packets of the target data flow. In a possible manner, the SMF may also send third indication information to the RAN, where the third indication information includes the information of the first QoS flow or the first QoS flow sub-flow with the higher priority, and indicates that the RAN is the first QoS flow with a higher priority. The first QoS flow or sub-flow of the first QoS flow with a higher priority is allocated a dedicated radio bearer.
S720,应用客户端确定某个数据包需要重传,向设备#A发送该重传数据包。该重传数据包中包括重传标记,可选地还可以包括该重传数据包所属的目标数据流的识别信息。相应地,设备#A接收该重传数据包。S720, the application client determines that a certain data packet needs to be retransmitted, and sends the retransmitted data packet to device #A. The retransmission data packet includes a retransmission mark, and optionally may also include identification information of the target data stream to which the retransmission data packet belongs. Accordingly, device #A receives the retransmitted data packet.
应理解,应用客户端确定某个数据包需要重传的方法可以与现有技术类似,例如,应用客户端对应的TCP层感知到某一数据包丢失,则确定该数据包需要重传。It should be understood that the method for the application client to determine that a certain data packet needs to be retransmitted may be similar to the prior art. For example, if the TCP layer corresponding to the application client senses that a certain data packet is lost, it determines that the data packet needs to be retransmitted.
可选地,S725,设备#A根据该重传数据包所属的目标数据流的识别信息确定该目标数据流上传输的重传数据包需要优先发送。Optionally, in S725, device #A determines, according to the identification information of the target data stream to which the retransmitted data packet belongs, that the retransmitted data packet transmitted on the target data stream needs to be sent preferentially.
S730,设备#A优先发送该重传数据包。S730, Device #A preferentially sends the retransmitted data packet.
下面介绍设备#A优先发送该重传数据包的方式:The following describes how Device #A preferentially sends the retransmitted packet:
方式1:Way 1:
设备#A确定该重传数据包所属的目标数据流,提高该目标数据流的优先级,优先发送该目标数据流上需要传输的数据包。Device #A determines the target data stream to which the retransmitted data packet belongs, increases the priority of the target data stream, and preferentially sends the data packets that need to be transmitted on the target data stream.
方式2:Way 2:
设备#A确定该重传数据包所属的目标数据流,将该重传数据包置于该目标数据流对应的队列的顶部。当发送该目标数据流上的数据包时,可以优先发送该重传数据包。应理解,位于队列的顶部的数据包为队列中下一个待发送的数据包。Device #A determines the target data stream to which the retransmitted data packet belongs, and places the retransmitted data packet at the top of the queue corresponding to the target data stream. When sending the data packet on the target data stream, the retransmitted data packet may be sent preferentially. It should be understood that the data packet at the top of the queue is the next data packet to be sent in the queue.
当有多个重传数据包需要重传,并且多个重传数据包属于多个目标数据流时,在将多个重传数据包插入对应的目标数据流的队列的顶部之后,可以按照多个目标数据流的优先级,优先发送优先级高的目标数据流上的重传数据包。When there are multiple retransmitted data packets that need to be retransmitted, and the multiple retransmitted data packets belong to multiple target data streams, after the multiple retransmitted data packets are inserted into the top of the queue of the corresponding target data stream, the number of The priority of each target data stream, the retransmission data packets on the target data stream with higher priority are sent first.
在一种可能的实现方式中,设备#A在将该重传数据包插入该目标数据流对应的队列 的顶部的同时,可以提高该目标数据流的优先级。In a possible implementation manner, device #A can increase the priority of the target data flow while inserting the retransmitted data packet into the top of the queue corresponding to the target data flow.
方式3:Way 3:
设备#A在本地新增一个重传队列,该重传队列的优先级高于其他队列的优先级。该重传队列为优先级更高的第一QoS流或第一QoS流子流对应的队列。在S710中介绍了该优先级更高的第一QoS流或第一QoS流子流的创建方式。例如,该重传队列可以是设备#A请求创建的,即,设备#A向SMF发送会话修改请求,用于为优先重传创建优先级更高的第一QoS流或第一QoS流子流;或者,核心网网元(如SMF)根据重发优先信息确定为优先重传创建优先级更高的第一QoS流或第一QoS流子流,该重传队列是该专门用于优先重传的第一QoS流或第一QoS流子流对应的对列。本申请对如何建立该重传队列不作限定。Device #A adds a retransmission queue locally, and the priority of this retransmission queue is higher than that of other queues. The retransmission queue is a queue corresponding to the first QoS flow or the sub-flow of the first QoS flow with a higher priority. The creation method of the first QoS flow or the first QoS flow sub-flow with the higher priority is introduced in S710. For example, the retransmission queue may be created by a request from device #A, that is, device #A sends a session modification request to the SMF for creating a first QoS flow or a first QoS flow sub-flow with a higher priority for priority retransmission Or, the core network element (such as SMF) determines according to the retransmission priority information to create a first QoS flow or a first QoS flow sub-flow with a higher priority for the priority retransmission, and the retransmission queue is the one specially used for the priority retransmission. Queue corresponding to the transmitted first QoS flow or the first QoS flow sub-flow. This application does not limit how to establish the retransmission queue.
设备#A通过重传队列发送该重传数据包,RAN为该重传队列优先分配资源,当RAN为该重传队列分配了上行资源后,发送该重传数据包。Device #A sends the retransmission data packet through the retransmission queue, the RAN allocates resources to the retransmission queue preferentially, and sends the retransmission data packet after the RAN allocates uplink resources to the retransmission queue.
当有多个重传数据包需要重传,并且多个重传数据包属于多个目标数据流时,可以在该重传队列中按多个目标数据流的优先级对多个重传数据包进行排序,按照顺序优先发送该重传队列中的重传数据包。或者,为该多个优先级不同的目标数据流分别创建优先级不同的重传队列,每个目标数据流的重传数据包分别通过各自的重传队列进行发送。When there are multiple retransmitted data packets that need to be retransmitted, and the multiple retransmitted data packets belong to multiple target data streams, the multiple retransmitted data packets can be processed according to the priority of the multiple target data streams in the retransmission queue. Sorting is performed, and the retransmission data packets in the retransmission queue are preferentially sent in order. Alternatively, retransmission queues with different priorities are respectively created for the multiple target data streams with different priorities, and the retransmission data packets of each target data stream are respectively sent through the respective retransmission queues.
应理解,上行传输数据时,RAN或者核心网网元也可以采用类似的方式发送重传数据包,在此不再详细说明。It should be understood that during uplink transmission of data, the RAN or the core network element may also send retransmission data packets in a similar manner, which will not be described in detail here.
下面介绍下行传输时对数据包进行重传的一种方法,如图9所示。The following introduces a method for retransmitting data packets during downlink transmission, as shown in FIG. 9 .
S810,RAN接收第二指示信息,该第二指示信息指示优先发送目标数据流中需要重传的重传数据包,该第二指示信息包括需要优先发送重传数据包的目标数据流的识别信息。S810: The RAN receives second indication information, where the second indication information indicates to preferentially send the retransmitted data packets that need to be retransmitted in the target data stream, and the second indication information includes identification information of the target data stream that needs to preferentially send the retransmitted data packets .
下面介绍RAN接收第二指示信息的方式:The following describes the manner in which the RAN receives the second indication information:
例如,在5G网络中,应用服务器确定需要优先发送重传数据包的目标数据流,应用服务器向SMF发送重发优先信息,该重发优先信息中包括需要优先发送重传数据包的目标数据流的第一标识。For example, in a 5G network, the application server determines the target data stream that needs to send retransmission packets preferentially, and the application server sends retransmission priority information to the SMF. The retransmission priority information includes the target data stream that needs to send retransmission packets preferentially. the first identification.
在一种可能的实现方式中,SMF将需要优先发送重传数据包的目标数据流映射到QoS流,向RAN发送第二指示信息,该第二指示信息中包括目标数据流的需要优先重传的数据包对应的QFI。此时SMF还需向UPF发送信息#J,该信息#J包括需要优先发送重传数据包的目标数据流的第一标识和QFI的对应关系。可选的,信息#J还包括重传标记。In a possible implementation manner, the SMF maps the target data flow that needs to preferentially send retransmitted data packets to the QoS flow, and sends second indication information to the RAN, where the second indication information includes the target data flow that needs to be preferentially retransmitted. The corresponding QFI of the packet. At this time, the SMF also needs to send information #J to the UPF, where the information #J includes the corresponding relationship between the first identifier of the target data stream that needs to send the retransmitted data packet preferentially and the QFI. Optionally, the information #J further includes a retransmission flag.
在另一种可能的实现方式中,SMF将需要优先发送重传数据包的目标数据流映射到QoS流的子流,向RAN发送第二指示信息,该第二指示信息中包括目标数据流的需要优先重传的数据包对应的QoS流子流标识,此时SMF还需向UPF发送信息#K,该信息#K包括需要优先发送重传数据包的目标数据流的第一标识和QoS流子流标识的对应关系。可选的,信息#K还包括重传标记。In another possible implementation manner, the SMF maps the target data flow that needs to send retransmission packets preferentially to the sub-flow of the QoS flow, and sends second indication information to the RAN, where the second indication information includes the target data flow The identifier of the QoS flow sub-flow corresponding to the data packet that needs to be retransmitted preferentially. At this time, the SMF also needs to send the information #K to the UPF, and the information #K includes the first identifier of the target data flow that needs to send the retransmitted data packet preferentially and the QoS flow. Correspondence of subflow identifiers. Optionally, the information #K further includes a retransmission flag.
在另一种可能的实现方式中,SMF在收到重发优先信息后,为目标数据流的重传数据包创建优先级更高的第一QoS流或第一QoS流子流,向RAN发送第二指示信息,该第二指示信息中包括该优先级更高的第一QoS流或第一QoS流子流的信息,该第二指示信息用于指示RAN将目标数据流中需要重传的重传数据包通过该优先级更高的第一QoS流或第一QoS流子流发送,可选的,可以指示RAN为该优先级更高的第一QoS流或第一 QoS流子流分配专用的无线承载。In another possible implementation manner, after receiving the retransmission priority information, the SMF creates a first QoS flow or a first QoS flow sub-flow with a higher priority for the retransmission data packet of the target data flow, and sends it to the RAN Second indication information, where the second indication information includes the information of the first QoS flow or the sub-flow of the first QoS flow with a higher priority, and the second indication information is used to instruct the RAN to retransmit the data in the target data flow that needs to be retransmitted. The retransmission data packet is sent through the first QoS flow or the first QoS flow sub-flow with the higher priority. Optionally, the RAN can be instructed to allocate the first QoS flow or the first QoS flow sub-flow with the higher priority Dedicated radio bearer.
S820,应用服务器确定某个数据包需要重传,在重传数据包中添加重传标记,向核心网网元发送该重传数据包。相应地,核心网网元接收该重传数据包。可选地该重传数据包中还可以包括该重传数据包所属的目标数据流的识别信息。S820, the application server determines that a certain data packet needs to be retransmitted, adds a retransmission mark to the retransmitted data packet, and sends the retransmitted data packet to the core network element. Correspondingly, the core network element receives the retransmitted data packet. Optionally, the retransmission data packet may further include identification information of the target data stream to which the retransmission data packet belongs.
例如,在5G网络中,应用服务器可以向UPF发送该重传数据包。相应地,UPF接收该重传数据包。For example, in a 5G network, the application server can send this retransmission packet to the UPF. Accordingly, the UPF receives the retransmitted packet.
UPF根据第一标识和重传标记识别目标数据流的重传数据包。UPF根据信息#J确定重传数据包对应的QFI或根据信息#K确定重传数据包对应的QoS流子流标识,UPF根据QFI和/或子流标识将该重传数据包封装到GTP-U中,其中GTP-U包中包括QFI和/或子流标识。The UPF identifies the retransmitted data packet of the target data flow according to the first identifier and the retransmission flag. The UPF determines the QFI corresponding to the retransmitted data packet according to the information #J or the QoS flow sub-flow identifier corresponding to the retransmitted data packet according to the information #K, and the UPF encapsulates the retransmitted data packet into the GTP- U, wherein the GTP-U packet includes QFI and/or sub-flow identifier.
在另一种可能的实现方式中,该方法也可以不执行S820,在S810之后,该方法包括S825,核心网网元确定需要重传的重传数据包,核心网网元在重传数据包中添加重传标记。In another possible implementation manner, the method may not execute S820. After S810, the method includes S825, the core network element determines the retransmitted data packet that needs to be retransmitted, and the core network element is retransmitting the data packet. Add the retransmission flag to .
例如,在5G网络中,可以由UPF确定需要重传的重传数据包。在此种情况下,UE可以与UPF建立连接,例如UE可以通过SMF获取UPF的IP地址,向UPF发起连接请求。UE与UPF建立了连接之后,UPF可以确定数据包是否需要重传。即,此时UPF是UE和应用服务器间的应用层代理,如HTTP代理或者TCP代理。在UE与UPF间建立了端到端的连接,数据包的重传是由UPF确定的。For example, in a 5G network, the retransmission packets that need to be retransmitted can be determined by the UPF. In this case, the UE may establish a connection with the UPF, for example, the UE may obtain the IP address of the UPF through the SMF, and initiate a connection request to the UPF. After the UE establishes a connection with the UPF, the UPF can determine whether the data packet needs to be retransmitted. That is, at this time, the UPF is an application layer proxy between the UE and the application server, such as an HTTP proxy or a TCP proxy. An end-to-end connection is established between the UE and the UPF, and the retransmission of the data packet is determined by the UPF.
在S820中由应用服务器确定数据包是否需要重传,此种情况下当应用服务器被恶意攻击出现故障后,应用服务器可能会对发送的数据包随意添加重传标记,例如在发送的每个数据包中均添加重传标记。相比之下,在S825中,由核心网网元确定数据包是否需要重传,从而避免上述情况的发生。In S820, the application server determines whether the data packet needs to be retransmitted. In this case, when the application server is maliciously attacked and fails, the application server may add a retransmission mark to the sent data packet at will, for example, in each data packet sent A retransmission marker is added to the packet. In contrast, in S825, the core network element determines whether the data packet needs to be retransmitted, so as to avoid the occurrence of the above situation.
S830,核心网网元向RAN发送该重传数据包。相应地,RAN接收该重传数据包。S830, the core network element sends the retransmission data packet to the RAN. Accordingly, the RAN receives the retransmitted data packet.
该重传数据包中包括重传标记和该重传数据包所属的目标数据流的识别信息。The retransmission data packet includes a retransmission flag and identification information of the target data stream to which the retransmission data packet belongs.
例如,在5G网络中,UPF向RAN发送的重传数据包中包括的该重传数据包所属的目标数据流的识别信息可以为该重传数据包所属的目标数据流对应的QFI或者QoS流子流标识。For example, in a 5G network, the identification information of the target data flow to which the retransmitted data packet belongs included in the retransmission data packet sent by the UPF to the RAN may be the QFI or QoS flow corresponding to the target data flow to which the retransmitted data packet belongs Subflow ID.
S840,RAN优先发送重传数据包。S840, the RAN preferentially sends the retransmitted data packets.
RAN可采用S730中类似的方式优先发送重传数据包,即:RAN可以确定重传数据包所属的目标数据流,提高该目标数据流的优先级,优先发送该目标数据流上需要传输的数据包;或者,RAN将该重传数据包置于该目标数据流对应的队列的顶部;或者,若RAN将目标数据流中需要重传的重传数据包置于该优先级更高的第一QoS流或第一QoS流子流对应的重传队列,为优先级更高的第一QoS流或第一QoS流子流分配专用无线承载,RAN通过专用无线承载发送需要重传的数据包。The RAN can preferentially send the retransmitted data packet in a similar manner as in S730, that is, the RAN can determine the target data stream to which the retransmitted data packet belongs, increase the priority of the target data stream, and preferentially send the data that needs to be transmitted on the target data stream or, the RAN places the retransmitted data packet at the top of the queue corresponding to the target data stream; or, if the RAN places the retransmitted data packet in the target data stream that needs to be retransmitted in the first place with the higher priority The retransmission queue corresponding to the QoS flow or the sub-flow of the first QoS flow allocates a dedicated radio bearer to the first QoS flow or sub-flow of the first QoS flow with a higher priority, and the RAN sends the data packets that need to be retransmitted through the dedicated radio bearer.
根据本申请实施例,在有重传数据包时,可以优先发送重传数据包。相比于目标数据流中的数据包按照先进先出的原则进行传输,重传数据包需要在重传数据包所属的目标数据流中等待较长的时间才能被发送。采用本申请的技术方案,可以解决重传数据包得不到及时发送,导致应用服务器的应用层出现连接中断、卡顿等问题,从而提升了用户体验。According to the embodiment of the present application, when there is a retransmitted data packet, the retransmitted data packet may be sent preferentially. Compared with the data packets in the target data stream that are transmitted according to the first-in, first-out principle, the retransmitted data packets need to wait for a long time in the target data stream to which the retransmitted data packets belong before being sent. By adopting the technical solution of the present application, it is possible to solve the problems that the retransmitted data packets cannot be sent in time, which leads to the connection interruption and freeze at the application layer of the application server, thereby improving the user experience.
下面介绍由RAN对多个目标数据流上数据的传输进行关联调度的一种具体过程,如图10所示。以目标数据流是视频流为例,每个视频流中包括多个图像组(group of picture, GOP),一个GOP以帧内编码图像帧(intra-coded picture),简称I帧,作为起始帧,一个GOP中一般还包括预测编码图像帧(predictive-coded picture),简称P帧。其中,传输一个GOP中的I帧所需要的传输资源通常大于传输一个GOP中的P帧所需要的传输资源。The following introduces a specific process of the associated scheduling of data transmission on multiple target data streams by the RAN, as shown in FIG. 10 . Taking the target data stream as a video stream as an example, each video stream includes multiple groups of pictures (GOPs), and a GOP starts with an intra-coded picture (I-frame for short) Frame, a GOP generally also includes a predictive-coded picture frame (predictive-coded picture), abbreviated as P frame. Wherein, the transmission resources required for transmitting an I frame in one GOP are generally greater than the transmission resources required for transmitting a P frame in one GOP.
S910,应用服务器向RAN发送信息#G,该信息#G用于指示多个视频流中每个视频流的平均帧率、平均GOP大小。S910, the application server sends information #G to the RAN, where the information #G is used to indicate the average frame rate and average GOP size of each video stream in the multiple video streams.
例如,在5G网络中,应用服务器可以通过PCF和SMF向RAN发送信息#G。For example, in a 5G network, the application server can send the message #G to the RAN through PCF and SMF.
S920,RAN确定多个目标数据流中每个目标数据流的传输进度的信息,调整无线资源分配。S920, the RAN determines information on the transmission progress of each target data stream in the multiple target data streams, and adjusts the radio resource allocation.
在一种可能的实现方式中,如果RAN确定第一目标数据流当前传输的帧为I帧,结合该第一目标数据流对应的平均GOP大小和平均帧率,可以预估下一个I帧到达的时间,从而调整无线资源的分配,为下一个I帧的传输调度无线资源,使下一个I帧到达时有足够的资源进行传输。In a possible implementation manner, if the RAN determines that the frame currently transmitted by the first target data stream is an I frame, it can be estimated that the arrival of the next I frame is combined with the average GOP size and the average frame rate corresponding to the first target data stream. time, thereby adjusting the allocation of radio resources, scheduling radio resources for the transmission of the next I frame, so that there are enough resources for transmission when the next I frame arrives.
例如,RAN确定第一目标数据流当前传输的帧为I帧,平均GOP大小为3帧,平均帧率为10帧/s,则RAN可以预估下一个I帧到达的时间,从而调整无线资源的分配。For example, if the RAN determines that the frame currently transmitted by the first target data stream is an I frame, the average GOP size is 3 frames, and the average frame rate is 10 frames/s, the RAN can estimate the arrival time of the next I frame, thereby adjusting the radio resources allocation.
S930,RAN根据多个目标数据流中每个目标数据流的传输进度的信息,控制多个目标数据流的传输。S930, the RAN controls the transmission of the multiple target data streams according to the information on the transmission progress of each target data stream in the multiple target data streams.
例如,当多个目标数据流有多个I帧均到达RAN时,由于空口资源有限,且传输I帧需要的资源较大,RAN可能无法同时传输多个目标数据流的多个I帧。此时,RAN可以在多个目标数据流之间传输进度小于或等于第一阈值的情况下,分批次传输多个目标数据流上的I帧。例如,可以先传输多个目标数据流中第一目标数据流和第二目标数据流的I帧,再传输多个目标数据流中第三目标数据流和第四目标数据流的I帧,该传输顺序可以为按多个目标数据流的优先级进行排序后得到的顺序。For example, when multiple I-frames of multiple target data streams arrive at the RAN, due to limited air interface resources and large resources required to transmit I-frames, the RAN may not be able to transmit multiple I-frames of multiple target data streams at the same time. At this time, the RAN may transmit the I-frames on the multiple target data streams in batches when the transmission progress between the multiple target data streams is less than or equal to the first threshold. For example, the I frame of the first target data stream and the second target data stream among the multiple target data streams may be transmitted first, and then the I frames of the third target data stream and the fourth target data stream among the multiple target data streams may be transmitted. The transmission order may be an order obtained by sorting the priorities of multiple target data streams.
根据本申请的实施例,RAN可以根据目标数据流的传输状态,动态调整无线资源的分配,在数据到达之前实现无线资源的预分配,并且在多个目标数据流之间的传输进度的允许差距范围内调整无线资源的分配,实现错峰调度。According to the embodiment of the present application, the RAN can dynamically adjust the allocation of radio resources according to the transmission status of the target data flow, realize the pre-allocation of the radio resources before the data arrives, and allow the transmission progress between multiple target data flows. The allocation of wireless resources can be adjusted within the range to realize peak shift scheduling.
根据前述方法,图11为本申请实施例提供的一种通信设备的示意性框图。该通信设备包括收发单元1110和处理单元1120。该通信设备可以是本申请实施例所涉及的终端设备、RAN或UPF。According to the foregoing method, FIG. 11 is a schematic block diagram of a communication device provided by an embodiment of the present application. The communication device includes a transceiver unit 1110 and a processing unit 1120 . The communication device may be a terminal device, a RAN, or a UPF involved in the embodiments of the present application.
当图11中的通信设备为终端设备时,收发单元1110和处理单元1120能够支持通信设备执行上述各方法示例中由终端设备完成的动作。例如,收发单元1110能够支持通信装置执行图2中的S110,S150,和/或用于本文所描述的技术的其它过程;处理单元1120能够支持通信装置执行图2中的S130,S140,和/或用于本文所描述的技术的其它过程。When the communication device in FIG. 11 is a terminal device, the transceiver unit 1110 and the processing unit 1120 can support the communication device to perform the actions performed by the terminal device in the above method examples. For example, the transceiver unit 1110 can support the communication device to perform S110, S150 in FIG. 2, and/or other processes for the techniques described herein; the processing unit 1120 can support the communication device to perform S130, S140, and/or other processes in FIG. 2 or other procedures for the techniques described herein.
当图11中的通信设备为RAN时,收发单元1110和处理单元1120能够支持通信设备执行上述各方法示例中由RAN完成的动作。例如,收发单元1110能够支持通信装置执行图3中的S210,S230,S260,图4中的S310,S330,S360,和/或用于本文所描述的技术的其它过程;处理单元1120能够支持通信装置执行图3中的S240,S250,图4中的S340,S350,和/或用于本文所描述的技术的其它过程。When the communication device in FIG. 11 is the RAN, the transceiver unit 1110 and the processing unit 1120 can support the communication device to perform the actions completed by the RAN in the above method examples. For example, transceiving unit 1110 can support communication devices to perform S210, S230, S260 in FIG. 3, S310, S330, S360 in FIG. 4, and/or other processes for the techniques described herein; processing unit 1120 can support communication The apparatus performs S240, S250 in FIG. 3, S340, S350 in FIG. 4, and/or other processes for the techniques described herein.
当图11中的通信设备为UPF时,收发单元1110和处理单元1120能够支持通信设备 执行上述各方法示例中由UPF完成的动作。例如,收发单元1110能够支持通信装置执行图5中的S410,S440,S470,和/或用于本文所描述的技术的其它过程;处理单元1120能够支持通信装置执行图5中的S450,S460,和/或用于本文所描述的技术的其它过程。When the communication device in Fig. 11 is a UPF, the transceiver unit 1110 and the processing unit 1120 can support the communication device to perform the actions completed by the UPF in the above method examples. For example, the transceiver unit 1110 can support the communication device to perform S410, S440, S470 in FIG. 5, and/or other processes for the techniques described herein; the processing unit 1120 can support the communication device to perform S450, S460 in FIG. 5, and/or other processes for the techniques described herein.
当图11中的通信设备为SMF时,收发单元1110和处理单元1120能够支持通信设备执行上述各方法示例中由SMF完成的动作。例如,该处理单元1120可以生成第一指示信息,该第一指示信息用于指示多个目标数据流同步传输;该收发单元1110可以向第一设备发送该第一指示信息。When the communication device in FIG. 11 is an SMF, the transceiver unit 1110 and the processing unit 1120 can support the communication device to perform the actions completed by the SMF in the above method examples. For example, the processing unit 1120 may generate first indication information, where the first indication information is used to indicate synchronous transmission of multiple target data streams; the transceiver unit 1110 may send the first indication information to the first device.
根据前述方法,图12为本申请实施例提供的一种通信设备的示意性框图。该通信设备包括存储器1210和处理器1220,存储器1210用于存储计算机程序,处理器1220用于从存储器调用并运行该计算机程序。该通信设备可以用来实现上述方法中终端设备、RAN、UPF或者SMF的功能。According to the foregoing method, FIG. 12 is a schematic block diagram of a communication device provided by an embodiment of the present application. The communication device includes a memory 1210 for storing a computer program and a processor 1220 for invoking and executing the computer program from the memory. The communication device can be used to implement the functions of the terminal device, RAN, UPF or SMF in the above method.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments 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), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵 盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims (52)
- 一种传输数据的方法,其特征在于,包括:A method for transmitting data, comprising:第一设备获取第一指示信息,所述第一指示信息用于指示多个目标数据流同步传输;The first device acquires first indication information, where the first indication information is used to indicate synchronous transmission of multiple target data streams;所述第一设备根据所述第一指示信息,对所述多个目标数据流中的至少一个目标数据流进行同步传输处理,以使所述多个目标数据流之间的传输进度的偏差小于或等于第一阈值。The first device performs synchronous transmission processing on at least one target data stream in the plurality of target data streams according to the first indication information, so that the deviation of the transmission progress among the plurality of target data streams is less than or equal to the first threshold.
- 根据权利要求1所述的方法,其特征在于,所述多个目标数据流之间的传输进度的偏差包括以下一项或多项:The method according to claim 1, wherein the deviation of the transmission progress among the multiple target data streams comprises one or more of the following:所述多个目标数据流之间的传输的帧号的偏差、所述多个目标数据流之间时间戳的偏差、所述多个目标数据流传输预设数据量所消耗时间的偏差。The deviation of the transmission frame numbers among the multiple target data streams, the deviation of the timestamps among the multiple target data streams, and the deviation of the time consumed by the multiple target data streams to transmit the preset data amount.
- 根据权利要求1或2所述的方法,其特征在于,所述第一指示信息为一个,以及,所述第一指示信息包括所述多个目标数据流中每个目标数据流的识别信息;或者The method according to claim 1 or 2, wherein the first indication information is one, and the first indication information includes identification information of each target data stream in the plurality of target data streams; or所述第一指示信息为多个,多个第一指示信息与多个目标数据流一一对应,每个第一指示信息包括所对应的目标数据流的识别信息;The first indication information is multiple, and the multiple first indication information is in one-to-one correspondence with the multiple target data streams, and each first indication information includes identification information of the corresponding target data stream;其中,目标数据流的识别信息包括以下至少一种参数:Wherein, the identification information of the target data stream includes at least one of the following parameters:目标数据流对应的五元组信息、目标数据流对应的服务质量QoS流标识的信息或目标数据流对应的QoS流子流标识的信息。The quintuple information corresponding to the target data flow, the information of the quality of service QoS flow identification information corresponding to the target data flow, or the information of the QoS flow sub-flow identification information corresponding to the target data flow.
- 根据权利要求1-3中任一项所述的方法,其特征在于,所述多个目标数据流属于多个同步组中的第一同步组,其中,每个同步组中包括至少两个目标数据流,其中,同一同步组中的目标数据流需要同步传输,以及The method according to any one of claims 1-3, wherein the plurality of target data streams belong to a first synchronization group among a plurality of synchronization groups, wherein each synchronization group includes at least two targets data streams, where target data streams in the same isochronous group need to be transmitted synchronously, and所述第一指示信息还包括所述第一同步组的标识。The first indication information further includes the identifier of the first synchronization group.
- 根据权利要求1-4中任一项所述的方法,其特征在于,所述第一指示信息还包括所述第一阈值的指示信息。The method according to any one of claims 1-4, wherein the first indication information further includes indication information of the first threshold.
- 根据权利要求1-5中任一项所述的方法,其特征在于,The method according to any one of claims 1-5, wherein,所述对所述多个目标数据流进行同步传输处理包括:The synchronous transmission processing on the multiple target data streams includes:当所述多个目标数据流中的第一目标数据流与所述多个目标数据流中的第二目标数据流之间的传输进度的偏差大于所述第一阈值,且所述第一目标数据流的传输进度比所述第二目标数据流传输进度快时,所述第一设备停止发送所述第一目标数据流中的数据包,其中所述第二目标数据流为所述多个目标数据流中除所述第一目标数据流之外的目标数据流。When the deviation of the transmission progress between the first target data stream of the plurality of target data streams and the second target data stream of the plurality of target data streams is greater than the first threshold, and the first target data stream When the transmission progress of the data stream is faster than the transmission progress of the second target data stream, the first device stops sending the data packets in the first target data stream, where the second target data stream is the multiple Target data streams other than the first target data stream in the target data stream.
- 根据权利要求6所述的方法,其特征在于,The method of claim 6, wherein:所述方法还包括:The method also includes:自停止发送所述第一目标数据流中的数据包起经过预设的第一时长后,如果所述第一目标数据流与所述第二目标数据流之间的传输进度的偏差仍大于所述第一阈值,所述第一设备发送所述第一目标数据流中的数据包;或者After a preset first period of time has elapsed since the sending of the data packets in the first target data stream is stopped, if the deviation of the transmission progress between the first target data stream and the second target data stream is still greater than the first threshold, the first device sends the data packets in the first target data stream; or自停止发送所述第一目标数据流中的数据包起未到达预设的所述第一时长,所述第一目标数据流与所述第二目标数据流之间的传输进度的偏差小于或等于所述第一阈值,所述 第一设备发送所述第一目标数据流中的数据包。The preset first time period has not been reached since the sending of the data packets in the first target data stream is stopped, and the deviation of the transmission progress between the first target data stream and the second target data stream is less than or equal to the first threshold, the first device sends the data packets in the first target data stream.
- 根据权利要求1-7中任一项所述的方法,其特征在于,The method according to any one of claims 1-7, wherein,所述对所述多个目标数据流进行同步传输处理包括:The synchronous transmission processing on the multiple target data streams includes:当所述多个目标数据流中的第一目标数据流与所述多个目标数据流中的第二目标数据流之间的传输进度的偏差大于所述第一阈值,且所述第一目标数据流的传输进度比所述第二目标数据流传输进度快时,所述第一设备丢弃所述第二目标数据流的下一待发送数据包。When the deviation of the transmission progress between the first target data stream of the plurality of target data streams and the second target data stream of the plurality of target data streams is greater than the first threshold, and the first target data stream When the transmission progress of the data stream is faster than the transmission progress of the second target data stream, the first device discards the next data packet to be sent of the second target data stream.
- 根据权利要求1-8中任一项所述的方法,其特征在于,所述第一设备包括终端设备,The method according to any one of claims 1-8, wherein the first device comprises a terminal device,所述第一设备获取第一指示信息包括:The acquiring, by the first device, the first indication information includes:所述第一设备从会话管理网元接收所述第一指示信息;或者The first device receives the first indication information from a session management network element; or所述第一设备通过第一接口接收所述第一指示信息,所述第一接口为所述第一设备与应用客户端之间的接口,所述应用客户端通过所述第一设备传输所述多个目标数据流。The first device receives the first indication information through a first interface, where the first interface is an interface between the first device and an application client, and the application client transmits all information through the first device. Describe multiple target data streams.
- 根据权利要求1-8中任一项所述的方法,其特征在于,所述第一设备包括接入网设备或用户面网元,以及The method according to any one of claims 1-8, wherein the first device comprises an access network device or a user plane network element, and所述第一设备接收第一指示信息包括:The receiving, by the first device, the first indication information includes:所述第一设备从会话管理网元接收所述第一指示信息。The first device receives the first indication information from a session management network element.
- 根据权利要求1-5中任一项所述的方法,其特征在于,所述第一设备为接入网设备,以及The method according to any one of claims 1-5, wherein the first device is an access network device, and所述方法还包括:The method also includes:所述第一设备接收第一请求信息,所述第一请求信息请求为所述多个目标数据流中的第一目标数据流分配第一无线资源;receiving, by the first device, first request information, the first request information requesting to allocate a first radio resource for a first target data stream in the plurality of target data streams;所述对所述多个目标数据流进行同步传输处理包括:The synchronous transmission processing on the multiple target data streams includes:当所述第一目标数据流与第二目标数据流之间的传输进度的偏差大于所述第一阈值,且所述第一目标数据流的传输进度比所述第二目标数据流的传输快时,所述第一设备停止为所述第一目标数据流分配所述第一无线资源,其中,所述第二目标数据流为所述多个目标数据流中除所述第一目标数据流之外的目标数据流。When the deviation of the transmission progress between the first target data stream and the second target data stream is greater than the first threshold, and the transmission progress of the first target data stream is faster than the transmission of the second target data stream when the first device stops allocating the first radio resource for the first target data stream, wherein the second target data stream is the target data stream except the first target data stream among the multiple target data streams target data stream outside of the
- 根据权利要求11所述的方法,其特征在于,The method of claim 11, wherein:所述第一请求信息包括第一数据包对应的帧号的信息或所述第一数据包对应的时间戳的信息,所述第一数据包为所述第一目标数据流下一待发送数据包。The first request information includes the information of the frame number corresponding to the first data packet or the information of the timestamp corresponding to the first data packet, and the first data packet is the next to-be-sent data packet of the first target data stream .
- 根据权利要求11或12所述的方法,其特征在于,The method according to claim 11 or 12, wherein,在接收所述第一请求信息之前或同时,所述第一设备还接收第二请求信息,所述第二请求信息请求为所述第二目标数据流分配第二无线资源,所述第二请求信息包括第二数据包对应的帧号的信息或所述第二数据包对应的时间戳的信息,所述第二数据包为所述第二目标数据流下一待发送数据包。Before or at the same time as receiving the first request information, the first device further receives second request information, the second request information requests to allocate a second radio resource for the second target data stream, the second request information The information includes the information of the frame number corresponding to the second data packet or the information of the timestamp corresponding to the second data packet, and the second data packet is the next data packet to be sent in the second target data stream.
- 根据权利要求13所述的方法,其特征在于,The method of claim 13, wherein:所述第一请求信息中还包括所述第一目标数据流的第一缓存信息,所述第一缓存信息为所述第一数据包对应的帧的待发送的数据总量,所述第二请求信息中还包括所述第二目标数据流的第二缓存信息,所述第二缓存信息为所述第二数据包对应的帧的待发送的数据 总量。The first request information also includes first buffer information of the first target data stream, where the first buffer information is the total amount of data to be sent of the frame corresponding to the first data packet, and the second buffer information The request information further includes second buffer information of the second target data stream, where the second buffer information is the total amount of data to be sent of the frame corresponding to the second data packet.
- 根据权利要求6-14中任一项所述的方法,其特征在于,所述第一目标数据流与第二目标数据流之间的传输进度的偏差包括:The method according to any one of claims 6-14, wherein the deviation of the transmission progress between the first target data stream and the second target data stream comprises:第一数据包对应的帧号与第二数据包对应的帧号的偏差;或者The deviation between the frame number corresponding to the first data packet and the frame number corresponding to the second data packet; or所述第一数据包对应的时间戳与第二数据包对应的时间戳的偏差;或者the deviation between the timestamp corresponding to the first data packet and the timestamp corresponding to the second data packet; or所述第一目标数据流传输第一预设数据量所消耗的时间与所述第二目标数据流传输第二预设数据量所消耗的时间的偏差,其中,所述第一指示信息还包括所述第一目标数据流的预设发送速率和所述第二目标数据流的预设发送速率,所述第一预设数据量与所述第二预设数据量的比值为第一比值,所述第一目标数据流的预设发送速率与所述第二目标数据流的预设发送速率的比值为第二比值,所述第一比值与所述第二比值相关联;The deviation between the time consumed by the first target data stream to transmit the first preset data amount and the time consumed by the second target data stream to transmit the second preset data amount, wherein the first indication information further includes The preset sending rate of the first target data stream and the preset sending rate of the second target data stream, the ratio of the first preset data amount to the second preset data amount is a first ratio, The ratio of the preset sending rate of the first target data stream to the preset sending rate of the second target data stream is a second ratio, and the first ratio is associated with the second ratio;其中,所述第一数据包为所述第一目标数据流下一待发送数据包,所述第二数据包为所述第二目标数据流下一待发送数据包。The first data packet is the next data packet to be sent in the first target data stream, and the second data packet is the next data packet to be sent in the second target data stream.
- 根据权利要求13-15中任一项所述的方法,其特征在于,所述第一数据包括所述第一数据包对应的帧号的信息,所述第二数据包括所述第二数据包对应的帧号的信息;或者The method according to any one of claims 13-15, wherein the first data includes information of a frame number corresponding to the first data packet, and the second data includes the second data packet information about the corresponding frame number; or所述第一数据包对应的帧号由所述第一目标数据流中的帧头标识和帧尾标识确定,所述第二数据包对应的帧号由所述第二目标数据流中的帧头标识和帧尾标识确定。The frame number corresponding to the first data packet is determined by the frame header identifier and the frame end identifier in the first target data stream, and the frame number corresponding to the second data packet is determined by the frame in the second target data stream. The header flag and the frame end flag are determined.
- 根据权利要求1-16中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-16, wherein the method further comprises:所述第一设备接收第二指示信息,所述第二指示信息用于指示优先发送目标数据流中需要重传的数据包;receiving, by the first device, second indication information, where the second indication information is used to instruct to preferentially send data packets that need to be retransmitted in the target data stream;所述第一设备根据所述第二指示信息,发送所述需要重传的数据包,其中,所述需要重传的数据包的发送时间早于所述目标数据流中其他待发送的数据包的发送时间。The first device sends the data packet that needs to be retransmitted according to the second indication information, wherein the sending time of the data packet that needs to be retransmitted is earlier than that of other data packets to be sent in the target data stream sending time.
- 根据权利要求17所述的方法,其特征在于,所述发送所述需要重传的数据包包括:The method according to claim 17, wherein the sending the data packet that needs to be retransmitted comprises:将所述需要重传的数据包置于所述目标数据流对应的队列的顶部,发送所述需要重传的数据包;或者Place the data packet that needs to be retransmitted at the top of the queue corresponding to the target data flow, and send the data packet that needs to be retransmitted; or将所述需要重传的数据包置于重传队列中,发送所述需要重传的数据包,所述重传队列属于第一QoS流或第一QoS子流,其中,所述第一QoS流的优先级高于所述目标数据流对应的QoS流的优先级,所述第一QoS子流的优先级高于所述目标数据流对应的QoS子流的优先级。Put the data packets that need to be retransmitted in a retransmission queue, and send the data packets that need to be retransmitted, and the retransmission queue belongs to the first QoS flow or the first QoS sub-flow, wherein the first QoS flow The priority of the flow is higher than the priority of the QoS flow corresponding to the target data flow, and the priority of the first QoS sub-flow is higher than the priority of the QoS sub-flow corresponding to the target data flow.
- 一种通信方法,其特征在于,包括:A communication method, comprising:生成第一指示信息,所述第一指示信息用于指示多个目标数据流同步传输;generating first indication information, where the first indication information is used to indicate synchronous transmission of multiple target data streams;向第一设备发送所述第一指示信息,所述第一设备用于对所述多个目标数据流中的至少一个目标数据流进行同步传输处理,以使所述多个目标数据流之间的传输进度的偏差小于或等于第一阈值。Send the first indication information to a first device, where the first device is configured to perform synchronous transmission processing on at least one target data stream in the multiple target data streams, so that the The deviation of the transmission progress is less than or equal to the first threshold.
- 根据权利要求19所述的方法,其特征在于,所述多个目标数据流之间的传输进度的偏差包括以下一项或多项:The method according to claim 19, wherein the deviation of the transmission progress among the multiple target data streams comprises one or more of the following:所述多个目标数据流之间的传输的帧号的偏差、所述多个目标数据流之间时间戳的偏差、所述多个目标数据流传输预设数据量所消耗时间的偏差。The deviation of the transmission frame numbers among the multiple target data streams, the deviation of the timestamps among the multiple target data streams, and the deviation of the time consumed by the multiple target data streams to transmit the preset data amount.
- 根据权利要求19或20所述的方法,其特征在于,所述第一指示信息为一个,以及,所述第一指示信息包括所述多个目标数据流中每个目标数据流的识别信息;或者The method according to claim 19 or 20, wherein the first indication information is one, and the first indication information includes identification information of each target data stream in the plurality of target data streams; or所述第一指示信息为多个,多个第一指示信息与多个目标数据流一一对应,每个第一指示信息包括所对应的目标数据流的识别信息;The first indication information is multiple, and the multiple first indication information is in one-to-one correspondence with the multiple target data streams, and each first indication information includes identification information of the corresponding target data stream;其中,目标数据流的识别信息包括以下至少一种参数:Wherein, the identification information of the target data stream includes at least one of the following parameters:目标数据流对应的五元组信息、目标数据流对应的服务质量QoS流标识的信息或目标数据流对应的QoS流子流标识的信息。The quintuple information corresponding to the target data flow, the information of the quality of service QoS flow identification information corresponding to the target data flow, or the information of the QoS flow sub-flow identification information corresponding to the target data flow.
- 根据权利要求19-21中任一项所述的方法,其特征在于,所述多个目标数据流属于多个同步组中的第一同步组,其中,每个同步组中包括至少两个目标数据流,其中,同一同步组中的目标数据流需要同步传输,以及The method according to any one of claims 19-21, wherein the plurality of target data streams belong to a first synchronization group among a plurality of synchronization groups, wherein each synchronization group includes at least two targets data streams, where target data streams in the same isochronous group need to be transmitted synchronously, and所述第一指示信息还包括所述第一同步组的标识。The first indication information further includes the identifier of the first synchronization group.
- 根据权利要求19-22中任一项所述的方法,其特征在于,所述第一指示信息还包括所述第一阈值的指示信息。The method according to any one of claims 19-22, wherein the first indication information further includes indication information of the first threshold.
- 根据权利要求19-23中任一项所述的方法,其特征在于,所述第一指示信息还包括所述多个目标数据流中每个目标数据流的预设发送速率。The method according to any one of claims 19-23, wherein the first indication information further includes a preset sending rate of each target data stream in the multiple target data streams.
- 一种传输数据的装置,其特征在于,包括:A device for transmitting data, comprising:收发单元,用于获取第一指示信息,所述第一指示信息用于指示多个目标数据流同步传输;a transceiver unit, configured to acquire first indication information, where the first indication information is used to indicate synchronous transmission of multiple target data streams;处理单元,用于至少根据所述第一指示信息,对所述多个目标数据流中的至少一个目标数据流进行同步传输处理,以使所述多个目标数据流之间的传输进度的偏差小于或等于第一阈值。a processing unit, configured to perform synchronous transmission processing on at least one target data stream in the plurality of target data streams according to at least the first indication information, so as to make the transmission progress deviation among the plurality of target data streams less than or equal to the first threshold.
- 根据权利要求25所述的装置,其特征在于,所述多个目标数据流之间的传输进度的偏差包括以下一项或多项:The apparatus according to claim 25, wherein the deviation of the transmission progress between the multiple target data streams comprises one or more of the following:所述多个目标数据流之间的传输的帧号的偏差、所述多个目标数据流之间时间戳的偏差、所述多个目标数据流传输预设数据量所消耗时间的偏差。The deviation of the transmission frame numbers among the multiple target data streams, the deviation of the timestamps among the multiple target data streams, and the deviation of the time consumed by the multiple target data streams to transmit the preset data amount.
- 根据权利要求25或26所述的装置,其特征在于,所述第一指示信息为一个,以及,所述第一指示信息包括所述多个目标数据流中每个目标数据流的识别信息;或者The apparatus according to claim 25 or 26, wherein the first indication information is one, and the first indication information includes identification information of each target data stream in the plurality of target data streams; or所述第一指示信息为多个,多个第一指示信息与多个目标数据流一一对应,每个第一指示信息包括所对应的目标数据流的识别信息;The first indication information is multiple, and the multiple first indication information is in one-to-one correspondence with the multiple target data streams, and each first indication information includes identification information of the corresponding target data stream;其中,目标数据流的识别信息包括以下至少一种参数:Wherein, the identification information of the target data stream includes at least one of the following parameters:目标数据流对应的五元组信息、目标数据流对应的服务质量QoS流标识的信息或目标数据流对应的QoS流子流标识的信息。The quintuple information corresponding to the target data flow, the information of the quality of service QoS flow identification information corresponding to the target data flow, or the information of the QoS flow sub-flow identification information corresponding to the target data flow.
- 根据权利要求25-27中任一项所述的装置,其特征在于,所述多个目标数据流属于多个同步组中的第一同步组,其中,每个同步组中包括至少两个目标数据流,其中,同一同步组中的目标数据流需要同步传输,以及The apparatus according to any one of claims 25-27, wherein the plurality of target data streams belong to a first synchronization group among a plurality of synchronization groups, wherein each synchronization group includes at least two targets data streams, where target data streams in the same isochronous group need to be transmitted synchronously, and所述第一指示信息还包括所述第一同步组的标识。The first indication information further includes the identifier of the first synchronization group.
- 根据权利要求25-28中任一项所述的装置,其特征在于,所述第一指示信息还包括所述第一阈值的指示信息。The apparatus according to any one of claims 25-28, wherein the first indication information further includes indication information of the first threshold.
- 根据权利要求25-29中任一项所述的装置,其特征在于,The device according to any one of claims 25-29, characterized in that,所述处理单元还用于,当所述多个目标数据流中的第一目标数据流与所述多个目标数据流中的第二目标数据流之间的传输进度的偏差大于所述第一阈值,且所述第一目标数据流的传输进度比所述第二目标数据流传输进度快时,确定停止发送所述第一目标数据流中的数据包,其中所述第二目标数据流为所述多个目标数据流中除所述第一目标数据流之外的目标数据流。The processing unit is further configured to: when the deviation of the transmission progress between the first target data stream in the plurality of target data streams and the second target data stream in the plurality of target data streams is greater than the first target data stream threshold, and when the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, it is determined to stop sending the data packets in the first target data stream, where the second target data stream is A target data stream other than the first target data stream among the plurality of target data streams.
- 根据权利要求30所述的装置,其特征在于,The apparatus of claim 30, wherein:所述处理单元还用于,自停止发送所述第一目标数据流中的数据包起经过预设的第一时长后,如果所述第一目标数据流与所述第二目标数据流之间的传输进度的偏差仍大于所述第一阈值,确定发送所述第一目标数据流中的数据包;或者The processing unit is further configured to, after a preset first period of time elapses since stopping sending the data packets in the first target data stream, if there is a gap between the first target data stream and the second target data stream The deviation of the transmission progress is still greater than the first threshold, and it is determined to send the data packets in the first target data stream; or所述处理单元还用于,自停止发送所述第一目标数据流中的数据包起未到达预设的所述第一时长,所述第一目标数据流与所述第二目标数据流之间的传输进度的偏差小于或等于所述第一阈值,确定发送所述第一目标数据流中的数据包。The processing unit is further configured to: the preset first time period has not been reached since the data packets in the first target data stream are stopped, and the difference between the first target data stream and the second target data stream is not reached. If the deviation of the transmission progress between them is less than or equal to the first threshold, it is determined to send the data packets in the first target data stream.
- 根据权利要求25-31中任一项所述的装置,其特征在于,The device according to any one of claims 25-31, characterized in that,所述处理单元还用于,当所述多个目标数据流中的第一目标数据流与所述多个目标数据流中的第二目标数据流之间的传输进度的偏差大于所述第一阈值,且所述第一目标数据流的传输进度比所述第二目标数据流传输进度快时,确定丢弃所述第二目标数据流的下一待发送数据包。The processing unit is further configured to: when the deviation of the transmission progress between the first target data stream in the plurality of target data streams and the second target data stream in the plurality of target data streams is greater than the first target data stream The threshold value is set, and when the transmission progress of the first target data stream is faster than the transmission progress of the second target data stream, it is determined to discard the next data packet to be sent of the second target data stream.
- 根据权利要求25-32中任一项所述的装置,其特征在于,所述装置包括终端设备,以及The apparatus according to any one of claims 25-32, wherein the apparatus comprises a terminal device, and所述收发单元从会话管理网元接收所述第一指示信息;或者The transceiver unit receives the first indication information from the session management network element; or所述终端设备通过第一接口接收所述第一指示信息,所述第一接口为所述终端设备与应用客户端之间的接口,所述应用客户端通过所述终端设备传输所述多个目标数据流。The terminal device receives the first indication information through a first interface, where the first interface is an interface between the terminal device and an application client, and the application client transmits the multiple target data stream.
- 根据权利要求25-32中任一项所述的装置,其特征在于,所述装置包括接入网设备或用户面网元,以及The apparatus according to any one of claims 25-32, wherein the apparatus comprises an access network device or a user plane network element, and所述收发单元从会话管理网元接收所述第一指示信息。The transceiver unit receives the first indication information from the session management network element.
- 根据权利要求25-29中任一项所述的装置,其特征在于,所述装置为接入网设备,以及The apparatus according to any one of claims 25-29, wherein the apparatus is an access network device, and所述收发单元用于接收第一请求信息,所述第一请求信息请求为所述多个目标数据流中的第一目标数据流分配第一无线资源;The transceiver unit is configured to receive first request information, the first request information requesting to allocate a first wireless resource for the first target data stream in the plurality of target data streams;所述处理单元用于当所述第一目标数据流与所述第二目标数据流之间的传输进度的偏差大于所述第一阈值,且所述第一目标数据流的传输进度比所述第二目标数据流的传输快时,停止为所述第一目标数据流分配所述第一无线资源,其中,所述第二目标数据流为所述多个目标数据流中除所述第一目标数据流之外的目标数据流。The processing unit is configured to: when the deviation of the transmission progress between the first target data stream and the second target data stream is greater than the first threshold, and the transmission progress of the first target data stream is higher than the When the transmission of the second target data stream is fast, stop allocating the first radio resource for the first target data stream, wherein the second target data stream is the first target data stream except the first target data stream. A target data stream other than the target data stream.
- 根据权利要求35所述的装置,其特征在于,The apparatus of claim 35, wherein:所述第一请求信息包括第一数据包对应的帧号的信息或所述第一数据包对应的时间戳的信息,所述第一数据包为所述第一目标数据流下一待发送数据包。The first request information includes the information of the frame number corresponding to the first data packet or the information of the timestamp corresponding to the first data packet, and the first data packet is the next to-be-sent data packet of the first target data stream .
- 根据权利要求35或36所述的装置,其特征在于,The device according to claim 35 or 36, characterized in that,在接收所述第一请求信息之前或同时,所述收发单元还用于接收第二请求信息,所述第二请求信息请求为所述第二目标数据流分配第二无线资源,所述第二请求信息包括第二 数据包对应的帧号的信息或所述第二数据包对应的时间戳的信息,所述第二数据包为所述第二目标数据流下一待发送数据包。Before or at the same time as receiving the first request information, the transceiver unit is further configured to receive second request information, the second request information requests to allocate a second radio resource for the second target data stream, the second request information The request information includes the information of the frame number corresponding to the second data packet or the information of the timestamp corresponding to the second data packet, and the second data packet is the next data packet to be sent in the second target data stream.
- 根据权利要求37所述的装置,其特征在于,The apparatus of claim 37, wherein:所述第一请求信息中还包括所述第一目标数据流的第一缓存信息,所述第一缓存信息为所述第一数据包对应的帧的待发送的数据总量,所述第二请求信息中还包括所述第二目标数据流的第二缓存信息,所述第二缓存信息为所述第二数据包对应的帧的待发送的数据总量。The first request information also includes first buffer information of the first target data stream, where the first buffer information is the total amount of data to be sent of the frame corresponding to the first data packet, and the second buffer information The request information further includes second buffer information of the second target data stream, where the second buffer information is the total amount of data to be sent of the frame corresponding to the second data packet.
- 根据权利要求30-38中任一项所述的方法,其特征在于,所述第一目标数据流与第二目标数据流之间的传输进度的偏差包括:The method according to any one of claims 30-38, wherein the deviation of the transmission progress between the first target data stream and the second target data stream comprises:第一数据包对应的帧号与第二数据包对应的帧号的偏差;或者The deviation between the frame number corresponding to the first data packet and the frame number corresponding to the second data packet; or所述第一数据包对应的时间戳与第二数据包对应的时间戳的偏差;或者the deviation between the timestamp corresponding to the first data packet and the timestamp corresponding to the second data packet; or所述第一目标数据流传输第一预设数据量所消耗的时间与所述第二目标数据流传输第二预设数据量所消耗的时间的偏差,其中,所述第一指示信息还包括所述第一目标数据流的预设发送速率和所述第二目标数据流的预设发送速率,所述第一预设数据量与所述第二预设数据量的比值为第一比值,所述第一目标数据流的预设发送速率与所述第二目标数据流的预设发送速率的比值为第二比值,所述第一比值与所述第二比值相关联;The deviation between the time consumed by the first target data stream to transmit the first preset data amount and the time consumed by the second target data stream to transmit the second preset data amount, wherein the first indication information further includes The preset sending rate of the first target data stream and the preset sending rate of the second target data stream, the ratio of the first preset data amount to the second preset data amount is a first ratio, The ratio of the preset sending rate of the first target data stream to the preset sending rate of the second target data stream is a second ratio, and the first ratio is associated with the second ratio;其中,所述第一数据包为所述第一目标数据流下一待发送数据包,所述第二数据包为所述第二目标数据流下一待发送数据包。The first data packet is the next data packet to be sent in the first target data stream, and the second data packet is the next data packet to be sent in the second target data stream.
- 根据权利要求37-39中任一项所述的方法,其特征在于,所述第一数据包括所述第一数据包对应的帧号的信息,所述第二数据包括所述第二数据包对应的帧号的信息;或者,The method according to any one of claims 37-39, wherein the first data includes information of a frame number corresponding to the first data packet, and the second data includes the second data packet information about the corresponding frame number; or,所述第一数据包对应的帧号由所述第一目标数据流中的帧头标识和帧尾标识确定,所述第二数据包对应的帧号由所述第二目标数据流中的帧头标识和帧尾标识确定。The frame number corresponding to the first data packet is determined by the frame header identifier and the frame end identifier in the first target data stream, and the frame number corresponding to the second data packet is determined by the frame in the second target data stream. The header flag and the frame end flag are determined.
- 根据权利要求25-40中任一项所述的装置,其特征在于,The device according to any one of claims 25-40, characterized in that,所述收发单元还用于接收第二指示信息,所述第二指示信息用于指示优先发送目标数据流中需要重传的数据包;The transceiver unit is further configured to receive second indication information, where the second indication information is used to instruct to preferentially send data packets that need to be retransmitted in the target data stream;所述收发单元还用于根据所述第二指示信息,发送所述需要重传的数据包,其中,所述需要重传的数据包的发送时间早于所述目标数据流中其他待发送的数据包的发送时间。The transceiver unit is further configured to send the data packet that needs to be retransmitted according to the second indication information, wherein the sending time of the data packet that needs to be retransmitted is earlier than other to-be-sent data packets in the target data stream. The time when the packet was sent.
- 根据权利要求41所述的装置,其特征在于,The apparatus of claim 41, wherein所述处理单元还用于将所述需要重传的数据包置于所述目标数据流对应的队列的顶部;或者The processing unit is further configured to place the data packet that needs to be retransmitted at the top of the queue corresponding to the target data flow; or所述处理单元还用于将所述需要重传的数据包置于重传队列中,所述重传队列属于第一QoS流或第一QoS子流,其中,所述第一QoS流的优先级高于所述目标数据流对应的QoS流的优先级,所述第一QoS子流的优先级高于所述目标数据流对应的QoS子流的优先级。The processing unit is further configured to place the data packet that needs to be retransmitted in a retransmission queue, where the retransmission queue belongs to the first QoS flow or the first QoS sub-flow, wherein the priority of the first QoS flow is The priority of the first QoS sub-flow is higher than the priority of the QoS sub-flow corresponding to the target data flow.
- 一种通信装置,其特征在于,包括:A communication device, comprising:处理单元,用于生成第一指示信息,所述第一指示信息用于指示多个目标数据流同步传输;a processing unit, configured to generate first indication information, where the first indication information is used to indicate synchronous transmission of multiple target data streams;收发单元,用于向第一设备发送所述第一指示信息,所述第一设备用于对所述多个目 标数据流中的至少一个目标数据流进行同步传输处理,以使所述多个目标数据流之间的传输进度的偏差小于或等于第一阈值。A transceiver unit, configured to send the first indication information to a first device, where the first device is configured to perform synchronous transmission processing on at least one target data stream in the multiple target data streams, so that the multiple target data streams can be transmitted synchronously. The deviation of the transmission progress between the target data streams is less than or equal to the first threshold.
- 根据权利要求43所述的装置,其特征在于,所述多个目标数据流之间的传输进度的偏差包括以下一项或多项:The apparatus according to claim 43, wherein the deviation of the transmission progress between the multiple target data streams comprises one or more of the following:所述多个目标数据流之间的传输的帧号的偏差、所述多个目标数据流之间时间戳的偏差、所述多个目标数据流传输预设数据量所消耗时间的偏差。The deviation of the transmission frame numbers among the multiple target data streams, the deviation of the timestamps among the multiple target data streams, and the deviation of the time consumed by the multiple target data streams to transmit the preset data amount.
- 根据权利要求43或44所述的装置,其特征在于,所述第一指示信息为一个,以及,所述第一指示信息包括所述多个目标数据流中每个目标数据流的识别信息;或者The apparatus according to claim 43 or 44, wherein the first indication information is one, and the first indication information includes identification information of each target data stream in the plurality of target data streams; or所述第一指示信息为多个,多个第一指示信息与多个目标数据流一一对应,每个第一指示信息包括所对应的目标数据流的识别信息;The first indication information is multiple, and the multiple first indication information is in one-to-one correspondence with the multiple target data streams, and each first indication information includes identification information of the corresponding target data stream;其中,目标数据流的识别信息包括以下至少一种参数:Wherein, the identification information of the target data stream includes at least one of the following parameters:目标数据流对应的五元组信息、目标数据流对应的服务质量QoS流标识的信息或目标数据流对应的QoS流子流标识的信息。The quintuple information corresponding to the target data flow, the information of the quality of service QoS flow identification information corresponding to the target data flow, or the information of the QoS flow sub-flow identification information corresponding to the target data flow.
- 根据权利要求43-45中任一项所述的装置,其特征在于,所述多个目标数据流属于多个同步组中的第一同步组,其中,每个同步组中包括至少两个目标数据流,其中,同一同步组中的目标数据流需要同步传输,以及The apparatus according to any one of claims 43-45, wherein the plurality of target data streams belong to a first synchronization group among a plurality of synchronization groups, wherein each synchronization group includes at least two targets data streams, where target data streams in the same isochronous group need to be transmitted synchronously, and所述第一指示信息还包括所述第一同步组的标识。The first indication information further includes the identifier of the first synchronization group.
- 根据权利要求43-46中任一项所述的装置,其特征在于,所述第一指示信息还包括所述第一阈值的指示信息。The apparatus according to any one of claims 43-46, wherein the first indication information further includes indication information of the first threshold.
- 根据权利要求43-47中任一项所述的装置,其特征在于,所述第一指示信息还包括所述多个目标数据流中每个目标数据流的预设发送速率。The apparatus according to any one of claims 43-47, wherein the first indication information further includes a preset sending rate of each target data stream in the multiple target data streams.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,当所述计算机程序运行时,A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program runs,使得装置执行如权利要求1-18中任意一项所述的方法;或者causing the apparatus to perform the method of any one of claims 1-18; or使得装置执行如权利要求19-24中任意一项所述的方法。The apparatus is caused to perform the method of any of claims 19-24.
- 一种计算机程序产品,其特征在于,所述计算机程序产品包括:计算机程序代码,当所述计算机程序代码被计算机运行时,A computer program product, characterized in that the computer program product comprises: computer program code, when the computer program code is executed by a computer,使得所述计算机执行如权利要求1-18中任意一项所述的方法;或者causing the computer to perform the method of any one of claims 1-18; or使得所述计算机执行如权利要求19-24中任意一项所述的方法。The computer is caused to perform the method of any of claims 19-24.
- 一种芯片,其特征在于,所述芯片上设置有处理电路,A chip, characterized in that the chip is provided with a processing circuit,所述处理电路用于执行如权利要求1-18中任一项所述的方法;或者the processing circuit for performing the method of any one of claims 1-18; or所述处理电路用于执行如权利要求19-24中任一项所述的方法。The processing circuit is adapted to perform the method of any of claims 19-24.
- 一种通信设备,其特征在于,包括:A communication device, comprising:存储器,用于存储计算机程序;memory for storing computer programs;处理器,用于从所述存储器调用并运行所述计算机程序,使得所述通信设备实现如权利要求1-18中任一项所述的方法;或者a processor for invoking and running the computer program from the memory, causing the communication device to implement the method of any one of claims 1-18; or使得所述通信设备实现如权利要求19-24中任一项所述的方法。The communication device is caused to implement the method of any of claims 19-24.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202180092100.XA CN116964982A (en) | 2021-02-05 | 2021-02-05 | Method and device for transmitting data |
PCT/CN2021/075638 WO2022165768A1 (en) | 2021-02-05 | 2021-02-05 | Method and apparatus for transmitting data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/075638 WO2022165768A1 (en) | 2021-02-05 | 2021-02-05 | Method and apparatus for transmitting data |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022165768A1 true WO2022165768A1 (en) | 2022-08-11 |
Family
ID=82741925
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/075638 WO2022165768A1 (en) | 2021-02-05 | 2021-02-05 | Method and apparatus for transmitting data |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116964982A (en) |
WO (1) | WO2022165768A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115397030A (en) * | 2022-08-16 | 2022-11-25 | 中国联合网络通信集团有限公司 | Method, device, equipment and storage medium for determining data transmission priority |
WO2024131515A1 (en) * | 2022-12-22 | 2024-06-27 | 华为技术有限公司 | Data transmission method and apparatus |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100128649A1 (en) * | 2007-04-05 | 2010-05-27 | Panasonic Corporation | Service content synchronization of multicast data for mobile nodes moving between networks with different radio access technologies |
CN107678715A (en) * | 2016-08-02 | 2018-02-09 | 北京康得新创科技股份有限公司 | The sharing method of virtual information, device and system |
CN111343477A (en) * | 2020-03-09 | 2020-06-26 | 北京达佳互联信息技术有限公司 | Data transmission method and device, electronic equipment and storage medium |
-
2021
- 2021-02-05 CN CN202180092100.XA patent/CN116964982A/en active Pending
- 2021-02-05 WO PCT/CN2021/075638 patent/WO2022165768A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100128649A1 (en) * | 2007-04-05 | 2010-05-27 | Panasonic Corporation | Service content synchronization of multicast data for mobile nodes moving between networks with different radio access technologies |
CN107678715A (en) * | 2016-08-02 | 2018-02-09 | 北京康得新创科技股份有限公司 | The sharing method of virtual information, device and system |
CN111343477A (en) * | 2020-03-09 | 2020-06-26 | 北京达佳互联信息技术有限公司 | Data transmission method and device, electronic equipment and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115397030A (en) * | 2022-08-16 | 2022-11-25 | 中国联合网络通信集团有限公司 | Method, device, equipment and storage medium for determining data transmission priority |
CN115397030B (en) * | 2022-08-16 | 2024-08-02 | 中国联合网络通信集团有限公司 | Method, device, equipment and storage medium for determining data transmission priority |
WO2024131515A1 (en) * | 2022-12-22 | 2024-06-27 | 华为技术有限公司 | Data transmission method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN116964982A (en) | 2023-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109155762B (en) | Data transmission method and device | |
TWI501677B (en) | Systems and methods for transmitting radio link control (rlc) data blocks | |
US20210211937A1 (en) | Data Transmission Method, Apparatus, and System | |
JP2009147786A (en) | Communication apparatus, data frame transmission control method, and program | |
CN111213403B (en) | Method and device for scheduling QoS (quality of service) flow in wireless communication system | |
EP3905620A1 (en) | Message scheduling method, scheduler, network device and network system | |
JP2010516081A (en) | Method and apparatus for indicating maximum scheduling delay for jitter buffer implementation | |
WO2022165768A1 (en) | Method and apparatus for transmitting data | |
WO2012130021A1 (en) | Method and device for deleting service flow | |
CN114916005A (en) | Transmission method and device | |
US9866495B2 (en) | Method and apparatus for buffering data | |
KR20140125274A (en) | Method and apparatus for managing dynamic que in broadcasting system | |
WO2016161594A1 (en) | Data transmission method and apparatus | |
US20240284255A1 (en) | Data transmission method and apparatus, and terminal | |
US20240049042A1 (en) | Data Packet Transmission Efficiency | |
WO2023179669A1 (en) | Data processing method, apparatus, communication device and readable storage medium | |
WO2014032307A1 (en) | Resource scheduling method, device and system | |
Sahu et al. | Traffic splitting for end-to-end delay jitter control in uplink multi-access systems | |
KR101992689B1 (en) | QoS-aware Adaptive MPDU Aggregation Scheduler for Voice Traffic | |
CN115996423A (en) | Data transmission method, device and terminal | |
JP5848956B2 (en) | Communication device | |
US20240236196A1 (en) | Data transmission method and device | |
WO2024120322A1 (en) | Data packet processing method and apparatus | |
JP4633691B2 (en) | TDMA communication method, TDMA transmission apparatus, and TDMA communication system | |
WO2024120328A1 (en) | Data packet processing method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21923784 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202180092100.X Country of ref document: CN |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21923784 Country of ref document: EP Kind code of ref document: A1 |