WO2021159829A1 - 一种数据传输方法及装置 - Google Patents

一种数据传输方法及装置 Download PDF

Info

Publication number
WO2021159829A1
WO2021159829A1 PCT/CN2020/134267 CN2020134267W WO2021159829A1 WO 2021159829 A1 WO2021159829 A1 WO 2021159829A1 CN 2020134267 W CN2020134267 W CN 2020134267W WO 2021159829 A1 WO2021159829 A1 WO 2021159829A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
detection rule
network element
user plane
plane function
Prior art date
Application number
PCT/CN2020/134267
Other languages
English (en)
French (fr)
Inventor
戚彩霞
周汉
李汉成
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP20918560.2A priority Critical patent/EP4090126A4/en
Publication of WO2021159829A1 publication Critical patent/WO2021159829A1/zh
Priority to US17/886,008 priority patent/US20220385589A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/34Flow control; Congestion control ensuring sequence integrity, e.g. using sequence numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/08Arrangements for detecting or preventing errors in the information received by repeating transmission, e.g. Verdan system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • H04L1/1642Formats specially adapted for sequence numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections

Definitions

  • the embodiments of the present application relate to the field of communication technology, and in particular, to a data transmission method and device.
  • uplink data or downlink data transmission tunnels can be established respectively between the access network device and the user plane function network element.
  • the data network may send a downlink data packet to the user plane function network element, and the user plane function network element forwards the downlink data packet to the access network device through the aforementioned downlink data transmission tunnel, and the access network device transmits the aforementioned downlink data packet to the access network device.
  • the downlink data packet is forwarded to the terminal device.
  • the terminal device can send uplink data packets to the access network device, the access network device forwards the data packet to the user plane functional network element through the above uplink data transmission tunnel, and the user plane functional network element then forwards the uplink data packet To the data network. Since no matter the above-mentioned downlink data packet or uplink data packet, there is the possibility of packet loss, how to improve the reliability of data transmission is a current research hotspot.
  • the embodiments of the present application provide a data transmission method and device to improve the reliability of data transmission.
  • a data transmission method which can be applied to downlink data transmission.
  • the method can be executed by a user plane functional network element, or can be executed by a component (such as a processor, a chip, or a chip system, etc.) in the user plane functional network element, and includes: receiving a first data packet from a data network; The first data packet determines first indication information, where the first indication information is used to instruct the user plane function network element to perform redundant transmission; according to the first indication information, the first data packet is copied to obtain the first indication information Two data packets; the first data packet and the second data packet are sent to the access network device through the first tunnel and the second tunnel respectively, and the first data packet and the second data packet carry The first serial number.
  • the first tunnel and the second tunnel may be tunnels used for downlink data transmission.
  • the first data packet may be referred to as an original downlink data packet
  • the second data packet may be referred to as a copied downlink data packet.
  • the user plane function network element can send two data packets to the access network device, which are the first data packet and the second data packet, respectively.
  • the access network device can also receive the other data packet, which improves the reliability of data transmission.
  • a downlink data packet detection rule may be determined according to the first data packet, and the downlink data packet detection rule includes the first indication information.
  • the first indication information may also be referred to as a redundant transmission indication.
  • the redundant transmission instruction means that when the user plane function network element receives a downlink data packet sent by the data network, it copies the downlink data packet, and sends the original downlink data packet and the copy to the access network device through two tunnels. Downstream packets.
  • the first forwarding rule FAR associated with the downlink data packet detection rule may be determined according to the first data packet, and the first FAR includes the first indication information.
  • the first FAR associated with the downlink data packet detection rule further includes second indication information, and the second indication information is used to indicate that the user plane function network element is in the first FAR.
  • Adding a sequence number to the data packet and the second data packet; the method further includes: adding the first sequence number to the first data packet and the second data packet according to the second instruction information .
  • the access network device can distinguish the original downlink data according to the first sequence number in the first data packet and/or the second data packet. Packets and copied downstream data packets. For example, after the access network device receives the first data packet and/or the second data packet. The access network device can determine whether the first sequence number is stored in the context of the service data flow. If the first sequence number is stored, it means that the first data packet or the second data packet is a duplicated data packet and needs to be discarded, and The first sequence number is deleted in the context of the business data flow. If the first serial number is not stored, the first data packet or the second data packet is considered to be an original data packet, and the data packet is forwarded to the terminal device, and the first serial number is added to the context of the service flow.
  • the access network device if the access network device is in time, it first receives the first data packet, and then receives the second data packet. Then the access network device may forward the first data packet and discard the second data packet. The access network device considers the first data packet to be the original data packet and the second data packet to be a duplicated data packet. Or, if the access network device is in time, it first receives the second data packet, and then receives the first data packet. Then the access network device can forward the second data packet and discard the first data packet. The access network device considers that the second data packet is an original data packet, and the first data packet is a copied data packet.
  • a data transmission method is provided.
  • the method can be executed by a user plane functional network element, or can be executed by a component (such as a processor, a chip, or a chip system, etc.) in the user plane functional network element.
  • This method can be applied to uplink data transmission, including: receiving a first data packet from an access network device through a first tunnel, the first data packet carrying a first sequence number; and determining according to the first data packet Uplink data packet detection rule; according to the uplink data packet detection rule, the first sequence number is stored in the uplink data packet detection rule, or the first sequence in the uplink data packet detection rule is deleted No.
  • the first tunnel and the second tunnel may be uplink data transmission tunnels.
  • the first data packet may be referred to as an original uplink data packet
  • the second data packet may be referred to as a duplicate uplink data packet.
  • the access network device sends two data packets to the user plane function network element through the first tunnel and the second tunnel. In this way, when another data packet is discarded, the user plane function network element can also receive another data packet, which improves the reliability of data transmission.
  • the uplink data packet detection rule includes third indication information, and the third indication information is used to instruct the user plane function network element to detect redundant data packets, which may be based on the uplink data
  • the third indication information included in the packet detection rule stores the first sequence number in the uplink data packet detection rule, or deletes the first sequence number in the uplink data packet detection rule.
  • the first sequence number when the first sequence number is not included in the uplink data packet detection rule, the first sequence number may be stored in the uplink data packet detection rule. Alternatively, when the first sequence number is included in the uplink data packet detection rule, the first sequence number in the uplink data packet detection rule is deleted.
  • the method further includes: when the uplink data packet detection rule does not include the first sequence number, forwarding the first data packet to the data network; or, when the When the uplink data packet detection rule includes the first sequence number, the first data packet is discarded.
  • the fourth indication information contained in the second forwarding rule FAR associated with the uplink data packet detection rule may be used , Forward the first data packet to the data network, and the fourth indication information is used to instruct the user plane function network element to forward the original uplink data packet or discard the duplicated uplink data packet.
  • the uplink data packet detection rule includes the first sequence number
  • the first sequence number may be converted according to the fourth indication information included in the second forwarding rule FAR associated with the uplink data packet detection rule.
  • the data packet is discarded, and the fourth indication information is used to instruct the user plane function network element to forward the original uplink data packet or discard the copied uplink data packet.
  • the second data packet is forwarded; or, if the user plane function network element forwards the first data packet, the second data packet is discarded.
  • the user plane function network element if the user plane function network element is in time, the first data packet is first received, and then the second data packet is received.
  • the user plane function network element considers that the first data packet is an initial uplink data packet, and the second data packet is a duplicated uplink data packet, forwards the first data packet, and discards the second data packet.
  • the user plane function network element if the user plane function network element is in time, it first receives the second data packet, and then receives the first data packet.
  • the user plane function network element considers that the second data packet is an initial uplink data packet, and the first data packet is a duplicated uplink data packet, forwards the second data packet, and discards the first data packet.
  • a method for establishing or updating a tunnel is provided.
  • the method can be used to establish or update a first tunnel and/or a second tunnel between an access network device and a user plane function network element.
  • the method may be executed by a session management function network element, or may be executed by a component (for example, a processor, a chip, or a chip system, etc.) in the session management function network element.
  • the method includes: sending a first request message to a user plane function network element, where the first request is used to request to establish or update a transmission tunnel between the user plane function network element and an access network device; The first response message of the face function network element;
  • the first request message includes one or more of the following parameters: a downlink data packet detection rule, the downlink data packet detection rule includes first indication information, and the first indication information is used to indicate The user plane function network element performs redundant transmission; the first forwarding rule FAR associated with the downlink data packet detection rule, the first FAR includes first indication information and/or second indication information, and the first FAR One indication information is used to instruct the user plane function network element to perform redundant transmission, and the second indication information is used to instruct the user plane function network element to add the same to the received downlink data packet and the copied downlink data packet. Serial number.
  • An uplink data packet detection rule the uplink data packet detection rule includes third indication information, and the third indication information is used to instruct the user plane function network element to detect redundant data packets; the uplink data packet detection rule is related The second FAR is connected, and the second FAR includes fourth indication information, and the fourth indication information is used to instruct the user plane function network element to forward the original uplink data packet or discard the copied uplink data packet.
  • two tunnels between the access network device and the user plane function network element can be established or updated.
  • the two tunnels may be tunnels used to transmit downlink data, or tunnels used to transmit uplink data.
  • two data packets can be transmitted.
  • the receiving end can also receive another data packet, which improves the reliability of data transmission.
  • an embodiment of the present application provides a device that can implement the foregoing first aspect or the method in any possible implementation manner of the first aspect.
  • the device includes corresponding units or components for performing the above-mentioned methods.
  • the units included in the device can be implemented in software and/or hardware.
  • the device may be, for example, a user plane function network element, or a chip, a chip system, or a processor that can support the user plane function network element to implement the foregoing method.
  • an embodiment of the present application provides a device that can implement the foregoing second aspect or any one of the possible implementation methods of the second aspect.
  • the device includes corresponding units or components for performing the above-mentioned methods.
  • the units included in the device can be implemented in software and/or hardware.
  • the device may be, for example, a user plane function network element, or a chip, a chip system, or a processor that can support the user plane function network element to implement the foregoing method.
  • an embodiment of the present application provides a device that can implement the foregoing third aspect or the method in any possible implementation manner of the third aspect.
  • the device includes corresponding units or components for performing the above-mentioned methods.
  • the units included in the device can be implemented in software and/or hardware.
  • the device may be, for example, a session management function network element, or a chip, a chip system, or a processor that can support the session management function network element to implement the foregoing method.
  • an embodiment of the present application provides a device, including: a processor, the processor is coupled with a memory, the memory is used to store a program or an instruction, and when the program or an instruction is executed by the processor, The device is enabled to implement the method described in the foregoing first aspect or any one of the possible implementation manners of the first aspect.
  • an embodiment of the present application provides a device, including a processor, the processor is coupled with a memory, and the memory is used to store a program or instruction, and when the program or instruction is executed by the processor, The device is enabled to implement the method described in the foregoing second aspect or any one of the possible implementation manners of the second aspect.
  • an embodiment of the present application provides a device, including a processor, the processor is coupled to a memory, and the memory is used to store a program or instruction, and when the program or instruction is executed by the processor, The device is enabled to implement the method described in the third aspect or any one of the possible implementation manners of the third aspect.
  • an embodiment of the present application provides a computer-readable storage medium on which a computer program or instruction is stored.
  • the computer program or instruction When the computer program or instruction is executed, the computer executes the first aspect or any one of the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium on which a computer program or instruction is stored.
  • the computer program or instruction When executed, the computer executes the second aspect or any of the second aspects. The method described in one possible implementation.
  • an embodiment of the present application provides a computer-readable storage medium on which a computer program or instruction is stored.
  • the computer program or instruction When the computer program or instruction is executed, the computer executes the third aspect or any one of the third aspects. The method described in one possible implementation.
  • an embodiment of the present application provides a computer program product, which includes computer program code that, when run on a computer, causes the computer to execute the first aspect or any of the possible aspects of the first aspect. The method described in the implementation mode.
  • the embodiments of the present application provide a computer program product, which includes computer program code, which, when run on a computer, causes the computer to execute the above-mentioned second aspect or any of the possible aspects of the second aspect The method described in the implementation mode.
  • the embodiments of the present application provide a computer program product, which includes computer program code, which when running on a computer, causes the computer to execute the third aspect or any of the possible aspects of the third aspect. The method described in the implementation mode.
  • an embodiment of the present application provides a chip, including: a processor, the processor is coupled with a memory, the memory is used to store a program or an instruction, when the program or an instruction is executed by the processor , So that the chip implements the method described in the foregoing first aspect or any one of the possible implementation manners of the first aspect.
  • an embodiment of the present application provides a chip, including: a processor, the processor is coupled with a memory, the memory is used to store a program or an instruction, when the program or an instruction is executed by the processor , So that the chip implements the method described in the second aspect or any one of the possible implementation manners of the second aspect.
  • an embodiment of the present application provides a chip, including: a processor, the processor is coupled with a memory, the memory is used to store a program or an instruction, when the program or an instruction is executed by the processor , So that the chip implements the method described in the third aspect or any one of the possible implementation manners of the third aspect.
  • Figure 1 is a network architecture provided by an embodiment of the application
  • FIG. 2 is a schematic flowchart of a data transmission method provided by an embodiment of the application
  • FIG. 3 is a schematic diagram of downlink data transmission provided by an embodiment of this application.
  • FIG. 4 is a schematic diagram of another process of a data transmission method provided by an embodiment of this application.
  • FIG. 5 is a schematic diagram of uplink data transmission provided by an embodiment of this application.
  • FIG. 6 is a schematic flowchart of a method for establishing or updating a tunnel provided by an embodiment of this application.
  • FIG. 7 is a schematic structural diagram of a device provided by an embodiment of the application.
  • FIG. 8 is a schematic diagram of another structure of a device provided by an embodiment of the application.
  • a network architecture including: terminal equipment, access network equipment, user plane function network elements, and data network.
  • two tunnels can be established between the access network device and the user plane function network element, namely the first tunnel and the second tunnel, which are used for data transmission.
  • the tunnel and the channel are not distinguished, and can be replaced with each other.
  • the above-mentioned first tunnel and second tunnel may also be referred to as N3 channel 1 and N3 channel 2 and so on.
  • the tunnel used for uplink data transmission can be different from the tunnel used for downlink data transmission.
  • the access network equipment establishes two tunnels for downlink data transmission
  • the user plane function network element is the uplink data.
  • Two tunnels are established for transmission.
  • the first tunnel and the second tunnel can be used for uplink data transmission, or can also be used for downlink data transmission. It can be understood that, in the description of the embodiment of the present application, when the first tunnel and the second tunnel are described as being used for downlink data transmission, the first tunnel and the second tunnel at this time are downlink data transmission tunnels. When it is described that the first tunnel and the second tunnel are used for uplink data transmission, the first tunnel and the second tunnel at this time are uplink data transmission tunnels.
  • the tunnel can be identified by the identification information of the data receiver, that is, the downlink data transmission tunnel can be identified by the identification information of the access network device, and the uplink data transmission tunnel can be identified by the identification information of the user plane function network element.
  • the data network may send a downlink data packet to the user plane function network element, and the user plane function network element may copy the downlink data packet.
  • the user plane function network element may transmit the original downlink data packet and the copied downlink data packet to the access network device through the first tunnel and the second tunnel, respectively.
  • the access network device discards one of the downlink data packets, and forwards the other downlink data packet to the terminal device.
  • the first tunnel and the second tunnel are downlink data transmission tunnels.
  • the terminal device sends an uplink data packet to the access network device, and the access network device copies the uplink data packet. After that, the access network device sends the original uplink data packet and the copied uplink data packet to the user plane function network element through the first tunnel and the second tunnel, respectively. After receiving the above two uplink data packets, the user plane function network element discards one of the uplink data packets, and forwards the other uplink data packet to the data network.
  • the first tunnel and the second tunnel are uplink data transmission tunnels.
  • FIG. 1 is only a schematic illustration, and is not intended as a limitation to the embodiment of the present application.
  • the network architecture shown in FIG. 1 may also include one or more of: access and mobility management function network elements, session management function network elements, or policy control function network elements.
  • the terminal device can access the wireless network through the access network device at the current location, and the access and mobility management function network element can be used for device registration, security authentication, mobility management, and location management of the terminal device.
  • the session management function network element can be used for session establishment, update, and deletion of terminal equipment.
  • User plane function network elements can be used to forward data packets between terminal equipment and external data networks.
  • the policy function network element can be used for policy control such as charging and quality of service (QoS) of terminal equipment.
  • the data network may include an application server, which is used to provide application services for terminal devices.
  • the network architecture shown in FIG. 1 can be applied to mobile communication networks of different standards.
  • the aforementioned access and mobility management function network element may be an access and mobility function (AMF) network element
  • session management The functional network element can be a session management function (SMF) network element
  • the user plane function network element can be a user plane function (UPF) network element
  • the policy function can be a policy control function (policy control function, PCF) network elements, etc.
  • At least one item (a) refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a).
  • at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.
  • embodiments of the present application provide a data transmission method and device.
  • the principle is: in downlink data transmission, the user plane function network element copies the original downlink data packet to obtain two downlink data packets. And add the same sequence number to the two downlink data packets.
  • the access network device forwards a received downlink data packet to the terminal device, and discards the other received downlink data packet. For example, the access network device may forward the downlink data packet received first to the terminal device according to the sequence of receiving two downlink data packets, and discard the downlink data packet received afterwards.
  • the access network device duplicates the original uplink data packet to obtain two uplink data packets, and adds the same sequence number to the two uplink data packets.
  • the user plane function network element forwards one received uplink data packet to the data network, and discards the other received uplink data packet. For example, the user plane function network element may discard the received uplink data packet according to the sequence of receiving two uplink data packets, and forward the first received uplink data packet to the data network.
  • the user plane function network element or the access network device can also receive another data packet through another tunnel, which improves the reliability of data transmission, so that The network can realize the highly reliable transmission of data.
  • the technology described in the embodiments of this application can be used in various communication systems, such as the fourth generation (4G) communication system, 4.5G communication system, 5G communication system, a system that integrates multiple communication systems, or a communication system that will evolve in the future (For example, 6G communication system).
  • 4G fourth generation
  • 5G communication system a system that integrates multiple communication systems
  • 6G communication system a communication system that will evolve in the future
  • LTE long term evolution
  • NR new radio
  • the Internet of Things system the Internet of Vehicles system
  • the wireless fidelity (wireless-fidelity, WiFi) system the third-generation partner program ( 3rd generation partnership project, 3GPP) related communication systems, etc.
  • 3GPP third-generation partner program
  • a flow of a data transmission method is provided.
  • the flow can be applied to downlink data transmission.
  • the first tunnel and the second tunnel in the flow are downlink data transmission tunnels.
  • the execution body of this process includes data network, user plane function network element, access network equipment and terminal equipment, etc.
  • the data network in this process can also be a component in the data network (such as a processor, chip, or chip system, etc.), and the user plane function network element in this process can also be a component in the user plane function network element (such as a processor).
  • the access network device in this process can also be a component in the access network device (such as a processor, chip or chip system, etc.), and the terminal device in this process can also be a terminal device Components (such as processors, chips, or chip systems, etc.), the process includes:
  • the data network sends a first data packet to a user plane function network element, and the first data packet may also be referred to as an original downlink data packet.
  • the user plane function network element receives the first data packet from the data network.
  • the user plane function network element determines first indication information according to the first data packet, where the first indication information is used to instruct the user plane function network element to perform redundant transmission.
  • the user plane function network element determines a downlink packet detection rule (DL PDR) according to the first data packet, and the downlink packet detection rule includes a first indication information.
  • the user plane function network element may obtain the matching information in the first data packet.
  • the user plane function network element matches the downlink data packet detection rule according to the matching information in the first data packet. For example, in an example, when the downlink data packet detection rule includes the same matching information as the first data packet, it can be considered that the downlink data packet detection rule is the determined downlink data packet detection rule described above.
  • the first instruction may also be referred to as a redundant transmission instruction, which is used to instruct the user plane function network element to perform redundant transmission.
  • the redundant transmission may specifically be: the user plane function network element replicates the received downlink data packet, and transmits the original downlink data packet and the copied downlink data packet to the access network device in the above-mentioned two tunnels.
  • the first indication information can be carried in the following ways:
  • a new parameter is added to the downlink data packet detection rule, and this parameter is the first indication information.
  • the parameter can be indicated by a bit.
  • the bit When the bit is set to 1, it means that redundant transmission is required.
  • the bit When the bit is set to 0, it means that redundant transmission is not required or has no special meaning.
  • the bit is set to 0, which means that redundant transmission is required, and the bit is set to 1, which means that redundant transmission is not required or has no special meaning, etc.
  • the parameter can be indicated by way of enumeration. For example, a specific enumerated value indicates that redundant transmission is required.
  • an original parameter is included in the downlink data packet detection rule, and the original parameter includes two bits, the first bit and the second bit, respectively.
  • the first bit of the original parameter has a specific meaning
  • the second bit has no specific meaning.
  • the second bit of the original parameter can be used to indicate whether redundant transmission is required. For example, when the second bit is 1, it may indicate that redundant transmission is required, and when the second bit is 0, it may indicate that redundant transmission is not required, and vice versa, which will not be repeated here.
  • the user plane function network element determines the first forwarding rule (forwarding action rule, FAR) associated with the downlink data packet detection rule according to the first data packet, and the first forwarding The rule contains the first instruction information.
  • FAR forwarding action rule
  • the user plane function network element may determine the downlink data packet detection rule according to the first data packet.
  • the downlink data packet detection rule may include an identifier of the associated first forwarding rule, and the user plane function network element determines the first forwarding rule according to the identifier of the first forwarding rule.
  • the first instruction information may be an instruction to copy a data packet, instructing the user plane function network element to perform redundant transmission, that is, instructing the user plane function network element to copy the received downlink data packet.
  • the first forwarding rule may include the identification information of the first tunnel and the identification information of the second tunnel, and the first indication information may be the identification information of the first tunnel and the identification information of the second tunnel. That is, when the first forwarding rule includes the identification information of the first tunnel and the identification information of the second tunnel, the user plane function network element is instructed to perform redundant transmission.
  • the identification information of the first tunnel and the identification information of the second tunnel may be the identification information of the access network device.
  • the user plane function network element copies the first data packet according to the first indication information to obtain the second data packet.
  • the second data packet may also be referred to as a copied downlink data packet.
  • the foregoing first forwarding rule may further include second indication information, and the second indication information is used to indicate that the user plane function network element performs the original downlink data packet and the copied downlink data packet, that is, the foregoing first forwarding rule.
  • the same sequence number is added to the first data packet and the second data packet.
  • the user plane function network element may add a first sequence number to the first data packet and the second data packet according to the second instruction information.
  • the user plane function network element sends the first data packet and the second data packet to the access network device through the first tunnel and the second tunnel respectively, and the first data packet and the second data packet carry the first data packet and the second data packet.
  • a serial number correspondingly, the access network device receives the first data packet and the second data packet from the user plane function network element through the first tunnel and the second tunnel.
  • the first tunnel and the second tunnel may be referred to as a general packet radio service tunnelling protocol user plane (GTP-U) tunnel, or the first tunnel and the second tunnel may also It is called N3 channel and so on.
  • GTP-U general packet radio service tunnelling protocol user plane
  • S205 The access network device forwards the first data packet to the terminal device according to the first sequence number carried in the first data packet, or discards the first data packet.
  • the access network device may determine the service data flow context corresponding to the first data packet. The access network device judges whether the first sequence number is included in the context of the service data flow. If the first sequence number is included in the service data flow context, the access network device may consider the first data packet to be a duplicated data packet, and the access network device discards the data packet, and deletes all data packets in the service data flow context. The first serial number. If the first sequence number is not included in the context of the service data flow, the access network device may consider the first data packet to be an original data packet, forward the first data packet to the terminal device, and send the first sequence number to the terminal device. Add to the context of the business data flow.
  • S206 The access network device forwards the second data packet to the terminal device according to the first sequence number carried in the second data packet, or discards the second data packet.
  • the processing procedure for the second data packet is similar to the processing procedure for the first data packet, and will not be repeated here. It is understandable that if the access network device forwards the first data packet to the terminal device, the second data packet is discarded. Or, if the access network device forwards the second data packet to the terminal device, the first data packet is discarded.
  • the user plane function network element copies the received downlink data packet, and sends the original downlink data packet and the copied downlink data packet to the access network device through the first tunnel and the second tunnel, respectively.
  • the access network device can forward the downlink data packet received first, and discard the downlink data packet received later.
  • the access network device can also receive another downlink data packet, which improves the reliability of data transmission.
  • the access network device if the access network device is in time, it first receives the first data packet, and then receives the second data packet. Then the access network device may forward the first data packet and discard the second data packet. The access network device considers the first data packet to be the original data packet and the second data packet to be a duplicated data packet. Or, if the access network device is in time, it first receives the second data packet, and then receives the first data packet. Then the access network device can forward the second data packet and discard the first data packet. The access network device considers that the second data packet is an original data packet, and the first data packet is a copied data packet.
  • the first tunnel is the first GTP-U tunnel
  • the second tunnel is the second GTP-U tunnel
  • the first indication information is a redundant transmission indication
  • the second indication information is an increase sequence number indication, as an example Be explained. It is understandable that, in this example of downlink data transmission, the first GTP-U tunnel and the second GTP-U tunnel are both downlink data transmission tunnels.
  • the user plane function network element may according to the information contained in the first data packet (for example, , The source IP address, destination IP address, source port number or destination port number of the first data packet, etc.), the downlink data packet detection rule is determined, and according to the redundant transmission indication in the downlink data packet detection rule, it is determined that it needs to be copied and received For the received data packet, the user plane function network element copies the first data packet to obtain the second data packet. The user plane function network element forwards the first data packet and the second data packet according to the first forwarding rule associated with the downlink data packet detection rule.
  • the user plane function network element can add the same sequence number to the first data packet and the second data packet according to the instruction of increasing the sequence number contained in the first forwarding rule, and pass the first GTP-U tunnel and the second GTP -U tunnel, respectively sending the first data packet and the second data packet to the access network device.
  • the access network device After receiving the first data packet or the second data packet, the access network device obtains the sequence number in the first data packet or the second data packet, and determines the first data packet or the second data packet Whether the same sequence number is stored in the business data flow context corresponding to the packet. If not, the access network device can consider the first data packet or the second data packet to be the original data packet, forward the first data packet or the second data packet to the user equipment, and store the serial number in the service Data flow context; if there is the same sequence number, the access network device can consider the first data packet or the second data packet to be a duplicate data packet, discard the data packet, and remove the serial number from the business data flow context delete.
  • a flow of a data transmission method is provided.
  • the flow can be applied to uplink data transmission.
  • the first tunnel and the second tunnel in the flow are uplink data transmission tunnels.
  • the execution subject of this process includes terminal equipment, access network equipment, user plane function network elements, and data network.
  • the terminal device in this process can also be a component in the terminal device (such as a processor, chip, or chip system, etc.), and the access network device in this process can also be a component in the access network device (such as a processor, a chip, etc.).
  • the user plane function network element in the process can also be a component in the user plane function network element (such as a processor, chip, or chip system, etc.), and the data network in the process can also be a data network Components (such as processors, chips, or chip systems, etc.), the process includes:
  • the terminal device sends a first data packet to the access network device, and the first data packet may be referred to as an original uplink data packet.
  • the access network device receives the first data packet from the terminal device.
  • the access network device copies the first data packet to obtain a second data packet.
  • the second data packet may be referred to as a copied uplink data packet.
  • the access network device sends the first data packet and the second data packet to the user plane function network element through the first tunnel and the second tunnel respectively, and the first data packet and the second data packet carry the first sequence number.
  • the user plane function network element receives the first data packet and the second data packet from the access network device through the first tunnel and the second tunnel respectively.
  • the access network device may determine the service data flow context corresponding to the first data packet, and according to the first indication in the service data flow context, copy the first data packet to obtain the second data packet . Further, the access network device adds the first sequence number to the first data packet and the second data packet respectively according to the second instruction in the context of the service data flow.
  • the user plane function network element determines an uplink data packet detection rule according to the first data packet.
  • the user plane function network element can match one or more uplink data packet detection rules based on the matching information contained in the first data packet, such as the tunnel endpoint identifier.
  • the uplink data packet detection rule is the determined uplink data packet detection rule.
  • the user plane function network element stores the first sequence number in the uplink data packet detection rule according to the uplink data packet detection rule, or deletes the first sequence number in the uplink data packet detection rule.
  • the uplink data packet detection rule may include third indication information, and the third indication information may be used to instruct the user plane function network element to detect redundant data packets.
  • the user plane function network element may store the first sequence number in the uplink data packet detection rule according to the third indication information, or delete the first sequence number in the uplink data packet detection rule.
  • the uplink data packet detection rule includes the first sequence number
  • the first data packet can be considered to be a duplicated data packet, and the first sequence number is deleted in the uplink data packet detection rule, and the first data is discarded Bag.
  • the first sequence number is not included in the uplink data packet detection rule
  • the first data packet can be considered as an original data packet, the first sequence number is stored in the uplink data packet detection rule, and the first sequence number is forwarded.
  • the third indication information can be carried in the following ways:
  • a new parameter is added to the uplink data packet detection rule, and this parameter is the third indication information.
  • this parameter can be indicated by a bit.
  • this bit When this bit is set to 1, it means that redundant data packets need to be detected. When this bit is set to 0, it means that redundant data packets do not need to be detected or have no special meaning. Or, the bit is set to 0, which means that redundant data packets need to be detected, and the bit is set to 1, which means that redundant data packets do not need to be detected or have no special meaning, etc.
  • the parameter can be indicated by way of enumeration. For example, a specific enumeration value indicates that redundant data packets need to be detected.
  • the uplink data packet detection rule includes an original parameter
  • the original parameter includes two bits, the first bit and the second bit, respectively.
  • the first bit of the original parameter has a specific meaning
  • the second bit has no specific meaning.
  • the second bit of the original parameter can be used to indicate whether redundant data packets need to be detected. For example, when the second bit is 0, it may indicate that redundant data packets need to be detected. When the second bit is 1, it can indicate that there is no need to detect redundant data packets, and vice versa, which will not be repeated here.
  • the uplink data packet detection rule may include the identification information of the first tunnel and the identification information of the second tunnel, and the third indication information may be the identification information of the first tunnel and the identification information of the second tunnel, namely
  • the uplink data packet detection rule includes the identification information of the first tunnel and the identification information of the second tunnel, it can be regarded as instructing the user plane function network element to detect redundant data packets.
  • the identification information of the first tunnel and the identification information of the second tunnel may be identification information of a user plane function network element.
  • the second forwarding rule associated with the uplink data packet detection rule may include fourth indication information, and the fourth indication information may instruct the user plane function network element to forward the received data packet , Or, discard the received data packet.
  • the user plane function network element may perform an action of discarding the first data packet or forwarding the first data packet according to the fourth instruction information.
  • the manner of carrying the fourth indication information in the second forwarding rule refer to the manner of carrying the third indication information in the above uplink data packet detection rule, which will not be repeated here.
  • the uplink data packet detection rule may be associated with two forwarding rules, and one forwarding rule contains fifth indication information, and the fifth indication information may instruct the user plane function network element to forward the received
  • the user plane function network element forwards the data packet according to the fifth indication information in the forwarding rule.
  • Another forwarding rule includes sixth indication information, which may instruct the user plane function network element to discard the received data packet, when the user plane function network element considers the first data packet to be copied data
  • the user plane function network element discards the data packet according to the sixth indication information in the forwarding rule.
  • the user plane function network element determines an uplink data packet detection rule according to the second data packet.
  • the user plane function network element stores the first sequence number in the uplink data packet detection rule according to the uplink data packet detection rule, or deletes the first sequence number in the uplink data packet detection rule.
  • the process of processing the second data packet by the user plane function network element is similar to the process of processing the first data packet by the user plane function network element described above. For details, please refer to the process of processing the first data packet above. I won't repeat them here.
  • the access network device copies the received uplink data packet, and sends the original uplink data packet and the copied uplink data packet to the user plane function network element through the first tunnel and the second tunnel, respectively.
  • the user plane function network element can forward the uplink data packet received first, and discard the uplink data packet received afterwards.
  • the user plane function network element can also receive another uplink data packet, which improves the reliability of data transmission.
  • the user plane function network element if it is in time, it first receives the first data packet, and then receives the second data packet.
  • the user plane function network element considers that the first data packet is an initial uplink data packet, and the second data packet is a duplicated uplink data packet, forwards the first data packet, and discards the second data packet.
  • the user plane function network element if the user plane function network element is in time, it first receives the second data packet, and then receives the first data packet.
  • the user plane function network element considers that the second data packet is an initial uplink data packet, and the first data packet is a duplicated uplink data packet, forwards the second data packet, and discards the first data packet.
  • the first tunnel As the first GTP-U tunnel
  • the second tunnel as the second GTP-U tunnel
  • the third indication information is the duplicate packet detection indication
  • the fourth indication information is the duplicate packet elimination indication as an example. illustrate.
  • the first GTP-U tunnel and the second GTP-U tunnel are uplink data transmission tunnels.
  • the access network device when the access network device receives a data packet from the terminal device, it is called the first data packet.
  • the access network device learns that it needs to copy the received data packet, and the access network device copies the data packet. ,
  • the copied data packet is called the second data packet.
  • the access network device adds the same sequence number to the first data packet and the second data packet, and passes the first data packet and the second data packet through the first GTP-U tunnel and the second GTP-U tunnel, respectively The tunnel is sent to the user plane functional network element.
  • the user plane function network element When the user plane function network element receives the first data packet or the second data packet from the access network device, the user plane function network element can match the uplink data packet according to the information contained in the data packet (such as the tunnel endpoint identifier, etc.) Detection rules. If there is no sequence number in the matched uplink data packet detection rule, or there is no sequence number that is the same as the sequence number contained in the data packet, the data packet is considered to be an original data packet, and the user plane function network element will The sequence number in the data packet is stored in the uplink data packet detection rule.
  • the data packet such as the tunnel endpoint identifier, etc.
  • the data packet is considered to be a duplicated data packet, and the user plane function network element deletes the data packet.
  • the same sequence number in the uplink data packet detection rule If there is a sequence number in the matched uplink data packet detection rule, and the sequence number is the same as the sequence number contained in the data packet, the data packet is considered to be a duplicated data packet, and the user plane function network element deletes the data packet. The same sequence number in the uplink data packet detection rule.
  • one or more sequence numbers can be stored in the uplink data packet detection rule, which is a queue, and the queue length can be set, that is, the upper limit of the sequence numbers that can be stored, such as 1000, that is, more than 1000. After the serial number, no new serial number will be stored. Or the serial number can be set with a timer, and when the timer expires, the serial number is deleted.
  • the user plane function network element receives a data packet with a sequence number of 1 through the first GTP-U tunnel, and the uplink data packet detection rule does not store a sequence number of 1, the user plane function network element will The sequence number 1 is stored in the upstream packet inspection rule.
  • the user plane function network element receives a data packet with a sequence number of 3 through the second tunnel, and the upstream data packet detection rule does not store a sequence number of 3, then the user plane function network element also stores the sequence number 3 in the upstream Packet inspection rules.
  • Subsequent user-plane function network elements receive a data packet with a sequence number of 1 through the second tunnel, and the user-plane function network element deletes the sequence number with a value of 1 stored in the uplink data packet detection rule.
  • the user plane function network element can realize orderly transmission through the serial number, that is, the serial number is required to be incremented in an ascending order.
  • the user plane function network element buffers the uplink data packet, and after receiving and forwarding the sequence After the data packet with the number 2 is forwarded, the uplink data packet with the sequence number 3 is forwarded.
  • the uplink data packet detection rule may not include the duplicate packet detection instruction, and the user plane function network element learns that it needs to be performed through the tunnel identifiers of the two user plane function network elements included in the uplink data packet detection rule.
  • Duplicated packet detection that is, the tunnel identifiers of the two user plane function network elements play the role of duplicate packet detection instructions.
  • the user plane function network element forwards the first data packet and the second data packet according to the FAR associated with the uplink data packet detection rule. For example, the user plane function network element may forward the first data packet to the data network according to the copy packet elimination instruction contained in the FAR, and discard the second data packet, or discard the first data packet and transfer the second data packet Forward to the data network, etc.
  • a method flow for establishing or updating a tunnel is provided.
  • the flow can be used to establish or update an uplink data transmission tunnel or a downlink data transmission tunnel between an access network device and a user plane function network element.
  • the uplink data transmission tunnel and the downlink data transmission tunnel are collectively referred to as tunnels.
  • This process can be executed in the service request process, packet data unit (PDU) session establishment, PDU session update, handover, or registration area update, etc., and is not limited.
  • the main body of execution of this process includes session management function network elements and user plane function network elements.
  • the session management function network element may also be a component (for example, a processor, a chip, or a chip system, etc.) in a session management function network element
  • the user plane function network element may also be a user plane function network element Components (such as processors, chips, or chip systems, etc.) in, the process includes:
  • the session management function network element sends a first request message to the user plane function network element, where the first request message is used to request the establishment or update of the transmission tunnel between the user plane function network element and the access network device; correspondingly; Yes, the user plane function network element receives the first request message from the session management function network element.
  • the first request message may be a packet forwarding control protocol (PFCP) session establishment/update request message.
  • PFCP packet forwarding control protocol
  • the user plane function network element sends a first response message to the session management function network element.
  • the session management function network element receives the first response message from the user plane function network element.
  • the first response message may be a PFCP session establishment/update response message.
  • the above-mentioned first request message contains one or more of the following parameters:
  • An uplink data packet detection rule includes: first indication information, the first indication information is used to instruct the user plane function network element to detect redundant data packets;
  • a first forwarding rule associated with the uplink data packet detection rule includes second indication information, and the second indication information is used to instruct the user plane function network element to discard the data packet, or, Forward the packet.
  • a downlink data packet detection rule includes third indication information, and the third indication information is used to instruct the user plane function network element to perform redundant transmission;
  • a second forwarding rule associated with a downlink data packet detection rule includes third indication information and/or fourth indication information
  • the third indication information is used to instruct the user plane function network element to perform
  • the fourth indication information is used to instruct the user plane function network element to add the same sequence number to the received downlink data packet and the copied downlink data packet.
  • the identification information of the first tunnel and the identification of the second tunnel are The information may be the identification information of the user plane function network element.
  • the first request message may further include: the first tunnel allocated by the session management network element to the first tunnel; The identification information and the second identification information allocated for the second tunnel.
  • the first identification information includes a first internet protocol (IP) address of a user plane function network element and/or a first tunnel endpoint identifier (TEID), etc.
  • the second identification information may include the second IP address and/or the second TEID of the user plane function network element, etc.
  • the identification information of the first tunnel and the identification information of the second tunnel may be included in the uplink data packet detection rule for establishing an uplink data transmission tunnel.
  • the first response message may include the first identifier allocated by the user plane function network element for the first tunnel Information, and information such as the second identifier assigned to the second tunnel.
  • the first identification information may include the first IP address and/or the first TEID of the user plane function network element
  • the second identification information may include the second IP address and/or the second IP address of the user plane function network element. TEID etc.
  • the identification information of the first tunnel and the identification information of the second tunnel may be included in the uplink data packet detection rule for establishing an uplink data transmission tunnel.
  • the identification information of the first tunnel and the second tunnel are used for downlink data transmission, that is, when the first tunnel and the second tunnel are downlink data transmission tunnels, the identification information of the first tunnel and the second tunnel are The identification information of the tunnel may be the identification information of the access network device.
  • the first request message may also include: the first tunnel allocated by the access network device for the first tunnel. Identification information and second identification information allocated for the second tunnel.
  • the first identification information may include a first IP address and/or a first TEID of the access network device
  • the second identification information may include a second IP address and/or a second TEID of the access network device, etc.
  • the identification information of the first tunnel and the identification information of the second tunnel may be included in a second forwarding rule associated with a downlink data packet detection rule, and are used to establish a downlink data transmission tunnel.
  • the above parameters can be configured to the user plane functional network element during the establishment or update process of the redundant tunnel to realize redundant transmission.
  • the methods and operations implemented by the user plane function network element may also be implemented by components (for example, a chip or a circuit) in the user plane function network element.
  • the methods and operations implemented by the session management function network element may also be implemented by components (such as chips or circuits) in the session management function network element.
  • the methods provided in the embodiments of the present application are introduced from the perspective of terminal equipment, access network equipment, user plane function network elements, and data network interaction.
  • the user plane function network element and the session management function network element may include a hardware structure and/or a software unit, in the form of a hardware structure, a software unit, or a hardware structure plus a software unit To achieve the above functions. Whether a certain function of the above-mentioned functions is executed by a hardware structure, a software unit, or a hardware structure plus a software unit depends on the specific application and design constraint conditions of the technical solution.
  • FIG. 7 is a schematic block diagram of an apparatus 700 provided by an embodiment of the present application, which is used to implement the functions of a user plane function network element or a session management function network element in the foregoing method.
  • the device may be a software unit or a chip system.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the device includes a communication unit 701 and may also include a processing unit 702.
  • the communication unit 701 can communicate with each department.
  • the processing unit 702 is used for processing. For example, according to the first instruction information, the first data packet is copied.
  • the communication unit 701 may also be referred to as a communication interface, a transceiver unit, an input/output interface, and so on.
  • the communication unit 701 may include a sending unit and/or a receiving unit, etc., which are respectively used to perform the steps of sending or receiving by the user plane function network element or the session management function network element in the process of FIG. 2, FIG. 4, or FIG. 6 above. .
  • the device 700 can implement the steps corresponding to the user plane function network element in the flow shown in FIG. 2.
  • the device 700 can be a user plane function network element, or a chip configured in the user plane function network element Or circuit.
  • the communication unit 701 performs the transceiving operations on the user plane function network element side in the above method embodiment, and the processing unit 702 is configured to perform the processing related operations on the user plane function network element side in the above method embodiment.
  • the communication unit 701 is configured to receive a first data packet from a data network; the processing unit 702 is configured to determine first indication information according to the first data packet, and the first indication information is used to indicate the user The plane function network element performs redundant transmission; the processing unit 702 is further configured to copy the first data packet to obtain a second data packet according to the first instruction information; the communication unit 701 is also configured to separately The first data packet and the second data packet are sent to the access network device through the first tunnel and the second tunnel, and the first data packet and the second data packet carry the first sequence number.
  • the processing unit 702 determines the first indication information according to the first data packet, it is specifically configured to: determine a downlink data packet detection rule according to the first data packet, and the downlink data packet detection The rule includes the first indication information.
  • processing unit 702 determines the first indication information according to the first data packet, it is specifically configured to: determine the first forwarding rule associated with the downlink data packet detection rule according to the first data packet FAR, the first FAR includes the first indication information.
  • the first FAR associated with the downlink data packet detection rule further includes second indication information, and the second indication information is used to indicate that the user plane function network element is between the first data packet and the Adding a serial number to the second data packet, the processing unit 702 is further configured to: add the first serial number to the first data packet and the second data packet according to the second instruction information .
  • the apparatus 700 can implement the steps corresponding to the user plane function network element in the flow shown in FIG. Chip or circuit.
  • the communication unit 701 performs the transceiving operations on the user plane function network element side in the above method embodiment, and the processing unit 702 is configured to perform the processing related operations on the user plane function network element side in the above method embodiment.
  • the communication unit 701 is configured to receive a first data packet from an access network device through a first tunnel, and the first data packet carries a first sequence number; the processing unit 702 is configured to The first data packet determines an uplink data packet detection rule; the processing unit 702 is further configured to store the first sequence number in the uplink data packet detection rule according to the uplink data packet detection rule, or , Delete the first sequence number in the uplink data packet detection rule.
  • the uplink data packet detection rule includes third indication information, and the third indication information is used to instruct the user plane function network element to detect redundant data packets, and the processing unit 702 is in accordance with the uplink Data packet detection rule, when the first sequence number is stored in the uplink data packet detection rule, or when the first sequence number in the uplink data packet detection rule is deleted, it is used to:
  • the third indication information included in the data packet detection rule stores the first sequence number in the uplink data packet detection rule, or deletes the first sequence number in the uplink data packet detection rule.
  • processing unit 702 when the processing unit 702 stores the first sequence number in the uplink data packet detection rule, it is specifically configured to: when the uplink data packet detection rule does not include the first sequence number At this time, the first sequence number is stored in the uplink data packet detection rule.
  • processing unit 702 when the processing unit 702 deletes the first sequence number in the uplink data packet detection rule, it is configured to: when the uplink data packet detection rule includes the first sequence number, delete The first sequence number in the uplink data packet detection rule.
  • the processing unit 702 is further configured to: when the first sequence number is not included in the uplink data packet detection rule, control the communication unit 701 to forward the first data packet to the data network; Or, when the first sequence number is included in the uplink data packet detection rule, the first data packet is discarded.
  • the uplink data packet detection rule does not include the first sequence number
  • the processing unit 702 controls the communication unit 701 to forward the first data packet to the data network for:
  • the uplink data packet detection rule does not include the first sequence number
  • the first data packet is forwarded to the data according to the fourth indication information included in the second forwarding rule FAR associated with the uplink data packet detection rule
  • the fourth indication information is used to instruct the user plane function network element to forward the original uplink data packet or discard the copied uplink data packet.
  • the uplink data packet detection rule includes the first sequence number
  • the processing unit 702 is specifically configured to: if the uplink data packet detection rule includes The first sequence number discards the first data packet according to the fourth indication information contained in the second forwarding rule FAR associated with the uplink data packet detection rule, and the fourth indication information is used to indicate all The user plane function network element forwards the original uplink data packet or discards the copied uplink data packet.
  • the device 700 can implement the steps corresponding to the session management function network element in the process shown in FIG. 6 above, and the device 700 may be a session management function network element or be configured in a session management function network element Chip or circuit.
  • the communication unit 701 is configured to perform the transceiving-related operations of the session management function network element in the above method embodiment, and the processing unit 702 is configured to perform the processing related operations of the session management function network element in the above method embodiment.
  • the communication unit 701 is configured to send a first request message to a user plane function network element, and the first request is used to request the establishment or update of the connection between the user plane function network element and the access network device. Transmission tunnel; the communication unit 701 is also configured to receive a first response message from the user plane function network element;
  • the first request message contains one or more of the following parameters:
  • the downlink data packet detection rule includes first indication information, the first indication information is used to instruct the user plane function network element to perform redundant transmission; the downlink data packet detection rule is associated The first forwarding rule FAR, the first FAR includes first indication information and/or second indication information, the first indication information is used to instruct the user plane function network element to perform redundant transmission, and the first FAR The second indication information is used to indicate that the user plane function network element adds the same sequence number to the received downlink data packet and the copied downlink data packet.
  • An uplink data packet detection rule the uplink data packet detection rule includes third indication information, and the third indication information is used to instruct the user plane function network element to detect redundant data packets; the uplink data packet detection rule is related The second FAR is connected, and the second FAR includes fourth indication information, and the fourth indication information is used to instruct the user plane function network element to forward the original uplink data packet or discard the copied uplink data packet.
  • the division of units in the embodiments of this application is illustrative, and is only a logical function division. In actual implementation, there may be other division methods.
  • the functional units in the various embodiments of this application can be integrated into one processing unit. In the device, it can also exist alone physically, or two or more units can be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the functions of the communication unit in the foregoing embodiments may be realized by a transceiver, and the functions of the processing unit may be realized by a processor.
  • the transceiver may include a transmitter and/or a receiver, etc., which are used to implement the functions of the transmitting unit and/or the receiving unit, respectively.
  • FIG. 8 The following description will be given with reference to FIG. 8 as an example.
  • FIG. 8 is a schematic block diagram of a device 800 provided by an embodiment of the present application.
  • the device 800 shown in FIG. 8 may be a hardware circuit implementation of the device shown in FIG. 7.
  • the device can be adapted to perform the functions of the user plane function network element or the session management function network element in the foregoing method embodiment in the process shown in FIG. 2, FIG. 4, or FIG.
  • FIG. 8 only shows the main components of the communication device.
  • the communication device 800 shown in FIG. 8 includes at least one processor 801.
  • the communication device 800 may further include at least one memory 802 for storing program instructions and/or data.
  • the memory 802 is coupled with the processor 801.
  • the coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units, or modules, which can be electrical, mechanical, or other forms, and is used for information exchange between devices, units, or modules.
  • the processor 801 may operate in cooperation with the memory 802, the processor 801 may execute program instructions stored in the memory 802, and at least one of the at least one memory 802 may be included in the processor 801.
  • the apparatus 800 may further include a communication interface 803 for communicating with other devices through a transmission medium, so that the communication apparatus 800 may communicate with other devices.
  • the communication interface may be a transceiver, circuit, bus, module, or other type of communication interface.
  • the transceiver when the communication interface is a transceiver, the transceiver may include an independent receiver and an independent transmitter; it may also be a transceiver with integrated transceiver functions, or an interface circuit.
  • connection medium between the processor 801, the memory 802, and the communication interface 803 is not limited in the embodiment of the present application.
  • the memory 802, the processor 801, and the communication interface 803 are connected by a communication bus 804 in FIG. 8.
  • the bus is represented by a thick line in FIG. 8.
  • the connection modes between other components are merely illustrative. , Not as a limitation.
  • the bus may include an address bus, a data bus, a control bus, and so on. For ease of representation, only one thick line is used in FIG. 8, but it does not mean that there is only one bus or one type of bus.
  • the apparatus 800 is used to implement the steps performed by the user plane function network element in the above-mentioned flow shown in FIG. 2.
  • the communication interface 803 is used to perform the transceiving-related operations on the user plane function network element side in the above embodiment, and the processor 801 is used to perform the processing related operations on the user plane function network element side in the above method embodiment.
  • the communication interface 803 is configured to receive a first data packet from a data network; the processor 801 is configured to determine first indication information according to the first data packet, and the first indication information is used to indicate the user The plane function network element performs redundant transmission; the processor 801 is further configured to copy the first data packet according to the first instruction information to obtain a second data packet; the communication interface 803 is also used to separately The first data packet and the second data packet are sent to the access network device through the first tunnel and the second tunnel, and the first data packet and the second data packet carry the first sequence number.
  • the processor 801 determines the first indication information according to the first data packet, it is specifically configured to: determine a downlink data packet detection rule according to the first data packet, and the downlink data packet detection The rule includes the first indication information.
  • the processor 801 determines the first indication information according to the first data packet, it is specifically configured to: determine the first forwarding rule associated with the downlink data packet detection rule according to the first data packet FAR, the first FAR includes the first indication information.
  • the first FAR associated with the downlink data packet detection rule further includes second indication information, and the second indication information is used to indicate that the user plane function network element is between the first data packet and the Adding a serial number to the second data packet, the processor 801 is further configured to: add the first serial number to the first data packet and the second data packet according to the second instruction information .
  • the apparatus 800 is used to implement the steps performed by the user plane function network element in the above-mentioned flow shown in FIG. 4.
  • the communication interface 803 is used to perform the transceiving-related operations on the user plane function network element side in the above embodiment
  • the processor 801 is used to perform the processing related operations on the user plane function network element side in the above method embodiment.
  • the communication interface 803 is configured to receive a first data packet from an access network device through a first tunnel, and the first data packet carries a first sequence number; the processor 801 is configured to The first data packet determines an uplink data packet detection rule; the processor 801 is further configured to store the first sequence number in the uplink data packet detection rule according to the uplink data packet detection rule, or , Delete the first sequence number in the uplink data packet detection rule.
  • the uplink data packet detection rule includes third indication information, and the third indication information is used to instruct the user plane function network element to detect redundant data packets, and the processor 801 is in accordance with the uplink Data packet detection rule, when the first sequence number is stored in the uplink data packet detection rule, or when the first sequence number in the uplink data packet detection rule is deleted, it is used to:
  • the third indication information included in the data packet detection rule stores the first sequence number in the uplink data packet detection rule, or deletes the first sequence number in the uplink data packet detection rule.
  • the processor 801 when the processor 801 stores the first sequence number in the uplink data packet detection rule, it is specifically configured to: when the uplink data packet detection rule does not include the first sequence number At this time, the first sequence number is stored in the uplink data packet detection rule.
  • the processor 801 when the processor 801 deletes the first sequence number in the uplink data packet detection rule, it is configured to: when the uplink data packet detection rule includes the first sequence number, delete The first sequence number in the uplink data packet detection rule.
  • the processor 801 is further configured to: when the first sequence number is not included in the uplink data packet detection rule, control the communication interface 803 to forward the first data packet to a data network; Or, when the first sequence number is included in the uplink data packet detection rule, the first data packet is discarded.
  • the uplink data packet detection rule does not include the first sequence number
  • the processor 801 controls the communication interface 803 to forward the first data packet to the data network for:
  • the uplink data packet detection rule does not include the first sequence number
  • the first data packet is forwarded to the data according to the fourth indication information included in the second forwarding rule FAR associated with the uplink data packet detection rule
  • the fourth indication information is used to instruct the user plane function network element to forward the original uplink data packet or discard the copied uplink data packet.
  • the uplink data packet detection rule includes the first sequence number
  • the processor 801 is specifically configured to: if the uplink data packet detection rule includes The first sequence number discards the first data packet according to the fourth indication information contained in the second forwarding rule FAR associated with the uplink data packet detection rule, and the fourth indication information is used to indicate all The user plane function network element forwards the original uplink data packet or discards the copied uplink data packet.
  • the apparatus 800 is used to implement the steps performed by the network element of the session management function in the process shown in FIG. 6 above.
  • the communication interface 803 is used to perform the transceiving-related operations on the network element side of the session management function in the above embodiment
  • the processor 801 is used to perform the processing related operations on the network element side of the session management function in the above method embodiment.
  • the communication interface 803 is configured to send a first request message to the user plane function network element, and the first request is used to request to establish or update the connection between the user plane function network element and the access network device. Transmission tunnel; the communication interface 803 is also used to receive a first response message from the user plane function network element;
  • the first request message contains one or more of the following parameters:
  • the downlink data packet detection rule includes first indication information, the first indication information is used to instruct the user plane function network element to perform redundant transmission; the downlink data packet detection rule is associated The first forwarding rule FAR, the first FAR includes first indication information and/or second indication information, the first indication information is used to instruct the user plane function network element to perform redundant transmission, and the first FAR The second indication information is used to indicate that the user plane function network element adds the same sequence number to the received downlink data packet and the copied downlink data packet.
  • An uplink data packet detection rule the uplink data packet detection rule includes third indication information, and the third indication information is used to instruct the user plane function network element to detect redundant data packets; the uplink data packet detection rule is related The second FAR is connected, and the second FAR includes fourth indication information, and the fourth indication information is used to instruct the user plane function network element to forward the original uplink data packet or discard the copied uplink data packet.
  • an embodiment of the present application also provides a device, which is used to execute the method in the flow shown in FIG. 2 above, or is used to execute the method in the flow shown in FIG. 4 above, or is used to Perform the method in the process shown in Figure 6 above.
  • a computer-readable storage medium including a program. When the program is executed by a processor, the method in the flow shown in Figure 2 is executed, or the method in the flow shown in Figure 4 is executed, or , The method in the process shown in Figure 6 above is executed.
  • a computer program product, the computer program product comprising computer program code when the computer program code is run on a computer, the computer is allowed to implement the method shown in Figure 2 above, or to implement the process shown in Figure 4 above Or implement the method in the process shown in Figure 6 above.
  • a chip comprising: a processor, the processor is coupled with a memory, the memory is used to store a program or an instruction, when the program or an instruction is executed by the processor, the device executes the above-mentioned figure 2
  • the processor may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, which can implement or execute The methods, steps, and logical block diagrams disclosed in the embodiments of the present application.
  • the general-purpose processor may be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in combination with the embodiments of the present application may be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor.
  • the memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), for example Random-access memory (random-access memory, RAM).
  • the memory is any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and that can be accessed by a computer, but is not limited to this.
  • the memory in the embodiments of the present application may also be a circuit or any other device capable of realizing a storage function for storing program instructions and/or data.
  • the methods provided in the embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software When implemented by software, it can be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, network equipment, user equipment, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a digital video disc (digital video disc, DVD for short)), or a semiconductor medium (for example, SSD).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种数据传输方法及装置,该方法的原理为:在接入网设备和用户面功能网元间建立两个隧道,所述两个隧道可为用于下行数据传输的隧道,或者,用于上行数据传输的隧道。接入网设备和用户面功能网元在通信时,可传输两个数据包,如此,在一个数据包丢失的情况下,接收端还可接收到另一个数据包,提高了数据传输的可靠性。

Description

一种数据传输方法及装置
相关申请的交叉引用
本申请要求在2020年02月12日提交中国专利局、申请号为202010089277.1、申请名称为“一种数据传输方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及通信技术领域,尤其涉及一种数据传输方法及装置。
背景技术
在当前无线通信系统中,接入网设备和用户面功能网元之间可分别建立上行数据或下行数据传输隧道。在下行数据传输中,数据网络可向用户面功能网元发送下行数据包,用户面功能网元通过上述下行数据传输隧道转发所述下行数据包至接入网设备,接入网设备再将上述下行数据包转发给终端设备。在上行数据传输中,终端设备可发送上行数据包至接入网设备,接入网设备通过上述上行数据传输隧道转发数据包至用户面功能网元,用户面功能网元再将上行数据包转发给数据网络。由于无论上述下行数据包或上行数据包,均存在丢包的可能性,如何提高数据传输的可靠性是当前的研究热点。
发明内容
本申请实施例提供一种数据传输方法及装置,以提高数据传输的可靠性。
第一方面,提供一种数据传输方法,该方法可以应用于下行数据传输中。该方法可以由用户面功能网元执行,也可以由用户面功能网元中的部件(例如处理器、芯片或芯片系统等)执行,包括:接收来自数据网络的第一数据包;根据所述第一数据包,确定第一指示信息,所述第一指示信息用于指示所述用户面功能网元进行冗余传输;根据所述第一指示信息,复制所述第一数据包,得到第二数据包;分别通过第一隧道和第二隧道,向接入网设备发送所述第一数据包和所述第二数据包,所述第一数据包和所述第二数据包中携带有第一序列号。所述第一隧道和第二隧道可为用于下行数据传输的隧道。第一数据包可称为原始的下行数据包,第二数据包可称为复制的下行数据包。
通过上述方法,用户面功能网元可向接入网设备发送两个数据包,分别为第一数据包和第二数据包。如此,在两个数据包中的一个丢弃时,接入网设备还可接收到另一个数据包,提高了数据传输的可靠性。
在一种可能的设计中,可根据所述第一数据包,确定下行数据包检测规则,所述下行数据包检测规则中包含所述第一指示信息。
在上述设计中,所述第一指示信息还可称为冗余传输指示。所述冗余传输指示,是指用户面功能网元在接收到数据网络发送的下行数据包时,复制该下行数据包,且通过两个隧道向接入网设备发送原始的下行数据包和复制的下行数据包。
在另一种可能的设计中,可根据所述第一数据包,确定下行数据包检测规则所关联的第一转发规则FAR,所述第一FAR中包含所述第一指示信息。
在一种可能的设计中,所述下行数据包检测规则所关联的第一FAR中还包括第二指示信息,所述第二指示信息用于指示所述用户面功能网元在所述第一数据包和所述第二数据包中添加序列号;所述方法还包括:根据所述第二指示信息,在所述第一数据包和所述第二数据包中添加所述第一序列号。
通过上述方法,接入网设备在接收到第一数据包和/或第二数据包之后,可根据上述第一数据包和/或第二数据包中的第一序列号,区别原始的下行数据包和复制的下行数据包。比如,接入网设备在接收到第一数据包和/或第二数据包之后。接入网设备可确定业务数据流的上下文中是否存储有第一序列号,如果存储有第一序列号,则代表第一数据包或第二数据包为复制的数据包,需要丢弃,且将第一序列号在业务数据流上下文中删除。若没有存储第一序列号,则认为第一数据包或第二数据包为原始的数据包,转发给终端设备,且将第一序列号添加至业务流的上下文中。
需要说明的是,在第一方面的设计中,若接入网设备在时间上,先接收第一数据包,后接收第二数据包。则接入网设备可转发第一数据包,丢弃第二数据包,接入网设备认为第一数据包为原始的数据包,第二数据包为复制的数据包。或者,若接入网设备在时间上,先接收第二数据包,后接收第一数据包。则接入网设备可转发第二数据包,丢弃第一数据包。接入网设备认为第二数据包为原始的数据包,第一数据包为复制的数据包。
第二方面,提供一种数据传输方法,该方法可以由用户面功能网元执行,也可以由用户面功能网元中的部件(例如处理器、芯片或芯片系统等)执行。该方法可以应用于上行数据传输,包括:通过第一隧道,接收来自接入网设备的第一数据包,所述第一数据包中携带第一序列号;根据所述第一数据包,确定上行数据包检测规则;根据所述上行数据包检测规则,将所述第一序列号存储到所述上行数据包检测规则中,或者,删除所述上行数据包检测规则中的所述第一序列号。所述第一隧道和第二隧道可为上行数据传输隧道。第一数据包可称为原始的上行数据包,第二数据包可称为复制的上行数据包。
通过上述方法,接入网设备通过第一隧道和第二隧道,向用户面功能网元发送了两个数据包。如此,在另一个数据包丢弃的情况下,用户面功能网元还可接收到另一个数据包,提高了数据传输的可靠性。
在一种可能的设计中,所述上行数据包检测规则中包括第三指示信息,所述第三指示信息用于指示所述用户面功能网元检测冗余数据包,可根据所述上行数据包检测规则中包括的所述第三指示信息,将所述第一序列号存储到所述上行数据包检测规则,或者,删除所述上行数据包检测规则中的第一序列号。
具体的,可当所述上行数据包检测规则中未包含所述第一序列号时,将所述第一序列号存储至所述上行数据包检测规则。或者,当所述上行数据包检测规则中包含所述第一序列号时,删除所述上行数据包检测规则中的所述第一序列号。
在一种可能的设计中,所述方法还包括:当所述上行数据包检测规则中未包含所述第一序列号时,将所述第一数据包转发给数据网络;或者,当所述上行数据包检测规则中包含所述第一序列号时,丢弃所述第一数据包。
在一种可能的设计中,若所述上行数据包检测规则中未包含所述第一序列号,可根据所述上行数据包检测规则所关联的第二转发规则FAR中包含的第四指示信息,将所述第一数据包转发给数据网络,所述第四指示信息用于指示所述用户面功能网元转发原始的上行数据包或丢弃复制的上行数据包。
具体的,若所述上行数据包检测规则中包括所述第一序列号,可根据所述上行数据包检测规则所关联的第二转发规则FAR中包含的第四指示信息,将所述第一数据包丢弃,所述第四指示信息用于指示所述用户面功能网元转发原始的上行数据包或丢弃复制的上行数据包。
可以理解的是,若用户面功能网元丢弃第一数据包,则转发第二数据包;或者,若用户面功能网元转发第一数据包,则丢弃第二数据包。
需要说明的是,在上述第二方面的设计中,若用户面功能网元在时间上,先接收到第一数据包,后接收到第二数据包。则用户面功能网元认为第一数据包为初始的上行数据包,第二数据包为复制的上行数据包,转发第一数据包,丢弃第二数据包。同理,若用户面功能网元在时间上,先接收第二数据包,后接收第一数据包。则用户面功能网元认为第二数据包为初始的上行数据包,第一数据包为复制的上行数据包,转发第二数据包,丢弃第一数据包。
第三方面,提供一种建立或更新隧道的方法,该方法可用于建立或更新接入网设备与用户面功能网元间的第一隧道和/或第二隧道。该方法可以由会话管理功能网元执行,也可以由会话管理功能网元中的部件(例如处理器、芯片或芯片系统等)执行。该方法包括:向用户面功能网元发送第一请求消息,所述第一请求用于请求建立或更新所述用户面功能网元与接入网设备之间的传输隧道;接收来自所述用户面功能网元的第一响应消息;
其中,所述第一请求消息中包含有以下参数中的一项或多项:下行数据包检测规则,所述下行数据包检测规则中包括第一指示信息,所述第一指示信息用于指示所述用户面功能网元进行冗余传输;所述下行数据包检测规则相关联的第一转发规则FAR,所述第一FAR中包含第一指示信息和/或第二指示信息,所述第一指示信息用于指示所述用户面功能网元进行冗余传输,所述第二指示信息用于指示所述用户面功能网元对接收的下行数据包,以及复制的下行数据包,添加相同的序列号。上行数据包检测规则,所述上行数据包检测规则中包括第三指示信息,所述第三指示信息用于指示所述用户面功能网元检测冗余数据包;所述上行数据包检测规则相关联的第二FAR,所述第二FAR中包括第四指示信息,所述第四指示信息用于指示所述用户面功能网元转发原始的上行数据包或丢弃复制的上行数据包。
通过上述方法,可建立或更新接入网设备和用户面功能网元间的两个隧道。该两个隧道可为用于传输下行数据的隧道,或者,用于传输上行数据的隧道。如此,接入网设备和用户面功能网元在通信时,可传输两个数据包。在一个数据包丢失的情况下,接收端还可接收到另一个数据包,提高了数据传输的可靠性。
第四方面,本申请实施例提供一种装置,可以实现上述第一方面、或第一方面任一种可能的实施方式中的方法。该装置包括用于执行上述方法的相应的单元或部件。该装置包括的单元可以通过软件和/或硬件方式实现。该装置例如可以为用户面功能网元、或者为可支持用户面功能网元实现上述方法的芯片、芯片系统、或处理器等。
第五方面,本申请实施例提供一种装置,可以实现上述第二方面、或第二方面任一种可能的实施方式中的方法。该装置包括用于执行上述方法的相应的单元或部件。该装置包括的单元可以通过软件和/或硬件方式实现。该装置例如可以为用户面功能网元、或者为可支持用户面功能网元实现上述方法的芯片、芯片系统、或处理器等。
第六方面,本申请实施例提供一种装置,可以实现上述第三方面、或第三方面任一种 可能的实施方式中的方法。该装置包括用于执行上述方法的相应的单元或部件。该装置包括的单元可以通过软件和/或硬件方式实现。该装置例如可以为会话管理功能网元、或者为可支持会话管理功能网元实现上述方法的芯片、芯片系统、或处理器等。
第七方面,本申请实施例提供一种装置,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该装置实现上述第一方面、或第一方面任一种可能的实施方式中所述的方法。
第八方面,本申请实施例提供一种装置,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该装置实现上述第二方面、或第二方面任一种可能的实施方式中所述的方法。
第九方面,本申请实施例提供一种装置,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该装置实现上述第三方面、或第三方面任一种可能的实施方式中所述的方法。
第十方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序或指令,所述计算机程序或指令被执行时使得计算机执行上述第一方面、或第一方面任一种可能的实施方式中所述的方法。
第十一方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序或指令,所述计算机程序或指令被执行时使得计算机执行上述第二方面、或第二方面任一种可能的实施方式中所述的方法。
第十二方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序或指令,所述计算机程序或指令被执行时使得计算机执行上述第三方面、或第三方面任一种可能的实施方式中所述的方法。
第十三方面,本申请实施例提供一种计算机程序产品,其包括计算机程序代码,所述计算机程序代码在计算机上运行时,使得计算机执行上述第一方面、或第一方面任一种可能的实施方式中所述的方法。
第十四方面,本申请实施例提供一种计算机程序产品,其包括计算机程序代码,所述计算机程序代码在计算机上运行时,使得计算机执行上述第二方面、或第二方面任一种可能的实施方式中所述的方法。
第十五方面,本申请实施例提供一种计算机程序产品,其包括计算机程序代码,所述计算机程序代码在计算机上运行时,使得计算机执行上述第三方面、或第三方面任一种可能的实施方式中所述的方法。
第十六方面,本申请实施例提供一种芯片,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该芯片实现上述第一方面、或第一方面任一种可能的实施方式中所述的方法。
第十七方面,本申请实施例提供一种芯片,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该芯片实现上述第二方面、或第二方面任一种可能的实施方式中所述的方法。
第十八方面,本申请实施例提供一种芯片,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该芯片实现上述第三方面、或第三方面任一种可能的实施方式中所述的方法。
附图说明
图1为本申请实施例提供的一种网络架构;
图2为本申请实施例提供的数据传输方法的一流程示意图;
图3为本申请实施例提供的下行数据传输的一示意图;
图4为本申请实施例提供的数据传输方法的另一流程示意图;
图5为本申请实施例提供的上行数据传输的一示意图;
图6为本申请实施例提供的建立或更新隧道方法的一流程示意图;
图7为本申请实施例提供的装置的一结构示意图;
图8为本申请实施例提供的装置的另一结构示意图。
具体实施方式
本申请实施例提供的数据传输方法及装置,可应用于网络架构中。如图1所示,提供一种网络架构,包括:终端设备、接入网设备、用户面功能网元和数据网络。其中,接入网设备与用户面功能网元之间可建立两条隧道,分别为第一隧道和第二隧道,用于数据传输。需要说明的是,在本申请实施例中,隧道与通道两者不作区分,可相互替换。比如,上述第一隧道和第二隧道还可称为N3通道1和N3通道2等。需要说明的是,用于上行数据传输的隧道,和用于下行数据传输的隧道可以是不同的,也就是说接入网设备为下行数据传输建立两条隧道,用户面功能网元为上行数据传输建立两条隧道。第一隧道和第二隧道既可用于上行数据传输,或者,也可以用于下行数据传输。可以理解的是,在本申请实施例的描述,当描述第一隧道和第二隧道用于下行数据传输时,此时的第一隧道和第二隧道为下行数据传输隧道。当描述第一隧道和第二隧道用于上行数据传输时,此时的第一隧道和第二隧道为上行数据传输隧道。其中,隧道可由数据接收方的标识信息来标识,即下行数据传输隧道可由接入网设备的标识信息来标识,上行数据传输隧道可由用户面功能网元的标识信息来标识。
在一种可能的示例中,数据网络可向用户面功能网元发送下行数据包,用户面功能网元可复制该下行数据包。之后,用户面功能网元可通过上述第一隧道和第二隧道,分别向接入网设备传输上述原始的下行数据包和复制的下行数据包。接入网设备在接收到两个下行数据包后,丢弃其中一个下行数据包,将另一个下行数据包转发给终端设备。在该示例中,第一隧道和第二隧道为下行数据传输隧道。
在另一种可能的示例中,终端设备向接入网设备发送上行数据包,接入网设备复制该上行数据包。之后,接入网设备通过上述第一隧道和第二隧道,分别向用户面功能网元发送上述原始的上行数据包和复制的上行数据包。用户面功能网元在接收到上述两个上行数据包后,丢弃其中一个上行数据包,将另一个上行数据包转发给数据网络。在该示例中,第一隧道和第二隧道为上行数据传输隧道。
可选的,图1仅为示意性说明,并不作为对本申请实施例的限定。比如,在图1所示的网络架构中,还可包括:接入和移动管理功能网元、会话管理功能网元或策略控制功能网元等中的一个或多个等。其中,终端设备可通过当前位置的接入网设备接入无线网络,接入和移动管理功能网元可用于终端设备的设备注册、安全认证、移动性管理和位置管理等。会话管理功能网元可用于终端设备的会话建立、更新和删除等。用户面功能网元可用 于转发终端设备和外部数据网络之间的数据包等。策略功能网元可用于终端设备的计费和服务质量(quality of service,QoS)等策略控制。数据网络中可包括应用服务器,用于为终端设备提供应用服务等。
需要说明的是,图1所示的网络架构,可应用于不同制式的移动通信网络中。比如,当图1所示的网络架构,应用于第五代移动通信网络中,上述接入和移动管理功能网元可以为接入和移动性管理功能(access&mobility function,AMF)网元,会话管理功能网元可以为会话管理功能(session management function,SMF)网元,用户面功能网元可以为用户面功能(user plane function,UPF)网元,策略功能可以为策略控制功能(policy control function,PCF)网元等。
另外,需要说明的是,在本申请实施例中,“第一”和“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序等。“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c,或a和b和c,其中a,b,c可以是单个,也可以是多个。
基于图1所示的网络架构,本申请实施例提供一种数据传输方法及装置,原理为:在下行数据传输中,用户面功能网元复制原始的下行数据包,得到两个下行数据包,且在两个下行数据包中添加相同的序列号。接入网设备将收到的一个下行数据包转发给终端设备,将收到的另一个下行数据包丢弃。例如,接入网设备可根据接收两个下行数据包的先后顺序,将先接收的下行数据包转发给终端设备,丢弃后接收的下行数据包。在上行数据传输中,接入网设备复制原始的上行数据包,得到两个上行数据包,且在两个上行数据包中添加相同的序列号。用户面功能网元将收到的一个上行数据包转发给数据网络,将收到的另一个上行数据包丢弃。例如,用户面功能网元可根据接收两个上行数据包的先后顺序,丢弃后接收的上行数据包,转发先接收的上行数据包至数据网络。在本申请的方法及装置中,当一个隧道上传输的数据包丢失后,用户面功能网元或接入网设备还可通过另一个隧道接收另一个数据包,提高数据传输的可靠性,使得网络能够实现数据的高可靠传输。
本申请实施例描述的技术可用于各种通信系统,例如第四代(4th generation,4G)通信系统,4.5G通信系统,5G通信系统,多种通信系统融合的系统,或者未来演进的通信系统(例如6G通信系统)。例如长期演进(long term evolution,LTE)系统,新空口(new radio,NR)系统,物联网系统、车联网系统、无线保真(wireless-fidelity,WiFi)系统,以及第三代合作伙伴计划(3rd generation partnership project,3GPP)相关的通信系统等,以及其他此类通信系统。
如图2所示,提供一种数据传输方法的流程,该流程可应用于下行数据传输,该流程中的第一隧道和第二隧道为下行数据传输隧道。该流程的执行主体包括数据网络、用户面功能网元、接入网设备和终端设备等。该流程中的数据网络也可以是数据网络中的部件(例如处理器、芯片或芯片系统等),该流程中的用户面功能网元也可以是用户面功能网元中的部件(例如处理器、芯片或芯片系统等),该流程中的接入网设备也可以是接入网设备中的部件(例如处理器、芯片或芯片系统等),该流程中的终端设备也可以是终端设备中 的部件(例如处理器、芯片或芯片系统等),该流程包括:
S201:数据网络向用户面功能网元发送第一数据包,该第一数据包还可称为原始的下行数据包。相应的,用户面功能网元接收来自数据网络的第一数据包。
S202:用户面功能网元根据所述第一数据包,确定第一指示信息,所述第一指示信息用于指示用户面功能网元进行冗余传输。
在一种可能的示例中,用户面功能网元根据所述第一数据包,确定下行数据包检测规则(downlink packet detection rule,DL PDR),所述下行数据包检测规则中包含有第一指示信息。比如,用户面功能网元可获取第一数据包中的匹配信息。例如,第一数据包中的源IP地址,目的IP地址,源端口号和目的端口号等信息。用户面功能网元根据第一数据包中的匹配信息,匹配下行数据包检测规则。比如,在一种示例中,当下行数据包检测规则中与第一数据包中包括相同的匹配信息时,可认为该下行数据包检测规则,即为上述确定的下行数据包检测规则。所述第一指示还可称为冗余传输指示,用于指示用户面功能网元进行冗余传输。所述冗余传输可具体为:用户面功能网元复制接收到的下行数据包,在上述两个隧道中分别向接入网设备,传输原始的下行数据包和复制的下行数据包。
所述第一指示信息可通过以下方式携带:
1、在下行数据包检测规则中新增一个参数,该参数即为第一指示信息。
比如,该参数可通过一个比特来指示,该比特设为1时,表示需要进行冗余传输,该比特设为0时,表示不需要进行冗余传输或者没有特殊含义等。或者,该比特设为0,表示需要进行冗余传输,该比特设为1,表示不需要进行冗余传输或者没有特殊含义等。或者,该参数可通过枚举的方式来指示。例如,通过一个特定的枚举值表示需要进行冗余传输等。
2、扩展下行数据包检测规则中的原有参数,该扩展的参数即为第一指示信息。
比如,在下行数据包检测规则中包括一原有参数,该原有参数包括两个比特位,分别为第一比特位和第二比特位。其中,该原有参数的第一比特位有特定含义,第二比特位没有特定含义。在本申请实施例中,可利用该原有参数的第二比特位,表示是否需要进行冗余传输。比如,当第二比特位为1时,可表示需要进行冗余传输,当第二比特位为0时,可表示不需要进行冗余传输,反之亦可,在此不再赘述。
在另一种可能的示例中,所述用户面功能网元根据所述第一数据包,确定下行数据包检测规则所关联的第一转发规则(forwarding action rule,FAR),所述第一转发规则中包含第一指示信息。示例的,所述用户面功能网元可根据第一数据包,确定下行数据包检测规则。关于确定下行数据包检测规则的过程,可参见上述记载,在此不再赘述。所述下行数据包检测规则中可包含关联的第一转发规则的标识,所述用户面功能网元根据所述第一转发规则的标识,确定所述第一转发规则。所述第一指示信息可为复制数据包指示,指示用户面功能网元进行冗余传输,即指示用户面功能网元复制接收的下行数据包。关于在第一转发规则中携带第一指示信息的方式,可参见上述在第一下行数据包检测规则中携带第一指示信息的方式,在此不再赘述。或者,所述第一转发规则中可包括上述第一隧道的标识信息和上述第二隧道的标识信息,所述第一指示信息可为上述第一隧道的标识信息和上述第二隧道的标识信息,即,当所述第一转发规则中包含第一隧道的标识信息和第二隧道的标识信息时,即指示用户面功能网元进行冗余传输。其中所述第一隧道的标识信息和第二隧道的标识信息可为接入网设备的标识信息。
S203:用户面功能网元根据所述第一指示信息,复制第一数据包,得到第二数据包。第二数据包还可称为复制的下行数据包。
可选的,上述第一转发规则中还可包括第二指示信息,所述第二指示信息用于指示所述用户面功能网元在原始的下行数据包和复制的下行数据包,即上述第一数据包和第二数据包中,添加相同的序列号。所述用户面功能网元可根据上述第二指示信息,在所述第一数据包和第二数据包中添加第一序列号。
关于在第一转发规则中携带第二指示信息的方式,可参见上述在第一下行数据包检测规则中携带第一指示信息的方式,在此不再赘述。
S204:用户面功能网元分别通过第一隧道和第二隧道,向接入网设备发送所述第一数据包和第二数据包,所述第一数据包和第二数据包中携带有第一序列号。相应的,接入网设备通过第一隧道和第二隧道,接收来自用户面功能网元的第一数据包和第二数据包。
可选的,所述第一隧道和第二隧道可称为通用无线分组业务隧道协议用户面(general packet radio service tunnelling protocol userplane,GTP-U)隧道,或者,第一隧道和第二隧道还可称为N3通道等。
S205:接入网设备根据第一数据包中携带的第一序列号,将第一数据包转发给终端设备,或者,丢弃第一数据包。
示例的,接入网设备在通过第一隧道接收到第一数据包之后,可确定第一数据包对应的业务数据流上下文。接入网设备判断所述业务数据流上下文中是否包括第一序列号。若所述业务数据流上下文中包含所述第一序列号,接入网设备可认为第一数据包为复制的数据包,接入网设备丢弃该数据包,且在业务数据流上下文中删除所述第一序列号。若所述业务数据流上下文中没有包含所述第一序列号,则接入网设备可认为第一数据包为原始的数据包,将第一数据包转发给终端设备,且将第一序列号添加至业务数据流上下文中。
S206:接入网设备根据第二数据包中携带的第一序列号,将第二数据包转发给终端设备,或者,丢弃第二数据包。
其中,接入网设备通过第二隧道接收到第二数据包后,对第二数据包的处理过程,与对第一数据包的处理过程,两者相似,在此不再赘述。可以理解的是,若接入网设备将第一数据包转发给终端设备,则丢弃第二数据包。或者,若接入网设备将第二数据包转发给终端设备,则丢弃第一数据包。
通过上述功能可以看出,用户面功能网元复制收到的下行数据包,通过上述第一隧道和第二隧道,向接入网设备分别发送原始的下行数据包和复制的下行数据包。在网络正常情况下,接入网设备可转发先收到的下行数据包,丢弃后收到的下行数据包。在网络故障情况下,若一个下行数据包丢失,则接入网设备还可接收到另一个下行数据包,提高数据传输的可靠性。
可以理解的是,在上述图2所示的流程中,若接入网设备在时间上,先接收第一数据包,后接收第二数据包。则接入网设备可转发第一数据包,丢弃第二数据包,接入网设备认为第一数据包为原始的数据包,第二数据包为复制的数据包。或者,若接入网设备在时间上,先接收第二数据包,后接收第一数据包。则接入网设备可转发第二数据包,丢弃第一数据包。接入网设备认为第二数据包为原始的数据包,第一数据包为复制的数据包。
针对上述图2所示流程的下行数据传输,提供一种示例。在该示例中,以第一隧道为 第一GTP-U隧道,第二隧道为第二GTP-U隧道,第一指示信息为冗余传输指示,第二指示信息为增加序列号指示,为例进行说明。可以理解的是,在该下行数据传输示例中,第一GTP-U隧道和第二GTP-U隧道,均为下行数据传输隧道。
参照图3所示,当用户面功能网元接收到来自数据网络的下行数据包(可称为第一数据包)之后,用户面功能网元可根据第一数据包中所包含的信息(例如,第一数据包的源IP地址、目的IP地址、源端口号或目的端口号等),确定下行数据包检测规则,根据所述下行数据包检测规则中的冗余传输指示,确定需要复制收到的数据包,用户面功能网元复制所述第一数据包,得到第二数据包。用户面功能网元根据下行数据包检测规则关联的第一转发规则对第一数据包和第二数据包进行转发处理。比如,用户面功能网元可根据第一转发规则中所包含的增加序列号指示,在第一数据包和第二数据包添加相同的序列号,并通过第一GTP-U隧道和第二GTP-U隧道,分别将第一数据包和第二数据包发送给接入网设备。
所述接入网设备在接收到所述第一数据包或第二数据包后,获取所述第一数据包或第二数据包中的序列号,判断所述第一数据包或第二数据包对应的业务数据流上下文中是否保存有相同的序列号。如果没有,则接入网设备可认为第一数据包或第二数据包为原始的数据包,将所述第一数据包或者第二数据包转发给用户设备,并且将该序列号存储到业务数据流上下文;如果有相同的序列号,则接入网设备可认为该第一数据包或第二数据包为复制的数据包,丢弃该数据包,并且将该序列号从业务数据流上下文中删除。
如图4所示,提供一种数据传输方法的流程,该流程可应用于上行数据传输,该流程中的第一隧道和第二隧道为上行数据传输隧道。该流程的执行主体包括终端设备、接入网设备、用户面功能网元和数据网络等。该流程中的终端设备也可以是终端设备中的部件(例如处理器、芯片或芯片系统等),该流程中的接入网设备也可以是接入网设备中的部件(例如处理器、芯片或芯片系统等),该流程中的用户面功能网元也可以是用户面功能网元中的部件(例如处理器、芯片或芯片系统等),该流程中的数据网络也可以是数据网络中的部件(例如处理器、芯片或芯片系统等),该流程包括:
S401:终端设备向接入网设备发送第一数据包,该第一数据包可称为原始的上行数据包。相应的,接入网设备接收来自终端设备的第一数据包。
S402:接入网设备复制所述第一数据包,得到第二数据包,第二数据包可称为复制的上行数据包。
S403:接入网设备分别通过第一隧道和第二隧道,向用户面功能网元发送第一数据包和第二数据包,第一数据包和第二数据包中携带有第一序列号。相应的,用户面功能网元分别通过第一隧道和第二隧道,接收来自接入网设备的第一数据包和第二数据包。
在一种可能的示例中,接入网设备可确定第一数据包所对应的业务数据流上下文,根据业务数据流上下文中的第一指示,复制所述第一数据包,得到第二数据包。进一步的,接入网设备根据业务数据流上下文中的第二指示,分别在第一数据包和第二数据包中,添加第一序列号。
S404:用户面功能网元根据第一数据包,确定上行数据包检测规则。
例如,用户面功能网元可根据第一数据包中包含的匹配信息,如隧道端点标识等信息匹配一个或者多个上行数据包检测规则,当上行数据包检测规则中包含相同的匹配信息时,所述上行数据包检测规则即为确定的上行数据包检测规则。
S405:用户面功能网元根据上行数据包检测规则,将第一序列号存储到上行数据包检测规则中,或者,删除上行数据包检测规则中的第一序列号。
在一种可能的实现方式中,上行数据包检测规则中可包括第三指示信息,所述第三指示信息可用于指示所述用户面功能网元检测冗余数据包。所述用户面功能网元可根据第三指示信息,将第一序列号存储到上行数据包检测规则中,或者,删除上行数据包检测规则中的第一序列号。例如,当所述上行数据包检测规则中包含所述第一序列号时,可认为第一数据包为复制的数据包,在上行数据包检测规则中删除第一序列号,且丢弃第一数据包。或者,当所述上行数据包检测规则中未包含所述第一序列号时,可认为第一数据包为原始的数据包,将第一序列号存储至上行数据包检测规则中,且转发第一数据包。
其中,所述第三指示信息可通过以下方式携带:
1、在上行数据包检测规则中新增一个参数,该参数即为第三指示信息。
比如,该参数可通过一个比特来指示,该比特设为1时,表示需要检测冗余数据包,该比特设为0时,表示不需要检测冗余数据包或者没有特殊含义等。或者,该比特设为0,表示需要检测冗余数据包,该比特设为1,表示不需要检测冗余数据包或者没有特殊含义等。或者,该参数可通过枚举的方式来指示。例如,通过一个特定的枚举值表示需要检测冗余数据包等。
2、扩展上行数据包检测规则中的原有参数,该扩展的参数即为第三指示信息。比如,在上行数据包检测规则中包括一原有参数,该原有参数包括两个比特位,分别为第一比特位和第二比特位。其中,该原有参数的第一比特位有特定含义,第二比特位没有特定含义。在本申请实施例中,可利用该原有参数的第二比特位,表示是否需要检测冗余数据包。比如,当第二比特位为0时,可表示需要检测冗余数据包。当第二比特位为1时,可表示不需要检测冗余数据包,反之亦可,在此不再赘述。
或者,所述上行数据包检测规则中可包括第一隧道的标识信息和第二隧道的标识信息,所述第三指示信息可为上述第一隧道的标识信息和第二隧道的标识信息,即,当所述上行数据包检测规则中包含第一隧道的标识信息和第二隧道的标识信息,可认为指示用户面功能网元检测冗余数据包。其中所述第一隧道的标识信息和第二隧道的标识信息可为用户面功能网元的标识信息。
在一种可能的实现方式中,上行数据包检测规则所关联的第二转发规则中可包含第四指示信息,所述第四指示信息可指示所述用户面功能网元转发所接收的数据包,或者,丢弃所接收的数据包。所述用户面功能网元可根据所述第四指示信息,执行丢弃第一数据包或者转发第一数据包的动作。关于在第二转发规则中携带第四指示信息的方式,可参见在上述上行数据包检测规则中携带第三指示信息的方式,在此不再赘述。
在一种可能的实现方式中,上行数据包检测规则可以关联两个转发规则,一个转发规则中包含第五指示信息,所述第五指示信息可指示所述用户面功能网元转发所接收的数据包,当用户面功能网元认为所述第一数据包为原始的数据包时,所述用户面功能网元根据此转发规则中的第五指示信息,转发所述数据包。另一个转发规则中包含第六指示信息,所述第六指示信息可指示所述用户面功能网元丢弃所接收的数据包,当用户面功能网元认为所述第一数据包为复制的数据包时,所述用户面功能网元根据此转发规则中的第六指示信息,丢弃所述数据包。
S406:用户面功能网元根据第二数据包,确定上行数据包检测规则。
S407:用户面功能网元根据上行数据包检测规则,将第一序列号存储到所述上行数据包检测规则中,或者,删除所述上行数据包检测规则中的第一序列号。
在S406和S407中,用户面功能网元对第二数据包的处理过程,与上述用户面功能网元对第一数据包的处理过程相类似,具体可参见上述第一数据包的处理过程,在此不再赘述。
通过上述方法,接入网设备复制接收到的上行数据包,通过上述第一隧道和第二隧道,向用户面功能网元分别发送原始的上行数据包和复制的上行数据包。在网络正常的情况下,用户面功能网元可转发先收到的上行数据包,丢弃后收到的上行数据包。在网络故障的情况下,若一个上行数据包丢弃,则用户面功能网元还可接收到另一个上行数据包,提高数据传输的可靠性。
需要说明的是,在上述图4所示的流程中,若用户面功能网元在时间上,先接收到第一数据包,后接收到第二数据包。则用户面功能网元认为第一数据包为初始的上行数据包,第二数据包为复制的上行数据包,转发第一数据包,丢弃第二数据包。同理,若用户面功能网元在时间上,先接收第二数据包,后接收第一数据包。则用户面功能网元认为第二数据包为初始的上行数据包,第一数据包为复制的上行数据包,转发第二数据包,丢弃第一数据包。
针对上述图4所示的流程中的上行数据传输,提供一种示例。在该示例中,以第一隧道为第一GTP-U隧道,第二隧道为第二GTP-U隧道,第三指示信息为复制包检测指示,第四指示信息为复制包消除指示为例进行说明。在该示例中,第一GTP-U隧道和第二GTP-U隧道,为上行数据传输隧道。
参见图5所示,当接入网设备接收到来自终端设备的数据包后,称为第一数据包,接入网设备获知需要复制收到的数据包,接入网设备复制所述数据包,复制的数据包称为第二数据包。接入网设备在所述第一数据包和第二数据包中添加相同的序列号,并将所述第一数据包和第二数据包分别通过第一GTP-U隧道和第二GTP-U隧道发送给用户面功能网元。
当用户面功能网元接收到来自接入网设备的第一数据包或第二数据包后,用户面功能网元可根据数据包中包含的信息(例如隧道端点标识等),匹配上行数据包检测规则。如果匹配上的上行数据包检测规则中没有序列号,或者没有和所述数据包中包含的序列号相同的序列号,则认为该数据包为原始的数据包,用户面功能网元将所述数据包中的序列号存储到上行数据包检测规则中。如果匹配上的上行数据包检测规则中有序列号,并且所述序列号与所述数据包中包含的序列号相同,则认为该数据包为复制的数据包,用户面功能网元删除所述上行数据包检测规则中的所述相同的序列号。
需要说明的是,所述上行数据包检测规则中可以存储一个或者多个序列号,即为队列,所述队列可以设置队列长度,即可以存储的序列号的上限,如1000个,即超过1000个序列号后不再存储新的序列号。或者所述序列号可以设置定时器,当定时器超时后,删除所述序列号。
举例来说,如果用户面功能网元通过第一GTP-U隧道收到序列号为1的数据包,且上行数据包检测规则中没有存储值为1的序列号,则用户面功能网元将序列号1存储到上行数据包检测规则。用户面功能网元又通过第二隧道收到序列号为3的数据包,且上行数据 包检测规则中没有存储值为3的序列号,则用户面功能网元将序列号3也存储到上行数据包检测规则。后续用户面功能网元通过第二隧道收到序列号为1的数据包,则用户面功能网元删除上行数据包检测规则中存储的值为1的序列号。
需要说明的是,用户面功能网元可以通过序列号来实现有序传输,即要求所述序列号通过升序的方式递增。如上述例子,当用户面功能网元收到第一GTP-U隧道发送的序列号为3的上行数据包时,所述用户面功能网元缓存所述上行数据包,在收到并转发序列号为2的数据包后再转发所述序列号为3的上行数据包。
进一步的,所述上行数据包检测规则中也可以没有包含所述复制包检测指示,所述用户面功能网元通过上行数据包检测规则中包含2个用户面功能网元的隧道标识获知需要进行复制包检测,即2个用户面功能网元的隧道标识起到了复制包检测指示的作用。
用户面功能网元根据所述上行数据包检测规则关联的FAR对所述第一数据包和第二数据包进行转发处理。比如用户面功能网元可根据FAR中包含的复制包消除指示,将所述第一数据包转发给数据网络,丢弃所述第二数据包,或者,丢弃第一数据包,将第二数据包转发给数据网络等。
如图6所示,提供一种建立或更新隧道的方法流程,该流程可用于建立或更新接入网设备与用户面功能网元之间的上行数据传输隧道或下行数据传输隧道。为了便于说明,在以下流程中,将上行数据传输隧道和下行数据传输隧道统称为隧道。该流程可在服务请求流程,分组数据单元(packet data unit,PDU)会话建立,PDU会话更新,切换或注册区域更新等流程中执行,不作限定。该流程的执行主体包括会话管理功能网元和用户面功能网元。可以理解的是,所述会话管理功能网元还可以为会话管理功能网元中的部件(例如处理器、芯片或芯片系统等),所述用户面功能网元还可以为用户面功能网元中的部件(例如处理器、芯片或芯片系统等),该流程包括:
S601:会话管理功能网元向用户面功能网元发送第一请求消息,所述第一请求消息用于请求建立或更新所述用户面功能网元与接入网设备之间的传输隧道;相应的,用户面功能网元接收来自会话管理功能网元的第一请求消息。
在一种可能的实现方式中,所述第一请求消息可以为数据包转发控制协议(packet forwarding control protocol,PFCP)会话建立/更新请求消息。
S602:用户面功能网元向会话管理功能网元发送第一响应消息。相应的,会话管理功能网元接收来自用户面功能网元的第一响应消息。
在一种可能的实现方式中,所述第一响应消息可以为PFCP会话建立/更新响应消息。
其中,上述第一请求消息中包含有以下参数中的一项或多项:
上行数据包检测规则,所述上行数据包检测规则中包括:第一指示信息,所述第一指示信息用于指示所述用户面功能网元检测冗余数据包;
所述上行数据包检测规则相关联的第一转发规则,所述第一转发规则中包括第二指示信息,所述第二指示信息用于指示所述用户面功能网元丢弃数据包,或者,转发数据包。
下行数据包检测规则,所述下行数据包检测规则中包括第三指示信息,所述第三指示信息用于指示所述用户面功能网元进行冗余传输;
下行数据包检测规则相关联的第二转发规则,所述第二转发规则中包括第三指示信息和/或第四指示信息,所述第三指示信息用于指示所述用户面功能网元进行冗余传输,所述 第四指示信息用于指示所述用户面功能网元对接收的下行数据包,以及复制的下行数据包,添加相同的序列号。
通过上述描述可知,当上述第一隧道和第二隧道用于上行数据传输,即上述第一隧道和第二隧道为上行数据传输隧道时,所述第一隧道的标识信息和第二隧道的标识信息可为用户面功能网元的标识信息。
可选的,若上述第一隧道的标识信息和第二隧道的标识信息由会话管理网元分配时,则上述第一请求消息中还可包括:会话管理网元为第一隧道分配的第一标识信息和为第二隧道分配的第二标识信息。所述第一标识信息包括用户面功能网元的第一网际协议(internet protocol,IP)地址和/或第一隧道端点标识(tunnel endpoint identifier,TEID)等。第二标识信息可包括用户面功能网元的第二IP地址和/或第二TEID等。所述第一隧道的标识信息和第二隧道的标识信息可以包含于上行数据包检测规则中,用于建立上行数据传输隧道。
或者,若上述第一隧道的标识信息和第二隧道的标识信息由用户面功能网元分配时,则上述第一响应消息中可包括上述用户面功能网元为第一隧道分配的第一标识信息,以及为第二隧道分配的第二标识等信息。同理,所述第一标识信息可包括用户面功能网元的第一IP地址和/或第一TEID等,第二标识信息可包括用户面功能网元的第二IP地址和/或第二TEID等。所述第一隧道的标识信息和第二隧道的标识信息可以包含于上行数据包检测规则中,用于建立上行数据传输隧道。
同理,通过上述描述可知,当上述第一隧道和第二隧道用于下行数据传输,即上述第一隧道和第二隧道为下行数据传输隧道时,所述第一隧道的标识信息和第二隧道的标识信息可为接入网设备的标识信息。
可选的,若上述第一隧道的标识信息和第二隧道的标识信息由接入网设备分配时,所述第一请求消息中还可包括:接入网设备为第一隧道分配的第一标识信息以及为第二隧道分配的第二标识信息。所述第一标识信息可包括接入网设备的第一IP地址和/或第一TEID等,所述第二标识信息可包括接入网设备的第二IP地址和/或第二TEID等。所述第一隧道的标识信息和第二隧道的标识信息可以包含于下行数据包检测规则相关联的第二转发规则中,用于建立下行数据传输隧道。
通过上述方法,可在冗余隧道的建立或更新流程中,将上述参数配置给用户面功能网元,实现冗余传输。
可以理解的是,上述各个方法实施例中,由用户面功能网元实现的方法和操作,也可以由用户面功能网元中的部件(例如芯片或者电路)实现。由会话管理功能网元实现的方法和操作,也可以由会话管理功能网元中的部件(例如芯片或电路实现)。上述本申请实施例提供的方法中,分别从终端设备、接入网设备、用户面功能网元和数据网络交互的角度对本申请实施例提供的方法进行了介绍。为了实现上述本申请实施例提供的方法中的功能,用户面功能网元和会话管理功能网元可以包括硬件结构和/或软件单元,以硬件结构、软件单元,或硬件结构加软件单元的形式来实现上述各功能。上述各功能中的某个功能以硬件结构、软件单元,还是硬件结构加软件单元的方式来执行,取决于技术方案的特定应用和设计约束条件。
以上结合图1至图6详细说明了本申请实施例提供的方法。以下结合图7和图8详细说明本申请实施例提供的装置。应理解,装置实施例的描述与方法实施例的描述相互对应。 因此,未详细描述的内容可参见上文方法实施例中的描述。
图7是本申请实施例提供的装置700的示意性框图,用于实现上述方法中用户面功能网元或会话管理功能网元的功能。例如,该装置可以为软件单元或芯片系统。所述芯片系统可以由芯片构成,也可以包括芯片和其它分立器件。该装置包括通信单元701,还可包括处理单元702。通信单元701,可以与处部进行通信。处理单元702,用于进行处理。例如,根据第一指示信息,复制第一数据包等。通信单元701,还可以称为通信接口、收发单元、输入\输出接口等。例如,通信单元701可以包括发送单元和/或接收单元等,分别用于执行上文图2、图4或图6流程中由用户面功能网元或会话管理功能网元的发送或接收的步骤。
在一种示例中,装置700可实现对应于图2所示流程中用户面功能网元执行的步骤,所述装置700可以是用户面功能网元,或者配置于用户面功能网元中的芯片或电路。通信单元701执行上文方法实施例中用户面功能网元侧的收发操作,处理单元702用于执行上文方法实施例中用户面功能网元侧的处理相关操作。
比如,通信单元701,用于接收来自数据网络的第一数据包;处理单元702,用于根据所述第一数据包,确定第一指示信息,所述第一指示信息用于指示所述用户面功能网元进行冗余传输;所述处理单元702,还用于根据所述第一指示信息,复制所述第一数据包,得到第二数据包;所述通信单元701,还用于分别通过第一隧道和第二隧道,向接入网设备发送所述第一数据包和所述第二数据包,所述第一数据包和所述第二数据包中携带有第一序列号。
可选地,所述处理单元702在根据所述第一数据包,确定第一指示信息时,具体用于:根据所述第一数据包,确定下行数据包检测规则,所述下行数据包检测规则中包含所述第一指示信息。
可选地,所述处理单元702在根据所述第一数据包,确定第一指示信息时,具体用于:根据所述第一数据包,确定下行数据包检测规则所关联的第一转发规则FAR,所述第一FAR中包含所述第一指示信息。
可选地,所述下行数据包检测规则所关联的第一FAR中还包括第二指示信息,所述第二指示信息用于指示所述用户面功能网元在所述第一数据包和所述第二数据包中添加序列号,所述处理单元702,还用于:根据所述第二指示信息,在所述第一数据包和所述第二数据包中添加所述第一序列号。
在另一种示例中,装置700可实现对应于图4所示流程中用户面功能网元执行的步骤,所述装置700可以是用户面功能网元,或者配置于用户面功能网元中的芯片或电路。通信单元701执行上文方法实施例中用户面功能网元侧的收发操作,处理单元702用于执行上文方法实施例中用户面功能网元侧的处理相关操作。
在一种示例中,通信单元701,用于通过第一隧道,接收来自接入网设备的第一数据包,所述第一数据包中携带第一序列号;处理单元702,用于根据所述第一数据包,确定上行数据包检测规则;所述处理单元702,还用于根据所述上行数据包检测规则,将所述第一序列号存储到所述上行数据包检测规则中,或者,删除所述上行数据包检测规则中的所述第一序列号。
可选地,所述上行数据包检测规则中包括第三指示信息,所述第三指示信息用于指示所述用户面功能网元检测冗余数据包,所述处理单元702在根据所述上行数据包检测规则, 将所述第一序列号存储至所述上行数据包检测规则中,或者,删除所述上行数据包检测规则中的所述第一序列号时,用于:根据所述上行数据包检测规则中包括的所述第三指示信息,将所述第一序列号存储到所述上行数据包检测规则,或者,删除所述上行数据包检测规则中的第一序列号。
可选地,所述处理单元702在将所述第一序列号存储到所述上行数据包检测规则中时,具体用于:当所述上行数据包检测规则中未包含所述第一序列号时,将所述第一序列号存储至所述上行数据包检测规则。
可选地,所述处理单元702在删除所述上行数据包检测规则中的所述第一序列号时,用于:当所述上行数据包检测规则中包含所述第一序列号时,删除所述上行数据包检测规则中的所述第一序列号。
可选地,所述处理单元702还用于:在所述上行数据包检测规则中未包含所述第一序列号时,控制所述通信单元701将所述第一数据包转发给数据网络;或者,在所述上行数据包检测规则中包含所述第一序列号时,丢弃所述第一数据包。
可选地,所述上行数据包检测规则中未包含所述第一序列号,所述处理单元702在控制所述通信单元701将所述第一数据包转发给数据网络,用于:若所述上行数据包检测规则中未包含所述第一序列号,根据所述上行数据包检测规则所关联的第二转发规则FAR中包含的第四指示信息,将所述第一数据包转发给数据网络,所述第四指示信息用于指示所述用户面功能网元转发原始的上行数据包或丢弃复制的上行数据包。
可选地,所述上行数据包检测规则中包含所述第一序列号,所述处理单元702在元丢弃所述第一数据包时,具体用于:若所述上行数据包检测规则中包括所述第一序列号,根据所述上行数据包检测规则所关联的第二转发规则FAR中包含的第四指示信息,将所述第一数据包丢弃,所述第四指示信息用于指示所述用户面功能网元转发原始的上行数据包或丢弃复制的上行数据包。
在一种示例中,装置700可实现对应于上文图6所示流程中会话管理功能网元执行的步骤,所述装置700可以是会话管理功能网元,或者配置于会话管理功能网元中的芯片或电路。通信单元701用于执行上文方法实施例中会话管理功能网元的收发相关操作,处理单元702用于执行上文方法实施例中会话管理功能网元的处理相关操作。
在一种示例中,通信单元701,用于向用户面功能网元发送第一请求消息,所述第一请求用于请求建立或更新所述用户面功能网元与接入网设备之间的传输隧道;所述通信单元701,还用于接收来自所述用户面功能网元的第一响应消息;
其中,所述第一请求消息中包含有以下参数中的一项或多项:
下行数据包检测规则,所述下行数据包检测规则中包括第一指示信息,所述第一指示信息用于指示所述用户面功能网元进行冗余传输;所述下行数据包检测规则相关联的第一转发规则FAR,所述第一FAR中包含第一指示信息和/或第二指示信息,所述第一指示信息用于指示所述用户面功能网元进行冗余传输,所述第二指示信息用于指示所述用户面功能网元对接收的下行数据包,以及复制的下行数据包,添加相同的序列号。上行数据包检测规则,所述上行数据包检测规则中包括第三指示信息,所述第三指示信息用于指示所述用户面功能网元检测冗余数据包;所述上行数据包检测规则相关联的第二FAR,所述第二FAR中包括第四指示信息,所述第四指示信息用于指示所述用户面功能网元转发原始的上行数据包或丢弃复制的上行数据包。
本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能单元可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
可以理解的是,上述实施例中的通信单元的功能可以由收发器实现,处理单元的功能可以由处理器实现。收发器可以包括发射器和/或接收器等,分别用于实现发送单元和/或接收单元的功能。以下结合图8举例进行说明。
图8是本申请实施例提供的装置800的示意性框图,图8所示的装置800可以为图7所示的装置的一种硬件电路的实现方式。该装置可适用上述图2、图4或图6所示出的流程中,执行上述方法实施例中用户面功能网元或会话管理功能网元的功能。为了便于说明,图8仅示出该通信装置的主要部件。
图8所示的通信装置800包括至少一个处理器801。通信装置800还可以包括至少一个存储器802,用于存储程序指令和/或数据。存储器802和处理器801耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性、机械性或其它的形式,用于装置、单元或模块之间的信息交互。处理器801可以和存储器802协同操作,处理器801可以执行存储器802中存储的程序指令,所述至少一个存储器中802中的至少一个可以包括于处理器801中。
装置800还可以包括通信接口803,用于通过传输介质和其它设备进行通信,从而用于通信装置800可以和其它设备进行通信。在本申请实施例中,通信接口可以是收发器、电路、总线、模块或其它类型的通信接口。在本申请实施例中,通信接口为收发器时,收发器可以包括独立的接收器、独立的发射器;也可以集成收发功能的收发器、或者是接口电路。
应理解,本申请实施例中不限定上述处理器801、存储器802以及通信接口803之间的连接介质。本申请实施例在图8中以存储器802、处理器801以及通信接口803之间通过通信总线804连接,总线在图8中以粗线表示,其它部件之间的连接方式,仅是示意性说明,并不作为限定。所述总线可以包括地址总线、数据总线、控制总线等。为了便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线等。
在一种示例中,装置800用于实现上述图2所示流程中用户面功能网元执行的步骤。通信接口803用于执行上文实施例中用户面功能网元侧的收发相关操作,处理器801用于执行上文方法实施例中用户面功能网元侧的处理相关操作。
比如,通信接口803,用于接收来自数据网络的第一数据包;处理器801,用于根据所述第一数据包,确定第一指示信息,所述第一指示信息用于指示所述用户面功能网元进行冗余传输;所述处理器801,还用于根据所述第一指示信息,复制所述第一数据包,得到第二数据包;所述通信接口803,还用于分别通过第一隧道和第二隧道,向接入网设备发送所述第一数据包和所述第二数据包,所述第一数据包和所述第二数据包中携带有第一序列号。
可选地,所述处理器801在根据所述第一数据包,确定第一指示信息时,具体用于:根据所述第一数据包,确定下行数据包检测规则,所述下行数据包检测规则中包含所述第一指示信息。
可选地,所述处理器801在根据所述第一数据包,确定第一指示信息时,具体用于: 根据所述第一数据包,确定下行数据包检测规则所关联的第一转发规则FAR,所述第一FAR中包含所述第一指示信息。
可选地,所述下行数据包检测规则所关联的第一FAR中还包括第二指示信息,所述第二指示信息用于指示所述用户面功能网元在所述第一数据包和所述第二数据包中添加序列号,所述处理器801,还用于:根据所述第二指示信息,在所述第一数据包和所述第二数据包中添加所述第一序列号。
在一种示例中,装置800用于实现上述图4所示流程中用户面功能网元执行的步骤。通信接口803用于执行上文实施例中用户面功能网元侧的收发相关操作,处理器801用于执行上文方法实施例中用户面功能网元侧的处理相关操作。
在一种示例中,通信接口803,用于通过第一隧道,接收来自接入网设备的第一数据包,所述第一数据包中携带第一序列号;处理器801,用于根据所述第一数据包,确定上行数据包检测规则;所述处理器801,还用于根据所述上行数据包检测规则,将所述第一序列号存储到所述上行数据包检测规则中,或者,删除所述上行数据包检测规则中的所述第一序列号。
可选地,所述上行数据包检测规则中包括第三指示信息,所述第三指示信息用于指示所述用户面功能网元检测冗余数据包,所述处理器801在根据所述上行数据包检测规则,将所述第一序列号存储至所述上行数据包检测规则中,或者,删除所述上行数据包检测规则中的所述第一序列号时,用于:根据所述上行数据包检测规则中包括的所述第三指示信息,将所述第一序列号存储到所述上行数据包检测规则,或者,删除所述上行数据包检测规则中的第一序列号。
可选地,所述处理器801在将所述第一序列号存储到所述上行数据包检测规则中时,具体用于:当所述上行数据包检测规则中未包含所述第一序列号时,将所述第一序列号存储至所述上行数据包检测规则。
可选地,所述处理器801在删除所述上行数据包检测规则中的所述第一序列号时,用于:当所述上行数据包检测规则中包含所述第一序列号时,删除所述上行数据包检测规则中的所述第一序列号。
可选地,所述处理器801还用于:在所述上行数据包检测规则中未包含所述第一序列号时,控制所述通信接口803将所述第一数据包转发给数据网络;或者,在所述上行数据包检测规则中包含所述第一序列号时,丢弃所述第一数据包。
可选地,所述上行数据包检测规则中未包含所述第一序列号,所述处理器801在控制所述通信接口803将所述第一数据包转发给数据网络,用于:若所述上行数据包检测规则中未包含所述第一序列号,根据所述上行数据包检测规则所关联的第二转发规则FAR中包含的第四指示信息,将所述第一数据包转发给数据网络,所述第四指示信息用于指示所述用户面功能网元转发原始的上行数据包或丢弃复制的上行数据包。
可选地,所述上行数据包检测规则中包含所述第一序列号,所述处理器801在元丢弃所述第一数据包时,具体用于:若所述上行数据包检测规则中包括所述第一序列号,根据所述上行数据包检测规则所关联的第二转发规则FAR中包含的第四指示信息,将所述第一数据包丢弃,所述第四指示信息用于指示所述用户面功能网元转发原始的上行数据包或丢弃复制的上行数据包。
在一种示例中,装置800用于实现上述图6所示流程中会话管理功能网元执行的步骤。 通信接口803用于执行上文实施例中会话管理功能网元侧的收发相关操作,处理器801用于执行上文方法实施例中会话管理功能网元侧的处理相关操作。
在一种示例中,通信接口803,用于向用户面功能网元发送第一请求消息,所述第一请求用于请求建立或更新所述用户面功能网元与接入网设备之间的传输隧道;所述通信接口803,还用于接收来自所述用户面功能网元的第一响应消息;
其中,所述第一请求消息中包含有以下参数中的一项或多项:
下行数据包检测规则,所述下行数据包检测规则中包括第一指示信息,所述第一指示信息用于指示所述用户面功能网元进行冗余传输;所述下行数据包检测规则相关联的第一转发规则FAR,所述第一FAR中包含第一指示信息和/或第二指示信息,所述第一指示信息用于指示所述用户面功能网元进行冗余传输,所述第二指示信息用于指示所述用户面功能网元对接收的下行数据包,以及复制的下行数据包,添加相同的序列号。上行数据包检测规则,所述上行数据包检测规则中包括第三指示信息,所述第三指示信息用于指示所述用户面功能网元检测冗余数据包;所述上行数据包检测规则相关联的第二FAR,所述第二FAR中包括第四指示信息,所述第四指示信息用于指示所述用户面功能网元转发原始的上行数据包或丢弃复制的上行数据包。
进一步的,本申请实施例还提供一种装置,所述装置用于执行上文图2所示流程中的方法,或者,用于执行上文图4所示流程中的方法,或者,用于执行上述图6所示流程中的方法。一种计算机可读存储介质,包括程序,当所述程序被处理器运行时,上文图2所示流程中的方法被执行,或者,上文图4所示流程中的方法被执行,或者,上文图6所示流程中的方法被执行。一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机实现上文图2所示流程的方法,或者实现上文图4所示流程中的方法,或者实现上文图6所示流程中的方法。一种芯片,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得装置执行上文图2所示流程的方法,或者,执行上文图4所示流程的方法,或者,执行上文图6所示流程的方法。
本申请实施例中,处理器可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。
在本申请实施例中,存储器可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。本申请实施例中的存储器还可以是电路或者其它任意能够实现存储功能的装置,用于存储程序指令和/或数据。
本申请实施例提供的方法中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、 专用计算机、计算机网络、网络设备、用户设备或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,简称DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机可以存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,数字视频光盘(digital video disc,简称DVD))、或者半导体介质(例如,SSD)等。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (27)

  1. 一种数据传输方法,其特征在于,包括:
    用户面功能网元接收来自数据网络的第一数据包;
    所述用户面功能网元根据所述第一数据包,确定第一指示信息,所述第一指示信息用于指示所述用户面功能网元进行冗余传输;
    所述用户面功能网元根据所述第一指示信息,复制所述第一数据包,得到第二数据包;
    所述用户面功能网元分别通过第一隧道和第二隧道,向接入网设备发送所述第一数据包和所述第二数据包,所述第一数据包和所述第二数据包中携带有第一序列号。
  2. 如权利要求1所述的方法,其特征在于,所述用户面功能网元根据所述第一数据包,确定第一指示信息,包括:
    所述用户面功能网元根据所述第一数据包,确定下行数据包检测规则,所述下行数据包检测规则中包含所述第一指示信息。
  3. 如权利要求1所述的方法,其特征在于,所述用户面功能网元根据所述第一数据包,确定第一指示信息,包括:
    所述用户面功能网元根据所述第一数据包,确定下行数据包检测规则所关联的第一转发规则FAR,所述第一FAR中包含所述第一指示信息。
  4. 如权利要求2或3所述的方法,其特征在于,所述下行数据包检测规则所关联的第一FAR中还包括第二指示信息,所述第二指示信息用于指示所述用户面功能网元在所述第一数据包和所述第二数据包中添加序列号;
    所述方法还包括:
    所述用户面功能网元根据所述第二指示信息,在所述第一数据包和所述第二数据包中添加所述第一序列号。
  5. 一种数据传输方法,其特征在于,包括:
    用户面功能网元通过第一隧道,接收来自接入网设备的第一数据包,所述第一数据包中携带第一序列号;
    所述用户面功能网元根据所述第一数据包,确定上行数据包检测规则;
    所述用户面功能网元根据所述上行数据包检测规则,将所述第一序列号存储到所述上行数据包检测规则中,或者,删除所述上行数据包检测规则中的所述第一序列号。
  6. 如权利要求5所述的方法,其特征在于,所述上行数据包检测规则中包括第三指示信息,所述第三指示信息用于指示所述用户面功能网元检测冗余数据包,所述用户面功能网元根据所述上行数据包检测规则,将所述第一序列号存储至所述上行数据包检测规则中,或者,删除所述上行数据包检测规则中的所述第一序列号,包括:
    所述用户面功能网元根据所述上行数据包检测规则中包括的所述第三指示信息,将所述第一序列号存储到所述上行数据包检测规则,或者,删除所述上行数据包检测规则中的第一序列号。
  7. 如权利要求5或6所述的方法,其特征在于,所述用户面功能网元将所述第一序列号存储到所述上行数据包检测规则中,包括:
    当所述上行数据包检测规则中未包含所述第一序列号时,所述用户面功能网元将所述第一序列号存储至所述上行数据包检测规则。
  8. 如权利要求5至7中任一项所述的方法,其特征在于,所述用户面功能网元删除所述上行数据包检测规则中的所述第一序列号,包括:
    当所述上行数据包检测规则中包含所述第一序列号时,所述用户面功能网元删除所述上行数据包检测规则中的所述第一序列号。
  9. 如权利要求5至8中任一项所述的方法,其特征在于,所述方法还包括:
    所述上行数据包检测规则中未包含所述第一序列号,所述用户面功能网元将所述第一数据包转发给数据网络;或者,
    所述上行数据包检测规则中包含所述第一序列号,所述用户面功能网元丢弃所述第一数据包。
  10. 如权利要求9所述的方法,其特征在于,所述上行数据包检测规则中未包含所述第一序列号,所述用户面功能网元将所述第一数据包转发给数据网络,包括:
    若所述上行数据包检测规则中未包含所述第一序列号,所述用户面功能网元根据所述上行数据包检测规则所关联的第二转发规则FAR中包含的第四指示信息,将所述第一数据包转发给数据网络,所述第四指示信息用于指示所述用户面功能网元转发原始的上行数据包或丢弃复制的上行数据包。
  11. 如权利要求9所述的方法,其特征在于,所述上行数据包检测规则中包含所述第一序列号,所述用户面功能网元丢弃所述第一数据包,包括:
    若所述上行数据包检测规则中包括所述第一序列号,所述用户面功能网元根据所述上行数据包检测规则所关联的第二转发规则FAR中包含的第四指示信息,将所述第一数据包丢弃,所述第四指示信息用于指示所述用户面功能网元转发原始的上行数据包或丢弃复制的上行数据包。
  12. 一种建立或更新隧道的方法,其特征在于,包括:
    会话管理功能网元向用户面功能网元发送第一请求消息,所述第一请求用于请求建立或更新所述用户面功能网元与接入网设备之间的传输隧道;
    所述会话管理功能网元接收来自所述用户面功能网元的第一响应消息;
    其中,所述第一请求消息中包含有以下参数中的一项或多项:
    下行数据包检测规则,所述下行数据包检测规则中包括第一指示信息,所述第一指示信息用于指示所述用户面功能网元进行冗余传输;
    所述下行数据包检测规则相关联的第一转发规则FAR,所述第一FAR中包含第一指示信息和/或第二指示信息,所述第一指示信息用于指示所述用户面功能网元进行冗余传输,所述第二指示信息用于指示所述用户面功能网元对接收的下行数据包,以及复制的下行数据包,添加相同的序列号;
    上行数据包检测规则,所述上行数据包检测规则中包括第三指示信息,所述第三指示信息用于指示所述用户面功能网元检测冗余数据包;
    所述上行数据包检测规则相关联的第二FAR,所述第二FAR中包括第四指示信息,所述第四指示信息用于指示所述用户面功能网元转发原始的上行数据包或丢弃复制的上行数据包。
  13. 一种装置,其特征在于,包括:
    通信单元,用于接收来自数据网络的第一数据包;
    处理单元,用于根据所述第一数据包,确定第一指示信息,所述第一指示信息用于指 示所述用户面功能网元进行冗余传输;
    所述处理单元,还用于根据所述第一指示信息,复制所述第一数据包,得到第二数据包;
    所述通信单元,还用于分别通过第一隧道和第二隧道,向接入网设备发送所述第一数据包和所述第二数据包,所述第一数据包和所述第二数据包中携带有第一序列号。
  14. 如权利要求13所述的装置,其特征在于,所述处理单元在根据所述第一数据包,确定第一指示信息时,用于:
    根据所述第一数据包,确定下行数据包检测规则,所述下行数据包检测规则中包含所述第一指示信息。
  15. 如权利要求13所述的装置,其特征在于,所述处理单元在根据所述第一数据包,确定第一指示信息时,用于:
    根据所述第一数据包,确定下行数据包检测规则所关联的第一转发规则FAR,所述第一FAR中包含所述第一指示信息。
  16. 如权利要求14或15所述的装置,其特征在于,所述下行数据包检测规则所关联的第一FAR中还包括第二指示信息,所述第二指示信息用于指示所述用户面功能网元在所述第一数据包和所述第二数据包中添加序列号,所述处理单元,还用于:
    根据所述第二指示信息,在所述第一数据包和所述第二数据包中添加所述第一序列号。
  17. 一种装置,其特征在于,包括:
    通信单元,用于通过第一隧道,接收来自接入网设备的第一数据包,所述第一数据包中携带第一序列号;
    处理单元,用于根据所述第一数据包,确定上行数据包检测规则;
    所述处理单元,还用于根据所述上行数据包检测规则,将所述第一序列号存储到所述上行数据包检测规则中,或者,删除所述上行数据包检测规则中的所述第一序列号。
  18. 如权利要求17所述的装置,其特征在于,所述上行数据包检测规则中包括第三指示信息,所述第三指示信息用于指示所述用户面功能网元检测冗余数据包,所述处理单元在根据所述上行数据包检测规则,将所述第一序列号存储至所述上行数据包检测规则中,或者,删除所述上行数据包检测规则中的所述第一序列号时,用于:
    根据所述上行数据包检测规则中包括的所述第三指示信息,将所述第一序列号存储到所述上行数据包检测规则,或者,删除所述上行数据包检测规则中的第一序列号。
  19. 如权利要求17或18所述的装置,其特征在于,所述处理单元在将所述第一序列号存储到所述上行数据包检测规则中时,用于:
    当所述上行数据包检测规则中未包含所述第一序列号时,将所述第一序列号存储至所述上行数据包检测规则。
  20. 如权利要求17至19中任一项所述的装置,其特征在于,所述处理单元在删除所述上行数据包检测规则中的所述第一序列号时,用于:
    当所述上行数据包检测规则中包含所述第一序列号时,删除所述上行数据包检测规则中的所述第一序列号。
  21. 如权利要求17至20中任一项所述的装置,其特征在于,所述处理单元,还用于:
    在所述上行数据包检测规则中未包含所述第一序列号时,控制所述通信单元将所述第一数据包转发给数据网络;或者,
    在所述上行数据包检测规则中包含所述第一序列号时,丢弃所述第一数据包。
  22. 如权利要求21所述的装置,其特征在于,所述上行数据包检测规则中未包含所述第一序列号,所述处理单元在控制所述通信单元将所述第一数据包转发给数据网络时,用于:
    若所述上行数据包检测规则中未包含所述第一序列号,根据所述上行数据包检测规则所关联的第二转发规则FAR中包含的第四指示信息,将所述第一数据包转发给数据网络,所述第四指示信息用于指示所述用户面功能网元转发原始的上行数据包或丢弃复制的上行数据包。
  23. 如权利要求21所述的装置,其特征在于,所述上行数据包检测规则中包含所述第一序列号,所述处理单元在丢弃所述第一数据包时,用于:
    若所述上行数据包检测规则中包括所述第一序列号,根据所述上行数据包检测规则所关联的第二转发规则FAR中包含的第四指示信息,将所述第一数据包丢弃,所述第四指示信息用于指示所述用户面功能网元转发原始的上行数据包或丢弃复制的上行数据包。
  24. 一种装置,其特征在于,包括:
    通信单元,用于向用户面功能网元发送第一请求消息,所述第一请求用于请求建立或更新所述用户面功能网元与接入网设备之间的传输隧道;
    所述通信单元,还用于接收来自所述用户面功能网元的第一响应消息;
    其中,所述第一请求消息中包含有以下参数中的一项或多项:
    下行数据包检测规则,所述下行数据包检测规则中包括第一指示信息,所述第一指示信息用于指示所述用户面功能网元进行冗余传输;
    所述下行数据包检测规则相关联的第一转发规则FAR,所述第一FAR中包含第一指示信息和/或第二指示信息,所述第一指示信息用于指示所述用户面功能网元进行冗余传输,所述第二指示信息用于指示所述用户面功能网元对接收的下行数据包,以及复制的下行数据包,添加相同的序列号;
    上行数据包检测规则,所述上行数据包检测规则中包括第三指示信息,所述第三指示信息用于指示所述用户面功能网元检测冗余数据包;
    所述上行数据包检测规则相关联的第二FAR,所述第二FAR中包括第四指示信息
    所述第四指示信息用于指示所述用户面功能网元转发原始的上行数据包或丢弃复制的上行数据包。
  25. 一种装置,其特征在于,所述装置用于执行权利要求1至4中任一项所述的方法,或者,用于执行权利要求5至11中任一项所述的方法,或者,用于执行权利要求12中所述的方法。
  26. 一种装置,其特征在于,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得所述装置执行权利要求1至4中任一项所述的方法,或者,执行权利要求5至11中任一项所述的方法,或者,执行权利要求12中所述的方法。
  27. 一种计算机可读存储介质,其特征在于,包括程序,当所述程序被处理器运行时,如权利要求1至4中任一项所述的方法被执行,或者,如权利要求5至11中任一项所述的方法被执行,或者,如权利要求12中任一项所述的方法被执行。
PCT/CN2020/134267 2020-02-12 2020-12-07 一种数据传输方法及装置 WO2021159829A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20918560.2A EP4090126A4 (en) 2020-02-12 2020-12-07 DATA TRANSMISSION METHOD AND DEVICE
US17/886,008 US20220385589A1 (en) 2020-02-12 2022-08-11 Data transmission method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010089277.1 2020-02-12
CN202010089277.1A CN113259958A (zh) 2020-02-12 2020-02-12 一种数据传输方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/886,008 Continuation US20220385589A1 (en) 2020-02-12 2022-08-11 Data transmission method and apparatus

Publications (1)

Publication Number Publication Date
WO2021159829A1 true WO2021159829A1 (zh) 2021-08-19

Family

ID=77219745

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/134267 WO2021159829A1 (zh) 2020-02-12 2020-12-07 一种数据传输方法及装置

Country Status (4)

Country Link
US (1) US20220385589A1 (zh)
EP (1) EP4090126A4 (zh)
CN (1) CN113259958A (zh)
WO (1) WO2021159829A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114630369A (zh) * 2022-03-17 2022-06-14 西安电子科技大学 一种接入网数据传输方法、系统、介质、设备及终端

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020114293A1 (en) * 2001-02-16 2002-08-22 Lila Madour Mobile IP mobility management at dormant hand-over in cdma ip based cellular packet-data network
US20130182705A1 (en) * 2012-01-18 2013-07-18 Uri AVNI Method and system for transmitting encoded video signals
CN109150388A (zh) * 2017-06-16 2019-01-04 北京三星通信技术研究有限公司 支持pdcp重复功能的系统、数据传输方法及网络设备
CN110099403A (zh) * 2019-05-17 2019-08-06 腾讯科技(深圳)有限公司 一种数据传输方法、装置、设备及存储介质
CN110351024A (zh) * 2018-04-04 2019-10-18 华为技术有限公司 数据传输方法和装置
CN110351030A (zh) * 2018-04-03 2019-10-18 华为技术有限公司 报文传输方法、装置和系统
CN110519864A (zh) * 2018-05-21 2019-11-29 华为技术有限公司 报文传输方法和装置
CN111787580A (zh) * 2019-01-14 2020-10-16 Oppo广东移动通信有限公司 一种数据流处理方法、设备及存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016186268A1 (ko) * 2015-05-15 2016-11-24 엘지전자(주) 단말 간 통신을 지원하는 무선 통신 시스템에서 데이터 전달 방법 및 이를 위한 장치
WO2019192306A1 (zh) * 2018-04-03 2019-10-10 华为技术有限公司 报文传输方法、装置和系统

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020114293A1 (en) * 2001-02-16 2002-08-22 Lila Madour Mobile IP mobility management at dormant hand-over in cdma ip based cellular packet-data network
US20130182705A1 (en) * 2012-01-18 2013-07-18 Uri AVNI Method and system for transmitting encoded video signals
CN109150388A (zh) * 2017-06-16 2019-01-04 北京三星通信技术研究有限公司 支持pdcp重复功能的系统、数据传输方法及网络设备
CN110351030A (zh) * 2018-04-03 2019-10-18 华为技术有限公司 报文传输方法、装置和系统
CN110351024A (zh) * 2018-04-04 2019-10-18 华为技术有限公司 数据传输方法和装置
CN110519864A (zh) * 2018-05-21 2019-11-29 华为技术有限公司 报文传输方法和装置
CN111787580A (zh) * 2019-01-14 2020-10-16 Oppo广东移动通信有限公司 一种数据流处理方法、设备及存储介质
CN110099403A (zh) * 2019-05-17 2019-08-06 腾讯科技(深圳)有限公司 一种数据传输方法、装置、设备及存储介质

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HUAWEI: "Destination Address and Forwarding Path based Routing for IAB", 3GPP DRAFT; R3-180816 ROUTING DESIGN FOR IAB, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG3, no. Athens, Greece; 20180226 - 20180302, 14 February 2018 (2018-02-14), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, XP051401229 *
See also references of EP4090126A4 *

Also Published As

Publication number Publication date
US20220385589A1 (en) 2022-12-01
EP4090126A1 (en) 2022-11-16
EP4090126A4 (en) 2023-11-22
CN113259958A (zh) 2021-08-13

Similar Documents

Publication Publication Date Title
JP7303833B2 (ja) 情報伝送方法及び装置
EP3955532A1 (en) Method for managing routing rule and communication device
WO2018127238A1 (zh) 信息处理方法及装置
US7440435B2 (en) Divided MAC protocol structure, data transmission and reception method, and handover method and system using the structure in a wireless communication system
CN111148163B (zh) 通信方法及装置
US11637771B2 (en) Technologies for managing network traffic through heterogeneous networks
JP7381765B2 (ja) データフロー伝送方法、端末及びネットワーク側機器
WO2010025658A1 (zh) 中继网络的路由方法、装置及系统
WO2019196656A1 (zh) 一种数据包分段方法、及装置
WO2020001257A1 (zh) 一种数据传输方法及装置
WO2018036173A1 (zh) 一种网络负载均衡方法、设备及系统
WO2018059269A1 (zh) 消息的识别方法和装置
WO2019184482A1 (zh) 业务承载配置方法及装置
WO2019158058A1 (zh) 通信方法、第一终端设备和第二终端设备
WO2017148419A1 (zh) 数据传输方法及服务器
TW201836328A (zh) 一種協定資料單元傳輸資料的方法及裝置
WO2020164557A1 (zh) 一种通信方法及相关装置
WO2020063867A1 (zh) 一种切换方法及基站
CN112887209A (zh) 关于数据传输的表项建立方法及相关设备
WO2021159829A1 (zh) 一种数据传输方法及装置
WO2022068633A1 (zh) 一种切片帧的发送方法及装置
WO2018141241A1 (zh) 设备切换方法及设备、承载配置方法及设备、通信系统
US11012914B2 (en) Method and apparatus for configuring path in communication system including Xhaul network
WO2023130989A1 (zh) 一种通信方法及装置
US11323394B2 (en) Buffer control method, network element, and controller

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020918560

Country of ref document: EP

Effective date: 20220811

NENP Non-entry into the national phase

Ref country code: DE