5G private network service security assurance method, device, equipment and storage medium

By analyzing and forwarding service access requests in the 5G private network, obtaining the latest address of the high-security server and achieving isolation between the terminal and the server address, the IP address exposure and delay problems of high-security services in the 5G private network are solved, and the problem of IP address exposure and delay in the 5G private network is improved. Security and access efficiency.

CN114363902BActive Publication Date: 2024-12-03CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210007749.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-05
Publication Date
2024-12-03
Estimated Expiration
2042-01-05

AI Technical Summary

Technical Problem

The IP addresses of the existing 5G private network medium and high security level servers are exposed to the terminal, resulting in an increase in the risk of attacks. The traditional DNS resolution process is delayed for a long time, which cannot meet the needs of high security level services.

Method used

By receiving the service access request of the terminal, parsing the server address, querying the address record to obtain the current and historical addresses, forwarding the request to the latest address, avoiding feedback on the server address, and implementing the terminal and server addresses through the 5G user surface function module under the 5G network architecture Quarantine, restrict access to non-whitelisted terminals.

Benefits of technology

It improves the security guarantee capabilities of high-security services, reduces the service access delay, and avoids the risk of attacks caused by terminals obtaining the latest address of the server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114363902B_ABST
    Figure CN114363902B_ABST
Patent Text Reader

Abstract

The present application provides a 5G private network service security assurance method, device, equipment and storage medium, which belongs to the field of network security. It includes: receiving a service access request from a terminal, parsing to obtain the server address in the service access request; according to the server address, querying the address records of each server, and determining the current address of the first server to be accessed by the terminal; wherein the address record includes the current address and historical address of the server, and the address record of the first server includes the server address; forwarding the service access request to the current address of the first server, so that the first server performs service processing according to the service access request. By forwarding the service access request to the address of the server, the present application does not need to feed back the server address to the terminal, and then the terminal initiates the service access, thereby avoiding the terminal from initiating an attack by learning the server address, and improving the security assurance capability of high-security services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to network security technology, and in particular to a 5G private network service security assurance method, device, equipment and storage medium. Background Art

[0002] The large bandwidth, low latency, and wide connection characteristics of 5G private networks provide enterprise users and industrial Internet terminals with data transmission channels that are different from the public network and meet the needs of new digital services. Since 5G private networks often deeply serve the production and management business of enterprises, 5G private network users often have higher requirements for the network security of private networks than public users.

[0003] At present, servers with high security levels are configured with random time-varying Internet Protocol (IP) addresses. The traditional solution to the problem of accessing servers with time-varying IP addresses is to configure a Domain Name Server (DNS). When a terminal generates a service demand, it initiates service access to the domain name. The service access will first be sent to the DNS, which will perform domain name resolution, that is, identify the latest IP address corresponding to the domain name. The DNS will then send the latest IP address corresponding to the domain name to the terminal, and the terminal will then initiate service access to the latest IP address.

[0004] However, the above solution still exposes the IP address of the server to the terminal, and the terminal may launch an attack on the IP address of the server, which is insufficient to protect high-security level services. Summary of the invention

[0005] The present application provides a 5G private network service security assurance method, device, equipment and storage medium to improve the security assurance capability for high-security level services.

[0006] In the first aspect, the present application provides a 5G private network service security assurance method, including: receiving a service access request from a terminal, parsing to obtain a server address in the service access request; according to the server address, querying the address records of each server, and determining the current address of the first server to be accessed by the terminal; wherein the address record includes the current address and historical address of the server, and the address record of the first server includes the server address; forwarding the service access request to the current address of the first server, so that the first server performs service processing according to the service access request.

[0007] In this way, the address records of each server are queried through the server address in the service access request. When the server address exists in the address record, the server is the server that the terminal wants to access, that is, the first server. Then, the current address of the first server can be determined, thereby realizing the acquisition of the current address of the server configured with a time-varying IP address; by forwarding the service access request to the current address, the terminal's service access is realized without the need to feed back the server address to the terminal, thereby improving the security protection capability of high-security-level services.

[0008] Furthermore, after receiving the service access request of the terminal, the method further includes: parsing and obtaining the terminal identifier of the terminal; if the terminal identifier is not in a preset whitelist, denying the service access of the terminal.

[0009] The above restriction on access to the server by non-whitelisted terminals further improves the security protection capability of high-security level services.

[0010] Furthermore, receiving a service access request from a terminal includes: receiving a service access request from a terminal forwarded by a 5G user plane function module; forwarding the service access request to a current address of a first server, including: if the terminal identifier is in a preset whitelist, sending the current address of the first server to the 5G user plane function module, so that the 5G user plane function module forwards the service access request from the terminal to the current address of the first server.

[0011] The above method further explains that under the 5G network architecture, the isolation of the latest address of the terminal and the server is achieved through the 5G user plane function module, so as to prevent the terminal from obtaining the latest address of the server and launching an attack.

[0012] Furthermore, if the terminal identifier is not in the preset whitelist, the terminal's service access is denied, including: if the terminal identifier is not in the preset whitelist, a blocking service identifier is sent to the 5G user plane function module so that the 5G user plane function module does not forward the service access request.

[0013] The above method further explains that under the 5G network architecture, by sending a blocking service identifier to the 5G user plane functional module, the access of non-whitelist terminals to the server is restricted, thereby improving the security assurance capability of high-security level services.

[0014] Furthermore, the 5G private network service security assurance method also includes: if the address record of each server does not include the first server address, the service access request is forwarded to the server address.

[0015] In the above method, when the server address parsed from the service access request does not exist in the address record, it indicates that the current address of the server to be accessed by the terminal is the parsed server address, and the service access request is forwarded to the server address to realize the service access of the terminal.

[0016] Furthermore, forwarding the service access request to the server address includes: if the address record of each server does not include the server address, sending the server address to the 5G user plane function module, so that the 5G user plane function module forwards the service access request of the terminal to the server address.

[0017] The above method further explains that under the 5G network architecture, the 5G user plane functional module enables the terminal to access a server that is not configured with a time-varying IP.

[0018] Furthermore, the 5G private network service security assurance method also includes: synchronously updating the address records of each server according to the latest address of each server.

[0019] The above method explains that when a server changes its IP address according to a preset rule, the latest address and historical address of the server should be updated and recorded.

[0020] The following introduces the device, electronic device and computer storage medium provided by the present application. The content and effects thereof can be referred to in the method section.

[0021] On the second aspect, the present application provides a 5G private network service security assurance device, including: a parsing and identification module, used to receive a service access request from a terminal, and parse to obtain a server address in the service access request; a synchronization module, used to query the address records of each server according to the server address, and determine the current address of the first server to be accessed by the terminal; wherein the address record includes the current address and historical address of the server, and the address record of the first server includes the server address; a forwarding module, used to forward the service access request to the current address of the first server, so that the first server performs service processing according to the service access request.

[0022] Furthermore, the parsing and identifying module is also used to parse and obtain the terminal identification of the terminal; if the terminal identification is not in the preset white list, the service access of the terminal is denied.

[0023] Furthermore, the parsing and identification module is specifically used to receive the service access request of the terminal forwarded by the 5G user plane function module, and parse to obtain the server address in the service access request; the forwarding module is specifically used to send the current address of the first server to the 5G user plane function module if the terminal identifier is in the preset whitelist, so that the 5G user plane function module forwards the service access request of the terminal to the current address of the first server.

[0024] Furthermore, the forwarding module is also used to send a blocking service identifier to the 5G user plane function module if the terminal identifier is not in the preset whitelist, so that the 5G user plane function module does not perform forwarding of the service access request.

[0025] Furthermore, the forwarding module is further configured to forward the service access request to the server address if the address record of each server does not include the server address.

[0026] Furthermore, the forwarding module is specifically used to send the server address to the 5G user plane function module if the address record of each server does not include the server address, so that the 5G user plane function module forwards the terminal's service access request to the server address.

[0027] Furthermore, the synchronization module is also used to synchronously update the address record of each server according to the latest address of each server.

[0028] In a third aspect, 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 of the first aspect.

[0029] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method of the first aspect.

[0030] The 5G private network service security assurance method, device, equipment and storage medium provided by the present application include: receiving a service access request from a terminal, parsing and obtaining the server address in the service access request; querying the address records of each server according to the server address, and determining the current address of the first server to be accessed by the terminal; wherein the address record includes the current address and historical address of the server, and the address record of the first server includes the server address; forwarding the service access request to the current address of the first server, so that the first server performs service processing according to the service access request. The present application obtains the latest address of a high-security server configured with a time-varying IP address by querying the address records of each server; and realizes service access of the terminal by forwarding the service access request to the latest address, without feeding back the server address to the terminal, thereby improving the security assurance capability of high-security services. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] 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.

[0032] Figure 1An application scenario of a 5G private network service security assurance method provided as an example in this application;

[0033] Figure 2 A flowchart of a 5G private network service security assurance method provided in Example 1 of the present application;

[0034] Figure 3 A flowchart for limiting service access of non-whitelisted terminals provided in Example 1 of the present application;

[0035] Figure 4 A flowchart of a 5G private network service security assurance method based on a 5G user plane function module provided in Example 1 of the present application;

[0036] Figure 5 A flowchart of another 5G private network service security assurance method based on a 5G user plane function module provided in Embodiment 1 of the present application;

[0037] Figure 6 A flowchart of another 5G private network service security assurance method provided in Example 1 of the present application;

[0038] Figure 7 A flowchart of another 5G private network service security assurance method based on a 5G user plane function module provided in Embodiment 1 of the present application;

[0039] Figure 8 A flowchart of another 5G private network service security assurance method based on a 5G user plane function module provided in Embodiment 1 of the present application;

[0040] Fig. 9 A schematic diagram of the structure of a 5G private network service security assurance device provided in Example 2 of the present application;

[0041] Fig.10 A schematic diagram of the structure of another 5G private network service security assurance device provided in Example 2 of the present application;

[0042] Fig.11 A schematic diagram of the structure of another 5G private network service security assurance device provided in Example 2 of the present application;

[0043] Fig.12 A schematic diagram of the structure of another 5G private network service security assurance device provided in Example 2 of the present application;

[0044] Fig.13 A schematic diagram of the structure of an electronic device provided in Example 3 of the present application.

[0045] 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

[0046] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application.

[0047] First, let’s introduce the professional terms involved in this application:

[0048] 5G private network, also called local 5G network or private 5G network, refers to a mobile communication network dedicated to a specific industry or enterprise. Different from a private network, the 2G / 3G / 4G / 5G mobile communication network that smartphones connect to is called a public network. The public network is a "public place" where hundreds of millions of mobile users share the same network, the same frequency band resources and network equipment. The concept of private network is not unfamiliar. It existed as early as the 2G / 3G / 4G era, such as railway private network, public safety private network, military private network, etc.

[0049] 5G private networks provide a new mode of data production and transmission for new data needs in the process of digital transformation of enterprises. 5G private networks give full play to the characteristics of large bandwidth, low latency, and wide connection, and provide enterprise users and industrial Internet terminals with data transmission channels that are different from the public network and meet the needs of new digital services. Since 5G private networks often deeply serve the production and management business of enterprises, 5G private network users often have higher requirements for the network security of private networks than public users. For example, it is necessary to configure random time-varying IP addresses for servers with high security levels to prevent terminals from obtaining the IP addresses of servers and launching attacks.

[0050] In order to meet this security requirement, the traditional solution to the problem of server access with time-varying IP addresses is to configure a domain name server (DNS). When a terminal generates a business demand, it initiates business access to the domain name. The business access will first be sent to the DNS, which will perform domain name resolution, that is, identify the latest IP address corresponding to the domain name. The DNS will then send the latest IP address corresponding to the domain name to the terminal, and the terminal will then initiate business access to the latest IP address.

[0051] However, since 5G private networks are often used to carry services that are sensitive to latency, such as remote control, the above solution can achieve access to time-varying IP address services, but since domain name resolution must be completed first and then the terminal re-initiates access, the domain name server still needs to send the server's latest IP address to the terminal, which will also expose the server's IP address, and the protection of high-security level servers is insufficient. In addition, the latency of the above access process is also relatively long.

[0052] The 5G private network service security assurance method, device, equipment and storage medium provided in this application are intended to solve the above technical problems of the prior art.

[0053] This application can be applied to Figure 1 In the application scenario shown. Figure 1 The terminal shown is a device that can initiate a service request to the server, such as a smartphone, tablet computer, desktop computer, etc. with a web page access function. Under the communication architecture of the 5G private network, when the terminal initiates a service access to the server through a 5G base station, such as initiating an access request to a certain website's domain name or IP address, the terminal identifier, the server address to be accessed, and the service request will be packaged and sent to the 5G private network service security device, which will parse and identify the service request and send it to the server.

[0054] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. 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. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0055] Embodiment 1

[0056] Figure 2 A flowchart of a 5G private network service security assurance method provided in Example 1 of the present application includes the following steps:

[0057] S100: Receive a service access request from a terminal, and parse and obtain a server address in the service access request.

[0058] The terminal may be a mobile terminal that accesses the Internet through wireless communication. Specifically, it may be a mobile phone, a tablet computer, or a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in telemedicine, a wireless terminal in smart grids, a wireless terminal in smart cities, a smart home, a vehicle-mounted terminal, etc. The terminal may also be a fixed terminal, such as a traditional desktop computer, which is connected to a router or a network port through a network cable to enable access to the Internet.

[0059] S200. According to the server address, query the address record of each server to determine the current address of the first server to be accessed by the terminal; wherein the address record includes the current address and historical address of the server, and the address record of the first server includes the server address.

[0060] Specifically, when the server address parsed from the service access request exists in the aforementioned address record, the server corresponding to the server address is the first server. Through the correspondence between the current address and the historical address in the aforementioned address record, the currently accessible valid address of the first server can be determined.

[0061] Among them, the server configuration corresponding to the address record has a time-varying IP address, which will randomly and dynamically change its own IP to improve its own security.

[0062] S300: Forward the service access request to the current address of the first server, so that the first server performs service processing according to the service access request.

[0063] Among them, the server address parsed from the service access request can be a computer location identifier such as a domain name, IP address, etc. Correspondingly, the address record of each server also includes a domain name and an IP address. It should be noted that the IP address is a logical address used to uniquely identify a computer on the Internet, allowing computers to communicate with each other. Each networked computer relies on the IP address to distinguish and communicate with each other. Since the IP address is a digital identifier, it is difficult to remember and write when used. Therefore, a symbolic address scheme has been developed based on the IP address to replace the digital IP address. Each symbolic address corresponds to a specific IP address, making it easy to access resources on the network. This character address corresponding to the digital IP address on the network is called a domain name.

[0064] When the server address parsed from the service access request exists in the aforementioned address record, it may hit the historical address in the address record or the current address in the address record. For example, when the terminal initiates service access, the IP address of the server has been updated. At this time, the server address in the service access request will be the same as one of the historical addresses in the address record of each server. Through the corresponding relationship of the address record, the corresponding current address can be obtained to achieve effective access to the server.

[0065] Correspondingly, when the terminal initiates service access, the IP address of the server has not been changed to a new IP address. At this time, the server address in the service access request will be the same as one of the current addresses in the address record of each server. Directly accessing the server address resolved from the service access request can achieve effective access to the server.

[0066] Furthermore, the 5G private network service security assurance method provided in the embodiment of the present application also includes: synchronously updating the address record of each server according to the latest address of each server. Specifically, in order to ensure the validity of the IP address for service access, when a server configured with a time-varying IP address changes its own IP address according to a preset rule, the address record of the server needs to be updated.

[0067] The above method determines the current address of the first server to be accessed by the terminal by querying the address records of each server, thereby obtaining the latest address of a high-level security server with a time-varying IP address; by forwarding the service access request to the latest address, the terminal's service access needs are met. In this process, there is no need to feed back the latest address obtained to the terminal, which improves the security protection capability of high-security level services and reduces service access delays.

[0068] In practical applications, the execution subject of the 5G private network service security assurance method can be a service security assurance device based on the 5G private network. Among them, the device can be a network device such as a base station that can access the terminal and provide 5G private network communication services. The device can be implemented by a computer program, such as application software, etc.; or, the device can also be implemented as a medium storing relevant computer programs, such as a USB flash drive, a cloud disk, etc.; or, the device can also be implemented by a physical device integrated or installed with relevant computer programs, such as a chip, etc.

[0069] Furthermore, after receiving the service access request of the terminal in step 100, the method further includes: parsing and obtaining the terminal identifier of the terminal; if the terminal identifier is not in the preset whitelist, denying the terminal service access. Figure 3 This is a flowchart of limiting service access of non-whitelisted terminals provided in Example 1 of the present application. The specific steps are as follows:

[0070] S110, receiving a service access request from a terminal;

[0071] S120, parse and obtain the server address in the service access request; parse and obtain the terminal identifier of the terminal;

[0072] S130, determining whether the terminal identifier is in a preset whitelist;

[0073] If the terminal identifier is not in the preset whitelist, S140 is executed to deny the terminal's service access.

[0074] If the terminal identifier is in the preset whitelist, execute S200, query the address records of each server according to the server address, and determine the current address of the first server to be accessed by the terminal; wherein the address record includes the current address and the historical address of the server, and the address record of the first server includes the server address;

[0075] S300: Forward the service access request to the current address of the first server, so that the first server performs service processing according to the service access request.

[0076] The order of parsing the server address and the terminal identifier from the service access request in S120 is not limited in the embodiment of the present application, and the server address and the terminal identifier can be obtained by parsing simultaneously or successively. Since the whitelist is set according to preset rules, the terminal identifiers in the whitelist corresponding to different servers may be different, so it is usually necessary to make a judgment in combination with the specific server.

[0077] The above further improves the security protection capability of high-security level services by restricting the access of non-whitelist terminals to the server.

[0078] It should be noted here that the User Plane Function (UPF) is an important part of the 5G core network system architecture of the 3rd Generation Partnership Project (3GPP), which mainly supports the routing and forwarding of user equipment (UE) service data, data and service identification, action and policy execution, etc.

[0079] Based on the network architecture of the 5G industry, receiving the service access request of the terminal in S110 specifically includes: receiving the service access request of the terminal forwarded by the 5G user plane function module. Forwarding the service access request to the current address of the first server in S300 specifically includes: if the terminal identifier is in the preset whitelist, sending the current address of the first server to the 5G user plane function module, so that the 5G user plane function module forwards the service access request of the terminal to the current address of the first server.

[0080] Specifically, Figure 4 A flowchart of a 5G private network service security assurance method based on a 5G user plane function module provided in Embodiment 1 of the present application. The steps are as follows: S111, receiving a service access request of a terminal forwarded by a 5G user plane function module;

[0081] S120, parse and obtain the server address in the service access request; parse and obtain the terminal identifier of the terminal;

[0082] S130, determining whether the terminal identifier is in a preset whitelist;

[0083] If the terminal identifier is not in the preset whitelist, S140 is executed to deny the terminal's service access.

[0084] If the terminal identifier is in the preset whitelist, execute S200, query the address records of each server according to the server address, and determine the current address of the first server to be accessed by the terminal; wherein the address record includes the current address and the historical address of the server, and the address record of the first server includes the server address;

[0085] S301. Send the current address of the first server to the 5G user plane function module so that the 5G user plane function module forwards the service access request of the terminal to the current address of the first server.

[0086] Based on the network architecture of the 5G industry, the isolation of the latest address of the terminal and the server is achieved through the 5G user plane functional module, preventing the terminal from learning the latest address of the server and launching an attack.

[0087] Based on the above example, if the terminal identifier is not in the preset whitelist, the terminal's service access is denied, including: if the terminal identifier is not in the preset whitelist, a blocking service identifier is sent to the 5G user plane function module so that the 5G user plane function module does not forward the service access request.

[0088] Specifically, Figure 5 This is a flowchart of another 5G private network service security assurance method based on a 5G user plane function module provided in Example 1 of the present application. Figure 4 , replace S140 with S141 for execution. S141 is: send a blocking service identifier to the 5G user plane function module so that the 5G user plane function module does not forward the service access request. Based on the network architecture of the 5G industry, by sending a blocking service identifier to the 5G user plane function module, the access of non-whitelist terminals to the server is restricted, thereby improving the security assurance capability of high-security level services.

[0089] The 5G private network service security assurance method provided in the embodiment of the present application also includes: if the address record of each server does not include the server address, the service access request is forwarded to the server address.

[0090] Specifically, when the server to be accessed by the terminal is not configured with a time-varying IP address, the address records of the aforementioned servers will not include the server address parsed from the service access request. The server address is then the current address of the server to be accessed by the terminal. The service access request is directly forwarded to the parsed server address, so that the corresponding server can perform service processing according to the service access request.

[0091] For example, Figure 6 This is a flowchart of another 5G private network service security assurance method provided in Example 1 of the present application. The execution steps are as follows:

[0092] S100, receiving a service access request from a terminal, parsing and obtaining a server address in the service access request;

[0093] S210, querying the address records of each server according to the server address;

[0094] S400, determining whether the address record of each server includes the server address;

[0095] If not included, execute S500 to forward the service access request to the server address, so that the corresponding server performs service processing according to the service access request.

[0096] If included, execute S220, determine the current address of the first server to be accessed by the terminal; S300, forward the service access request to the current address of the first server, so that the first server performs service processing according to the service access request.

[0097] Furthermore, based on the network architecture of the 5G industry, the service access request is forwarded to the server address, specifically including: if the address record of each server does not include the server address, the server address is sent to the 5G user plane function module, so that the 5G user plane function module forwards the terminal's service access request to the server address.

[0098] Specifically, Figure 7 A flowchart of another 5G private network service security assurance method based on a 5G user plane function module provided in Embodiment 1 of the present application. Figure 6 , replace S500 with S501 for execution. S501 is: sending the server address to the 5G user plane function module, so that the 5G user plane function module forwards the service access request of the terminal to the server address.

[0099] Based on the network architecture of the 5G industry, Figure 8 A flowchart of another 5G private network service security assurance method based on a 5G user plane function module provided in Embodiment 1 of the present application. The execution steps are as follows:

[0100] S111. Receive a service access request of a terminal forwarded by a 5G user plane function module;

[0101] S120, parse and obtain the server address in the service access request; parse and obtain the terminal identifier of the terminal;

[0102] S130, determining whether the terminal identifier is in a preset whitelist;

[0103] If the terminal identifier is not in the preset whitelist, execute S141 and send a blocking service identifier to the 5G user plane function module so that the 5G user plane function module does not forward the service access request.

[0104] If the terminal identifier is in the preset whitelist, then S210 is executed, querying the address records of each server according to the server address;

[0105] S400, determining whether the address record of each server contains the server address;

[0106] If not included, execute S501 and send the server address to the 5G user plane function module so that the 5G user plane function module forwards the terminal's service access request to the server address.

[0107] If included, executing S220, determining the current address of the first server to be accessed by the terminal;

[0108] S301. Send the current address of the first server to the 5G user plane function module so that the 5G user plane function module forwards the service access request of the terminal to the current address of the first server.

[0109] The 5G private network service security assurance method provided in the embodiment of the present application includes: receiving a service access request from a terminal, parsing to obtain the server address in the service access request; querying the address records of each server according to the server address, and determining the current address of the first server to be accessed by the terminal; wherein the address record includes the current address and historical address of the server, and the address record of the first server includes the server address; forwarding the service access request to the current address of the first server, so that the first server performs service processing according to the service access request. By querying the address records of each server, the latest address of a high-security server configured with a time-varying IP address is obtained; by forwarding the service access request to the latest address, the terminal's service access is achieved, and there is no need to feed back the server address to the terminal, thereby improving the security assurance capability of high-security services.

[0110] Embodiment 2

[0111] Fig. 9 A structural diagram of a 5G private network service security assurance device provided for the first embodiment of the present application includes: a parsing and identification module 10, a synchronization module 20 and a forwarding module 30. The parsing and identification module 10 is used to receive a service access request from a terminal and parse and obtain a server address in the service access request; the synchronization module 20 is used to query the address records of each server according to the server address to determine the current address of the first server to be accessed by the terminal; the address record includes the current address and the historical address of the server, and the address record of the first server includes the server address; the forwarding module 30 is used to forward the service access request to the current address of the first server, so that the first server performs service processing according to the service access request.

[0112] The server address resolved from the service access request may be a computer location identifier such as a domain name, IP address, etc. The address record of each server also includes a domain name and an IP address. When the server address resolved from the service access request exists in the aforementioned address record, it may hit a historical address in the address record or a current address in the address record.

[0113] Specifically, when the terminal initiates service access, the IP address of the server has been updated. At this time, the server address in the service access request will be the same as one of the historical addresses in the address record of each server. Through the corresponding relationship of the address record, the corresponding current address can be obtained to achieve effective access to the server.

[0114] Alternatively, when the terminal initiates service access, the server's IP address has not been changed to a new IP address. At this time, the server address in the service access request will be the same as one of the current addresses in the address record of each server. Directly accessing the server address resolved from the service access request can achieve effective access to the server.

[0115] Furthermore, the synchronization module 20 is also used to synchronously update the address records of each server according to the latest address of each server. Generally, a high security level server is configured with a time-varying IP address.

[0116] For example, Fig.10 The structural diagram of another 5G private network service security protection device provided in the second embodiment of the present application includes a parsing and identification module 10, a synchronization module 20, a forwarding module 30 and a high security level server module 40. Fig.10 As shown, the high security level server module 40 is connected to the forwarding module 30. Specifically, in order to ensure the validity of the IP address for service access, when a server configured with a time-varying IP address changes its own IP address according to a preset rule, the address record of the server needs to be updated.

[0117] Furthermore, the parsing and identification module 10 is also used to parse and obtain the terminal identification of the terminal; if the terminal identification is not in the preset white list, the service access of the terminal is denied. By restricting the access of non-white list terminals to the server, the security protection capability of high security level services is further improved.

[0118] Fig.11 A structural diagram of another 5G private network service security assurance device provided in Example 2 of the present application includes a parsing and identification module 10, a synchronization module 20, a forwarding module 30, a high security level server module 40 and a 5G user plane function module 50.

[0119] Under the network architecture of the 5G private network, the parsing and identifying module 10 is specifically used for receiving the service access request of the terminal forwarded by the 5G user plane function module 50. The forwarding module 30 is specifically used for sending the current address of the first server to the 5G user plane function module if the terminal identifier is in the preset whitelist, so that the 5G user plane function module forwards the service access request of the terminal to the current address of the first server. The embodiment of the present application realizes the isolation of the latest address of the terminal and the server through the 5G user plane function module 50, so as to prevent the terminal from launching an attack by knowing the latest address of the server.

[0120] Furthermore, the forwarding module 30 is also used to send a blocking service identifier to the 5G user plane function module 50 if the terminal identifier is not in the preset whitelist, so that the 5G user plane function module 50 does not perform forwarding of the service access request.

[0121] The 5G private network service security assurance device provided in the embodiment of the present application does not require the help of a DNS server for high-security level servers whose IP addresses randomly change in the 5G private network. The IP address information is synchronized with the high-security level server module 40 through the synchronization module 20. The 5G user plane function module 50 directly forwards the terminal's service access request to the high-security level server to the correct address, allowing the terminal to achieve low-latency access to such servers and restricting access to such servers by non-whitelisted terminals, thereby improving the security assurance capability of high-security level services and reducing service access latency.

[0122] Furthermore, the forwarding module 30 is further configured to forward the service access request to the server address if the address record of each server does not include the server address.

[0123] Specifically, when the server to be accessed by the terminal is not configured with a time-varying IP address, the address records of the aforementioned servers will not include the server address parsed from the service access request. The server address is then the current address of the server to be accessed by the terminal. The service access request is directly forwarded to the parsed server address, so that the corresponding server can perform service processing according to the service access request.

[0124] Furthermore, the forwarding module 30 is specifically used to send the server address to the 5G user plane function module if the address record of each server does not include the server address, so that the 5G user plane function module forwards the service access request of the terminal to the server address. Based on the network architecture of the 5G industry, the embodiment of the present application realizes access to the server without time-varying IP configuration through the 5G user plane function module 50.

[0125] In one example, the aforementioned parsing and identification module 10 and forwarding module 30 may be combined as follows: Fig.12 The data processing module 60 is shown. Fig.12 This is a structural diagram of another 5G private network service security assurance device provided in Example 2 of this application. Fig.12 , an example is given to illustrate the information interaction and operation process between the various modules of the 5G private network service security assurance device provided in an embodiment of the present application.

[0126] The 5G user plane function module 50 is used to receive a service access request sent by the terminal through the base station, and send the service access request to the data processing module 60. The 5G user plane function module 50 receives information fed back by the data processing module 60. If a blocking service identifier is received, the service access request is not forwarded; if no blocking service identifier is received, the service access request is forwarded to the destination address received from the data processing module 60.

[0127] The data processing module 60 is used to identify the first server address and terminal identifier of the service access request. If the terminal identifier is a non-whitelist terminal according to the preset rules, a blocking service identifier is sent to the 5G user plane function module 50; otherwise, the first server address is sent to the synchronization module 20. If the latest address is fed back by the synchronization module 20, the latest address is sent to the 5G user plane function module 50. If the latest address is not fed back by the synchronization module 20, the first server address is sent to the 5G user plane function module 50, where the first server address can be a domain name, IP address, etc.

[0128] The synchronization module 20 is used to synchronize address update information with the high security level server module 40. The synchronization module 20 receives the latest address information sent by the high security level server module 40, and records the historical address information and domain name information of the server. When the first server address sent by the data processing module 60 hits the historical address or domain name of a high security level server, the latest address of the server is sent to the data processing module 60. If there is no hit, no information is sent to the data processing module 60.

[0129] The high security level server module 40 is used to process the user's service access request. The high security level server changes its own IP address according to a preset rule and sends the changed IP address information to the synchronization module 20.

[0130] The 5G private network service security assurance device provided in the embodiment of the present application includes: a parsing and identification module 10, which is used to receive the service access request of the terminal and parse and obtain the server address in the service access request; a synchronization module 20, which is used to query the address records of each server according to the server address, and determine the current address of the first server to be accessed by the terminal; wherein the address record includes the current address and historical address of the server, and the address record of the first server includes the server address; a forwarding module 30, which is used to forward the service access request to the current address of the first server, so that the first server performs service processing according to the service access request. The embodiment of the present application realizes the acquisition of the latest address of the high-security level server configured with a time-varying IP address by querying the address records of each server; the service access of the terminal is realized by forwarding the service access request to the latest address, and there is no need to feed back the server address to the terminal, thereby improving the security assurance capability of high-security level services.

[0131] Embodiment 3

[0132] Fig.13 A schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present application is shown in FIG. Fig.13 As shown, the electronic equipment includes:

[0133] The electronic device includes a processor 291 and a memory 292; it may also include a communication interface 293 and a bus 294. The processor 291, the memory 292, and the communication interface 293 may communicate with each other through the bus 294. The communication interface 293 may be used for information transmission. The processor 291 may call the logic instructions in the memory 292 to execute the method of the above embodiment.

[0134] In addition, the logic instructions in the above-mentioned memory 292 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0135] The memory 292 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 291 executes functional applications and data processing by running the software programs, instructions, and modules stored in the memory 292, that is, implementing the methods in the above method embodiments.

[0136] The memory 292 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 292 may include a high-speed random access memory and may also include a non-volatile memory.

[0137] An embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method provided in the first embodiment.

[0138] 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.

[0139] 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 service security assurance method, characterized in that: include: Receiving a service access request from a terminal, and parsing to obtain a server address in the service access request; The server address is a unique location identifier of the computer; According to the server address, query the address records of each server to determine the current address of the first server to be accessed by the terminal; wherein the address record includes the current address and historical address of the server, and the corresponding relationship between the current address and the historical address, and the first server is a server determined in the address record to be consistent with the server address; the current address is the address of the server after the latest configuration change; the historical address is the address of the server before the latest configuration change; The service access request is forwarded to the current address of the first server, so that the first server performs service processing according to the service access request.

2. The method according to claim 1, characterized in that After receiving the service access request of the terminal, the method further includes: Parsing and obtaining a terminal identifier of the terminal; If the terminal identifier is not in the preset whitelist, the service access of the terminal is denied.

3. The method according to claim 2, characterized in that The receiving terminal's service access request comprises: Receiving a service access request of the terminal forwarded by a 5G user plane function module; The forwarding the service access request to the current address of the first server includes: If the terminal identifier is in the preset whitelist, the current address of the first server is sent to the 5G user plane function module so that the 5G user plane function module forwards the service access request of the terminal to the current address of the first server.

4. The method according to claim 3, characterized in that If the terminal identifier is not in the preset whitelist, denying the terminal service access includes: If the terminal identifier is not in the preset whitelist, a blocking service identifier is sent to the 5G user plane function module so that the 5G user plane function module does not forward the service access request.

5. The method according to claim 3, characterized in that: The method further comprises: If the address record of each server does not include the server address, the service access request is forwarded to the server address.

6. The method according to claim 5, characterized in that The forwarding the service access request to the server address includes: If the address record of each server does not include the server address, the server address is sent to the 5G user plane function module so that the 5G user plane function module forwards the service access request of the terminal to the server address.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: According to the latest address of each server, the address record of each server is synchronously updated.

8. A 5G private network service security assurance device, characterized in that: include: A parsing and identifying module, used for receiving a service access request from a terminal, and parsing to obtain a server address in the service access request; The server address is a unique location identifier of the computer; A synchronization module, configured to query the address records of each server according to the server address, and determine the current address of the first server to be accessed by the terminal; wherein the address record includes the current address and historical address of the server, and the corresponding relationship between the current address and the historical address, and the first server is a server determined in the address record to be consistent with the server address; the current address is the address of the server after the latest configuration change; and the historical address is the address of the server before the latest configuration change; The forwarding module is used to forward the service access request to the current address of the first server, so that the first server performs service processing according to the service access request.

9. The device according to claim 8, characterized in that After receiving the service access request of the terminal, the parsing and identifying module is further used to parse and obtain the terminal identification of the terminal; If the terminal identifier is not in the preset whitelist, the service access of the terminal is denied.

10. The device according to claim 9, characterized in that The parsing and identifying module is specifically used to receive the service access request of the terminal forwarded by the 5G user plane function module, and parse to obtain the server address in the service access request; The forwarding module is specifically used to send the current address of the first server to the 5G user plane function module if the terminal identifier is in a preset whitelist, so that the 5G user plane function module forwards the service access request of the terminal to the current address of the first server.

11. The device according to claim 10, characterized in that The parsing and identification module is also used to send a blocking service identifier to the 5G user plane function module if the terminal identifier is not in the preset whitelist, so that the 5G user plane function module does not forward the service access request.

12. The device according to claim 10, characterized in that The forwarding module is further configured to forward the service access request to the server address if the address record of each server does not include the server address.

13. The device according to claim 12, characterized in that The forwarding module is specifically used to send the server address to the 5G user plane function module if the address record of each server does not include the server address, so that the 5G user plane function module forwards the service access request of the terminal to the server address.

14. The device according to any one of claims 8 to 13, characterized in that: The synchronization module is also used to synchronously update the address records of each server according to the latest address of each server.

15. 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 according to any one of claims 1 to 7.

16. 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 7 when executed by a processor.

Citation Information

Patent Citations

  • Routing method, device, system and gateway equipment

    CN103888358A

  • Method and apparatus for dynamic allocation of private address space based upon domain name service queries

    US6944167B1