Network access method and device of user terminal, equipment and storage medium
By introducing base stations with dedicated network core network equipment and wireless network sharing functions in the enterprise park, distinguishing and separating network access between industrial users and ordinary users, the business interruption caused by public network failure is solved and the network security of industrial users is ensured. .
Patent Information
- Application Number
- CN202310678663.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-08
- Publication Date
- 2024-12-10
AI Technical Summary
In the prior art, public network fiber failures will cause business interruption of industrial users and cannot guarantee network security.
By introducing a dedicated network core network device into the enterprise park, using a base station with wireless network sharing function to communicate and connect with the dedicated network user terminal, and sending network access requests to the dedicated network core network equipment and the public network core network equipment respectively. Determine whether the user terminal is a private network user based on the PLMN network number and communication type related information. If it is a private network user, connect it to the private network core network equipment to avoid access through the public network.
It effectively avoids the impact of public network failure on private network users and ensures the network security and business continuity of industrial users.
Smart Images

Figure CN119110372A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of communication technology, and in particular to a network access method, device, equipment and storage medium for a user terminal. Background Art
[0002] At present, in the construction of mobile communications in enterprise parks, there are both ordinary users of mobile terminals and industrial users of IoT devices. At present, both ordinary users and industrial users are connected to the public network to ensure the communication of enterprise parks.
[0003] Since industrial users have higher requirements for network security, if the optical fiber on the public network fails, it will affect the normal use of the network, causing the corresponding business of the industrial users to be interrupted and network security cannot be guaranteed. Summary of the invention
[0004] The embodiments of the present invention provide a network access method, device, equipment and storage medium for a user terminal, which solve the problem in the prior art that a public network optical fiber failure may cause business interruption of industrial users and network security cannot be guaranteed.
[0005] In a first aspect, an embodiment of the present invention provides a network access method for a user terminal, the method being applied to a private network core network device, the private network core network device being communicatively connected to a private network user terminal through a base station having a wireless network sharing function, and the base station having a wireless network sharing function being also communicatively connected to a public network core network device and a public network user terminal, the method comprising:
[0006] receiving a network access request sent by the base station, wherein the network access request is sent by a target user terminal to the base station, and the network access request includes information related to a communication type and a public land mobile network PLMN network number;
[0007] Determine the target communication type corresponding to the target user terminal according to the communication type related information;
[0008] Determine whether the target user terminal is a private network user terminal according to the PLMN network number;
[0009] In response to the target user terminal being a private network user terminal, the target user terminal is connected to the corresponding private network core network device based on the target communication type to enable the target user terminal to access the private network.
[0010] Optionally, in the method described above, the communication type related information includes any one or more of the following information:
[0011] Temporary mobile user identity Tmsi information, registered access and mobility management function registeredAmf information, network slice selection assistance Nssai information;
[0012] Determining the target communication type corresponding to the target user terminal according to the communication type related information includes:
[0013] Parsing the communication type related information to obtain a pre-configured communication type;
[0014] The preconfigured communication type is determined as the target communication type.
[0015] Optionally, in the method as described above, determining whether the target user terminal is a private network user terminal according to the PLMN network number includes:
[0016] Comparing the PLMN network number with the PLMN network number corresponding to the pre-configured private network user terminal;
[0017] In response to the PLMN network number being consistent with the PLMN network number corresponding to the private network user terminal, determining that the target user terminal is a private network user terminal;
[0018] In response to the PLMN network number being inconsistent with the PLMN network number corresponding to the private network user terminal, it is determined that the target user terminal is not a private network user terminal.
[0019] Optionally, in the method described above, the communication type related information includes Nssai information; the network access request also includes a cell identifier where the target user terminal is located;
[0020] Before the target user terminal is connected to the corresponding private network core network device based on the target communication type, the method further includes:
[0021] Determine the service type corresponding to the target user terminal according to the Nssai information;
[0022] Determine the workshop identifier to which the target user terminal belongs according to the cell identifier where the target user terminal is located;
[0023] Determining whether the target user terminal is a legitimate user terminal according to the service type and the workshop identifier to which it belongs;
[0024] The step of accessing the target user terminal to a corresponding private network core network device based on the target communication type to enable the target user terminal to access the private network includes:
[0025] In response to the target user terminal being a legitimate user terminal, the target user terminal is connected to the corresponding private network core network device based on the target communication type, so as to enable the target user terminal to access the private network.
[0026] Optionally, in the above method, the determining the workshop identifier to which the target user terminal belongs according to the cell identifier where the target user terminal is located includes:
[0027] Acquire a pre-stored first mapping relationship between a cell identifier and a workshop identifier;
[0028] A workshop identifier having a mapping relationship with the cell identifier where the target user terminal is located is obtained from the first mapping relationship as the workshop identifier to which the target user terminal belongs.
[0029] Optionally, in the above method, judging whether the target user terminal is a legitimate user terminal according to the service type and the workshop identifier to which it belongs includes:
[0030] Acquire a pre-stored second mapping relationship between the business type and the workshop identifier;
[0031] Matching the business type and the corresponding workshop identifier with the second mapping relationship;
[0032] In response to the existence of a matching second mapping relationship, determining that the target user terminal is a legitimate user terminal;
[0033] In response to the absence of a matching second mapping relationship, it is determined that the target user terminal is not a legitimate user terminal.
[0034] Optionally, in the above method, after determining that the target user terminal is not a legitimate user terminal, the method further includes:
[0035] An illegal access warning message is sent to the target user terminal through the base station.
[0036] Optionally, in the method as described above, the step of accessing the target user terminal to a corresponding private network core network device based on the target communication type to enable the target user terminal to access the private network further includes:
[0037] Connecting the target user terminal to the corresponding private network core network device based on the target communication type;
[0038] A communication link is established between network element devices corresponding to the workshop identification to which the target user terminal belongs, so as to enable the target user terminal to access the private network.
[0039] In a second aspect, an embodiment of the present invention provides a network access method for a user terminal, the method being applied to a base station having a wireless network sharing function, the base station being respectively connected to a private network core network device and a public network core network device, the base station being respectively connected to a private network user terminal and a public network user terminal, the method comprising:
[0040] Receiving a network access request sent by the target user terminal, wherein the network access request includes information related to the communication type and a public land mobile network PLMN network number;
[0041] The network access request is sent to the private network core network device and the public network core network device respectively, and the network access request is used to instruct the private network core network device to determine the target communication type corresponding to the target user terminal according to the communication type related information, determine whether the target user terminal is a private network user terminal according to the PLMN network number, and in response to the target user terminal being a private network user terminal, access the target user terminal to the corresponding private network core network device based on the target communication type; the network access request is also used to instruct the public network core network device to determine the target communication type corresponding to the target user terminal according to the communication type related information, determine whether the target user terminal is a public network user terminal according to the PLMN network number, and in response to the target user terminal being a public network user terminal, access the target user terminal to the corresponding public network core network device based on the target communication type.
[0042] In a third aspect, an embodiment of the present invention provides a network access device for a user terminal, the device is located in a private network core network device, the private network core network device is communicated with the private network user terminal through a base station with a wireless network sharing function, and the base station with the wireless network sharing function is also communicated with a public network core network device and a public network user terminal. The device includes:
[0043] A receiving module, configured to receive a network access request sent by the base station, wherein the network access request is sent by a target user terminal to the base station, and the network access request includes information related to a communication type and a public land mobile network PLMN network number;
[0044] A first determining module, configured to determine a target communication type corresponding to the target user terminal according to the communication type related information;
[0045] A second determination module, configured to determine whether the target user terminal is a private network user terminal according to the PLMN network number;
[0046] The network access module is used to connect the target user terminal to the corresponding private network core network device based on the target communication type in response to the target user terminal being a private network user terminal, so as to enable the target user terminal to access the private network.
[0047] In a fourth aspect, an embodiment of the present invention provides a network access device for a user terminal, the device is located in a base station with a wireless network sharing function, the base station is respectively communicated with a private network core network device and a public network core network device, and the base station is also respectively communicated with a private network user terminal and a public network user terminal, and the device includes:
[0048] A receiving module, configured to receive a network access request sent by the target user terminal, wherein the network access request includes information related to the communication type and a public land mobile network PLMN network number;
[0049] A sending module, used for sending the network access request to a private network core network device and a public network core network device respectively, wherein the network access request is used to instruct the private network core network device to determine the target communication type corresponding to the target user terminal according to the communication type related information, determine whether the target user terminal is a private network user terminal according to the PLMN network number, and in response to the target user terminal being a private network user terminal, access the target user terminal to the corresponding private network core network device based on the target communication type; the network access request is also used to instruct the public network core network device to determine the target communication type corresponding to the target user terminal according to the communication type related information, determine whether the target user terminal is a public network user terminal according to the PLMN network number, and in response to the target user terminal being a public network user terminal, access the target user terminal to the corresponding public network core network device based on the target communication type.
[0050] In a fifth aspect, an embodiment of the present invention provides a private network core network device, including: a processor, and a memory and a transceiver communicatively connected to the processor;
[0051] The memory stores computer-executable instructions; the transceiver is used to send and receive data;
[0052] The processor executes the computer-executable instructions stored in the memory to implement the method as described in any one of the first aspects.
[0053] In a sixth aspect, an embodiment of the present invention provides a base station, the base station having a wireless network sharing function, comprising: a processor, and a memory and a transceiver communicatively connected to the processor;
[0054] The memory stores computer-executable instructions; the transceiver is used to send and receive data;
[0055] The processor executes the computer-executable instructions stored in the memory to implement the method according to the second aspect.
[0056] In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the method as described in any one of the first aspect or the second aspect.
[0057] In an eighth aspect, an embodiment of the present invention provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method as described in any one of the first aspects is implemented.
[0058] The embodiment of the present invention provides a network access method, device, equipment and storage medium for a user terminal, the method is applied to a private network core network device, the private network core network device is connected to the private network user terminal through a base station with a wireless network sharing function, and the base station with a wireless network sharing function is also connected to the public network core network device and the public network user terminal, the method comprises: receiving a network access request sent by the base station, the network access request is sent by the target user terminal to the base station, the network access request includes communication type related information and a public land mobile network PLMN network number; determining the target communication type corresponding to the target user terminal according to the communication type related information; determining whether the target user terminal is a private network user terminal according to the PLMN network number; in response to the target user terminal being a private network user terminal, the target user terminal is connected to the corresponding private network core network device based on the target communication type, so as to realize the target user terminal accessing the private network. Since the target user terminal can send a network access request to the base station, the base station can receive the network access request sent by the target user terminal, and can send the network access request to the private network core network device and the public network core network device respectively, the network access request includes communication type related information and the PLMN network number. At the same time, since the private network core network equipment determines the target communication type corresponding to the target user terminal according to the communication type related information, and determines whether the target user terminal is a private network user terminal according to the PLMN network, when the target user terminal is a private network user terminal, the target user terminal is connected to the corresponding private network core network equipment based on the target communication type to enable the target user terminal to access the private network. Therefore, the private network user terminal accesses the private network through the private network core network equipment, without passing through the public network, and the public network failure will not affect the business of the private network user, thereby ensuring the network security of the private network user.
[0059] It should be understood that the contents described in the above summary of the invention are not intended to limit the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0061] Figure 1 A schematic diagram of an application scenario of the network access method for a user terminal provided in an embodiment of the present invention;
[0062] Figure 2 A flowchart of a network access method for a user terminal provided by an embodiment of the present invention;
[0063] Figure 3 A flowchart of a network access method for a user terminal provided by another embodiment of the present invention;
[0064] Figure 4 A flowchart of a network access method for a user terminal provided by another embodiment of the present invention;
[0065] Figure 5 A schematic diagram of the structure of an industrial terminal monitoring device provided by an embodiment of the present invention;
[0066] Figure 6 A schematic diagram of the structure of an industrial terminal monitoring device provided by another embodiment of the present invention;
[0067] Figure 7 A schematic diagram of the structure of a private network core network device provided in one embodiment of the present invention;
[0068] Figure 8 A schematic diagram of the structure of a base station provided in one embodiment of the present invention. DETAILED DESCRIPTION
[0069] Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.
[0070] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the embodiments of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein, for example, can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0071] In order to clearly understand the technical solution of the present application, the solution of the prior art is first introduced in detail.
[0072] In the current mobile communication construction of enterprise parks, ordinary users using mobile terminals and industrial users using IoT cards all access the Internet through the public network. However, since business interruptions for industrial users often cause huge losses, industrial users have higher requirements for network security than ordinary users. In the current mobile communication solutions, once a public network failure occurs, such as an optical fiber failure, it will affect the normal use of the network, resulting in business interruptions for both ordinary and industrial users, and the network security requirements of industrial users cannot be guaranteed.
[0073] In summary, in the prior art, there is a problem that a public network optical fiber failure may cause business interruption for industrial users and the network security cannot be guaranteed.
[0074] Therefore, in order to solve the technical problems in the prior art, the inventors found that when the public network optical fiber failure will cause the business terminal and network security of industrial users to be unable to be guaranteed, if industrial users and ordinary users can be distinguished, industrial users are connected to the private network core network equipment, and ordinary users are connected to the public network core network equipment, it is possible to avoid the public network failure causing the industrial users to be disconnected from the network and ensure the network security of industrial users. Therefore, the inventors proposed a network access method for a user terminal of the present application, which is applied to a private network core network equipment, the core network equipment communicates and connects with the private network user terminal through a base station with wireless network sharing, and the base station with wireless network sharing function also communicates and connects with the public network core network equipment and the public network user terminal, by receiving a network access request sent by the base station, the network access request is sent by the target user terminal to the base station, and the network access request includes communication type related information and public land mobile network PLMN network number; determining the target communication type corresponding to the target user terminal according to the communication type related information; determining whether the target user terminal is a private network user terminal according to the PLMN network number; in response to the target user terminal being a private network user terminal, the target user terminal is connected to the corresponding private network core network equipment based on the target communication type, so as to achieve the target user terminal access to the private network. Since the target user terminal can send a network access request to the base station, the base station can receive the network access request sent by the target user terminal, and can send the network access request to the private network core network device and the public network core network device respectively, and the network access request includes information related to the communication type and the PLMN network number. At the same time, since the private network core network device determines the target communication type corresponding to the target user terminal based on the information related to the communication type, and determines whether the target user terminal is a private network user terminal based on the PLMN network, when the target user terminal is a private network user terminal, the target user terminal is connected to the corresponding private network core network device based on the target communication type to enable the target user terminal to access the private network. Therefore, the private network user terminal accesses the private network through the private network core network device, and does not need to pass through the public network. The failure of the public network will not affect the business of the private network users, and thus, the network security of the private network users can be guaranteed.
[0075] The application scenarios of the embodiments of the present invention are introduced below.
[0076] Figure 1 A schematic diagram of an application scenario of the network access method for a user terminal provided in an embodiment of the present invention. Figure 1 As shown, an application scenario of the network access method of a user terminal includes: at least one target user terminal 11, a base station 12, a private network core network device 13, and a public network core network device 14. The base station 12 has a wireless network sharing function.
[0077] The private network core network device 13 is connected to the private network user terminal through the base station 12. The base station 12 is also connected to the public network core network device 14 and the public network user terminal.
[0078] The target user terminal 11 sends a network access request to the base station 12. The network access request includes information related to the communication type and a public land mobile network PLMN number. The target user terminal 11 can be a private network user terminal or a public network user terminal.
[0079] The base station 12 sends a network access request to the private network core network device 13 and the public network core network device 14 .
[0080] The private network core network device 13 receives the network access request sent by the base station 12; determines the target communication type corresponding to the target user terminal 11 according to the communication type related information; determines whether the target user terminal 11 is a private network user terminal according to the PLMN network number; in response to the target user terminal 11 being a private network user terminal, the target user terminal 11 is connected to the corresponding private network core network device 13 based on the target communication type, so as to realize the access of the target user terminal 11 to the private network.
[0081] The technical solution provided in the embodiments of the present application can be applicable to a variety of systems, such as global system of mobile communication (GSM) system, code division multiple access (CDMA) system, wideband code division multiple access (WCDMA) system, general packet radio service (GPRS) system, long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD) system, long term evolution advanced (LTE-A) system, universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) system, 5G new radio (NR) system, etc.
[0082] Therefore, optionally, the above-mentioned base station can be a base station (Base Transceiver Station, referred to as BTS) and / or a base station controller in GSM or CDMA, or a base station (NodeB, referred to as NB) and / or a radio network controller (Radio Network Controller, referred to as RNC) in WCDMA, or an evolved base station (EvolutionalNode B, referred to as eNB or eNodeB) in LTE, or a relay station or access point, or a base station (gNB) in a 5G network, which is not limited in this application.
[0083] Embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0084] Embodiment 1
[0085] Figure 2 A flowchart of a network access method for a user terminal provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the executing body of the network access method for the user terminal provided in the embodiment of the present invention is the network access device of the user terminal, and the network access device of the user terminal can be integrated in the private network core network equipment. The network access method for the user terminal provided in this embodiment is applied to the private network core network equipment. The private network core network equipment communicates with the private network user terminal through a base station with a wireless network sharing function. The base station with a wireless network sharing function also communicates with the public network core network equipment and the public network user terminal. The network access method for the user terminal provided in this embodiment includes steps 201 to 204.
[0086] Step 201: receiving a network access request sent by a base station. The network access request is sent by a target user terminal to the base station. The network access request includes information related to the communication type and a public land mobile network PLMN network number.
[0087] In this embodiment, the target user terminal may be a public network user terminal or a private network user terminal. The user of the public network user terminal is an ordinary user, such as an ordinary individual, and the user of the private network user terminal is an industrial user, such as an industrial device.
[0088] The communication type related information is used to indicate the communication type of the target user terminal. The communication type may include the 4th generation mobile communication (4G), the 5th generation mobile communication (5G), etc., and may also include public network communication, private network communication, etc.
[0089] The Public Land Mobile Network (PLMN) number is used to identify a certain type of cellular mobile communication network of a certain operator in a certain country or region. PLMN is usually interconnected with other communication networks such as the Public Swithed Telephone Network (PSTN) to form a communication network on a regional or national scale.
[0090] Step 202: Determine the target communication type corresponding to the target user terminal according to the communication type related information.
[0091] In this embodiment, the private network core network device may pre-store a mapping relationship between communication type related information and communication types, and the private network core network device may determine the communication type having a mapping relationship with the communication type related information as the target communication type.
[0092] Step 203: Determine whether the target user terminal is a private network user terminal according to the PLMN network number.
[0093] In this embodiment, the PLMN network number of the target user terminal may include multiple types of PLMN network numbers, which may include, for example, a PLMN to which the target user terminal belongs, a PLMN to which the target user terminal is registered before the last shutdown or disconnection from the network, a PLMN visited by the target user terminal, etc. In this embodiment, the PLMN to which the target user terminal belongs may be pre-configured in a SIM card or an Internet of Things card corresponding to the target user terminal. When the target user terminal is powered on and accesses the network, the target user terminal may read the PLMN to which the target user terminal belongs from the SIM card or the Internet of Things card, and include the PLMN to which the target user terminal belongs in a network access request sent to the base station.
[0094] The private network core network device can read the PLMN to which the target user terminal belongs from the PLMN network number of the target user terminal. Since the PLMN to which the target user terminal belongs is pre-configured in the SIM card or IoT card corresponding to the target user, users who use SIM cards are mostly ordinary users, and users who use IoT cards are mostly industrial users. Therefore, different values of the PLMN to which the target user terminal belongs can be pre-configured for ordinary users and industrial users. Furthermore, the private network core network device can determine whether the target user terminal is a private network user terminal based on the value of the PLMN to which the target user terminal belongs.
[0095] Step 204, in response to the target user terminal being a private network user terminal, the target user terminal is connected to the corresponding private network core network device based on the target communication type to enable the target user terminal to access the private network.
[0096] In this embodiment, if the target user terminal is a private network user terminal, the target user terminal is the service object of the private network core network device. Therefore, the private network core network device needs to process the network access request of the target user terminal. Specifically, the target user terminal can be connected to the corresponding private network core network device according to the target communication type. Exemplarily, if the target communication type of the target user terminal is 4G communication, the target user terminal can be connected to the private network 4G core network device, and the private network 4G core network device performs subsequent processing on the access request of the target user terminal. If the target communication type of the target user terminal is 5G communication, the target user terminal can be connected to the private network 5G core network device, and the private network 5G core network device performs subsequent processing on the access request of the target user terminal. Here, the subsequent processing may refer to connecting the target user terminal to the corresponding private network application server, which is not limited in this embodiment.
[0097] The network access method of the user terminal provided in this embodiment is applied to a private network core network device, the private network core network device communicates and connects with the private network user terminal through a base station with a wireless network sharing function, and the base station with a wireless network sharing function also communicates and connects with a public network core network device and a public network user terminal, by receiving a network access request sent by the base station, the network access request is sent by the target user terminal to the base station, and the network access request includes information related to the communication type and a public land mobile network PLMN network number; determining the target communication type corresponding to the target user terminal according to the information related to the communication type; determining whether the target user terminal is a private network user terminal according to the PLMN network number; in response to the target user terminal being a private network user terminal, the target user terminal is connected to the corresponding private network core network device based on the target communication type, so as to realize the target user terminal accessing the private network. Since the target user terminal can send a network access request to the base station, the base station can receive the network access request sent by the target user terminal, and can send the network access request to the private network core network device and the public network core network device respectively, and the network access request includes information related to the communication type and the PLMN network number. At the same time, since the private network core network equipment determines the target communication type corresponding to the target user terminal according to the communication type related information, and determines whether the target user terminal is a private network user terminal according to the PLMN network, when the target user terminal is a private network user terminal, the target user terminal is connected to the corresponding private network core network equipment based on the target communication type to enable the target user terminal to access the private network. Therefore, the private network user terminal accesses the private network through the private network core network equipment, without passing through the public network, and the public network failure will not affect the business of the private network user, thereby ensuring the network security of the private network user.
[0098] As an optional implementation, based on Example 1, the communication type related information includes any one or more of the following information: temporary mobile user identity Tmsi information, registered access and mobility management function registeredAmf information, network slice selection assistance Nssai information; and, step 202 "determine the target communication type corresponding to the target user terminal according to the communication type related information" is refined, then step 202 is refined to include steps 2021 to 2022.
[0099] Step 2021: parse the communication type related information to obtain the pre-configured communication type.
[0100] Step 2022: determine the pre-configured communication type as the target communication type.
[0101] In this embodiment, the temporary mobile user identity TMSI information is a temporary "representative" of the IMSI. It is allocated to the user by the VLR for security considerations of the IMSI and to avoid transmitting the IMSI over the air interface as much as possible. The TMSI is unique in the current VLR.
[0102] IMSI refers to the International Mobile Subscriber Identification Number, which is a symbol for identifying mobile users. IMSI is unique across the entire network and globally, and is generally used when network access and TMSI update fail.
[0103] VLR refers to the Visitor Location Register, which serves mobile users in its control area. It stores the information of registered mobile users entering its control area and provides the necessary conditions for registered mobile users to establish call connections. When a user enters the VLR control area, the VLR will obtain and store the necessary data from the mobile user's home user location register. Once the user leaves, the data of the user in the VLR will be cancelled. It serves mobile users in its control area and stores the relevant data of registered mobile users entering its control area.
[0104] The registered access and mobility management function registeredAmf information is used to indicate the AMF network element registered by the target user terminal.
[0105] Network slice selection assistance Nssai information includes a set of one or more S-NSSAI. S-NSSAI refers to single network slice selection assistance information (Single Network Slice Selection Assistance Information), which is used to identify end-to-end network slices.
[0106] In this embodiment, the private network core network device parses the information related to the communication type to obtain any one or more of the following information included in the information related to the communication type: Tmsi information, registeredAmf information, and Nssai information. The private network core network device may store different mapping relationships between Tmsi information, registeredAmf information, and Nssai information and pre-configured communication types, and in the mapping relationship, the pre-configured communication type corresponding to the Tmsi information, registeredAmf information, and Nssai information of the target user terminal may be queried, and then the pre-configured communication type is determined as the target communication type of the target user terminal.
[0107] In the network access method for a user terminal provided in this embodiment, the communication type related information includes any one or more of the following information: temporary mobile user identity Tmsi information, registered access and mobility management function registeredAmf information, and network slice selection assistance Nssai information; the communication type related information is parsed to obtain a pre-configured communication type; and the pre-configured communication type is determined as the target communication type. Since the communication type related information is parsed and the pre-configured communication type is determined as the target communication type, the target communication type of the target user terminal can be determined.
[0108] As an optional implementation, based on any implementation in Example 1, step 203 "determining whether the target user terminal is a private network user terminal according to the PLMN network number" is refined, and step 203 is refined to include steps 2031 to 2033.
[0109] Step 2031, compare the PLMN network number with the PLMN network number corresponding to the pre-configured private network user terminal.
[0110] Step 2032: In response to the PLMN network number being consistent with the PLMN network number corresponding to the private network user terminal, determining that the target user terminal is a private network user terminal.
[0111] Step 2033: In response to the PLMN network number being inconsistent with the PLMN network number corresponding to the private network user terminal, it is determined that the target user terminal is not a private network user terminal.
[0112] In this embodiment, a PLMN network number can be pre-configured for a private network user terminal, and when the private network user terminal accesses the network, the pre-configured PLMN network number can be carried in a network access request. The private network core network device can compare the PLMN network number of the target user terminal with the pre-configured PLMN network number corresponding to the private network user terminal.
[0113] If the PLMN network number of the target user terminal is consistent with the PLMN network number corresponding to the private network user terminal pre-configured, the target user terminal is determined to be a private network user terminal. Conversely, if the PLMN network number of the target user terminal is inconsistent with the PLMN network number corresponding to the private network user terminal pre-configured, the target user terminal is determined not to be a private network user terminal.
[0114] Exemplarily, the PLMN network number is pre-configured for the private network user terminal as 46006. If the PLMN network number of the target user terminal is 46001, it is determined that the target user terminal is not a private network user terminal. If the PLMN network number of the target user terminal is 46006, it is determined that the target user terminal is a private network user terminal.
[0115] The network access method for a user terminal provided in this embodiment compares the PLMN network number with the PLMN network number corresponding to the pre-configured private network user terminal; in response to the PLMN network number being consistent with the PLMN network number corresponding to the private network user terminal, determines that the target user terminal is a private network user terminal; in response to the PLMN network number being inconsistent with the PLMN network number corresponding to the private network user terminal, determines that the target user terminal is not a private network user terminal. Since the target user terminal whose PLMN network number is consistent with the PLMN network number corresponding to the pre-configured private network user terminal is determined as a private network user terminal, it is possible to quickly and accurately determine whether the target user terminal is a private network user terminal.
[0116] Embodiment 2
[0117] Figure 3 1 is a flow chart of a network access method for a user terminal provided according to Embodiment 2 of the present application. Figure 3 As shown, the network access method for a user terminal provided in this embodiment, on the basis of any one of the above embodiments, the communication type related information includes Nssai information; the network access request also includes the cell identifier where the target user terminal is located; before "accessing the target user terminal to the corresponding private network core network device based on the target communication type" in step 204, it also includes steps 301 to 303; and, in step 204, "accessing the target user terminal to the corresponding private network core network device based on the target communication type" is further refined to include step 2041.
[0118] Step 301: determine the service type corresponding to the target user terminal according to the Nssai information.
[0119] In this embodiment, since the Nssai information is used to identify the network slice, and different network slices can correspond to different service types, the service type corresponding to the target user terminal can be determined based on the network slice corresponding to the Nssai information.
[0120] Step 302: Determine the workshop identifier to which the target user terminal belongs according to the cell identifier where the target user terminal is located.
[0121] In this embodiment, the workshop refers to the workshop to which the industrial user terminal belongs.
[0122] A cell refers to an area covered by the wireless signal of a base station or a sector antenna of a base station in a mobile communication system. In this area, user terminals can communicate with the base station through wireless channels.
[0123] After the target user terminal is turned on, it can determine the cell it can access by searching for wireless signals and can select the cell to access. The cell identifier of the target user terminal included in the network access request is the cell identifier selected by the target user terminal to access. The cell identifier is also called cell ID, cell ID, etc.
[0124] The network access method for a user terminal provided in this embodiment includes Nssai information in relation to the communication type; the network access request also includes the cell identifier of the target user terminal; the method also includes determining the service type corresponding to the target user terminal according to the Nssai information; determining the workshop identifier to which the target user terminal belongs according to the cell identifier of the target user terminal; determining whether the target user terminal is a legitimate user terminal according to the service type and the workshop identifier to which it belongs; and in response to the target user terminal being a legitimate user terminal, connecting the target user terminal to the corresponding private network core network device based on the target communication type, so as to enable the target user terminal to access the private network.
[0125] As an optional implementation, step 302 is further refined to include step 3021 to step 3022.
[0126] Step 3021: Acquire a pre-stored first mapping relationship between a cell identifier and a workshop identifier.
[0127] In this embodiment, the cell identifier and the workshop identifier may have a first mapping relationship, for example, the cell identifier A is mapped to the workshop identifier a, and the cell identifiers B and C are mapped to the workshop identifier b. The first mapping relationship may be stored in the memory of the private network core network device, and the private network core network device may read the first mapping relationship from its memory. Alternatively, the first mapping relationship may be stored in a database that is communicatively connected to the private network core network device, and the private network core network device may obtain the first mapping relationship by communicating with the database.
[0128] Step 3022: Acquire, from the first mapping relationship, a workshop identifier that has a mapping relationship with the cell identifier where the target user terminal is located as the workshop identifier to which the target user terminal belongs.
[0129] In this embodiment, the private network core network device can use the cell identifier of the target user terminal as a keyword, query the workshop identifier that has a mapping relationship with the cell identifier of the target user terminal in the first mapping relationship, and use the queried workshop identifier that has a mapping relationship with the cell identifier of the target user terminal as the workshop identifier to which the target user terminal belongs.
[0130] The network access method for a user terminal provided in this embodiment obtains a first mapping relationship between a cell identifier and a workshop identifier that is pre-stored; and obtains a workshop identifier that has a mapping relationship with the cell identifier where the target user terminal is located from the first mapping relationship as the workshop identifier to which the target user terminal belongs. Since the workshop identifier that has a mapping relationship with the cell identifier where the target user terminal is located is obtained from the first mapping relationship as the workshop identifier to which the target user terminal belongs, the workshop identifier to which the target user terminal belongs can be directly obtained without calculation, and the workshop to which the target user terminal belongs can be quickly determined, thereby facilitating subsequent processing such as positioning and management of the target user terminal.
[0131] Step 303: determine whether the target user terminal is a legitimate user terminal according to the service type and the workshop identification to which it belongs.
[0132] As an optional implementation, step 303 is further refined to include steps 3031 to 3034.
[0133] Step 3031: Acquire a pre-stored second mapping relationship between the business type and the workshop identifier.
[0134] In this embodiment, the service type and the workshop identifier may have a second mapping relationship. For example, the first service type is mapped to the workshop identifier a, and the second service type and the third service type are mapped to the workshop identifier b.
[0135] The second mapping relationship may be predetermined and may be pre-stored in the private network core network device.
[0136] Step 3032: Match the business type and the corresponding workshop identifier with the second mapping relationship.
[0137] Step 3033: In response to the existence of a matching second mapping relationship, determine that the target user terminal is a legitimate user terminal.
[0138] Step 3034: In response to the absence of a matching second mapping relationship, determining that the target user terminal is not a legitimate user terminal.
[0139] In this embodiment, the private network is a dedicated network that provides network communication services for specific users, and the legal user terminal refers to a user whose user terminal belongs to the private network.
[0140] In this embodiment, the private network core network device may match the service type of the target user terminal and the workshop identifier to which it belongs with the second mapping relationship, and then determine whether the target user terminal is a legitimate user terminal.
[0141] Exemplarily, in the second mapping relationship, the second mapping relationship between the service type of the target user terminal and the workshop identifier to which it belongs is searched. Alternatively, the workshop identifier having the second mapping relationship with the service type of the target user terminal is compared with the workshop identifier to which the target user terminal belongs.
[0142] In this embodiment, if the second mapping relationship between the service type of the target user terminal and the workshop identifier to which it belongs can be found in the first mapping relationship, the target user terminal can be determined to be a legitimate user terminal. Conversely, if the second mapping relationship between the service type of the target user terminal and the workshop identifier to which it belongs cannot be found in the first mapping relationship, it can be determined that the target user terminal is not a legitimate user terminal. Alternatively, if the workshop identifier having the second mapping relationship with the service type of the target user terminal is the same as the workshop identifier to which the target user terminal belongs, the target user terminal is determined to be a legitimate user terminal; if the workshop identifier having the second mapping relationship with the service type of the target user terminal is different from the workshop identifier to which the target user terminal belongs, the target user terminal is determined to be not a legitimate user terminal.
[0143] In addition to the above-mentioned example method, other methods may also be used to match the service type and the corresponding workshop identifier with the second mapping relationship, which is not limited in this embodiment.
[0144] Step 2041, in response to the target user terminal being a legitimate user terminal, the target user terminal is connected to the corresponding private network core network device based on the target communication type, so as to enable the target user terminal to access the private network.
[0145] In this embodiment, when the target user terminal is a legitimate user terminal, the target user terminal is connected to the corresponding private network core network device. When the target user terminal is not an illegal user terminal, the target user terminal is not connected to the corresponding private network core network device. This can effectively ensure the security of the private network and prevent the private network data from being stolen or the private network from being attacked.
[0146] The network access method for a user terminal provided in this embodiment obtains a pre-stored second mapping relationship between a service type and a workshop identifier; matches the service type and the workshop identifier to which it belongs with the second mapping relationship; in response to the existence of a matching second mapping relationship, determines that the target user terminal is a legal user terminal; in response to the absence of a matching second mapping relationship, determines that the target user terminal is not a legal user terminal. Since the second mapping relationship is pre-stored, determining whether the target user terminal is legal through the second mapping relationship can accurately determine whether the industrial user's access is legal when the industrial user accesses the private network, which can effectively prevent illegal industrial users from accessing the private network and ensure the security of the private network.
[0147] As an optional implementation, based on any implementation in Example 3, after "determining that the target user terminal is not a legitimate user terminal" in step 3034, step 401 is further included.
[0148] Step 401: Send an illegal access warning message to a target user terminal through a base station.
[0149] In this embodiment, after determining that the target user terminal is an illegal user terminal, the private network core network device can generate illegal access alarm information, and send the illegal access alarm information to the target user terminal through the base station to prompt the target user terminal that the target user terminal is not a private network user, there is a service type error, a cell identification error, etc. After receiving the illegal access alarm message, the target user terminal can send the illegal access alarm message to the staff or display it, so that the staff can perform subsequent processing such as troubleshooting on the target user terminal.
[0150] The network access method for a user terminal provided in this embodiment also includes sending an illegal access alarm message to the target user terminal through a base station. Since the illegal access alarm message is sent to the target user terminal through the base station, the target user terminal can be prompted for illegal access, thereby enabling monitoring of illegal target user terminals and ensuring the security of the private network.
[0151] As an optional implementation, based on any one of the implementations in Example three, the refinement of step 204 of "connecting the target user terminal to the corresponding private network core network device based on the target communication type to enable the target user terminal to access the private network" also includes steps 501 to 502.
[0152] Step 501: Connect the target user terminal to the corresponding private network core network device based on the target communication type.
[0153] In this embodiment, different communication types may correspond to different private network core network devices, for example, 4G communication type may correspond to 4G core network devices, and 5G communication type may correspond to 5G core network devices. In addition, the communication type is not limited to 4G or 5G, but may also refer to the service type requested by the target user terminal, such as data transmission service, MMS service, etc. The private network core network device connects the target user terminal to the corresponding private network core network device according to the target communication type of the target user terminal.
[0154] Step 502: establish a communication link between network element devices corresponding to the workshop identifier to which the target user terminal belongs, so as to enable the target user terminal to access the private network.
[0155] In this embodiment, communication connections such as a Transmission Control Protocol TCP connection, a TCP long connection, a Hypertext Transfer Protocol HTTP connection, and a next-generation Hypertext Transfer Protocol HTTP / 2.0 long connection can be established between the target user terminal and the corresponding network element device, and the connection between the target terminal and the corresponding network element device can be identified by the workshop identifier to which the target user terminal belongs, so as to enable the target user to access the private network. Moreover, when monitoring the target user terminal, it is possible to search for the communication link and transmission data of the target user terminal in a specific workshop, thereby effectively narrowing the search scope of the monitored industrial user communication links and data and better monitoring the target user terminal.
[0156] The network access method for a user terminal provided in this embodiment further includes connecting the target user terminal to a corresponding private network core network device according to the target communication type; establishing a communication link between network element devices corresponding to the workshop identifier to which the target user terminal belongs, so as to enable the target user terminal to access the private network. Since a communication link between network element devices corresponding to the workshop identifier to which the target user terminal belongs is established, so as to enable the target user terminal to access the private network, when monitoring the target user terminal, the search range can be narrowed and better monitoring can be performed.
[0157] Embodiment 3
[0158] Figure 4 1 is a flow chart of a method for network access of a user terminal provided in accordance with Embodiment 3 of the present application. Figure 4 As shown, the execution subject of the network access method for the user terminal provided in the embodiment of the present invention is the network access device of the user terminal. The network access device of the user terminal can be integrated in a base station with a wireless network sharing function. The base station communicates with the core network equipment of the private network and the core network equipment of the public network respectively. The base station also communicates with the private network user terminal and the public network user terminal respectively. The network access method for the user terminal provided in this embodiment includes steps 601 to 602.
[0159] Step 601: receiving a network access request sent by a target user terminal, wherein the network access request includes information related to the communication type and a public land mobile network PLMN number.
[0160] In this embodiment, after being powered on, the target user terminal can search for wireless network signals. Since the base station has a wireless network sharing function, the target user can search for the cell of the base station and then send a network access request to the base station.
[0161] Step 602, sending a network access request to the private network core network device and the public network core network device respectively, the network access request is used to instruct the private network core network device to determine the target communication type corresponding to the target user terminal according to the communication type related information, determine whether the target user terminal is a private network user terminal according to the PLMN network number, and in response to the target user terminal being a private network user terminal, access the target user terminal to the corresponding private network core network device based on the target communication type; the network access request is also used to instruct the public network core network device to determine the target communication type corresponding to the target user terminal according to the communication type related information, determine whether the target user terminal is a public network user terminal according to the PLMN network number, and in response to the target user terminal being a public network user terminal, access the target user terminal to the corresponding public network core network device based on the target communication type.
[0162] In this embodiment, for a network access request sent by a target user terminal, the base station sends it to the private network core network device and the public network core network device respectively. The private network core network device and the public network core network device are independent and physically isolated.
[0163] After receiving the network access request, the private network core network determines the target communication type corresponding to the target user terminal based on the communication type-related information, and determines whether the target user terminal is a private network user terminal based on the PLMN network number. In response to the target user terminal being a private network user terminal, the target user terminal is connected to the corresponding private network core network device based on the target communication type.
[0164] After receiving the network access request, the public core network device determines the target communication type corresponding to the target user terminal according to the communication type related information, and determines whether the target user terminal is a public network user terminal according to the PLMN network number. In response to the target user terminal being a public network user terminal, the target user terminal is connected to the corresponding public core network device based on the target communication type.
[0165] The base station can connect the public network user terminal to the public network core network equipment, and then connect the public network user terminal to the network, and connect the private network user terminal to the private network core network equipment, and then connect the private network users to the private network, thereby realizing the separation of public network user terminals and private network user terminals. The public network user terminals and private network user terminals are connected to their respective corresponding core network equipment, thereby ensuring that the private network user terminals will not interrupt their services when the public network fails, thereby ensuring the network security of the private network user terminals.
[0166] The network access method for a user terminal provided in this embodiment is applied to a base station with a wireless network sharing function, the base station is respectively connected to a private network core network device and a public network core network device for communication, and the base station is also connected to a private network user terminal and a public network user terminal for communication, by receiving a network access request sent by a target user terminal, the network access request includes information related to a communication type and a public land mobile network PLMN network number; the network access request is sent to the private network core network device and the public network core network device respectively, the network access request is used to instruct the private network core network device to determine a target communication type corresponding to the target user terminal according to information related to the communication type, determine whether the target user terminal is a private network user terminal according to the PLMN network number, and in response to the target user terminal being a private network user terminal, the target user terminal is connected to the corresponding private network core network device based on the target communication type; the network access request is also used to instruct the public network core network device to determine a target communication type corresponding to the target user terminal according to information related to the communication type, determine whether the target user terminal is a public network user terminal according to the PLMN network number, and in response to the target user terminal being a public network user terminal, the target user terminal is connected to the corresponding public network core network device based on the target communication type. Since the network access request is forwarded to the public core network device and the private core network device respectively, the private core network device connects the target user terminal to the corresponding private core network device when the target user terminal is a private network user terminal, and the public core network device connects the target user terminal to the corresponding public core network device when the target user terminal is a public network user terminal. Therefore, the access services of the public network user terminal and the private network user terminal can be separated, so that ordinary users and industrial users do not interfere with each other, and the public network and the private network are not interconnected, which ensures the independence and security of the private network.
[0167] Embodiment 4
[0168] Figure 5 A schematic diagram of the structure of a network access device for a user terminal provided by an embodiment of the present invention is shown in FIG. Figure 5As shown, the industrial terminal monitoring device provided in this embodiment is located in the private network core network device, and the private network core network device communicates with the private network user terminal through a base station with a wireless network sharing function, and the base station with a wireless network sharing function also communicates with the public network core network device and the public network user terminal. The network access device 50 of the user terminal provided in this embodiment includes: a receiving module 51, a first determining module 52, a second determining module 53 and a network access module 54.
[0169] A receiving module 51 is used to receive a network access request sent by a base station. The network access request is sent by a target user terminal to the base station. The network access request includes information related to the communication type and a public land mobile network PLMN network number;
[0170] A first determination module 52, configured to determine a target communication type corresponding to a target user terminal according to relevant information of the communication type;
[0171] A second determination module 53, used to determine whether the target user terminal is a private network user terminal according to the PLMN network number;
[0172] The network access module 54 is used to connect the target user terminal to the corresponding private network core network device based on the target communication type in response to the target user terminal being a private network user terminal, so as to enable the target user terminal to access the private network.
[0173] The industrial terminal monitoring device provided in this embodiment can perform Figure 2 The technical solution of the method embodiment shown has similar implementation principles and technical effects, which will not be repeated here.
[0174] As an optional implementation, the communication type related information includes any one or more of the following information: temporary mobile user identity Tmsi information, registered access and mobility management function registeredAmf information, network slice selection assistance Nssai information; the first determination module 52 is specifically used to: parse the communication type related information to obtain a pre-configured communication type; determine the pre-configured communication type as the target communication type.
[0175] As an optional implementation, the second determination module 53 is specifically used to: compare the PLMN network number with the PLMN network number corresponding to the pre-configured private network user terminal; in response to the PLMN network number being consistent with the PLMN network number corresponding to the private network user terminal, determine that the target user terminal is a private network user terminal; in response to the PLMN network number being inconsistent with the PLMN network number corresponding to the private network user terminal, determine that the target user terminal is not a private network user terminal.
[0176] As an optional implementation, the communication type related information includes Nssai information; the network access request also includes the cell identifier of the target user terminal; the network access device 50 of the user terminal also includes a third determination module, the third determination module is used to: determine the service type corresponding to the target user terminal according to the Nssai information; determine the workshop identifier to which the target user terminal belongs according to the cell identifier of the target user terminal; and determine whether the target user terminal is a legitimate user terminal according to the service type and the workshop identifier. The network access module 54 is specifically used to: in response to the target user terminal being a legitimate user terminal, access the target user terminal to the corresponding private network core network device based on the target communication type, so as to enable the target user terminal to access the private network.
[0177] As an optional implementation, the third determination module is specifically used to: obtain a pre-stored first mapping relationship between a cell identifier and a workshop identifier; and obtain a workshop identifier having a mapping relationship with the cell identifier where the target user terminal is located from the first mapping relationship as the workshop identifier to which the target user terminal belongs.
[0178] As an optional implementation, the third determination module is specifically used to: obtain a pre-stored second mapping relationship between a business type and a workshop identifier; match the business type and the workshop identifier to which it belongs with the second mapping relationship; in response to the existence of a matching second mapping relationship, determine that the target user terminal is a legal user terminal; in response to the absence of a matching second mapping relationship, determine that the target user terminal is not a legal user terminal.
[0179] As an optional implementation manner, the network access device 50 of the user terminal further includes an alarm module, and the alarm module is used to send an illegal access alarm message to the target user terminal through the base station.
[0180] As an optional implementation, the network access module 54 is further used to: connect the target user terminal to the corresponding private network core network device based on the target communication type; establish a communication link between network element devices corresponding to the workshop identifier to which the target user terminal belongs, so as to enable the target user terminal to access the private network.
[0181] The industrial terminal monitoring device provided in this embodiment can also perform Figure 3 The technical solution of the method embodiment shown has similar implementation principles and technical effects, which will not be repeated here.
[0182] Embodiment 5
[0183] Figure 6 A schematic diagram of a network access device for a user terminal according to another embodiment of the present invention is shown in FIG. Figure 6As shown, the industrial terminal monitoring device provided in this embodiment is located in a base station with a wireless network sharing function, and the base station is respectively connected to a private network core network device and a public network core network device, and the base station is also respectively connected to a private network user terminal and a public network user terminal. The network access device 60 of the user terminal provided in this embodiment includes: a receiving module 61 and a sending module 62.
[0184] A receiving module 61 is used to receive a network access request sent by a target user terminal, wherein the network access request includes information related to the communication type and a public land mobile network PLMN network number;
[0185] The sending module 62 is used to send a network access request to a private network core network device and a public network core network device respectively. The network access request is used to instruct the private network core network device to determine the target communication type corresponding to the target user terminal according to the communication type related information, determine whether the target user terminal is a private network user terminal according to the PLMN network number, and in response to the target user terminal being a private network user terminal, access the target user terminal to the corresponding private network core network device based on the target communication type; the network access request is also used to instruct the public network core network device to determine the target communication type corresponding to the target user terminal according to the communication type related information, determine whether the target user terminal is a public network user terminal according to the PLMN network number, and in response to the target user terminal being a public network user terminal, access the target user terminal to the corresponding public network core network device based on the target communication type.
[0186] The industrial terminal monitoring device provided in this embodiment can perform Figure 4 The technical solution of the method embodiment shown has similar implementation principles and technical effects, which will not be repeated here.
[0187] Embodiment 6
[0188] Figure 7 A structural diagram of a private network core network device provided in an embodiment of the present invention is shown in FIG. Figure 7 As shown, the private network core network device 70 includes: a processor 72, and a memory 71 and a transceiver 73 that are communicatively connected to the processor.
[0189] The memory 71 stores computer-executable instructions; the transceiver 73 is used to send and receive data;
[0190] The processor 72 executes the computer execution instructions stored in the memory 72 to implement the network access method of the user terminal provided in the corresponding embodiment. The relevant description can be understood by referring to the relevant descriptions and effects corresponding to the steps in the accompanying drawings, and no further details are given here.
[0191] exist Figure 7In a corresponding embodiment, the memory 71 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0192] The memory 71, the transceiver 72 and the processor 73 are connected via a bus. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0193] Embodiment 7
[0194] Figure 8 A schematic diagram of the structure of a base station provided in an embodiment of the present invention is shown in FIG. Figure 8 As shown, the base station 80 has a wireless network sharing function, and includes: a processor 82 , and a memory 81 and a transceiver 83 that are communicatively connected to the processor 82 .
[0195] The memory 81 stores computer execution instructions; the transceiver 83 is used to send and receive data;
[0196] The processor 82 executes the computer execution instructions stored in the memory 81 to implement the network access method of the user terminal provided in the corresponding embodiment. The relevant description can be understood by referring to the relevant descriptions and effects corresponding to the steps in the accompanying drawings, and no further details are given here.
[0197] exist Figure 8 In a corresponding embodiment, the memory 81 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0198] The memory 81, the transceiver 82 and the processor 83 are connected via a bus. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0199] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. The computer program is executed by a processor to implement the network access method of a user terminal provided by any embodiment of the present invention.
[0200] An embodiment of the present invention further provides a computer program product, including a computer program, which implements the network access method for a user terminal provided by any one of the above embodiments when the computer program is executed by a processor.
[0201] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0202] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0203] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0204] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0205] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may be a machine-readable signal medium or a machine-readable storage medium. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0206] In addition, although each operation is depicted in a specific order, this should be understood as requiring such operations to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain the desired results. Under certain circumstances, multiple characters and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments can also be implemented in a single implementation in combination. Conversely, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination.
[0207] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A network access method for a user terminal, characterized in that: The method is applied to a private network core network device, the private network core network device is connected to a private network user terminal through a base station with a wireless network sharing function, and the base station with a wireless network sharing function is also connected to a public network core network device and a public network user terminal, and the method includes: receiving a network access request sent by the base station, wherein the network access request is sent by a target user terminal to the base station, and the network access request includes information related to a communication type and a public land mobile network PLMN network number; Determine the target communication type corresponding to the target user terminal according to the communication type related information; Determine whether the target user terminal is a private network user terminal according to the PLMN network number; In response to the target user terminal being a private network user terminal, the target user terminal is connected to the corresponding private network core network device based on the target communication type to enable the target user terminal to access the private network.
2. The method according to claim 1, characterized in that The communication type related information includes any one or more of the following information: Temporary mobile user identity Tmsi information, registered access and mobility management function registeredAmf information, network slice selection assistance Nssai information; Determining the target communication type corresponding to the target user terminal according to the communication type related information includes: Parsing the communication type related information to obtain a pre-configured communication type; The preconfigured communication type is determined as the target communication type.
3. The method according to claim 1, characterized in that: The determining, according to the PLMN network number, whether the target user terminal is a private network user terminal comprises: Comparing the PLMN network number with the PLMN network number corresponding to the pre-configured private network user terminal; In response to the PLMN network number being consistent with the PLMN network number corresponding to the private network user terminal, determining that the target user terminal is a private network user terminal; In response to the PLMN network number being inconsistent with the PLMN network number corresponding to the private network user terminal, it is determined that the target user terminal is not a private network user terminal.
4. The method according to claim 1, characterized in that: The communication type related information includes Nssai information; the network access request also includes the cell identifier where the target user terminal is located; Before the target user terminal is connected to the corresponding private network core network device based on the target communication type, the method further includes: Determine the service type corresponding to the target user terminal according to the Nssai information; Determine the workshop identifier to which the target user terminal belongs according to the cell identifier where the target user terminal is located; Determining whether the target user terminal is a legitimate user terminal according to the service type and the workshop identifier to which it belongs; The step of accessing the target user terminal to a corresponding private network core network device based on the target communication type to enable the target user terminal to access the private network includes: In response to the target user terminal being a legitimate user terminal, the target user terminal is connected to the corresponding private network core network device based on the target communication type, so as to enable the target user terminal to access the private network.
5. The method according to claim 4, characterized in that The determining, according to the cell identifier of the target user terminal, the workshop identifier to which the target user terminal belongs includes: Acquire a pre-stored first mapping relationship between a cell identifier and a workshop identifier; A workshop identifier having a mapping relationship with the cell identifier where the target user terminal is located is obtained from the first mapping relationship as the workshop identifier to which the target user terminal belongs.
6. The method according to claim 4, characterized in that The determining, according to the service type and the workshop identifier, whether the target user terminal is a legitimate user terminal includes: Acquire a pre-stored second mapping relationship between the business type and the workshop identifier; Matching the business type and the corresponding workshop identifier with the second mapping relationship; In response to the existence of a matching second mapping relationship, determining that the target user terminal is a legitimate user terminal; In response to the absence of a matching second mapping relationship, it is determined that the target user terminal is not a legitimate user terminal.
7. The method according to claim 6, characterized in that After determining that the target user terminal is not a legitimate user terminal, the method further includes: An illegal access warning message is sent to the target user terminal through the base station.
8. The method according to claim 4, characterized in that The method of accessing the target user terminal to a corresponding private network core network device based on the target communication type to enable the target user terminal to access the private network further includes: Connecting the target user terminal to the corresponding private network core network device based on the target communication type; A communication link is established between network element devices corresponding to the workshop identification to which the target user terminal belongs, so as to enable the target user terminal to access the private network.
9. A network access method for a user terminal, characterized in that: The method is applied to a base station with a wireless network sharing function, the base station is respectively connected to a private network core network device and a public network core network device, and the base station is also respectively connected to a private network user terminal and a public network user terminal, and the method includes: Receiving a network access request sent by the target user terminal, wherein the network access request includes information related to the communication type and a public land mobile network PLMN network number; The network access request is sent to the private network core network device and the public network core network device respectively, and the network access request is used to instruct the private network core network device to determine the target communication type corresponding to the target user terminal according to the communication type related information, determine whether the target user terminal is a private network user terminal according to the PLMN network number, and in response to the target user terminal being a private network user terminal, access the target user terminal to the corresponding private network core network device based on the target communication type; the network access request is also used to instruct the public network core network device to determine the target communication type corresponding to the target user terminal according to the communication type related information, determine whether the target user terminal is a public network user terminal according to the PLMN network number, and in response to the target user terminal being a public network user terminal, access the target user terminal to the corresponding public network core network device based on the target communication type.
10. A network access device for a user terminal, characterized in that: The device is located in a private network core network device, the private network core network device is connected to a private network user terminal through a base station with a wireless network sharing function, and the base station with the wireless network sharing function is also connected to a public network core network device and a public network user terminal, and the device includes: A receiving module, configured to receive a network access request sent by the base station, wherein the network access request is sent by a target user terminal to the base station, and the network access request includes information related to a communication type and a public land mobile network PLMN network number; A first determining module, configured to determine a target communication type corresponding to the target user terminal according to the communication type related information; A second determination module, configured to determine whether the target user terminal is a private network user terminal according to the PLMN network number; The network access module is used to connect the target user terminal to the corresponding private network core network device based on the target communication type in response to the target user terminal being a private network user terminal, so as to enable the target user terminal to access the private network.
11. A network access device for a user terminal, characterized in that: The device is located in a base station with a wireless network sharing function, the base station is respectively connected to a private network core network device and a public network core network device, and the base station is also respectively connected to a private network user terminal and a public network user terminal, and the device includes: A receiving module, configured to receive a network access request sent by the target user terminal, wherein the network access request includes information related to the communication type and a public land mobile network PLMN network number; A sending module, used for sending the network access request to a private network core network device and a public network core network device respectively, wherein the network access request is used to instruct the private network core network device to determine the target communication type corresponding to the target user terminal according to the communication type related information, determine whether the target user terminal is a private network user terminal according to the PLMN network number, and in response to the target user terminal being a private network user terminal, access the target user terminal to the corresponding private network core network device based on the target communication type; the network access request is also used to instruct the public network core network device to determine the target communication type corresponding to the target user terminal according to the communication type related information, determine whether the target user terminal is a public network user terminal according to the PLMN network number, and in response to the target user terminal being a public network user terminal, access the target user terminal to the corresponding public network core network device based on the target communication type.
12. A private network core network device, characterized in that: include: A processor, and a memory and a transceiver communicatively connected to the processor; The memory stores computer-executable instructions; the transceiver is used to send and receive data; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8.
13. A base station, characterized in that: The base station has a wireless network sharing function and includes: a processor, and a memory and a transceiver communicatively connected to the processor; The memory stores computer-executable instructions; the transceiver is used to send and receive data; The processor executes the computer-executable instructions stored in the memory to implement the method according to claim 9.
14. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 9.
