5G private network control method, device, electronic device and storage medium
By receiving and processing the network access messages of 5G private network access users in the user plane functional module, and intercepting or shunting processing according to the private network control policy, the problems of policy control complexity and high delay in the existing technology are solved, and 5G is realized. Flexible management and control of private network access users and improved management efficiency.
Patent Information
- Application Number
- CN202210614694.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-05-31
AI Technical Summary
The current user-level policy control method for 5G private network access involves many core network elements, and the process is too complex and has high latency. This increases the load on the 5G core network and makes it difficult to meet the flexible management and control needs of enterprise customers for private network access users.
By receiving the private network access messages of private network access users forwarded by the session management function in the user plane function module, the private network data packets are intercepted or diverted according to the user identification and locally configured private network control policies, supporting enterprise users to directly Issue control policies to reduce core network element applications.
It realizes flexible management and control of 5G private network access users, simplifies policy issuance steps, reduces complexity and delay, and improves the effectiveness and flexibility of private network access user management for enterprise users.
Smart Images

Figure CN114938508B
Abstract
Description
Technical Field
[0001] The present application relates to communication technology, and in particular to a 5G private network control method, device, electronic device and storage medium. Background Art
[0002] The development of mobile communication technology has led to the emergence and continued prosperity of related industries. Global mobile communications are undergoing an iteration from 4G to 5G. Compared with 4G and previous enterprise private networks, 5G private networks support a wealth of enterprise customized network industry attributes, including high bandwidth, low latency, massive access, exclusive network resources, and security.
[0003] At the same time, enterprise customers have put forward higher requirements for the security management and control of 5G private network access users. Enterprise customers hope to be able to independently control the private network data packets of 5G private network access users. The current 5G private network access user-level policy control method involves many core network elements, the process is too complicated and the latency is high, which increases the load of the 5G core network. How to meet the flexible management and control of private network access users by enterprise customers has become an urgent problem to be solved. Summary of the invention
[0004] The present application provides a 5G private network control method, device, electronic device and storage medium to achieve flexible management and control of users accessing the 5G private network.
[0005] On the one hand, the present application provides a 5G private network control method, which is applied to a user plane function module, including: receiving a private network access message of a private network access user forwarded by a session management function, the private network access message including the user identifier of the private network access user; intercepting or diverting the private network data packet of the private network access user according to the user identifier of the private network access user and the private network control policy configured locally in the user plane function module; wherein the private network control policy is issued by an enterprise user, and the private network control policy is obtained by at least one of the following methods: obtaining it by the local console of the user plane function module or obtaining it by connecting to the northbound interface of the user plane function module.
[0006] In some embodiments, the method also includes: receiving the private network control policy issued by the enterprise user through a northbound interface connected to the user plane function module; wherein the northbound interface supports the call of the enterprise user; or receiving the private network control policy input by the enterprise user through a local console of the user plane function module, wherein the local console has a human-computer interaction interface.
[0007] In some embodiments, after receiving the private network access message of the private network access user forwarded by the session management function, it also includes: allocating a terminal IP address to the private network access user according to the private network access message; establishing and recording a mapping relationship between the user identifier of the private network access user and the allocated terminal IP address.
[0008] In some embodiments, the private network data packets of the private network access user are intercepted or diverted according to the user identifier of the private network access user and the private network control policy configured locally in the user plane function module, including: according to the user identifier of the private network access user and the private network control policy configured locally in the user plane function module, the private network data packets flowing through the terminal IP address corresponding to the user identifier of the private network access user are intercepted or diverted.
[0009] In some embodiments, the private network control policy includes an access whitelist and an access blacklist, and the access whitelist and the access blacklist respectively include user identifiers of multiple users; the private network data packets of the private network access users are intercepted or diverted according to the user identifiers of the private network access users and the private network control policy configured locally in the user plane function module, including: if the access whitelist includes the user identifier of the private network access user, the private network data packets of the private network access user are diverted; if the access blacklist includes the user identifier of the private network access user, the private network data packets of the private network access user are intercepted.
[0010] In some embodiments, the access whitelist also includes diversion restriction conditions corresponding to multiple users; the diversion processing of the private network data packet of the private network access user includes: detecting whether the private network data packet meets the diversion restriction condition corresponding to the private network access user according to the type and / or data volume of the current private network data packet of the private network access user; wherein the diversion restriction condition includes the type and / or data volume upper limit of the divertible data packet; if the private network data packet meets the diversion restriction condition, the private network data packet of the private network access user is diverted, otherwise, the private network data packet is intercepted.
[0011] On the other hand, the present application provides a 5G private network control device, which is arranged in a user plane function module, including: a receiving module, used to receive a private network access message of a private network access user forwarded by a session management function, the private network access message including the user identifier of the private network access user; a processing module, used to intercept or divert the private network data packet of the private network access user according to the user identifier of the private network access user and the private network control policy configured locally in the user plane function module; wherein the private network control policy is issued by an enterprise user, and the private network control policy is obtained by at least one of the following methods: by obtaining it in the local console of the user plane function module or by obtaining it through the northbound interface connected to the user plane function module.
[0012] In some embodiments, the receiving module is also used to: receive the private network control policy issued by the enterprise user by connecting to the northbound interface of the user plane function module; wherein the northbound interface supports the call of the enterprise user; or receive the private network control policy input by the enterprise user through the local console of the user plane function module, wherein the local console has a human-computer interaction interface.
[0013] In some embodiments, the device also includes: a configuration module, which is used to allocate a terminal IP address to the private network access user according to the private network access message after the receiving module receives the private network access user's forwarded by the session management function; the configuration module is also used to establish and record the mapping relationship between the user identifier of the private network access user and the allocated terminal IP address.
[0014] In some embodiments, the processing module is specifically used to intercept or divert private network data packets flowing through the terminal IP address corresponding to the user identifier of the private network access user according to the user identifier of the private network access user and the private network control policy configured locally in the user plane function module.
[0015] In some embodiments, the private network control strategy includes an access whitelist and an access blacklist, and the access whitelist and the access blacklist respectively include user identifications of multiple users; the processing module is specifically used to: if the access whitelist includes the user identification of the private network access user, then divert the private network data packets of the private network access user; if the access blacklist includes the user identification of the private network access user, then intercept the private network data packets of the private network access user.
[0016] In some embodiments, the access whitelist also includes diversion restriction conditions corresponding to multiple users; the processing module is specifically used to: detect whether the private network data packet meets the diversion restriction conditions corresponding to the private network access user according to the type and / or data volume of the current private network data packet of the private network access user; wherein the diversion restriction conditions include the type and / or data volume upper limit of the divertible data packet; if the private network data packet meets the diversion restriction conditions, the private network data packet of the private network access user is diverted, otherwise, the private network data packet is intercepted.
[0017] On the other hand, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method described above.
[0018] On the other hand, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described above.
[0019] In the 5G private network control method, device, electronic device and storage medium provided by the present application, a private network access message of a private network access user forwarded by a session management function is received, and the private network access message includes a user identifier of the private network access user; according to the user identifier of the private network access user and the private network control policy configured locally in the user plane function module, the private network data packet of the 5G private network access user is intercepted or diverted. The scheme of the present application, when a 5G private network access user accesses the network, according to the user identifier of the private network access user and the private network control policy configured locally in the user plane function module, the private network data packet of the 5G private network access user is intercepted or diverted, which can realize flexible control of private network access users by enterprise customers. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0021] Figure 1 The figure shows a schematic diagram of a 5G private network control scenario by way of example;
[0022] Figure 2 The flowchart of the 5G private network control method provided in the first embodiment of the present application is exemplarily shown in FIG.
[0023] Figure 3 The flowchart of the 5G private network control method provided in the second embodiment of the present application is exemplarily shown in FIG.
[0024] Figure 4 The flowchart of the 5G private network control method provided in the third embodiment of the present application is exemplarily shown in FIG.
[0025] Figure 5 The flowchart of the 5G private network control method provided in the fourth embodiment of the present application is illustrated in FIG.
[0026] Figure 6 The schematic diagram of the scenario of the 5G private network control method of the present application is exemplarily shown in the figure;
[0027] Figure 7 The structural diagram of the 5G private network control device provided in Embodiment 5 of the present application is exemplarily shown;
[0028] Figure 8 The structural diagram of the 5G private network control device provided in Example 6 of the present application is exemplified.
[0029] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0030] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0031] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0032] The terms "first", "second", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise indicated. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, for example, they can be implemented in an order other than those given in the diagrams or descriptions of the embodiments of this application.
[0033] In addition, the terms "including" and "having" and any variations thereof are intended to cover but not exclude inclusion, for example, a product or device comprising a series of components is not necessarily limited to those components explicitly listed, but may include other components not explicitly listed or inherent to these products or devices. The term "module" as used in this application refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or combination of hardware and / or software code that can perform the functions associated with the element.
[0034] The term "5G private network (Private 5G Network)" used in each embodiment of the present application refers to the use of 5G technology to create a private network with unified connectivity, optimized services and secure communication methods in a specific area, providing communication services for specific enterprise users. It is a local area network (LAN). Compared with other networks, it has faster transmission speeds, more stable performance, a simple framework, and is closed. The local area network itself may include computer equipment, network connection equipment, network transmission media, etc., among which computer equipment may include servers and workstations, network connection equipment may include network cards, hubs, switches, etc., and the network transmission medium may be a network cable.
[0035] The term "core network" used in each embodiment of the present application refers to a component in the 5G network architecture, which mainly provides user connection, management of user data, and management of user services. 5G core network elements include: User Plane Function (UPF), Authentication Server Function (AUSF), Unified Data Management (UDM), Access And Mobility Management Function (AMF), Session Management Function (SMF), Policy Control Function (PCF), Network Slice Selection Function (NSSF), Network Repository Function (NRF), Network Exposure Function (NEF), etc. Among them, UPF is responsible for packet routing forwarding, policy implementation, traffic reporting, etc.
[0036] Figure 1 The schematic diagram of the 5G private network control scenario is shown in FIG. Figure 1 As shown in the figure, there is information exchange between the user equipment (UE), the radio access network (RAN) and the AMF. The UPF exchanges information with the core network elements through the AMF, and the RAN uses the UPF to establish a connection with the enterprise server. The 5G private network access user applies the user equipment and sends the 5G private network access request information to the UPF through the AMF and SMF. The user plane function obtains the access request information of the current 5G private network access user, allocates the terminal IP address to the user equipment, and processes the data packets flowing through the terminal IP address according to the network control policy issued by the enterprise user.
[0037] Among them, the user device can be a smart device, such as a mobile terminal, a tablet computer, a computer, a laptop computer, a smart watch, etc. The 5G private network access user accesses the 5G private network of the enterprise user through the user device in the area where the 5G private network is located. The user needs to register when accessing the 5G private network of the enterprise user for the first time. The user who can access the 5G private network has completed the registration with the enterprise user. After the user completes the registration, the enterprise user issues a network control policy to the registered user. When the user accesses the 5G private network of the enterprise user, the UPF processes the data packet of the 5G private network access user according to the network control policy corresponding to the user. The enterprise server is a server dedicated to enterprise users, which is used to process the data packets of the 5G private network access users diverted by the UPF.
[0038] The current method for enterprise users to issue user-level policy control for 5G private network access is to send a policy request to the NEF network element through the enterprise server, and the NEF network element calls the PCF to write the terminal access control rules, and the PCF pushes the control rules to the SMF, and the SMF then issues the control rules to the UPF, and finally the UPF executes the terminal access control rules. The current user-level network control policy issued by enterprise users involves many core network elements, the process is too complicated and the latency is high, which increases the load on the 5G core network. It is not enough to meet the needs of enterprise customers to conveniently and efficiently flexibly control the private network data packets of private network access users. Therefore, enterprise users can directly use the user plane function network element to issue user-level network control policies. This concept can reduce the application of core network elements and increase the effectiveness and flexibility of enterprise users in managing 5G private network access users.
[0039] The technical solutions of the present application and the technical solutions of the present application are described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. In the description of the present application, unless otherwise clearly specified and limited, each term should be understood in a broad sense in the art. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0040] Figure 2 The flowchart of the 5G private network control method provided in the first embodiment of the present application is exemplarily shown in FIG. The execution subject of this embodiment may be a 5G private network control device, which is applied to a user plane function module, such as Figure 2 As shown, the method includes:
[0041] S201, receiving a private network access message of a private network access user forwarded by a session management function, wherein the private network access message includes a user identifier of the private network access user;
[0042] S202. According to the user identifier of the private network access user and the private network control policy configured locally in the user plane function module, intercept or divert the private network data packets of the private network access user; wherein, the private network control policy is issued by the enterprise user, and the private network control policy is obtained in at least one of the following ways: by obtaining in the local console of the user plane function module or by obtaining through the northbound interface connected to the user plane function module.
[0043] The user ID is the ID of the private network access user, which includes but is not limited to: International Mobile Subscriber Identity (IMSI), Mobile Subscriber International ISDN / PSTN Number (MSISDN), Temporary Mobile Subscriber Identity (TMSI). In actual applications, the user ID can only uniquely represent one user, and the enterprise user can identify the private network access user corresponding to the user ID based on the user ID.
[0044] In actual applications, the executor of the control method can be a 5G private network control device. There are many ways to implement the 5G private network control device. For example, it can be implemented through a computer program, such as application software, etc.; or, it can be implemented as a medium storing relevant computer programs, such as a U disk, cloud disk, etc.; or, it can be implemented through a physical device that integrates or installs relevant computer programs, such as a chip.
[0045] In actual applications, the private network control policy corresponds to the private network access user identifier and is the basis for the enterprise user to process the private network data packets of the private network access user. For example, for private network access user A, the private network control policy issued by the enterprise user is to intercept the private network data packets of user A. When user A accesses the private network, the private network data packets of user A are intercepted according to the private network control policy. For another example, for private network access user B, the private network control policy issued by the enterprise user is to divert the private network data packets of user B to the enterprise server 1 for processing.
[0046] Specifically, in S202, according to the user ID of the private network access user and the private network control policy configured locally in the user plane function module, the private network data packet of the private network access user is intercepted or diverted. For example, the current user accessing the private network is user A, the user ID is the mobile user number of user A, and the enterprise user configures the private network control policy locally in the user plane function module for user A to intercept the private network data packet of user A. The current private network access user is identified as user A based on the mobile user code of user A, and the private network data packet of user A is intercepted according to the private network control policy corresponding to user A.
[0047] In the 5G private network control method provided in this embodiment, a private network access message of a private network access user forwarded by a session management function is received, and the private network access message includes the user ID of the private network access user. According to the user ID of the private network access user and the private network control policy configured locally in the user plane function module, the private network data packet of the private network access user is intercepted or diverted; wherein, the private network control policy is issued by the enterprise user, and the private network control policy is obtained in at least one of the following ways: by obtaining it in the local console of the user plane function module or by obtaining it through the northbound interface connected to the user plane function module. In this embodiment, when a 5G private network access user accesses the network, according to the user ID of the private network access user and the private network control policy configured locally in the user plane function module, the private network data packet of the private network access user is intercepted or diverted, so that the enterprise customer can realize flexible control of the private network access user.
[0048] Figure 3 The flowchart of the 5G private network control method provided in the second embodiment of the present application is exemplarily shown in FIG. Figure 3 As shown, based on any one of the examples, the method further includes:
[0049] S301, receiving the private network control policy issued by the enterprise user by connecting to the northbound interface of the user plane function module; wherein the northbound interface supports the calling of the enterprise user;
[0050] S302, or receiving the private network control policy input by the enterprise user through the local console of the user plane function module, wherein the local console has a human-computer interaction interface.
[0051] Among them, the northbound interface is an interface for enterprise users to access and manage the network. Enterprise users can use the northbound interface to develop network management applications in the application layer. For example, the northbound interface can be a northbound application programming interface (API). If the northbound API interface supports the call of enterprise users, enterprise users can integrate the API interface into the enterprise user's own platform to implement operations such as adding, deleting, modifying, and checking the control policy corresponding to the API interface. For example, enterprise users can check whether the northbound API interface is currently idle and / or the control policy corresponding to the current API interface.
[0052] In actual applications, the way in which enterprise users issue private network control policies can be dynamically adjusted according to the specific circumstances of the user plane functional module. For example, the northbound interface of the user plane functional module supports calls from enterprise users, and enterprise users issue private network control policies by calling the northbound interface of the user plane functional module. In contrast, the northbound interface of the user plane functional module does not support calls from enterprise users, and enterprise users can issue network control policies through the local console of the user function module. The two ways in which enterprise users issue private network control policies realize the direct issuance of private network control policies to user plane functional modules, reduce the application of 5G private network core network elements, simplify the steps for issuing private network control policies, and reduce the complexity and latency of implementing private network control policies.
[0053] It should be noted that enterprise users can issue private network control policies in two ways: by calling the northbound interface of the user plane function module and by using the local console of the user plane function module. The two methods can be implemented separately or in combination. For example, the northbound interface of the user plane function module supports the calls of enterprise users, and the northbound interface of the user plane function module is saturated. At this time, enterprise users can delete the control policy corresponding to a northbound interface and add a new control policy; enterprise users can also directly apply the local console of the user plane function module to directly issue control policies.
[0054] In the 5G private network control method provided in this embodiment, the private network control policy issued by the enterprise user is received by connecting to the northbound interface of the user plane function module; or the private network control policy input by the enterprise user through the local console of the user plane function module is received. There are two ways to receive the private network control policy. The enterprise user directly issues the private network control policy to the user plane function module, which reduces the application of the 5G private network core network element, simplifies the steps of issuing the private network control policy, and reduces the complexity and latency of the implementation of the private network control policy.
[0055] Figure 4 The flowchart of the 5G private network control method provided in the third embodiment of the present application is exemplarily shown in FIG. Figure 4 As shown, after S201, the method further includes:
[0056] S401, allocating a terminal IP address to the private network access user according to the private network access message;
[0057] S402: Establish and record a mapping relationship between the user identification of the private network access user and the allocated terminal IP address.
[0058] The terminal IP address is the IP address of the user device used by the user who accesses the private network this time. The terminal IP address is randomly assigned. Each time the private network access user accesses the private network, the terminal IP address needs to be assigned to the user device. Specifically, in S401, according to the private network access message, the terminal IP address is assigned to the private network access user. Each time the private network access message is received, an IP address is randomly assigned to the device used by the user who accesses the private network this time.
[0059] In actual applications, private network users can use different user devices to access the private network, and different private network users can use the same user device to access the private network. Since a terminal IP address needs to be allocated to the user device each time the private network user accesses the private network, the mapping relationship between the user ID of the private network user and the terminal IP address currently allocated to the private network user needs to be updated each time the private network user accesses the private network.
[0060] In this embodiment, the private network access user is allocated a terminal IP address, and a mapping relationship between the user identification of the private network access user and the allocated terminal IP address is established and recorded, thereby dynamically realizing the corresponding relationship between the private network access user and the terminal IP.
[0061] In one implementation, S202 specifically includes:
[0062] According to the user identification of the private network access user and the private network control policy configured locally in the user plane function module, the private network data packets flowing through the terminal IP address corresponding to the user identification of the private network access user are intercepted or diverted.
[0063] In actual applications, every time a private network access user accesses the private network, the mapping relationship between the user ID of the private network access user and the terminal IP address corresponding to the user ID is updated. Since the private network control policy corresponds to the private network access user ID, and there is a mapping relationship between the user ID and the terminal IP address corresponding to the user ID, the private network control policy is the private network control policy corresponding to the terminal IP address corresponding to the user ID.
[0064] In the present implementation, based on the mapping relationship between the user identifier of the private network access user and the terminal IP address corresponding to the user identifier, based on the user identifier of the private network access user and the private network control policy configured locally in the user plane function module, the private network data packets flowing through the terminal IP address corresponding to the user identifier of the private network access user are intercepted or diverted, thereby realizing interception or diversion of the private network data packets of the private network access user.
[0065] In the 5G private network control method provided in this embodiment, the private network access user is assigned a terminal IP address, and a mapping relationship between the user identifier of the private network access user and the assigned terminal IP address is established and recorded, thereby dynamically realizing the correspondence between the private network access user and the terminal IP.
[0066] Figure 5 The flowchart of the 5G private network control method provided in the fourth embodiment of the present application is illustrated in FIG. Figure 5 As shown, based on any example, the private network data control strategy includes an access whitelist and an access blacklist, and the access whitelist and the access blacklist respectively include user identifiers of multiple users, and S202 specifically includes:
[0067] S501, if the access whitelist includes the user identification of the private network access user, then divert the private network data packets of the private network access user;
[0068] S502: If the access blacklist includes the user identification of the private network access user, intercept the private network data packet of the private network access user.
[0069] Among them, the access whitelist is determined in advance by the enterprise user, including the user identifications of multiple users. Diversion processing is performed on the private network access users in the whitelist. Diversion processing refers to diverting the private network data packets of the private network access users to the server for processing. For example, the private network access user is user B, whose corresponding user identification is in the access whitelist, and diversion processing is performed on the private network data packets of private network access user B. In contrast, the access blacklist is also determined in advance by the enterprise user, including the user identifications of multiple users. Interception processing is performed on the private network access users in the blacklist. Interception refers to intercepting the private network data packets of the private network access users, that is, diverting them to the server for processing. For example, the private network access user is user A, whose corresponding user identification is in the access blacklist, and interception processing is performed on the private network access user A.
[0070] Combined with the above example, each time a private network access user logs on to the network, a terminal IP address is assigned to the private network access user, and the mapping relationship between the user ID of the private network access user and the assigned terminal IP address is updated. For example, private network access user A accesses the private network, and the terminal IP address assigned to private network access user A is IP-1. Since the user ID of private network access user A is on the access blacklist, the private network data packets flowing through the terminal IP-1 address are intercepted and processed. For another example, private network access user B accesses the private network, and the terminal IP address assigned to private network access user B is IP-2. Since the user ID of private network access user B is on the access blacklist, the private network data packets flowing through the terminal IP-2 address are diverted to enterprise server 1 for processing.
[0071] It should be noted that the user IDs in the blacklist and whitelist can be changed in time according to the needs of enterprise users. For example, the user ID of private network access user A is in the blacklist, and private network access user A has established a cooperative relationship with the enterprise user. The enterprise user can put the user ID of private network access user A in the whitelist. When private network access user A accesses the private network again, the data packets of private network access user A can be diverted to the enterprise server for processing. Conversely, the user ID of private network access user B is in the whitelist, and private network access user B terminates the cooperative relationship with the enterprise user. The enterprise user can add private network access user B to the blacklist. When private network access user B accesses the private network again, the data packets of the private network access user are intercepted and processed.
[0072] In this embodiment, enterprise users can simplify the access of private network access users by setting black and white lists. By checking the list where the user identifier of the private network access user is located, they can directly adopt the corresponding private network control strategy to process the private network access user's data packet, thereby simplifying the private network access user data packet processing flow.
[0073] In one implementation, the access whitelist further includes diversion restriction conditions corresponding to multiple users, and S501 specifically includes:
[0074] According to the type and / or data volume of the current private network data packet of the private network access user, detecting whether the private network data packet meets the diversion restriction condition corresponding to the private network access user; wherein the diversion restriction condition includes the type and / or data volume upper limit of the divertible data packet;
[0075] If the private network data packet meets the diversion restriction condition, the private network data packet of the private network access user is diverted; otherwise, the private network data packet is intercepted.
[0076] In actual applications, the diversion processing of private network data packets of private network users in the access whitelist can be further limited according to the type of private network data packets. For example, for private network access user C in the access whitelist, the enterprise user limits the type of private network data packets diverted to user C to music traffic. When private network access user C accesses the private network, only the music traffic of private network access user C is diverted to the enterprise server for processing; conversely, when private network access user C accesses the private network, the web browsing traffic of private network access user C is intercepted and processed.
[0077] In actual applications, the diversion processing of private network data packets of private network users in the access whitelist can be further limited according to the data volume of private network data packets. For example, for private network access user D in the access whitelist, the enterprise user limits the data volume of private network data packets diverted and processed by access user D to 2000 bytes per month. When private network access user D accesses the private network, if the data volume of private network data packets of private network access user C in that month does not exceed 2000 bytes, the private network data packets can be diverted to the enterprise server for processing; conversely, if the data volume of private network data packets of private network access user C in that month exceeds 2000 bytes, the private network data packets are intercepted and processed.
[0078] In this implementation, the processing of private network data packets for private network access users in the access whitelist is further limited according to the type and / or data volume of the private network data packets that can be diverted, so that enterprise users can more flexibly limit the network control policies for private network access users.
[0079] Figure 6 The schematic diagram of the scenario of the 5G private network control method of the present application is exemplarily shown in FIG. Figure 6As shown, the enterprise user directly issues the 5G private network network control rules corresponding to the user ID of the 5G private network access user through the UPF console or the northbound API interface of the UPF. For example, the traffic of the IMSI-1 code of the 5G private network access user is intercepted, and the traffic of the IMSI-2 code of the 5G private network access user is diverted to the enterprise server 1 for processing. The 5G private network access user sends a 5G private network access request message to the UPF through the AMF and SMF, and the user ID of the 5G private network access user is added to the 5G private network access request message. The UPF obtains the user ID of the current 5G private network access user through the 5G private network access request information of the current 5G private network access user, and allocates a terminal IP address to the 5G private network access user. For example, the current 5G private network access request information contains IMSI-1 field information. UPF obtains the IMSI-1 field information of the current 5G private network access user based on the current 5G private network access request information, and assigns a terminal IP address of IP-1 to the 5G private network access user represented by IMSI-1; the current 5G private network access request information contains IMSI-2 field information. UPF obtains the IMSI-2 field information of the current 5G private network access user based on the current 5G private network access request information, and assigns a terminal IP address of IP-2 to the 5G private network access user represented by IMSI-2. UPF establishes and stores the mapping relationship between the user identifier of the 5G private network access user and the terminal IP address assigned to the 5G private network access user, and then determines the 5G private network control rule corresponding to the terminal IP address assigned to the 5G private network access user. For example, IMSI-1 corresponds to IP-1, and the 5G private network control rule corresponding to IP-1 is to intercept the traffic flowing through IP-1; IMSI-2 corresponds to IP-2, and the 5G private network control rule corresponding to IP-2 diverts the traffic flowing through IP-2 to enterprise server 1 for processing. UPF is to check whether the traffic matches the network control policy issued by the enterprise user. If it matches, UPF processes the data packets flowing through the terminal IP address according to the network control policy issued by the enterprise user; if it does not match, UPF forwards the traffic to the network element adjacent to UPF according to the type of traffic. For example, if the traffic type is session content, UPF forwards the traffic to the SMF network element.
[0080] Figure 7 The schematic diagram of the structure of the 5G private network control device provided in the fifth embodiment of the present application is exemplarily shown, which is arranged in the user plane function module, such as Figure 7 The device comprises:
[0081] A receiving module 71, configured to receive a private network access message of a private network access user forwarded by a session management function, wherein the private network access message includes a user identifier of the private network access user;
[0082] The processing module 72 is used to intercept or divert the private network data packets of the private network access user according to the user identifier of the private network access user and the private network control policy configured locally in the user plane function module; wherein the private network control policy is issued by the enterprise user, and the private network control policy is obtained in at least one of the following ways: by obtaining it in the local console of the user plane function module or by obtaining it through the northbound interface connected to the user plane function module.
[0083] The user ID is the ID of the private network access user. In actual applications, the user ID can only uniquely represent one user, and the enterprise user can identify the private network access user corresponding to the user ID based on the user ID.
[0084] In actual applications, the private network control policy corresponds to the private network access user ID and is the basis for enterprise users to process private network data packets of private network access users.
[0085] In the user plane function module provided in this embodiment, a private network access message of a private network access user forwarded by a session management function is received, and the private network access message includes the user identifier of the private network access user. According to the user identifier of the private network access user and the private network control policy configured locally in the user plane function module, the private network data packet of the private network access user is intercepted or diverted; wherein, the private network control policy is issued by the enterprise user, and the private network control policy is obtained in at least one of the following ways: by obtaining it in the local console of the user plane function module or by obtaining it through the northbound interface connected to the user plane function module. In this embodiment, when a 5G private network access user accesses the network, according to the user identifier of the private network access user and the private network control policy configured locally in the user plane function module, the private network data packet of the private network access user is intercepted or diverted, so that the enterprise customer can realize flexible control over the private network access user.
[0086] In some embodiments, the receiving module 71 is further configured to:
[0087] Receiving the private network control policy issued by the enterprise user by connecting to the northbound interface of the user plane function module; wherein the northbound interface supports the calling of the enterprise user;
[0088] Or receiving the private network control policy input by the enterprise user through the local console of the user plane function module, wherein the local console has a human-computer interaction interface.
[0089] Among them, the northbound interface is an interface for enterprise users to access and manage the network. Enterprise users can use the northbound interface to develop network management applications in the application layer.
[0090] In actual applications, the way in which enterprise users issue private network control policies can be dynamically adjusted according to the specific circumstances of the user plane functional module. For example, the northbound interface of the user plane functional module supports calls from enterprise users, and enterprise users issue private network control policies by calling the northbound interface of the user plane functional module. In contrast, the northbound interface of the user plane functional module does not support calls from enterprise users, and enterprise users can issue network control policies through the local console of the user function module. The two ways in which enterprise users issue private network control policies realize the direct issuance of private network control policies to user plane functional modules, reduce the application of 5G private network core network elements, simplify the steps for issuing private network control policies, and reduce the complexity and latency of implementing private network control policies.
[0091] It should be noted that enterprise users can issue private network control policies in two ways: by calling the northbound interface of the user plane function module, and by using the local console of the user plane function module. These two methods can be implemented separately or in combination.
[0092] In the user plane function module provided in this embodiment, the private network control policy issued by the enterprise user is received by connecting to the northbound interface of the user plane function module; and\or the private network control policy input by the enterprise user through the local console of the user plane function module is received. In the two ways of receiving the private network control policy, the enterprise user directly issues the private network control policy to the user plane function module, which reduces the application of the 5G private network core network element, simplifies the steps of issuing the private network control policy, and reduces the complexity and latency of the implementation of the private network control policy.
[0093] In some embodiments, the device also includes a configuration module, which is specifically used to: after the receiving module receives a private network access message of a private network access user forwarded by a session management function, allocate a terminal IP address to the private network access user according to the private network access message; establish and record a mapping relationship between the user identifier of the private network access user and the allocated terminal IP address.
[0094] The terminal IP address is the IP address of the user device used by the user who accesses the private network this time. The terminal IP address is randomly assigned. Each time the private network access user accesses the private network, the terminal IP address needs to be assigned to the user device. Specifically, the configuration module assigns the terminal IP address to the private network access user according to the private network access message. Each time the private network access message is received, an IP address is randomly assigned to the device used by the user who accesses the private network this time.
[0095] In actual applications, private network users can use different user devices to access the private network, and different private network users can use the same user device to access the private network. Since a terminal IP address needs to be allocated to the user device each time the private network user accesses the private network, the mapping relationship between the user ID of the private network user and the terminal IP address currently allocated to the private network user needs to be updated each time the private network user accesses the private network.
[0096] In this embodiment, the private network access user is allocated a terminal IP address, and a mapping relationship between the user identification of the private network access user and the allocated terminal IP address is established and recorded, thereby dynamically realizing the corresponding relationship between the private network access user and the terminal IP.
[0097] In some embodiments, the processing module 72 is specifically used to intercept or divert private network data packets flowing through the terminal IP address corresponding to the user identifier of the private network access user according to the user identifier of the private network access user and the private network control policy configured locally in the user plane function module.
[0098] In actual applications, every time a private network access user accesses the private network, the mapping relationship between the user ID of the private network access user and the terminal IP address corresponding to the user ID is updated. Since the private network control policy corresponds to the private network access user ID, and there is a mapping relationship between the user ID and the terminal IP address corresponding to the user ID, the private network control policy is the private network control policy corresponding to the terminal IP address corresponding to the user ID.
[0099] In the present implementation, based on the mapping relationship between the user identifier of the private network access user and the terminal IP address corresponding to the user identifier, based on the user identifier of the private network access user and the private network control policy configured locally in the user plane function module, the private network data packets flowing through the terminal IP address corresponding to the user identifier of the private network access user are intercepted or diverted, thereby realizing interception or diversion of the private network data packets of the private network access user.
[0100] In the user plane function module provided in this embodiment, a terminal IP address is allocated to a private network access user, and a mapping relationship between the user identifier of the private network access user and the allocated terminal IP address is established and recorded, thereby dynamically realizing the corresponding relationship between the private network access user and the terminal IP.
[0101] In some embodiments, the private network control strategy includes an access whitelist and an access blacklist, and the access whitelist and the access blacklist respectively include user identifications of multiple users; the processing module 62 is specifically used to: if the access whitelist includes the user identification of the private network access user, then the private network data packet of the private network access user is diverted; if the access blacklist includes the user identification of the private network access user, then the private network data packet of the private network access user is intercepted.
[0102] The access whitelist is determined in advance by the enterprise user and includes the user IDs of multiple users. Diversion processing is performed on the private network access users in the whitelist. Diversion processing refers to diverting the private network data packets of the private network access users to the server for processing. In contrast, the access blacklist is also determined in advance by the enterprise user and includes the user IDs of multiple users. Interception processing is performed on the private network access users in the blacklist. Interception refers to intercepting the private network data packets of the private network access users, that is, diverting them to the server for processing.
[0103] In combination with the above example, each time a private network access user accesses the network, a terminal IP address is assigned to the private network access user, and the mapping relationship between the user identifier of the private network access user and the assigned terminal IP address is updated. Based on the list where the user identifier is located, the private network control policy for the private network data packet corresponding to the current terminal IP address is determined.
[0104] It should be noted that the user IDs in the blacklist and whitelist can be changed in a timely manner according to the needs of enterprise users.
[0105] In this embodiment, enterprise users can simplify the access of private network access users by setting black and white lists. By checking the list where the user identifier of the private network access user is located, they can directly adopt the corresponding private network control strategy to process the private network access user's data packet, thereby simplifying the private network access user data packet processing flow.
[0106] In some embodiments, the access whitelist also includes diversion restriction conditions corresponding to multiple users; the processing module 72 is specifically used to: detect whether the private network data packet meets the diversion restriction condition corresponding to the private network access user according to the type and / or data volume of the current private network data packet of the private network access user; wherein the diversion restriction condition includes the type and / or data volume upper limit of the divertible data packet; if the private network data packet meets the diversion restriction condition, the private network data packet of the private network access user is diverted, otherwise, the private network data packet is intercepted.
[0107] In practical applications, the diversion processing of private network data packets of users in the access whitelist who access the private network can be further limited according to the type of private network data packets.
[0108] In practical applications, the diversion processing of private network data packets for private network users in the access whitelist can be further limited according to the data volume of the private network data packets.
[0109] In this implementation, the processing of private network data packets for private network access users in the access whitelist is further limited according to the type and / or data volume of the private network data packets that can be diverted, so that enterprise users can more flexibly limit the network control policies for private network access users.
[0110] Figure 8 The structure diagram of the electronic device provided in the sixth embodiment of the present application is exemplarily shown. Figure 8 The electronic device comprises:
[0111] The main control device includes a processor 81 and a memory 82; it may also include a communication interface 83 and a bus 84. The processor 81, the memory 82, and the communication interface 83 may communicate with each other through the bus 84. The communication interface 83 may be used for information transmission. The processor 81 may call the logic instructions in the memory 82 to execute the method of the above embodiment.
[0112] In addition, the logic instructions in the memory 82 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.
[0113] The memory 82 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present application. The processor 81 executes functional applications and data processing by running the software programs, instructions, and modules stored in the memory 82, that is, implementing the methods in the above method embodiments.
[0114] The memory 82 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 82 may include a high-speed random access memory and may also include a non-volatile memory.
[0115] In an exemplary embodiment, a computer-readable storage medium storing computer-executable instructions is also provided, and the computer-executable instructions are used to implement the above method when executed by a processor. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
[0116] In an exemplary embodiment, a computer program product is also provided, comprising a computer program, and the computer program implements the above method when executed by a processor.
[0117] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0118] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A 5G private network control method, characterized in that: Applied to the user plane function module, the method includes: Receive a private network access message of a private network access user forwarded by a session management function, wherein the private network access message includes a user identifier of the private network access user; According to the user identifier of the private network access user and the private network control policy configured locally in the user plane function module, the private network data packet of the private network access user is intercepted or diverted; wherein the private network control policy is issued by the enterprise user, and the private network control policy is obtained in at least one of the following ways: by obtaining it in the local console of the user plane function module or by obtaining it through the northbound interface connected to the user plane function module; The method further comprises: Receiving the private network control policy issued by the enterprise user by connecting to the northbound interface of the user plane function module; wherein the northbound interface supports the calling of the enterprise user; Or receiving the private network control policy input by the enterprise user through the local console of the user plane function module, wherein the local console has a human-computer interaction interface.
2. The method according to claim 1, characterized in that After receiving the private network access message of the private network access user forwarded by the session management function, the method further includes: Allocating a terminal IP address to the private network access user according to the private network access message; A mapping relationship between the user identification of the private network access user and the allocated terminal IP address is established and recorded.
3. The method according to claim 2, characterized in that The method of intercepting or diverting a private network data packet of the private network access user according to the user identifier of the private network access user and the private network control policy configured locally in the user plane function module includes: According to the user identification of the private network access user and the private network control policy configured locally in the user plane function module, the private network data packets flowing through the terminal IP address corresponding to the user identification of the private network access user are intercepted or diverted.
4. The method according to any one of claims 1 to 3, characterized in that: The private network control strategy includes an access whitelist and an access blacklist, wherein the access whitelist and the access blacklist respectively include user identifiers of multiple users; and intercepting or diverting the private network data packets of the private network access users according to the user identifiers of the private network access users and the private network control strategy locally configured in the user plane function module, including: If the access whitelist includes the user identification of the private network access user, the private network data packets of the private network access user are diverted; If the access blacklist includes the user identification of the private network access user, the private network data packet of the private network access user is intercepted.
5. The method according to claim 4, characterized in that The access whitelist also includes diversion restriction conditions corresponding to multiple users; the diversion processing of the private network data packets of the private network access users includes: According to the type and / or data volume of the current private network data packet of the private network access user, detecting whether the private network data packet meets the diversion restriction condition corresponding to the private network access user; wherein the diversion restriction condition includes the type and / or data volume upper limit of the divertible data packet; If the private network data packet meets the diversion restriction condition, the private network data packet of the private network access user is diverted; otherwise, the private network data packet is intercepted.
6. A 5G private network control device, characterized in that: Set in the user plane function module, the device includes: A receiving module, configured to receive a private network access message of a private network access user forwarded by a session management function, wherein the private network access message includes a user identifier of the private network access user; A processing module, configured to intercept or divert private network data packets of the private network access user according to the user identifier of the private network access user and the private network control policy configured locally in the user plane function module; wherein the private network control policy is issued by the enterprise user, and the private network control policy is obtained in at least one of the following ways: by obtaining it in the local console of the user plane function module or by obtaining it through the northbound interface connected to the user plane function module; The receiving module is also used for: Receiving the private network control policy issued by the enterprise user by connecting to the northbound interface of the user plane function module; wherein the northbound interface supports the calling of the enterprise user; Or receiving the private network control policy input by the enterprise user through the local console of the user plane function module, wherein the local console has a human-computer interaction interface.
7. The device according to claim 6, characterized in that The device also includes: A configuration module, configured to allocate a terminal IP address to the private network access user according to the private network access message after the receiving module receives the private network access message of the private network access user forwarded by the session management function; The configuration module is also used to establish and record the mapping relationship between the user identification of the private network access user and the allocated terminal IP address.
8. The device according to claim 7, characterized in that The processing module is specifically used for: According to the user identification of the private network access user and the private network control policy configured locally in the user plane function module, the private network data packets flowing through the terminal IP address corresponding to the user identification of the private network access user are intercepted or diverted.
9. The device according to any one of claims 6 to 8, characterized in that: The private network control strategy includes an access whitelist and an access blacklist, wherein the access whitelist and the access blacklist respectively include user identifiers of multiple users; the processing module is specifically used to: If the access whitelist includes the user identification of the private network access user, the private network data packets of the private network access user are diverted; If the access blacklist includes the user identification of the private network access user, the private network data packet of the private network access user is intercepted.
10. The device according to claim 9, characterized in that The access whitelist also includes diversion restriction conditions corresponding to multiple users; the processing module is specifically used to: According to the type and / or data volume of the current private network data packet of the private network access user, detecting whether the private network data packet meets the diversion restriction condition corresponding to the private network access user; wherein the diversion restriction condition includes the type and / or data volume upper limit of the divertible data packet; If the private network data packet meets the diversion restriction condition, the private network data packet of the private network access user is diverted; otherwise, the private network data packet is intercepted.
11. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 5 when executed by a processor.
