Data processing method, system, device and medium
By adopting dual-transmission mode and filtering mode in the user plane function UPF of 5G network, using serial number marking and multi-channel transmission technology, packet loss, delay and jitter problems caused by wireless side air interface signal attenuation and interference are solved, and the reliability of data transmission is improved.
Patent Information
- Application Number
- CN202210910370.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2042-07-29
AI Technical Summary
When the wireless air interface in 5G network faces signal attenuation and synchronous interference, it leads to packet loss, delay or jitter, affecting the data transmission reliability of enterprise users.
By determining the dual-transmit mode and filtering mode in the user plane function UPF, the data packet is marked with a serial number, and transmitting it on the wireless air interface through a multi-channel method, deduplication processing is performed on the receiving end, improving the reliability of data transmission.
It effectively reduces packet loss rate, delay and jitter, improves the reliability of data transmission on air interfaces, and meets the high requirements of enterprise users for 5G network reliability.
Smart Images

Figure CN115499947B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technologies, and in particular to a data processing method, system, device and medium. Background Art
[0002] At present, industry customers in the business model of exchanging and transmitting data information between enterprises through dedicated networks and conducting transactions have higher requirements for the reliability of 5G networks than customers of e-commerce between individuals.
[0003] However, the hardware facilities in the 5G network basically have a high reliability mechanism. How to solve the packet loss, delay or jitter caused by signal attenuation and co-channel interference on the wireless side of the air interface has become an important issue in the 5G business model between enterprises. In the existing technology, 5G has the characteristics of high frequency and poor penetration. In some specific environments, the attenuation of 5G signals has a great impact on the data transmission of industries such as industry and energy with high reliability requirements, thus greatly affecting the user experience of enterprise users. Summary of the invention
[0004] The present invention provides a data processing method, system, device and medium to solve the technical problems of packet loss, delay or jitter caused by poor quality of wireless air interface in the prior art. The present invention can adopt a double-transmission and deduplication technical solution according to the interaction process between the user plane function UPF and the target terminal, thereby providing a high-reliability method for data redundancy for the 5G wireless side to meet the high-reliability requirements of the wireless air interface.
[0005] In a first aspect, the present invention provides a data processing method, comprising:
[0006] Determine an execution mode of a user plane function UPF, wherein the execution mode includes a dual-transmission mode and a screening mode;
[0007] In the dual-send mode, a first network identifier of a first source data packet and a second network identifier of a first duplicate data packet are respectively marked with a sequence number, so as to send the first source data packet marked with the sequence number and the first duplicate data packet marked with the sequence number to a target terminal;
[0008] In the screening mode, the second source data packet and the second duplicate data packet in the uplink data are respectively parsed to screen out a target data packet in any first data packet set, wherein the sequence number of the target data packet is the sequence number parsed for the first time;
[0009] The first duplicate data packet is determined by duplicating a first source data packet in a user plane function UPF;
[0010] The first network identifier and the second network identifier are determined according to a tunnel of a virtual extended local area network VXLAN;
[0011] The first data packet set is a set of each second source data packet and a second copy data packet corresponding to each second source data packet.
[0012] According to a data processing method provided by the present invention, the determining of the execution mode of the user plane function UPF includes:
[0013] In case that the user plane function UPF receives downlink data from the data network DN, determining that the execution mode is a dual-transmission mode;
[0014] In case that the user plane function UPF receives uplink data from the target terminal, it is determined that the execution mode is a screening mode.
[0015] According to a data processing method provided by the present invention, the method uses a sequence number to mark a first network identifier of a first source data packet and a second network identifier of a first copy data packet, respectively, so as to send the first source data packet marked with the sequence number and the first copy data packet marked with the sequence number to a target terminal, including:
[0016] Mark each first source data packet with a different sequence number in the network identifier VNI of the virtual extended local area network VXLAN tunnel;
[0017] Marking the first duplicate data packet corresponding to each first source data packet according to the sequence number corresponding to each first source data packet;
[0018] Each first source data packet is sent to the target terminal using a first channel path, and each first copy data packet is sent to the target terminal using a second channel path.
[0019] According to a data processing method provided by the present invention, the step of respectively parsing a second source data packet and a second duplicate data packet in uplink data includes:
[0020] Receiving a second source data packet of a third channel path and a second copy data packet of a fourth channel path respectively;
[0021] Parse the second source data packet and the second copy data packet to obtain a serial number corresponding to each second source data packet and a serial number corresponding to each second copy data packet.
[0022] In a second aspect, the present invention provides a data processing method, comprising:
[0023] Determine an execution mode of the target terminal, wherein the execution mode includes a dual-send mode and a screening mode;
[0024] In the dual-transmission mode, the third network identifier of the third source data packet and the fourth network identifier of the third duplicate data packet are respectively marked with a sequence number, so as to send the third source data packet marked with the sequence number and the third duplicate data packet marked with the sequence number to the user plane function UPF;
[0025] In the screening mode, respectively parse the fourth source data packet and the fourth copy data packet in the downlink data from the user plane function UPF, and screen out the target data packet in any two first data packet sets, wherein the sequence number of the target data packet is the sequence number parsed for the first time;
[0026] The third duplicate data packet is determined by a third source data packet in the duplication target terminal;
[0027] The third network identifier and the fourth network identifier are determined according to a tunnel of a virtual extended local area network VXLAN;
[0028] The second data packet set is a set of each fourth source data packet and a fourth copy data packet corresponding to each fourth source data packet.
[0029] According to a data processing method provided by the present invention, the step of determining the execution mode of the target terminal includes:
[0030] In the case where the target terminal receives an input instruction, determining that the execution mode is a dual-send mode;
[0031] When the target terminal receives downlink data sent from a user plane function UPF, it is determined that the execution mode is a screening mode.
[0032] In a third aspect, the present invention provides a data processing system, comprising:
[0033] A first determination module: used to determine an execution mode of a user plane function UPF, wherein the execution mode includes a dual-transmission mode and a screening mode;
[0034] A first sending module: used for marking the first network identifier of the first source data packet and the second network identifier of the first copy data packet with a sequence number in the dual-sending mode, so as to send the first source data packet marked with the sequence number and the first copy data packet marked with the sequence number to the target terminal;
[0035] A first parsing module: used for respectively parsing the second source data packet and the second duplicate data packet in the uplink data in the screening mode, and screening out a target data packet in any first data packet set, wherein the sequence number of the target data packet is the sequence number parsed for the first time;
[0036] The first duplicate data packet is determined by duplicating a first source data packet in a user plane function UPF;
[0037] The first network identifier and the second network identifier are determined according to a tunnel of a virtual extended local area network VXLAN;
[0038] The first data packet set is a set of each second source data packet and a second copy data packet corresponding to each second source data packet.
[0039] In a fourth aspect, the present invention provides a data processing system, comprising:
[0040] A second determination module: used to determine an execution mode of the target terminal, wherein the execution mode includes a dual-send mode and a screening mode;
[0041] A second sending module: used for marking the third network identifier of the third source data packet and the fourth network identifier of the third copy data packet respectively with a sequence number in the dual-sending mode, so as to send the third source data packet marked with the sequence number and the third copy data packet marked with the sequence number to the user plane function UPF;
[0042] A second parsing module: used for parsing the fourth source data packet and the fourth copy data packet in the downlink data from the user plane function UPF in the screening mode, respectively, and screening out the target data packet in any two first data packet sets, wherein the sequence number of the target data packet is the sequence number parsed for the first time;
[0043] The third duplicate data packet is determined by a third source data packet in the duplication target terminal;
[0044] The third network identifier and the fourth network identifier are determined according to a tunnel of a virtual extended local area network VXLAN;
[0045] The second data packet set is a set of each fourth source data packet and a fourth copy data packet corresponding to each fourth source data packet.
[0046] In a fifth aspect, an electronic device is also provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the data processing method is implemented when the processor executes the program.
[0047] In a sixth aspect, a non-transitory computer-readable storage medium is also provided, on which a computer program is stored, and when the computer program is executed by a processor, the data processing method is implemented.
[0048] The present invention provides a data processing method, system, device and medium, which first determine the corresponding execution mode of the user plane function UPF according to different trigger conditions, and implement operations such as dual transmission, analysis, and deduplication of data in different execution modes. The present invention copies and marks the data to be transmitted at the transmitting end, and transmits it at the wireless air interface in a multi-channel manner, so that the received data can be deduplicated at the corresponding receiving end according to the mark, thereby effectively reducing the packet loss rate, delay and jitter without changing the user facilities, and improving the reliability of data transmission at the air interface. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 It is one of the flow charts of a data processing method provided by the present invention;
[0051] Figure 2 It is a schematic diagram of a flow chart for determining an execution mode of a user plane function UPF provided by the present invention;
[0052] Figure 3 It is a schematic diagram of a process of sending a first source data packet and a first copy data packet to a target terminal provided by the present invention;
[0053] Figure 4 It is a schematic diagram of a flow chart of respectively parsing a second source data packet and a second duplicate data packet in uplink data provided by the present invention;
[0054] Figure 5 This is the second flow chart of a data processing method provided by the present invention;
[0055] Figure 6 is a schematic diagram of a flow chart of determining an execution mode of a target terminal provided by the present invention;
[0056] Figure 7 It is one of the structural schematic diagrams of a data processing system provided by the present invention;
[0057] Figure 8 This is the second structural diagram of a data processing system provided by the present invention;
[0058] Fig. 9 This is a third structural diagram of a data processing system provided by the present invention;
[0059] Fig.10 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] Figure 1 It is one of the flow diagrams of a data processing method provided by the present invention. The present invention discloses a data processing method, the execution subject is a user plane function UPF, including:
[0062] Determine an execution mode of a user plane function UPF, wherein the execution mode includes a dual-transmission mode and a screening mode;
[0063] In the dual-send mode, a first network identifier of a first source data packet and a second network identifier of a first duplicate data packet are respectively marked with a sequence number, so as to send the first source data packet marked with the sequence number and the first duplicate data packet marked with the sequence number to a target terminal;
[0064] In the screening mode, the second source data packet and the second duplicate data packet in the uplink data are respectively parsed to screen out a target data packet in any first data packet set, wherein the sequence number of the target data packet is the sequence number parsed for the first time;
[0065] The first duplicate data packet is determined by duplicating a first source data packet in a user plane function UPF;
[0066] The first network identifier and the second network identifier are determined according to a tunnel of a virtual extended local area network VXLAN;
[0067] The first data packet set is a set of each second source data packet and a second copy data packet corresponding to each second source data packet.
[0068] In step 101, the user plane function (UPF) is an important part of the 5G core network system architecture, and is mainly responsible for the routing and forwarding related functions of the user plane data packets in the 5G core network. As the user plane network element of the 5G network, the user plane function mainly supports the routing and forwarding of terminal service data, data and service identification, action and policy execution, etc., and the present invention can implement the execution modes of the dual-transmission mode and the screening mode according to the user plane function UPF. In the dual-transmission mode, the data packets are mainly copied and sent through multiple channels, while in the screening mode, the received data are screened and recorded, and duplicate data packets are removed.
[0069] In step 102, in the dual-send mode, the first copied data packet is determined by the first source data packet in the copied user plane function UPF, and the first network identifier and the second network identifier are determined according to the tunnel of the virtual extended local area network VXLAN. The present invention adopts the tunnel method of the virtual extended local area network VXLAN to perform dual-send encapsulation of data, and adopts the method of sequence number (SequenceNUM, SN) identification to mark the first network identifier of the first source data packet and the second network identifier of the first copied data packet in turn. At this time, for the data packet set composed of the first copied data packet corresponding to each first source data packet, the same sequence number is used, and for different data packet sets, different sequence numbers are used.
[0070] The present invention uses serial numbers to mark the first network identifier of the first source data packet and the second network identifier of the first copy data packet respectively, and sends the first source data packet marked with the serial number and the first copy data packet marked with the serial number to the target terminal according to the user plane function UPF.
[0071] In step 103, in the screening mode, the uplink data is an uplink data packet sent by the target terminal to the user plane function UPF, and the uplink data packet includes a second source data packet and a second copy data packet, and the second copy data packet is determined by copying the second source data packet. Accordingly, according to the technical solution of marking the data packets with serial numbers in step 102, in this step 103, the second source data packet and the second copy data packet also carry corresponding serial numbers, and this operation step will be completed before the target terminal sends the uplink data to the user plane function UPF.
[0072] Furthermore, the second source data packet and the second copy data packet in the uplink data are parsed respectively to parse out the sequence number of each second source data packet and the sequence number of each second copy data packet. When it is determined that the sequence number of one of the data packets in any first data packet set is an unparsed sequence number, it is considered that the sequence number is a new sequence number that has not been marked. At this time, the data packet corresponding to it is a non-duplicate data packet, and the data packet is filtered out. The first data packet set is a set of each second source data packet and the second copy data packet corresponding to each second source data packet, and then the remaining data packets in the first data packet set are eliminated. The remaining data packets are the data packets in the first data packet set excluding the filtered data packets.
[0073] The present invention provides a data processing method, system, device and medium, which first determine the corresponding execution mode of the user plane function UPF according to different trigger conditions, and implement operations such as dual transmission, analysis, and deduplication of data in different execution modes. The present invention copies and marks the data to be transmitted at the transmitting end, and transmits it at the wireless air interface in a multi-channel manner, so that the received data can be deduplicated at the corresponding receiving end according to the mark, thereby effectively reducing the packet loss rate, delay and jitter without changing the user facilities, and improving the reliability of data transmission at the air interface.
[0074] Figure 2 It is a schematic diagram of a flow chart of determining an execution mode of a user plane function UPF provided by the present invention, wherein determining the execution mode of the user plane function UPF includes:
[0075] In case that the user plane function UPF receives downlink data from the data network DN, determining that the execution mode is a dual-transmission mode;
[0076] In case that the user plane function UPF receives uplink data from the target terminal, it is determined that the execution mode is a screening mode.
[0077] In step 1011, Fig. 9 This is the third structural diagram of a data processing system provided by the present invention. When the user plane function UPF receives downlink data from a data network (DN), the user plane function UPF needs to transmit the downlink data from the data network DN to the target terminal. Accordingly, the downlink data from the data network DN needs to be sent to the target terminal after the dual-send encapsulation operation in step 102, that is, the execution mode is determined to be the dual-send mode.
[0078] In step 1012, when the user plane function UPF receives uplink data from the target terminal, that is, the target terminal double-encapsulates the uplink data and transmits it to the user plane function UPF, at this time, it is necessary to parse and deduplicate the uplink data received from the target terminal, that is, determine that the execution mode is the screening mode.
[0079] Figure 3 The present invention provides a flow chart of sending a first source data packet and a first copy data packet to a target terminal, wherein the first network identifier of the first source data packet and the second network identifier of the first copy data packet are respectively marked with a sequence number, so as to send the first source data packet marked with the sequence number and the first copy data packet marked with the sequence number to the target terminal, including:
[0080] Mark each first source data packet with a different sequence number in the network identifier VNI of the virtual extended local area network VXLAN tunnel;
[0081] Marking the first duplicate data packet corresponding to each first source data packet according to the sequence number corresponding to each first source data packet;
[0082] Each first source data packet is sent to the target terminal using a first channel path, and each first copy data packet is sent to the target terminal using a second channel path.
[0083] In step 1021, when the user plane function UPF sends the downlink data received from the data network DN to the target terminal in two paths, the serial number is used to add an identification serial number to the first source data packet at the end of the network identifier VNI of the virtual extended local area network VXLAN tunnel header.
[0084] In step 1022, since there is an identical copy data packet for each first source data packet, that is, for each first source data packet, the first copy data packet corresponding to each first source data packet is marked according to the serial number corresponding to each first source data packet, so that the serial number is used to add the same identification serial number to the same source data packet at the end of the network identifier VNI of the virtual extended local area network VXLAN tunnel header.
[0085] In step 1023, each first source data packet is sent to the target terminal using the first channel path, and each first copy data packet is sent to the target terminal using the second channel path. The present invention uses an independent channel path (Path Session) for each first source data packet and an independent channel path (Path Session) for each second source data packet, so that the present invention can forward the data packets to the target terminal in a multi-channel and multi-session manner, so that it has high reliability at the wireless air interface.
[0086] Figure 4 The present invention provides a flow chart of respectively parsing a second source data packet and a second copy data packet in uplink data, wherein the process of respectively parsing a second source data packet and a second copy data packet in uplink data includes:
[0087] Receiving a second source data packet of a third channel path and a second copy data packet of a fourth channel path respectively;
[0088] Parse the second source data packet and the second copy data packet to obtain a serial number corresponding to each second source data packet and a serial number corresponding to each second copy data packet.
[0089] In step 1031, in such an embodiment, the target terminal adopts a multi-channel form to transmit the second source data packet and the second copy data packet after double encapsulation to the user plane function UPF using different channel paths respectively, and the user plane function UPF respectively receives the second source data packet of the third channel path and the second copy data packet of the fourth channel path.
[0090] In step 1032, each second source data packet has an identical second copy data packet, and the two constitute a second data packet group. Before being sent by the target terminal, each second data packet group is marked with the same serial number so that different second data packet groups have different serial numbers. The second source data packet and the second copy data packet are parsed to obtain the serial number corresponding to each second source data packet and the serial number corresponding to each second copy data packet.
[0091] Figure 5 This is the second flow chart of a data processing method provided by the present invention. The present invention also discloses a data processing method, the execution subject is a target terminal, and includes:
[0092] Determine an execution mode of the target terminal, wherein the execution mode includes a dual-send mode and a screening mode;
[0093] In the dual-transmission mode, the third network identifier of the third source data packet and the fourth network identifier of the third duplicate data packet are respectively marked with a sequence number, so as to send the third source data packet marked with the sequence number and the third duplicate data packet marked with the sequence number to the user plane function UPF;
[0094] In the screening mode, respectively parse the fourth source data packet and the fourth copy data packet in the downlink data from the user plane function UPF, and screen out the target data packet in any two first data packet sets, wherein the sequence number of the target data packet is the sequence number parsed for the first time;
[0095] The third duplicate data packet is determined by a third source data packet in the duplication target terminal;
[0096] The third network identifier and the fourth network identifier are determined according to a tunnel of a virtual extended local area network VXLAN;
[0097] The second data packet set is a set of each fourth source data packet and a fourth copy data packet corresponding to each fourth source data packet.
[0098] In step 201, the target terminal is an important part of the 5G core network system architecture. The current 5G network is networked according to the core network, base station, target terminal, and transmission equipment. After the target terminal accesses the base station, the data is sent from the air interface to the base station, and the base station sends it to the user plane function UPF of the core network through the transmission equipment. The user plane function UPF processes and forwards it to the external network. The present invention can implement the execution mode of the dual-transmission mode and the screening mode according to the target terminal. In the dual-transmission mode, the data packet is mainly copied and sent through multiple channels, while in the screening mode, the received data is screened and recorded, and duplicate data packets are removed.
[0099] In step 202, in the dual-send mode, the third replicated data packet is determined by the third source data packet in the replication target terminal, and the third network identifier and the fourth network identifier are determined according to the tunnel of the virtual extended local area network VXLAN. The present invention adopts the tunnel mode of the virtual extended local area network VXLAN to perform dual-send encapsulation of data, and adopts the sequence number (SequenceNUM, SN) identification mode to mark the third network identifier of the third source data packet and the fourth network identifier of the third replicated data packet in turn. At this time, the second data packet set is a set of each fourth source data packet and the fourth replicated data packet corresponding to each fourth source data packet. For the second data packet set composed of the third replicated data packet corresponding to each third source data packet, the same sequence number is used, and for different second data packet sets, different sequence numbers are used.
[0100] The present invention uses serial numbers to mark the third network identifier of the third source data packet and the fourth network identifier of the third copy data packet respectively, and sends the third source data packet marked with the serial number and the third copy data packet marked with the serial number to the user plane function UPF according to the target terminal.
[0101] In step 203, in the screening mode, the fourth source data packet and the fourth copy data packet in the downlink data from the user plane function UPF are parsed respectively, the downlink data packet is a downlink data packet sent by the user plane function UPF to the target terminal, the downlink data packet includes a fourth source data packet and a fourth copy data packet, the fourth copy data packet is determined by copying the fourth source data packet, accordingly, according to the technical solution of marking the data packets with serial numbers in step 102, in this step 203, the fourth source data packet and the fourth copy data packet also carry corresponding serial numbers, and this operation step will be completed before the downlink data packet sent by the user plane function UPF to the target terminal.
[0102] Figure 6 : is a flow chart of determining the execution mode of a target terminal provided by the present invention, wherein the step of determining the execution mode of the target terminal includes:
[0103] In the case where the target terminal receives an input instruction, determining that the execution mode is a dual-send mode;
[0104] When the target terminal receives downlink data sent from a user plane function UPF, it is determined that the execution mode is a screening mode.
[0105] In step 2011, the input instruction may include a third source data packet for executing the dual-send mode, and at the same time have an input signal that needs to be sent to the user plane function UPF. Furthermore, when the target terminal receives the input instruction, it is considered that it needs to adopt the dual-send mode to dual-encapsulate the third source data packet and then send it to the user plane function UPF.
[0106] In step 2012, when the target terminal receives downlink data sent from the user plane function UPF, that is, the user plane function UPF encapsulates the downlink data in dual transmission and transmits it to the target terminal, at this time, it is necessary to parse and deduplicate the downlink data received from the user plane function UPF, that is, determine that the execution mode is the screening mode.
[0107] Figure 7 It is one of the structural diagrams of a data processing system provided by the present invention. The present invention discloses a data processing system, including a first determination module 11: used to determine the execution mode of the user plane function UPF, the execution mode includes a dual-transmission mode and a screening mode, the working principle of the first determination module 11 can refer to the aforementioned step 101, which will not be repeated here.
[0108] The data processing system also includes a first sending module 12: in the dual-sending mode, the first network identifier of the first source data packet and the second network identifier of the first copy data packet are marked with a serial number, so as to send the first source data packet marked with the serial number and the first copy data packet marked with the serial number to the target terminal. The working principle of the first sending module 12 can refer to the aforementioned step 102 and will not be repeated here.
[0109] The data processing system also includes a first parsing module 13: which is used to parse the second source data packet and the second copy data packet in the uplink data in the screening mode, respectively, and screen out the target data packet in any first data packet set, wherein the serial number of the target data packet is the serial number parsed for the first time. The working principle of the first parsing module 13 can refer to the aforementioned step 103 and will not be repeated here.
[0110] The first duplicate data packet is determined by duplicating a first source data packet in a user plane function UPF;
[0111] The first network identifier and the second network identifier are determined according to a tunnel of a virtual extended local area network VXLAN;
[0112] The first data packet set is a set of each second source data packet and a second copy data packet corresponding to each second source data packet.
[0113] The present invention provides a data processing method, system, device and medium, which first determine the corresponding execution mode of the user plane function UPF according to different trigger conditions, and implement operations such as dual transmission, analysis, and deduplication of data in different execution modes. The present invention copies and marks the data to be transmitted at the transmitting end, and transmits it at the wireless air interface in a multi-channel manner, so that the received data can be deduplicated at the corresponding receiving end according to the mark, thereby effectively reducing the packet loss rate, delay and jitter without changing the user facilities, and improving the reliability of data transmission at the air interface.
[0114] Figure 8 This is the second structural diagram of a data processing system provided by the present invention. The present invention also discloses a data processing system, including a second determination module 21: used to determine the execution mode of the target terminal, the execution mode includes a dual-send mode and a screening mode, and the working principle of the second determination module 21 can refer to the aforementioned step 201 and will not be repeated here.
[0115] The data processing system also includes a second sending module 22: in the dual-sending mode, using a serial number to respectively mark the third network identifier of the third source data packet and the fourth network identifier of the third copy data packet, so as to send the third source data packet marked with the serial number and the third copy data packet marked with the serial number to the user plane function UPF. The working principle of the second sending module 22 can refer to the aforementioned step 202 and will not be repeated here.
[0116] The data processing system also includes a second parsing module 23: used to parse the fourth source data packet and the fourth copy data packet in the downlink data from the user plane function UPF in the screening mode, and screen out the target data packet in any two first data packet sets, wherein the sequence number of the target data packet is the sequence number parsed for the first time. The working principle of the second parsing module 23 can refer to the aforementioned step 203 and will not be repeated here.
[0117] The third duplicate data packet is determined by a third source data packet in the duplication target terminal;
[0118] The third network identifier and the fourth network identifier are determined according to a tunnel of a virtual extended local area network VXLAN;
[0119] The second data packet set is a set of each fourth source data packet and a fourth copy data packet corresponding to each fourth source data packet.
[0120] Fig.10 It is a structural schematic diagram of the electronic device provided by the present invention. Fig.10 An example of a physical structure diagram of an electronic device is shown in FIG. Fig.10As shown, the electronic device may include: a processor (processor) 110, a communication interface (Communications Interface) 120, a memory (memory) 130 and a communication bus 140, wherein the processor 110, the communication interface 120, and the memory 130 communicate with each other through the communication bus 140. The processor 110 can call the logic instructions in the memory 130 to execute the data processing method, which includes: determining the execution mode of the user plane function UPF, the execution mode including a dual-send mode and a screening mode; in the dual-send mode, using a sequence number to respectively mark the first network identifier of the first source data packet and the second network identifier of the first copy data packet, so as to send the first source data packet marked with the sequence number and the first copy data packet marked with the sequence number to the target terminal; in the screening mode, respectively parse the second source data packet and the second copy data packet in the uplink data, and filter out the target data packet in any first data packet set, the sequence number of the target data packet is the sequence number parsed for the first time; the first copy data packet is determined by copying the first source data packet in the user plane function UPF; the first network identifier and the second network identifier are determined according to the tunnel of the virtual extended local area network VXLAN; the first data packet set is a set of each second source data packet and the second copy data packet corresponding to each second source data packet.
[0121] In addition, the logic instructions in the above-mentioned memory 130 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.
[0122] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute a data processing method provided by the above methods, which method includes: determining an execution mode of a user plane function UPF, wherein the execution mode includes a dual-send mode and a screening mode; in the dual-send mode, a first network identifier of a first source data packet and a second network identifier of a first copy data packet are respectively marked with a serial number to send a first source data packet marked with a serial number and a first copy data packet marked with a serial number to a target terminal; in the screening mode, the second source data packet and the second copy data packet in the uplink data are respectively parsed to filter out a target data packet in any first data packet set, wherein the serial number of the target data packet is the serial number parsed for the first time; the first copy data packet is determined by copying the first source data packet in the user plane function UPF; the first network identifier and the second network identifier are determined according to a tunnel of a virtual extended local area network VXLAN; the first data packet set is a set of each second source data packet and a second copy data packet corresponding to each second source data packet.
[0123] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented by a processor to execute the data processing method provided by the above-mentioned methods when the computer program is executed, the method comprising: determining an execution mode of a user plane function UPF, the execution mode comprising a dual-send mode and a screening mode; in the dual-send mode, using a sequence number to respectively mark a first network identifier of a first source data packet and a second network identifier of a first copy data packet, so as to send a first source data packet marked with a sequence number and a first copy data packet marked with a sequence number to a target terminal; in the screening mode, respectively parse the second source data packet and the second copy data packet in the uplink data, and screen out a target data packet in any first data packet set, the sequence number of the target data packet being the sequence number parsed for the first time; the first copy data packet is determined by copying the first source data packet in the user plane function UPF; the first network identifier and the second network identifier are determined according to a tunnel of a virtual extended local area network VXLAN; the first data packet set is a set of each second source data packet and a second copy data packet corresponding to each second source data packet.
[0124] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0125] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0126] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A data processing method, It is characterized in that include: Determine an execution mode of a user plane function UPF, wherein the execution mode includes a dual-transmission mode and a screening mode; In the dual-send mode, a first network identifier of a first source data packet and a second network identifier of a first duplicate data packet are respectively marked with a sequence number, so as to send the first source data packet marked with the sequence number and the first duplicate data packet marked with the sequence number to a target terminal; In the screening mode, the second source data packet and the second duplicate data packet in the uplink data are respectively parsed to screen out a target data packet in any first data packet set, wherein the sequence number of the target data packet is the sequence number parsed for the first time; The first duplicate data packet is determined by duplicating a first source data packet in a user plane function UPF; The first network identifier and the second network identifier are determined according to a tunnel of a virtual extended local area network VXLAN; The first data packet set is a set of each second source data packet and a second copy data packet corresponding to each second source data packet.
2. The data processing method according to claim 1, It is characterized in that The determining the execution mode of the user plane function UPF includes: In case that the user plane function UPF receives downlink data from the data network DN, determining that the execution mode is a dual-transmission mode; In case that the user plane function UPF receives uplink data from the target terminal, it is determined that the execution mode is a screening mode.
3. The data processing method according to claim 1, It is characterized in that The method of using a sequence number to mark a first network identifier of a first source data packet and a second network identifier of a first copy data packet respectively, so as to send the first source data packet marked with the sequence number and the first copy data packet marked with the sequence number to a target terminal, comprises: Mark each first source data packet with a different sequence number in the network identifier VNI of the virtual extended local area network VXLAN tunnel; Marking the first duplicate data packet corresponding to each first source data packet according to the sequence number corresponding to each first source data packet; Each first source data packet is sent to the target terminal using a first channel path, and each first copy data packet is sent to the target terminal using a second channel path.
4. The data processing method according to claim 1, It is characterized in that The step of respectively parsing the second source data packet and the second duplicate data packet in the uplink data includes: Receiving a second source data packet of a third channel path and a second copy data packet of a fourth channel path respectively; Parse the second source data packet and the second copy data packet to obtain a serial number corresponding to each second source data packet and a serial number corresponding to each second copy data packet.
5. The data processing method according to claim 1, It is characterized in that The data processing method further includes: In the case where the target terminal receives an input instruction, determining that the execution mode is a dual-send mode; When the target terminal receives downlink data sent from a user plane function UPF, it is determined that the execution mode is a screening mode.
6. A data processing system, It is characterized in that include: A first determination module: used to determine an execution mode of a user plane function UPF, wherein the execution mode includes a dual-transmission mode and a screening mode; A first sending module: used for marking the first network identifier of the first source data packet and the second network identifier of the first copy data packet with a sequence number in the dual-sending mode, so as to send the first source data packet marked with the sequence number and the first copy data packet marked with the sequence number to the target terminal; A first parsing module: used for respectively parsing the second source data packet and the second duplicate data packet in the uplink data in the screening mode, and screening out a target data packet in any first data packet set, wherein the sequence number of the target data packet is the sequence number parsed for the first time; The first duplicate data packet is determined by duplicating a first source data packet in a user plane function UPF; The first network identifier and the second network identifier are determined according to a tunnel of a virtual extended local area network VXLAN; The first data packet set is a set of each second source data packet and a second copy data packet corresponding to each second source data packet.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the data processing method according to any one of claims 1 to 5 is implemented.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the data processing method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Data transmission method and apparatus and computer storage medium
CN111385071A
Data transmission method and device
CN113765762A