Registration method and device, network equipment and readable storage medium
By comparing the first IMEI and the second IMEI provided by the terminal when registering under two networks, the problem of low network registration security and reliability in the prior art is solved, and higher network registration security and user experience are achieved.
Patent Information
- Application Number
- CN202311522650.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-15
- Publication Date
- 2025-05-16
AI Technical Summary
In the prior art, when a terminal is registered under two networks, the network device accepts registration only by detecting whether the IMEI is legal, resulting in low security and reliability of network registration.
By comparing the first IMEI and the second IMEI provided by the terminal, if the two are different, the terminal's registration request is rejected to avoid the USIM card being used; if the two are the same, the terminal's registration request is accepted to ensure the dual registration of the terminal.
It effectively improves the security and reliability of terminal network registration, prevents USIM cards from being used, and protects the network user experience of end users.
Smart Images

Figure CN120018273A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a registration method, apparatus, network equipment and readable storage medium. Background Art
[0002] At present, during the registration process of a terminal (User Equipment, UE), the terminal initiates a registration request to a network device, and the registration request carries the International Mobile Station Equipment Identity (IMEI) of the terminal. The network device only performs a simple check on the received IMEI, for example, it can accept the registration of the terminal if it detects that the IMEI is legal. When the terminal is registered in two networks through a Universal Subscriber Identity Module (USIM), the network device only accepts the registration based on the detection of the legality of the IMEI. Such a registration process is too simple, and the security and reliability of network registration are also low. Summary of the invention
[0003] The embodiments of the present application provide a registration method, an apparatus, a network device, and a readable storage medium, which can solve the problem of low reliability of network registration.
[0004] In a first aspect, a registration method is provided, which is performed by a first network device, and the method includes:
[0005] When the first network device obtains the first international mobile station equipment identity code IMEI and the second IMEI, the first network device accepts or rejects the first registration request of the terminal according to the first IMEI and the second IMEI;
[0006] Among them, the terminal contract information corresponding to the first IMEI is the same as the terminal contract information corresponding to the second IMEI.
[0007] In a second aspect, a registration method is provided, which is performed by a third network device, and the method includes:
[0008] When the third network device obtains the first IMEI and the second IMEI, the third network device accepts or rejects the first registration request of the terminal according to the first IMEI and the second IMEI;
[0009] Among them, the terminal contract information corresponding to the first IMEI is the same as the terminal contract information corresponding to the second IMEI.
[0010] In a third aspect, a registration device is provided, the device comprising:
[0011] A first processing module is used to accept or reject a first registration request of the terminal according to the first IMEI and the second IMEI when the first IMEI and the second IMEI are obtained;
[0012] Among them, the terminal contract information corresponding to the first IMEI is the same as the terminal contract information corresponding to the second IMEI.
[0013] In a fourth aspect, a registration device is provided, the device comprising:
[0014] A second processing module is used to accept or reject the first registration request of the terminal according to the first IMEI and the second IMEI when the first IMEI and the second IMEI are obtained;
[0015] Among them, the terminal contract information corresponding to the first IMEI is the same as the terminal contract information corresponding to the second IMEI.
[0016] In a fifth aspect, a network device is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect or the second aspect are implemented.
[0017] In a sixth aspect, a network device is provided, comprising a processor and a communication interface, wherein the processor is used to accept or reject a first registration request of a terminal according to a first IMEI and a second IMEI when a first IMEI and a second IMEI are obtained, wherein the terminal contract information corresponding to the first IMEI is the same as the terminal contract information corresponding to the second IMEI.
[0018] In the seventh aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.
[0019] In an eighth aspect, a wireless communication system is provided, comprising: a first network device and a third network device, wherein the first network device can be used to execute the steps of the method described in the first aspect, or the third network device can be used to execute the steps of the method described in the second aspect.
[0020] In the ninth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect, or to implement the method described in the second aspect.
[0021] In the tenth aspect, a computer program / program product is provided, wherein the computer program / program product is stored in a storage medium, and the program / program product is executed by at least one processor to implement the method as described in the first aspect, or to implement the method as described in the second aspect.
[0022] In an embodiment of the present application, the first network device can reject the first registration request of the terminal if it identifies that the first IMEI and the second IMEI are different based on the first IMEI and the second IMEI obtained, which can effectively prevent the USIM card of the terminal from being impersonated and registered by other terminals, thereby ensuring the network registration security of the terminal and effectively improving the reliability of the terminal user's network registration. In addition, if the first network device identifies that the first IMEI and the second IMEI are the same, that is, the two IMEIs belong to the same terminal, the first network device can accept the first registration request of the terminal, thereby ensuring the implementation of dual registration of the terminal and effectively protecting the network usage experience of the terminal user. In an embodiment of the present application, the network registration process for the terminal is no longer just to detect whether the IMEI is legal, but it is necessary to accept or reject the terminal's registration request by comparing the first IMEI and the second IMEI, which can effectively improve the security and reliability of the terminal network registration. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 is a block diagram of a wireless communication system to which the embodiments of the present application can be applied;
[0024] Figure 2 This is one of the flow charts of a registration method provided in an embodiment of the present application;
[0025] Figure 3 This is the second flowchart of a registration method provided in an embodiment of the present application;
[0026] Figure 4a This is the third flowchart of a registration method provided in an embodiment of the present application;
[0027] Figure 4b This is the fourth flowchart of a registration method provided in an embodiment of the present application;
[0028] Figure 4c This is the fifth flowchart of a registration method provided in an embodiment of the present application;
[0029] Figure 5 This is one of the structural diagrams of a registration device provided in an embodiment of the present application;
[0030] Figure 6 This is the second structural diagram of a registration device provided in an embodiment of the present application;
[0031] Figure 7is a structural diagram of a communication device provided in an embodiment of the present application;
[0032] Figure 8 It is a structural diagram of a network device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.
[0034] The terms "first", "second", etc. of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of one type, and the number of objects is not limited, for example, the first object can be one or more. In addition, "or" in the present application represents at least one of the connected objects. For example, "A or B" covers three schemes, namely, Scheme 1: including A but not including B; Scheme 2: including B but not including A; Scheme 3: including both A and B. The character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0035] The term "indication" in this application can be a direct indication (or explicit indication) or an indirect indication (or implicit indication). A direct indication can be understood as the sender explicitly informing the receiver of specific information, operations to be performed, or request results in the sent indication; an indirect indication can be understood as the receiver determining the corresponding information according to the indication sent by the sender, or making a judgment and determining the operation to be performed or the request result according to the judgment result.
[0036] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA) or other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the systems and radio technologies mentioned above as well as for other systems and radio technologies. The following description describes a New Radio (NR) system for illustrative purposes, and NR terminology is used in most of the following descriptions, but these technologies can also be applied to systems other than NR systems, such as the 6th generation (6 th Generation, 6G) communication system.
[0037] Figure 1A block diagram of a wireless communication system applicable to an embodiment of the present application is shown. The wireless communication system includes a terminal 11 and a network side device 12 (also referred to as a network device). Among them, the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR), a virtual reality (Virtual Reality, VR) device, a robot, a wearable device (Wearable Device), an aircraft (flight vehicle), a vehicle-mounted device (Vehicle User Equipment, VUE), a ship-mounted device, a pedestrian terminal (Pedestrian User Equipment, PUE), a smart home (a home appliance with a wireless communication function, such as a refrigerator, a television, a washing machine or furniture, etc.), a game console, a personal computer (Personal Computer, PC), a teller machine or a self-service machine and other terminal side devices. Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. Among them, the vehicle-mounted device can also be called a vehicle-mounted terminal, a vehicle-mounted controller, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network side device 12 may include an access network device or a core network device, wherein the access network device may also be referred to as a radio access network (Radio Access Network, RAN) device, a radio access network function or a radio access network unit. The access network device may include a base station, a wireless local area network (Wireless Local Area Network, WLAN) access point (AccessPoint, AS) or a wireless fidelity (Wireless Fidelity, WiFi) node, etc.Among them, the base station may be referred to as a Node B (NB), an evolved Node B (eNB), a next generation Node B (gNB), a New Radio Node B (NR Node B), an access point, a Relay Base Station (RBS), a Serving Base Station (SBS), a Base Transceiver Station (BTS), a radio base station, a radio transceiver, a Basic Service Set (BSS), an Extended Service Set (ESS), a Home Node B (HNB), a Home Evolved Node B (home evolved Node B), a Transmission Reception Point (TRP) or other appropriate terms in the field. As long as the same technical effect is achieved, the base station is not limited to specific technical terms. It should be noted that in the embodiments of the present application, only the base station in the NR system is used as an example for introduction, and the specific type of the base station is not limited.
[0038] The core network device may include but is not limited to at least one of the following: core network node, core network function, mobility management entity (Mobility Management Entity, MME), access mobility management function (Access and Mobility Management Function, AMF), session management function (Session Management Function, SMF), user plane function (User Plane Function, UPF), policy control function (Policy Control Function, PCF), policy and charging rules function unit (Policy and Charging Rules Function, PCRF), edge application service discovery function (Edge Application Server Discovery Function, EASDF), unified data management (Unified Data Management, first network device), unified data storage (Unified Data Repository, UDR), home user server (Home Subscriber Server, HSS), centralized network configuration (CNC), network storage function (Network Repository Function, NRF), network exposure function (Network Exposure Function, NEF), local NEF (Local NEF, or L-NEF), binding support function (Binding Support Function, BSF), application function (Application Function, AF), etc. It should be noted that in the embodiment of the present application, only the core network device in the NR system is introduced as an example, and the specific type of the core network device is not limited to the first network device.
[0039] For better understanding, the related concepts that may be involved in the embodiments of the present application are explained below.
[0040] International Mobile Station Equipment Identity (IMEI):
[0041] IMEI is a unique identifier of a terminal device, used to identify the identity and type of the terminal device. It is assigned during the manufacturing process of the terminal device and will not change. In related technologies, a UE may provide an IMEI when registering with a network, and during the registration period with the network, the UE will always bind the IMEI to the network contract and will not use the IMEI with another network contract.
[0042] If user equipment authentication is required, the Mobility Management Entity (MME) or Access and Mobility Management Function (AMF) initiates an identification request process to obtain the IMEI and provides it to the Home Subscriber Server (HSS) or Unified Data Management (UDM).
[0043] Dual Registration:
[0044] In the case of dual registration mode and no N26 interface, the UE can use a Universal Subscriber Identity Module (USIM) card to register with two networks, such as a 4G network and a 5G network. Specifically, when the UE passes from 4G to 5G, the AMF can provide a dual registration indication to the UDM to indicate not to register with the MME; when the UE passes from 5G to 4G, the MME can provide a dual registration indication to the UDM to indicate not to register with the AMF; the UDM does not register with the other network according to the dual registration indication, and maintains the registration of 4G and 5G at the same time. However, once an abnormality occurs in the UE, such as the USIM card of the UE is used fraudulently, the network cannot identify the counterfeit (dummy) UE due to the consistency of the contract, and will normally process the registration of the dummy UE and provide network services for the dummy UE, which will reduce the registration reliability of the UE. In addition, in the current registration process, the network equipment only accepts the registration based on the detection of the legality of the IMEI. In the dual registration mode, such a registration process is too simple, and the security and reliability of the network registration are also low. In response to the above problems, an embodiment of the present application provides a registration method.
[0045] The registration method, apparatus and related equipment provided in the embodiments of the present application are described in detail below through some embodiments and their application scenarios in combination with the accompanying drawings.
[0046] Please refer to Figure 2 , Figure 2 This is one of the flowcharts of a registration method provided in an embodiment of the present application, and the method is applied to a first network device. Figure 2 As shown, the registration method includes the following steps:
[0047] Step 201: When the first network device obtains the first IMEI and the second IMEI, the first network device accepts or rejects a first registration request of the terminal according to the first IMEI and the second IMEI.
[0048] Among them, the terminal contract information corresponding to the first IMEI is the same as the terminal contract information corresponding to the second IMEI. It should be noted that when registering, the terminal will provide an identity identifier to the network device, including but not limited to the terminal's subscription permanent identifier (SUPI), international mobile subscriber identity (IMSI), subscription concealed identifier (SUCI) and other information used to identify the terminal identity. The network device obtains the terminal contract information based on the above identity identifiers, such as the terminal's USIM, UE ID, SUPI, IMSI, etc. It can be understood that each terminal includes its unique corresponding terminal contract information, and the IMEI of each terminal is also unique, and there is a unique corresponding relationship between the IMEI and the terminal contract information.
[0049] In the embodiment of the present application, the first network device is responsible for the management of user identification, subscription data, authentication data, user service network element registration management, etc. For example, the first network device is a UDM, or the first network device includes an HSS and a UDM. Of course, the first network device can also be other network elements or a combination of network elements.
[0050] Exemplarily, when a terminal initiates a registration request to a certain network, for example, when initiating a registration request to a 4G network element (MME) or a 5G network element (AMF), the terminal sends a registration request to the MME or AMF, and the registration request may carry the IMEI of the terminal to identify which terminal initiated the registration request; if the registration request initiated by the terminal does not carry the IMEI of the terminal, the network element that receives the registration request may initiate an identification request process to the terminal to obtain the IMEI of the terminal. Furthermore, the MME or AMF sends the registration request to the UDM, and the registration request carries the IMEI of the terminal. Then, the UDM can obtain the IMEI of the terminal and decide whether to accept the registration request of the terminal.
[0051] It should be noted that the registration process initiated by the terminal to the 4G network can also be called an attach process or a tracking area update process; the registration initiated by the terminal to the 5G network can also be called a mobility and period registration update process.
[0052] In the embodiment of the present application, the first network device obtains the first IMEI and the second IMEI, that is, the first network device receives two registration requests from the terminal, and the two registration requests may be initiated by the same terminal.
[0053] Optionally, before the first network device acquires the first IEMI and the second IMEI, the method further includes:
[0054] The first network device obtains, by the second network device, a second registration request sent by the second network device, where the second registration request carries the first IMEI;
[0055] The first network device obtains the first registration request sent by the third network device, where the first registration request carries the second IMEI.
[0056] Exemplarily, the terminal first initiates a second registration request to the second network device (e.g., MME under the 4G network), and the second registration request carries the IMEI (i.e., the first IMEI) of the terminal. The first network device sends the registration request carrying the first IMEI to the first network device, and then the first network device obtains the first IMEI and decides whether to accept the second registration request of the terminal. If the first network device accepts, a response to accepting the registration is sent to the terminal through the second network device, and the terminal registers to the first network. It can be understood that under some conditions, the terminal can switch the network. For example, when the network quality of the first network is detected to be poor, the terminal can switch to the second network. The terminal initiates a first registration request to the corresponding third network device (e.g., AMF under the 5G network), and the first registration request carries the IMEI (i.e., the second IMEI) of the terminal. The third network device sends the registration request carrying the second IMEI to the first network device, and then the first network device also obtains the second IMEI. In this case, the first network device can compare whether the first IMEI and the second IMEI are the same to determine whether to accept the registration request corresponding to the second IMEI, that is, to accept or reject the first registration request. For example, if the first IMEI and the second IMEI are different, the first registration request is rejected.
[0057] The second network device and the third network device are access management network elements under different networks, where different networks may refer to networks using different radio access technologies (Radio Access Technology, RAT). The access management network element is mainly used for terminal attachment, mobility management, and tracking area update processes in mobile networks. The access management network element terminates non-access stratum (non access stratum, NAS) messages, completes registration management, connection management and reachability management, allocates tracking area lists (track area list, TAlist) and mobility management, etc.
[0058] In one implementation, the second network device is a device under the first network, and the third network device may be a device under the second network. The first network and the second network may be any combination of 4G, 5G, and 6G networks, for example, the first network is a 4G network, and the second network is a 5G network or a 6G network. Exemplarily, the second network device may be an AMF under a 5G network, and the third network device may be an MME under a 4G network, or the second network device may be an MME under a 4G network, and the third network device may be an AMF under a 5G network. In addition, RAT may be any combination of terrestrial network access (including at least a public land mobile network (PLMN) and a stand-alone non-public network (SNPN)) and non-terrestrial network access (such as the above-mentioned first network), which is not specifically listed here.
[0059] It can be understood that IMEI is a unique identifier of the terminal, that is, the IMEI of different terminals is different. As mentioned above, there is a unique correspondence between IMEI and the contract information of the terminal (such as USIM card, UE ID, SUPI, etc.). Taking USIM card as an example, a UE can use one USIM card to register in two networks at the same time. Since it is the same UE, the IMEI carried by the UE when initiating a registration request to the two networks is the same. However, the USIM card of the UE may be impersonated. For example, other UEs use the USIM card to apply for network registration, and other UEs carry their own IMEI when initiating a registration request to the network, which is different from the IMEI of the original UE. In the embodiment of the present application, if the first network device recognizes that the first IMEI and the second IMEI are different based on the first IMEI and the second IMEI obtained, the first network device can reject the first registration request of the terminal, which can effectively prevent the USIM card of the terminal from being impersonated and registered by other terminals, thereby ensuring the network registration security of the terminal and effectively improving the reliability of the terminal network registration. In addition, if the first network device recognizes that the first IMEI and the second IMEI are the same, that is, the two IMEIs belong to the same terminal, the first network device can be the first registration request of the terminal to ensure the realization of dual registration of the terminal and effectively protect the network experience of the terminal user. In the embodiment of the present application, the network registration process for the terminal is no longer just to detect whether the IMEI is legal, but it is necessary to accept or reject the registration request of the terminal by comparing the first IMEI and the second IMEI, which can effectively improve the security and reliability of the terminal network registration.
[0060] Optionally, the accepting or rejecting the first registration request of the terminal includes any one of the following:
[0061] In a case where the first network device determines that the first IMEI and the second IMEI are the same, the first network device accepts or rejects the first registration request;
[0062] In case the first network device determines that the first IMEI and the second IMEI are different, the first network device rejects the first registration request.
[0063] It should be noted that the first registration request may be a registration request initiated later by the terminal, that is, the terminal has initiated a second registration request before the first registration request, and the terminal maintains context information on the network corresponding to the second registration request.
[0064] In the embodiment of the present application, when the first network device obtains the first IMEI and the second IMEI, if the first network device recognizes that the first IMEI and the second IMEI are the same, the first network device accepts the first registration request of the terminal, and the first registration request is a registration request initiated by the terminal later, so that it can ensure that the terminal implements dual registration, thereby ensuring the multi-network usage experience of the terminal. Alternatively, if the first network device recognizes that the first IMEI and the second IMEI are the same, but the terminal cannot perform dual registration, that is, the terminal can only register in one network, the first network device rejects the first registration request of the terminal to avoid network disconnection of the terminal and ensure the network usage experience of the terminal user.
[0065] In addition, if the first network device recognizes that the first IMEI and the second IMEI are different, the first network device rejects the first registration request, which can effectively prevent the terminal's USIM card from being registered when it is impersonated by other terminals, thereby ensuring the terminal's network registration security and effectively improving the reliability of the terminal's network registration.
[0066] Optionally, when the first network device determines that the first IMEI and the second IMEI are the same, the first network device accepts or rejects the first registration request, including any one of the following:
[0067] If the first network device determines, according to the terminal contract information, that the terminal can perform dual registration, the first network device accepts the first registration request;
[0068] If the first network device determines, according to the terminal contract information, that the terminal cannot perform dual registration, the first network device rejects the first registration request;
[0069] If the first network device determines that the terminal can perform dual registration based on the first indication information, the first network device accepts the first registration request, and the first indication information is used to indicate at least one of the following: not de-registering the second network device, not canceling the registration of the second network device, not de-registering the first network, and not canceling the registration on the first network side, wherein the second network device is a network device with which the terminal has been registered or the first network is a network to which the second network device belongs.
[0070] It can be understood that when the terminal initiates a registration request to the network, it will provide the network with terminal contract information, and the terminal contract information includes information for indicating whether the terminal can perform dual registration. For example, the terminal contract information includes USIM card information, and based on the USIM card information, it can be determined whether the terminal can perform dual registration.
[0071] In the embodiment of the present application, when the first network device determines that the first IMEI and the second IMEI are the same, it can confirm that the registration request corresponding to the first IMEI and the registration request corresponding to the second IMEI are from the same terminal. Further, if the first network device determines that the terminal can perform dual registration based on the terminal contract information, the first network device accepts the first registration request of the terminal, that is, the registration request initiated by the terminal later, such as the registration request corresponding to the second IMEI, so as to ensure the implementation of the dual registration of the terminal. If the first network device determines that the terminal cannot perform dual registration based on the terminal contract information, the first network device rejects the first registration request of the terminal, such as the registration request initiated by the terminal later, to ensure that the terminal is still registered under the previously registered network, and to ensure the network availability of the terminal.
[0072] In addition, when the first network device determines that the first IMEI and the second IMEI are the same, if it is determined according to the first indication information that the terminal can perform dual registration, the first network device accepts the first registration request of the terminal. The first indication information is used to indicate not to deregister the second network device and / or not to cancel the registration of the second network device, and the second network device is a network device with which the terminal has been registered. That is, when the terminal has been registered with the second network device, if the first network device receives the indication information indicating not to cancel the registration of the second network device and / or not to deregister the second network device, indicating that the terminal can perform dual registration, the first network device accepts the first registration request of the terminal, which is a registration request initiated by the terminal after it has been registered with the second network device. In this way, it is possible to ensure that the terminal achieves dual registration.
[0073] It should be noted that if the first network device does not receive the first indication information, it can be considered that the terminal cannot perform dual registration. For example, when the terminal has registered with the second network device, if the terminal indicates to the third network device that dual registration is not supported or the terminal does not indicate switching from the network corresponding to the second network device to the network corresponding to the third network device, the third network device will not send the first indication information to the first network device, that is, the first network device will not receive the first indication information. In this case, it is considered that the terminal cannot perform dual registration, and the first network device rejects the first registration request of the terminal, that is, the registration request of the terminal to register with the third network device.
[0074] Optionally, if the first network device determines, according to the first indication information, that the terminal can perform dual registration, before the first network device accepts the first registration request, the method further includes:
[0075] The first network device receives the first indication information sent by the third network device;
[0076] The first indication information is determined by the third network device according to the second indication information sent by the terminal, and the second indication information is used to indicate at least one of the following:
[0077] The terminal switches from the network corresponding to the second network device to the network corresponding to the third network device;
[0078] The terminal supports dual registration.
[0079] It should be noted that, when the terminal has registered with the second network device, under certain conditions, the terminal can initiate a registration request to the third network device. For example, when it is identified that the network signal quality corresponding to the second network device is poor, or the terminal is low on power and wants to switch to a network with lower power consumption, the terminal can initiate a registration request to the third network device.
[0080] In the embodiment of the present application, when the first network device determines that the terminal can perform dual registration according to the first indication information, the first indication information is sent by the third network device to the first network device, and the third network device is also the network device corresponding to the first registration request initiated by the terminal. Among them, the third network device determines according to the second indication information sent by the terminal, the second indication information can be the information carried by the terminal when initiating the first registration request to the third network device, the second indication information indicates that the terminal supports dual registration, or indicates that the terminal switches from the network corresponding to the second network device to the network corresponding to the third network device, and then the third network device can determine not to deregister the second network device and / or not to cancel the registration of the second network device according to the second indication information, that is, the first indication information, and the third network device sends the first indication information to the first network device, so that the first network device can determine that the terminal can perform dual registration according to the first indication information, so as to ensure that the first network device accepts the first registration request of the terminal and ensures the realization of dual registration of the terminal.
[0081] Optionally, when the first network device determines that the terminal can perform dual registration according to the subscription information of the terminal or the first indication information, the method further includes:
[0082] The first network device sends a first registration response to the third network device, where the first registration response carries the first IMEI.
[0083] In one implementation of the present application, when the first network device obtains the first IMEI and the second IMEI, if it is determined based on the terminal contract information or based on the first indication information received that the terminal can perform dual registration, the first network device may send the first IMEI of the terminal to the third network device.
[0084] Specifically, the terminal initiates a second registration request to the second network device, which carries the first IMEI. The second network device sends a second registration request carrying the first IMEI to the first network device, and then the first network device also obtains the first IMEI. If the first network device accepts the second registration request, the terminal is registered in the network corresponding to the second network device. When the terminal sends a first registration request to the third network device, it carries the second IMEI, and then the third network device also obtains the second IMEI of the terminal. At the same time, the third network device sends the first registration request to the first network device and carries the second IMEI. If the first network device recognizes that the terminal can perform dual registration (the first network device may not compare the first IMEI and the second IMEI at this time), it sends a first registration response to the third network device. The first registration response carries the first IMEI of the terminal, and then the third network device can compare whether the first IMEI and the second IMEI are the same to determine whether to accept the first registration request initiated by the terminal. In this implementation, the third network device (that is, the network device corresponding to the registration request initiated by the terminal) decides whether to receive the registration request initiated by the terminal. In this way, the network determines the registration behavior of the terminal more flexibly.
[0085] Optionally, in the embodiment of the present application, when the first network device rejects the first registration request, the method further includes:
[0086] The first network device sends third indication information to the third network device, where the third indication information is used to be sent to the terminal, and the third indication information is used to indicate a reason for rejecting the first registration request, where the reason includes at least one of the following:
[0087] The terminal is an illegal terminal;
[0088] The second IMEI is an unacceptable IMEI, for example, the second IMEI is different from the first IMEI;
[0089] Dual registration requests are not permitted;
[0090] The terminal does not support dual registration;
[0091] The first registration request is not allowed.
[0092] In the embodiment of the present application, after receiving the third indication information, the third network device sends the third indication information to the terminal, so that the terminal can clearly understand the reason why its registration is rejected according to the third indication information.
[0093] Optionally, when the first network device rejects the first registration request, the method further includes:
[0094] The first network device sends fourth indication information to the second network device, where the fourth indication information is used to instruct the second network device to deregister the terminal from the second network device.
[0095] In the embodiment of the present application, the terminal initiates a first registration request to the third network device, and the third network device further sends the first registration request to the first network device; and before that, the terminal has been registered with the second network device; if the first network device rejects the first registration request of the terminal, the first network device can send a fourth instruction message to the second network device to instruct the terminal to deregister from the second network device. In this way, the terminal can neither register with the third network device nor with the second network device, thereby effectively avoiding the double registration behavior initiated after the terminal's USIM card is misused, more effectively protecting the terminal's network registration security, and ensuring the terminal user's rights and interests.
[0096] This application embodiment also provides another registration method, please refer to Figure 3 , Figure 3 This is a second flow chart of a registration method provided in an embodiment of the present application, and the method is applied to a third network device. Figure 3 As shown, the registration method includes the following steps:
[0097] Step 301: When the third network device obtains the first IMEI and the second IMEI, the third network device accepts or rejects a first registration request of the terminal according to the first IMEI and the second IMEI.
[0098] Among them, the terminal contract information corresponding to the first IMEI is the same as the terminal contract information corresponding to the second IMEI.
[0099] Exemplarily, the terminal first initiates a second registration request to the second network device, which carries the first IMEI. The second network device sends the second registration request carrying the first IMEI to the first network device, and the first network device also obtains the first IMEI. If the first network device accepts the second registration request, the terminal is registered in the network corresponding to the second network device. Under certain conditions, such as the poor signal quality of the network corresponding to the second network device, the terminal sends the first registration request to the third network device, and carries the second IMEI, and the third network device also obtains the second IMEI of the terminal. At the same time, the third network device sends the first registration request to the first network device and carries the second IMEI. The first network device may send the first IMEI to the third network device, and the third network device can determine whether to accept the first registration request initiated by the terminal by comparing whether the first IMEI and the second IMEI are the same.
[0100] In the embodiment of the present application, the third network device (that is, the network device corresponding to the registration request initiated by the terminal) decides whether to receive the registration request initiated by the terminal. In this way, the network determines the registration behavior of the terminal more flexibly. In addition, in the embodiment of the present application, the network registration process for the terminal is no longer just to detect whether the IMEI is legal, but it is necessary to accept or reject the registration request of the terminal by comparing the first IMEI and the second IMEI, which can effectively improve the security and reliability of the terminal network registration.
[0101] Optionally, the accepting or rejecting the first registration request of the terminal includes any one of the following:
[0102] When the third network device determines that the first IMEI and the second IMEI are the same, the third network device accepts the first registration request;
[0103] In a case where the third network device determines that the first IMEI and the second IMEI are different, the third network device rejects the first registration request.
[0104] In the embodiment of the present application, if the third network device recognizes that the first IMEI and the second IMEI are the same, it means that the first registration request and the previous second registration request are from the same terminal, and the third network device accepts the first registration request initiated by the terminal, thereby ensuring that the terminal implements dual registration. If the third network device recognizes that the first IMEI and the second IMEI are different, it is determined that the first registration request and the previous second registration request are from different terminals, and the third network device rejects the first registration request, thereby avoiding the network registration initiated by the terminal's USIIM card when it is impersonated by other terminals, effectively ensuring the terminal's network registration security and reliability.
[0105] Optionally, when the third network device rejects the first registration request, the method further includes:
[0106] The third network device sends fifth indication information to the terminal or the first network device, where the fifth indication information is used to indicate a reason why the third network device rejects the first registration request, where the reason includes at least one of the following:
[0107] The terminal is an illegal terminal;
[0108] The second IMEI is an unacceptable IMEI;
[0109] Dual registration requests are not permitted;
[0110] The terminal does not support dual registration;
[0111] The first registration request is not allowed.
[0112] It should be noted that, when the third network device rejects the first registration request of the terminal, the third network device may send a fifth indication message to at least one of the terminal and the first network device, so that the terminal and the first network device can learn the reason why the first registration request was rejected through the fifth indication message.
[0113] In the embodiment of the present application, before the third network device obtains the first IMEI and the second IMEI, the method further includes:
[0114] The third network device receives the first registration request sent by the terminal and sends the first registration request to the first network device, where the first registration request carries the second IMEI of the terminal;
[0115] The third network device receives a first registration response sent by the first network device, where the first registration response carries the first IMEI, and the first IMEI is obtained by the first network device when receiving a second registration request sent by the second network device.
[0116] Exemplarily, the terminal sends a first registration request to the third network device to request registration under the network corresponding to the third network device, and the first registration request carries the second IMEI of the terminal; the third network device sends the first registration request carrying the second IMEI to the first network device, for example, the first network device is UDM. Optionally, if the first network device determines that the terminal can perform dual registration according to the terminal contract information, the first network device sends a first registration response to the third network device, and the first registration response carries the first IMEI of the terminal, and the first IMEI is obtained by the first network device when receiving the second registration request sent by the second network device, and the second registration request is the registration request of the terminal before initiating the first registration request, and the terminal may have been registered under the network corresponding to the second network device. In this way, the third network device can obtain the first IEMI and the second IMEI based on the above process, and can determine whether to accept the first registration request according to whether the first IEMI and the second IMEI are the same.
[0117] It should be noted that in the embodiment of the present application, the first network device is responsible for the management of user identification, subscription data, authentication data, user service network element registration management and other functions. For example, the first network device may be a UDM, or the first network device includes an HSS and a UDM, etc. The second network device and the third network device are access management network elements under different networks, where different networks may refer to networks using different radio access technologies (Radio Access Technology, RAT). The access management network element is mainly used for terminal attachment, mobility management, and tracking area update processes in mobile networks. The access management network element terminates non-access stratum (NAS) messages, completes registration management, connection management and reachability management, allocates tracking area lists (TAlist) and mobility management, etc.
[0118] In one implementation, the second network device is a device under the first network, and the third network device may be a device under the second network. The first network and the second network may be any combination of 4G, 5G, and 6G networks, for example, the first network is a 4G network, and the second network is a 5G network or a 6G network. Exemplarily, the second network device may be an AMF under a 5G network, and the third network device may be an MME under a 4G network, or the second network device may be an MME under a 4G network, and the third network device may be an AMF under a 5G network.
[0119] In addition, RAT can be any combination of terrestrial network access (including at least a public land mobile network (Public Land Mobile Network, PLMN) and a stand-alone non-public network (Stand-alone Non-Public Network, SNPN)) and non-terrestrial network access (such as the first network mentioned above), which is not specifically listed here.
[0120] Optionally, after the third network device obtains the second IMEI of the terminal and sends the first registration request to the first network device, the method further includes:
[0121] The third network device sends first indication information to the first network device, and the first indication information is used to indicate at least one of the following: not deregistering the second network device, not canceling the registration of the second network device, not deregistering the first network, and not canceling the first network side registration, wherein the second network device is a network device with which the terminal has been registered or the first network is a network to which the second network device belongs.
[0122] It should be noted that, as mentioned above, before the third network device sends the first registration request to the first network device, the first network device may have received the second registration request sent by the second network device, and the second registration request carries the first IMEI of the terminal. After the third network device obtains the second IMEI of the terminal and sends the first registration request carrying the second IMEI to the first network device, the first network device also obtains the first IMEI and the second IMEI, and the first network device may determine whether to accept the first registration request of the terminal according to the first IMEI and the second IMEI. In this case, the third network device sends the first indication information to the first network device, indicating not to deregister the second network device or not to cancel the registration of the second network device. In this way, the first network device can determine whether to accept the first registration request of the terminal according to the first indication information, and its specific implementation method may refer to the description in the aforementioned embodiment, which will not be repeated here.
[0123] Optionally, before the third network device sends the first indication information to the first network device, the method further includes:
[0124] The third network device receives second indication information sent by the terminal, where the second indication information is used to indicate at least one of the following:
[0125] The terminal switches from the network corresponding to the second network device to the network corresponding to the third network device;
[0126] The terminal supports dual registration.
[0127] That is, if the terminal has been registered in the network corresponding to the second network device, the third network device can determine, based on the second indication information sent by the terminal, that when the terminal initiates the first registration request for the third network device, it is not necessary to de-register the second network device or cancel the registration of the second network device, that is, determine the first indication information and send it to the first network device, so that the first network device can determine that the terminal can perform dual registration.
[0128] Optionally, the method further comprises:
[0129] In a case where the third network device receives the third indication information sent by the first network device, the third network device rejects the first registration request, where the third indication information is used to instruct the first network device to reject the first registration request.
[0130] In the embodiment of the present application, the terminal initiates a first registration request to the third network device, and the third network device then sends the first registration request to the first network device; if the first network device rejects the first registration request based on the first IMEI and the second IMEI, the first network device may send third indication information to the third network device to indicate that the first network device rejects the first registration request. Further, the third network device may send the third indication information to the terminal to inform the terminal that the first registration request is not accepted.
[0131] It should be noted that the third network device may receive the third indication information sent by the first network device before accepting or rejecting the first registration request of the terminal according to the first IMEI and the second IMEI, and perform corresponding steps according to the third indication information. For example, the third network device may reject the first registration request of the terminal according to the third indication information and when recognizing that the first IMEI and the second IMEI are different.
[0132] Optionally, the third indication information further includes a reason for indicating that the first network device rejects the first registration request, and the reason includes at least one of the following:
[0133] The terminal is an illegal terminal;
[0134] The second IMEI is an unacceptable IMEI;
[0135] Dual registration requests are not permitted;
[0136] The terminal does not support dual registration;
[0137] The first registration request is not allowed.
[0138] It should be noted that the relevant processes in the embodiments of the present application can refer to the above Figure 2 The specific description of the method embodiment will not be repeated here.
[0139] In order to better understand the solution provided by the embodiments of the present application, the registration method provided by the present application is described below through several specific implementation methods.
[0140] Implementation method 1:
[0141] Please refer to Figure 4a , the registration method may include the following steps:
[0142] Step 401. The UE initiates registration with the 5G network, that is, the UE initiates a registration request (that is, the second registration request mentioned above) to the gNB and AMF under the 5G network;
[0143] Step 402. If IMEI is required (for example, the UE supports dual registration mode and Equipment Identity Register (EIR) is required), the AMF initiates an identity request process to obtain the IMEI (that is, the first IMEI mentioned above) from the UE;
[0144] Step 403. AMF initiates a registration request to UDM, carrying the terminal's Subscription Permanent Identifier (SUPI) and the IMEI;
[0145] Step 404.AMF sends a registration acceptance message to the UE to complete the registration process in the 5G network;
[0146] Step 405. When the UE determines that the first condition is met (such as poor 5G network signal quality), it initiates a registration request to other networks;
[0147] Step 406. The UE sends an attach message in the 4G network, that is, initiates a registration request (that is, the first registration request) process (also called an attach process) to the eNB and MME corresponding to the 4G network;
[0148] Step 407: The MME initiates an identification request process to obtain the IMEI (that is, the second IMEI) from the UE.
[0149] Step 408: MME sends an update location request (i.e., the first registration request) to UDM, carrying the acquired IMEI;
[0150] Step 409. The UDM determines whether the two registration requests are from the same UE based on the first IMEI and the second IMEI:
[0151] - If the first IMEI and the second IMEI are the same, it is determined that the two registration requests are from the same UE. The UDM determines that the UE can perform dual registration based on the UE contract information, and executes steps 410, 411a, and 412a. The UDM determines that the UE cannot perform dual registration based on the UE contract, and executes steps 410, 411b, 412b, and 413.
[0152] - If the first IMEI and the second IMEI are different, it is determined that the two registration requests are from different UEs, and the UDM rejects the registration request and executes steps 410, 411b, 412b, and 413;
[0153] Step 410. UDM sends an update location confirmation to MME;
[0154] Step 411a. MME initiates the default bearer establishment process;
[0155] Step 411b. The MME rejects the registration request and carries a cause value, including at least one of the following:
[0156] The first cause value, for example, the IMEI is not accepted, the UE is an illegal UE;
[0157] The second cause value is used to indicate that the dual registration request is not allowed;
[0158] Step 412a. MME sends a registration acceptance message to UE;
[0159] Step 411b. The MME sends a first registration request rejection message to the UE, carrying the above cause value;
[0160] Step 413: If the first IMEI and the second IMEI are different, the UDM sends a deregistration notification to the AMF.
[0161] Implementation method 2:
[0162] Please refer to Figure 4b , the registration method may include the following steps:
[0163] Step 501. The UE initiates registration with the 4G network, that is, the UE initiates a registration request (that is, the second registration request mentioned above) to the eNB and MME under the 4G network;
[0164] Step 502: The MME initiates an identification request process and obtains the IMEI (that is, the first IMEI) from the UE.
[0165] Step 503: MME sends a location update request to UDM, carrying the SUPI of the UE and the IMEI;
[0166] Step 504. The MME sends a registration acceptance message to the UE to complete the registration process on the 4G network;
[0167] Step 505. When the UE determines that the first condition is met (such as poor 4G network signal quality), it initiates a registration request to other networks;
[0168] Step 506. The UE initiates a registration request message in the 5G network, that is, initiates a registration request (that is, the first registration request) to the gNB and AMF corresponding to the 5G network, which carries a first indication for indicating at least one of the following:
[0169] -UE switches from 4G network to 5G network;
[0170] -UE supports dual registration (dual registration may also be called multi-registration, dual steer, dual connection, multi-connection, dual access, multi-access, etc.);
[0171] In addition, if the UE is a dummy UE, the dummy UE cannot sense that it has been registered in the first network (ie, the 4G network), and therefore cannot provide the first indication;
[0172] Step 507. AMF initiates an identification request process to obtain IMEI (i.e., the second IMEI) from the UE.
[0173] Step 508. AMF sends a registration request (i.e. the first registration request) to UDM, carrying the obtained IMEI;
[0174] If the AMF receives the first indication from the UE, the AMF provides a second indication to the UDM, indicating at least one of the following: not deregistering with the first network, and not canceling the registration of the first network;
[0175] Step 509. The UDM determines whether the two registration requests are from the same UE based on the first IMEI and the second IMEI:
[0176] - If the first IMEI and the second IMEI are the same, it is determined that the two registration requests are from the same UE, and the UDM determines that the UE can perform dual registration according to the UE subscription information or the second indication, and executes steps 510 and 511a; the UDM determines that the UE cannot perform dual registration according to the UE subscription or the second indication, and executes steps 510, 511b, and 512;
[0177] - If the first IMEI and the second IMEI are different, it is determined that the two registration requests are from different UEs, and the UDM rejects the registration request and executes steps 510, 511b, and 512;
[0178] Step 510. UDM sends a registration request response to AMF;
[0179] Step 511a.AMF sends a registration acceptance message to the UE;
[0180] Step 511b.AMF rejects the registration request and carries a cause value, including at least one of the following:
[0181] The first cause value, for example, IMEI is not accepted, UE is an illegal UE;
[0182] The second cause value is used to indicate that the dual registration request is not allowed;
[0183] Step 512: If the first IMEI and the second IMEI are different, the UDM sends a cancel location message to the MME to deregister the MME.
[0184] Implementation method three:
[0185] Please refer to Figure 4c , the registration method may include the following steps:
[0186] Step 601. The UE initiates registration with the 4G network, that is, the UE initiates a registration request (that is, the second registration request mentioned above) to the eNB and MME under the 4G network;
[0187] Step 602: The MME initiates an identification request process to obtain the IMEI (that is, the first IMEI) from the UE.
[0188] Step 603: MME sends a location update request to UDM, carrying the SUPI of the UE and the IMEI;
[0189] Step 604. The MME sends a registration acceptance message to the UE to complete the registration process on the 4G network;
[0190] Step 605. When the UE determines that the first condition is met (such as poor 4G network signal quality), it initiates a registration request to other networks;
[0191] Step 606. The UE initiates a registration request message in the 5G network, that is, initiates a registration request (that is, the first registration request) to the gNB and AMF corresponding to the 5G network, which carries a first indication for indicating at least one of the following:
[0192] -UE switches from 4G network to 5G network;
[0193] -UE supports dual registration (dual registration may also be called multi-registration, dual steer, dual connection, multi-connection, dual access, multi-access, etc.);
[0194] In addition, if the UE is a dummy UE, the dummy UE cannot sense that it has been registered in the first network (ie, the 4G network), and therefore cannot provide the first indication;
[0195] Step 607. AMF initiates an identification request process to obtain IMEI (i.e., the second IMEI) from the UE.
[0196] Step 608. AMF sends a registration request (i.e. the first registration request) to UDM, carrying the obtained IMEI;
[0197] If the AMF receives the first indication from the UE, the AMF provides a second indication to the UDM, indicating at least one of the following: not deregistering with the first network, and not canceling the registration of the first network;
[0198] Step 609: The UDM determines whether the UE can perform dual registration according to the UE subscription or the second indication;
[0199] Step 610. UDM sends a registration request response to AMF, carrying the IMEI of the terminal (i.e., the first IMEI);
[0200] Step 611.AMF determines whether the two registration requests are from the same UE based on the first IMEI and the second IMEI:
[0201] - If the first IMEI and the second IMEI are the same, it is determined that the two registration requests are from the same UE, the registration request is accepted, and step 612a is executed;
[0202] - If the first IMEI and the second IMEI are different, it is determined that the two registration requests are from different UEs, the registration request is rejected, and steps 612b, 613, and 614 are executed;
[0203] Step 612a.AMF sends a registration acceptance message to the UE;
[0204] Step 612b.AMF rejects the registration request and carries a cause value, including at least one of the following:
[0205] The first cause value, for example, IMEI is not accepted, UE is an illegal UE;
[0206] The second cause value is used to indicate that the dual registration request is not allowed;
[0207] Step 613.AMF sends a registration update request to UDM, carrying a third indication, which indicates at least one of the following:
[0208] The UE is an illegal UE, or the IMEI is an unacceptable IMEI;
[0209] The second network registration request is not allowed;
[0210] The dual registration request is not allowed or dual registration is not supported;
[0211] Step 614: The UDM sends a cancel location message to the MME according to the third instruction, so as to deregister from the MME.
[0212] The registration method provided in the embodiment of the present application can be executed by a registration device. In the embodiment of the present application, the registration method is executed by a registration device as an example to illustrate the registration device provided in the embodiment of the present application.
[0213] Please refer to Figure 5 , Figure 5 This is one of the structural diagrams of a registration device provided in an embodiment of the present application, such as Figure 5 As shown, the registration device 500 includes:
[0214] A first processing module 51 is configured to accept or reject a first registration request of the terminal according to the first IMEI and the second IMEI when the first IMEI and the second IMEI are acquired;
[0215] Among them, the terminal contract information corresponding to the first IMEI is the same as the terminal contract information corresponding to the second IMEI.
[0216] Optionally, the first processing module 51 is further used for:
[0217] If it is determined that the first IMEI and the second IMEI are the same, accept or reject the first registration request;
[0218] In a case where it is determined that the first IMEI and the second IMEI are different, the first registration request is rejected.
[0219] Optionally, when it is determined that the first IMEI and the second IMEI are the same, the first processing module 51 is further configured to:
[0220] If it is determined according to the terminal contract information that the terminal can perform dual registration, accepting the first registration request;
[0221] If it is determined according to the terminal contract information that the terminal cannot perform dual registration, the first registration request is rejected.
[0222] If it is determined according to the first indication information that the terminal can perform dual registration, the first registration request is accepted, and the first indication information is used to indicate at least one of the following: not de-registering the second network device, not canceling the registration of the second network device, not de-registering the first network, and not canceling the registration on the first network side, wherein the second network device is a network device with which the terminal has been registered or the first network is a network to which the second network device belongs.
[0223] Optionally, if the first processing module 51 determines that the terminal can perform dual registration according to the first indication information, the device further includes:
[0224] A receiving module, configured to receive the first indication information sent by a third network device;
[0225] The first indication information is determined by the third network device according to the second indication information sent by the terminal, and the second indication information is used to indicate at least one of the following:
[0226] The terminal switches from the network corresponding to the second network device to the network corresponding to the third network device;
[0227] The terminal supports dual registration.
[0228] Optionally, when the first processing module 51 determines that the terminal can perform dual registration according to the contract information of the terminal or the first indication information, the device further includes:
[0229] The first sending module is used to send a first registration response to the third network device, where the first registration response carries the first IMEI.
[0230] Optionally, the device further comprises:
[0231] A first acquisition module is used to acquire a second registration request sent by a second network device, where the second registration request carries the first IMEI;
[0232] The second acquisition module is used to acquire the first registration request sent by the third network device, where the first registration request carries the second IMEI.
[0233] Optionally, in the case of rejecting the first registration request, the apparatus further includes:
[0234] The second sending module is configured to send third indication information to the third network device, where the third indication information is used to be sent to the terminal, and the third indication information is used to indicate a reason for rejecting the first registration request, where the reason includes at least one of the following:
[0235] The terminal is an illegal terminal;
[0236] The second IMEI is an unacceptable IMEI;
[0237] Dual registration requests are not permitted;
[0238] The terminal does not support dual registration;
[0239] The first registration request is not allowed.
[0240] Optionally, in the case of rejecting the first registration request, the apparatus further includes:
[0241] The third sending module is used to send fourth indication information to the second network device, where the fourth indication information is used to instruct to deregister the terminal from the second network device.
[0242] In the embodiment of the present application, the device can reject the first registration request of the terminal if it recognizes that the first IMEI and the second IMEI are different based on the acquired first IMEI and the second IMEI, which can effectively prevent the USIM card of the terminal from being impersonated and registered by other terminals, thereby ensuring the network registration security of the terminal and effectively improving the reliability of the terminal user's network registration. If the device recognizes that the first IMEI and the second IMEI are the same, it can accept the first registration request of the terminal, thereby ensuring the realization of dual registration of the terminal and effectively protecting the network usage experience of the terminal user. In the embodiment of the present application, the network registration process for the terminal is no longer just to detect whether the IMEI is legal, but it is necessary to accept or reject the registration request of the terminal by comparing the first IMEI and the second IMEI, which can effectively improve the security and reliability of the terminal network registration.
[0243] The registration device provided in the embodiment of the present application can achieve Figure 2 The various processes implemented by the first network device in the method embodiment achieve the same technical effect, and will not be described again here to avoid repetition.
[0244] Please refer to Figure 6 , Figure 6 This is a second structural diagram of a registration device provided in an embodiment of the present application, such as Figure 6 As shown, the registration device 600 includes:
[0245] A second processing module 61 is configured to accept or reject a first registration request of the terminal according to the first IMEI and the second IMEI when the first IMEI and the second IMEI are acquired;
[0246] Among them, the terminal contract information corresponding to the first IMEI is the same as the terminal contract information corresponding to the second IMEI.
[0247] Optionally, the second processing module 61 is further used for:
[0248] If it is determined that the first IMEI and the second IMEI are the same, accepting the first registration request;
[0249] In a case where it is determined that the first IMEI and the second IMEI are different, the first registration request is rejected.
[0250] Optionally, the device further comprises:
[0251] A first sending module, configured to receive a first registration request sent by the terminal, and send the first registration request to a first network device, wherein the first registration request carries a second IMEI of the terminal;
[0252] The first receiving module is used to receive a first registration response sent by the first network device, where the first registration response carries the first IMEI, and the first IMEI is obtained by the first network device when receiving a second registration request sent by the second network device.
[0253] Optionally, the device further comprises:
[0254] The second sending module is used to send first indication information to the first network device, wherein the first indication information is used to indicate at least one of the following: not deregistering the second network device, not canceling the registration of the second network device, not deregistering the first network, and not canceling the registration on the first network side, wherein the second network device is a network device with which the terminal has been registered or the first network is a network to which the second network device belongs.
[0255] Optionally, the device further comprises:
[0256] The second receiving module is configured to receive second indication information sent by the terminal, where the second indication information is used to indicate at least one of the following:
[0257] The terminal switches from the network corresponding to the second network device to the network corresponding to the third network device;
[0258] The terminal supports dual registration.
[0259] Optionally, the device further comprises:
[0260] A rejection module is used to reject the first registration request when receiving third indication information sent by the first network device, wherein the third indication information is used to instruct the first network device to reject the first registration request.
[0261] Optionally, the third indication information further includes a reason for indicating that the first network device rejects the first registration request, and the reason includes at least one of the following:
[0262] The terminal is an illegal terminal;
[0263] The second IMEI is an unacceptable IMEI;
[0264] Dual registration requests are not permitted;
[0265] The terminal does not support dual registration;
[0266] The first registration request is not allowed.
[0267] Optionally, when the device rejects the first registration request, the device further includes:
[0268] A sending module, configured to send fifth indication information to the terminal or the first network device, wherein the fifth indication information is used to indicate a reason why the apparatus rejects the first registration request, and the reason includes at least one of the following:
[0269] The terminal is an illegal terminal;
[0270] The second IMEI is an unacceptable IMEI;
[0271] Dual registration requests are not permitted;
[0272] The terminal does not support dual registration;
[0273] The first registration request is not allowed.
[0274] In the embodiment of the present application, the device can reject the first registration request of the terminal based on the first IMEI and the second IMEI, so as to avoid the network registration initiated by the terminal's USIIM card when it is impersonated by other terminals, effectively ensuring the security and reliability of the terminal's network registration. And it can accept the first registration request of the terminal based on the first IMEI and the second IMEI, so as to ensure the realization of dual registration of the terminal and effectively ensure the network usage experience of the terminal user. In the embodiment of the present application, the network registration process for the terminal is no longer just to detect whether the IMEI is legal, but it is necessary to accept or reject the terminal's registration request by comparing the first IMEI and the second IMEI, which can effectively improve the security and reliability of the terminal's network registration.
[0275] The registration device provided in the embodiment of the present application can achieve Figure 3 The various processes implemented by the third network device in the method embodiment achieve the same technical effect, and will not be described again here to avoid repetition.
[0276] like Figure 7 As shown, the embodiment of the present application further provides a communication device 700, including a processor 701 and a memory 702, and the memory 702 stores a program or instruction that can be run on the processor 701. For example, when the communication device 700 is a first network device, the program or instruction is executed by the processor 701 to implement the various steps of the above registration method embodiment, and can achieve the same technical effect. When the communication device 700 is a third network device, the program or instruction is executed by the processor 701 to implement the various steps of the above registration method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0277] like Figure 8 As shown, the embodiment of the present application also provides a network device. Figure 8 As shown, the network device 800 includes: a processor 801, a network interface 802 and a memory 803. The network interface 802 is, for example, a common public radio interface (CPRI).
[0278] Specifically, the network device 800 of the embodiment of the present invention further includes: an instruction or program stored in the memory 803 and executable on the processor 801, and the processor 801 calls the instruction or program in the memory 803 to execute. Figure 5 or Figure 6 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.
[0279] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned registration method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0280] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk. In some examples, the readable storage medium may be a non-transient readable storage medium.
[0281] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned registration method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0282] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0283] The embodiments of the present application further provide a computer program / program product, which is stored in a storage medium and is executed by at least one processor to implement the various processes of the above-mentioned registration method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0284] The embodiment of the present application also provides a communication system, including: a first network device, a second network device and a third network device. In one implementation, the first network device, the second network device and the third network device can implement the following Figure 2 In another implementation, the first network device, the second network device and the third network device may implement the following steps: Figure 3 The steps of the registration method described.
[0285] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0286] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of a computer software product plus a necessary general hardware platform, and of course, can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, disk, CD, etc.), including several instructions to enable a terminal or network device to execute the methods described in each embodiment of the present application.
[0287] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of the present application and the scope of protection of the claims, and these implementation methods are all within the protection of the present application.
Claims
1. A registration method, characterized in that: The method comprises: When the first network device obtains the first international mobile station equipment identity code IMEI and the second IMEI, the first network device accepts or rejects the first registration request of the terminal according to the first IMEI and the second IMEI; Among them, the terminal contract information corresponding to the first IMEI is the same as the terminal contract information corresponding to the second IMEI.
2. The method according to claim 1, characterized in that: The accepting or rejecting the first registration request of the terminal includes any one of the following: In a case where the first network device determines that the first IMEI and the second IMEI are the same, the first network device accepts or rejects the first registration request; In case the first network device determines that the first IMEI and the second IMEI are different, the first network device rejects the first registration request.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: The first network device obtains, by the second network device, a second registration request sent by the second network device, where the second registration request carries the first IMEI; The first network device obtains the first registration request sent by the third network device, where the first registration request carries the second IMEI.
4. The method according to claim 2 or 3, characterized in that: When the first network device determines that the first IMEI is the same as the second IMEI, the first network device accepts or rejects the first registration request, including any one of the following: If the first network device determines, according to the terminal contract information, that the terminal can perform dual registration, the first network device accepts the first registration request; If the first network device determines, according to the terminal contract information, that the terminal cannot perform dual registration, the first network device rejects the first registration request; If the first network device determines that the terminal can perform dual registration based on the first indication information, the first network device accepts the first registration request, and the first indication information is used to indicate at least one of the following: not de-registering the second network device, not canceling the registration of the second network device, not de-registering the first network, and not canceling the registration on the first network side, wherein the second network device is a network device with which the terminal has been registered or the first network is a network to which the second network device belongs.
5. The method according to claim 4, characterized in that If the first network device determines, according to the first indication information, that the terminal can perform dual registration, before the first network device accepts the first registration request, the method further includes: The first network device receives the first indication information sent by the third network device; The first indication information is determined by the third network device according to the second indication information sent by the terminal, and the second indication information is used to indicate at least one of the following: The terminal switches from the network corresponding to the second network device to the network corresponding to the third network device; The terminal supports dual registration.
6. The method according to claim 4, characterized in that In a case where the first network device determines that the terminal can perform dual registration according to the subscription information of the terminal or the first indication information, the method further includes: The first network device sends a first registration response to the third network device, where the first registration response carries the first IMEI.
7. The method according to any one of claims 1 to 6, characterized in that In the case where the first network device rejects the first registration request, the method further includes: The first network device sends third indication information to the third network device, where the third indication information is used to be sent to the terminal, and the third indication information is used to indicate a reason for rejecting the first registration request, where the reason includes at least one of the following: The terminal is an illegal terminal; The second IMEI is an unacceptable IMEI; Dual registration requests are not permitted; The terminal does not support dual registration; The first registration request is not allowed.
8. The method according to any one of claims 1 to 6, characterized in that In the case where the first network device rejects the first registration request, the method further includes: The first network device sends fourth indication information to the second network device, where the fourth indication information is used to instruct the second network device to deregister the terminal from the second network device.
9. A registration method, characterized in that: The method comprises: When the third network device obtains the first IMEI and the second IMEI, the third network device accepts or rejects the first registration request of the terminal according to the first IMEI and the second IMEI; Among them, the terminal contract information corresponding to the first IMEI is the same as the terminal contract information corresponding to the second IMEI.
10. The method according to claim 9, characterized in that The accepting or rejecting the first registration request of the terminal includes any one of the following: When the third network device determines that the first IMEI and the second IMEI are the same, the third network device accepts the first registration request; In a case where the third network device determines that the first IMEI and the second IMEI are different, the third network device rejects the first registration request.
11. The method according to claim 9 or 10, characterized in that: The method further comprises: The third network device receives the first registration request sent by the terminal, and sends the first registration request to the first network device, where the first registration request carries the second IMEI of the terminal; The third network device receives a first registration response sent by the first network device, where the first registration response carries the first IMEI, and the first IMEI is obtained by the first network device when receiving a second registration request sent by the second network device.
12. The method according to claim 11, characterized in that After the third network device sends the first registration request to the first network device, the method further includes: The third network device sends first indication information to the first network device, and the first indication information is used to indicate at least one of the following: not deregistering the second network device, not canceling the registration of the second network device, not deregistering the first network, and not canceling the first network side registration, wherein the second network device is a network device with which the terminal has been registered or the first network is a network to which the second network device belongs.
13. The method according to claim 12, characterized in that Before the third network device sends the first indication information to the first network device, the method further includes: The third network device receives second indication information sent by the terminal, where the second indication information is used to indicate at least one of the following: The terminal switches from the network corresponding to the second network device to the network corresponding to the third network device; The terminal supports dual registration.
14. The method according to claim 9, characterized in that The method further comprises: In a case where the third network device receives the third indication information sent by the first network device, the third network device rejects the first registration request, where the third indication information is used to instruct the first network device to reject the first registration request.
15. The method according to claim 14, characterized in that The third indication information further includes a reason for indicating that the first network device rejects the first registration request, and the reason includes at least one of the following: The terminal is an illegal terminal; The second IMEI is an unacceptable IMEI; Dual registration requests are not permitted; The terminal does not support dual registration; The first registration request is not allowed.
16. The method according to claim 9, characterized in that In the case where the third network device rejects the first registration request, the method further includes: The third network device sends fifth indication information to the terminal or the first network device, where the fifth indication information is used to indicate a reason why the third network device rejects the first registration request, where the reason includes at least one of the following: The terminal is an illegal terminal; The second IMEI is an unacceptable IMEI; Dual registration requests are not permitted; The terminal does not support dual registration; The first registration request is not allowed.
17. A registration device, characterized in that: The device comprises: A first processing module is used to accept or reject a first registration request of the terminal according to the first IMEI and the second IMEI when the first IMEI and the second IMEI are obtained; Among them, the terminal contract information corresponding to the first IMEI is the same as the terminal contract information corresponding to the second IMEI.
18. The device according to claim 17, characterized in that The first processing module is also used for: If it is determined that the first IMEI and the second IMEI are the same, accept or reject the first registration request; In a case where it is determined that the first IMEI and the second IMEI are different, the first registration request is rejected.
19. The device according to claim 18, characterized in that When it is determined that the first IMEI and the second IMEI are the same, the first processing module is further configured to: If it is determined according to the terminal contract information that the terminal can perform dual registration, accepting the first registration request; If it is determined according to the terminal contract information that the terminal cannot perform dual registration, the first registration request is rejected. If it is determined according to the first indication information that the terminal can perform dual registration, the first registration request is accepted, and the first indication information is used to indicate at least one of the following: not de-registering the second network device, not canceling the registration of the second network device, not de-registering the first network, and not canceling the registration on the first network side, wherein the second network device is a network device with which the terminal has been registered or the first network is a network to which the second network device belongs.
20. A registration device, characterized in that: The device comprises: A second processing module is used to accept or reject the first registration request of the terminal according to the first IMEI and the second IMEI when the first IMEI and the second IMEI are obtained; Among them, the terminal contract information corresponding to the first IMEI is the same as the terminal contract information corresponding to the second IMEI.
21. The device according to claim 20, characterized in that The second processing module is also used for: If it is determined that the first IMEI and the second IMEI are the same, accepting the first registration request; In a case where it is determined that the first IMEI and the second IMEI are different, the first registration request is rejected.
22. The device according to claim 20, characterized in that In the case where the device rejects the first registration request, the device further includes: a sending module, configured to send fifth indication information to the terminal or the first network device, wherein the fifth indication information is used to indicate a reason why the apparatus rejects the first registration request, and the reason includes at least one of the following: The terminal is an illegal terminal; The second IMEI is an unacceptable IMEI; Dual registration requests are not permitted; The terminal does not support dual registration; The first registration request is not allowed.
23. A network device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the registration method according to any one of claims 1 to 16 are implemented.
24. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the registration method according to any one of claims 1 to 16 are implemented.