Data processing method and device, equipment and storage medium

By using the ULCL and PSA functions of UPF to detect and manage terminal IP addresses, the complexity of terminals accessing private networks under the 2C core network is solved, realizing both private network access and public network access without manual DNN configuration.

CN116074283BActive Publication Date: 2026-03-24CHINA MOBILE COMM LTD RES INST +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-01
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

Under the 2C core network, terminals need to manually adjust the DNN to access the private network or the public network, which makes the settings complicated and prevents them from accessing both simultaneously. Some terminals do not support DNN configuration, and existing technologies cannot effectively distinguish the terminal's IP address, resulting in the inability to access the private network normally.

Method used

By using the ULCL and PSA functions of the UPF, the terminal IP address is checked for duplicates. If it is not duplicated, it is saved and connected to the UPF. If it is duplicated, a new IP address is requested from the SMF to ensure that the terminal can access the private network normally.

Benefits of technology

It enables terminals to access private networks normally without manual DNN configuration, avoids access problems caused by IP address conflicts, and ensures the terminal's ability to access both private and public networks simultaneously.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116074283B_ABST
    Figure CN116074283B_ABST
Patent Text Reader

Abstract

A data processing method, device and equipment and storage medium are disclosed. The method is applied to a user plane function (UPF). The UPF has an uplink classifier (ULCL) and a protocol data unit session anchor (PSA) function. The method comprises: obtaining an internet protocol (IP) address of a first terminal; detecting whether the IP address of the first terminal is duplicated with an IP address in a preset address table, to obtain a detection result; the IP address of at least one second terminal accessing a private network using the UPF is stored in the preset address table; and based on the detection result, the first terminal is caused to access the UPF and access the private network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless technology, and in particular to a data processing method, apparatus, device, and storage medium. Background Technology

[0002] Currently, under the 2C core network, a dedicated data network name (DNN) is assigned to private networks, pointing to the user plane function (UPF) of the private network. By default, when an individual needs to access a private network, such as an enterprise network, the terminal's DNN is manually adjusted to the private network's DNN. However, manually changing the terminal configuration may prevent access to the public network, requiring the DNN to be reconfigured. Additionally, some terminals may not support user-selected DNNs.

[0003] Therefore, there is an urgent need to find a technical solution that can access the private network normally without DNN configuration. Summary of the Invention

[0004] In view of this, embodiments of the present invention aim to provide a data processing method, apparatus, device, and storage medium.

[0005] The technical solution of this invention is implemented as follows:

[0006] At least one embodiment of the present invention provides a data processing method applied to a UPF; the UPF has UpLink Classifier (ULCL) and Protocol Data Unit Session Anchor (PSA) functions; the method includes:

[0007] Obtain the Internet Protocol (IP) address of the first terminal;

[0008] The system detects whether the IP address of the first terminal is duplicated with the IP address in the preset address table, and obtains the detection result; the preset address table stores the IP addresses of at least one second terminal that uses the UPF to access the private network;

[0009] Based on the detection results, the first terminal is connected to the UPF and accesses the private network.

[0010] Furthermore, according to at least one embodiment of the present invention, enabling the first terminal to access the UPF and access the private network based on the detection result includes:

[0011] When the detection result indicates that the IP address of the first terminal does not overlap with the IP address in the preset address table, the IP address of the first terminal is saved in the preset address table, and the first terminal is connected to the UPF and accesses the private network.

[0012] Furthermore, according to at least one embodiment of the present invention, enabling the first terminal to access the UPF and access the private network based on the detection result includes:

[0013] When the detection result indicates that the IP address of the first terminal is duplicated with an IP address in the preset address table, the preset address table is sent to the Session Management Function (SMF); wherein, the preset address table is used by the SMF to allocate a new IP address to the first terminal;

[0014] If the new IP address of the first terminal is detected to be different from the IP address in the preset address table, the first terminal is allowed to access the UPF and access the private network.

[0015] Furthermore, according to at least one embodiment of the present invention, the method further includes:

[0016] Obtain the IP address of at least one second terminal that uses the UPF to access the private network;

[0017] The preset address table is obtained based on the IP address of the at least one second terminal.

[0018] Furthermore, according to at least one embodiment of the present invention, obtaining the IP address of the first terminal includes:

[0019] When the first terminal sends a Protocol Data Unit (PDU) session establishment request to the SMF and the first terminal receives a response message from the SMF allowing the PDU session establishment, the uplink data packet sent by the first terminal is acquired.

[0020] The uplink data packet is parsed to obtain the IP address of the first terminal.

[0021] At least one embodiment of the present invention provides a data processing method applied to an SMF, the method comprising:

[0022] Receive a PDU session establishment request sent by the first terminal;

[0023] In response to the PDU session establishment request, insert the UPF ULCL and use the UPF as the PSA;

[0024] The UPF is used to obtain the IP address of the first terminal; detect whether the IP address of the first terminal is duplicated with the IP address in the preset address table, and obtain the detection result; the preset address table stores the IP addresses of at least one second terminal that uses the UPF to access the private network; based on the detection result, the first terminal is enabled to access the UPF and access the private network.

[0025] Furthermore, according to at least one embodiment of the present invention, the method further includes:

[0026] Receive the preset address table sent by the UPF;

[0027] Based on the preset address table, a new IP address is assigned to the first terminal;

[0028] Specifically, if the UPF detects that the new IP address of the first terminal does not overlap with the IP address in the preset address table, the first terminal is allowed to access the UPF and access the private network.

[0029] Furthermore, according to at least one embodiment of the present invention, the method further includes:

[0030] Delete the current PDU session;

[0031] A notification message is sent to the first terminal; the notification message is used to notify the first terminal to re-initiate the PDU session establishment request so that the UPF can obtain the new IP address of the first terminal.

[0032] At least one embodiment of the present invention provides a data processing apparatus, comprising:

[0033] The acquisition unit is used to acquire the IP address of the first terminal;

[0034] The first processing unit is used to detect whether the IP address of the first terminal is duplicated with the IP address in the preset address table, and obtain the detection result; the preset address table stores the IP addresses of at least one second terminal that uses UPF to access the private network; based on the detection result, the first terminal is enabled to access the UPF and access the private network.

[0035] The UPF has ULCL and PSA functions.

[0036] At least one embodiment of the present invention provides a data processing apparatus, comprising:

[0037] The receiving unit is used to receive the PDU session establishment request sent by the first terminal;

[0038] The second processing unit is used to respond to the PDU session establishment request, insert the UPF ULCL, and use the UPF as the PSA;

[0039] The UPF is used to obtain the IP address of the first terminal; detect whether the IP address of the first terminal is duplicated with the IP address in the preset address table, and obtain the detection result; the preset address table stores the IP addresses of at least one second terminal that uses the UPF to access the private network; based on the detection result, the first terminal is enabled to access the UPF and access the private network.

[0040] At least one embodiment of the present invention provides a UPF, comprising:

[0041] The first communication interface is used to obtain the IP address of the first terminal;

[0042] A first processor is configured to detect whether the IP address of the first terminal is duplicated with an IP address in a preset address table, and obtain a detection result; the preset address table stores the IP addresses of at least one second terminal that uses UPF to access the private network; based on the detection result, the first terminal is configured to access the UPF and access the private network.

[0043] The UPF has ULCL and PSA functions.

[0044] At least one embodiment of the present invention provides an SMF, comprising:

[0045] The second communication interface is used to receive PDU session establishment requests sent by the first terminal;

[0046] The second processor is configured to respond to the PDU session establishment request, insert the UPF ULCL, and use the UPF as the PSA;

[0047] The UPF is used to obtain the IP address of the first terminal; detect whether the IP address of the first terminal is duplicated with the IP address in the preset address table, and obtain the detection result; the preset address table stores the IP addresses of at least one second terminal that uses the UPF to access the private network; based on the detection result, the first terminal is enabled to access the UPF and access the private network.

[0048] At least one embodiment of the present invention provides a UPF, including a processor and a memory for storing a computer program capable of running on the processor.

[0049] When the processor runs the computer program, it executes any of the steps of the method described above on the UPF side.

[0050] At least one embodiment of the present invention provides an SMF, including a processor and a memory for storing a computer program capable of running on the processor.

[0051] When the processor runs the computer program, it executes any of the steps of the methods described above on the SMF side.

[0052] At least one embodiment of the present invention provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above methods.

[0053] The data processing method, apparatus, device, and storage medium provided in this invention embodiment obtain the IP address of a first terminal; detect whether the IP address of the first terminal is duplicated with an IP address in a preset address table, and obtain a detection result; the preset address table stores the IP addresses of at least one second terminal using the UPF to access the private network; based on the detection result, the first terminal is enabled to access the UPF and access the private network; the UPF has ULCL and PSA functions. By employing the technical solution provided in this invention embodiment, the UPF avoids the problem of different terminals using the same IP address and being unable to access the private network normally due to duplication of the IP address of the first terminal with an IP address in the preset address table, thereby ensuring that the first terminal can access the private network normally. Attached Figure Description

[0054] Figure 1 This is a schematic diagram illustrating one method of accessing private and public networks in related technologies;

[0055] Figure 2 This is a diagram illustrating another method of accessing private and public networks in related technologies;

[0056] Figure 3 This is a schematic diagram of the implementation flow of the data processing method according to an embodiment of the present invention. Figure 1 ;

[0057] Figure 4 This is a schematic diagram of the implementation flow of the data processing method according to an embodiment of the present invention. Figure 2 ;

[0058] Figure 5 This is a schematic diagram illustrating the specific implementation flow of the data processing method according to an embodiment of the present invention;

[0059] Figure 6 This is a schematic diagram illustrating how the UPF obtains the IP address of the first terminal according to an embodiment of the present invention;

[0060] Figure 7 This is a schematic diagram of the composition structure of the data processing device according to an embodiment of the present invention. Figure 1 ;

[0061] Figure 8 Schematic diagram of the composition structure of the data processing device in this embodiment of the invention Figure 2 ;

[0062] Figure 9 This is a schematic diagram of the composition structure of the UPF according to an embodiment of the present invention;

[0063] Figure 10 This is a schematic diagram of the composition of the SMF in an embodiment of the present invention. Detailed Implementation

[0064] Before introducing the technical solutions of the embodiments of the present invention, the relevant technologies will be explained first.

[0065] In related technologies, a typical 2B2C scenario in 5G networks involves individual customers needing to access industry-specific private networks, such as company employees accessing their company intranet or students accessing their campus network. China Mobile's 5G SA core networks for 2C and 2B are independent of each other, preventing individuals from directly accessing the 2B network using their own SIM cards.

[0066] A more direct approach is to equip personnel with dedicated Customer Premise Equipment (CPE) to access the private network, but it is inconvenient for personnel to carry two mobile devices on a daily basis.

[0067] Figure 1 This is a diagram illustrating one method of accessing private and public networks in related technologies, such as... Figure 1 As shown, a dedicated DNN is assigned to the industry-specific private network under the 2C core network, pointing to the private network's UPF. By default, the terminal uses the main network DNN CMNET to access the network; when access to the enterprise network is required, the terminal's DNN is manually adjusted to the private network DNN. In this way, the same terminal can access the Internet, the public network, and the enterprise network.

[0068] However, this technical solution has the following main drawbacks: Manually selecting the DNN on 5G terminals increases the complexity of the setup. When an individual needs to access the enterprise network, they must first manually change the terminal configuration, and after changing the configuration, they may be unable to access the public network. To access the public network again, they must reconfigure the DNN. Furthermore, some terminals, such as those using the iOS system, do not currently support user-selectable DNNs. China Mobile also does not recommend allocating dedicated DNNs to enterprise users on the 2C network.

[0069] Figure 2 This is another illustration of related technologies for accessing private and public networks, such as... Figure 2 As shown, in a 2C network, by inserting a ULCL UPF, data from customer access to the enterprise network is diverted to the edge UPF of the enterprise network, thus fulfilling the individual customer's access needs to the enterprise network without the terminal's awareness. This solution does not require configuring a dedicated DNN, and the terminal can freely switch between accessing the enterprise network and the main network.

[0070] However, the main drawback of this technical solution is that in the existing network, different SMFs may use the same address pool to assign IP addresses to different terminals accessing the main network, potentially resulting in different terminals having the same IP address. When accessing the main network, as long as the UPFs assigned to these terminals are different, there will be no user plane IP address conflict. However, if two terminals assigned the same IP address both want to access the enterprise network and are inserted into an ULCL UPF, because the destination IP address of the downlink data packets is the same, the UPF cannot distinguish which tunnel to use to send the data to the terminal. For this reason, this solution cannot be used.

[0071] Based on this, in this embodiment of the invention, the UPF obtains the IP address of the first terminal; detects whether the IP address of the first terminal is duplicated with the IP address in the preset address table, and obtains the detection result; the preset address table stores the IP addresses of at least one second terminal that uses the UPF to access the private network; based on the detection result, the first terminal is enabled to access the UPF and access the private network; the UPF has ULCL and PSA functions.

[0072] Figure 3 This is a schematic diagram illustrating the implementation flow of the data processing method according to an embodiment of the present invention, applied to a UPF; the UPF has ULCL and PSA functions, and can be abbreviated as ULCL+PSA UPF. Figure 3 As shown, the method includes steps 301 to 303:

[0073] Step 301: Obtain the IP address of the first terminal.

[0074] In one embodiment, obtaining the IP address of the first terminal includes:

[0075] When the first terminal sends a PDU session establishment request to the SMF and the first terminal receives a response message from the SMF allowing the PDU session establishment, the uplink data packet sent by the first terminal is acquired.

[0076] The uplink data packet is parsed to obtain the IP address of the first terminal.

[0077] Specifically, in the process of the first terminal initiating a PDU session establishment request to the SMF, after the access network sends the PDU session establishment permission, i.e., PDU Session EstablishmentAccept, to the first terminal through a Non-Access Stratum (NAS) message, the first terminal will start transmitting uplink data packets in the user plane. When the uplink data packets arrive at the UPF, the UPF will unpack them layer by layer to the PDU layer, where the PDU layer contains the IP address assigned to the first terminal by the SMF.

[0078] Step 302: Detect whether the IP address of the first terminal is duplicated with the IP address in the preset address table, and obtain the detection result; the preset address table stores the IP addresses of at least one second terminal that uses the UPF to access the private network.

[0079] It is understood that the private network mentioned can refer to an enterprise private network or an industry private network.

[0080] In practical applications, to avoid the problem that the UPF cannot send the private network data required by the first terminal to the first terminal due to the IP address of the first terminal being duplicated with the IP address of other terminals using the UPF to access the private network, the IP address of the first terminal can be compared with the IP address of other terminals using the UPF to access the private network to determine whether there is a situation where at least two terminals have duplicate IP addresses.

[0081] Based on this, in one embodiment, the method further includes:

[0082] Obtain the IP address of at least one second terminal that uses the UPF to access the private network;

[0083] The preset address table is obtained based on the IP address of the at least one second terminal.

[0084] It is understandable that during the process of the second terminal initiating a PDU session establishment request to the SMF, after the access network sends the PDU session establishment permission (PDU Session Establishment Accept) to the second terminal via the NAS message, the second terminal will start transmitting uplink data packets in the user plane. When the uplink data packets arrive at the UPF, the UPF will unpack them layer by layer to the PDU layer, where the PDU layer contains the IP address assigned to the second terminal by the SMF.

[0085] Step 303: Based on the detection results, enable the first terminal to access the UPF and access the private network.

[0086] It is understandable that enabling the first terminal to access the UPF and access the private network can refer to using the UPF's ULCL function to offload data from the private network to the UPF, thereby ensuring that the first terminal can access the private network normally.

[0087] It is understandable that detecting whether the IP address of the first terminal is duplicated with an IP address in the preset address table can result in the following two possibilities:

[0088] In the first scenario, the IP address of the first terminal does not overlap with the IP address in the preset address table.

[0089] In other words, the IP address of the first terminal is not the same as the IP address of other terminals using the UPF to access the private network. As a result, the problem of the UPF being unable to send the private network data required by the first terminal will not occur.

[0090] In other words, if the IP address of the first terminal does not overlap with the IP address of other terminals using the UPF to access the private network, the first terminal can access the UPF and access the private network normally.

[0091] In the second scenario, the IP address of the first terminal is the same as an IP address in the preset address table.

[0092] In other words, the IP address of the first terminal is the same as the IP address of other terminals using the UPF to access the private network. Therefore, in order to avoid the problem that the UPF cannot send the private network data required by the first terminal to the first terminal, the UPF can inform the SMF and the network side can initiate the PDU session deletion and reconstruction process, and reallocate a different IP address to the first terminal. This solves the problem that on ULCL UPF, the private network data cannot be accurately sent to the corresponding terminal because at least two terminals have the same IP address.

[0093] In other words, if the IP address of the first terminal is the same as the IP address of other terminals using the UPF to access the private network, the SMF can be used to reallocate a different IP address to the first terminal than the IP address of other terminals using the UPF to access the private network, so as to ensure that the first terminal can access the UPF and access the private network normally.

[0094] In one embodiment, regarding the first scenario described above, the step of enabling the first terminal to access the UPF and access the private network based on the detection result includes:

[0095] When the detection result indicates that the IP address of the first terminal does not overlap with the IP address in the preset address table, the IP address of the first terminal is saved in the preset address table, and the first terminal is connected to the UPF and accesses the private network.

[0096] Regarding the second scenario described above, the step of enabling the first terminal to access the UPF and access the private network based on the detection result includes:

[0097] When the detection result indicates that the IP address of the first terminal is duplicated with an IP address in a preset address table, the preset address table is sent to the SMF; wherein, the preset address table is used by the SMF to allocate a new IP address to the first terminal;

[0098] If a new IP address is detected that does not match an IP address in a preset address table, the first terminal is allowed to access the UPF and access the private network.

[0099] It should be noted that after receiving the PDU session request from the first terminal, if the SMF determines that the first terminal is attempting to access the private network, it can respond to the PDU session establishment request initiated by the first terminal, insert UPFULCL, and use UPF as PSA.

[0100] In this embodiment of the invention, the UPF detects whether the IP address of the first terminal is duplicated with an IP address in a preset address table, which has the following advantages:

[0101] (1) If the IP address of the first terminal is found to be the same as the IP address in the preset address table, the SMF will initiate the PDU session deletion and reconstruction process from the network side to reassign a different IP address to the first terminal. This avoids the problem of different terminals using the same IP address causing the inability to use the UPF to access the private network normally, so that individual users can access the private network normally by inserting ULCL UPF into the session.

[0102] (2) When using the UPF to access the private network normally, it is also possible to access the public network at the same time.

[0103] Figure 4 This is a schematic diagram illustrating the implementation flow of the data processing method according to an embodiment of the present invention, applied to SMF, such as... Figure 4 As shown, the method includes steps 401 to 402:

[0104] Step 401: Receive the PDU session establishment request sent by the first terminal.

[0105] Step 402: In response to the PDU session establishment request, insert a UPF ULCL and use the UPF as a PSA; wherein, the UPF is used to obtain the IP address of the first terminal; detect whether the IP address of the first terminal is duplicated with the IP address in the preset address table, and obtain the detection result; the preset address table stores the IP addresses of at least one second terminal that uses the UPF to access the private network; based on the detection result, enable the first terminal to access the UPF and access the private network.

[0106] It is understood that the private network mentioned can refer to an enterprise private network or an industry private network.

[0107] It is understandable that, in the case where the UPF detects that the IP address of the first terminal is the same as the IP address of other terminals using the UPF to access the private network, in order to avoid the problem that the UPF cannot send the private network data required by the first terminal to the first terminal, the UPF can inform the SMF and the network side can initiate a PDU session deletion and reconstruction process, and reallocate a different IP address to the first terminal, thereby solving the problem that the private network data cannot be accurately sent to the corresponding terminal due to at least two terminals having the same IP address on the ULCL UPF.

[0108] Based on this, in one embodiment, the method further includes:

[0109] Receive the preset address table sent by the UPF;

[0110] Based on the preset address table, a new IP address is assigned to the first terminal;

[0111] Specifically, if the UPF detects that the new IP address of the first terminal does not overlap with the IP address in the preset address table, the first terminal is allowed to access the UPF and access the private network.

[0112] In practical applications, during the process of the first terminal re-initiating the PDU session establishment request to the SMF, after the access network sends the PDU session establishment permission (PDU Session Establishment Accept) to the first terminal via the NAS message, the first terminal will start transmitting uplink data packets in the user plane. When the uplink data packets arrive at the UPF, the UPF will unpack them layer by layer to the PDU layer, where the PDU layer contains the new IP address assigned to the first terminal by the SMF.

[0113] Based on this, in one embodiment, the method further includes:

[0114] Delete the current PDU session;

[0115] A notification message is sent to the first terminal; the notification message is used to notify the first terminal to re-initiate the PDU session establishment request so that the UPF can obtain the new IP address of the first terminal.

[0116] In this embodiment of the invention, the SMF is inserted into the UPF ULCL, and the UPF is used as the PSA, which has the following advantages:

[0117] (1) The UPF has ULCL and PSA functions. In this way, the UPF can detect whether the IP address of the first terminal is duplicated with the IP address in the preset address table, so as to avoid the problem that different terminals cannot use the UPF with ULCL and PSA functions to access the private network normally due to the same IP address.

[0118] (2) If the IP address of the first terminal is the same as the IP address in the preset address table, the SMF can reallocate a new IP address to the first terminal until the IP address of the first terminal is not the same as the IP address in the preset address table, so as to ensure that the first terminal can access the private network normally using the UPF.

[0119] The specific implementation process of the data processing method of the present invention will be described in detail below with reference to specific embodiments.

[0120] Figure 5 This is a schematic diagram illustrating the specific implementation flow of the data processing method according to an embodiment of the present invention, as shown below. Figure 5 As shown, the method includes steps 501 to 506:

[0121] Step 501: UPF obtains the IP address of the first terminal.

[0122] It is understandable that the process by which UPF obtains the IP address of the first terminal may include:

[0123] Step 1: The first terminal sends a PDU session establishment request to the SMF.

[0124] Step 2: The SMF responds to the PDU session establishment request, inserts the UPF ULCL, and uses the UPF as the PSA.

[0125] It is understandable that when the SMF determines, based on the PDU session establishment request sent by the first terminal, that an individual user using the first terminal is attempting to access the private network, the SMF may decide to insert a ULCL UPF and use the UPF with ULCL functionality as the anchor point of the enterprise private network. That is, the UPF with ULCL functionality also has PSA functionality.

[0126] Step 3: The SMF sends a PDU session establishment permission response message to the first terminal.

[0127] Step 4: The first terminal sends an uplink data packet.

[0128] Step 5: The UPF parses the uplink data packet to obtain the IP address of the first terminal.

[0129] Figure 6This is a diagram illustrating how UPF obtains the IP address of the first terminal. For example... Figure 6 As shown, the first terminal will start transmitting uplink data packets in the user plane. When the uplink data packets arrive at the UPF, the UPF will unpack them layer by layer to the PDU layer. The PDU layer contains the IP address assigned to the first terminal by the SMF.

[0130] It is understood that the UPF can record the obtained IP address of the first terminal in a preset address table.

[0131] Step 502: The UPF query checks whether the IP address of the first terminal exists in the preset address table; if the IP address of the first terminal does not exist in the preset address table, then proceed to step 503; otherwise, proceed to step 504.

[0132] It is understood that the preset address table records and stores the IP addresses of at least one second terminal that uses the UPF to access the private network.

[0133] It is understandable that if the IP address of the first terminal does not exist in the preset address table, it means that the IP address of the first terminal does not conflict with the IP address of other terminals. The UPF will then add the IP address of the first terminal to the preset address table, and the session creation process will continue.

[0134] Understandably, if the IP address of the first terminal does not exist in the preset address table, it means that another terminal on the UPF is already using this IP address. Therefore, the UPF sends the preset address table to the corresponding SMF; the SMF initiates a process to delete the session of the first terminal and notifies the first terminal to re-initiate the session creation process. Specifically, when the session creation process reaches the step where the SMF allocates an IP address to the first terminal, the SMF assigns the first terminal an IP address that is not in the preset address table.

[0135] Step 503: The UPF saves the IP address of the first terminal in the preset address table, and enables the first terminal to access the UPF and access the private network.

[0136] Step 504: The UPF sends the preset address table to the SMF.

[0137] Step 505: The SMF deletes the current PDU session and sends a notification message to the first terminal; the notification message is used to notify the first terminal to re-initiate the PDU session establishment request.

[0138] Step 506: The SMF allocates a new IP address to the first terminal based on the preset address table.

[0139] It should be noted that after the current PDU session is deleted, the UPF can delete the IP address of the first terminal from the preset address table.

[0140] It should be noted that the first terminal re-initiates the PDU session establishment request and sends uplink data packets after receiving the PDU session establishment permission response message from the SMF. The UPF re-acquires the IP address of the first terminal and checks whether the IP address of the first terminal exists in the preset address table. At this time, the IP address of the first terminal will not be in the preset address table, and the session process can continue, thereby enabling the first terminal to access the UPF and access the private network normally.

[0141] To implement the data processing method of the present invention, the present invention also provides a data processing device disposed on a UPF. Figure 7 This is a schematic diagram of the composition structure of the data processing device according to an embodiment of the present invention, as shown below. Figure 7 As shown, the device includes:

[0142] The acquisition unit 71 is used to acquire the IP address of the first terminal;

[0143] The first processing unit 72 is used to detect whether the IP address of the first terminal is duplicated with the IP address in the preset address table, and obtain a detection result; the preset address table stores the IP addresses of at least one second terminal that uses the UPF to access the private network; based on the detection result, the first terminal is enabled to access the UPF and access the private network.

[0144] The UPF has ULCL and PSA functions.

[0145] In one embodiment, the first processing unit 72 is specifically used for:

[0146] When the detection result indicates that the IP address of the first terminal does not overlap with the IP address in the preset address table, the IP address of the first terminal is saved in the preset address table, and the first terminal is connected to the UPF and accesses the private network.

[0147] In one embodiment, the first processing unit 72 is specifically used for:

[0148] When the detection result indicates that the IP address of the first terminal is duplicated with an IP address in a preset address table, the preset address table is sent to the SMF; wherein, the preset address table is used by the SMF to allocate a new IP address to the first terminal;

[0149] If a new IP address is detected that does not match an IP address in a preset address table, the first terminal is allowed to access the UPF and access the private network.

[0150] In one embodiment, the first processing unit 72 is further configured to:

[0151] Obtain the IP address of at least one second terminal that uses the UPF to access the private network;

[0152] The preset address table is obtained based on the IP address of the at least one second terminal.

[0153] In one embodiment, the acquisition unit 71 is specifically used for:

[0154] When the first terminal sends a PDU session establishment request to the SMF and the first terminal receives a response message from the SMF allowing the PDU session establishment, the uplink data packet sent by the first terminal is acquired.

[0155] The uplink data packet is parsed to obtain the IP address of the first terminal.

[0156] In practical applications, the acquisition unit 71 can be implemented by the communication interface in the data processing device; the first processing unit 72 can be implemented by the processor in the data processing device.

[0157] It should be noted that the data processing apparatus provided in the above embodiments is only illustrated by the division of the above program modules. In practical applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the apparatus can be divided into different program modules to complete all or part of the processing described above. In addition, the data processing apparatus and data processing method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.

[0158] To implement the data processing method of the present invention, the present invention also provides a data processing device disposed on an SMF. Figure 8 This is a schematic diagram of the composition structure of the data processing device according to an embodiment of the present invention, as shown below. Figure 8 As shown, the device includes:

[0159] Receiving unit 81 is used to receive a PDU session establishment request sent by the first terminal;

[0160] The second processing unit 82 is used to respond to the PDU session establishment request, insert the UPF ULCL, and use the UPF as the PSA;

[0161] The UPF is used to obtain the IP address of the first terminal; detect whether the IP address of the first terminal is duplicated with the IP address in the preset address table, and obtain the detection result; based on the detection result, enable the first terminal to access the UPF and access the private network.

[0162] In one embodiment, the second processing unit 82 is further configured to:

[0163] Receive the preset address table sent by the UPF;

[0164] Based on the preset address table, a new IP address is assigned to the first terminal;

[0165] Specifically, if the UPF detects that the new IP address of the first terminal does not overlap with the IP address in the preset address table, the first terminal is allowed to access the UPF and access the private network.

[0166] In one embodiment, the second processing unit 82 is further configured to:

[0167] Delete the current PDU session;

[0168] A notification message is sent to the first terminal; the notification message is used to notify the first terminal to re-initiate the PDU session establishment request so that the UPF can obtain the new IP address of the first terminal.

[0169] In practical applications, the receiving unit 81 can be implemented by the communication interface in the data processing device; the second processing unit 82 can be implemented by the processor in the data processing device.

[0170] It should be noted that the data processing apparatus provided in the above embodiments is only illustrated by the division of the above program modules. In practical applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the apparatus can be divided into different program modules to complete all or part of the processing described above. In addition, the data processing apparatus and data processing method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.

[0171] This invention also provides a first network device, which can be a UPF, such as... Figure 9 As shown, it includes:

[0172] The first communication interface 91 is capable of exchanging information with other devices;

[0173] The first processor 92, connected to the first communication interface 91, is used to execute the methods provided by one or more technical solutions on the second network device side when running a computer program. The computer program is stored in the first memory 93.

[0174] It should be noted that the specific processing procedures of the first processor 92 and the first communication interface 91 are detailed in the method embodiment and will not be repeated here.

[0175] Of course, in practical applications, the various components in the first network device 90 are coupled together via a bus system 94. It can be understood that the bus system 94 is used to implement communication between these components. In addition to a data bus, the bus system 94 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 9 The general labeled all buses as Bus System 94.

[0176] The first memory 93 in this embodiment is used to store various types of data to support the operation of the first network device 90. Examples of such data include any computer program used to operate on the first network device 90.

[0177] The methods disclosed in the embodiments of this application can be applied to the first processor 92, or implemented by the first processor 92. The first processor 92 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware or by instructions in the form of software in the first processor 92. The first processor 92 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The first processor 92 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly reflected as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in the first memory 93. The first processor 92 reads the information in the first memory 93 and combines its hardware to complete the steps of the aforementioned method.

[0178] This invention also provides a second network device, which can be an SMF, such as... Figure 10 As shown, it includes:

[0179] The second communication interface 101 is capable of exchanging information with other devices;

[0180] The second processor 102, connected to the second communication interface 101, is used to execute the methods provided by one or more technical solutions on the first network device side when running a computer program. The computer program is stored in the second memory 103.

[0181] It should be noted that the specific processing procedures of the second processor 102 and the second communication interface 101 are detailed in the method embodiment and will not be repeated here.

[0182] Of course, in practical applications, the various components in the second network device 100 are coupled together via the bus system 104. It can be understood that the bus system 104 is used to implement communication between these components. In addition to a data bus, the bus system 104 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 10 The general labeled all buses as Bus System 104.

[0183] The second memory 103 in this embodiment is used to store various types of data to support the operation of the second network device 100. Examples of such data include any computer programs used to operate on the second network device 100.

[0184] The methods disclosed in the embodiments of this application can be applied to the second processor 102, or implemented by the second processor 102. The second processor 102 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware or by instructions in the form of software in the second processor 102. The second processor 102 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The second processor 102 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in the second memory 103. The second processor 102 reads the information in the second memory 103 and completes the steps of the aforementioned method in combination with its hardware.

[0185] In an exemplary embodiment, the first network device 90 and the second network device 100 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.

[0186] It is understood that the memories (first memory 93, second memory 103) in the embodiments of this application can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memories.

[0187] In an exemplary embodiment, the present invention also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, such as a memory that stores a computer program. This computer program can be executed by a first processor 92 of a first network device 90 to complete the steps described in the aforementioned first network device-side method. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.

[0188] It should be noted that terms such as "first" and "second" are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0189] Furthermore, the technical solutions described in the embodiments of the present invention can be combined arbitrarily without conflict.

[0190] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention.

Claims

1. A data processing method, characterized in that, The method is applied to the User Plane Function (UPF); the UPF has an uplink classifier ULCL and a Protocol Data Unit Session Anchor (PSA) function; the method includes: Obtain the Internet Protocol (IP) address of the first terminal; the IP address of the first terminal is assigned to the first terminal by the Session Management Function (SMF). The system detects whether the IP address of the first terminal is duplicated with an IP address in a preset address table, and obtains the detection result; the preset address table stores the IP addresses of at least one second terminal that uses the UPF to access the private network; the private network represents an enterprise private network or an industry private network; Based on the detection results, the first terminal is connected to the UPF and accesses the private network; The step of enabling the first terminal to access the UPF and access the private network based on the detection result includes: When the detection result indicates that the IP address of the first terminal is duplicated with the IP address in the preset address table, the preset address table is sent to the SMF; if the detection shows that the new IP address of the first terminal is not duplicated with the IP address in the preset address table, the first terminal is allowed to access the UPF and access the private network; wherein, the preset address table is used by the SMF to allocate a new IP address to the first terminal.

2. The method according to claim 1, characterized in that, The step of enabling the first terminal to access the UPF and access the private network based on the detection result includes: When the detection result indicates that the IP address of the first terminal does not overlap with the IP address in the preset address table, the IP address of the first terminal is saved in the preset address table, and the first terminal is connected to the UPF and accesses the private network.

3. The method according to any one of claims 1 to 2, characterized in that, The method further includes: Obtain the IP address of at least one second terminal that uses the UPF to access the private network; The preset address table is obtained based on the IP address of the at least one second terminal.

4. The method according to claim 1, characterized in that, Obtaining the IP address of the first terminal includes: When the first terminal sends a PDU session establishment request to the SMF and the first terminal receives a response message from the SMF allowing the PDU session establishment, the uplink data packet sent by the first terminal is acquired. The uplink data packet is parsed to obtain the IP address of the first terminal.

5. A data processing method, characterized in that, Applied to SMF, the method includes: Receive a PDU session establishment request sent by the first terminal; In response to the PDU session establishment request, a UPF ULCL is inserted, and the UPF is used as the PSA; wherein, the UPF is used to obtain the IP address of the first terminal, the IP address of the first terminal is assigned to the first terminal by the SMF; it is detected whether the IP address of the first terminal is duplicated with an IP address in a preset address table, and a detection result is obtained; the preset address table stores the IP addresses of at least one second terminal using the UPF to access the private network; the private network represents an enterprise private network or an industry private network; based on the detection result, the first terminal is enabled to access the UPF and access the private network; Receive the preset address table sent by the UPF; Based on the preset address table, a new IP address is assigned to the first terminal; Specifically, if the UPF detects that the new IP address of the first terminal does not overlap with the IP address in the preset address table, the first terminal is allowed to access the UPF and access the private network.

6. The method according to claim 5, characterized in that, The method further includes: Delete the current PDU session; A notification message is sent to the first terminal; the notification message is used to notify the first terminal to re-initiate the PDU session establishment request so that the UPF can obtain the new IP address of the first terminal.

7. A data processing apparatus, characterized in that, include: The acquisition unit is used to acquire the IP address of the first terminal; The IP address of the first terminal is assigned to the first terminal by SMF; The first processing unit is configured to detect whether the IP address of the first terminal is duplicated with an IP address in a preset address table, and obtain a detection result; the preset address table stores the IP addresses of at least one second terminal using a UPF to access a private network; the private network represents an enterprise private network or an industry private network; based on the detection result, the first terminal is enabled to access the UPF and access the private network; wherein, the UPF has ULCL and PSA functions; specifically, when the detection result indicates that the IP address of the first terminal is duplicated with an IP address in the preset address table, the unit sends the preset address table to the SMF; when a new IP address of the first terminal is detected to be non-duplicate with an IP address in the preset address table, the unit enables the first terminal to access the UPF and access the private network; wherein, the preset address table is used by the SMF to allocate a new IP address to the first terminal.

8. A data processing apparatus, characterized in that, include: The receiving unit is used to receive the PDU session establishment request sent by the first terminal; The second processing unit is configured to respond to the PDU session establishment request, insert a UPF ULCL, and use the UPF as a PSA; wherein the UPF is used to obtain the IP address of the first terminal, the IP address of the first terminal being assigned to the first terminal by the SMF; detect whether the IP address of the first terminal is duplicated with an IP address in a preset address table, and obtain a detection result; the preset address table stores the IP addresses of at least one second terminal using the UPF to access the private network; the private network represents an enterprise private network or an industry private network; based on the detection result, enable the first terminal to access the UPF and access the private network; and is also configured to receive the preset address table sent by the UPF; and allocate a new IP address to the first terminal based on the preset address table; wherein, if the UPF detects that the new IP address of the first terminal is not duplicated with an IP address in the preset address table, enable the first terminal to access the UPF and access the private network.

9. A UPF, characterized in that, include: The first communication interface is used to obtain the IP address of the first terminal; The IP address of the first terminal is assigned to the first terminal by SMF; A first processor is configured to detect whether the IP address of the first terminal is duplicated with an IP address in a preset address table, and obtain a detection result; the preset address table stores the IP addresses of at least one second terminal using a UPF to access a private network; the private network represents an enterprise private network or an industry private network; based on the detection result, the first terminal is configured to access the UPF and access the private network; wherein the UPF has ULCL and PSA functions; specifically, when the detection result indicates that the IP address of the first terminal is duplicated with an IP address in the preset address table, the processor sends the preset address table to the SMF; when a new IP address of the first terminal is detected to be non-duplicate with an IP address in the preset address table, the processor enables the first terminal to access the UPF and access the private network; wherein the preset address table is used by the SMF to allocate a new IP address to the first terminal.

10. An SMF, characterized in that, include: The second communication interface is used to receive PDU session establishment requests sent by the first terminal; The second processor is configured to respond to the PDU session establishment request, insert a UPF ULCL, and use the UPF as a PSA; wherein the UPF is configured to obtain the IP address of the first terminal, the IP address of which is assigned to the first terminal by the SMF; detect whether the IP address of the first terminal is duplicated with an IP address in a preset address table, and obtain a detection result; the preset address table stores the IP addresses of at least one second terminal using the UPF to access the private network; the private network represents an enterprise private network or an industry private network; based on the detection result, enable the first terminal to access the UPF and access the private network; and also be configured to receive the preset address table sent by the UPF; and allocate a new IP address to the first terminal based on the preset address table; wherein, if the UPF detects that the new IP address of the first terminal is not duplicated with an IP address in the preset address table, enable the first terminal to access the UPF and access the private network.

11. A UPF, characterized in that, This includes a processor and memory for storing computer programs that can run on the processor. When the processor is used to run the computer program, it performs the steps of the method according to any one of claims 1 to 4.

12. An SMF, characterized in that, This includes a processor and memory for storing computer programs that can run on the processor. When the processor is used to run the computer program, it performs the steps of the method according to any one of claims 5 to 6.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4, or implements the steps of the method according to any one of claims 5 to 6.

Citation Information

Patent Citations

  • Intelligent network system for adaptively controlling inner network conflict and optimization method

    CN104702711A