WO2023123790A1 - Data transmission method and device, and terminal and storage medium - Google Patents

Data transmission method and device, and terminal and storage medium Download PDF

Info

Publication number
WO2023123790A1
WO2023123790A1 PCT/CN2022/090811 CN2022090811W WO2023123790A1 WO 2023123790 A1 WO2023123790 A1 WO 2023123790A1 CN 2022090811 W CN2022090811 W CN 2022090811W WO 2023123790 A1 WO2023123790 A1 WO 2023123790A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
timing
type information
data
target
Prior art date
Application number
PCT/CN2022/090811
Other languages
French (fr)
Chinese (zh)
Inventor
黄钱红
Original Assignee
北京小米移动软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Publication of WO2023123790A1 publication Critical patent/WO2023123790A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints

Definitions

  • the present disclosure relates to the field of communication technologies, and in particular, to a data transmission method, device, terminal and storage medium.
  • the wireless interface can be divided into three protocol layers: physical layer, data link layer and network layer.
  • the Packet Data Convergence Protocol (PDCP) sublayer belongs to the data link layer of the radio interface protocol stack and is used to process radio resource management messages on the control plane and Internet protocol packets on the user plane.
  • PDCP Packet Data Convergence Protocol
  • Radio Bearer Radio Bearer
  • the uniformly configured discarding timing for controlling the transmission of service data may result in low service data transmission efficiency, unstable service data transmission, and poor reliability.
  • the present disclosure aims to solve one of the technical problems in the related art at least to a certain extent.
  • the purpose of the present disclosure is to provide a data transmission method, device, terminal, storage medium and computer program product.
  • the data transmission method proposed by the embodiment of the first aspect of the present disclosure includes: acquiring the service data to be transmitted; determining the service type information corresponding to the service data; determining the target discard timing time matching the service type information; and discarding the timing time according to the target , to transmit business data.
  • the data transmission device proposed in the embodiment of the second aspect of the present disclosure includes: an acquisition module, configured to acquire business data to be transmitted; a first determination module, configured to determine service type information corresponding to the business data; a second determination module, configured to The method is used to determine the target discard timing time matched with the service type information; the transmission module is configured to transmit service data according to the target discard timing time.
  • a terminal including: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by at least one processor, and the instructions are executed by at least one The processor executes, so that at least one processor can execute the data transmission method of the embodiment of the first aspect of the present disclosure.
  • a non-transitory computer-readable storage medium storing computer instructions
  • the computer instructions are used to enable the computer to execute the data transmission method of the embodiment of the first aspect of the present disclosure.
  • a computer program product including a computer program, and when the computer program is executed by a processor, the data transmission method of the embodiment of the first aspect of the present disclosure is implemented.
  • FIG. 1 is a schematic flow diagram of a data transmission method proposed by an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a network slicing model proposed by an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of a data transmission method proposed by another embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of service data transmission proposed by another embodiment of the present disclosure.
  • FIG. 5 is a flow chart of business data transmission proposed by another embodiment of the present disclosure.
  • FIG. 6 is a flow chart of data transmission proposed by another embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a data transmission device according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a data transmission device according to another embodiment of the present disclosure.
  • FIG. 9 shows a block diagram of an exemplary terminal suitable for implementing embodiments of the present disclosure.
  • This disclosure proposes a data transmission method, device, terminal, storage medium, and computer program product, which can configure appropriate discarding timings for business data of different types of business information, and transmit business data based on the adjusted target discarding timing time It can effectively improve the efficiency and stability of business data transmission, and enhance the timeliness and reliability of business data transmission.
  • FIG. 1 is a schematic flowchart of a data transmission method proposed by an embodiment of the present disclosure.
  • the execution subject of the data transmission method in the embodiment of the present disclosure is a data transmission device, and the device may be implemented by software and/or hardware.
  • the data transmission method includes step S101 to step S104.
  • the service-related data to be transmitted by the terminal may be referred to as service data to be transmitted, and the service data may be, for example, call data, voice data, video stream data, etc. to be transmitted by the terminal that support corresponding communication protocols.
  • the service data when the terminal is to transmit the corresponding service data, can be encapsulated into data packets for transmission in the wireless interface, and the wireless interface can include a data link layer, and the data link layer supports the packet data convergence protocol PDCP.
  • the data transmission method in the embodiment of the present disclosure may be a data transmission method based on the Packet Data Convergence Protocol PDCP.
  • the data format of the service data may specifically be Radio Resource Control (Radio Resource Control, RRC) message, or it can also be an Internet Protocol (Internet Protocol IP) packet on the user plane, or it can also be any other possible data format.
  • RRC Radio Resource Control
  • Internet Protocol IP Internet Protocol
  • obtaining the service data to be transmitted may be obtained from the radio resource management (Radio Resource Control, RRC) layer RRC message and/or IP packet as service data, or may also be obtained from the service data adaptation protocol layer (Service Data Adaption Protocol, SDAP) to obtain the data packets to be transmitted as business data.
  • RRC Radio Resource Control
  • SDAP Service Data Adaption Protocol
  • S102 Determine service type information corresponding to the service data.
  • the type information used to describe the service quality requirements of the service data may be referred to as service type information, and the service type information may specifically be, for example, high real-time type, high reliability type, both real-time and reliable type, and the like.
  • the business data can be classified in advance according to the response time, loss, signal-to-noise ratio, reliability requirements, etc. required for the transmission of business data, and a variety of optional business type information can be obtained, and then in the process of actually transmitting business data , to determine the service type information corresponding to the service data to be transmitted.
  • the requirements for transmitting business data in actual data transmission scenarios can refer to the requirements for transmitting business data in actual data transmission scenarios, and divide the business data rows to obtain high-real-time business data, high-reliability business data, and both real-time and reliable business data.
  • the high-real-time type, high-reliability type, and real-time and reliable type obtained by dividing can be used as optional business type information.
  • the business data is data in business scenarios with high real-time requirements such as online games
  • the business The type information may be of a high real-time type, or, when the business data is a business scenario requiring high stability such as web page browsing and form data submission, the business type information may be of a high reliability type.
  • the business type information corresponding to the business data in various business scenarios can be obtained according to actual needs, and the business type information corresponding to the business data can be marked during the business data transmission process, so that when the business to be transmitted is received
  • processing data directly parse the marked content of the business data to determine the business type information corresponding to the business data, or it can also integrate the data of the same business type information into Stateful Data Plane Abstraction (SDPA) data package, add the corresponding service type information in the data package, and determine the data package to which the service data belongs when receiving the service data to be transmitted, so as to determine the service type information corresponding to the service data, or use network slicing , according to the network transmission characteristics of different service data, determine the service type information corresponding to the service data.
  • SDPA Stateful Data Plane Abstraction
  • network slicing can be used as a way to determine service type information, as shown in FIG. 2 , which is a schematic diagram of a network slicing model proposed in an embodiment of the present disclosure.
  • the network slicing technology uses the application identifier ( Traffic Descriptors such as Application Identification (APPID), IP 3-tuple, Fully Qualified Domain Name (FQDN), Data Network Name (Data Network Name, DNN), Connection Capability, etc.
  • APPID Application Identification
  • FQDN Fully Qualified Domain Name
  • Data Network Name Data Network Name
  • DNN Data Network Name
  • Connection Capability etc.
  • Data is mapped to Quality of Service (QoS) data streams, and corresponding QoS data stream identifiers are added to different QoS data streams at the SDAP layer, and submitted to the terminal routing policy file, which is connected to the cloud network through the access network.
  • QoS Quality of Service
  • the discarding timing time corresponding to the service type information of the service data may be called the target discarding timing time, and the target discarding timing time may be the longest transmission waiting time used to indicate that the terminal is transmitting the service data.
  • the timing time of the timer can be set to mark the target discarding timing time, and the timer can be used to mark the longest waiting time for sending service data in the terminal, that is to say, when the terminal When the service data to be transmitted is received, the timer may be triggered to count, and when the timer expires and the service data is not transmitted, the step of discarding the service data may be performed.
  • the target discard timing corresponding to various service types can be preset, and the target discard timing can be matched and saved with the corresponding service type information.
  • select the Type information matches the target discard timing, and configure the target discard timing as the timing of the timer, or use the timing calculation rules to calculate the timing that matches the service type information as the target discard timing, Alternatively, any other possible manner may be used to determine the timing time that matches the service type information as the target discarding timing time.
  • S104 Transmit service data according to the target discard timing.
  • multiple corresponding transmission strategies may be set according to the target discarding timing, and the transmission strategy corresponding to the service data may be determined according to the longest transmission waiting time corresponding to the service data.
  • the service data when transmitting service data according to the target discarding timing, if the target discarding timing has not timed out, the service data is transmitted in response to the data transmission instruction, and if the target discarding timing is timed out, the service data is discarded.
  • Business data because the business data that has not been transmitted over time is discarded, it can prevent transitional delay and queuing phenomenon, realize the orderly and stable transmission of business data of different business types, and improve the flexibility of business data transmission control sex and transmission effects.
  • the timer when transmitting service data according to the target discarding timing time, the timer may be triggered to start when the service data is received, and the timer may be configured as the target discarding timing time, and when the target discarding timing time exceeds From time to time, the business data can be triggered to be discarded, and when the target discarding time has not expired, the business data can be transmitted according to the data transmission instruction, so as to realize the timely transmission control of the business data, and can effectively take into account the transmission effect and transmission of the business data.
  • the personalized transmission quality requirements required by the business data can effectively improve the control effect of business data transmission.
  • the target discard timings corresponding to different service type information may be the same or different.
  • augmented reality Augmented Reality
  • virtual reality Virtual Reality
  • voice and other service data are expected to be transmitted as fast as possible at the user level. If the transmission of service data exceeds a certain time limit, it may The meaning of transmission will be reduced due to timeout.
  • this type of business data has relatively low real-time requirements.
  • different target discarding timings can be set for different service types of information.
  • the data transmission instruction can be monitored, and the service data can be transmitted when the data transmission instruction is detected.
  • the target discarding timeout expires, the service data may be discarded to process subsequent services.
  • the data transmission method proposed in the embodiments of the present disclosure obtains the service data to be transmitted, determines the service type information corresponding to the service data, determines the target discarding timing time matching the service type information, and transmits the business according to the target discarding timing time Data, because it is to determine the service type information, configure the target discard timing time that matches the service type information, and can configure the appropriate discard timing time for business data of different service type information, when the transmission service is based on the adjusted target discard timing time It can effectively improve the efficiency and stability of business data transmission, and enhance the timeliness and reliability of business data transmission.
  • Fig. 3 is a schematic flowchart of a data transmission method proposed by another embodiment of the present disclosure.
  • the data transmission method includes step S301 to step S305.
  • the identifier of the quality of service QoS flow used to describe the service data may be referred to as the identifier of the quality of service QoS flow, and the identifier of the quality of service QoS flow may be used to identify and confirm whether the service data has a corresponding quality of service QoS flow, and QoS requirements of the corresponding QoS flow.
  • the quality of service QoS flow identifier when there is a quality of service QoS flow identifier corresponding to the service data, the quality of service QoS flow identifier can be directly used as the service type information, thus, using the service quality QoS flow identifier as the service type information can effectively Improve the efficiency of business type information determination, and because the quality of service QoS can represent the transmission quality requirements of business data accordingly, when the quality of service QoS flow identifier is used as the business type information, it can effectively guarantee the accuracy of the service type information on the business data The accuracy of transmission quality requirement characterization improves the accuracy and transmission control effect of data transmission control.
  • QoS flow identifiers there may be multiple types of QoS flow identifiers, and different types of QoS flow identifiers may correspond to different transmission networks or data transmission strategies.
  • QoS flow identifiers when directly using the QoS flow identifier as When receiving service type information, it can also support the use of a transmission network or data transmission strategy that matches the service type information to transmit service data.
  • FIG. 4 is a schematic diagram of service data transmission proposed by another embodiment of the present disclosure.
  • wireless access network (5th Generation Mobile Communication Technology-Radio Access Network, The QoS architecture in 5G-RAN) is connected to the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) core network.
  • the 5G core network establishes one or more protocol data unit sessions for each terminal.
  • the data unit session establishes at least one user plane data radio bearer together, and the additional user plane data radio bearer of the QoS flow of the protocol data unit session can be configured for each terminal, and the 5G-RAN maps the service data belonging to different protocol data unit sessions to In different user plane data radio bearers, the service type information in the terminal and 5G core network is associated with the QoS flow, the level mapping between the terminal and 5G-RAN, and the uplink and downlink QoS flows are associated with the user plane data radio bearer.
  • the QoS flow identifier is added to the service data in the session of the protocol unit, and the service at the SDAP layer In the data/protocol data unit session, judge whether the service data corresponds to the quality of service QoS flow identifier, and according to the judgment result, input multiple service data into multiple data bearers in the corresponding protocol data unit session, and classify them into different
  • the business data of the packet data convergence protocol PDCP in the confirmed mode, transmits the business data from the uplink physical shared channel to the multi-codeword transmission channel, and then transmits it to the dedicated traffic channel; in the unacknowledged mode, the business data is divided into uplink wireless Link control protocol service data and downlink radio link control protocol service data are transmitted to the single codeword transmission channel through the dedicated service channel, and then transmitted to the radio frequency layer through the downlink physical shared channel.
  • the terminal may be a mobile phone, a wearable device, etc. used by the user.
  • the relevant content currently running on the terminal may be referred to as the current running content, and the current running content may be related content such as an application program, a small program, or a web page currently running on the terminal.
  • the service data may be generated by the terminal.
  • the service type information corresponding to the service data may be determined according to the current operation content by identifying the current operation content in the terminal, or , the service requirement information corresponding to the current operation content may also be identified, and the service type information corresponding to the service data may be determined according to the service requirement information.
  • high real-time business type information can be selected as the business type information of the business data involved in the game program.
  • the service type information can be determined according to the current running content of the terminal, and various identifiers corresponding to the service type information can be preset, and the identifiers can be added to the corresponding current running content, thus, in the current running content Identify the corresponding identifier in the corresponding identifier, determine the service type information corresponding to the corresponding identifier, and use it as the service type information corresponding to the service data, or use any other possible way to realize the determination of the service corresponding to the service data according to the current operation content type information.
  • the service type information corresponding to the service data according to the current running content when determining the service type information corresponding to the service data according to the current running content, if the current running content is content with high real-time requirements, then determine the business type information as the high real-time type, If the current operation content is content with high reliability requirements, determine the business type information as a high reliability type. Since the current operation content needs to be analyzed, it is judged whether the current operation content needs high real-time requirements or high reliability.
  • the determined business type information can effectively represent the demand of the current running content, so as to effectively Guarantee the accuracy of the representation of business type information on the needs of current operating content, and effectively improve the convenience and efficiency of determining business type information of business data while effectively satisfying the determination accuracy of personalized business type information.
  • the current running content with relatively high real-time requirements and relatively low delay requirements can be called content with high real-time requirements.
  • Content with high real-time requirements can be, for example, games, voice calls, video calls, etc. content.
  • the current running content with relatively high reliability requirements may be referred to as content with high reliability requirements
  • the content with high reliability requirements may be, for example, content such as text transmission and web page display.
  • the corresponding real-time and reliability identifiers can be set in the current running content of the terminal, and the current running content can be judged as content with high real-time requirements or high reliability requirements according to the identifiers, or it can also be Identify the transmission scene of the current running content. For example, when the transmission scene is a game scene, the current running content is content with high real-time requirements; when the transmission scene is web browsing scene, the current running content is content with high reliability requirements.
  • S304 Determine the target discard timing time matching the service type information.
  • the corresponding matching algorithm or matching rule can be referred to to determine the target discarding timing that matches the service type information, or it can also be combined with a pre-trained matching model to determine the target discarding time that matches the service type information. Timing.
  • the service type information is the quality of service QoS flow identifier
  • determine the discard timing time corresponding to the quality of service QoS flow identifier, and use the corresponding discard timing time as the target discard timing time In this way, it is possible to directly and quickly determine the target discard timing time matching the quality of service QoS flow identifier, and to match a more targeted and suitable target discard timing time for service data requirements according to the quality of service QoS flow identifier. Effectively improve the matching accuracy of target discard timing.
  • the identification code of the corresponding target discard timing time can be added to the service quality QoS flow identifier in advance.
  • the identification code can be a combination of codes, numbers, symbols, etc., and is used to identify the corresponding discard timing time. Through the identification code, identify the corresponding discarding timing time as the target discarding timing time, or, any other possible manner may be used to determine the discarding timing time corresponding to the quality of service QoS flow identifier.
  • the quality of service QoS flow identifier can be identified, and the corresponding discard timing time can be determined according to the set corresponding relationship, and the corresponding discard timing time
  • the target discard timing is used to control the transmission of service data, or the QoS flow identifier of the service data can be queried in the terminal, and the corresponding discard timing is dynamically configured according to the QoS flow identifier.
  • the first discarding timing is used as the target discarding timing, wherein the first discarding timing is less than the first timing threshold; or if the service type information is high reliability type, then use the second discarding timing as the target discarding timing, wherein the second discarding timing is greater than the second timing threshold, and the first timing threshold is less than or equal to the second timing threshold, because the service type information
  • the service type information is high real-time type
  • the service type information is high real-time type
  • you can configure the second discard timing time at this time which can realize the personalization of the discard timing time Configured so that the configured discarding timing is effectively adapted to different business transmission requirements of business data, and, since the first discarding timing is smaller than the first timing threshold, the second discarding timing is greater than the second timing threshold, and
  • the first timing threshold is less than or equal to the second timing threshold, so that the transmission control of service data can effectively take into account the real-
  • the time threshold corresponding to the first discarding timing may be referred to as the first timing threshold, and the first timing threshold may be used to measure the size of the configured first discarding timing.
  • the first timing threshold When configuring When the first discard timing time is less than the first timing threshold, it can indicate that the discard timing time has been shortened accordingly, that is, the service type information is a high real-time type, indicating that the real-time requirements of service data are high.
  • the relatively small first discarding timing enables timely transmission of service data and guarantees the real-time requirements of service data transmission.
  • the first discarding timing may be configured as 30ms.
  • the time threshold corresponding to the second discard timing time may be referred to as the second timing time threshold, and the second timing time threshold may be used to measure the size of the configured second discard timing time.
  • the second timing time threshold When configuring When the second discarding timing is greater than the second timing threshold, it can indicate that the discarding timing has been extended correspondingly, that is, the service type information is a high-reliability type, indicating that the reliability of the service data is high.
  • the long second discard timing enables stable transmission of service data and ensures the stability requirements of service data transmission.
  • the second discarding timing may be configured as 3s, or no upper limit may be set.
  • S305 Transmit service data according to the target discard timing.
  • the service type information is determined and the target discard timing time matching the service type information is configured, it is possible to configure a suitable discard timing time for service data of different service type information.
  • the target discard timing time matching the service type information is configured.
  • the quality of service QoS flow identifier can effectively improve the efficiency of determining the service type information, and, because The quality of service QoS can represent the transmission quality requirements of business data accordingly, so that when the quality of service QoS flow identifier is used as the service type information, it can effectively guarantee the accuracy of service type information on the transmission quality requirements of service data and improve data transmission. Control accuracy and transmission control effect.
  • the service data identified by the quality QoS flow identifies the corresponding service type information, which effectively improves the comprehensiveness, accuracy, and flexibility of the service type information determination, thereby effectively improving the accuracy of the target discard timing time setting, and effectively taking into account the timely transmission of service data sex and stability.
  • the requirement of the current operation content is high real-time requirement or high reliability requirement, and based on the requirement of the current operation content, it is divided into high real-time type or high reliability type, and
  • the determined business type information can effectively represent the requirements of the current operating content, thereby effectively ensuring the accuracy of the representation of the business type information on the current operating content requirements, and effectively satisfying the personalized business type information. While determining the accuracy, it effectively improves the convenience and efficiency of determining the business type information of the business data.
  • Figure 6 is a flow chart of data transmission proposed by another embodiment of the present disclosure.
  • the terminal has corresponding current running content, and when the terminal has service data to send, it is judged whether the service data corresponds to Quality of service QoS flow identification, if so, then identify the corresponding quality of service QoS flow identification, adopt the corresponding discarding timing according to the quality of service QoS flow identification; Time is used as the target discard timing time; for QoS flow identifiers with high stability requirements, a higher discard timing time is used as the target discard timing time, and when the target discard timing time exceeds, the service data is discarded.
  • the service data does not have the corresponding service quality QoS flow identification, then determine the demand for transmitting service data, determine the service type information according to the demand for transmitting service data, and adopt the discarding timing corresponding to the service type information; for the service type information is For the high real-time type, a relatively low discard timing is used as the target discard timing; for the service type information of the high reliability type, a relatively high discard timing is used as the target discard timing.
  • the lower discarding timing can be 30ms, that is, when the service data has not been transmitted when it reaches 30ms, you can choose to discard the service data
  • the higher discarding timing can be set to 3s, that is, the reliability For service data with high demand, you can continue to wait for the transmission of the service data until the transmission is completed.
  • the lower and higher discard timings can be set according to actual needs.
  • FIG. 7 is a schematic structural diagram of a data transmission device according to an embodiment of the disclosure.
  • the data transmission device 70 includes:
  • a first determining module 702 configured to determine service type information corresponding to the service data
  • the second determination module 703 is configured to determine the target discard timing time matched with the service type information
  • the transmission module 704 is configured to transmit service data according to the target discard timing.
  • FIG. 8 is a schematic structural diagram of a data transmission device according to another embodiment of the present disclosure.
  • the first determination module 702 includes:
  • the first determining submodule 7021 is configured to use the quality of service QoS flow identifier as service type information when there is a quality of service QoS flow identifier corresponding to the service data;
  • the second determining sub-module 7022 is configured to determine the current running content in the terminal when there is no QoS flow identifier corresponding to the service data, and determine the service type information corresponding to the service data according to the current running content.
  • the second determining submodule 7022 is specifically used for:
  • the service type information is determined as a high reliability type.
  • the second determining module 703 is specifically configured to:
  • the service type information is the quality of service QoS flow identifier
  • determine the discard timing time corresponding to the quality of service QoS flow identifier and use the corresponding discard timing time as the target discard timing time.
  • the second determining module 703 is specifically configured to:
  • the first discarding timing is used as the target discarding timing, wherein the first discarding timing is less than the first timing threshold;
  • the second discarding timing is used as the target discarding timing, wherein the second discarding timing is greater than the second timing threshold, and the first timing threshold is less than or equal to the second timing threshold .
  • the transmission module 704 is specifically used for:
  • the service data is discarded.
  • the present disclosure also provides a data transmission device.
  • the method is corresponding, so the implementation of the data transmission method is also applicable to the data transmission device provided in the embodiment of the present disclosure, and will not be described in detail in the embodiment of the present disclosure.
  • the data transmission device proposed in the embodiment of the present disclosure determines the service type information corresponding to the service data by acquiring the service data to be transmitted, determines the target discarding timing time matching the service type information, and transmits the service according to the target discarding timing time Data, because it is to determine the service type information, configure the target discard timing time that matches the service type information, and can configure the appropriate discard timing time for business data of different service type information, when the transmission service is based on the adjusted target discard timing time It can effectively improve the efficiency and stability of business data transmission, and enhance the timeliness and reliability of business data transmission.
  • the present disclosure also proposes a non-transitory computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the data transmission method as proposed in the foregoing embodiments of the present disclosure is implemented.
  • the present disclosure also proposes a terminal, including: a memory, a processor, and a computer program stored on the memory and operable on the processor. data transfer method.
  • the present disclosure further proposes a computer program product.
  • the instruction processor in the computer program product executes, it executes the data transmission method provided in the foregoing embodiments of the present disclosure.
  • FIG. 9 shows a block diagram of an exemplary terminal suitable for implementing embodiments of the present disclosure.
  • the terminal 12 shown in FIG. 9 is only an example, and should not limit the functions and scope of use of this embodiment of the present disclosure.
  • terminal 12 takes the form of a general-purpose computing device.
  • Components of terminal 12 may include, but are not limited to: one or more processors or processing units 16, system memory 28, bus 18 connecting various system components including system memory 28 and processing unit 16.
  • Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include but are not limited to Industry Standard Architecture (Industry Standard Architecture; hereinafter referred to as: ISA) bus, Micro Channel Architecture (Micro Channel Architecture; hereinafter referred to as: MAC) bus, enhanced ISA bus, video electronics Standards Association (Video Electronics Standards Association; hereinafter referred to as: VESA) local bus and Peripheral Component Interconnection (hereinafter referred to as: PCI) bus.
  • Industry Standard Architecture Industry Standard Architecture
  • Micro Channel Architecture Micro Channel Architecture
  • VESA Video Electronics Standards Association
  • PCI Peripheral Component Interconnection
  • Terminal 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by terminal 12 and include both volatile and nonvolatile media, removable and non-removable media.
  • the memory 28 may include a computer system readable medium in the form of a volatile memory, such as a random access memory (Random Access Memory; hereinafter referred to as: RAM) 30 and/or a cache memory 32 .
  • Terminal 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media.
  • storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 9, commonly referred to as a "hard drive").
  • a disk drive for reading and writing to a removable nonvolatile disk may be provided, as well as a removable nonvolatile disk (such as a Compact Disk ROM (Compact Disk).
  • Disc Read Only Memory hereinafter referred to as: CD-ROM
  • DVD-ROM Digital Video Disc Read Only Memory
  • each drive may be connected to bus 18 via one or more data media interfaces.
  • Memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present disclosure.
  • Program/utility 40 may be stored, for example, in memory 28 as a set (at least one) of program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data , each or some combination of these examples may include implementations of network environments.
  • the program modules 42 generally perform the functions and/or methods of the embodiments described in this disclosure.
  • the terminal 12 may also communicate with one or more external devices 14 (such as a keyboard, pointing device, display 24, etc.), and may also communicate with one or more devices that enable a user to interact with the terminal 12, and/or communicate with the Terminal 12 is capable of communicating with any device (eg, network card, modem, etc.) that communicates with one or more other computing devices. Such communication may occur through input/output (I/O) interface 22 .
  • the terminal 12 can also communicate with one or more networks (such as a local area network (Local Area Network; hereinafter referred to as: LAN), a wide area network (Wide Area Network; hereinafter referred to as: WAN) and/or a public network, such as the Internet, through the network adapter 20. ) communication.
  • networks such as a local area network (Local Area Network; hereinafter referred to as: LAN), a wide area network (Wide Area Network; hereinafter referred to as: WAN) and/or a public network, such as the Internet,
  • network adapter 20 communicates with other modules of terminal 12 via bus 18 .
  • other hardware and/or software modules may be used in conjunction with terminal 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and Data backup storage system, etc.
  • the processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28 , such as implementing the data transmission method mentioned in the foregoing embodiments.
  • various parts of the present disclosure may be implemented in hardware, software, firmware or a combination thereof.
  • various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present disclosure may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.
  • the storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like.

Abstract

The present disclosure provides a data transmission method and device, and a terminal and a storage medium. The method comprises: obtaining service data to be transmitted; determining service type information corresponding to the service data; determining a target discard timing time matched with the service type information; and transmitting the service data according to the target discard timing time.

Description

数据传输方法、装置、终端及存储介质Data transmission method, device, terminal and storage medium
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202111629185.9、申请日为2021年12月28日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with application number 202111629185.9 and a filing date of December 28, 2021, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference into this application.
技术领域technical field
本公开涉及通信技术领域,尤其涉及一种数据传输方法、装置、终端及存储介质。The present disclosure relates to the field of communication technologies, and in particular, to a data transmission method, device, terminal and storage medium.
背景技术Background technique
无线接口可分为三个协议层:物理层、数据链路层和网络层。分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)子层属于无线接口协议栈的数据链路层,用于处理控制平面上的无线资源管理消息以及用户平面上的因特网协议包。The wireless interface can be divided into three protocol layers: physical layer, data link layer and network layer. The Packet Data Convergence Protocol (PDCP) sublayer belongs to the data link layer of the radio interface protocol stack and is used to process radio resource management messages on the control plane and Internet protocol packets on the user plane.
相关技术中,在无线承载(Radio Bearer,RB)建立时,由网络统一配置用于对业务数据进行传输控制的丢弃定时时间。In related technologies, when a radio bearer (Radio Bearer, RB) is established, the network uniformly configures the discard timing for controlling the transmission of service data.
这种方式下,统一配置的用于对业务数据进行传输控制的丢弃定时时间,可能会导致业务数据的传输效率不高,业务数据传输不够稳定,可靠性不佳。In this way, the uniformly configured discarding timing for controlling the transmission of service data may result in low service data transmission efficiency, unstable service data transmission, and poor reliability.
发明内容Contents of the invention
本公开旨在至少在一定程度上解决相关技术中的技术问题之一。The present disclosure aims to solve one of the technical problems in the related art at least to a certain extent.
为此,本公开的目的在于提出一种数据传输方法、装置、终端、存储介质及计算机程序产品。Therefore, the purpose of the present disclosure is to provide a data transmission method, device, terminal, storage medium and computer program product.
本公开第一方面实施例提出的数据传输方法,包括:获取待传输的业务数据;确定与业务数据对应的业务类型信息;确定与业务类型信息匹配的目标丢弃定时时间;以及根据目标丢弃定时时间,传输业务数据。The data transmission method proposed by the embodiment of the first aspect of the present disclosure includes: acquiring the service data to be transmitted; determining the service type information corresponding to the service data; determining the target discard timing time matching the service type information; and discarding the timing time according to the target , to transmit business data.
本公开第二方面实施例提出的数据传输装置,包括:获取模块,用于获取待传输的业务数据;第一确定模块,用于确定与业务数据对应的业务类型信息;第二确定模块,用于确定与业务类型信息匹配的目标丢弃定时时间;传输模块,用于根据目标丢弃定时时间,传输业务数据。The data transmission device proposed in the embodiment of the second aspect of the present disclosure includes: an acquisition module, configured to acquire business data to be transmitted; a first determination module, configured to determine service type information corresponding to the business data; a second determination module, configured to The method is used to determine the target discard timing time matched with the service type information; the transmission module is configured to transmit service data according to the target discard timing time.
根据本公开第三方面,提供了一种终端,包括:至少一个处理器;以及与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行本公开第一方面实施例的数据传输方法。According to a third aspect of the present disclosure, a terminal is provided, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by at least one processor, and the instructions are executed by at least one The processor executes, so that at least one processor can execute the data transmission method of the embodiment of the first aspect of the present disclosure.
根据本公开第四方面,提出了一种存储有计算机指令的非瞬时计算机可读存储介质,所述计算机指令用于使所述计算机执行本公开第一方面实施例的数据传输方法。According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, and the computer instructions are used to enable the computer to execute the data transmission method of the embodiment of the first aspect of the present disclosure.
根据本公开第五方面,提供了一种计算机程序产品,包括计算机程序,所述计算机 程序在被处理器执行时实现本公开第一方面实施例的数据传输方法。According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the data transmission method of the embodiment of the first aspect of the present disclosure is implemented.
本公开附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本公开的实践了解到。Additional aspects and advantages of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.
附图说明Description of drawings
本公开上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present disclosure will become apparent and understandable from the following description of the embodiments in conjunction with the accompanying drawings, wherein:
图1是本公开一实施例提出的数据传输方法的流程示意图;FIG. 1 is a schematic flow diagram of a data transmission method proposed by an embodiment of the present disclosure;
图2是本公开一实施例提出的网络切片模型示意图;FIG. 2 is a schematic diagram of a network slicing model proposed by an embodiment of the present disclosure;
图3是本公开另一实施例提出的数据传输方法的流程示意图;FIG. 3 is a schematic flowchart of a data transmission method proposed by another embodiment of the present disclosure;
图4是本公开另一实施例提出的业务数据传输示意图;FIG. 4 is a schematic diagram of service data transmission proposed by another embodiment of the present disclosure;
图5是本公开另一实施例提出的业务数据传输流程图;FIG. 5 is a flow chart of business data transmission proposed by another embodiment of the present disclosure;
图6是本公开另一实施例提出的数据传输流程图;FIG. 6 is a flow chart of data transmission proposed by another embodiment of the present disclosure;
图7是根据本公开一实施例提出的数据传输装置的结构示意图;FIG. 7 is a schematic structural diagram of a data transmission device according to an embodiment of the present disclosure;
图8是根据本公开另一实施例提出的数据传输装置的结构示意图;FIG. 8 is a schematic structural diagram of a data transmission device according to another embodiment of the present disclosure;
图9示出了适于用来实现本公开实施方式的示例性终端的框图。FIG. 9 shows a block diagram of an exemplary terminal suitable for implementing embodiments of the present disclosure.
具体实施方式Detailed ways
下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本公开,而不能理解为对本公开的限制。相反,本公开的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the drawings, in which the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present disclosure and should not be construed as limiting the present disclosure. On the contrary, the embodiments of the present disclosure include all changes, modifications and equivalents coming within the spirit and scope of the appended claims.
本公开提出一种数据传输方法、装置、终端、存储介质及计算机程序产品,能够对不同业务类型信息的业务数据配置相适配的丢弃定时时间,当基于调整得到的目标丢弃定时时间传输业务数据时,能够有效提升业务数据传输效率和传输稳定性,增强业务数据传输及时性与可靠性。This disclosure proposes a data transmission method, device, terminal, storage medium, and computer program product, which can configure appropriate discarding timings for business data of different types of business information, and transmit business data based on the adjusted target discarding timing time It can effectively improve the efficiency and stability of business data transmission, and enhance the timeliness and reliability of business data transmission.
图1是本公开一实施例提出的数据传输方法的流程示意图。FIG. 1 is a schematic flowchart of a data transmission method proposed by an embodiment of the present disclosure.
其中,需要说明的是,本公开实施例的数据传输方法的执行主体为数据传输装置,该装置可以由软件和/或硬件的方式实现。Wherein, it should be noted that the execution subject of the data transmission method in the embodiment of the present disclosure is a data transmission device, and the device may be implemented by software and/or hardware.
如图1所示,该数据传输方法,包括步骤S101至步骤S104。As shown in FIG. 1, the data transmission method includes step S101 to step S104.
S101:获取待传输的业务数据。S101: Obtain service data to be transmitted.
其中,终端待传输的与业务相关的数据,可以被称为待传输的业务数据,该业务数据可以例如为终端待传输的支持相应通信协议的通话数据、语音数据、视频流数据等等。Wherein, the service-related data to be transmitted by the terminal may be referred to as service data to be transmitted, and the service data may be, for example, call data, voice data, video stream data, etc. to be transmitted by the terminal that support corresponding communication protocols.
其中,终端可以在待传输相应的业务数据时,通过将业务数据封装为数据包的形式,在无线接口中进行传输,无线接口可以包括数据链路层,该数据链路层支持分组数据汇 聚协议PDCP。Wherein, when the terminal is to transmit the corresponding service data, the service data can be encapsulated into data packets for transmission in the wireless interface, and the wireless interface can include a data link layer, and the data link layer supports the packet data convergence protocol PDCP.
由此,本公开实施例中数据传输方法,可以是基于分组数据汇聚协议PDCP的数据传输方法,在传输业务数据时,该业务数据的数据格式,可以具体例如是无线资源管理(Radio Resource Control,RRC)消息,或者,也可以是用户平面上的因特网协议(Internet Protocol IP)包,或者,还可以是其他任意可能的数据格式。Therefore, the data transmission method in the embodiment of the present disclosure may be a data transmission method based on the Packet Data Convergence Protocol PDCP. When transmitting service data, the data format of the service data may specifically be Radio Resource Control (Radio Resource Control, RRC) message, or it can also be an Internet Protocol (Internet Protocol IP) packet on the user plane, or it can also be any other possible data format.
本公开实施例中,获取待传输的业务数据,可以是从无线资源管理(Radio Resource Control,RRC)层获取RRC消息和/或IP包作为业务数据,或者,也可以从业务数据适配协议层(Service Data Adaption Protocol,SDAP)中获取待传输的数据包作为业务数据。In the embodiment of the present disclosure, obtaining the service data to be transmitted may be obtained from the radio resource management (Radio Resource Control, RRC) layer RRC message and/or IP packet as service data, or may also be obtained from the service data adaptation protocol layer (Service Data Adaption Protocol, SDAP) to obtain the data packets to be transmitted as business data.
S102:确定与业务数据对应的业务类型信息。S102: Determine service type information corresponding to the service data.
其中,用于描述业务数据的服务质量需求的类型信息,可以被称为业务类型信息,业务类型信息可以具体例如为,高实时类型、高可靠类型、兼顾实时和可靠类型等。Wherein, the type information used to describe the service quality requirements of the service data may be referred to as service type information, and the service type information may specifically be, for example, high real-time type, high reliability type, both real-time and reliable type, and the like.
其中,可以预先根据传输业务数据所需响应时间、损耗、信噪比、可靠性需求程度等方面对业务数据进行分类,得到多种可选的业务类型信息,而后在实际传输业务数据的过程中,确定该待传输的业务数据对应的业务类型信息。Among them, the business data can be classified in advance according to the response time, loss, signal-to-noise ratio, reliability requirements, etc. required for the transmission of business data, and a variety of optional business type information can be obtained, and then in the process of actually transmitting business data , to determine the service type information corresponding to the service data to be transmitted.
举例而言,可以参考实际数据传输场景中传输业务数据的需求,对业务数据行划分,得到高实时类型的业务数据、高可靠类型的业务数据、兼顾实时和可靠类型的业务数据,相应的,将划分得到的高实时类型、高可靠类型,以及顾实时和可靠类型均可以作为可选的业务类型信息,当业务数据为在线游戏等对实时性要求较高的业务场景下的数据时,业务类型信息可以是高实时类型,或者,当业务数据为网页浏览、表单数据提交等对稳定性要求较高的业务场景时,业务类型信息可以是高可靠类型。For example, you can refer to the requirements for transmitting business data in actual data transmission scenarios, and divide the business data rows to obtain high-real-time business data, high-reliability business data, and both real-time and reliable business data. Correspondingly, The high-real-time type, high-reliability type, and real-time and reliable type obtained by dividing can be used as optional business type information. When the business data is data in business scenarios with high real-time requirements such as online games, the business The type information may be of a high real-time type, or, when the business data is a business scenario requiring high stability such as web page browsing and form data submission, the business type information may be of a high reliability type.
本公开实施例中,可以根据实际需求获取多种业务场景下的业务数据对应的业务类型信息,并在业务数据传输过程中标注与该业务数据对应的业务类型信息,以在接收到待传输业务数据时,直接解析业务数据的标注内容以确定与业务数据对应的业务类型信息,或者,也可以是将相同业务类型信息的数据整合为有状态数据平面抽象(Stateful Data Plane Abstraction,SDPA)的数据包,在数据包中添加对应的业务类型信息,在接收到待传输的业务数据时,确定业务数据所属数据包,以确定出与业务数据对应的业务类型信息,或者,还可以是使用网络切片,根据不同业务数据的网络传输特性,来确定出与业务数据对应的业务类型信息。In the embodiments of the present disclosure, the business type information corresponding to the business data in various business scenarios can be obtained according to actual needs, and the business type information corresponding to the business data can be marked during the business data transmission process, so that when the business to be transmitted is received When processing data, directly parse the marked content of the business data to determine the business type information corresponding to the business data, or it can also integrate the data of the same business type information into Stateful Data Plane Abstraction (SDPA) data package, add the corresponding service type information in the data package, and determine the data package to which the service data belongs when receiving the service data to be transmitted, so as to determine the service type information corresponding to the service data, or use network slicing , according to the network transmission characteristics of different service data, determine the service type information corresponding to the service data.
本公开实施例中,可以使用网络切片作为确定业务类型信息的方式,如图2所示,图2是本公开一实施例提出的网络切片模型示意图,在终端中,网络切片技术通过应用标识(Application Identification,APPID)、IP 3元组、全限定域名(Fully Qualified Domain Name,FQDN)、数据网络名称(Data Network Name,DNN)、Connection Capability等业务量描述词(Traffic Descriptor),将不同的业务数据映射为服务质量(Quality of Service,QoS)数据流,并且在SDAP层为不同QoS数据流添加相应的QoS数据流标识,并交由终端路由选择策略文件,通过接入网与云端网络相连,进而确定出与业务数 据对应的业务类型信息。In the embodiment of the present disclosure, network slicing can be used as a way to determine service type information, as shown in FIG. 2 , which is a schematic diagram of a network slicing model proposed in an embodiment of the present disclosure. In the terminal, the network slicing technology uses the application identifier ( Traffic Descriptors such as Application Identification (APPID), IP 3-tuple, Fully Qualified Domain Name (FQDN), Data Network Name (Data Network Name, DNN), Connection Capability, etc. Data is mapped to Quality of Service (QoS) data streams, and corresponding QoS data stream identifiers are added to different QoS data streams at the SDAP layer, and submitted to the terminal routing policy file, which is connected to the cloud network through the access network. Further, the service type information corresponding to the service data is determined.
S103:确定与业务类型信息匹配的目标丢弃定时时间。S103: Determine the target discard timing time matching the service type information.
其中,与业务数据的业务类型信息对应的丢弃定时时间,可以被称为目标丢弃定时时间,目标丢弃定时时间,可以是用于表示终端在传输该业务数据的最长发送等待时间。Wherein, the discarding timing time corresponding to the service type information of the service data may be called the target discarding timing time, and the target discarding timing time may be the longest transmission waiting time used to indicate that the terminal is transmitting the service data.
本公开实施例中,可以通过设置定时器的定时时间,以标记目标丢弃定时时间,该定时器则可以被用于标记业务数据在终端中的最长发送等待时间,也即是说,当终端接收到待传输的业务数据时,可以触发启动该定时器计时,当定时器超时,且未传输该业务数据,则可以执行丢弃该业务数据的步骤。In the embodiment of the present disclosure, the timing time of the timer can be set to mark the target discarding timing time, and the timer can be used to mark the longest waiting time for sending service data in the terminal, that is to say, when the terminal When the service data to be transmitted is received, the timer may be triggered to count, and when the timer expires and the service data is not transmitted, the step of discarding the service data may be performed.
本公开实施例中,可以预先设置与各种业务类型信息对应的目标丢弃定时时间,目标丢弃定时时间可以与对应的业务类型信息匹配保存,当判定出业务数据的业务类型信息时,选取与业务类型信息匹配的目标丢弃定时时间,并将该目标丢弃定时时间配置为定时器的定时时间,或者,也可以采用定时时间计算规则,计算出与业务类型信息匹配的定时时间作为目标丢弃定时时间,或者,还可以采用其他任意可能的方式确定与业务类型信息匹配的定时时间作为目标丢弃定时时间。In the embodiment of the present disclosure, the target discard timing corresponding to various service types can be preset, and the target discard timing can be matched and saved with the corresponding service type information. When the service type information of the service data is determined, select the Type information matches the target discard timing, and configure the target discard timing as the timing of the timer, or use the timing calculation rules to calculate the timing that matches the service type information as the target discard timing, Alternatively, any other possible manner may be used to determine the timing time that matches the service type information as the target discarding timing time.
S104:根据目标丢弃定时时间,传输业务数据。S104: Transmit service data according to the target discard timing.
本公开实施例中,可以根据目标丢弃定时时间,设置多种对应的传输策略,根据业务数据对应的最长发送等待时间,确定业务数据对应的传输策略。In the embodiment of the present disclosure, multiple corresponding transmission strategies may be set according to the target discarding timing, and the transmission strategy corresponding to the service data may be determined according to the longest transmission waiting time corresponding to the service data.
在一些实施例中,本公开实施例在根据目标丢弃定时时间,传输业务数据时,如果目标丢弃定时时间未超时,则响应于数据传输指令,传输业务数据,如果目标丢弃定时时间超时,则丢弃业务数据,由于是对超时未传输的业务数据采取丢弃处理,能够防止过渡延时和排队现象的产生,实现对不同业务类型信息的业务数据的有序、稳定传输,提升业务数据传输控制的灵活性和传输效果。In some embodiments, when transmitting service data according to the target discarding timing, if the target discarding timing has not timed out, the service data is transmitted in response to the data transmission instruction, and if the target discarding timing is timed out, the service data is discarded. Business data, because the business data that has not been transmitted over time is discarded, it can prevent transitional delay and queuing phenomenon, realize the orderly and stable transmission of business data of different business types, and improve the flexibility of business data transmission control sex and transmission effects.
本公开实施例在根据目标丢弃定时时间,传输业务数据时,可以是在接收到业务数据时即触发启动定时器,且该定时器可以被配置为目标丢弃定时时间,则在目标丢弃定时时间超时时,可以触发丢弃该业务数据,而在目标丢弃定时时间未超时时,则可以是根据数据传输指令传输业务数据,实现针对业务数据的及时传输控制,能够有效地兼顾业务数据的传输效果和传输该业务数据所需的个性化传输质量需求,有效提升业务数据传输控制效果。In the embodiments of the present disclosure, when transmitting service data according to the target discarding timing time, the timer may be triggered to start when the service data is received, and the timer may be configured as the target discarding timing time, and when the target discarding timing time exceeds From time to time, the business data can be triggered to be discarded, and when the target discarding time has not expired, the business data can be transmitted according to the data transmission instruction, so as to realize the timely transmission control of the business data, and can effectively take into account the transmission effect and transmission of the business data. The personalized transmission quality requirements required by the business data can effectively improve the control effect of business data transmission.
本公开实施例中,与不同业务类型信息对应的目标丢弃定时时间,可以相同或者不相同。In the embodiments of the present disclosure, the target discard timings corresponding to different service type information may be the same or different.
举例而言,游戏、增强现实(Augmented Reality,AR)/虚拟现实(Virtual Reality,VR)、语音等业务数据,在用户层面期待以尽可能快的方式传输,如果超过一定时限传输业务数据,可能会由于超时而降低传输意义,又例如,对可靠性要求高但实时性要求相对较低的业务数据,例如,网页浏览、表单数据提交等,在用户层面期待业务数据以最为可靠(reliable)的方式成功传输,相应的,此种类型的业务数据对实时性要求相对较低。For example, game, augmented reality (Augmented Reality, AR)/virtual reality (Virtual Reality, VR), voice and other service data are expected to be transmitted as fast as possible at the user level. If the transmission of service data exceeds a certain time limit, it may The meaning of transmission will be reduced due to timeout. For example, business data with high reliability requirements but relatively low real-time requirements, such as web browsing, form data submission, etc., at the user level, business data is expected to be the most reliable (reliable) Correspondingly, this type of business data has relatively low real-time requirements.
由此,本公开实施例中可以针对不同业务类型信息设置不同的目标丢弃定时时间,当检测到目标丢弃定时时间未超时,可以监听数据传输指令,并在监听到数据传输指令传输业务数据,当检测到目标丢弃定时时间超时时,则可以丢弃该业务数据,处理后续业务。Therefore, in the embodiments of the present disclosure, different target discarding timings can be set for different service types of information. When it is detected that the target discarding timing has not expired, the data transmission instruction can be monitored, and the service data can be transmitted when the data transmission instruction is detected. When it is detected that the target discarding timeout expires, the service data may be discarded to process subsequent services.
本公开实施例中提出的数据传输方法,通过获取待传输的业务数据,确定与业务数据对应的业务类型信息,确定与业务类型信息匹配的目标丢弃定时时间,以及根据目标丢弃定时时间,传输业务数据,由于是确定业务类型信息,配置与业务类型信息匹配的目标丢弃定时时间,能够对不同业务类型信息的业务数据配置相适配的丢弃定时时间,当基于调整得到的目标丢弃定时时间传输业务数据时,能够有效提升业务数据传输效率和传输稳定性,增强业务数据传输及时性与可靠性。The data transmission method proposed in the embodiments of the present disclosure obtains the service data to be transmitted, determines the service type information corresponding to the service data, determines the target discarding timing time matching the service type information, and transmits the business according to the target discarding timing time Data, because it is to determine the service type information, configure the target discard timing time that matches the service type information, and can configure the appropriate discard timing time for business data of different service type information, when the transmission service is based on the adjusted target discard timing time It can effectively improve the efficiency and stability of business data transmission, and enhance the timeliness and reliability of business data transmission.
图3是本公开另一实施例提出的数据传输方法的流程示意图。Fig. 3 is a schematic flowchart of a data transmission method proposed by another embodiment of the present disclosure.
如图3所示,该数据传输方法,包括步骤S301至步骤S305。As shown in FIG. 3, the data transmission method includes step S301 to step S305.
S301:获取待传输的业务数据。S301: Obtain service data to be transmitted.
S301的描述说明可以具体参见上述实施例,在此不再赘述。For the description of S301, reference may be made to the foregoing embodiments for details, and details are not repeated here.
S302:如果存在与业务数据对应的服务质量QoS流标识,则将服务质量QoS流标识作为业务类型信息。S302: If there is a quality of service QoS flow identifier corresponding to the service data, use the quality of service QoS flow identifier as service type information.
其中,用于描述业务数据的服务质量QoS流的标识,可以被称为服务质量QoS流标识,服务质量QoS流标识,可以被用于识别确认该业务数据是否具有对应的服务质量QoS流,和相应服务质量QoS流的服务质量需求。Wherein, the identifier of the quality of service QoS flow used to describe the service data may be referred to as the identifier of the quality of service QoS flow, and the identifier of the quality of service QoS flow may be used to identify and confirm whether the service data has a corresponding quality of service QoS flow, and QoS requirements of the corresponding QoS flow.
本公开实施例中,在存在与业务数据对应的服务质量QoS流标识时,可以直接将服务质量QoS流标识作为业务类型信息,由此,将服务质量QoS流标识作为业务类型信息,能够有效地提升业务类型信息确定的效率,并且,由于服务质量QoS能够相应地表征出业务数据的传输质量需求,从而将服务质量QoS流标识作为业务类型信息时,能够有效地保障业务类型信息对业务数据的传输质量需求表征的准确性,提升数据传输控制的准确性和传输控制效果。In the embodiment of the present disclosure, when there is a quality of service QoS flow identifier corresponding to the service data, the quality of service QoS flow identifier can be directly used as the service type information, thus, using the service quality QoS flow identifier as the service type information can effectively Improve the efficiency of business type information determination, and because the quality of service QoS can represent the transmission quality requirements of business data accordingly, when the quality of service QoS flow identifier is used as the business type information, it can effectively guarantee the accuracy of the service type information on the business data The accuracy of transmission quality requirement characterization improves the accuracy and transmission control effect of data transmission control.
本公开实施例中,服务质量QoS流标识的种类可以是多种,不同种类的服务质量QoS流标识可以对应不相同的传输网络或者数据传输策略,相应的,当直接将服务质量QoS流标识作为业务类型信息时,还可以支持采用与业务类型信息匹配的传输网络或者数据传输策略来传输业务数据。In the embodiments of the present disclosure, there may be multiple types of QoS flow identifiers, and different types of QoS flow identifiers may correspond to different transmission networks or data transmission strategies. Correspondingly, when directly using the QoS flow identifier as When receiving service type information, it can also support the use of a transmission network or data transmission strategy that matches the service type information to transmit service data.
本公开实施例中,如图4所示,图4是本公开另一实施例提出的业务数据传输示意图,在第五代移动通信技术无线接入网(5th Generation Mobile Communication Technology-Radio Access Network,5G-RAN)中的QoS架构连接到第五代移动通信技术(5th Generation Mobile Communication Technology,5G)核心网,5G核心网为每个终端建立一个或多个协议数据单元会话,5G-RAN与协议数据单元会话一起建立至少一个用户面数据无线承载,可为每个终端配置该协议数据单元会话的QoS流的附加用户面数据无线承载,5G-RAN将属于不同协议数据单元会话的业务数据映射到不同的用户面数 据无线承载中,终端和5G核心网中的业务类型信息与QoS流相关联,终端和5G-RAN中的级别映射,上下行QoS流与用户面数据无线承载相关联。In the embodiment of the present disclosure, as shown in FIG. 4, FIG. 4 is a schematic diagram of service data transmission proposed by another embodiment of the present disclosure. In the fifth generation mobile communication technology wireless access network (5th Generation Mobile Communication Technology-Radio Access Network, The QoS architecture in 5G-RAN) is connected to the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) core network. The 5G core network establishes one or more protocol data unit sessions for each terminal. 5G-RAN and protocol The data unit session establishes at least one user plane data radio bearer together, and the additional user plane data radio bearer of the QoS flow of the protocol data unit session can be configured for each terminal, and the 5G-RAN maps the service data belonging to different protocol data unit sessions to In different user plane data radio bearers, the service type information in the terminal and 5G core network is associated with the QoS flow, the level mapping between the terminal and 5G-RAN, and the uplink and downlink QoS flows are associated with the user plane data radio bearer.
本公开实施例中,如图5所示,图5是本公开另一实施例提出的业务数据传输流程图,在协议单元会话中将QoS流标识添加至业务数据中,并在SDAP层的业务数据/协议数据单元会话中,判断业务数据是否对应服务质量QoS流标识,根据判断结果,将多个业务数据分别输入至对应的协议数据单元会话中的多个数据承载中,分类为多种不同的分组数据汇聚协议PDCP的业务数据,在确认模式下,将业务数据由上行物理共享信道传输至多码字传输信道,再传输至专用业务信道,在非确认模式下,将业务数据分为上行无线链路控制协议业务数据和下行无线链路控制协议业务数据,经过专用业务信道传输至单码字传输信道,再经由下行物理共享信道传输至射频层。In the embodiment of the present disclosure, as shown in Figure 5, which is a flow chart of service data transmission proposed by another embodiment of the present disclosure, the QoS flow identifier is added to the service data in the session of the protocol unit, and the service at the SDAP layer In the data/protocol data unit session, judge whether the service data corresponds to the quality of service QoS flow identifier, and according to the judgment result, input multiple service data into multiple data bearers in the corresponding protocol data unit session, and classify them into different The business data of the packet data convergence protocol PDCP, in the confirmed mode, transmits the business data from the uplink physical shared channel to the multi-codeword transmission channel, and then transmits it to the dedicated traffic channel; in the unacknowledged mode, the business data is divided into uplink wireless Link control protocol service data and downlink radio link control protocol service data are transmitted to the single codeword transmission channel through the dedicated service channel, and then transmitted to the radio frequency layer through the downlink physical shared channel.
S303:如果不存在与业务数据对应的服务质量QoS流标识,则确定终端中的当前运行内容,并根据当前运行内容确定与业务数据对应的业务类型信息。S303: If there is no QoS flow identifier corresponding to the service data, determine the current running content in the terminal, and determine the service type information corresponding to the service data according to the current running content.
其中,终端可以是用户使用的手机、可穿戴设备等。Wherein, the terminal may be a mobile phone, a wearable device, etc. used by the user.
其中,在应用场景中,终端当前运行的相关的内容,可以被称为当前运行内容,当前运行内容可以例如是终端正在运行的应用程序、小程序或网页等相关的内容。Wherein, in the application scenario, the relevant content currently running on the terminal may be referred to as the current running content, and the current running content may be related content such as an application program, a small program, or a web page currently running on the terminal.
本公开实施例中,业务数据可以由终端生成,在业务数据未对应服务质量QoS流标识时,可以通过识别终端中的当前运行内容,根据当前运行内容确定与业务数据对应的业务类型信息,或者,也可以识别当前运行内容对应的服务需求信息,根据服务需求信息确定与业务数据对应的业务类型信息。In the embodiment of the present disclosure, the service data may be generated by the terminal. When the service data does not correspond to the service quality QoS flow identifier, the service type information corresponding to the service data may be determined according to the current operation content by identifying the current operation content in the terminal, or , the service requirement information corresponding to the current operation content may also be identified, and the service type information corresponding to the service data may be determined according to the service requirement information.
举例而言,当终端运行在线游戏时,基于该当前运行内容确定其对实时性需求较高,则可以选择高实时类型的业务类型信息作为该游戏程序所涉及业务数据的业务类型信息。For example, when the terminal is running an online game, it is determined based on the current running content that it has a high demand for real-time performance, then high real-time business type information can be selected as the business type information of the business data involved in the game program.
本公开实施例中,可以根据终端运行的当前运行内容,确定业务类型信息,可以预先设置业务类型信息对应的多种标识,将标识添加至对应的当前运行内容中,由此,在当前运行内容中识别对应标识,确定与该对应标识对应的业务类型信息,并作为与业务数据对应的业务类型信息,或者,还可以是采用其他任意可能的方式实现根据当前运行内容确定与业务数据对应的业务类型信息。In the embodiment of the present disclosure, the service type information can be determined according to the current running content of the terminal, and various identifiers corresponding to the service type information can be preset, and the identifiers can be added to the corresponding current running content, thus, in the current running content Identify the corresponding identifier in the corresponding identifier, determine the service type information corresponding to the corresponding identifier, and use it as the service type information corresponding to the service data, or use any other possible way to realize the determination of the service corresponding to the service data according to the current operation content type information.
在一些实施例中,本公开实施例中,根据当前运行内容确定与业务数据对应的业务类型信息时,如果当前运行内容为高实时性需求的内容,则将业务类型信息确定为高实时类型,如果当前运行内容为高可靠性需求的内容,则将业务类型信息确定为高可靠类型,由于是对当前运行内容进行需求解析,判断该当前运行内容的需求是高实时性需求或者是高可靠性需求,并基于当前运行内容的需求将其划分为高实时类型或者是高可靠类型,并作为业务类型信息,使得所确定的业务类型信息能够有效地表征出当前运行内容的需求情况,从而有效地保障业务类型信息对当前运行内容的需求的表征准确性,在有效满足个性化业务类型信息确定准确性的同时,有效地提升业务数据的业务类型信息的判定便捷性和判定效率。In some embodiments, in the embodiments of the present disclosure, when determining the service type information corresponding to the service data according to the current running content, if the current running content is content with high real-time requirements, then determine the business type information as the high real-time type, If the current operation content is content with high reliability requirements, determine the business type information as a high reliability type. Since the current operation content needs to be analyzed, it is judged whether the current operation content needs high real-time requirements or high reliability. Based on the requirements of the current running content, it is divided into high real-time type or high reliability type, and used as business type information, so that the determined business type information can effectively represent the demand of the current running content, so as to effectively Guarantee the accuracy of the representation of business type information on the needs of current operating content, and effectively improve the convenience and efficiency of determining business type information of business data while effectively satisfying the determination accuracy of personalized business type information.
其中,对实时性需求相对较高,而延时需求相对较低的当前运行内容,可以被称为高实时性需求的内容,高实时性需求的内容可以例如是游戏、语音通话、视频通话等内容。Among them, the current running content with relatively high real-time requirements and relatively low delay requirements can be called content with high real-time requirements. Content with high real-time requirements can be, for example, games, voice calls, video calls, etc. content.
其中,对可靠性需求相对较高的当前运行内容,可以被称为高可靠性需求的内容,高可靠性需求的内容可以例如是文字传输、网页展示等内容。Among them, the current running content with relatively high reliability requirements may be referred to as content with high reliability requirements, and the content with high reliability requirements may be, for example, content such as text transmission and web page display.
本公开实施例中,可以在终端当前运行内容中设置对应的实时性和可靠性对应的标识,根据标识判断当前运行内容为高实时性需求的内容或高可靠性需求的内容,或者,还可以识别当前运行内容的传输场景,例如当传输场景为游戏场景时,当前运行内容为高实时性需求的内容,当传输场景为浏览网页场景时,当前运行内容为高可靠性需求的内容。In the embodiment of the present disclosure, the corresponding real-time and reliability identifiers can be set in the current running content of the terminal, and the current running content can be judged as content with high real-time requirements or high reliability requirements according to the identifiers, or it can also be Identify the transmission scene of the current running content. For example, when the transmission scene is a game scene, the current running content is content with high real-time requirements; when the transmission scene is web browsing scene, the current running content is content with high reliability requirements.
S304:确定与业务类型信息匹配的目标丢弃定时时间。S304: Determine the target discard timing time matching the service type information.
一些实施例中,可以参考相应的匹配算法或者匹配规则,来确定与业务类型信息匹配的目标丢弃定时时间,或者,也可以是联合预先训练的匹配模型,来确定与业务类型信息匹配的目标丢弃定时时间。In some embodiments, the corresponding matching algorithm or matching rule can be referred to to determine the target discarding timing that matches the service type information, or it can also be combined with a pre-trained matching model to determine the target discarding time that matches the service type information. Timing.
在一些实施例中,如果业务类型信息是服务质量QoS流标识,则根据设定对应关系,确定与服务质量QoS流标识对应的丢弃定时时间,并将对应的丢弃定时时间作为目标丢弃定时时间,由此,实现直接地、快速地确定出与服务质量QoS流标识匹配的目标丢弃定时时间,能够根据服务质量QoS流标识匹配出更具有针对性的,且适合业务数据需求的目标丢弃定时时间,有效提升目标丢弃定时时间的匹配准确性。In some embodiments, if the service type information is the quality of service QoS flow identifier, then according to the set correspondence, determine the discard timing time corresponding to the quality of service QoS flow identifier, and use the corresponding discard timing time as the target discard timing time, In this way, it is possible to directly and quickly determine the target discard timing time matching the quality of service QoS flow identifier, and to match a more targeted and suitable target discard timing time for service data requirements according to the quality of service QoS flow identifier. Effectively improve the matching accuracy of target discard timing.
本公开实施例中,可以预先在服务质量QoS流标识中,添加对应的目标丢弃定时时间的识别码,该识别码可以是代码、数字、符号等的组合,用于标识对应的丢弃定时时间,通过该识别码,识别对应的丢弃定时时间作为目标丢弃定时时间,或者,也可以采用其他任意可能的方式实现确定与服务质量QoS流标识对应的丢弃定时时间。In the embodiment of the present disclosure, the identification code of the corresponding target discard timing time can be added to the service quality QoS flow identifier in advance. The identification code can be a combination of codes, numbers, symbols, etc., and is used to identify the corresponding discard timing time. Through the identification code, identify the corresponding discarding timing time as the target discarding timing time, or, any other possible manner may be used to determine the discarding timing time corresponding to the quality of service QoS flow identifier.
举例而言,可以在分组数据汇聚协议PDCP对应的业务数据传输至PDCP层时,通过识别服务质量QoS流标识,根据设定对应关系确定与之对应的丢弃定时时间,并将对应的丢弃定时时间作为目标丢弃定时时间,以对业务数据进行传输控制,或者,也可以在终端中查询业务数据的服务质量QoS流标识,并根据服务质量QoS流标识动态地配置相应的丢弃定时时间。For example, when the service data corresponding to the packet data convergence protocol PDCP is transmitted to the PDCP layer, the quality of service QoS flow identifier can be identified, and the corresponding discard timing time can be determined according to the set corresponding relationship, and the corresponding discard timing time The target discard timing is used to control the transmission of service data, or the QoS flow identifier of the service data can be queried in the terminal, and the corresponding discard timing is dynamically configured according to the QoS flow identifier.
在一些实施例中,如果业务类型信息是高实时类型,则将第一丢弃定时时间作为目标丢弃定时时间,其中,第一丢弃定时时间小于第一定时时间阈值;或者如果业务类型信息是高可靠类型,则将第二丢弃定时时间作为目标丢弃定时时间,其中,第二丢弃定时时间大于第二定时时间阈值,且第一定时时间阈值小于或者等于第二定时时间阈值,由于是对业务类型信息进行细致分析,当业务类型信息是高实时类型时,可以配置第一丢弃定时时间,当业务类型信息是高实时类型时,此时可以配置第二丢弃定时时间,能够实现丢弃定时时间的个性化配置,使得所配置的丢弃定时时间有效地适配于业务数据不同的业务传输需求,并且,由于第一丢弃定时时间小于第一定时时间阈值,第二丢弃 定时时间大于第二定时时间阈值,且第一定时时间阈值小于或者等于第二定时时间阈值,使得业务数据的传输控制能够有效地兼顾传输的实时性需求和稳定性需求,有效地保障整体的传输控制效果。In some embodiments, if the service type information is a high real-time type, the first discarding timing is used as the target discarding timing, wherein the first discarding timing is less than the first timing threshold; or if the service type information is high reliability type, then use the second discarding timing as the target discarding timing, wherein the second discarding timing is greater than the second timing threshold, and the first timing threshold is less than or equal to the second timing threshold, because the service type information After detailed analysis, when the service type information is high real-time type, you can configure the first discard timing time, and when the service type information is high real-time type, you can configure the second discard timing time at this time, which can realize the personalization of the discard timing time Configured so that the configured discarding timing is effectively adapted to different business transmission requirements of business data, and, since the first discarding timing is smaller than the first timing threshold, the second discarding timing is greater than the second timing threshold, and The first timing threshold is less than or equal to the second timing threshold, so that the transmission control of service data can effectively take into account the real-time requirements and stability requirements of transmission, and effectively guarantee the overall transmission control effect.
本公开实施例中,第一丢弃定时时间对应的时间阈值,可以被称为第一定时时间阈值,第一定时时间阈值,可以被用于衡量所配置的第一丢弃定时时间的大小,当配置第一丢弃定时时间小于第一定时时间阈值时,可以表征相应的减短了丢弃定时时间,即业务类型信息是高实时性类型,表示业务数据的实时性需求程度较高,此时可以配置相对较小的第一丢弃定时时间,使得业务数据能够及时地被传输,保障业务数据传输的实时性需求。In the embodiments of the present disclosure, the time threshold corresponding to the first discarding timing may be referred to as the first timing threshold, and the first timing threshold may be used to measure the size of the configured first discarding timing. When configuring When the first discard timing time is less than the first timing threshold, it can indicate that the discard timing time has been shortened accordingly, that is, the service type information is a high real-time type, indicating that the real-time requirements of service data are high. The relatively small first discarding timing enables timely transmission of service data and guarantees the real-time requirements of service data transmission.
举例而言,第一丢弃定时时间可以配置为30ms。For example, the first discarding timing may be configured as 30ms.
本公开实施例中,第二丢弃定时时间对应的时间阈值,可以被称为第二定时时间阈值,第二定时时间阈值,可以被用于衡量所配置的第二丢弃定时时间的大小,当配置第二丢弃定时时间大于第二定时时间阈值时,可以表征相应的延长了丢弃定时时间,即业务类型信息是高可靠性类型,表示业务数据的可靠性需求程度较高,此时可以配置相对较长的第二丢弃定时时间,使得业务数据能够稳定地被传输,保障业务数据传输的稳定性需求。In the embodiment of the present disclosure, the time threshold corresponding to the second discard timing time may be referred to as the second timing time threshold, and the second timing time threshold may be used to measure the size of the configured second discard timing time. When configuring When the second discarding timing is greater than the second timing threshold, it can indicate that the discarding timing has been extended correspondingly, that is, the service type information is a high-reliability type, indicating that the reliability of the service data is high. The long second discard timing enables stable transmission of service data and ensures the stability requirements of service data transmission.
举例而言,第二丢弃定时时间可以配置为3s,或者也可以不设置上限。For example, the second discarding timing may be configured as 3s, or no upper limit may be set.
S305:根据目标丢弃定时时间,传输业务数据。S305: Transmit service data according to the target discard timing.
S304至S305的描述说明可以具体参见上述实施例,在此不再赘述。For descriptions of S304 to S305, reference may be made to the foregoing embodiments, and details are not repeated here.
本公开实施例中,由于是确定业务类型信息,配置与业务类型信息匹配的目标丢弃定时时间,能够对不同业务类型信息的业务数据配置相适配的丢弃定时时间,当基于调整得到的目标丢弃定时时间传输业务数据时,能够有效提升业务数据传输效率和传输稳定性,增强业务数据传输及时性与可靠性。如果存在与业务数据对应的服务质量QoS流标识,则将服务质量QoS流标识作为业务类型信息,将服务质量QoS流标识作为业务类型信息,能够有效地提升业务类型信息确定的效率,并且,由于服务质量QoS能够相应地表征出业务数据的传输质量需求,从而将服务质量QoS流标识作为业务类型信息时,能够有效地保障业务类型信息对业务数据的传输质量需求表征的准确性,提升数据传输控制的准确性和传输控制效果。如果不存在与业务数据对应的服务质量QoS流标识,则确定终端中的当前运行内容,并根据当前运行内容确定与业务数据对应的业务类型信息,能够参考终端中的当前运行内容对未标识服务质量QoS流标识的业务数据确定对应的业务类型信息,有效地提升业务类型信息确定的全面性、准确性、灵活性,从而有效地提升目标丢弃定时时间设置的准确性,有效兼顾业务数据传输及时性和稳定性。由于是对当前运行内容进行需求解析,判断该当前运行内容的需求是高实时性需求或者是高可靠性需求,并基于当前运行内容的需求将其划分为高实时类型或者是高可靠类型,并作为业务类型信息,使得所确定的业务类型信息能够有效地表征出当前运行内容的需求情况,从而有效地保障业务类型信息对当前运行内容的需求的表征准确性,在有效满足 个性化业务类型信息确定准确性的同时,有效地提升业务数据的业务类型信息的判定便捷性和判定效率。In the embodiment of the present disclosure, since the service type information is determined and the target discard timing time matching the service type information is configured, it is possible to configure a suitable discard timing time for service data of different service type information. When based on the adjusted target discard When the business data is transmitted at regular time, it can effectively improve the efficiency and stability of business data transmission, and enhance the timeliness and reliability of business data transmission. If there is a quality of service QoS flow identifier corresponding to the service data, then using the quality of service QoS flow identifier as the service type information and using the service quality QoS flow identifier as the service type information can effectively improve the efficiency of determining the service type information, and, because The quality of service QoS can represent the transmission quality requirements of business data accordingly, so that when the quality of service QoS flow identifier is used as the service type information, it can effectively guarantee the accuracy of service type information on the transmission quality requirements of service data and improve data transmission. Control accuracy and transmission control effect. If there is no service quality QoS flow identification corresponding to the business data, then determine the current running content in the terminal, and determine the service type information corresponding to the business data according to the current running content, and can refer to the current running content in the terminal for unidentified services The service data identified by the quality QoS flow identifies the corresponding service type information, which effectively improves the comprehensiveness, accuracy, and flexibility of the service type information determination, thereby effectively improving the accuracy of the target discard timing time setting, and effectively taking into account the timely transmission of service data sex and stability. Due to the requirement analysis for the current operation content, it is judged whether the requirement of the current operation content is high real-time requirement or high reliability requirement, and based on the requirement of the current operation content, it is divided into high real-time type or high reliability type, and As business type information, the determined business type information can effectively represent the requirements of the current operating content, thereby effectively ensuring the accuracy of the representation of the business type information on the current operating content requirements, and effectively satisfying the personalized business type information. While determining the accuracy, it effectively improves the convenience and efficiency of determining the business type information of the business data.
综上所述,如图6所示,图6是本公开另一实施例提出的数据传输流程图,终端中,具有对应的当前运行内容,在终端有业务数据发送时,判断业务数据是否对应服务质量QoS流标识,若是,则识别对应的服务质量QoS流标识,根据服务质量QoS流标识采用对应的丢弃定时时间;对于实时性需求较高的服务质量QoS流标识,采用较低的丢弃定时时间作为目标丢弃定时时间;对于稳定性需求较高的服务质量QoS流标识,采用较高的丢弃定时时间作为目标丢弃定时时间,当目标丢弃定时时间超时,则对业务数据进行丢弃控制。当业务数据未具有对应的服务质量QoS流标识,则确定传输业务数据的需求,根据传输业务数据的需求,确定业务类型信息,并采用与业务类型信息对应的丢弃定时时间;对于业务类型信息为高实时性类型,采用相对较低的丢弃定时时间作为目标丢弃定时时间;对于业务类型信息为高可靠性类型,采用相对较高的丢弃定时时间作为目标丢弃定时时间。To sum up, as shown in Figure 6, Figure 6 is a flow chart of data transmission proposed by another embodiment of the present disclosure. The terminal has corresponding current running content, and when the terminal has service data to send, it is judged whether the service data corresponds to Quality of service QoS flow identification, if so, then identify the corresponding quality of service QoS flow identification, adopt the corresponding discarding timing according to the quality of service QoS flow identification; Time is used as the target discard timing time; for QoS flow identifiers with high stability requirements, a higher discard timing time is used as the target discard timing time, and when the target discard timing time exceeds, the service data is discarded. When the service data does not have the corresponding service quality QoS flow identification, then determine the demand for transmitting service data, determine the service type information according to the demand for transmitting service data, and adopt the discarding timing corresponding to the service type information; for the service type information is For the high real-time type, a relatively low discard timing is used as the target discard timing; for the service type information of the high reliability type, a relatively high discard timing is used as the target discard timing.
其中,较低的丢弃定时时间可以是30ms,也即当达到30ms时,业务数据仍未完成传输,则可以选择丢弃该业务数据,较高的丢弃定时时间可以设置为3s,也即对可靠性需求高的业务数据,可以持续等待该业务数据的传输,直至传输完成,较低的丢弃定时时间和较高的丢弃定时时间的可以根据实际需要设置。Among them, the lower discarding timing can be 30ms, that is, when the service data has not been transmitted when it reaches 30ms, you can choose to discard the service data, and the higher discarding timing can be set to 3s, that is, the reliability For service data with high demand, you can continue to wait for the transmission of the service data until the transmission is completed. The lower and higher discard timings can be set according to actual needs.
图7是根据本公开一实施例提出的数据传输装置的结构示意图。FIG. 7 is a schematic structural diagram of a data transmission device according to an embodiment of the disclosure.
如图7所示,该数据传输装置70,包括:As shown in Figure 7, the data transmission device 70 includes:
获取模块701,用于获取待传输的业务数据;An acquisition module 701, configured to acquire business data to be transmitted;
第一确定模块702,用于确定与业务数据对应的业务类型信息;A first determining module 702, configured to determine service type information corresponding to the service data;
第二确定模块703,用于确定与业务类型信息匹配的目标丢弃定时时间;The second determination module 703 is configured to determine the target discard timing time matched with the service type information;
传输模块704,用于根据目标丢弃定时时间,传输业务数据。The transmission module 704 is configured to transmit service data according to the target discard timing.
在本公开的一些实施例中,如图8所示,图8是根据本公开另一实施例提出的数据传输装置的结构示意图,第一确定模块702,包括:In some embodiments of the present disclosure, as shown in FIG. 8, FIG. 8 is a schematic structural diagram of a data transmission device according to another embodiment of the present disclosure. The first determination module 702 includes:
第一确定子模块7021,用于当存在与业务数据对应的服务质量QoS流标识时,将服务质量QoS流标识作为业务类型信息;The first determining submodule 7021 is configured to use the quality of service QoS flow identifier as service type information when there is a quality of service QoS flow identifier corresponding to the service data;
第二确定子模块7022,用于当不存在与业务数据对应的服务质量QoS流标识时,确定终端中的当前运行内容,并根据当前运行内容确定与业务数据对应的业务类型信息。The second determining sub-module 7022 is configured to determine the current running content in the terminal when there is no QoS flow identifier corresponding to the service data, and determine the service type information corresponding to the service data according to the current running content.
在本公开的一些实施例中,如图8所示,第二确定子模块7022,具体用于:In some embodiments of the present disclosure, as shown in FIG. 8, the second determining submodule 7022 is specifically used for:
当当前运行内容为高实时性需求的内容时,将业务类型信息确定为高实时类型;When the current running content is content with high real-time requirements, determine the business type information as high real-time type;
当当前运行内容为高可靠性需求的内容时,将业务类型信息确定为高可靠类型。When the current running content is a content requiring high reliability, the service type information is determined as a high reliability type.
在本公开的一些实施例中,如图8所示,第二确定模块703,具体用于:In some embodiments of the present disclosure, as shown in FIG. 8, the second determining module 703 is specifically configured to:
当业务类型信息是服务质量QoS流标识时,根据设定对应关系,确定与服务质量QoS流标识对应的丢弃定时时间,并将对应的丢弃定时时间作为目标丢弃定时时间。When the service type information is the quality of service QoS flow identifier, according to the set correspondence, determine the discard timing time corresponding to the quality of service QoS flow identifier, and use the corresponding discard timing time as the target discard timing time.
在本公开的一些实施例中,如图8所示,第二确定模块703,具体用于:In some embodiments of the present disclosure, as shown in FIG. 8, the second determining module 703 is specifically configured to:
当业务类型信息是高实时类型时,将第一丢弃定时时间作为目标丢弃定时时间,其中,第一丢弃定时时间小于第一定时时间阈值;或者When the service type information is a high real-time type, the first discarding timing is used as the target discarding timing, wherein the first discarding timing is less than the first timing threshold; or
当业务类型信息是高可靠类型时,将第二丢弃定时时间作为目标丢弃定时时间,其中,第二丢弃定时时间大于第二定时时间阈值,且第一定时时间阈值小于或者等于第二定时时间阈值。When the service type information is a high-reliability type, the second discarding timing is used as the target discarding timing, wherein the second discarding timing is greater than the second timing threshold, and the first timing threshold is less than or equal to the second timing threshold .
在本公开的一些实施例中,如图8所示,传输模块704,具体用于:In some embodiments of the present disclosure, as shown in FIG. 8, the transmission module 704 is specifically used for:
当目标丢弃定时时间未超时,响应于数据传输指令,传输业务数据;When the target discarding time has not expired, respond to the data transmission instruction, and transmit the service data;
当目标丢弃定时时间超时,丢弃业务数据。When the target discarding timer times out, the service data is discarded.
与上述图1至图6实施例提供的数据传输方法相对应,本公开还提供一种数据传输装置,由于本公开实施例提供的数据传输装置与上述图1至图6实施例提供的数据传输方法相对应,因此在数据传输方法的实施方式也适用于本公开实施例提供的数据传输装置,在本公开实施例中不再详细描述。Corresponding to the data transmission method provided by the embodiments of FIGS. 1 to 6 above, the present disclosure also provides a data transmission device. The method is corresponding, so the implementation of the data transmission method is also applicable to the data transmission device provided in the embodiment of the present disclosure, and will not be described in detail in the embodiment of the present disclosure.
本公开实施例中提出的数据传输装置,通过获取待传输的业务数据,确定与业务数据对应的业务类型信息,确定与业务类型信息匹配的目标丢弃定时时间,以及根据目标丢弃定时时间,传输业务数据,由于是确定业务类型信息,配置与业务类型信息匹配的目标丢弃定时时间,能够对不同业务类型信息的业务数据配置相适配的丢弃定时时间,当基于调整得到的目标丢弃定时时间传输业务数据时,能够有效提升业务数据传输效率和传输稳定性,增强业务数据传输及时性与可靠性。The data transmission device proposed in the embodiment of the present disclosure determines the service type information corresponding to the service data by acquiring the service data to be transmitted, determines the target discarding timing time matching the service type information, and transmits the service according to the target discarding timing time Data, because it is to determine the service type information, configure the target discard timing time that matches the service type information, and can configure the appropriate discard timing time for business data of different service type information, when the transmission service is based on the adjusted target discard timing time It can effectively improve the efficiency and stability of business data transmission, and enhance the timeliness and reliability of business data transmission.
为了实现上述实施例,本公开还提出一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开前述实施例提出的数据传输方法。In order to implement the above embodiments, the present disclosure also proposes a non-transitory computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the data transmission method as proposed in the foregoing embodiments of the present disclosure is implemented.
为了实现上述实施例,本公开还提出一种终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时,实现如本公开前述实施例提出的数据传输方法。In order to realize the above-mentioned embodiments, the present disclosure also proposes a terminal, including: a memory, a processor, and a computer program stored on the memory and operable on the processor. data transfer method.
为了实现上述实施例,本公开还提出一种计算机程序产品,当计算机程序产品中的指令处理器执行时,执行如本公开前述实施例提出的数据传输方法。In order to realize the above-mentioned embodiments, the present disclosure further proposes a computer program product. When the instruction processor in the computer program product executes, it executes the data transmission method provided in the foregoing embodiments of the present disclosure.
图9示出了适于用来实现本公开实施方式的示例性终端的框图。图9显示的终端12仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。FIG. 9 shows a block diagram of an exemplary terminal suitable for implementing embodiments of the present disclosure. The terminal 12 shown in FIG. 9 is only an example, and should not limit the functions and scope of use of this embodiment of the present disclosure.
如图9所示,终端12以通用计算设备的形式表现。终端12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry Standard Architecture;以下简称:ISA)总线,微通道体系结构(Micro Channel Architecture;以下简称:MAC)总线,增强型ISA总线、视频电子标准协会(Video Electronics Standards Association;以下简称:VESA)局域总线以及外围组件互连(Peripheral Component Interconnection;以下简称:PCI)总线。As shown in FIG. 9, terminal 12 takes the form of a general-purpose computing device. Components of terminal 12 may include, but are not limited to: one or more processors or processing units 16, system memory 28, bus 18 connecting various system components including system memory 28 and processing unit 16. Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (Industry Standard Architecture; hereinafter referred to as: ISA) bus, Micro Channel Architecture (Micro Channel Architecture; hereinafter referred to as: MAC) bus, enhanced ISA bus, video electronics Standards Association (Video Electronics Standards Association; hereinafter referred to as: VESA) local bus and Peripheral Component Interconnection (hereinafter referred to as: PCI) bus.
终端12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被终端12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。 Terminal 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by terminal 12 and include both volatile and nonvolatile media, removable and non-removable media.
存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(Random Access Memory;以下简称:RAM)30和/或高速缓存存储器32。终端12可以进一步包括其他可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图9未显示,通常称为“硬盘驱动器”)。The memory 28 may include a computer system readable medium in the form of a volatile memory, such as a random access memory (Random Access Memory; hereinafter referred to as: RAM) 30 and/or a cache memory 32 . Terminal 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 9, commonly referred to as a "hard drive").
尽管图9中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如:光盘只读存储器(Compact Disc Read Only Memory;以下简称:CD-ROM)、数字多功能只读光盘(Digital Video Disc Read Only Memory;以下简称:DVD-ROM)或者其他光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本公开各实施例的功能。Although not shown in FIG. 9, a disk drive for reading and writing to a removable nonvolatile disk (such as a "floppy disk") may be provided, as well as a removable nonvolatile disk (such as a Compact Disk ROM (Compact Disk). Disc Read Only Memory; hereinafter referred to as: CD-ROM), Digital Video Disc Read Only Memory (hereinafter referred to as: DVD-ROM) or other optical media) CD-ROM drive. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. Memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present disclosure.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括但不限于操作系统、一个或者多个应用程序、其他程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本公开所描述的实施例中的功能和/或方法。Program/utility 40 may be stored, for example, in memory 28 as a set (at least one) of program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data , each or some combination of these examples may include implementations of network environments. The program modules 42 generally perform the functions and/or methods of the embodiments described in this disclosure.
终端12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该终端12交互的设备通信,和/或与使得该终端12能与一个或多个其他计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,终端12还可以通过网络适配器20与一个或者多个网络(例如局域网(Local Area Network;以下简称:LAN),广域网(Wide Area Net work;以下简称:WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与终端12的其他模块通信。应当明白,尽管图中未示出,可以结合终端12使用其他硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The terminal 12 may also communicate with one or more external devices 14 (such as a keyboard, pointing device, display 24, etc.), and may also communicate with one or more devices that enable a user to interact with the terminal 12, and/or communicate with the Terminal 12 is capable of communicating with any device (eg, network card, modem, etc.) that communicates with one or more other computing devices. Such communication may occur through input/output (I/O) interface 22 . Moreover, the terminal 12 can also communicate with one or more networks (such as a local area network (Local Area Network; hereinafter referred to as: LAN), a wide area network (Wide Area Network; hereinafter referred to as: WAN) and/or a public network, such as the Internet, through the network adapter 20. ) communication. As shown, network adapter 20 communicates with other modules of terminal 12 via bus 18 . It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with terminal 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and Data backup storage system, etc.
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现前述实施例中提及的数据传输方法。The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28 , such as implementing the data transmission method mentioned in the foregoing embodiments.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其他实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any modification, use or adaptation of the present disclosure. These modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且 可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
需要说明的是,在本公开的描述中,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本公开的描述中,除非另有说明,“多个”的含义是两个或两个以上。It should be noted that, in the description of the present disclosure, terms such as "first" and "second" are used for description purposes only, and should not be understood as indicating or implying relative importance. In addition, in the description of the present disclosure, unless otherwise specified, "plurality" means two or more.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本公开的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本公开的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the present disclosure includes additional implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present disclosure pertain.
应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present disclosure may be implemented in hardware, software, firmware or a combination thereof. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included.
此外,在本公开各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present disclosure. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
尽管上面已经示出和描述了本公开的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本公开的限制,本领域的普通技术人员在本公开的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present disclosure, and those skilled in the art can understand the above-mentioned embodiments within the scope of the present disclosure. The embodiments are subject to changes, modifications, substitutions and variations.

Claims (15)

  1. 一种数据传输方法,应用于终端,其特征在于,包括:A data transmission method applied to a terminal, characterized in that it includes:
    获取待传输的业务数据;Obtain the business data to be transmitted;
    确定与所述业务数据对应的业务类型信息;Determining service type information corresponding to the service data;
    确定与所述业务类型信息匹配的目标丢弃定时时间;以及determining a target discard timing time matched with the service type information; and
    根据所述目标丢弃定时时间,传输所述业务数据。The service data is transmitted according to the target discard timing.
  2. 如权利要求1所述的方法,其特征在于,所述确定与所述业务数据对应的业务类型信息,包括:The method according to claim 1, wherein said determining the service type information corresponding to said service data comprises:
    如果存在与所述业务数据对应的服务质量QoS流标识,则将所述服务质量QoS流标识作为所述业务类型信息;If there is a quality of service QoS flow identifier corresponding to the service data, using the quality of service QoS flow identifier as the service type information;
    如果不存在与所述业务数据对应的所述服务质量QoS流标识,则确定所述终端中的当前运行内容,并根据所述当前运行内容确定与所述业务数据对应的业务类型信息。If there is no QoS flow identifier corresponding to the service data, determine current running content in the terminal, and determine service type information corresponding to the service data according to the current running content.
  3. 如权利要求2所述的方法,其特征在于,所述根据所述当前运行内容确定与所述业务数据对应的业务类型信息,包括:The method according to claim 2, wherein the determining the service type information corresponding to the service data according to the current operation content comprises:
    如果所述当前运行内容为高实时性需求的内容,则将所述业务类型信息确定为高实时类型;If the current running content is content with high real-time requirements, then determine the service type information as high real-time type;
    如果所述当前运行内容为高可靠性需求的内容,则将所述业务类型信息确定为高可靠类型。If the current running content is a content requiring high reliability, the service type information is determined as a high reliability type.
  4. 如权利要求2所述的方法,其特征在于,所述确定与所述业务类型信息匹配的目标丢弃定时时间,包括:The method according to claim 2, wherein said determining the target discard timing time matched with said service type information comprises:
    如果所述业务类型信息是所述服务质量QoS流标识,则根据设定对应关系,确定与所述服务质量QoS流标识对应的丢弃定时时间,并将所述对应的丢弃定时时间作为所述目标丢弃定时时间。If the service type information is the quality of service QoS flow identifier, then according to the set correspondence, determine the discard timing time corresponding to the quality of service QoS flow identifier, and use the corresponding discard timing time as the target Discard the timer.
  5. 如权利要求3所述的方法,其特征在于,所述确定与所述业务类型信息匹配的目标丢弃定时时间,包括:The method according to claim 3, wherein said determining the target discard timing time matched with said service type information comprises:
    如果所述业务类型信息是所述高实时类型,则将第一丢弃定时时间作为所述目标丢弃定时时间,其中,所述第一丢弃定时时间小于第一定时时间阈值;或者If the service type information is the high real-time type, using the first discarding timing as the target discarding timing, wherein the first discarding timing is less than a first timing threshold; or
    如果所述业务类型信息是所述高可靠类型,则将第二丢弃定时时间作为所述目标丢弃定时时间,其中,所述第二丢弃定时时间大于第二定时时间阈值,且所述第一定时时间阈值小于或者等于所述第二定时时间阈值。If the service type information is the high-reliability type, set the second discarding timing as the target discarding timing, wherein the second discarding timing is greater than the second timing threshold, and the first timing The time threshold is less than or equal to the second timing time threshold.
  6. 如权利要求1至5任一项所述的方法,其特征在于,所述根据所述目标丢弃定时时间,传输所述业务数据,包括:The method according to any one of claims 1 to 5, wherein the transmitting the service data according to the target discarding timing includes:
    如果所述目标丢弃定时时间未超时,则响应于数据传输指令,传输所述业务数据;If the target discarding time has not expired, transmitting the service data in response to a data transmission instruction;
    如果所述目标丢弃定时时间超时,则丢弃所述业务数据。If the target discarding timeout expires, the service data is discarded.
  7. 一种数据传输装置,应用于终端,其特征在于,包括:A data transmission device applied to a terminal, characterized in that it includes:
    获取模块,用于获取待传输的业务数据;An acquisition module, configured to acquire business data to be transmitted;
    第一确定模块,用于确定与所述业务数据对应的业务类型信息;A first determining module, configured to determine service type information corresponding to the service data;
    第二确定模块,用于确定与所述业务类型信息匹配的目标丢弃定时时间;A second determining module, configured to determine a target discard timing time matched with the service type information;
    传输模块,用于根据所述目标丢弃定时时间,传输所述业务数据。A transmission module, configured to transmit the service data according to the target discard timing.
  8. 如权利要求7所述的装置,其特征在于,所述第一确定模块,包括:The device according to claim 7, wherein the first determining module comprises:
    第一确定子模块,用于当存在与所述业务数据对应的服务质量QoS流标识时,将所述服务质量QoS流标识作为所述业务类型信息;The first determining submodule is configured to use the quality of service QoS flow identifier as the service type information when there is a quality of service QoS flow identifier corresponding to the service data;
    第二确定子模块,用于当不存在与所述业务数据对应的所述服务质量QoS流标识时,确定所述终端中的当前运行内容,并根据所述当前运行内容确定与所述业务数据对应的业务类型信息。The second determination submodule is used to determine the current operation content in the terminal when there is no service quality QoS flow identifier corresponding to the service data, and determine the content related to the service data according to the current operation content Corresponding business type information.
  9. 如权利要求8所述的装置,其特征在于,所述第二确定子模块,具体用于:The device according to claim 8, wherein the second determining submodule is specifically used for:
    当所述当前运行内容为高实时性需求的内容时,将所述业务类型信息确定为高实时类型;When the current running content is content with a high real-time requirement, determine the service type information as a high real-time type;
    当所述当前运行内容为高可靠性需求的内容时,将所述业务类型信息确定为高可靠类型。When the current running content is a content requiring high reliability, the service type information is determined as a high reliability type.
  10. 如权利要求8所述的装置,其特征在于,所述第二确定模块,具体用于:The device according to claim 8, wherein the second determining module is specifically configured to:
    当所述业务类型信息是所述服务质量QoS流标识时,根据设定对应关系,确定与所述服务质量QoS流标识对应的丢弃定时时间,并将所述对应的丢弃定时时间作为所述目标丢弃定时时间。When the service type information is the quality of service QoS flow identifier, according to the set correspondence, determine the discard timing time corresponding to the quality of service QoS flow identifier, and use the corresponding discard timing time as the target Discard the timer.
  11. 如权利要求9所述的装置,其特征在于,所述第二确定模块,具体用于:The device according to claim 9, wherein the second determining module is specifically configured to:
    当所述业务类型信息是所述高实时类型时,将第一丢弃定时时间作为所述目标丢弃定时时间,其中,所述第一丢弃定时时间小于第一定时时间阈值;或者When the service type information is the high real-time type, using the first discarding timing as the target discarding timing, wherein the first discarding timing is less than a first timing threshold; or
    当所述业务类型信息是所述高可靠类型时,将第二丢弃定时时间作为所述目标丢弃定时时间,其中,所述第二丢弃定时时间大于第二定时时间阈值,且所述第一定时时间阈值小于或者等于所述第二定时时间阈值。When the service type information is the high-reliability type, use the second discarding timing as the target discarding timing, wherein the second discarding timing is greater than the second timing threshold, and the first timing The time threshold is less than or equal to the second timing time threshold.
  12. 如权利要求7至11任一项所述的装置,其特征在于,所述传输模块,具体用于:The device according to any one of claims 7 to 11, wherein the transmission module is specifically used for:
    当所述目标丢弃定时时间未超时,响应于数据传输指令,传输所述业务数据;When the target discarding time has not expired, responding to a data transmission instruction, transmitting the service data;
    当所述目标丢弃定时时间超时,丢弃所述业务数据。When the target discarding timer times out, the service data is discarded.
  13. 一种终端,包括:A terminal comprising:
    至少一个处理器;以及at least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行以下步骤:The memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor to enable the at least one processor to perform the following steps:
    获取待传输的业务数据;Obtain the business data to be transmitted;
    确定与所述业务数据对应的业务类型信息;Determining service type information corresponding to the service data;
    确定与所述业务类型信息匹配的目标丢弃定时时间;以及determining a target discard timing time matched with the service type information; and
    根据所述目标丢弃定时时间,传输所述业务数据。The service data is transmitted according to the target discard timing.
  14. 一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行以下步骤:A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to perform the following steps:
    获取待传输的业务数据;Obtain the business data to be transmitted;
    确定与所述业务数据对应的业务类型信息;Determining service type information corresponding to the service data;
    确定与所述业务类型信息匹配的目标丢弃定时时间;以及determining a target discard timing time matched with the service type information; and
    根据所述目标丢弃定时时间,传输所述业务数据。The service data is transmitted according to the target discard timing.
  15. 一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现以下步骤:A computer program product comprising a computer program which, when executed by a processor, carries out the steps of:
    获取待传输的业务数据;Obtain the business data to be transmitted;
    确定与所述业务数据对应的业务类型信息;Determining service type information corresponding to the service data;
    确定与所述业务类型信息匹配的目标丢弃定时时间;以及determining a target discard timing time matched with the service type information; and
    根据所述目标丢弃定时时间,传输所述业务数据。The service data is transmitted according to the target discard timing.
PCT/CN2022/090811 2021-12-28 2022-04-29 Data transmission method and device, and terminal and storage medium WO2023123790A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111629185.9 2021-12-28
CN202111629185.9A CN116367238A (en) 2021-12-28 2021-12-28 Data transmission method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
WO2023123790A1 true WO2023123790A1 (en) 2023-07-06

Family

ID=86914996

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/090811 WO2023123790A1 (en) 2021-12-28 2022-04-29 Data transmission method and device, and terminal and storage medium

Country Status (2)

Country Link
CN (1) CN116367238A (en)
WO (1) WO2023123790A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108848532A (en) * 2018-06-06 2018-11-20 Oppo广东移动通信有限公司 A kind of data transfer optimization method, apparatus and computer storage medium
CN110505279A (en) * 2019-07-24 2019-11-26 维沃移动通信有限公司 The method and apparatus of delay is set
US20200260377A1 (en) * 2019-02-12 2020-08-13 Samsung Electronics Co., Ltd. Method and apparatus for applying dynamic scheduling to reduce power consumption in next generation communication system
WO2021031019A1 (en) * 2019-08-16 2021-02-25 Oppo广东移动通信有限公司 Data packet deletion method, device, and storage medium
CN112889254A (en) * 2018-11-02 2021-06-01 华为技术有限公司 Method and system for processing data packet by using strategy

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108848532A (en) * 2018-06-06 2018-11-20 Oppo广东移动通信有限公司 A kind of data transfer optimization method, apparatus and computer storage medium
CN112889254A (en) * 2018-11-02 2021-06-01 华为技术有限公司 Method and system for processing data packet by using strategy
US20200260377A1 (en) * 2019-02-12 2020-08-13 Samsung Electronics Co., Ltd. Method and apparatus for applying dynamic scheduling to reduce power consumption in next generation communication system
CN110505279A (en) * 2019-07-24 2019-11-26 维沃移动通信有限公司 The method and apparatus of delay is set
WO2021031019A1 (en) * 2019-08-16 2021-02-25 Oppo广东移动通信有限公司 Data packet deletion method, device, and storage medium

Also Published As

Publication number Publication date
CN116367238A (en) 2023-06-30

Similar Documents

Publication Publication Date Title
US20210337404A1 (en) Service continuity implementation method, apparatus, and system
CN108616458B (en) System and method for scheduling packet transmissions on a client device
TWI392393B (en) Method and apparatus for performing buffer status reporting
US8606290B2 (en) Method and apparatus for performing a demotion in a cellular communications network
JP2008503145A (en) Transport format combination selection method for service quality assurance in a mobile communication system
US11070466B2 (en) Method for link aggregation and related devices
KR20070038414A (en) Method for requesting resource and scheduling for uplink traffic in mobile communication and apparatus thereof
WO2020083263A1 (en) Data transmission method, apparatus and device in a wifi network
US20140169161A1 (en) Method and device for transmitting data
US20220086243A1 (en) Method, device, and system
US10342025B2 (en) Dynamic delay scheduling method and base station for voice data
CN108738071A (en) A kind of method and device that resource is established
US20120127973A1 (en) System and method of sending acknowledgments through control channels to prevent unnecessary retransmission in a limited bandwidth wireless communication network
WO2021089487A1 (en) Method and apparatus for transmitting real-time media stream
US20200252337A1 (en) Data transmission method, device, and computer storage medium
WO2020187186A1 (en) Data processing method, device and apparatus
WO2017091941A1 (en) Service data packet processing method and device
US9161376B2 (en) System and method for managing access point communication channel utilization
WO2023123790A1 (en) Data transmission method and device, and terminal and storage medium
WO2014127635A1 (en) Method and device for transmitting enhanced transmission selection standard configuration information
WO2016161582A1 (en) Quality of service measurement method and apparatus, and base station
CN114079652A (en) Data processing method
EP3416058A1 (en) Routers and hybrid packet processing methods thereof
KR101707416B1 (en) METHOD AND SYSTEM FOR CONTROLLING QoS FOR DATA BROADCASTING SERVICE IN WIRELESS LAN AND ACCESS POINT THEREFOR
KR200425886Y1 (en) Apparatus of providing qos for a mobile internet service

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

Country of ref document: EP

Kind code of ref document: A1