Data transmission method and apparatus, and related device

By configuring a pair of communication modules in the gateway and performing selective reception at the UPF network element, the problem of high implementation costs of dual-transmit and selective-receive technology is solved, the dual-transmit and selective-receive method is realized on the network side, and the reliability of data transmission is improved. and certainty.

WO2025016039A1PCT designated stage expired Publication Date: 2025-01-23CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/093758
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-17
Filing Date
2024-05-16
Publication Date
2025-01-23

AI Technical Summary

Technical Problem

In the field of communication technology, the deterministic technology of dual transmission selection and reception is difficult to implement because it is costly to iterate the terminal to enable the terminal to have the ability to realize the dual transmission selection and reception function.

Method used

By configured at least one communication module pair in the gateway, the gateway can be used for the double hair of the uplink data based on the communication module, and the uplink data of the double hair is selected at the UPF network metad.

Benefits of technology

It realizes the dual-transmit and selective-receive method on the network side, reduces the cost of implementing the dual-transmit and selective-receive technology, and promotes the implementation of the dual-transmit and selective-receive function, thus improving the reliability and certainty of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024093758_23012025_PF_FP_ABST
    Figure CN2024093758_23012025_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of communications, and provides a data transmission method and apparatus, an electronic device, a computer readable storage medium, and a computer program product. The method is applied to a gateway, the gateway comprises at least one communication module pair, and each communication module pair comprises two communication modules which establish Ethernet PDU sessions with a UPF network element. The method comprises: receiving uplink data transmitted by a terminal; replicating the uplink data, and packaging a first label for the uplink data and the replicated uplink data to obtain two pieces of uplink data both having the first label; and on the basis of the respective Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, respectively transmitting one piece of uplink data of the two pieces of uplink data to the UPF network element, so that the UPF network element forwards the uplink data, received first, of the two pieces of uplink data on the basis of the first label. According to the method, a means of implementing dual-fed and selective receiving at a network side is provided, reducing the costs required for a dual-fed and selective receiving function to be executed and implemented.
Need to check novelty before this filing date? Find Prior Art

Description

Data sending method, device and related equipment

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This disclosure claims priority to Chinese patent application number 202310877022.5, filed on July 17, 2023, entitled “Data Transmitting Method, Device, Electronic Device and Computer-Readable Storage Medium”, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to the field of communication technologies, and in particular to a data sending method, device, electronic device, computer-readable storage medium, and computer program product. Background Art

[0004] In the field of communications technology, 5G (5th Generation Mobile Communication Technology) mobile communication networks have introduced various deterministic technologies to better support the needs of URLLC (Ultra-Reliable Low-Latency Communications) services. One deterministic technology utilizes a dual-transmit selective data transmission and reception method to ensure determinism and low latency during data transmission.

[0005] In related technologies, the dual-send selective reception function is deployed at both ends of a communication, where the two ends of the communication include a terminal and a server accessed by the terminal.

[0006] However, deploying the dual-transmit selective reception function at both ends of communication requires the terminals to have the ability to implement the dual-transmit selective reception function. However, the cost of iterating the terminals to enable the terminals to have the ability to implement the dual-transmit selective reception function is high, making the deterministic technology of dual-transmit selective reception difficult to implement.

[0007] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute prior art known to ordinary technicians in the field.

[0008] Summary of the Invention

[0009] The present disclosure provides a data sending method, device, electronic device, computer-readable storage medium and computer program product, which at least to some extent overcome the problem of high implementation cost of the deterministic technology of dual-transmit selective reception in related technologies.

[0010] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by practice of the present disclosure.

[0011] According to one aspect of the present disclosure, a data sending method is provided, which is applied to a gateway, wherein the gateway includes at least one communication module pair, each communication module pair includes two communication modules that establish an Ethernet protocol data unit (PDU) session with a user plane function (UPF) network element, and includes: receiving uplink data sent by a terminal; copying the uplink data, and packaging the uplink data and the copied uplink data with a first label to obtain two copies of uplink data, both having the first label; based on the respective Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, sending one of the two copies of uplink data to the UPF network element, so that the UPF network element forwards the uplink data received first of the two copies of uplink data based on the first label.

[0012] In one embodiment of the present disclosure, it also includes: based on the Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, respectively receiving a portion of downlink data with a second label sent by the UPF network element, and obtaining two portions of downlink data, the data contents of the two portions of downlink data are the same; forwarding the downlink data received first of the two portions of downlink data based on the second label.

[0013] In one embodiment of the present disclosure, the gateway stores at least one first port information; the copying of the uplink data includes: determining a first relationship between the port information of the destination address of the uplink data and the at least one first port information; when the first relationship is that the at least one first port information includes the port information of the destination address, the uplink data is copied.

[0014] In one embodiment of the present disclosure, the gateway stores at least one second port information; the copying of the uplink data includes: determining a second relationship between the port information of the source address of the uplink data and the at least one second port information; when the second relationship is that the at least one second port information includes the port information of the source address, the uplink data is copied.

[0015] In one embodiment of the present disclosure, the gateway stores at least one first port information and at least one second port information; the copying of the uplink data includes: determining a first relationship between the port information of the destination address of the uplink data and the at least one first port information, and a second relationship between the port information of the source address of the uplink data and the at least one second port information; when the first relationship is that the at least one first port information includes the port information of the destination address, and the second relationship is that the at least one second port information includes the port information of the source address, the uplink data is copied.

[0016] According to another aspect of the present disclosure, a data sending method is provided, which is applied to a user plane function UPF network element, an Ethernet protocol data unit PDU session is established between the UPF network element and each communication module in the gateway, the gateway includes at least one communication module pair, and the UPF network element stores the correspondence between the two communication modules in each communication module pair, including: receiving downlink data sent by an application server; copying the downlink data, and packaging the downlink data and the copied downlink data with a second label to obtain two downlink data both with the second label; determining two communication modules belonging to the same communication module pair based on the correspondence; based on the respective Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, sending one of the two downlink data to the gateway respectively, so that the gateway forwards the downlink data received first of the two downlink data based on the second label.

[0017] In one embodiment of the present disclosure, it also includes: receiving a copy of uplink data with a first label sent by the gateway based on the Ethernet PDU sessions of two communication modules belonging to the same communication module pair, respectively, to obtain two copies of uplink data, the data contents of the two copies of uplink data being the same; and forwarding the uplink data received first of the two copies of uplink data based on the first label.

[0018] In one embodiment of the present disclosure, the UPF network element stores at least one third port information; the copying of the downlink data includes: determining a third relationship between the port information of the destination address of the downlink data and the at least one third port information; when the third relationship is that the at least one third port information includes the port information of the destination address, the downlink data is copied.

[0019] In one embodiment of the present disclosure, the UPF network element stores at least one fourth port information; the copying of the downlink data includes: determining a fourth relationship between the port information of the source address of the downlink data and the at least one fourth port information; when the fourth relationship is that the at least one fourth port information includes the port information of the source address, the downlink data is copied.

[0020] In one embodiment of the present disclosure, the UPF network element stores at least one third port information and at least one fourth port information; the copying of the downlink data includes: determining a third relationship between the port information of the destination address of the downlink data and the at least one third port information, and a fourth relationship between the port information of the source address of the downlink data and the at least one fourth port information; when the third relationship is that the at least one third port information includes the port information of the destination address, and the fourth relationship is that the at least one fourth port information includes the port information of the source address, the downlink data is copied.

[0021] According to another aspect of the present disclosure, a data sending device is provided, which is applied to a gateway, wherein the gateway includes at least one communication module pair, each communication module pair includes two communication modules that establish an Ethernet protocol data unit (PDU) session with a user plane function (UPF) network element, including: a first receiving module, configured to receive uplink data sent by a terminal; a first copying and packaging module, configured to copy the uplink data, and package the uplink data and the copied uplink data with a first label to obtain two copies of uplink data each having the first label; a first sending module, configured to send one of the two copies of uplink data to the UPF network element based on the respective Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, so that the UPF network element forwards the uplink data received first of the two copies of uplink data based on the first label.

[0022] In one embodiment of the present disclosure, the first receiving module is further configured to receive a portion of downlink data with a second label sent by the UPF network element based on the respective Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, thereby obtaining two portions of downlink data, the data contents of the two portions of downlink data being the same; the device also includes: a first forwarding module, configured to forward the downlink data received first of the two portions of downlink data based on the second label.

[0023] In one embodiment of the present disclosure, the gateway stores at least one first port information; the first replication and packaging module is configured to determine a first relationship between the port information of the destination address of the uplink data and the at least one first port information; when the first relationship is that the at least one first port information includes the port information of the destination address, the uplink data is replicated.

[0024] In one embodiment of the present disclosure, the gateway stores at least one second port information; the first replication and packaging module is configured to determine a second relationship between the port information of the source address of the uplink data and the at least one second port information; when the second relationship is that the at least one second port information includes the port information of the source address, the uplink data is replicated.

[0025] In one embodiment of the present disclosure, the gateway stores at least one first port information and at least one second port information; the first replication and packaging module is configured to determine a first relationship between the port information of the destination address of the uplink data and the at least one first port information, and a second relationship between the port information of the source address of the uplink data and the at least one second port information; when the first relationship is that the at least one first port information includes the port information of the destination address, and the second relationship is that the at least one second port information includes the port information of the source address, the uplink data is replicated.

[0026] According to another aspect of the present disclosure, a data sending device is provided, which is applied to a user plane function UPF network element, an Ethernet protocol data unit PDU session is established between the UPF network element and each communication module in the gateway, the gateway includes at least one communication module pair, and the UPF network element stores the correspondence between the two communication modules in each communication module pair, including: a second receiving module, configured to receive downlink data sent by an application server; a second copying and packaging module, configured to copy the downlink data, and package the downlink data and the copied downlink data with a second label to obtain two copies of downlink data both with the second label; a determination module, configured to determine the two communication modules belonging to the same communication module pair according to the correspondence; a second sending module, configured to send one of the two copies of downlink data to the gateway based on the respective Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, so that the gateway forwards the downlink data received first of the two copies of downlink data based on the second label.

[0027] In one embodiment of the present disclosure, the second receiving module is further configured to receive a portion of uplink data with a first label sent by the gateway based on the respective Ethernet PDU sessions of two communication modules belonging to the same communication module pair, thereby obtaining two portions of uplink data, the data contents of the two portions of uplink data being identical; the device further includes: a second forwarding module, configured to forward the uplink data received first of the two portions of uplink data based on the first label.

[0028] In one embodiment of the present disclosure, the UPF network element stores at least one third port information; the second replication and packaging module is configured to determine a third relationship between the port information of the destination address of the downlink data and the at least one third port information; when the third relationship is that the at least one third port information includes the port information of the destination address, the downlink data is replicated.

[0029] In one embodiment of the present disclosure, the UPF network element stores at least one fourth port information; the second replication and packaging module is configured to determine a fourth relationship between the port information of the source address of the downlink data and the at least one fourth port information; when the fourth relationship is that the at least one fourth port information includes the port information of the source address, the downlink data is replicated.

[0030] In one embodiment of the present disclosure, the UPF network element stores at least one third port information and at least one fourth port information; the second replication and packaging module is configured to determine a third relationship between the port information of the destination address of the downlink data and the at least one third port information, and a fourth relationship between the port information of the source address of the downlink data and the at least one fourth port information; when the third relationship is that the at least one third port information includes the port information of the destination address, and the fourth relationship is that the at least one fourth port information includes the port information of the source address, the downlink data is replicated.

[0031] According to another aspect of the present disclosure, a gateway is provided, which can implement any of the above-mentioned data sending methods.

[0032] According to another aspect of the present disclosure, a UPF network element is provided, which can implement any of the above-mentioned data sending methods.

[0033] According to another aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform any of the above-mentioned data sending methods by executing the executable instructions.

[0034] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any of the above-mentioned data sending methods is implemented.

[0035] According to another aspect of the present disclosure, a computer program product is provided, which includes a computer program or computer instructions, and the computer program or the computer instructions are loaded and executed by a processor to enable a computer to implement any of the above-mentioned data sending methods.

[0036] The technical solutions provided by the embodiments of the present disclosure include at least the following beneficial effects:

[0037] The technical solution provided by the embodiments of the present disclosure configures at least one communication module pair in the gateway, so that the gateway can realize dual transmission of uplink data based on the communication module pair, and then selectively receive the dual-transmitted uplink data at the UPF network element. This method provides a way to implement the deterministic technology of dual transmission and selective reception on the network side. In addition, since the relationship between the gateway and the terminal is one-to-many, that is, the gateway serves multiple terminals, iterating the gateway to enable the gateway to have dual transmission capabilities requires less cost and workload than iterating the terminal to enable the terminal to have dual transmission capabilities, which reduces the cost required for the implementation of the deterministic technology of dual transmission and selective reception, and is conducive to promoting the implementation of the dual transmission and selective reception function.

[0038] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and those skilled in the art can derive other drawings based on these drawings without inventive effort.

[0040] FIG1 is a schematic diagram of a data transmission system according to an embodiment of the present disclosure;

[0041] FIG2 shows a flow chart of a data sending method according to an embodiment of the present disclosure;

[0042] FIG3 shows a flow chart of a data sending method in another embodiment of the present disclosure;

[0043] FIG4 shows a flow chart of a data sending method in yet another embodiment of the present disclosure;

[0044] FIG5 is a schematic diagram of a data sending device in one embodiment of the present disclosure;

[0045] FIG6 shows a schematic diagram of a data sending device in another embodiment of the present disclosure;

[0046] FIG7 shows a structural block diagram of an electronic device in one embodiment of the present disclosure. DETAILED DESCRIPTION

[0047] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0048] In addition, the accompanying drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. Identical reference numerals in the figures denote identical or similar parts, and thus repetitive descriptions thereof will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0049] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0050] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0051] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0052] FIG1 shows a schematic diagram of a data sending system in an embodiment of the present disclosure, to which the data sending method or data sending apparatus in various embodiments of the present disclosure can be applied.

[0053] As shown in FIG1 , the data transmission system may include: multiple terminals 101 , a gateway 102 , multiple base stations, a UPF (User Plane Function) network element 104 , and an application server 105 .

[0054] The gateway 102 is configured with at least one communication module pair, each communication module pair including two communication modules. It should be noted that the communication module 1021 and the communication module 1022 shown in FIG1 belong to the same module pair.

[0055] Each communication module configured in the gateway 102 can establish an Ethernet PDU (Protocol Data Unit) session with the UPF network element 104. The gateway 102 can send data to the UPF network element 104 based on the Ethernet PDU session between the communication module and the UPF network element 104, and can also receive data sent by the UPF network element 104 based on the PDU session.

[0056] Gateway 102 can also receive uplink data sent by any of multiple terminals 101 and forward the uplink data based on the destination address of the uplink data. In one embodiment, gateway 102 can copy the received uplink data, encapsulate the original uplink data and the copied uplink data with the same first tag, and then send the two copies of uplink data to UPF network element 104 based on the Ethernet PDU sessions of the two communication modules belonging to the same communication module pair. One PDU session corresponds to one copy of uplink data.

[0057] For example, the Ethernet PDU session path between communication module 1021 and UPF network element 104 includes base station 1031 among multiple base stations, the Ethernet PDU session path between communication module 1022 and UPF network element 104 includes base station 1032 among multiple base stations, and gateway 102 forwards two copies of uplink data with the same first tag to UPF network element 104 based on the Ethernet PDU sessions between communication modules 1021 and 1022. The forwarding path for one copy of the uplink data to UPF network element 104 is: communication module 1021 - base station 1031 - UPF network element 104. The forwarding path for the other copy of the uplink data to UPF network element 104 is: communication module 1022 - base station 1032 - UPF network element 104.

[0058] It should be noted that the path of the Ethernet PDU session between two communication modules belonging to the same communication module pair and the UPF network element 104 may include the same base station.

[0059] The UPF network element 104 selects and forwards the two uplink data based on the first label. Taking the destination address of the uplink data indicating the application server 105 as an example, the UPF network element 104 forwards the uplink data to the application server 105.

[0060] The process of the UPF network element 104 selecting and forwarding the two uplink data based on the first label includes: after receiving the uplink data that arrives earlier of the two uplink data, the UPF network element 104 sends an ACK (ACKnowledge Character) to the gateway 102 to indicate receipt of the uplink data, and forwards the earlier-arrived uplink data to the application server 105. Thereafter, after receiving the other uplink data, the UPF network element 104 determines that the other uplink data is duplicated data based on the first label, discards the other uplink data, and performs other processing other than forwarding, thereby completing deduplication and forwarding of the two uplink data.

[0061] In one embodiment, the gateway 102 may determine whether to replicate the uplink data based on the port of the source address and / or the port of the destination address of the uplink data. If it is determined that the uplink data does not need to be replicated for multiple transmissions, the gateway 102 may send the uplink data to the UPF network element 104 via an Ethernet PDU session of any communication module.

[0062] In one embodiment, the UPF network element 104 stores the correspondence between the two communication modules of each communication module pair configured in the gateway 102. The embodiments of the present disclosure do not limit how to store the correspondence in the UPF network element.

[0063] In one embodiment, the corresponding relationship can be configured in the UPF network element 104 by static writing.

[0064] In another embodiment, the corresponding relationship may be pre-configured in a UDM (Unified Data Management) network element, and then the UDM network element sends the corresponding relationship to the UPF network element 104 .

[0065] In another embodiment, the UPF network element 104 can replicate the downlink data sent by the application server 105 and encapsulate the original downlink data and the replicated downlink data with the same second tag. The UPF network element 104 then uses the stored correspondence to identify the two communication modules that belong to the same communication module pair. The two copies of downlink data are then sent to the gateway 102 based on the Ethernet PDU sessions of the two communication modules in the same communication module pair. One PDU session corresponds to one copy of the downlink data.

[0066] Continuing with the example, the path of the Ethernet PDU session between communication module 1021 and UPF network element 104 includes base station 1031 among multiple base stations, the path of the Ethernet PDU session between communication module 1022 and UPF network element 104 includes base station 1032 among multiple base stations, and UPF network element 104 forwards two copies of downlink data with the same second tag to gateway 102 based on the Ethernet PDU sessions between communication modules 1021 and 1022. The forwarding path for one copy of downlink data to gateway 102 is: UPF network element 104 - base station 1031 - communication module 1021. The forwarding path for the other copy of downlink data to gateway 102 is: UPF network element 104 - base station 1032 - communication module 1022.

[0067] The gateway 102 selects and forwards the two downlink data based on the second tag. For example, if the destination address of the downlink data indicates one of the multiple terminals 101 , the gateway 102 forwards the downlink data to the terminal.

[0068] The process by which gateway 102 selects and forwards the two downlink data packets based on the second tag includes: upon receiving the first of the two downlink data packets, gateway 102 sends an ACK to UPF network element 104 to indicate receipt of the downlink data, and then forwards the first-arrived downlink data packet to the corresponding terminal. Subsequently, upon receiving the other downlink data packet, gateway 102 determines based on the second tag that the other downlink data packet is duplicate data, discards the other downlink data packet, or otherwise performs other processing other than forwarding the other downlink data packet, thereby completing deduplication and forwarding of the two downlink data packets.

[0069] In one embodiment, the UPF network element 104 may determine whether to replicate the downlink data based on the port of the source address and / or the port of the destination address of the downlink data. If it is determined that the downlink data does not need to be replicated for multiple transmission, the UPF network element 104 may send the downlink data to the gateway 102 via the Ethernet PDU session of any communication module.

[0070] The technical solution provided by the embodiments of the present disclosure realizes a dual-transmission and selective reception method on the network side through the cooperation of the gateway and the UPF network element. Since the correspondence between the gateway, the UPF network element and the terminal is one-to-many, that is, the gateway and the UPF network element both serve multiple terminals, compared with improving the terminal so that the terminal has the dual-transmission and selective reception capability, the method of configuring a communication module pair in the gateway requires lower costs and less workload, thereby reducing the cost of implementing the dual-transmission and selective reception function in the network, which is conducive to promoting the implementation of the dual-transmission and selective reception function in the network, thereby improving the reliability and certainty of data transmission.

[0071] Multiple terminals 101, gateways 102, multiple base stations, UPF network elements 104, and application servers 105 are connected to each other through a network, which can be a wired network or a wireless network.

[0072] In some embodiments, the wireless network or wired network described above uses standard communication technologies and / or protocols. The network is typically the Internet, but may also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or any combination of a virtual private network). In some embodiments, technologies and / or formats including Hypertext Markup Language (HTML), Extensible Markup Language (XML), etc. are used to represent data exchanged over the network. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), and Internet Protocol Security (IPsec) may be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies may be used to replace or supplement the above-mentioned data communication technologies.

[0073] Any of the multiple terminals 101 can be various electronic devices, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, wearable devices, augmented reality devices, virtual reality devices, etc.

[0074] In one embodiment, any one of the multiple terminals 101 is an industrial terminal. The embodiments of the present disclosure do not limit the specific type of industrial terminal.

[0075] In one embodiment, gateway 102 is an industrial gateway.

[0076] The application server 105 may be a server that provides various services, such as a background management server that provides support for devices operated by users using the terminal 101. The background management server may analyze and process received request data and feed back the processing results to the terminal device.

[0077] In some embodiments, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0078] Those skilled in the art will appreciate that the number of terminals, base stations, gateways, UPF network elements, and application servers in FIG1 is merely illustrative, and any number of terminals, base stations, gateways, UPF network elements, and application servers may be used as needed. This disclosure does not limit this.

[0079] This exemplary implementation is described in detail below with reference to the accompanying drawings and examples.

[0080] The present disclosure provides a data transmission method, which can be executed by any electronic device with computing and processing capabilities, for example, a gateway.

[0081] FIG2 shows a flow chart of a data sending method in one embodiment of the present disclosure. As shown in FIG2 , the data sending method provided in the embodiment of the present disclosure includes the following S201 to S203 .

[0082] S201: The gateway receives uplink data sent by the terminal.

[0083] S202: The gateway copies the uplink data and packs the uplink data and the copied uplink data with a first label to obtain two copies of uplink data both having the first label.

[0084] The embodiments of the present disclosure do not limit the specific type of label that the first label is. For example, the first label includes the destination address of the uplink data and the serial number of the uplink data. For another example, the first label includes the source address of the uplink data and the serial number of the uplink data. For another example, the first label includes the source address, destination address, and serial number of the uplink data. For another example, the first label is a label generated by the gateway for the uplink data and is used to uniquely identify the uplink data. The embodiments of the present disclosure do not limit the specific composition of the first label generated by the gateway.

[0085] It should be noted that the two uplink data pieces both having the first tag include the same data content.

[0086] In one embodiment, the gateway stores at least one first port information, and copying the uplink data may include: determining a first relationship between the port information of the destination address of the uplink data and the at least one first port information; when the first relationship is that the at least one first port information includes the port information of the destination address, copying the uplink data.

[0087] Among them, when at least one first port information includes the port information of the destination address of the uplink data, it can be determined that the uplink data is uplink data that needs to be dual-sent (copying and packaging the same first label, and sending it to the UPF network element through the Ethernet PDU session of two modules belonging to the same communication module pair). The first port information is used to compare with the port information of the destination address of the uplink data to determine whether the uplink data needs to be dual-sent.

[0088] In another embodiment, the gateway stores at least one second port information, and copying the uplink data may include: determining a second relationship between the port information of the source address of the uplink data and at least one second port information; when the second relationship is that at least one second port information includes the port information of the source address, copying the uplink data.

[0089] Among them, when at least one second port information includes the port information of the source address of the uplink data, it can be determined that the uplink data is uplink data that needs to be dual-sent, and the second port information is used to compare with the port information of the source address of the uplink data to determine whether the uplink data needs to be dual-sent.

[0090] In another embodiment, the gateway stores at least one first port information and at least one second port information, and copying the uplink data may include: determining a first relationship between the port information of the destination address of the uplink data and the at least one first port information, and a second relationship between the port information of the source address of the uplink data and the at least one second port information; when the first relationship is that the at least one first port information includes the port information of the destination address, and the second relationship is that the at least one second port information includes the port information of the source address, copying the uplink data.

[0091] Among them, when at least one first port information includes the port information of the destination address of the uplink data, and at least one second port information includes the port information of the source address of the uplink data, it can be determined that the uplink data is uplink data that needs to be dual-sent, and the first port information and the second port information are respectively used to compare with the port information of the destination address and source address of the uplink data to determine whether the uplink data needs to be dual-sent.

[0092] By utilizing at least one first port information and / or at least one second port information, uplink data can be selectively dual-transmitted, thereby facilitating service for uplink data that needs dual-transmission more and avoiding resource waste caused by dual-transmitting all uplink data.

[0093] S203, the gateway sends one uplink data of the two uplink data to the UPF network element based on the Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, so that the UPF network element forwards the uplink data received first of the two uplink data based on the first label.

[0094] The gateway copies the uplink data, and after packaging the original uplink data and the copied uplink data with the same first label, the two copies of the uplink data are sent to the UPF network element through the Ethernet PDU sessions of the two communication modules belonging to the same communication module pair. Among them, one copy of the uplink data is sent by one Ethernet PDU session. Afterwards, the UPF network element forwards the uplink data received first of the two copies of the uplink data based on the first label, and discards (or performs other processing other than forwarding, for example, only storing it locally) the uplink data received later of the two copies of the uplink data (this process is hereinafter referred to as: selecting and forwarding the two copies of the uplink data based on the first label).

[0095] By sending one of the two copies of uplink data respectively through two Ethernet PDU sessions, the reliability and certainty of the uplink data transmission can be better guaranteed.

[0096] For the specific implementation of the UPF network element selecting and forwarding the two copies of uplink data based on the first label, please refer to the description in the embodiment corresponding to Figure 1, which will not be repeated here.

[0097] In one embodiment, before performing S203, it is necessary to establish an Ethernet PDU session between the communication module in the gateway and the UPF network element, so as to facilitate the subsequent sending or receiving of data based on the Ethernet PDU session.

[0098] It should be noted that the gateway is configured with at least one communication module pair, each communication module pair including two communication modules, each of which can establish an Ethernet PDU session with a UPF network element. The embodiments of this disclosure do not limit the number of at least one communication module pair. For example, at least one communication module pair is one communication module pair.

[0099] In one embodiment, the gateway also receives a copy of downlink data with a second label sent by the UPF network element based on the respective Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, and obtains two copies of downlink data, the data content of the two copies of downlink data is the same; and forwards the downlink data received first of the two copies of downlink data based on the second label (this process is hereinafter referred to as: selecting and forwarding the two copies of downlink data based on the second label).

[0100] Among them, how the UPF network element sends the two downlink data to the gateway will be explained in the embodiment corresponding to Figure 3 and will not be repeated here.

[0101] For the specific implementation of the gateway selecting and forwarding the two downlink data based on the second tag, please refer to the embodiment corresponding to Figure 1, which will not be repeated here.

[0102] The technical solution provided by the embodiments of the present disclosure configures at least one communication module pair in the gateway, so that the gateway can realize dual transmission of uplink data based on the communication module pair, and then selectively receive the dual-transmitted uplink data at the UPF network element. This method provides a way to implement the deterministic technology of dual transmission and selective reception on the network side. In addition, since the relationship between the gateway and the terminal is one-to-many, that is, the gateway serves multiple terminals, iterating the gateway to enable the gateway to have dual transmission capabilities requires less cost and workload than iterating the terminal to enable the terminal to have dual transmission capabilities, which reduces the cost required for the implementation of the deterministic technology of dual transmission and selective reception, and is conducive to promoting the implementation of the dual transmission and selective reception function.

[0103] The present disclosure provides a data transmission method, which can be executed by any electronic device with computing and processing capabilities, for example, a UPF network element.

[0104] FIG3 shows a flow chart of a data sending method in another embodiment of the present disclosure. As shown in FIG3 , the data sending method provided in the embodiment of the present disclosure includes the following S301 to S304 .

[0105] S301, the UPF network element receives downlink data sent by the application server.

[0106] S302, the UPF network element copies the downlink data, and packages the downlink data and the copied downlink data with a second label, thereby obtaining two copies of downlink data, both of which have the second label.

[0107] The embodiments of the present disclosure do not limit what kind of label the second label is. For example, the second label includes the destination address of the downlink data and the serial number of the downlink data. For another example, the second label includes the source address of the downlink data and the serial number of the downlink data. For another example, the second label includes the source address, destination address and serial number of the downlink data. For another example, the second label is a label generated by the UPF network element for the downlink data and is used to uniquely identify the downlink data. The embodiments of the present disclosure do not limit the specific composition of the second label generated by the UPF network element.

[0108] It should be noted that the two copies of downlink data both having the second tag include the same data content.

[0109] In one embodiment, the UPF network element stores at least one third port information, and copying the downlink data may include: determining a third relationship between the port information of the destination address of the downlink data and at least one third port information; when the third relationship is that at least one third port information includes the port information of the destination address, copying the downlink data.

[0110] Among them, when at least one third port information includes the port information of the destination address of the downlink data, it can be determined that the downlink data is downlink data that needs to be dual-sent, and the third port information is used to compare with the port information of the destination address of the downlink data to determine whether the downlink data needs to be dual-sent.

[0111] In another embodiment, the UPF network element stores at least one fourth port information, and copying the downlink data may include: determining the fourth relationship between the port information of the source address of the downlink data and at least one fourth port information; when the fourth relationship is that at least one fourth port information includes the port information of the source address, copying the downlink data.

[0112] Among them, when at least one fourth port information includes the port information of the source address of the downlink data, it can be determined that the downlink data is downlink data that needs to be dual-sent, and the fourth port information is used to compare with the port information of the source address of the downlink data to determine whether the downlink data needs to be dual-sent.

[0113] In another embodiment, the UPF network element stores at least one third port information and at least one fourth port information, and copying the downlink data may include: determining a third relationship between the port information of the destination address of the downlink data and at least one third port information, and a fourth relationship between the port information of the source address of the downlink data and at least one fourth port information; when the third relationship is that at least one third port information includes the port information of the destination address, and the fourth relationship is that at least one fourth port information includes the port information of the source address, copying the downlink data.

[0114] Among them, when at least one third port information includes the port information of the destination address of the downlink data, and at least one fourth port information includes the port information of the source address of the downlink data, it can be determined that the downlink data is downlink data that needs to be dual-sent, and the third port information and the fourth port information are respectively used to compare with the port information of the destination address and source address of the downlink data to determine whether the downlink data needs to be dual-sent.

[0115] By utilizing at least one third port information and / or at least one fourth port information, downlink data can be selectively dual-sent, thereby facilitating service for downlink data that needs dual-sent more and avoiding resource waste caused by dual-sending all downlink data.

[0116] S303: The UPF network element determines two communication modules belonging to the same communication module pair according to the corresponding relationship.

[0117] The corresponding relationship is a corresponding relationship between two communication modules included in each communication module pair, and the communication module pair is a communication module pair configured in the gateway.

[0118] Regarding how the UPF network element obtains the corresponding relationship, please refer to the corresponding embodiment of Figure 1, which will not be repeated here.

[0119] The embodiments of the present disclosure do not limit how many communication module pairs are configured in the gateway. For example, the gateway is configured with at least one communication module pair.

[0120] S304, the UPF network element sends one of the two downlink data to the gateway based on the Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, so that the gateway forwards the downlink data received first of the two downlink data based on the second label.

[0121] The UPF network element copies the downlink data and encapsulates the original and copied data with the same second tag. It then sends the two copies of the downlink data to the gateway via separate Ethernet PDU sessions for the two communication modules in the same communication module pair. Each copy of the downlink data is sent via a single Ethernet PDU session. The gateway then selects and forwards the two copies of the uplink data based on the second tag.

[0122] By sending one of the two copies of downlink data respectively through two Ethernet PDU sessions, the reliability and certainty of the uplink data transmission can be better guaranteed.

[0123] For the specific implementation of the gateway selecting and forwarding the two copies of downlink data based on the second tag, please refer to the description of the embodiment corresponding to FIG1 , which will not be repeated here.

[0124] In one embodiment, before performing S304, it is necessary to establish an Ethernet PDU session between the communication module in the gateway and the UPF network element, so as to facilitate the subsequent sending or receiving of data based on the Ethernet PDU session.

[0125] In one embodiment, the UPF network element also receives a copy of uplink data with a first label sent by the gateway based on the Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, and obtains two copies of uplink data, the data contents of the two copies of uplink data are the same; and forwards the uplink data received first of the two copies of uplink data based on the first label.

[0126] Among them, regarding the specific implementation of the gateway sending the two uplink data to the UPF network element, please refer to the corresponding embodiments of Figures 1 and 2, which will not be repeated here.

[0127] For the specific implementation of the UPF network element selecting and forwarding the two copies of uplink data based on the first label, please refer to the embodiment corresponding to Figure 1, which will not be repeated here.

[0128] The technical solution provided by the embodiments of the present disclosure configures the correspondence between the two communication modules in each communication module pair in the UPF network element, allowing the UPF network element to implement dual transmission of downlink data based on this correspondence. Subsequently, the gateway selectively receives the dual-sent downlink data. This approach provides a way to implement the deterministic technology of dual transmission and reception on the network side, reducing the cost required to implement this deterministic technology and promoting the implementation of the dual transmission and reception selective function.

[0129] For ease of understanding, the following takes an example in which a gateway includes a communication module pair, and the two communication modules included in the communication module pair are a first communication module and a second communication module, and describes the technical solution provided by the present disclosure in conjunction with FIG4 .

[0130] As shown in Figure 4, a data sending method provided in another embodiment of the present disclosure includes S401 to S412. The implementation of S401 to S412 can refer to the corresponding embodiments of Figures 1 to 3, and will not be repeated here.

[0131] S401, the UPF network element configures the correspondence between two communication modules in a communication module pair and a redundant transmission protocol.

[0132] S4021: The first communication module in the gateway activates the Ethernet PDU session with the UPF network element.

[0133] S4022: The second communication module in the gateway activates the Ethernet PDU session with the UPF network element.

[0134] S403: The terminal sends uplink data to the gateway.

[0135] S404: The gateway starts copying and label packaging according to the port information of the source address and / or destination address of the uplink data to perform dual transmission of the uplink data.

[0136] S4051, the network element sends a copy of uplink data to the UPF network element based on the Ethernet PDU session of the first communication module.

[0137] S4052, the network element sends a copy of uplink data to the UPF network element based on the Ethernet PDU session of the second communication module.

[0138] S406: The UPF network element selects and receives the two copies of uplink data.

[0139] S407, the UPF network element forwards the uplink data to the application server.

[0140] S408, the UPF network element receives the downlink data sent by the application server.

[0141] S409, the UPF network element starts copying and label packaging according to the port information of the source address and / or destination address of the downlink data to perform dual transmission of the downlink data.

[0142] S4101, the UPF network element sends a downlink data to the gateway based on the Ethernet PDU session of the first communication module.

[0143] S4102, the UPF network element sends a downlink data to the gateway based on the Ethernet PDU session of the second communication module.

[0144] S411: The gateway selects and receives two copies of downlink data.

[0145] S412: The gateway forwards the downlink data to the terminal.

[0146] It should be noted that there is no precedence relationship in the execution order between S403 to S407 and S408 to S412. S403 to S407 may be executed first and S408 to S412 may be executed later; or S408 to S412 may be executed first and S403 to S407 may be executed later.

[0147] The technical solution provided by the embodiments of the present disclosure realizes a dual-transmission and selective reception method on the network side through the cooperation of the gateway and the UPF network element. Since the correspondence between the gateway, the UPF network element and the terminal is one-to-many, that is, the gateway and the UPF network element both serve multiple terminals, compared with improving the terminal so that the terminal has the dual-transmission and selective reception capability, the method of configuring a communication module pair in the gateway requires lower costs and less workload, thereby reducing the cost of implementing the dual-transmission and selective reception function in the network, which is conducive to promoting the implementation of the dual-transmission and selective reception function in the network, thereby improving the reliability and certainty of data transmission.

[0148] Based on the same inventive concept, the present disclosure also provides two data sending devices, as described in the following embodiments. Since the principles of the device embodiments to solve the problem are similar to those of the above method embodiments, the implementation of the device embodiments can refer to the implementation of the above method embodiments, and the repeated parts will not be repeated.

[0149] Figure 5 shows a schematic diagram of a data sending device in an embodiment of the present disclosure. As shown in Figure 5, the device is applied to a gateway, and the gateway includes at least one communication module pair, and each communication module pair includes two communication modules that have established an Ethernet PDU session with the UPF network element, including: a first receiving module 501, configured to receive uplink data sent by the terminal; a first copying and packaging module 502, configured to copy the uplink data, and package the uplink data and the copied uplink data with a first label to obtain two copies of uplink data each with the first label; a first sending module 503, configured to send one of the two copies of uplink data to the UPF network element based on the Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, so that the UPF network element forwards the uplink data received first of the two copies of uplink data based on the first label.

[0150] In one embodiment of the present disclosure, the first receiving module 501 is also configured to receive a portion of downlink data with a second label sent by the UPF network element based on the respective Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, and obtain two portions of downlink data, the data contents of the two portions of downlink data being the same; the device also includes: a first forwarding module 504, configured to forward the downlink data received first of the two portions of downlink data based on the second label.

[0151] In one embodiment of the present disclosure, the gateway stores at least one first port information; the first replication and packaging module 502 is configured to determine a first relationship between the port information of the destination address of the uplink data and the at least one first port information; when the first relationship is that the at least one first port information includes the port information of the destination address, the uplink data is replicated.

[0152] In one embodiment of the present disclosure, the gateway stores at least one second port information; the first copying and packaging module 502 is configured to determine the second relationship between the port information of the source address of the uplink data and the at least one second port information; when the second relationship is that the at least one second port information includes the port information of the source address, the uplink data is copied.

[0153] In one embodiment of the present disclosure, the gateway stores at least one first port information and at least one second port information; the first copying and packaging module 502 is configured to determine a first relationship between the port information of the destination address of the uplink data and the at least one first port information, and a second relationship between the port information of the source address of the uplink data and the at least one second port information; when the first relationship is that the at least one first port information includes the port information of the destination address, and the second relationship is that the at least one second port information includes the port information of the source address, the uplink data is copied.

[0154] The technical solution provided by the embodiments of the present disclosure configures at least one communication module pair in the gateway, so that the gateway can realize dual transmission of uplink data based on the communication module pair, and then selectively receive the dual-transmitted uplink data at the UPF network element. This method provides a way to implement the deterministic technology of dual transmission and selective reception on the network side. In addition, since the relationship between the gateway and the terminal is one-to-many, that is, the gateway serves multiple terminals, iterating the gateway to enable the gateway to have dual transmission capabilities requires less cost and workload than iterating the terminal to enable the terminal to have dual transmission capabilities, which reduces the cost required for the implementation of the deterministic technology of dual transmission and selective reception, and is conducive to promoting the implementation of the dual transmission and selective reception function.

[0155] Figure 6 shows a schematic diagram of a data sending device in another embodiment of the present disclosure. As shown in Figure 6, the device is applied to a UPF network element, and an Ethernet PDU session is established between the UPF network element and each communication module in the gateway. The gateway includes at least one communication module pair, and the UPF network element stores the correspondence between the two communication modules in each communication module pair, including: a second receiving module 601, configured to receive downlink data sent by the application server; a second copying and packaging module 602, configured to copy the downlink data, and package the downlink data and the copied downlink data with a second label to obtain two copies of downlink data each with a second label; a determination module 603, configured to determine the two communication modules belonging to the same communication module pair based on the correspondence; a second sending module 604, configured to send one of the two downlink data to the gateway based on the respective Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, so that the gateway forwards the downlink data received first of the two downlink data based on the second label.

[0156] In one embodiment of the present disclosure, the second receiving module 601 is also configured to receive a portion of uplink data with a first label sent by the gateway based on the respective Ethernet PDU sessions of two communication modules belonging to the same communication module pair, and obtain two portions of uplink data, the data contents of the two portions of uplink data being the same; the device also includes: a second forwarding module 605, configured to forward the uplink data received first of the two portions of uplink data based on the first label.

[0157] In one embodiment of the present disclosure, the UPF network element stores at least one third port information; the second replication and packaging module 602 is configured to determine a third relationship between the port information of the destination address of the downlink data and at least one third port information; when the third relationship is that at least one third port information includes the port information of the destination address, the downlink data is replicated.

[0158] In one embodiment of the present disclosure, the UPF network element stores at least one fourth port information; the second replication and packaging module 602 is configured to determine the fourth relationship between the port information of the source address of the downlink data and at least one fourth port information; when the fourth relationship is that at least one fourth port information includes the port information of the source address, the downlink data is replicated.

[0159] In one embodiment of the present disclosure, the UPF network element stores at least one third port information and at least one fourth port information; the second replication and packaging module 602 is configured to determine a third relationship between the port information of the destination address of the downlink data and the at least one third port information, and a fourth relationship between the port information of the source address of the downlink data and the at least one fourth port information; when the third relationship is that at least one third port information includes the port information of the destination address, and the fourth relationship is that at least one fourth port information includes the port information of the source address, the downlink data is replicated.

[0160] The technical solution provided by the embodiments of the present disclosure configures the correspondence between the two communication modules in each communication module pair in the UPF network element, so that the UPF network element can implement dual transmission of downlink data based on this correspondence. Afterwards, the dual-transmitted downlink data is selectively received (deduplicated) at the gateway. This method provides a way to implement the deterministic technology of dual transmission and selective reception on the network side, reducing the cost required to implement this deterministic technology, and is conducive to promoting the implementation of the dual transmission and selective reception function.

[0161] It should be noted that the examples and application scenarios implemented by the above modules and corresponding method steps (S201-S203 corresponding to 501-503, S301-S304 corresponding to 601-604) are the same, but are not limited to the contents disclosed in the above method embodiments. It should be noted that the above modules, as part of the apparatus, can be executed in a computer system, such as a set of computer-executable instructions.

[0162] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods, or program products. Therefore, various aspects of the present disclosure may be implemented in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits," "modules," or "systems."

[0163] The embodiments of the present disclosure further provide a gateway, which can implement the data sending method in any one of the embodiments in the “Specific Implementation Methods”.

[0164] An embodiment of the present disclosure also provides a UPF network element, which can implement the data sending method in any one of the embodiments in the "Specific Implementation Methods".

[0165] The electronic device 700 according to this embodiment of the present disclosure is described below with reference to Figure 7. The electronic device 700 shown in Figure 7 is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0166] As shown in Figure 7, electronic device 700 is implemented as a general-purpose computing device. Components of electronic device 700 may include, but are not limited to, the aforementioned at least one processing unit 710, the aforementioned at least one storage unit 720, and a bus 730 connecting various system components (including storage unit 720 and processing unit 710).

[0167] The storage unit stores program codes, which can be executed by the processing unit 710, so that the processing unit 710 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Specific Implementation Methods” section of this specification.

[0168] The storage unit 720 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 7201 and / or a cache memory unit 7202 , and may further include a read-only memory unit (ROM) 7203 .

[0169] The storage unit 720 may also include a program / utility 7204 having a set (at least one) of program modules 7205, such program modules 7205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0170] Bus 730 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0171] The electronic device 700 can also communicate with one or more external devices 740 (e.g., a keyboard, a pointing device, a Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 700, and / or any device that enables the electronic device 700 to communicate with one or more other computing devices (e.g., a router, a modem, etc.). Such communication can occur via an input / output (I / O) interface 750. Furthermore, the electronic device 700 can communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via a network adapter 760. As shown in FIG7 , the network adapter 760 communicates with other modules of the electronic device 700 via a bus 730. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 700, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0172] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0173] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, which may be a readable signal medium or a readable storage medium. A program product capable of implementing the above-mentioned method of the present disclosure is stored thereon. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to cause the terminal device to execute the steps according to the various exemplary embodiments of the present disclosure described in the "Detailed Implementation" section of this specification.

[0174] More specific examples of computer-readable storage media in the present disclosure may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fibers, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0175] In the present disclosure, a computer-readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0176] In some embodiments, the program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0177] In a specific implementation, the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, and the like, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a standalone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0178] In an exemplary embodiment of the present disclosure, a computer program product is also provided. The computer program product includes a computer program or computer instructions, which are loaded and executed by a processor to enable a computer to implement the steps of various exemplary embodiments of the present disclosure described in the above "Specific Implementation" section of this specification.

[0179] It should be noted that although several modules or units of the device for action execution are mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.

[0180] Furthermore, although the steps of the method of the present disclosure are described in a particular order in the accompanying drawings, this does not require or imply that the steps must be performed in this particular order, or that all steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0181] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0182] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope of the present disclosure being indicated by the appended claims.

Claims

1. A data transmission method, applied to a gateway, wherein the gateway comprises at least one communication module pair, each communication module pair comprising two communication modules having an Ethernet protocol data unit (PDU) session established with a user plane function (UPF) network element, comprising: Receiving uplink data sent by the terminal; Copying the uplink data, and packaging the uplink data and the copied uplink data with a first label, so as to obtain two copies of uplink data both having the first label; Based on the Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, one of the two uplink data is sent to the UPF network element respectively, so that the UPF network element forwards the uplink data received first of the two uplink data based on the first label.

2. The method according to claim 1, wherein: Also includes: Based on the Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, respectively receiving a copy of the downlink data with the second label sent by the UPF network element, and obtaining two copies of the downlink data, the data contents of the two copies of the downlink data being the same; The downlink data received first of the two downlink data is forwarded based on the second label.

3. The method according to claim 1 or 2, wherein: The gateway stores at least one first port information; The copying of the uplink data includes: Determine a first relationship between the port information of the destination address of the uplink data and the at least one first port information; When the first relationship is that the at least one first port information includes the port information of the destination address, the uplink data is copied.

4. The method according to claim 1 or 2, wherein: The gateway stores at least one second port information; and the copying of the uplink data includes: Determine a second relationship between the port information of the source address of the uplink data and the at least one second port information; When the second relationship is that the at least one second port information includes the port information of the source address, the uplink data is copied.

5. The method according to claim 1 or 2, wherein: The gateway stores at least one first port information and at least one second port information; The copying of the uplink data includes: Determine a first relationship between the port information of the destination address of the uplink data and the at least one first port information, and a second relationship between the port information of the source address of the uplink data and the at least one second port information; When the first relationship is that the at least one first port information includes the port information of the destination address, and the second relationship is that the at least one second port information includes the port information of the source address, the uplink data is copied.

6. A data transmission method, applied to a user plane function UPF network element, wherein an Ethernet protocol data unit PDU session is established between the UPF network element and each communication module in a gateway, wherein the gateway includes at least one communication module pair, and the UPF network element stores a corresponding relationship between two communication modules in each communication module pair, comprising: Receive downlink data sent by the application server; Copying the downlink data, and packaging the downlink data and the copied downlink data with a second label, so as to obtain two copies of downlink data both having the second label; According to the corresponding relationship, determining two communication modules belonging to the same communication module pair; Based on the respective Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, one of the two copies of downlink data is sent to the gateway respectively, so that the gateway forwards the first received downlink data of the two copies of downlink data based on the second label.

7. The method according to claim 6, wherein: Also includes: The receiving gateway receives a copy of uplink data with a first tag respectively sent by two communication modules belonging to the same communication module pair based on respective Ethernet PDU sessions, thereby obtaining two copies of uplink data, wherein the data contents of the two copies of uplink data are the same; The uplink data received first of the two uplink data is forwarded based on the first label.

8. The method according to claim 6 or 7, wherein: The UPF network element stores at least one third port information; and the copying of the downlink data includes: Determine a third relationship between the port information of the destination address of the downlink data and the at least one third port information; When the third relationship is that the at least one third port information includes the port information of the destination address, the downlink data is copied.

9. The method according to claim 6 or 7, wherein: The UPF network element stores at least one fourth port information; The copying of the downlink data includes: Determine a fourth relationship between the port information of the source address of the downlink data and the at least one fourth port information; When the fourth relationship is that the at least one fourth port information includes the port information of the source address, the downlink data is copied.

10. The method according to claim 6 or 7, wherein: The UPF network element stores at least one third port information and at least one fourth port information; The copying of the downlink data includes: Determine the port information of the destination address of the downlink data and the third port information of the at least one third port relationship, and a fourth relationship between the port information of the source address of the downlink data and the at least one fourth port information; When the third relationship is that the at least one third port information includes the port information of the destination address, and the fourth relationship is that the at least one fourth port information includes the port information of the source address, the downlink data is copied.

11. A data sending device, applied to a gateway, the gateway comprising at least one communication module pair, each communication module pair comprising two communication modules having an Ethernet protocol data unit (PDU) session established with a user plane function (UPF) network element, comprising: A first receiving module, used for receiving uplink data sent by a terminal; A first copying and packaging module, used for copying the uplink data, and packaging the uplink data and the copied uplink data with a first label, so as to obtain two copies of the uplink data both having the first label; The first sending module is used to send one of the two uplink data to the UPF network element based on the Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, so that the UPF network element forwards the uplink data received first of the two uplink data based on the first label.

12. A data sending device, applied to a user plane function UPF network element, wherein an Ethernet protocol data unit PDU session is established between the UPF network element and each communication module in a gateway, wherein the gateway includes at least one communication module pair, and the UPF network element stores a corresponding relationship between two communication modules in each communication module pair, including: A second receiving module, used to receive downlink data sent by the application server; A second copying and packaging module, used for copying the downlink data, and packaging a second label for the downlink data and the copied downlink data, to obtain two copies of downlink data both having the second label; A determination module, used for determining two communication modules belonging to the same communication module pair according to the corresponding relationship; The second sending module is used to send one of the two downlink data to the gateway based on the Ethernet PDU sessions of the two communication modules belonging to the same communication module pair, so that the gateway forwards the downlink data received first among the two downlink data based on the second label.

13. A gateway, wherein the gateway can implement the data sending method according to any one of claims 1 to 5.

14. A user plane function UPF network element, wherein the UPF network element can implement the data sending method as described in any one of claims 6 to 10.

15. An electronic device, comprising: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the data sending method according to any one of claims 1 to 10 by executing the executable instructions.

16. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the data sending method according to any one of claims 1 to 10.

17. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the data sending method according to any one of claims 1 to 10 is implemented.

Citation Information

Patent Citations

  • Industrial application communication method and system for intelligent double-transmitting selective-receiving of industrial application

    CN115190519A

  • Data sending method and device, electronic equipment and computer readable storage medium

    CN116887420A

  • 5G mobile scene double-transmitting selective-receiving system and terminal equipment

    CN218679408U

  • Method and system for processing label switched path, and node device

    WO2012103793A1