Data transmission methods, apparatus, equipment and computer storage media
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-28
- Publication Date
- 2026-08-14
AI Technical Summary
但上述方法需要对所有用户数据包进行处理,将原IP替换为本地IP,对于小概率事件IP地址冲突,使处理设备负担变大,操作复杂
[0020]本申请实施例的数据传输方法、装置、设备及计算机存储介质,能够基于获取的用户数据包判断是否存在IP地址冲突,地址冲突时,边缘UPF将用户数据包中的IP地址替换目标IP地址,并进行数据传输,避免了用户数据传输的中断,操作简单。
Smart Images

Figure CN117014372B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technology, and in particular relates to a data transmission method, apparatus, device and computer storage medium. Background Technology
[0002] Currently, in 5G SA networks, during a user's User Plane Function (UPF) session, the Session Management Function (SMF) selects the appropriate primary anchor User Plane Function (UPF) based on the user's Data Network Name (DNN) and User Slice Identity Document (ID), and assigns the terminal IP address to the user through the UPF. UPFs at different sites may assign the same terminal IP address to users. Because different sites have isolated routing tables, the same terminal IP address will not cause routing conflicts. However, when a user inserts a UPF at the 5G edge, users with the same terminal IP address may choose to insert into the same UPF, which can lead to conflicts and service interruptions.
[0003] Existing technical solutions retrieve the user's local IP address, assigned by the mobile edge device, from the source address by querying the forwarding information table. Based on this local IP address and the traffic splitting rules, the corresponding local server is determined, and the packet is sent to the local server. Since the mobile edge device assigns a corresponding local IP address to each source address, the uniqueness of the user's IP address within the mobile edge device's scope is guaranteed. However, this method requires processing all user data packets, replacing the original IP with the local IP. For low-probability IP address conflicts, this increases the burden on the processing device and complicates the operation. Summary of the Invention
[0004] This application provides a data transmission method, apparatus, device, and computer storage medium that can avoid interruption of user data transmission and is simple to operate.
[0005] In a first aspect, embodiments of this application provide a data transmission method, the method comprising:
[0006] When a user equipment accesses the edge user plane function (UPF), it acquires user data packets, which include the IP address assigned to the user equipment.
[0007] When the edge UPF includes an address that is the same as the assigned IP address, a target IP address is selected from the backup address library as the target IP address of the user equipment.
[0008] Based on the target IP address, establish a UPF user data network DNN route;
[0009] The user data packet is transmitted based on the UPF DNN route and the target IP address.
[0010] Secondly, embodiments of this application provide a data transmission apparatus, the apparatus comprising:
[0011] The acquisition module is used to acquire user data packets when the user equipment accesses the edge user plane function (UPF), wherein the user data packets include the IP address assigned to the user equipment.
[0012] The selection module is used to select a target IP address from the backup address library when the edge UPF includes an address that is the same as the assigned IP address, and use it as the target IP address of the user equipment.
[0013] A module is established to establish a UPF user data network DNN route based on the target IP address;
[0014] The transmission module is used to transmit the user data packets based on the UPF DNN route and the target IP address.
[0015] Thirdly, embodiments of this application provide a data transmission device, the device comprising:
[0016] Processor, and memory storing computer program instructions;
[0017] The processor reads and executes the computer program instructions to implement the data transmission method of the first aspect.
[0018] Fourthly, embodiments of this application provide a computer storage medium storing computer program instructions, which, when executed by a processor, implement the data transmission method of the first aspect.
[0019] Fifthly, embodiments of this application provide a computer program product in which instructions, when executed by a processor of an electronic device, cause the electronic device to perform the data transmission method of the first aspect.
[0020] The data transmission method, apparatus, device, and computer storage medium of this application embodiment can determine whether there is an IP address conflict based on the acquired user data packet. When there is an address conflict, the edge UPF replaces the target IP address in the user data packet with the IP address and performs data transmission, thus avoiding interruption of user data transmission and is simple to operate. Attached Figure Description
[0021] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a schematic diagram of a UPF architecture provided in an embodiment of this application;
[0023] Figure 2 This is a flowchart illustrating a data transmission method provided in an embodiment of this application;
[0024] Figure 3 This is a schematic diagram of the structure of a data transmission device provided in an embodiment of this application;
[0025] Figure 4 This is a schematic diagram of the structure of a data transmission device provided in an embodiment of this application. Detailed Implementation
[0026] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.
[0027] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0028] Currently, when edge UPFs (User-Defined Service Providers) assign IP addresses to users, conflicts arise when users are assigned the same IP address, leading to service interruptions. Existing technologies use source address lookup tables to assign local IP addresses based on the user's source address, ensuring the uniqueness of user IP addresses. However, this method requires analyzing and processing each user's data packet, and since IP conflict events are low-probability events, this method increases the burden on the equipment.
[0029] To address the problems of the prior art, embodiments of this application provide a data transmission method, apparatus, device, and computer storage medium. The data transmission method provided in this application embodiment will be described first.
[0030] The data transmission method provided in this application embodiment is based on, for example, Figure 1 The UPF architecture shown is implemented in which the edge UPF is connected to the base station via the N3 channel, to the SMF via the N4 channel, and to the main anchor UPF via the N9 channel.
[0031] Figure 2 A schematic flowchart of a data transmission method provided in one embodiment of this application is shown. Figure 2 As shown, the method may include the following steps:
[0032] S210. When a request for a user equipment to access the edge UPF is received, a user data packet is obtained, which includes the IP address assigned to the user equipment.
[0033] When the edge UPF receives a request from the base station for a user equipment (UE) to access the edge UPF, it enters the UPF N4 signaling layer conflict handling procedure, retrieves the user data packet from the request, and establishes a PDU session. The user data packet includes the IP address assigned to the UE by the primary anchor UPF. Specifically, when the primary anchor UPF establishes a PDU session for the UE, the SMF selects the primary anchor UPF for the UE based on the user data, and this primary anchor UPF assigns an IP address to the UE.
[0034] S220. When the edge UPF contains an address that is the same as the assigned IP address, select a target IP address from the backup address library as the target IP address for the user equipment.
[0035] When the edge UPF contains an IP address that is the same as the IP address in the user data packet, it is determined that there is a conflict in the IP address of the user data packet. The edge UPF then selects a new address from the pre-stored backup address library as the target IP address of the user device.
[0036] In some embodiments, the backup address library stores multiple IP addresses corresponding to the DNN, each address being marked with its usage status. The target IP address selected by the edge UPF for the user equipment is an address whose usage status is unused. Addresses whose usage status is used are addresses selected by the edge UPF for other user equipment.
[0037] In some embodiments, the edge UPF selects a corresponding unused IP address from the backup address library as the target IP address of the user equipment based on the DNN requested by the user equipment.
[0038] S230. Based on the target IP address, establish a UPF user data network DNN route.
[0039] Based on the target IP address selected by the edge UPF for the user device, establish the DNN route for the user request.
[0040] S240 transmits user data packets based on UPF DNN routing and target IP address.
[0041] Replace the IP address in the user data packet based on the target IP address, and transmit the replaced user data packet according to the UPF DNN route.
[0042] The data transmission method provided in this application can determine whether there is an IP address conflict based on the acquired user data packet. When there is an address conflict, the edge UPF replaces the target IP address in the user data packet with the IP address and performs data transmission, thus avoiding interruption of user data transmission and is simple to operate.
[0043] In some embodiments, the method further includes: obtaining the user uplink tunnel endpoint identifier (TEID) of the N3 interface allocated by the edge UPF, the user uplink tunnel endpoint identifier (TEID) of the N9 interface allocated by the main anchor point, the user downlink TEID of the N3 interface allocated by the base station, and the user downlink TEID of the N9 interface allocated by the edge UPF; and storing the user pre-allocated IP address, target IP address, user uplink tunnel endpoint identifier (TEID) of the N3 interface allocated by the edge UPF, user uplink tunnel endpoint identifier (TEID) of the N9 interface allocated by the main anchor point, user downlink TEID of the N3 interface allocated by the base station, and user downlink TEID of the N9 interface allocated by the edge UPF into a user conflict handling information table.
[0044] In some embodiments, the user conflict handling information table also stores the IP address assigned to the user equipment by the main anchor point UPF, the N3 interface IP on the base station side, the N3 interface IP of the edge UPF, the N9 interface IP of the edge UPF, the N9 interface IP of the main anchor point UPF, the DNN to which the conflicting IP of the user equipment belongs, and the target IP address selected by the edge UPF for the user equipment.
[0045] In some embodiments, user data packets are transmitted based on UPF DNN routing and a target IP address, including: turning on the N3 interface conflict handling switch under the DNN routing; processing the user data packets according to a preset N3 interface conflict handling procedure based on the DNN routing and the target IP address, wherein the preset N3 interface conflict handling procedure is used to replace the IP address in the user data packets that transmit data via the N3 interface; and transmitting data based on the processed user data packets. When the edge UPF reselects a target IP address for the user equipment, the N3 interface conflict handling switch is turned on, and the N3 interface address conflict handling mechanism is executed. Specifically, the user conflict handling information table is checked at a preset period to see if there is a record of user equipment IP address conflict. If a conflict record exists, the N3 interface conflict handling switch is turned on; if no conflict record exists, the N3 interface conflict handling switch is turned off. The preset N3 interface conflict handling procedure includes replacing the IP address in the user data packet with the target IP address allocated by the edge UPF to the user equipment, and transmitting the user data packets based on this address.
[0046] In some embodiments, user data packets are processed according to a preset N3 interface conflict handling procedure based on DNN routing and the target IP address. This includes: when a user data packet is sent through the N3 interface, obtaining the uplink TEID of the user data packet; when the user conflict handling information table includes a TEID identical to the uplink TEID of the user data packet, replacing the user's pre-assigned IP address in the user data packet with the user's target IP address from the user conflict handling information table; and passing the replaced user data packet to the N3 interface. When the edge UPF sends user data packets based on the N3 interface IP address, it extracts the uplink TEID of the user data packet and queries the user conflict handling information table based on this TEID. When a matching record is found, i.e., the same TEID is found, the IP address in the user data packet is replaced with the user's target IP address corresponding to the TEID, and the replaced user data packet is passed to the edge UPF's internal processing procedure. When there is no matching record in the user conflict handling table, the user data packet is not processed and is passed to the edge UPF's internal processing procedure.
[0047] In some embodiments, based on DNN routing and target IP addresses, user data packets are processed according to a preset N3 interface conflict handling procedure, further including: when a replaced user data packet is received through the N3 interface, obtaining the first IP address in the replaced user data packet; when the user conflict handling information table includes a user target IP address that is the same as the first IP address, replacing the first IP address with the pre-allocated address corresponding to the target IP address; and transmitting the replaced user data packet out through the N3 interface. When the edge UPF obtains a user data packet to be sent through the N3 interface, it obtains the target IP address in the user data packet and queries the user conflict handling information table to see if the target IP address is included. When a corresponding matching record is found in the user conflict handling information table, the target IP address in the user data packet is replaced with the user IP address allocated by the corresponding main anchor UPF in the information table. The replaced user data packet is encapsulated with the General Radio Packet Service Tunneling Protocol (GTP) and transmitted out through the N3 interface. When there is no corresponding matching record in the user conflict handling information table, the user data packet is encapsulated with GTP and transmitted out through the N3 interface.
[0048] In some embodiments, user data packets are transmitted based on UPF DNN routing and a target IP address, including: turning on the N9 interface conflict handling switch under the DNN; processing the user data packets according to a preset N9 interface conflict handling procedure based on the DNN routing and the target IP address, whereby the preset N9 interface conflict handling procedure is used to replace the IP address in the user data packets that transmit data via the N9 interface; and transmitting data based on the processed user data packets. When the edge UPF reselects a target IP address for the user equipment, the N9 interface conflict handling switch is turned on, and the N9 interface address conflict handling mechanism is executed. Specifically, the user conflict handling information table is checked at a preset period to see if there is a record of user equipment IP address conflict. If a conflict record exists, the N9 interface conflict handling switch is turned on; if no conflict record exists, the N9 interface conflict handling switch is turned off. The preset N9 interface conflict handling procedure includes replacing the IP address in the user data packet with the target IP address allocated by the edge UPF to the user equipment, and transmitting the user data packets based on that address.
[0049] In some embodiments, user data packets are processed according to a preset N9 interface conflict handling procedure based on DNN routing and the target IP address. This includes: when the edge UPF receives user data packets from the main anchor UPF via the N9 interface, obtaining the downlink TEID of the user data packet; when the user conflict handling information table includes a TEID identical to the downlink TEID of the user data packet, replacing the user's pre-assigned IP address in the user data packet with the user's target IP address from the user conflict handling information table; and transmitting the replaced user data packet to the N9 interface. When the edge UPF sends user data packets based on the N9 interface IP address, it extracts the downlink TEID of the user data packet and queries the user conflict handling information table based on this TEID. When a matching record is found, i.e., the same TEID is found, the IP address in the user data packet is replaced with the user's target IP address corresponding to the TEID, and the replaced user data packet is transmitted to the edge UPF's internal processing procedure. When there is no matching record in the user conflict handling table, the user data packet is not processed and is transmitted to the edge UPF's internal processing procedure.
[0050] In some embodiments, based on DNN routing and the target IP address, user data packets are processed according to a preset N9 interface conflict handling procedure, further including: when the edge UPF sends a replaced user data packet to the main anchor UPF through the N9 interface, obtaining the first IP address in the replaced user data packet; when the user conflict handling information table includes a user target IP address that is the same as the first IP address, replacing the first IP address with the pre-allocated address corresponding to the target IP address; and transmitting the replaced user data packet out through the N9 interface. When the edge UPF obtains a user data packet that is about to be sent through the N9 interface, it obtains the target IP address in the user data packet and queries the user conflict handling information table to see if the target IP address is included. When a corresponding matching record is found in the user conflict handling information table, the target IP address in the user data packet is replaced with the user IP address allocated by the main anchor UPF in the information table. The replaced user data packet is then encapsulated using GTP and transmitted out through the N9 interface. When no corresponding matching record is found in the user conflict handling information table, the user data packet is encapsulated using GTP and transmitted out through the N9 interface.
[0051] In some embodiments, a backup address database is set up in the edge UPF DNN, used by the edge UPF to select a target IP address for user equipment. The backup address database stores multiple IP addresses, their corresponding DNNs, and the usage status of the IP addresses. The stored IP addresses are for internal use within the edge UPF DNN, and different UPFs can reuse address ranges from this database. The address ranges in this database must not conflict with the corresponding DNN address ranges planned by the UPFs in the network. When selecting a target IP address for a user equipment, the edge UPF should select an unused IP address and mark the selected IP address as usable.
[0052] In some embodiments, a PDU session is established based on a request from the user equipment and released based on the target information of the user equipment. The target information may include the user equipment's power-off information, etc. When the user releases the PDU session, the user conflict handling information table can be queried based on information such as the user IP assigned by the primary anchor UPF and the uplink TEID assigned by the edge UPF. If a record exists, it is deleted from the table, and the address status in the "backup address database" is set to "unused".
[0053] In some embodiments, a master control switch is set under the DNN to control the above data transmission method. When the master control switch is turned on, the above data transmission method is executed; when the master control switch is turned off, user data packets are not processed and data transmission is performed.
[0054] In some embodiments, when a user accesses the edge UPF, the edge UPF performs conflict detection according to the IP conflict handling procedure at the N4 signaling layer under the DNN. If the conflict handling conditions are met, the user access is processed accordingly, and the N3 / N9 conflict handling switch under the DNN is turned on. When the edge UPF sends user data packets to the user side through the N3 interface, if the N3 conflict handling switch under the DNN is turned on, the conflict handling is performed only on data packets belonging to the DNN according to the user data packet outgoing N3 interface processing procedure. If the switch is not turned on, the existing procedure is followed. When the edge UPF sends user data packets to the main anchor UPF through the N9 interface, if the N9 conflict handling switch under the DNN is turned on, the conflict handling is performed only on data packets belonging to the DNN according to the user data packet outgoing N9 interface processing procedure. If the switch is not turned on, the existing procedure is followed. When the edge UPF receives user data packets from the main anchor UPF through the N9 interface, if the N9 conflict handling switch under the DNN is turned on, the user data packet incoming N9 interface processing procedure is followed. If the switch is not turned on, the existing procedure is followed. When the edge UPF receives user data packets from the user side through the N3 interface, if the N3 conflict handling switch under the DNN is turned on, the packet is processed according to the user data packet outgoing N3 interface processing procedure; if the switch is not turned on, it is processed according to the existing procedure.
[0055] The data transmission method provided in this application can determine whether there is an IP address conflict based on the acquired user data packet. When there is an address conflict, the edge UPF selects the target IP address based on the data of the user data packet, replaces the target IP address with the IP address in the user data packet, and transmits data based on the replaced user data packet, thus avoiding interruption of user data transmission and simplifying the operation.
[0056] Figure 3 This is a schematic diagram of a data transmission device structure provided in an embodiment of this application. Figure 3 As shown, the device 300 may include an acquisition module 310, a selection module 320, an establishment module 330, and a transmission module 340.
[0057] The acquisition module 310 is used to acquire user data packets when the user equipment accesses the edge user plane function UPF. The user data packets include the IP address assigned to the user equipment.
[0058] The selection module 320 is used to select a target IP address from the backup address library as the target IP address for the user equipment when the edge UPF includes an address that is the same as the assigned IP address.
[0059] Establish module 330 to establish UPF user data network DNN routes based on the target IP address;
[0060] The transmission module 340 is used to transmit user data packets based on UPF DNN routing and target IP address.
[0061] The data creation device provided in this application embodiment can determine whether there is an IP address conflict based on the acquired user data packet. When there is an address conflict, the edge UPF replaces the target IP address in the user data packet with the IP address and performs data transmission, thus avoiding interruption of user data transmission and is simple to operate.
[0062] In some embodiments, the apparatus further includes: an acquisition module 310, configured to acquire the user uplink tunnel endpoint identifier (TEID) of the N3 interface allocated by the edge UPF, the user uplink tunnel endpoint identifier (TEID) of the N9 interface allocated by the main anchor point, the user downlink TEID of the N3 interface allocated by the base station side, and the user downlink TEID of the N9 interface allocated by the edge UPF; and a storage module 350, configured to store the user pre-allocated IP address, target IP address, user uplink tunnel endpoint identifier (TEID) of the N3 interface allocated by the edge UPF, user uplink tunnel endpoint identifier (TEID) of the N9 interface allocated by the main anchor point, user downlink TEID of the N3 interface allocated by the base station side, and user downlink TEID of the N9 interface allocated by the edge UPF into a user conflict handling information table.
[0063] In some embodiments, the transmission module 340 is used to transmit user data packets based on UPF DNN routing and a target IP address, including: an opening module 360, used to open the N3 interface conflict handling switch under DNN routing; a processing module 370, used to process the user data packets according to a preset N3 interface conflict handling procedure based on the DNN routing and the target IP address, wherein the preset N3 interface conflict handling procedure is used to replace the IP address in the user data packets that transmit data through the N3 interface; and the transmission module 340 is used to transmit data based on the processed user data packets.
[0064] In some embodiments, the processing module 370 is used to process user data packets according to a preset N3 interface conflict handling procedure based on DNN routing and target IP address, including: an acquisition module 310, used to acquire the uplink TEID of the user data packet when the edge UPF receives the user data packet from the user side through the N3 interface; a replacement module 380, used to replace the user's pre-allocated IP address in the user data packet with the user's target IP address in the user conflict handling information table when the user conflict handling information table includes the same TEID as the uplink TEID of the user data packet; and a transmission module 340, used to transmit the replaced user data packet to the N3 interface.
[0065] In some embodiments, the processing module 370 is used to process user data packets according to a preset N3 interface conflict handling procedure based on DNN routing and target IP address, and further includes: an acquisition module 310, used to acquire the first IP address in the replaced user data packet when the edge UPF sends the replaced user data packet to the user side through the N3 interface; a replacement module 380, used to replace the first IP address with the pre-allocated address corresponding to the target IP address when the user conflict handling information table includes a user target IP address that is the same as the first IP address; and a transmission module 340, used to transmit the replaced user data packet out of the N3 interface.
[0066] In some embodiments, the transmission module 340 is used to transmit user data packets based on UPF DNN routing and a target IP address, including: an opening module 360, used to turn on the N9 interface conflict handling switch under DNN; a processing module 370, used to process the user data packets according to a preset N9 interface conflict handling procedure based on the DNN routing and the target IP address, wherein the preset N9 interface conflict handling procedure is used to replace the IP address in the user data packets that transmit data through the N9 interface; and the transmission module 340 is used to transmit data based on the processed user data packets.
[0067] In some embodiments, the processing module 370 is used to process user data packets according to a preset N9 interface conflict handling procedure based on DNN routing and target IP address, including: an acquisition module 310, used to acquire the downlink TEID of the user data packet when the edge UPF receives the user data packet from the main anchor UPF through the N9 interface; a replacement module 380, used to replace the user's pre-allocated IP address in the user data packet with the user's target IP address in the user conflict handling information table when the user conflict handling information table includes the same TEID as the downlink TEID of the user data packet; and a transmission module 340, used to transmit the replaced user data packet to the N9 interface.
[0068] In some embodiments, the processing module 370 is used to process user data packets according to a preset N9 interface conflict handling procedure based on DNN routing and target IP address, and further includes: an acquisition module 310, used to acquire the first IP address in the replaced user data packet when the edge UPF sends the replaced user data packet to the main anchor UPF through the N9 interface; a replacement module 380, used to replace the first IP address with the pre-allocated address corresponding to the target IP address when the user conflict handling information table includes a user target IP address that is the same as the first IP address; and a transmission module 340, used to transmit the replaced user data packet out of the N9 interface.
[0069] The data transmission device provided in this application embodiment can determine whether there is an IP address conflict based on the acquired user data packet. When there is an address conflict, the edge UPF selects the target IP address based on the data of the user data packet, replaces the target IP address with the IP address in the user data packet, and performs data transmission based on the replaced user data packet, thus avoiding interruption of user data transmission and simplifying operation.
[0070] Figure 3 Each module / unit in the illustrated device has the ability to implement Figure 2 The functions of each step in the process and their corresponding technical effects are described in detail here for the sake of brevity.
[0071] Figure 4 A schematic diagram of the hardware structure of the data transmission device provided in an embodiment of this application is shown.
[0072] The data transmission device may include a processor 401 and a memory 402 storing computer program instructions.
[0073] Specifically, the processor 401 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0074] Memory 402 may include mass storage for data or instructions. For example, and not limitingly, memory 402 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. In one instance, memory 402 may include removable or non-removable (or fixed) media, or memory 402 may be non-volatile solid-state memory. Memory 402 may be internal or external to the integrated gateway disaster recovery device.
[0075] In one example, memory 402 may include read-only memory (ROM), random access memory (RAM), disk storage media device, optical storage media device, flash memory device, electrical, optical, or other physical / tangible memory storage device. Therefore, typically, memory 302 includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of this application.
[0076] The processor 401 reads and executes computer program instructions stored in the memory 402 to achieve... Figure 2 The method / steps S210 to S240 in the illustrated embodiment are completed, and the desired outcome is achieved. Figure 2 The technical effects achieved by executing the methods / steps shown in the examples are not elaborated here for the sake of brevity.
[0077] In one example, the data transmission device may further include a communication interface 403 and a bus 410. Wherein, as... Figure 4 As shown, the processor 401, memory 402, and communication interface 403 are connected through bus 410 and complete communication with each other.
[0078] The communication interface 403 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0079] Bus 410 includes hardware, software, or both, that couples components of a data transmission device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 410 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, this application contemplates any suitable bus or interconnect.
[0080] The data transmission device can execute the data transmission method in this application embodiment based on user data packets and the target IP address allocated by the edge UPF, thereby achieving a combination of Figure 2 The data transmission method described.
[0081] Furthermore, in conjunction with the data transmission methods described in the above embodiments, this application embodiment can provide a computer storage medium for implementation. This computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the data transmission methods described in the above embodiments.
[0082] This application provides a computer program product in which the instructions are executed by the processor of an electronic device, causing the electronic device to perform any of the data transmission methods described in the above embodiments.
[0083] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0084] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0085] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0086] The aspects of this application have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by dedicated hardware performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0087] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A data transmission method, characterized in that, include: When a request is received from a user equipment to access the edge user plane function (UPF), a user data packet is obtained, which includes the IP address assigned to the user equipment. When the edge UPF includes an address that is the same as the assigned IP address, a target IP address is selected from the backup address library as the target IP address of the user equipment. Based on the target IP address, establish a UPF user data network DNN route; Based on the UPF DNN routing and the target IP address, the user data packet is transmitted; The method further includes: Obtain the user uplink tunnel endpoint identifier (TEID) of the N3 interface allocated by the edge UPF, the user uplink tunnel endpoint identifier (TEID) of the N9 interface allocated by the main anchor point, the user downlink TEID of the N3 interface allocated by the base station side, and the user downlink TEID of the N9 interface allocated by the edge UPF. The user's pre-assigned IP address, the target IP address, the user uplink tunnel endpoint identifier (TEID) of the N3 interface allocated by the edge UPF, the user uplink tunnel endpoint identifier (TEID) of the N9 interface allocated by the main anchor point, the user downlink TEID of the N3 interface allocated by the base station side, and the user downlink TEID of the N9 interface allocated by the edge UPF are stored in the user conflict handling information table. The transmission of the user data packet based on the UPF DNN routing and the target IP address includes: Turn on the N3 interface conflict handling switch under the DNN route; Based on the DNN route and the target IP address, the user data packet is processed according to the preset N3 interface conflict handling procedure, which is used to replace the IP address in the user data packet that transmits data through the N3 interface. Data transmission is performed based on the processed user data packets; or The transmission of the user data packet based on the UPF DNN routing and the target IP address includes: Turn on the N9 interface conflict handling switch under the DNN; Based on the DNN route and the target IP address, the user data packet is processed according to the preset N9 interface conflict handling procedure, which is used to replace the IP address in the user data packet that transmits data through the N9 interface. Data transmission is performed based on the processed user data packets.
2. The method according to claim 1, characterized in that, The process of processing the user data packets based on the DNN route and the target IP address, according to a preset N3 interface conflict handling procedure, includes: When the edge UPF receives the user data packet from the user side through the N3 interface, it obtains the uplink TEID of the user data packet; When the user conflict handling information table includes a TEID that is the same as the uplink TEID of the user data packet, the user's pre-assigned IP address in the user data packet is replaced with the user's target IP address in the user conflict handling information table. The replaced user data packet is passed to the N3 interface.
3. The method according to claim 2, characterized in that, The step of processing the user data packets based on the DNN route and the target IP address according to a preset N3 interface conflict handling procedure also includes: When the edge UPF sends the replaced user packet to the user side through the N3 interface, the first IP address in the replaced user packet is obtained; When the user conflict handling information table includes a user target IP address that is the same as the first IP address, the first IP address is replaced with the pre-allocated address corresponding to the target IP address; The replaced user data packet is transmitted out of the N3 interface.
4. The method according to claim 1, characterized in that, The process of processing the user data packets based on the DNN route and the target IP address, according to a preset N9 interface conflict handling procedure, includes: When the edge UPF receives the user data packet from the main anchor UPF through the N9 interface, it obtains the downlink TEID of the user data packet; When the user conflict handling information table includes a TEID that is the same as the downlink TEID of the user data packet, the user's pre-assigned IP address in the user data packet is replaced with the user's target IP address in the user conflict handling information table. The replaced user data packet is then passed to the N9 interface.
5. The method according to claim 4, characterized in that, The step of processing the user data packet according to the preset N9 interface conflict handling procedure also includes: When the edge UPF sends the replaced user data packet to the main anchor UPF through the N9 interface, the first IP address in the replaced user data packet is obtained; When the user conflict handling information table includes a user target IP address that is the same as the first IP address, the first IP address is replaced with the pre-allocated address corresponding to the target IP address; The replaced user data packet is transmitted out of the N9 interface.
6. A data transmission device, characterized in that, The device includes: The acquisition module is used to acquire user data packets when the user equipment accesses the edge user plane function (UPF), wherein the user data packets include the IP address assigned to the user equipment. The selection module is used to select a target IP address from the backup address library when the edge UPF includes an address that is the same as the assigned IP address, and use it as the target IP address of the user equipment. A module is established to establish a UPF user data network DNN route based on the target IP address; The transmission module is used to transmit the user data packets based on the UPF DNN route and the target IP address; The device further includes: The acquisition module is also used to acquire the user uplink tunnel endpoint identifier (TEID) of the N3 interface allocated by the edge UPF, the user uplink tunnel endpoint identifier (TEID) of the N9 interface allocated by the main anchor point, the user downlink TEID of the N3 interface allocated by the base station side, and the user downlink TEID of the N9 interface allocated by the edge UPF. The storage module is used to store the user's pre-allocated IP address, the target IP address, the user uplink tunnel endpoint identifier (TEID) of the N3 interface allocated by the edge UPF, the user uplink tunnel endpoint identifier (TEID) of the N9 interface allocated by the main anchor point, the user downlink TEID of the N3 interface allocated by the base station side, and the user downlink TEID of the N9 interface allocated by the edge UPF into the user conflict handling information table. The transmission module is used to transmit the user data packet based on the UPF DNN route and the target IP address, including: Open module, used to turn on the N3 interface conflict handling switch under the DNN route; The processing module is used to process the user data packet according to the preset N3 interface conflict handling procedure based on the DNN route and the target IP address. The preset N3 interface conflict handling procedure is used to replace the IP address in the user data packet that transmits data through the N3 interface. The transmission module is further configured to transmit data based on the processed user data packets; or The transmission module is used to transmit the user data packet based on the UPF DNN route and the target IP address, including: The opening module is used to turn on the N9 interface conflict handling switch under the DNN; The processing module is used to process the user data packet according to a preset N9 interface conflict handling procedure based on the DNN route and the target IP address. The preset N9 interface conflict handling procedure is used to replace the IP address in the user data packet that transmits data through the N9 interface. The transmission module is also used to transmit data based on the processed user data packets.
7. A data transmission device, characterized in that, The data transmission device includes: a processor and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the data transmission method as described in any one of claims 1-5.
8. A computer storage medium, characterized in that, The computer storage medium stores computer program instructions, which, when executed by a processor, implement the data transmission method as described in any one of claims 1-5.
9. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device performs the data transmission method as described in any one of claims 1-5.
Citation Information
Patent Citations
User IP address allocation method, network equipment and storage medium
CN110661894A
Method of and system for establishing a communication address of a device
US20060143304A1