WO2017166952A1 - Network registration method and device of mobile terminal during startup, and computer storage medium - Google Patents
Network registration method and device of mobile terminal during startup, and computer storage medium Download PDFInfo
- Publication number
- WO2017166952A1 WO2017166952A1 PCT/CN2017/074184 CN2017074184W WO2017166952A1 WO 2017166952 A1 WO2017166952 A1 WO 2017166952A1 CN 2017074184 W CN2017074184 W CN 2017074184W WO 2017166952 A1 WO2017166952 A1 WO 2017166952A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- registered
- frequency band
- base station
- network
- determining
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
Definitions
- the present invention relates to the field of mobile communications technologies, and in particular, to a method and apparatus for a mobile terminal to register a network, a computer storage medium, and a mobile terminal.
- the GSM network does not have a two-way authentication mechanism for the mobile terminal and the base station as in the 3G and 4G networks, a network performs a one-way authentication mechanism for the mobile terminal.
- the pseudo base station can enable the GSM user to access by simulating the base station, and push information to the user through various methods such as short message, telephone, and Internet access, which not only causes interference to the user, but also protects the user's security and privacy. The damage is caused, and the public spectrum resources are greatly depleted; the mobile terminal has a security risk in the state of accessing the GSM network for communication.
- the embodiment of the invention provides a method and a device for registering a network of a mobile terminal, and a computer storage medium, which aims to improve the security of the mobile terminal in the state of accessing the GSM network for communication during the booting process.
- An apparatus for registering a network of a mobile terminal includes:
- the search network module is configured to search the network when the mobile terminal is powered on, and arrange the networks searched for each frequency band according to the signal strength for network registration;
- the first determining module is configured to determine, when determining a network frequency band to be registered, whether the network frequency band to be registered is a GSM frequency band;
- the second judging module is configured to determine that the network frequency band to be registered is a GSM frequency band Whether the base station corresponding to the network frequency band is registered for the first time to send a location update registration request;
- control module configured to: when the base station to be registered is the first time to send a location update registration request, set a preset parameter in the location update registration request with an incorrect user identifier, and send the location update registration request to the Base station to be registered;
- the third determining module is configured to determine whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period;
- the processing module is configured to re-register with the to-be-registered base station according to the correct user card identification code when receiving the first rejection registration information within the first preset time period; when in the first preset time period When the first rejection registration information is not received, the network frequency band to be registered is re-determined according to the signal strength ranking order.
- the device for starting the registration of the network by the mobile terminal further includes:
- a sending module configured to: when the first deny registration information is not received in the first preset time period, receive the authentication sent by the to-be-registered base station according to the location update registration request When requested, the error authentication verification information obtained according to the first preset algorithm is sent to the base station to be registered;
- the fourth determining module is configured to determine whether the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information is received in the second preset time period;
- the processing module is further configured to: when receiving the second refusal registration information in the second preset time period, obtain correct authentication verification information according to the correct user card identification code and the second preset algorithm.
- the registered base station is re-registered; when the second refusal registration information is not received within the second preset time period, the network frequency band to be registered is re-determined according to the signal strength ranking order.
- the device for starting the registration of the network by the mobile terminal further includes:
- the fifth determining module is configured to determine whether the network frequency band to be registered is a pseudo base station frequency band; when the network frequency band to be registered is a pseudo base station frequency band, triggering the processing module to perform re-determination of the network frequency band operation to be registered according to the signal strength ranking order
- the second determining module is configured to perform the registration operation for determining whether the base station corresponding to the network frequency band to be registered is the first sending location update registration request.
- the fifth determining module is configured to determine whether the network frequency band to be registered exists in the pre-stored pseudo base station frequency band table; if yes, determine the network to be registered.
- the frequency band is a pseudo base station frequency band; if not, determining that the network frequency band to be registered is a true base station frequency band;
- the processing module is further configured to: when the first deny registration information is not received within the first preset time period, record the frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
- the fifth judging module can be implemented by using a central processing unit (CPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA).
- CPU central processing unit
- DSP digital signal processor
- FPGA field-programmable gate array
- the user identifier includes one of an IMSI, a TMSI, an IMEI, and an IMEISV.
- the embodiment of the invention further provides a method for a mobile terminal to register a network, comprising:
- the network is searched, and the networks searching for each frequency band are arranged according to the signal strength for network registration;
- determining whether the network frequency band to be registered is a GSM frequency band
- the network frequency band to be registered is the GSM frequency band
- the preset parameter in the location update registration request is set with an incorrect user identifier, and the location update registration request is sent to the base station to be registered;
- the network frequency band to be registered is re-determined according to the signal strength ranking order.
- the method before the determining the network frequency band to be registered according to the signal strength ranking order, the method further includes:
- the network frequency band to be registered is re-determined according to the signal strength ranking order.
- the method before determining whether the base station corresponding to the network band to be registered is registered for the first time to send the location update registration request, the method further includes:
- the base station corresponding to the network frequency band to be registered is determined to be registered for the first time sending location update registration request.
- the determining whether the network frequency band to be registered is a pseudo Base station bands include:
- Determining whether the network frequency band to be registered exists in the pre-stored pseudo base station frequency band table if yes, determining that the network frequency band to be registered is a pseudo base station frequency band; if not, determining that the network frequency band to be registered is True base station band;
- the method further includes: recording the frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
- the user identifier includes one of an IMSI, a TMSI, an IMEI, and an IMEISV.
- the embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions include:
- the network is searched, and the networks searching for each frequency band are arranged according to the signal strength for network registration;
- determining whether the network frequency band to be registered is a GSM frequency band
- the network frequency band to be registered is the GSM frequency band
- the preset parameter in the location update registration request is set with an incorrect user identifier, and the location update registration request is sent to the base station to be registered;
- the network frequency band to be registered is re-determined according to the signal strength ranking order.
- the computer executable instructions further include:
- the algorithm Before re-determining the network band to be registered according to the signal strength ranking order, when In the case that the first deny registration information is not received in the first preset time period, when receiving the authentication request sent by the to-be-registered base station according to the location update registration request, according to the first preset The algorithm obtains incorrect authentication verification information and sends the information to the base station to be registered;
- the network frequency band to be registered is re-determined according to the signal strength ranking order.
- the computer executable instructions further include:
- the base station corresponding to the network frequency band to be registered is determined to be registered for the first time sending location update registration request.
- the computer executable instructions further include:
- determining whether the network frequency band to be registered is a pseudo base station frequency band
- determining whether the network frequency band to be registered exists in the pre-stored pseudo base station frequency band table; if yes, determining that the network frequency band to be registered is pseudo a base station frequency band; if not, determining that the network frequency band to be registered is a true base station frequency band;
- the method further includes: recording the frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
- the user identifier includes one of an IMSI, a TMSI, an IMEI, and an IMEISV.
- An embodiment of the present invention provides a mobile terminal, where the mobile terminal includes:
- a storage medium configured to store computer executable instructions
- a processor configured to execute computer executable instructions stored on the storage medium, the computer executable instructions comprising: searching for a network when the mobile terminal is powered on, and arranging the networks searched for each frequency band according to signal strength, When the network frequency band to be registered is determined, it is determined whether the network frequency band to be registered is the GSM frequency band; when the network frequency band to be registered is the GSM frequency band, it is determined whether the base station corresponding to the network frequency band to be registered is the first time to send the location update registration.
- the processor is configured to execute computer executable instructions stored on the storage medium, the computer executable instructions further comprising: determining, according to a sequence of signal strengths, re-determining Before the registered network band, if the first refusal of registration information is not received within the first preset time period, the eNB that receives the registration request to update according to the location update request is received.
- the erroneous authentication verification information is sent to the base station to be registered according to the first preset algorithm, and it is determined whether the base station to be registered is received according to the error in the second preset time period.
- the second rejection registration information sent by the verification information if yes, the correct authentication verification information is obtained according to the correct user card identification code and the second preset algorithm to re-register with the base station to be registered; if not, according to the signal strength
- the order of the sequences re-determines the network band to be registered.
- the processor is configured to execute computer executable instructions stored on the storage medium, the computer executable instructions further comprising: determining, by the network frequency band to be registered, Whether the base station determines whether the network band to be registered is a pseudo base station band before registering the first location update request, and if so, executing the root
- the network frequency band to be registered is re-determined according to the signal strength sequence; if not, the base station corresponding to the network frequency band to be registered is determined to be registered for the first time location update registration request.
- the processor is configured to execute computer executable instructions stored on the storage medium, the computer executable instructions further comprising: determining whether a network frequency band to be registered is In the process of the pseudo base station frequency band, determining whether the network frequency band to be registered exists in the pre-stored pseudo base station frequency band table; if yes, determining that the network frequency band to be registered is a pseudo base station frequency band; if not, determining the The network frequency band to be registered is the true base station frequency band; the re-determining the network frequency band to be registered according to the signal strength ranking order further includes: recording the frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
- the user identifier includes one of an IMSI, a TMSI, an IMEI, and an IMEISV.
- the network when the mobile terminal is powered on, the network is searched, and the network that searches for each frequency band is arranged according to the signal strength to perform network registration; when determining the network frequency band to be registered, it is determined whether the network frequency band to be registered is GSM.
- Frequency band when the network frequency band to be registered is the GSM frequency band, it is determined whether the base station corresponding to the network frequency band to be registered is registered for the first time location update registration request; when the base station to be registered is the first time to send a location update registration request, the wrong user
- the identifier setting location updates the preset parameter in the registration request, and sends the location update registration request to the base station to be registered; and determines whether the base station to be registered receives the request according to the location update registration request in the first preset time period.
- the registration information is rejected; if yes, the base station to be registered is re-registered according to the correct user card identification code; if not, the network frequency band to be registered is re-determined according to the signal strength ranking order.
- the mobile terminal Since the network band to be registered is determined to be a pseudo base station band during the startup process of the mobile terminal, the mobile terminal can be prevented from being connected to the pseudo base station after being powered on, thereby improving the state in which the mobile terminal accesses the GSM network for communication during the booting process.
- FIG. 1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present invention
- FIG. 2 is a schematic structural diagram of a function module of a first embodiment of a device for registering a network of a mobile terminal according to the present invention
- FIG. 3 is a schematic structural diagram of a function module of a second embodiment of a device for registering a network of a mobile terminal according to the present invention
- FIG. 4 is a diagram showing an example of registration of a mobile terminal in an embodiment of a device for registering a network of a mobile terminal according to the present invention
- FIG. 5 is a diagram showing an example of registration of a mobile terminal in another embodiment of a device for booting a network of a mobile terminal according to the present invention
- FIG. 6 is a schematic structural diagram of a function module of a third embodiment of a device for booting a network of a mobile terminal according to the present invention.
- FIG. 7 is a schematic flowchart of a first embodiment of a method for a mobile terminal to register a network according to the present invention
- FIG. 8 is a schematic flowchart of a second embodiment of a method for a mobile terminal to register a network according to the present invention.
- FIG. 9 is a schematic flowchart of a third embodiment of a method for a mobile terminal to register a network according to the present invention.
- FIG. 10 is a diagram showing an example of a mobile terminal registration process in an embodiment of a method for a mobile terminal to register a network according to an embodiment of the present invention.
- the mobile terminal can be implemented in various forms.
- the terminal described in the present invention can be packaged Mobile terminals such as mobile phones, smart phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (tablets), PMPs (portable multimedia players), navigation devices, and the like, and such as digital TVs, desktops
- a fixed terminal such as a computer.
- the terminal is a mobile terminal.
- configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
- FIG. 1 is a schematic diagram showing the hardware structure of a mobile terminal embodying various embodiments of the present invention.
- the mobile terminal 100 of the embodiment of the present invention includes an antenna 101, a transceiver 102, a processor 103, a digital signal processing chip 104, a codec 105, an earpiece 106, a microphone 107, and a subscriber identity card 108.
- the subscriber identity card 108 is used for connection and information exchange with the mobile terminal 100, provides related data required for mobile communication services (voice service, data service, etc.), and stores user information, short messages, and execution authentication algorithms therein. Generate encryption keys, etc.
- Digital signal processing chip 104 includes suitable hardware, logic, circuitry, and/or code for audio signal processing, such as echo signal suppression, noise suppression, etc. during audio processing.
- the codec 105 includes appropriate hardware, logic, circuitry, and/or code for A/D and D/A conversion.
- Antenna 101 is used to transmit and receive signals.
- Handset 106 includes suitable hardware, logic, circuitry, and/or code for outputting sound signals.
- Microphone 107 includes suitable hardware, logic, circuitry, and/or code for acquiring voice signals.
- the transceiver 102 is responsible for modulating the signal from the processor to the radio frequency band and transmitting it by the antenna after being processed by power amplification or the like.
- the transceiver 102 is also responsible for transmitting the signal received by the antenna to the processor 103 after low power noise amplification, mixing, and the like.
- the processor 103 is configured to perform baseband processing functions of the physical layer of the communication protocol stack, including digital association Detection, modulation/demodulation, channel coding/decoding, etc., as well as for handling complex logical operations and task assignment, providing an interactive interface for the user, executing an operating system of the mobile terminal, and the like.
- the mobile terminal 100 further includes a memory, a power supply unit, a positioning unit, a display unit, and the like for performing respective functions.
- the first embodiment of the present invention provides an apparatus for registering a network of a mobile terminal, and the apparatus for registering a network by the mobile terminal includes:
- the search network module 11 is configured to search the network when the mobile terminal is powered on, and arrange the networks searched for each frequency band according to the signal strength to perform network registration;
- the device for registering a network of a mobile terminal is mainly used in a mobile terminal, and is used for selecting a network for communicating with a mobile terminal in a GSM network environment.
- the mobile terminal is preferably a mobile phone.
- the mobile terminal is a mobile phone as an example for detailed description.
- the network in the current environment needs to be searched, and the searched network is arranged according to the signal strength. Therefore, when registering in the network, the network frequency band to be registered is selected according to the order in which the signal strengths are arranged.
- the above network may include 2G (ie, GSM network), 3G, and 4G.
- the first determining module 12 is configured to determine, when determining the network frequency band to be registered, whether the network frequency band to be registered is a GSM frequency band;
- the network frequency band to be registered After determining the network frequency band to be registered, it is first determined whether the network frequency band to be registered is the GSM frequency band, and if it is the GSM frequency band, the pseudo base station frequency band judgment is required. If it is not the GSM frequency band, the pseudo base station judgment is not required, and the direct base station is directly initiated. Location update registration can be.
- the pseudo base station usually obtains the BCCH (Broadcast Control Channel) frequency and field strength information of the neighboring cell on the mobile phone through the engineering mobile phone, and the selected signal is the most The weak cell performs masquerading; then, according to the GSM cell selection and reselection algorithm, the pseudo base station cell generates a great C2 value to inhale the surrounding user's mobile phone to camp (ie, the mobile phone accesses the GSM network formed by the pseudo base station).
- the pseudo base station can obtain the underlying information of the network such as the user TMSI/IMSI/IMEI, and finally set any caller number to send information (for example, scam message) to the user through the SDCCH channel. Therefore, the pseudo base station is not interconnected with the real mobile network.
- the user's mobile phone accesses the pseudo base station, the user cannot dial the real user, and cannot send information and data to the real user and the website.
- the second judging module 13 is configured to: when the network frequency band to be registered is the GSM frequency band, determine whether the base station corresponding to the network frequency band to be registered is registered for the first sending location update registration request;
- the control module 14 is configured to: when the base station to be registered is the first time to send the location update registration request, set the preset parameter in the location update registration request with the wrong user identifier, and send the location update registration request to the base station to be registered;
- the mobile phone when performing cell reselection and power-on search, the mobile phone needs to initiate a location update registration to the base station.
- Data services network data communication
- voice services for example, voice calls, text messaging, etc.
- the base station needs to identify the mobile phone to determine whether it is an illegal user. If it is an illegal user, the base station will reject the mobile phone registration. Therefore, the embodiment of the present invention identifies the pseudo base station in the registration process of the power-on network registration and the cell re-selection. When it is selected to confirm that the network band to be registered is the GSM band, it is necessary to identify whether the base station to be registered is a pseudo base station.
- the user identifier is a parameter used by the base station to identify whether the user is an illegal user. It can be understood that the content of the user identifier is different under different protocol codes.
- the subscriber identity code includes an IMSI (International Mobile Subscriber Identification Number), an IMEI (International Mobile Equipment Identity), a TMSI (Temporary Mobile Subscriber Identity), and an IMEISV ( One of the International Mobile Equipment Identity Software Version).
- the location update registration request is sent to the base station, and it is determined whether the user sends the location update registration request to the base station for the first time, and if yes, the user is identified by the wrong user.
- the preset parameter in the code setting location update registration request forms a specific location update registration request, and then transmits the specific location update registration request to the base station. It can be understood that the above-mentioned erroneous user identification code is used for identification failure when performing illegal user identification on the base station.
- the setting manner of the erroneous user identification code may be set according to actual needs, for example, the number of digits of the user identification code may be modified or a fixed value (such as 1) may be added to the correct user identification code, etc., specifically The implementation manner is not further limited herein. If the base station to be registered is not the first registration, the location update registration is performed according to the normal registration process, and the normal location update registration process is not further described herein.
- the third determining module 15 is configured to determine whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period;
- the processing module 16 is configured to re-register with the base station to be registered according to the correct user card identification code when the first rejection registration information is received within the first preset time period; when not received within the first preset time period When the first registration information is rejected, the network frequency band to be registered is re-determined according to the signal strength ranking order.
- the base station to be registered when the base station to be registered receives the location update registration request, the user identifier is obtained according to the preset parameter in the location update registration request. Since the user identification code received at this time is an incorrect identification code, when the base station to be registered performs user identification, it will determine that the currently registered mobile phone is an illegal user, and the mobile phone registration will be rejected at this time, and at the same time, the mobile phone will be notified to the mobile phone. Send the first rejection registration information. Based on the above registration principle, after the mobile phone updates the registration request according to the incorrect user identification code, it is determined whether the result of the first rejection registration information returned by the base station is received within the first preset time period. Pseudo identification.
- the base station to be registered is a true base station;
- the first deny registration information sent by the base station to be registered according to the location update registration request is not received in the inter-segment, and then the base station to be registered is determined to be a pseudo base station.
- the length of the first preset time period may be set according to actual needs, which is not further defined herein.
- the base station to be registered When it is determined that the base station to be registered is a pseudo base station, one base station is re-selected for registration, and when the reselected base station to be registered has been registered before, the registration is performed according to a normal registration procedure; if the base station to be registered is re-selected If it is not registered, it will be registered according to the registration process of this scheme to identify whether the base station is a pseudo base station. After being identified as a true base station by the identification, the registration can be performed on the base station to be registered according to the normal registration procedure. In this embodiment, the base station to be registered can be re-registered according to the correct user card identification code.
- the network when the mobile terminal is powered on, the network is searched, and the network that searches for each frequency band is arranged according to the signal strength to perform network registration; when determining the network frequency band to be registered, it is determined whether the network frequency band to be registered is GSM.
- Frequency band when the network frequency band to be registered is the GSM frequency band, it is determined whether the base station corresponding to the network frequency band to be registered is registered for the first time location update registration request; when the base station to be registered is the first time to send a location update registration request, the wrong user
- the identifier setting location updates the preset parameter in the registration request, and sends the location update registration request to the base station to be registered; and determines whether the base station to be registered receives the request according to the location update registration request in the first preset time period.
- the registration information is rejected; if yes, the base station to be registered is re-registered according to the correct user card identification code; if not, the network frequency band to be registered is re-determined according to the signal strength ranking order.
- the mobile terminal Since the network band to be registered is determined to be a pseudo base station band during the startup process of the mobile terminal, the mobile terminal can be prevented from being connected to the pseudo base station after being powered on, thereby improving the state in which the mobile terminal accesses the GSM network for communication during the booting process.
- the apparatus for registering a network by the mobile terminal includes:
- the search network module 11 is configured to search the network when the mobile terminal is powered on, and search for each frequency Segment networks are arranged according to signal strength for network registration;
- the first determining module 12 is configured to determine, when determining the network frequency band to be registered, whether the network frequency band to be registered is a GSM frequency band;
- the second judging module 13 is configured to: when the network frequency band to be registered is the GSM frequency band, determine whether the base station corresponding to the network frequency band to be registered is registered for the first sending location update registration request;
- the control module 14 is configured to: when the base station to be registered is the first time to send the location update registration request, set the preset parameter in the location update registration request with the wrong user identifier, and send the location update registration request to the base station to be registered;
- the third determining module 15 is configured to determine whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period;
- the sending module 17 is configured to: when the first deny registration information is not received within the first preset time period, when receiving the authentication request sent by the to-be-registered base station according to the location update registration request, according to the first pre- The algorithm obtains the wrong authentication verification information and sends the information to the base station to be registered;
- the fourth determining module 18 is configured to determine whether the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information is received in the second preset time period;
- the processing module 16 is configured to: according to the correct user card identification code and the first when the first rejection registration information is received within the first preset time period or the second rejection registration information is received within the second preset time period
- the second preset algorithm obtains the correct authentication verification information to re-register with the base station to be registered; when the second rejection registration information is not received within the second preset time period or when the first reservation period is not received within the first preset time period
- the registration request is rejected, the authentication request sent by the base station to be registered according to the location update registration request is not received, and the network frequency band to be registered is re-determined according to the signal strength ranking order.
- the base station when registering on the real base station, if the location update registration request is sent with the wrong user identifier, the base station will send the location update registration request to the core network, where the core network can be located. Sending the first refusal registration information to the mobile phone through the base station; in addition, the core network It is also possible not to refuse registration here, and to refuse registration in the subsequent authentication process.
- the core network sends an authentication request to the mobile phone through the base station, where the authentication request carries a preset authentication parameter.
- the mobile terminal obtains the wrong authentication verification information according to the authentication request and the first preset algorithm, and then sends the error to the base station to be registered.
- the erroneous authentication verification information may be sent by the base station to the core network for authentication, thereby determining the authentication identification, and the core network sends the second refusal registration information to the mobile phone through the real base station to reject the true Registration of the base station; if the fake base station receives the erroneous authentication verification information, since the authentication cannot be performed, the registration is usually directly accepted to camp the registered mobile phone on the base station.
- whether the mobile phone to be registered receives the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information may determine whether the base station to be registered is a true base station.
- the length of the second preset time period can be set according to actual needs, which is not further defined herein.
- the content of the first rejection registration information and the second rejection registration information may be set according to actual needs, and details are not described herein.
- the real base station is different in the time of transmitting the refusal of the registration information
- the authentication is still sent when the authentication is performed.
- the information is verified so that the accuracy of the base station identification can be guaranteed in both layers.
- the calculation method of the incorrect authentication verification information can be set according to actual needs.
- the authentication parameter in the above authentication request may not be used, and the algorithm expression of the authentication calculation may also be changed.
- the manner of its specific modification is not further defined herein.
- the apparatus for registering a network by the mobile terminal includes:
- the search network module 11 is configured to search the network when the mobile terminal is powered on, and arrange the networks searched for each frequency band according to the signal strength to perform network registration;
- the first determining module 12 is configured to determine, when determining the network frequency band to be registered, the to-be-registered Whether the network band is the GSM band;
- the second judging module 13 is configured to: when the network frequency band to be registered is the GSM frequency band, determine whether the base station corresponding to the network frequency band to be registered is registered for the first sending location update registration request;
- the control module 14 is configured to: when the base station to be registered is the first time to send the location update registration request, set the preset parameter in the location update registration request with the wrong user identifier, and send the location update registration request to the base station to be registered;
- the third determining module 15 is configured to determine whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period;
- the processing module 16 is configured to re-register with the base station to be registered according to the correct user card identification code when the first rejection registration information is received within the first preset time period; when not received within the first preset time period When the first registration information is rejected, the network frequency band to be registered is re-determined according to the signal strength ranking order;
- the fifth determining module 19 is configured to determine whether the network frequency band to be registered is a pseudo base station frequency band.
- the trigger processing module 16 performs re-determination of the network frequency band operation to be registered according to the signal strength ranking order.
- the second determining module 13 is configured to determine whether the base station corresponding to the network frequency band to be registered performs the registration operation for the first time sending location update registration request.
- the preset rule may be in various forms, for example, in the form of a white list, or may be determined in the form of a blacklist. The following will be described in detail in the form of a blacklist.
- the pseudo base station frequency band of the previous statistics may be marked and built, and stored in the mobile phone to form a pre-stored pseudo base station frequency band table.
- the fifth determining module 19 is configured to: determine whether there is a network frequency band to be registered in the pre-stored pseudo base station frequency band table; if yes, determine that the network frequency band to be registered is a pseudo base station frequency band; If not, determine the network band to be registered It is the true base station band.
- a specific mode may also be set to determine whether the currently registered base station is a pseudo base station after the mobile terminal registers with the base station.
- the method for controlling the booting of the mobile terminal to register the network is different from the method for controlling the booting of the mobile terminal by the mobile terminal.
- the method further includes: a sixth determining module, determining whether to enter the pseudo base station identification mode; the first determining module 120 Specifically, when the mobile terminal enters the pseudo base station identification mode, and determines the network frequency band to be registered, it is determined whether the network frequency band to be registered is the GSM frequency band.
- a display interface can be output for the user to input whether pseudo base station identification is required.
- the mobile phone is controlled to enter the pseudo base station identification mode.
- the currently registered base station is identified after the mobile phone registers with the base station. Since the process of authenticating the base station itself has a delay problem, it is not necessary to authenticate the registered base station at all times. After all, the probability of occurrence of the pseudo base station is small, and the user can perform authentication when performing important operations. Therefore, in this embodiment, a proprietary mode is set for authenticating the mobile phone, which can improve the flexibility of the authentication operation.
- the method for the mobile terminal to register a network includes:
- Step S110 when the mobile terminal is powered on, search the network, and arrange the networks searching for each frequency band according to the signal strength to perform network registration;
- the method for the mobile terminal to register the network is mainly applied to the mobile terminal, and is used for selecting a network for communicating with the mobile terminal in a GSM network environment.
- the mobile terminal is preferably a mobile phone.
- the mobile terminal is a mobile phone as an example for detailed description.
- the mobile phone when the mobile phone is powered on, it is necessary to search the network in the current environment.
- the searched networks are arranged according to the signal strength. Therefore, when registering in the network, the network frequency band to be registered is selected according to the order in which the signal strengths are arranged.
- the above network may include 2G (ie, GSM network), 3G, and 4G.
- Step S120 When determining the network frequency band to be registered, determining whether the network frequency band to be registered is a GSM frequency band;
- the network frequency band to be registered After determining the network frequency band to be registered, it is first determined whether the network frequency band to be registered is the GSM frequency band, and if it is the GSM frequency band, the pseudo base station frequency band judgment is required. If it is not the GSM frequency band, the pseudo base station judgment is not required, and the direct base station is directly initiated. Location update registration can be.
- the pseudo base station generally obtains the BCCH (Broadcast Control Channel) frequency and field strength information of the neighboring cell on the mobile phone through the engineering mobile phone, and performs the masquerading of the cell with the weakest selected signal; and then according to the GSM cell selection and reselection algorithm.
- the pseudo base station cell generates a great C2 value to inhale the surrounding user's mobile phone to camp (ie, the mobile phone accesses the GSM network formed by the pseudo base station).
- the pseudo base station can obtain the underlying information of the network such as the user TMSI/IMSI/IMEI, and finally set any caller number to send information (for example, scam message) to the user through the SDCCH channel. Therefore, the pseudo base station is not interconnected with the real mobile network.
- the user's mobile phone accesses the pseudo base station, the user cannot dial the real user, and cannot send information and data to the real user and the website.
- Step S130 When the network frequency band to be registered is the GSM frequency band, determine whether the base station corresponding to the network frequency band to be registered is registered for the first time sending location update registration request;
- Step S140 when the base station to be registered is the first time to send a location update registration request, the preset parameter in the location update registration request is set with the wrong user identification code, and the location update registration request is sent to the base station to be registered;
- the mobile phone when performing cell reselection and power-on search, the mobile phone needs to initiate a location update registration to the base station.
- Data services network data communication
- voice services for example, voice calls, text messaging, etc.
- the base station needs to identify the mobile phone to determine whether it is an illegal user. If it is an illegal user, Then the base station will reject the phone registration. Therefore, the embodiment of the present invention identifies the pseudo base station in the registration process of the power-on network registration and the cell re-selection. When it is selected to confirm that the network band to be registered is the GSM band, it is necessary to identify whether the base station to be registered is a pseudo base station.
- the user identifier is a parameter used by the base station to identify whether the user is an illegal user. It can be understood that the content of the user identifier is different under different protocol codes.
- the subscriber identity code includes an IMSI (International Mobile Subscriber Identification Number), an IMEI (International Mobile Equipment Identity), a TMSI (Temporary Mobile Subscriber Identity), and an IMEISV ( One of the International Mobile Equipment Identity Software Version).
- the location update registration request is sent to the base station, and it is determined whether the user sends the location update registration request to the base station for the first time, and if yes, the user is identified by the wrong user.
- the preset parameter in the code setting location update registration request forms a specific location update registration request, and then transmits the specific location update registration request to the base station. It can be understood that the above-mentioned erroneous user identification code is used for identification failure when performing illegal user identification on the base station.
- the setting manner of the erroneous user identification code may be set according to actual needs, for example, the number of digits of the user identification code may be modified or a fixed value (such as 1) may be added to the correct user identification code, etc., specifically The implementation manner is not further limited herein. If the base station to be registered is not the first registration, the location update registration is performed according to the normal registration process, and the normal location update registration process is not further described herein.
- step S150 it is determined whether the first reject registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period; if yes, step S160 is performed, otherwise step S170 is performed;
- Step S160 re-registering with the base station to be registered according to the correct user card identification code
- Step S170 re-determining the network frequency band to be registered according to the signal strength ranking order.
- the base station to be registered when the base station to be registered receives the location update registration request, the user identifier is obtained according to the preset parameter in the location update registration request. Since the user identification code received at this time is an incorrect identification code, when the base station to be registered performs user identification, it will determine that the currently registered mobile phone is an illegal user, and the mobile phone registration will be rejected at this time, and at the same time, the mobile phone will be notified to the mobile phone. Send the first rejection registration information. Based on the above registration principle, after the mobile phone updates the registration request according to the incorrect user identification code, it is determined whether the result of the first rejection registration information returned by the base station is received within the first preset time period. Pseudo identification.
- the base station to be registered is a true base station; if the first preset time period is If the first refusal registration information sent by the base station to be registered according to the location update registration request is not received, it is determined that the base station to be registered is a pseudo base station. It can be understood that the length of the first preset time period may be set according to actual needs, which is not further defined herein.
- the base station to be registered When it is determined that the base station to be registered is a pseudo base station, one base station is re-selected for registration, and when the reselected base station to be registered has been registered before, the registration is performed according to a normal registration procedure; if the base station to be registered is re-selected If it is not registered, it will be registered according to the registration process of this scheme to identify whether the base station is a pseudo base station. After being identified as a true base station by the identification, the registration can be performed on the base station to be registered according to the normal registration procedure. In this embodiment, the base station to be registered can be re-registered according to the correct user card identification code.
- the network when the mobile terminal is powered on, the network is searched, and the network that searches for each frequency band is arranged according to the signal strength to perform network registration; when determining the network frequency band to be registered, it is determined whether the network frequency band to be registered is GSM.
- Frequency band when the network frequency band to be registered is the GSM frequency band, it is determined whether the base station corresponding to the network frequency band to be registered is registered for the first time location update registration request; when the base station to be registered is the first time to send a location update registration request, the wrong user
- the identifier setting location updates the preset parameter in the registration request, and sends the location update registration request to the base station to be registered; determining whether the base station to be registered is received in the first preset time period according to The first refusal registration information sent by the location update registration request; if yes, re-registering with the base station to be registered according to the correct user card identification code; if not, re-determining the network frequency band to be registered according to the signal strength ranking order.
- the mobile terminal Since the network band to be registered is determined to be a pseudo base station band during the startup process of the mobile terminal, the mobile terminal can be prevented from being connected to the pseudo base station after being powered on, thereby improving the state in which the mobile terminal accesses the GSM network for communication during the booting process.
- the method for the mobile terminal to register the network includes:
- Step S110 when the mobile terminal is powered on, search the network, and arrange the networks searching for each frequency band according to the signal strength to perform network registration;
- Step S120 When determining the network frequency band to be registered, determining whether the network frequency band to be registered is a GSM frequency band;
- Step S130 When the network frequency band to be registered is the GSM frequency band, determine whether the base station corresponding to the network frequency band to be registered is registered for the first time sending location update registration request;
- Step S140 when the base station to be registered is the first time to send a location update registration request, the preset parameter in the location update registration request is set with the wrong user identification code, and the location update registration request is sent to the base station to be registered;
- step S150 it is determined whether the first reject registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period; if yes, step S200 is performed; otherwise, step S180 is performed;
- step S180 if the first rejection registration information is not received in the first preset time period, it is determined whether the authentication request sent by the base station to be registered according to the location update registration request is received; if yes, step S190 is performed. Otherwise, step S170 is performed;
- Step S190 the error authentication verification information obtained by the first preset algorithm is sent to the base station to be registered;
- Step S200 determining whether the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information is received in the second preset time period; if yes, executing step S210, otherwise performing step S170;
- Step S210 obtaining correct authentication verification information according to the correct user card identification code and the second preset algorithm, and re-registering with the base station to be registered;
- Step S170 re-determining the network frequency band to be registered according to the signal strength ranking order.
- the above step S210 replaces the above step S160.
- the base station when registering on the real base station, if the location update registration request is sent with the wrong user identifier, the base station will send the location update registration request to the core network, where the core network can be located.
- the first reject registration information is sent to the mobile phone through the base station; in addition, the core network may not refuse to register here, and refuses to register in the subsequent authentication process.
- the core network sends an authentication request to the mobile phone through the base station, where the authentication request carries a preset authentication parameter.
- the mobile terminal obtains the wrong authentication verification information according to the authentication request and the first preset algorithm, and then sends the error to the base station to be registered.
- the erroneous authentication verification information may be sent by the base station to the core network for authentication, thereby determining the authentication identification, and the core network sends the second refusal registration information to the mobile phone through the real base station to reject the true Registration of the base station; if the fake base station receives the erroneous authentication verification information, since the authentication cannot be performed, the registration is usually directly accepted to camp the registered mobile phone on the base station.
- whether the mobile phone to be registered receives the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information may determine whether the base station to be registered is a true base station.
- the length of the second preset time period can be set according to actual needs, which is not further defined herein.
- the content of the first rejection registration information and the second rejection registration information may be set according to actual needs, and details are not described herein.
- the true base station is different at the time of sending the rejection registration information, this is true.
- the mobile phone is registered on the same base station to be registered for the first time in the embodiment, when the authentication is performed, the wrong authentication verification information is still sent, so that the accuracy of the base station identification can be guaranteed in both layers.
- the calculation method of the incorrect authentication verification information can be set according to actual needs.
- the authentication parameter in the above authentication request may not be used, and the algorithm expression of the authentication calculation may also be changed. The manner of its specific modification is not further defined herein.
- the method for the mobile terminal to register the network includes:
- Step S110 when the mobile terminal is powered on, search the network, and arrange the networks searching for each frequency band according to the signal strength to perform network registration;
- Step S120 When determining the network frequency band to be registered, determining whether the network frequency band to be registered is a GSM frequency band;
- step S220 when the network frequency band to be registered is the GSM frequency band, it is determined whether the network frequency band to be registered is a pseudo base station frequency band; if yes, step S170 is performed; if not, step S130 is performed.
- Step S130 determining whether the base station corresponding to the network frequency band to be registered is registered for the first time sending location update registration request
- Step S140 when the base station to be registered is the first time to send a location update registration request, the preset parameter in the location update registration request is set with the wrong user identification code, and the location update registration request is sent to the base station to be registered;
- step S150 it is determined whether the first reject registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period; if yes, step S160 is performed, otherwise step S170 is performed;
- Step S160 re-registering with the base station to be registered according to the correct user card identification code
- Step S170 re-determining the network frequency band to be registered according to the signal strength ranking order.
- the network frequency band to be registered When it is selected to confirm that the network frequency band to be registered is the GSM frequency band, it may be determined according to a preset rule whether the network frequency band to be registered is a pseudo base station frequency band.
- the rules can be in various forms, such as in the form of a whitelist, or in the form of a blacklist. The following will be described in detail in the form of a blacklist.
- the pseudo base station frequency band of the previous statistics may be marked and built, and stored in the mobile phone to form a pre-stored pseudo base station frequency band table.
- the foregoing step S210 includes: determining whether there is a network frequency band to be registered in the pre-stored pseudo base station frequency band table; if yes, determining that the network frequency band to be registered is a pseudo base station frequency band; if not, It is determined that the network frequency band to be registered is a true base station frequency band.
- a specific mode may also be set to determine whether the currently registered base station is a pseudo base station when the mobile terminal registers with the base station.
- the method for the mobile terminal to start the registration of the network is different from the method for the mobile terminal to register the network.
- the method further includes: determining whether to enter the pseudo base station identification mode before the step S120; the step S120 is specifically: When the mobile terminal enters the pseudo base station identification mode and determines the network frequency band to be registered, it is determined whether the network frequency band to be registered is the GSM frequency band.
- a display interface can be output for the user to input whether pseudo base station identification is required.
- the mobile phone is controlled to enter the pseudo base station identification mode.
- the currently registered base station is identified when the mobile phone registers with the base station. Since the process of authenticating the base station itself has a delay problem, it is not necessary to authenticate the registered base station at all times. After all, the probability of occurrence of the pseudo base station is small, and the user can perform authentication when performing important operations. Therefore, in this embodiment, a proprietary mode is set for authenticating the mobile phone, which can improve the flexibility of the authentication operation.
- the network signal strength is sorted to confirm the base station to be registered; then, it is determined whether the pseudo base station detection mode is enabled; if yes, it is determined whether the network frequency band corresponding to the base station to be registered is the GSM frequency band; If no, the location update registration request is directly initiated.
- the base station detection mode when the network frequency band corresponding to the base station to be registered is not the GSM frequency band, the location update registration request is directly initiated; when the network frequency band corresponding to the base station to be registered is the GSM frequency band, the base station to be registered is determined.
- the corresponding network frequency band is a pseudo base station frequency band, and then re-confirming the base station to be registered according to the network signal strength sequence, to restart the registration process, otherwise, whether the base station to be registered is a pseudo base station is identified by means of authentication.
- the frequency band information corresponding to the pseudo base station is stored in the pseudo base station band table, and the base station to be registered is re-confirmed according to the network signal strength order, to restart the registration process; when it is identified as a true base station , restart the registration process with the correct information, initiate a location update registration request to register. After the location update request is initiated, the corresponding operation is performed according to the result of the registration; if the registration is successful, the registration process is ended. If the registration fails, the base station to be registered is re-confirmed according to the network signal strength ranking order to restart the registration process.
- An embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions include: when the mobile terminal is powered on, searching for a network, and searching for a network of each frequency band according to The signal strength is arranged for network registration; when determining the network band to be registered, it is determined whether the network band to be registered is the GSM band; when the network band to be registered is the GSM band, determining whether the base station corresponding to the network band to be registered is the first Transmitting a location update registration request for registration; when the base station to be registered is the first to send a location update registration request, setting a preset parameter in the location update registration request with an incorrect user identifier, and updating the location registration request Sending to the base station to be registered; determining whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received within the first preset time period; if yes, according to the correct user card The identification code is re-registered with the base station to be registered;
- the computer executable instructions further include: before the redetermining the network frequency band to be registered according to the signal strength ranking order, when the first preset time period is not received, In the case of the first rejection of the registration information, the receipt of the note is received.
- the base station updates the registration request according to the location update request, the error authentication verification information is sent to the base station to be registered according to the first preset algorithm; and it is determined whether the second base station is received in the second preset time period.
- the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information if yes, obtaining the correct authentication verification information according to the correct user card identification code and the second preset algorithm
- the registered base station re-registers; if not, the network frequency band to be registered is re-determined according to the signal strength ranking order.
- the computer executable instruction further includes: determining, by the base station corresponding to the network frequency band to be registered, whether the network band to be registered is a pseudo before registering the first time location update registration request.
- the base station frequency band if yes, performing the determining the network frequency band to be registered according to the signal strength ranking order; if not, performing the determining whether the base station corresponding to the network frequency band to be registered is registered for the first transmission location update registration request.
- the computer executable instruction further includes: determining, in the process of determining whether the network frequency band to be registered is a pseudo base station frequency band, determining whether the to-be-registered is present in the pre-stored pseudo base station frequency band table. a network band; if yes, determining that the network band to be registered is a pseudo base station band; if not, determining that the network band to be registered is a true base station band; and determining, to be registered, according to a sequence of signal strengths
- the network frequency band further includes: recording frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
- the user identifier includes one of an IMSI, a TMSI, an IMEI, and an IMEISV.
- An embodiment of the present invention provides a mobile terminal, where the mobile terminal includes:
- a storage medium configured to store computer executable instructions
- a processor configured to execute computer executable instructions stored on the storage medium, the computer executable instructions comprising: searching for a network when the mobile terminal is powered on, and arranging the networks searched for each frequency band according to signal strength, Network registration; determining the frequency of the network to be registered In the segment, it is determined whether the network band to be registered is the GSM band; when the network band to be registered is the GSM band, it is determined whether the base station corresponding to the network band to be registered is registered for the first-time location update registration request; when the base station to be registered is the first When the location update registration request is sent, the preset parameter in the location update registration request is set with an incorrect user identifier, and the location update registration request is sent to the base station to be registered; Whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received in the time period; if yes, re-registering with the base station to be registered according to the correct user card identification code; The network frequency band to be registered is re-determined according to the signal strength ranking order.
- the processor is configured to execute computer executable instructions stored on the storage medium, the computer executable instructions further comprising: determining, according to a sequence of signal strengths, re-determining Before the registered network band, if the first refusal of registration information is not received within the first preset time period, the eNB that receives the registration request to update according to the location update request is received.
- the erroneous authentication verification information is sent to the base station to be registered according to the first preset algorithm, and it is determined whether the base station to be registered is received according to the error in the second preset time period.
- the second rejection registration information sent by the verification information if yes, the correct authentication verification information is obtained according to the correct user card identification code and the second preset algorithm to re-register with the base station to be registered; if not, according to the signal strength
- the order of the sequences re-determines the network band to be registered.
- the processor is configured to execute computer executable instructions stored on the storage medium, the computer executable instructions further comprising: determining, by the network frequency band to be registered, Whether the base station determines whether the network frequency band to be registered is a pseudo base station frequency band before registering the first time location update registration request; if yes, performing the determining the network frequency band to be registered according to the signal strength ranking order; if not, executing the Determining whether the base station corresponding to the network frequency band to be registered is registered for the first transmission location update registration request.
- the processor is configured to execute computer executable instructions stored on the storage medium, the computer executable instructions further comprising: determining whether a network frequency band to be registered is In the process of the pseudo base station frequency band, determining whether the network frequency band to be registered exists in the pre-stored pseudo base station frequency band table; if yes, determining that the network frequency band to be registered is a pseudo base station frequency band; if not, determining the The network frequency band to be registered is the true base station frequency band; the re-determining the network frequency band to be registered according to the signal strength ranking order further includes: recording the frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
- the user identifier includes one of an IMSI, a TMSI, an IMEI, and an IMEISV.
- the network when the mobile terminal is powered on, the network is searched, and the network that searches for each frequency band is arranged according to the signal strength to perform network registration; when determining the network frequency band to be registered, it is determined whether the network frequency band to be registered is GSM.
- Frequency band when the network frequency band to be registered is the GSM frequency band, it is determined whether the base station corresponding to the network frequency band to be registered is registered for the first time location update registration request; when the base station to be registered is the first time to send a location update registration request, the wrong user
- the identifier setting location updates the preset parameter in the registration request, and sends the location update registration request to the base station to be registered; and determines whether the base station to be registered receives the request according to the location update registration request in the first preset time period.
- the registration information is rejected; if yes, the base station to be registered is re-registered according to the correct user card identification code; if not, the network frequency band to be registered is re-determined according to the signal strength ranking order.
- the mobile terminal Since the network band to be registered is determined to be a pseudo base station band during the startup process of the mobile terminal, the mobile terminal can be prevented from being connected to the pseudo base station after being powered on, thereby improving the state in which the mobile terminal accesses the GSM network for communication during the booting process.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Disclosed is a network registration method of a mobile terminal during startup, comprising: when a mobile terminal starts up, searching for networks; when a network frequency band where registration is to be performed is a GSM frequency band, determining whether it is the first time that a base station corresponding to the network frequency band where registration is to be performed has sent a position update registration request for registration; if it is the first time that the base station where registration is to be performed has sent the position update registration request, configuring a preset parameter of the position update registration request according to an incorrect subscriber identity and sending the position update registration request to the base station where registration is to be performed; determining whether first registration rejection information is received within a preset time period; if yes, registering at the base station where registration is to be performed again according to a correct subscriber identity; and if not, re-determining a network frequency band where registration is to be performed according to arrangement orders of signal intensities. Also disclosed are a network registration device of a mobile terminal during startup, a computer storage medium, and a mobile terminal.
Description
本发明涉及移动通信技术领域,尤其涉及一种移动终端开机注册网络的方法及装置、计算机存储介质及移动终端。The present invention relates to the field of mobile communications technologies, and in particular, to a method and apparatus for a mobile terminal to register a network, a computer storage medium, and a mobile terminal.
众所周知,由于GSM网络不像3G、4G网络那样具有移动终端和基站双向鉴权机制,而是一种网络对移动终端实行单向鉴权机制。在这种鉴权机制下,伪基站可以通过模仿基站,让GSM用户接入,通过短信、电话、上网等多种方式向用户推送信息,不仅对用户造成干扰,还会对用户的安全、隐私等造成危害,以及极大地损耗公共频谱资源;使得移动终端在接入GSM网络进行通信的状态下存在安全隐患。As is known, since the GSM network does not have a two-way authentication mechanism for the mobile terminal and the base station as in the 3G and 4G networks, a network performs a one-way authentication mechanism for the mobile terminal. Under this authentication mechanism, the pseudo base station can enable the GSM user to access by simulating the base station, and push information to the user through various methods such as short message, telephone, and Internet access, which not only causes interference to the user, but also protects the user's security and privacy. The damage is caused, and the public spectrum resources are greatly depleted; the mobile terminal has a security risk in the state of accessing the GSM network for communication.
发明内容Summary of the invention
本发明实施例提出一种移动终端开机注册网络的方法及装置、计算机存储介质,旨在提高移动终端在开机过程中接入GSM网络进行通信的状态下使用的安全性。The embodiment of the invention provides a method and a device for registering a network of a mobile terminal, and a computer storage medium, which aims to improve the security of the mobile terminal in the state of accessing the GSM network for communication during the booting process.
本发明实施例提供的一种移动终端开机注册网络的装置,所述移动终端开机注册网络的装置包括:An apparatus for registering a network of a mobile terminal according to an embodiment of the present invention, where the apparatus for registering a network by the mobile terminal includes:
搜网模块,配置为当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;The search network module is configured to search the network when the mobile terminal is powered on, and arrange the networks searched for each frequency band according to the signal strength for network registration;
第一判断模块,配置为在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;The first determining module is configured to determine, when determining a network frequency band to be registered, whether the network frequency band to be registered is a GSM frequency band;
第二判断模块,配置为当待注册的网络频段为GSM频段,判断待注册
的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;The second judging module is configured to determine that the network frequency band to be registered is a GSM frequency band
Whether the base station corresponding to the network frequency band is registered for the first time to send a location update registration request;
控制模块,配置为当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定所述位置更新注册请求中预置参数,并将所述位置更新注册请求发送至所述待注册的基站;a control module, configured to: when the base station to be registered is the first time to send a location update registration request, set a preset parameter in the location update registration request with an incorrect user identifier, and send the location update registration request to the Base station to be registered;
第三判断模块,配置为判断在第一预设时间段内是否接收到所述待注册的基站根据所述位置更新注册请求发送的第一拒绝注册信息;The third determining module is configured to determine whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period;
处理模块,配置为当在第一预设时间段内接收到所述第一拒绝注册信息时,根据正确的用户卡识别码向所述待注册基站重新注册;当在第一预设时间段内未接收到所述第一拒绝注册信息时,根据信号强度排列顺序重新确定待注册的网络频段。The processing module is configured to re-register with the to-be-registered base station according to the correct user card identification code when receiving the first rejection registration information within the first preset time period; when in the first preset time period When the first rejection registration information is not received, the network frequency band to be registered is re-determined according to the signal strength ranking order.
在本发明实施例一实施方式中,所述移动终端开机注册网络的装置还包括:In an embodiment of the present invention, the device for starting the registration of the network by the mobile terminal further includes:
发送模块,配置为当在所述第一预设时间段内未接收到所述第一拒绝注册信息的情况下,则在接收到所述待注册基站根据所述位置更新注册请求发送的鉴权请求时,根据第一预置算法得到错误的鉴权验证信息发送至所述待注册的基站;a sending module, configured to: when the first deny registration information is not received in the first preset time period, receive the authentication sent by the to-be-registered base station according to the location update registration request When requested, the error authentication verification information obtained according to the first preset algorithm is sent to the base station to be registered;
第四判断模块,配置为判断在第二预设时间段内是否接收到所述待注册的基站根据所述错误的鉴权验证信息发送的第二拒绝注册信息;The fourth determining module is configured to determine whether the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information is received in the second preset time period;
所述处理模块具体还配置为当在第二预设时间段内接收到所述第二拒绝注册信息时,根据正确的用户卡识别码以及第二预置算法得到正确的鉴权验证信息向所述待注册基站重新注册;当在第二预设时间段内未接收到所述第二拒绝注册信息时,根据信号强度排列顺序重新确定待注册的网络频段。The processing module is further configured to: when receiving the second refusal registration information in the second preset time period, obtain correct authentication verification information according to the correct user card identification code and the second preset algorithm. The registered base station is re-registered; when the second refusal registration information is not received within the second preset time period, the network frequency band to be registered is re-determined according to the signal strength ranking order.
在本发明实施例一实施方式中,所述移动终端开机注册网络的装置还包括:
In an embodiment of the present invention, the device for starting the registration of the network by the mobile terminal further includes:
第五判断模块,配置为判断待注册的网络频段是否为伪基站频段;当待注册的网络频段为伪基站频段时,触发所述处理模块执行根据信号强度排列顺序重新确定待注册的网络频段操作;当待注册的网络频段为真基站频段时,触发所述第二判断模块执行所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册操作。The fifth determining module is configured to determine whether the network frequency band to be registered is a pseudo base station frequency band; when the network frequency band to be registered is a pseudo base station frequency band, triggering the processing module to perform re-determination of the network frequency band operation to be registered according to the signal strength ranking order When the network frequency band to be registered is the true base station frequency band, the second determining module is configured to perform the registration operation for determining whether the base station corresponding to the network frequency band to be registered is the first sending location update registration request.
在本发明实施例一实施方式中,所述第五判断模块具体配置为,判断在预存的伪基站频段表中是否存在所述待注册的网络频段;若存在,则确定所述待注册的网络频段为伪基站频段;若不存在,则确定所述待注册的网络频段为真基站频段;In an embodiment of the present invention, the fifth determining module is configured to determine whether the network frequency band to be registered exists in the pre-stored pseudo base station frequency band table; if yes, determine the network to be registered. The frequency band is a pseudo base station frequency band; if not, determining that the network frequency band to be registered is a true base station frequency band;
所述处理模块具体还配置为,当在第一预设时间段内未接收到所述第一拒绝注册信息时,将所述伪基站频段的频段信息记录在所述伪基站频段表中。The processing module is further configured to: when the first deny registration information is not received within the first preset time period, record the frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
所述搜网模块、所述第一判断模块、所述第二判断模块、所述控制模块、所述第三判断模块、所述处理模块、所述发送模块、所述第四判断模块、所述第五判断模块在执行处理时,可以采用中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Singnal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现。The search network module, the first determining module, the second determining module, the control module, the third determining module, the processing module, the sending module, the fourth determining module, and the The fifth judging module can be implemented by using a central processing unit (CPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA).
在本发明实施例一实施方式中,所述用户识别码包括IMSI、TMSI、IMEI和IMEISV中的一种。In an embodiment of the present invention, the user identifier includes one of an IMSI, a TMSI, an IMEI, and an IMEISV.
本发明实施例还提出一种移动终端开机注册网络的方法,包括:The embodiment of the invention further provides a method for a mobile terminal to register a network, comprising:
当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;When the mobile terminal is powered on, the network is searched, and the networks searching for each frequency band are arranged according to the signal strength for network registration;
在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;When determining the network frequency band to be registered, determining whether the network frequency band to be registered is a GSM frequency band;
当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;
When the network frequency band to be registered is the GSM frequency band, it is determined whether the base station corresponding to the network frequency band to be registered is registered for the first time sending location update registration request;
当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定所述位置更新注册请求中预置参数,并将所述位置更新注册请求发送至所述待注册的基站;When the base station to be registered is the first time to send a location update registration request, the preset parameter in the location update registration request is set with an incorrect user identifier, and the location update registration request is sent to the base station to be registered;
判断在第一预设时间段内是否接收到所述待注册的基站根据所述位置更新注册请求发送的第一拒绝注册信息;Determining, by the first preset time period, whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received;
若是,则根据正确的用户卡识别码向所述待注册基站重新注册;If yes, re-registering with the base station to be registered according to the correct user card identification code;
若否,则根据信号强度排列顺序重新确定待注册的网络频段。If not, the network frequency band to be registered is re-determined according to the signal strength ranking order.
在本发明实施例一实施方式中,所述根据信号强度排列顺序重新确定待注册的网络频段之前还包括:In an embodiment of the present invention, before the determining the network frequency band to be registered according to the signal strength ranking order, the method further includes:
当在所述第一预设时间段内未接收到所述第一拒绝注册信息的情况下,则在接收到所述待注册基站根据所述位置更新注册请求发送的鉴权请求时,根据第一预置算法得到错误的鉴权验证信息发送至所述待注册的基站;When the first rejection registration information is not received within the first preset time period, when receiving the authentication request sent by the to-be-registered base station according to the location update registration request, according to the A preset algorithm obtains incorrect authentication verification information and sends the information to the base station to be registered;
判断在第二预设时间段内是否接收到所述待注册的基站根据所述错误的鉴权验证信息发送的第二拒绝注册信息;Determining, in the second preset time period, whether the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information is received;
若是,则根据正确的用户卡识别码以及第二预置算法得到正确的鉴权验证信息向所述待注册基站重新注册;If yes, re-registering the base station to be registered according to the correct user card identification code and the second preset algorithm to obtain correct authentication verification information;
若否,则根据信号强度排列顺序重新确定待注册的网络频段。If not, the network frequency band to be registered is re-determined according to the signal strength ranking order.
在本发明实施例一实施方式中,所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册之前还包括:In an embodiment of the present invention, before determining whether the base station corresponding to the network band to be registered is registered for the first time to send the location update registration request, the method further includes:
判断待注册的网络频段是否为伪基站频段;Determining whether the network frequency band to be registered is a pseudo base station frequency band;
若是,则执行所述根据信号强度排列顺序重新确定待注册的网络频段;If yes, performing the determining, according to the signal strength ranking order, the network frequency band to be registered;
若否,则执行所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册。If no, the base station corresponding to the network frequency band to be registered is determined to be registered for the first time sending location update registration request.
在本发明实施例一实施方式中,所述判断待注册的网络频段是否为伪
基站频段包括:In an embodiment of the present invention, the determining whether the network frequency band to be registered is a pseudo
Base station bands include:
判断在预存的伪基站频段表中是否存在所述待注册的网络频段;若存在,则确定所述待注册的网络频段为伪基站频段;若不存在,则确定所述待注册的网络频段为真基站频段;Determining whether the network frequency band to be registered exists in the pre-stored pseudo base station frequency band table; if yes, determining that the network frequency band to be registered is a pseudo base station frequency band; if not, determining that the network frequency band to be registered is True base station band;
所述根据信号强度排列顺序重新确定待注册的网络频段之前还包括:将所述伪基站频段的频段信息记录在所述伪基站频段表中。Before the determining the network frequency band to be registered according to the signal strength ranking order, the method further includes: recording the frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
在本发明实施例一实施方式中,所述用户识别码包括IMSI、TMSI、IMEI和IMEISV中的一种。In an embodiment of the present invention, the user identifier includes one of an IMSI, a TMSI, an IMEI, and an IMEISV.
本发明实施例提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令包括:The embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions include:
当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;When the mobile terminal is powered on, the network is searched, and the networks searching for each frequency band are arranged according to the signal strength for network registration;
在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;When determining the network frequency band to be registered, determining whether the network frequency band to be registered is a GSM frequency band;
当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;When the network frequency band to be registered is the GSM frequency band, it is determined whether the base station corresponding to the network frequency band to be registered is registered for the first time sending location update registration request;
当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定所述位置更新注册请求中预置参数,并将所述位置更新注册请求发送至所述待注册的基站;When the base station to be registered is the first time to send a location update registration request, the preset parameter in the location update registration request is set with an incorrect user identifier, and the location update registration request is sent to the base station to be registered;
判断在第一预设时间段内是否接收到所述待注册的基站根据所述位置更新注册请求发送的第一拒绝注册信息;Determining, by the first preset time period, whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received;
若是,则根据正确的用户卡识别码向所述待注册基站重新注册;If yes, re-registering with the base station to be registered according to the correct user card identification code;
若否,则根据信号强度排列顺序重新确定待注册的网络频段。If not, the network frequency band to be registered is re-determined according to the signal strength ranking order.
在本发明实施例一实施方式中,该计算机可执行指令还包括:In an embodiment of the present invention, the computer executable instructions further include:
所述根据信号强度排列顺序重新确定待注册的网络频段之前,当在所
述第一预设时间段内未接收到所述第一拒绝注册信息的情况下,则在接收到所述待注册基站根据所述位置更新注册请求发送的鉴权请求时,根据第一预置算法得到错误的鉴权验证信息发送至所述待注册的基站;Before re-determining the network band to be registered according to the signal strength ranking order, when
In the case that the first deny registration information is not received in the first preset time period, when receiving the authentication request sent by the to-be-registered base station according to the location update registration request, according to the first preset The algorithm obtains incorrect authentication verification information and sends the information to the base station to be registered;
判断在第二预设时间段内是否接收到所述待注册的基站根据所述错误的鉴权验证信息发送的第二拒绝注册信息;Determining, in the second preset time period, whether the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information is received;
若是,则根据正确的用户卡识别码以及第二预置算法得到正确的鉴权验证信息向所述待注册基站重新注册;If yes, re-registering the base station to be registered according to the correct user card identification code and the second preset algorithm to obtain correct authentication verification information;
若否,则根据信号强度排列顺序重新确定待注册的网络频段。If not, the network frequency band to be registered is re-determined according to the signal strength ranking order.
在本发明实施例一实施方式中,该计算机可执行指令还包括:In an embodiment of the present invention, the computer executable instructions further include:
所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册之前,判断待注册的网络频段是否为伪基站频段;Determining whether the network band corresponding to the network band to be registered is registered for the first time to send the location update registration request, and determining whether the network band to be registered is a pseudo base station band;
若是,则执行所述根据信号强度排列顺序重新确定待注册的网络频段;If yes, performing the determining, according to the signal strength ranking order, the network frequency band to be registered;
若否,则执行所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册。If no, the base station corresponding to the network frequency band to be registered is determined to be registered for the first time sending location update registration request.
在本发明实施例一实施方式中,该计算机可执行指令还包括:In an embodiment of the present invention, the computer executable instructions further include:
所述判断待注册的网络频段是否为伪基站频段的过程中,判断在预存的伪基站频段表中是否存在所述待注册的网络频段;若存在,则确定所述待注册的网络频段为伪基站频段;若不存在,则确定所述待注册的网络频段为真基站频段;In the process of determining whether the network frequency band to be registered is a pseudo base station frequency band, determining whether the network frequency band to be registered exists in the pre-stored pseudo base station frequency band table; if yes, determining that the network frequency band to be registered is pseudo a base station frequency band; if not, determining that the network frequency band to be registered is a true base station frequency band;
所述根据信号强度排列顺序重新确定待注册的网络频段之前还包括:将所述伪基站频段的频段信息记录在所述伪基站频段表中。Before the determining the network frequency band to be registered according to the signal strength ranking order, the method further includes: recording the frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
在本发明实施例一实施方式中,所述用户识别码包括IMSI、TMSI、IMEI和IMEISV中的一种。In an embodiment of the present invention, the user identifier includes one of an IMSI, a TMSI, an IMEI, and an IMEISV.
本发明实施例提供了一种移动终端,所述移动终端包括:An embodiment of the present invention provides a mobile terminal, where the mobile terminal includes:
存储介质,配置为存储计算机可执行指令;
a storage medium configured to store computer executable instructions;
处理器,配置为执行存储在所述存储介质上的计算机可执行指令,所述计算机可执行指令包括:当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定所述位置更新注册请求中预置参数,并将所述位置更新注册请求发送至所述待注册的基站;判断在第一预设时间段内是否接收到所述待注册的基站根据所述位置更新注册请求发送的第一拒绝注册信息;若是,则根据正确的用户卡识别码向所述待注册基站重新注册;若否,则根据信号强度排列顺序重新确定待注册的网络频段。a processor configured to execute computer executable instructions stored on the storage medium, the computer executable instructions comprising: searching for a network when the mobile terminal is powered on, and arranging the networks searched for each frequency band according to signal strength, When the network frequency band to be registered is determined, it is determined whether the network frequency band to be registered is the GSM frequency band; when the network frequency band to be registered is the GSM frequency band, it is determined whether the base station corresponding to the network frequency band to be registered is the first time to send the location update registration. Requesting to register; when the base station to be registered is the first time to send a location update registration request, setting a preset parameter in the location update registration request with an incorrect user identifier, and transmitting the location update registration request to the Determining, by the registered base station, whether the first deny registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period; if yes, according to the correct user card identification code Re-registration of the base station to be registered; if not, re-determine the registration to be registered according to the order of signal strength Network band.
在本发明实施例一实施方式中,所述处理器,配置为执行存储在所述存储介质上的计算机可执行指令,所述计算机可执行指令还包括:所述根据信号强度排列顺序重新确定待注册的网络频段之前,当在所述第一预设时间段内未接收到所述第一拒绝注册信息的情况下,则在接收到所述待注册基站根据所述位置更新注册请求发送的鉴权请求时,根据第一预置算法得到错误的鉴权验证信息发送至所述待注册的基站;判断在第二预设时间段内是否接收到所述待注册的基站根据所述错误的鉴权验证信息发送的第二拒绝注册信息;若是,则根据正确的用户卡识别码以及第二预置算法得到正确的鉴权验证信息向所述待注册基站重新注册;若否,则根据信号强度排列顺序重新确定待注册的网络频段。In an embodiment of the present invention, the processor is configured to execute computer executable instructions stored on the storage medium, the computer executable instructions further comprising: determining, according to a sequence of signal strengths, re-determining Before the registered network band, if the first refusal of registration information is not received within the first preset time period, the eNB that receives the registration request to update according to the location update request is received. When the request is made, the erroneous authentication verification information is sent to the base station to be registered according to the first preset algorithm, and it is determined whether the base station to be registered is received according to the error in the second preset time period. The second rejection registration information sent by the verification information; if yes, the correct authentication verification information is obtained according to the correct user card identification code and the second preset algorithm to re-register with the base station to be registered; if not, according to the signal strength The order of the sequences re-determines the network band to be registered.
在本发明实施例一实施方式中,所述处理器,配置为执行存储在所述存储介质上的计算机可执行指令,所述计算机可执行指令还包括:所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册之前,判断待注册的网络频段是否为伪基站频段;若是,则执行所述根
据信号强度排列顺序重新确定待注册的网络频段;若否,则执行所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册。In an embodiment of the present invention, the processor is configured to execute computer executable instructions stored on the storage medium, the computer executable instructions further comprising: determining, by the network frequency band to be registered, Whether the base station determines whether the network band to be registered is a pseudo base station band before registering the first location update request, and if so, executing the root
The network frequency band to be registered is re-determined according to the signal strength sequence; if not, the base station corresponding to the network frequency band to be registered is determined to be registered for the first time location update registration request.
在本发明实施例一实施方式中,所述处理器,配置为执行存储在所述存储介质上的计算机可执行指令,所述计算机可执行指令还包括:所述判断待注册的网络频段是否为伪基站频段的过程中,判断在预存的伪基站频段表中是否存在所述待注册的网络频段;若存在,则确定所述待注册的网络频段为伪基站频段;若不存在,则确定所述待注册的网络频段为真基站频段;所述根据信号强度排列顺序重新确定待注册的网络频段之前还包括:将所述伪基站频段的频段信息记录在所述伪基站频段表中。In an embodiment of the present invention, the processor is configured to execute computer executable instructions stored on the storage medium, the computer executable instructions further comprising: determining whether a network frequency band to be registered is In the process of the pseudo base station frequency band, determining whether the network frequency band to be registered exists in the pre-stored pseudo base station frequency band table; if yes, determining that the network frequency band to be registered is a pseudo base station frequency band; if not, determining the The network frequency band to be registered is the true base station frequency band; the re-determining the network frequency band to be registered according to the signal strength ranking order further includes: recording the frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
在本发明实施例一实施方式中,所述用户识别码包括IMSI、TMSI、IMEI和IMEISV中的一种。In an embodiment of the present invention, the user identifier includes one of an IMSI, a TMSI, an IMEI, and an IMEISV.
本发明实施例通过当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定位置更新注册请求中预置参数,并将位置更新注册请求发送至待注册的基站;判断在第一预设时间段内是否接收到待注册的基站根据位置更新注册请求发送的第一拒绝注册信息;若是,则根据正确的用户卡识别码向待注册基站重新注册;若否,则根据信号强度排列顺序重新确定待注册的网络频段。由于在移动终端开机过程中对待注册的网络频段是否为伪基站频段进行了判断,从而可以防止移动终端开机后连入伪基站,因此提高了移动终端在开机过程中接入GSM网络进行通信的状态下使用的安全性。
In the embodiment of the present invention, when the mobile terminal is powered on, the network is searched, and the network that searches for each frequency band is arranged according to the signal strength to perform network registration; when determining the network frequency band to be registered, it is determined whether the network frequency band to be registered is GSM. Frequency band; when the network frequency band to be registered is the GSM frequency band, it is determined whether the base station corresponding to the network frequency band to be registered is registered for the first time location update registration request; when the base station to be registered is the first time to send a location update registration request, the wrong user The identifier setting location updates the preset parameter in the registration request, and sends the location update registration request to the base station to be registered; and determines whether the base station to be registered receives the request according to the location update registration request in the first preset time period. The registration information is rejected; if yes, the base station to be registered is re-registered according to the correct user card identification code; if not, the network frequency band to be registered is re-determined according to the signal strength ranking order. Since the network band to be registered is determined to be a pseudo base station band during the startup process of the mobile terminal, the mobile terminal can be prevented from being connected to the pseudo base station after being powered on, thereby improving the state in which the mobile terminal accesses the GSM network for communication during the booting process. The security used below.
图1为实现本发明各个实施例的移动终端的硬件结构示意图;1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present invention;
图2为本发明移动终端开机注册网络的装置第一实施例的功能模块结构示意图;2 is a schematic structural diagram of a function module of a first embodiment of a device for registering a network of a mobile terminal according to the present invention;
图3为本发明移动终端开机注册网络的装置第二实施例的功能模块结构示意图;3 is a schematic structural diagram of a function module of a second embodiment of a device for registering a network of a mobile terminal according to the present invention;
图4为本发明移动终端开机注册网络的装置一实施例中移动终端注册示例图;4 is a diagram showing an example of registration of a mobile terminal in an embodiment of a device for registering a network of a mobile terminal according to the present invention;
图5为本发明移动终端开机注册网络的装置另一实施例中移动终端注册示例图;5 is a diagram showing an example of registration of a mobile terminal in another embodiment of a device for booting a network of a mobile terminal according to the present invention;
图6为本发明移动终端开机注册网络的装置第三实施例的功能模块结构示意图;6 is a schematic structural diagram of a function module of a third embodiment of a device for booting a network of a mobile terminal according to the present invention;
图7为本发明移动终端开机注册网络的方法第一实施例的流程示意图;7 is a schematic flowchart of a first embodiment of a method for a mobile terminal to register a network according to the present invention;
图8为本发明移动终端开机注册网络的方法第二实施例的流程示意图;8 is a schematic flowchart of a second embodiment of a method for a mobile terminal to register a network according to the present invention;
图9为本发明移动终端开机注册网络的方法第三实施例的流程示意图;9 is a schematic flowchart of a third embodiment of a method for a mobile terminal to register a network according to the present invention;
图10为本发明移动终端开机注册网络的方法一实施例中移动终端注册流程示例图。FIG. 10 is a diagram showing an example of a mobile terminal registration process in an embodiment of a method for a mobile terminal to register a network according to an embodiment of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
现在将参考附图描述实现本发明各个实施例的移动终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,″模块″与″部件″可以混合地使用。A mobile terminal embodying various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, the use of suffixes such as "module", "component" or "unit" for indicating an element is merely an explanation for facilitating the present invention, and does not have a specific meaning per se. Therefore, "module" and "component" can be used in combination.
移动终端可以以各种形式来实施。例如,本发明中描述的终端可以包
括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。The mobile terminal can be implemented in various forms. For example, the terminal described in the present invention can be packaged
Mobile terminals such as mobile phones, smart phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (tablets), PMPs (portable multimedia players), navigation devices, and the like, and such as digital TVs, desktops A fixed terminal such as a computer. In the following, it is assumed that the terminal is a mobile terminal. However, those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
图1为实现本发明各个实施例的移动终端的硬件结构示意。本发明实施例的移动终端100包括:天线101、收发机102、处理器103、数字信号处理芯片104、编解码器105、听筒106、麦克风107和用户识别卡108。FIG. 1 is a schematic diagram showing the hardware structure of a mobile terminal embodying various embodiments of the present invention. The mobile terminal 100 of the embodiment of the present invention includes an antenna 101, a transceiver 102, a processor 103, a digital signal processing chip 104, a codec 105, an earpiece 106, a microphone 107, and a subscriber identity card 108.
用户识别卡108用于与移动终端100进行连接和信息交换,提供移动通信业务(语音业务、数据业务等)所需的相关数据,并在其内部存储用户信息、短消息、执行鉴权算法和产生加密密匙等。The subscriber identity card 108 is used for connection and information exchange with the mobile terminal 100, provides related data required for mobile communication services (voice service, data service, etc.), and stores user information, short messages, and execution authentication algorithms therein. Generate encryption keys, etc.
数字信号处理芯片104包括适当的硬件、逻辑器件、电路和/或编码,用于进行音频信号处理,例如,在通话过程中的回声抑制、噪声抑制等音频信号处理。Digital signal processing chip 104 includes suitable hardware, logic, circuitry, and/or code for audio signal processing, such as echo signal suppression, noise suppression, etc. during audio processing.
编解码器(Codec)105包括适当的硬件、逻辑器件、电路和/或编码,用于进行A/D以及D/A转换。The codec 105 includes appropriate hardware, logic, circuitry, and/or code for A/D and D/A conversion.
天线101用于发射和接收信号。 Antenna 101 is used to transmit and receive signals.
听筒106包括适当的硬件、逻辑器件、电路和/或编码,用于输出声音信号。 Handset 106 includes suitable hardware, logic, circuitry, and/or code for outputting sound signals.
麦克风107包括适当的硬件、逻辑器件、电路和/或编码,用于采集语音信号。 Microphone 107 includes suitable hardware, logic, circuitry, and/or code for acquiring voice signals.
收发机102负责把来自处理器信号调制到射频频段,以及经功率放大等处理后由天线发射出去。收发机102还负责将天线接收到的信号经过低功率噪声放大、混频等处理后送入处理器103。The transceiver 102 is responsible for modulating the signal from the processor to the radio frequency band and transmitting it by the antenna after being processed by power amplification or the like. The transceiver 102 is also responsible for transmitting the signal received by the antenna to the processor 103 after low power noise amplification, mixing, and the like.
处理器103用于进行通信协议栈物理层的基带处理功能,包括数字联合
检测、调制/解调、信道编码/译码等,以及用于处理复杂的逻辑操作以及进行任务分配,为用户提供交互接口,执行移动终端的操作系统等。此外,移动终端100还包括存储器、电源单元、定位单元、显示单元等等用于执行相应的功能。The processor 103 is configured to perform baseband processing functions of the physical layer of the communication protocol stack, including digital association
Detection, modulation/demodulation, channel coding/decoding, etc., as well as for handling complex logical operations and task assignment, providing an interactive interface for the user, executing an operating system of the mobile terminal, and the like. Further, the mobile terminal 100 further includes a memory, a power supply unit, a positioning unit, a display unit, and the like for performing respective functions.
基于上述移动终端硬件结构,提出本发明移动终端开机注册网络的方法及装置各个实施例。Based on the hardware structure of the mobile terminal, various embodiments of the method and apparatus for booting the network of the mobile terminal of the present invention are proposed.
如图2所示,本发明第一实施例提出一种移动终端开机注册网络的装置,该移动终端开机注册网络的装置包括:As shown in FIG. 2, the first embodiment of the present invention provides an apparatus for registering a network of a mobile terminal, and the apparatus for registering a network by the mobile terminal includes:
搜网模块11,配置为当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;The search network module 11 is configured to search the network when the mobile terminal is powered on, and arrange the networks searched for each frequency band according to the signal strength to perform network registration;
本发明实施例提供的移动终端开机注册网络的装置主要应用在移动终端中,用于对在GSM网络环境下对移动终端通信的网络进行选择。具体地,该移动终端优选为手机,以下各实施例中以该移动终端是手机为例进行详细说明。The device for registering a network of a mobile terminal according to an embodiment of the present invention is mainly used in a mobile terminal, and is used for selecting a network for communicating with a mobile terminal in a GSM network environment. Specifically, the mobile terminal is preferably a mobile phone. In the following embodiments, the mobile terminal is a mobile phone as an example for detailed description.
本实施例中,在手机开机时,均需对当前的环境中的网络进行搜索,并对搜索的网络按照信号强度进行排列。从而在联网注册时,根据信号强度排列的顺序选择待注册的网络频段。可以理解的是,上述网络可以包括2G(即为GSM网络)、3G和4G。In this embodiment, when the mobile phone is powered on, the network in the current environment needs to be searched, and the searched network is arranged according to the signal strength. Therefore, when registering in the network, the network frequency band to be registered is selected according to the order in which the signal strengths are arranged. It can be understood that the above network may include 2G (ie, GSM network), 3G, and 4G.
第一判断模块12,配置为在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;The first determining module 12 is configured to determine, when determining the network frequency band to be registered, whether the network frequency band to be registered is a GSM frequency band;
在确定待注册的网络频段后,首先判断该待注册的网络频段是否为GSM频段,若为GSM频段则需要进行伪基站频段判断,若不为GSM频段,则不需要进行伪基站判断,直接发起位置更新注册即可。After determining the network frequency band to be registered, it is first determined whether the network frequency band to be registered is the GSM frequency band, and if it is the GSM frequency band, the pseudo base station frequency band judgment is required. If it is not the GSM frequency band, the pseudo base station judgment is not required, and the direct base station is directly initiated. Location update registration can be.
具体地,伪基站通常是通过工程手机获得手机上邻小区BCCH(Broadcast Control Channel,广播控制信道)频率和场强信息,选定信号最
弱的小区进行伪装;然后根据GSM小区选择和重选算法,伪基站小区生成极大的C2值,以吸入周围的用户手机驻留(即手机接入该伪基站组建的GSM网络)。此时,伪基站可以获得用户TMSI/IMSI/IMEI等网络底层信息,最后设置任意主叫号码通过SDCCH信道发送向用户发送信息(例如,诈骗短信)。因此,伪基站不与真正的移动网络互联,当用户手机接入到伪基站后,用户无法拨通真正的用户,也无法给真正用户和网站发送信息和数据。Specifically, the pseudo base station usually obtains the BCCH (Broadcast Control Channel) frequency and field strength information of the neighboring cell on the mobile phone through the engineering mobile phone, and the selected signal is the most
The weak cell performs masquerading; then, according to the GSM cell selection and reselection algorithm, the pseudo base station cell generates a great C2 value to inhale the surrounding user's mobile phone to camp (ie, the mobile phone accesses the GSM network formed by the pseudo base station). At this time, the pseudo base station can obtain the underlying information of the network such as the user TMSI/IMSI/IMEI, and finally set any caller number to send information (for example, scam message) to the user through the SDCCH channel. Therefore, the pseudo base station is not interconnected with the real mobile network. When the user's mobile phone accesses the pseudo base station, the user cannot dial the real user, and cannot send information and data to the real user and the website.
第二判断模块13,配置为当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;The second judging module 13 is configured to: when the network frequency band to be registered is the GSM frequency band, determine whether the base station corresponding to the network frequency band to be registered is registered for the first sending location update registration request;
控制模块14,配置为当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定位置更新注册请求中预置参数,并将位置更新注册请求发送至待注册的基站;The control module 14 is configured to: when the base station to be registered is the first time to send the location update registration request, set the preset parameter in the location update registration request with the wrong user identifier, and send the location update registration request to the base station to be registered;
具体地,手机在进行小区重选和开机搜网时,需要向基站发起位置更新注册。只有当手机在真基站上进行注册后,才可以进行数据业务(网络数据通信)以及语音业务(例如,语音通话、短信收发等)。在注册的过程中由于基站需要对手机进行识别,确定是否为非法用户,若为非法用户,则基站将会拒绝手机注册。由此,本发明实施例通过开机搜网注册和小区重选注册流程中识别伪基站。当选择确认待注册的网络频段是GSM频段时,需要对待注册的基站是否为伪基站进行识别。Specifically, when performing cell reselection and power-on search, the mobile phone needs to initiate a location update registration to the base station. Data services (network data communication) and voice services (for example, voice calls, text messaging, etc.) can be performed only when the mobile phone is registered on the real base station. In the process of registration, the base station needs to identify the mobile phone to determine whether it is an illegal user. If it is an illegal user, the base station will reject the mobile phone registration. Therefore, the embodiment of the present invention identifies the pseudo base station in the registration process of the power-on network registration and the cell re-selection. When it is selected to confirm that the network band to be registered is the GSM band, it is necessary to identify whether the base station to be registered is a pseudo base station.
本实施例中,上述用户识别码为基站用于识别用户是否为非法用户的参数,可以理解的是,在不同的协议代码下用户识别码的内容不同。具体地,该用户识别码包括IMSI(International Mobile Subscriber Identification Number,国际移动用户识别码)、IMEI(International Mobile Equipment Identity,国际移动设备标识)、TMSI(Temporary Mobile Subscriber Identity,临时识别码)和IMEISV(International Mobile Equipment Identity Software Version)中的一种。
In this embodiment, the user identifier is a parameter used by the base station to identify whether the user is an illegal user. It can be understood that the content of the user identifier is different under different protocol codes. Specifically, the subscriber identity code includes an IMSI (International Mobile Subscriber Identification Number), an IMEI (International Mobile Equipment Identity), a TMSI (Temporary Mobile Subscriber Identity), and an IMEISV ( One of the International Mobile Equipment Identity Software Version).
具体地,当用户确定待注册的网络频段对应的基站后,则向该基站发送位置更新注册请求,此时将判断用户是否首次向该基站发送位置更新注册请求,若是,则以错误的用户识别码设定位置更新注册请求中预置参数形成特定的位置更新注册请求,然后将该特定的位置更新注册请求发送至基站。可以理解的是,上述错误的用户识别码用于在基站上进行非法用户识别时,识别失败。具体地,该错误的用户识别码的设置方式可以根据实际需要进行设置,例如可以修改用户识别码的位数或者在正确的用户识别码上增加一个固定值(如加1)等,其具体地实现方式在此不做进一步的限定。若待注册的基站为非首次注册,则按照正常的注册流程进行位置更新注册,正常的位置更新注册流程在此不作进一步地说明。Specifically, after the user determines the base station corresponding to the network band to be registered, the location update registration request is sent to the base station, and it is determined whether the user sends the location update registration request to the base station for the first time, and if yes, the user is identified by the wrong user. The preset parameter in the code setting location update registration request forms a specific location update registration request, and then transmits the specific location update registration request to the base station. It can be understood that the above-mentioned erroneous user identification code is used for identification failure when performing illegal user identification on the base station. Specifically, the setting manner of the erroneous user identification code may be set according to actual needs, for example, the number of digits of the user identification code may be modified or a fixed value (such as 1) may be added to the correct user identification code, etc., specifically The implementation manner is not further limited herein. If the base station to be registered is not the first registration, the location update registration is performed according to the normal registration process, and the normal location update registration process is not further described herein.
第三判断模块15,配置为判断在第一预设时间段内是否接收到待注册的基站根据位置更新注册请求发送的第一拒绝注册信息;The third determining module 15 is configured to determine whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period;
处理模块16,配置为当在第一预设时间段内接收到第一拒绝注册信息时,根据正确的用户卡识别码向待注册基站重新注册;当在第一预设时间段内未接收到第一拒绝注册信息时,根据信号强度排列顺序重新确定待注册的网络频段。The processing module 16 is configured to re-register with the base station to be registered according to the correct user card identification code when the first rejection registration information is received within the first preset time period; when not received within the first preset time period When the first registration information is rejected, the network frequency band to be registered is re-determined according to the signal strength ranking order.
本实施例中,当待注册基站接收到上述位置更新注册请求时,将会根据该位置更新注册请求中预置参数获取用户识别码。由于此时接收到的用户识别码为错误的识别码,因此待注册的基站在进行用户识别时,将认定当前注册的手机为非法用户,此时将拒绝该手机注册,与此同时将向手机发送第一拒绝注册信息。基于上述注册原理,通过手机在根据错误的用户识别码发送位置更新注册请求后,判断在第一预设时间段内是否接收到基站返回的第一拒绝注册信息的结果即可实现对基站的真伪鉴别。具体地,若在第一预设时间段内接收到待注册的基站根据位置更新注册请求发送的第一拒绝注册信息,则确定上述待注册的基站为真基站;若在第一预设时
间段内没有接收到待注册的基站根据位置更新注册请求发送的第一拒绝注册信息,则确定上述待注册的基站为伪基站。可以理解的是,上述第一预设时间段的时间长度可以根据实际需要进行设置,在此不做进一步地限定。In this embodiment, when the base station to be registered receives the location update registration request, the user identifier is obtained according to the preset parameter in the location update registration request. Since the user identification code received at this time is an incorrect identification code, when the base station to be registered performs user identification, it will determine that the currently registered mobile phone is an illegal user, and the mobile phone registration will be rejected at this time, and at the same time, the mobile phone will be notified to the mobile phone. Send the first rejection registration information. Based on the above registration principle, after the mobile phone updates the registration request according to the incorrect user identification code, it is determined whether the result of the first rejection registration information returned by the base station is received within the first preset time period. Pseudo identification. Specifically, if the first refusal registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period, it is determined that the base station to be registered is a true base station;
The first deny registration information sent by the base station to be registered according to the location update registration request is not received in the inter-segment, and then the base station to be registered is determined to be a pseudo base station. It can be understood that the length of the first preset time period may be set according to actual needs, which is not further defined herein.
在确定待注册的基站为伪基站时,将重新选择一个基站进行注册,当重新选定的待注册基站之前已经注册过,则按照正常的注册流程进行注册;若重新选定的待注册基站之前未注册过,则按照本方案注册流程进行注册,以对该基站是否为伪基站进行识别。当通过识别认定为真基站后,可以按照正常的注册流程在该待注册的基站上进行注册,即在本实施例中,可以根据正确的用户卡识别码向待注册基站重新注册。When it is determined that the base station to be registered is a pseudo base station, one base station is re-selected for registration, and when the reselected base station to be registered has been registered before, the registration is performed according to a normal registration procedure; if the base station to be registered is re-selected If it is not registered, it will be registered according to the registration process of this scheme to identify whether the base station is a pseudo base station. After being identified as a true base station by the identification, the registration can be performed on the base station to be registered according to the normal registration procedure. In this embodiment, the base station to be registered can be re-registered according to the correct user card identification code.
本发明实施例通过当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定位置更新注册请求中预置参数,并将位置更新注册请求发送至待注册的基站;判断在第一预设时间段内是否接收到待注册的基站根据位置更新注册请求发送的第一拒绝注册信息;若是,则根据正确的用户卡识别码向待注册基站重新注册;若否,则根据信号强度排列顺序重新确定待注册的网络频段。由于在移动终端开机过程中对待注册的网络频段是否为伪基站频段进行了判断,从而可以防止移动终端开机后连入伪基站,因此提高了移动终端在开机过程中接入GSM网络进行通信的状态下使用的安全性。In the embodiment of the present invention, when the mobile terminal is powered on, the network is searched, and the network that searches for each frequency band is arranged according to the signal strength to perform network registration; when determining the network frequency band to be registered, it is determined whether the network frequency band to be registered is GSM. Frequency band; when the network frequency band to be registered is the GSM frequency band, it is determined whether the base station corresponding to the network frequency band to be registered is registered for the first time location update registration request; when the base station to be registered is the first time to send a location update registration request, the wrong user The identifier setting location updates the preset parameter in the registration request, and sends the location update registration request to the base station to be registered; and determines whether the base station to be registered receives the request according to the location update registration request in the first preset time period. The registration information is rejected; if yes, the base station to be registered is re-registered according to the correct user card identification code; if not, the network frequency band to be registered is re-determined according to the signal strength ranking order. Since the network band to be registered is determined to be a pseudo base station band during the startup process of the mobile terminal, the mobile terminal can be prevented from being connected to the pseudo base station after being powered on, thereby improving the state in which the mobile terminal accesses the GSM network for communication during the booting process. The security used below.
在本发明实施例一实施方式中,参照图3,基于上述实施例,本实施例中,上述移动终端开机注册网络的装置包括:In an embodiment of the present invention, referring to FIG. 3, based on the foregoing embodiment, in this embodiment, the apparatus for registering a network by the mobile terminal includes:
搜网模块11,配置为当移动终端开机时,搜索网络,并将搜索到各频
段的网络按照信号强度排列,以进行联网注册;The search network module 11 is configured to search the network when the mobile terminal is powered on, and search for each frequency
Segment networks are arranged according to signal strength for network registration;
第一判断模块12,配置为在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;The first determining module 12 is configured to determine, when determining the network frequency band to be registered, whether the network frequency band to be registered is a GSM frequency band;
第二判断模块13,配置为当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;The second judging module 13 is configured to: when the network frequency band to be registered is the GSM frequency band, determine whether the base station corresponding to the network frequency band to be registered is registered for the first sending location update registration request;
控制模块14,配置为当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定位置更新注册请求中预置参数,并将位置更新注册请求发送至待注册的基站;The control module 14 is configured to: when the base station to be registered is the first time to send the location update registration request, set the preset parameter in the location update registration request with the wrong user identifier, and send the location update registration request to the base station to be registered;
第三判断模块15,配置为判断在第一预设时间段内是否接收到待注册的基站根据位置更新注册请求发送的第一拒绝注册信息;The third determining module 15 is configured to determine whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period;
发送模块17,配置为当在第一预设时间段内未接收到第一拒绝注册信息的情况下,则在接收到待注册基站根据位置更新注册请求发送的鉴权请求时,根据第一预置算法得到错误的鉴权验证信息发送至待注册的基站;The sending module 17 is configured to: when the first deny registration information is not received within the first preset time period, when receiving the authentication request sent by the to-be-registered base station according to the location update registration request, according to the first pre- The algorithm obtains the wrong authentication verification information and sends the information to the base station to be registered;
第四判断模块18,配置为判断在第二预设时间段内是否接收到待注册的基站根据错误的鉴权验证信息发送的第二拒绝注册信息;The fourth determining module 18 is configured to determine whether the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information is received in the second preset time period;
处理模块16配置为,当在第一预设时间段内接收到第一拒绝注册信息时或在第二预设时间段内接收到第二拒绝注册信息时,根据正确的用户卡识别码以及第二预置算法得到正确的鉴权验证信息向待注册基站重新注册;当在第二预设时间段内未接收到第二拒绝注册信息或者当在第一预设时间段内未接收到第一拒绝注册信息的情况下未接收到待注册基站根据位置更新注册请求发送的鉴权请求时,根据信号强度排列顺序重新确定待注册的网络频段。The processing module 16 is configured to: according to the correct user card identification code and the first when the first rejection registration information is received within the first preset time period or the second rejection registration information is received within the second preset time period The second preset algorithm obtains the correct authentication verification information to re-register with the base station to be registered; when the second rejection registration information is not received within the second preset time period or when the first reservation period is not received within the first preset time period When the registration request is rejected, the authentication request sent by the base station to be registered according to the location update registration request is not received, and the network frequency band to be registered is re-determined according to the signal strength ranking order.
如图4和图5所示,在真基站上进行注册时,若以错误的用户识别码发送位置更新注册请求后,基站将会将该位置更新注册请求发送至核心网,核心网可以在此时通过基站向手机发送第一拒绝注册信息;此外,核心网
还可以在此不进行拒绝注册,在后续鉴权的过程中拒绝注册。此时核心网将通过基站向手机发送鉴权请求,该鉴权请求中携带有预置的鉴权参数。在手机接收到基站所发送的鉴权请求时,将根据该鉴权请求与第一预置算法得到错误的鉴权验证信息,然后发送至待注册基站。在真基站上可以由基站将该错误的鉴权验证信息发送给核心网进行鉴权认证,从而确定鉴权识别,并由核心网通过该真基站向手机发送第二拒绝注册信息,以拒绝真基站的注册;若假基站接收到该错误的鉴权验证信息,由于无法进行鉴权识别,通常直接接受注册,以将该注册的手机驻留在基站上。基于上述原理,可以通过判断手机是否接收到待注册的基站根据错误的鉴权验证信息发送的第二拒绝注册信息,从而确定上述待注册的基站是否为真基站。As shown in FIG. 4 and FIG. 5, when registering on the real base station, if the location update registration request is sent with the wrong user identifier, the base station will send the location update registration request to the core network, where the core network can be located. Sending the first refusal registration information to the mobile phone through the base station; in addition, the core network
It is also possible not to refuse registration here, and to refuse registration in the subsequent authentication process. At this time, the core network sends an authentication request to the mobile phone through the base station, where the authentication request carries a preset authentication parameter. When the mobile phone receives the authentication request sent by the base station, the mobile terminal obtains the wrong authentication verification information according to the authentication request and the first preset algorithm, and then sends the error to the base station to be registered. On the real base station, the erroneous authentication verification information may be sent by the base station to the core network for authentication, thereby determining the authentication identification, and the core network sends the second refusal registration information to the mobile phone through the real base station to reject the true Registration of the base station; if the fake base station receives the erroneous authentication verification information, since the authentication cannot be performed, the registration is usually directly accepted to camp the registered mobile phone on the base station. Based on the foregoing principle, whether the mobile phone to be registered receives the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information may determine whether the base station to be registered is a true base station.
可以理解的是,上述第二预设时间段的时间长度可以根据实际需要进行设置,在此不作进一步地限定。It can be understood that the length of the second preset time period can be set according to actual needs, which is not further defined herein.
具体地,上述第一拒绝注册信息和第二拒绝注册信息的内容均可以根据实际需要进行设置,在此不再详述。Specifically, the content of the first rejection registration information and the second rejection registration information may be set according to actual needs, and details are not described herein.
应当说明的是,由于真基站在发送拒绝注册信息的时间点不同,本实施例中当手机第一次同一待注册的基站上进行注册的情况下,在进行鉴权时,仍然发送错误的鉴权验证信息,从而可以双层保证基站识别的准确性。需要在此解释的是,对于错误的鉴权验证信息的计算方式可以根据实际需要进行设置,例如可以不采用上述鉴权请求中的鉴权参数,也可以改变鉴权计算的算法表达式。其具体地改变方式在此不作进一步地限定。It should be noted that, in the case that the real base station is different in the time of transmitting the refusal of the registration information, in the embodiment, when the mobile phone is registered on the same base station to be registered for the first time, the authentication is still sent when the authentication is performed. The information is verified so that the accuracy of the base station identification can be guaranteed in both layers. It should be explained here that the calculation method of the incorrect authentication verification information can be set according to actual needs. For example, the authentication parameter in the above authentication request may not be used, and the algorithm expression of the authentication calculation may also be changed. The manner of its specific modification is not further defined herein.
在本发明实施例一实施方式中,参照图6,基于上述实施例,本实施例中,上述移动终端开机注册网络的装置包括:In an embodiment of the present invention, with reference to FIG. 6, based on the foregoing embodiment, in this embodiment, the apparatus for registering a network by the mobile terminal includes:
搜网模块11,配置为当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;The search network module 11 is configured to search the network when the mobile terminal is powered on, and arrange the networks searched for each frequency band according to the signal strength to perform network registration;
第一判断模块12,配置为在确定待注册的网络频段时,判断待注册的
网络频段是否为GSM频段;The first determining module 12 is configured to determine, when determining the network frequency band to be registered, the to-be-registered
Whether the network band is the GSM band;
第二判断模块13,配置为当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;The second judging module 13 is configured to: when the network frequency band to be registered is the GSM frequency band, determine whether the base station corresponding to the network frequency band to be registered is registered for the first sending location update registration request;
控制模块14,配置为当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定位置更新注册请求中预置参数,并将位置更新注册请求发送至待注册的基站;The control module 14 is configured to: when the base station to be registered is the first time to send the location update registration request, set the preset parameter in the location update registration request with the wrong user identifier, and send the location update registration request to the base station to be registered;
第三判断模块15,配置为判断在第一预设时间段内是否接收到待注册的基站根据位置更新注册请求发送的第一拒绝注册信息;The third determining module 15 is configured to determine whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period;
处理模块16,配置为当在第一预设时间段内接收到第一拒绝注册信息时,根据正确的用户卡识别码向待注册基站重新注册;当在第一预设时间段内未接收到第一拒绝注册信息时,根据信号强度排列顺序重新确定待注册的网络频段;The processing module 16 is configured to re-register with the base station to be registered according to the correct user card identification code when the first rejection registration information is received within the first preset time period; when not received within the first preset time period When the first registration information is rejected, the network frequency band to be registered is re-determined according to the signal strength ranking order;
第五判断模块19,配置为判断待注册的网络频段是否为伪基站频段;当待注册的网络频段为伪基站频段时,触发处理模块16执行根据信号强度排列顺序重新确定待注册的网络频段操作;当待注册的网络频段为真基站频段时,触发第二判断模块13执行判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册操作。The fifth determining module 19 is configured to determine whether the network frequency band to be registered is a pseudo base station frequency band. When the network frequency band to be registered is a pseudo base station frequency band, the trigger processing module 16 performs re-determination of the network frequency band operation to be registered according to the signal strength ranking order. When the network frequency band to be registered is the true base station frequency band, the second determining module 13 is configured to determine whether the base station corresponding to the network frequency band to be registered performs the registration operation for the first time sending location update registration request.
当选择确认待注册的网络频段是GSM频段时,则可以根据预设的规则判断该待注册的网络频段是否为伪基站频段。在本实施例中,对于该预设的规则可以采用多种形式,例如采用白名单的形式,也可以采用黑名单的形式进行判断。以下将以采用黑名单的形式进行详细说明。例如可以根据之前统计的伪基站频段进行标记建表,并存储在手机当中形成预存的伪基站频段表。在进行伪基站频段判断时,上述第五判断模块19具体配置为:判断在预存的伪基站频段表中是否存在待注册的网络频段;若存在,则确定待注册的网络频段为伪基站频段;若不存在,则确定待注册的网络频段
为真基站频段。When it is selected to confirm that the network frequency band to be registered is the GSM frequency band, it may be determined according to a preset rule whether the network frequency band to be registered is a pseudo base station frequency band. In this embodiment, the preset rule may be in various forms, for example, in the form of a white list, or may be determined in the form of a blacklist. The following will be described in detail in the form of a blacklist. For example, the pseudo base station frequency band of the previous statistics may be marked and built, and stored in the mobile phone to form a pre-stored pseudo base station frequency band table. When the pseudo base station frequency band is determined, the fifth determining module 19 is configured to: determine whether there is a network frequency band to be registered in the pre-stored pseudo base station frequency band table; if yes, determine that the network frequency band to be registered is a pseudo base station frequency band; If not, determine the network band to be registered
It is the true base station band.
可以理解的是,由于不同的用户对应有不同的需求,在本实施例中还可以设置特定的模式,以确定在移动终端在基站上注册后,是否对当前注册的基站为伪基站进行判断。具体地,本实施例提供移动终端开机注册网络的控制方法与上述移动终端开机注册网络的控制方法的区别在于,还包括第六判断模块,判断是否进入伪基站识别模式;上述第一判断模块120具体配置为当移动终端进入伪基站识别模式下,且在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段。It can be understood that, because different users have different requirements, in this embodiment, a specific mode may also be set to determine whether the currently registered base station is a pseudo base station after the mobile terminal registers with the base station. Specifically, the method for controlling the booting of the mobile terminal to register the network is different from the method for controlling the booting of the mobile terminal by the mobile terminal. The method further includes: a sixth determining module, determining whether to enter the pseudo base station identification mode; the first determining module 120 Specifically, when the mobile terminal enters the pseudo base station identification mode, and determines the network frequency band to be registered, it is determined whether the network frequency band to be registered is the GSM frequency band.
在本实施例中,可以输出一个显示界面供用户输入是否需要进行伪基站识别。当用户选择需要进入伪基站识别时,控制手机进入伪基站识别模式,此时每当切换到新的GSM网络中时,则在手机向基站进行注册后,对当前注册的基站进行识别。由于对基站进行鉴权的过程本身存在延时的问题,因此没有必要时时刻刻对注册的基站进行鉴权,毕竟伪基站出现概率小,用户在进行重要操作时进行鉴权即可。因此在本实施例中,对手机的是否进行鉴权设置了专有的模式,可以提高鉴权操作的灵活性。In this embodiment, a display interface can be output for the user to input whether pseudo base station identification is required. When the user selects to enter the pseudo base station identification, the mobile phone is controlled to enter the pseudo base station identification mode. At this time, whenever the mobile phone switches to the new GSM network, the currently registered base station is identified after the mobile phone registers with the base station. Since the process of authenticating the base station itself has a delay problem, it is not necessary to authenticate the registered base station at all times. After all, the probability of occurrence of the pseudo base station is small, and the user can perform authentication when performing important operations. Therefore, in this embodiment, a proprietary mode is set for authenticating the mobile phone, which can improve the flexibility of the authentication operation.
如图7所示,提出了本发明移动终端开机注册网络的方法的第一实施例,该移动终端开机注册网络的方法包括:As shown in FIG. 7, a first embodiment of a method for a mobile terminal to register a network is provided. The method for the mobile terminal to register a network includes:
步骤S110,当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;Step S110, when the mobile terminal is powered on, search the network, and arrange the networks searching for each frequency band according to the signal strength to perform network registration;
本发明实施例提供的移动终端开机注册网络的方法主要应用在移动终端中,用于对在GSM网络环境下对移动终端通信的网络进行选择。具体地,该移动终端优选为手机,以下各实施例中以该移动终端是手机为例进行详细说明。The method for the mobile terminal to register the network according to the embodiment of the present invention is mainly applied to the mobile terminal, and is used for selecting a network for communicating with the mobile terminal in a GSM network environment. Specifically, the mobile terminal is preferably a mobile phone. In the following embodiments, the mobile terminal is a mobile phone as an example for detailed description.
本实施例中,在手机开机时,均需对当前的环境中的网络进行搜索,
并对搜索的网络按照信号强度进行排列。从而在联网注册时,根据信号强度排列的顺序选择待注册的网络频段。可以理解的是,上述网络可以包括2G(即为GSM网络)、3G和4G。In this embodiment, when the mobile phone is powered on, it is necessary to search the network in the current environment.
The searched networks are arranged according to the signal strength. Therefore, when registering in the network, the network frequency band to be registered is selected according to the order in which the signal strengths are arranged. It can be understood that the above network may include 2G (ie, GSM network), 3G, and 4G.
步骤S120,在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;Step S120: When determining the network frequency band to be registered, determining whether the network frequency band to be registered is a GSM frequency band;
在确定待注册的网络频段后,首先判断该待注册的网络频段是否为GSM频段,若为GSM频段则需要进行伪基站频段判断,若不为GSM频段,则不需要进行伪基站判断,直接发起位置更新注册即可。After determining the network frequency band to be registered, it is first determined whether the network frequency band to be registered is the GSM frequency band, and if it is the GSM frequency band, the pseudo base station frequency band judgment is required. If it is not the GSM frequency band, the pseudo base station judgment is not required, and the direct base station is directly initiated. Location update registration can be.
具体地,伪基站通常是通过工程手机获得手机上邻小区BCCH(Broadcast Control Channel,广播控制信道)频率和场强信息,选定信号最弱的小区进行伪装;然后根据GSM小区选择和重选算法,伪基站小区生成极大的C2值,以吸入周围的用户手机驻留(即手机接入该伪基站组建的GSM网络)。此时,伪基站可以获得用户TMSI/IMSI/IMEI等网络底层信息,最后设置任意主叫号码通过SDCCH信道发送向用户发送信息(例如,诈骗短信)。因此,伪基站不与真正的移动网络互联,当用户手机接入到伪基站后,用户无法拨通真正的用户,也无法给真正用户和网站发送信息和数据。Specifically, the pseudo base station generally obtains the BCCH (Broadcast Control Channel) frequency and field strength information of the neighboring cell on the mobile phone through the engineering mobile phone, and performs the masquerading of the cell with the weakest selected signal; and then according to the GSM cell selection and reselection algorithm. The pseudo base station cell generates a great C2 value to inhale the surrounding user's mobile phone to camp (ie, the mobile phone accesses the GSM network formed by the pseudo base station). At this time, the pseudo base station can obtain the underlying information of the network such as the user TMSI/IMSI/IMEI, and finally set any caller number to send information (for example, scam message) to the user through the SDCCH channel. Therefore, the pseudo base station is not interconnected with the real mobile network. When the user's mobile phone accesses the pseudo base station, the user cannot dial the real user, and cannot send information and data to the real user and the website.
步骤S130,当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;Step S130: When the network frequency band to be registered is the GSM frequency band, determine whether the base station corresponding to the network frequency band to be registered is registered for the first time sending location update registration request;
步骤S140,当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定位置更新注册请求中预置参数,并将位置更新注册请求发送至待注册的基站;Step S140, when the base station to be registered is the first time to send a location update registration request, the preset parameter in the location update registration request is set with the wrong user identification code, and the location update registration request is sent to the base station to be registered;
具体地,手机在进行小区重选和开机搜网时,需要向基站发起位置更新注册。只有当手机在真基站上进行注册后,才可以进行数据业务(网络数据通信)以及语音业务(例如,语音通话、短信收发等)。在注册的过程中由于基站需要对手机进行识别,确定是否为非法用户,若为非法用户,
则基站将会拒绝手机注册。由此,本发明实施例通过开机搜网注册和小区重选注册流程中识别伪基站。当选择确认待注册的网络频段是GSM频段时,需要对待注册的基站是否为伪基站进行识别。Specifically, when performing cell reselection and power-on search, the mobile phone needs to initiate a location update registration to the base station. Data services (network data communication) and voice services (for example, voice calls, text messaging, etc.) can be performed only when the mobile phone is registered on the real base station. In the process of registration, the base station needs to identify the mobile phone to determine whether it is an illegal user. If it is an illegal user,
Then the base station will reject the phone registration. Therefore, the embodiment of the present invention identifies the pseudo base station in the registration process of the power-on network registration and the cell re-selection. When it is selected to confirm that the network band to be registered is the GSM band, it is necessary to identify whether the base station to be registered is a pseudo base station.
本实施例中,上述用户识别码为基站用于识别用户是否为非法用户的参数,可以理解的是,在不同的协议代码下用户识别码的内容不同。具体地,该用户识别码包括IMSI(International Mobile Subscriber Identification Number,国际移动用户识别码)、IMEI(International Mobile Equipment Identity,国际移动设备标识)、TMSI(Temporary Mobile Subscriber Identity,临时识别码)和IMEISV(International Mobile Equipment Identity Software Version)中的一种。In this embodiment, the user identifier is a parameter used by the base station to identify whether the user is an illegal user. It can be understood that the content of the user identifier is different under different protocol codes. Specifically, the subscriber identity code includes an IMSI (International Mobile Subscriber Identification Number), an IMEI (International Mobile Equipment Identity), a TMSI (Temporary Mobile Subscriber Identity), and an IMEISV ( One of the International Mobile Equipment Identity Software Version).
具体地,当用户确定待注册的网络频段对应的基站后,则向该基站发送位置更新注册请求,此时将判断用户是否首次向该基站发送位置更新注册请求,若是,则以错误的用户识别码设定位置更新注册请求中预置参数形成特定的位置更新注册请求,然后将该特定的位置更新注册请求发送至基站。可以理解的是,上述错误的用户识别码用于在基站上进行非法用户识别时,识别失败。具体地,该错误的用户识别码的设置方式可以根据实际需要进行设置,例如可以修改用户识别码的位数或者在正确的用户识别码上增加一个固定值(如加1)等,其具体地实现方式在此不做进一步的限定。若待注册的基站为非首次注册,则按照正常的注册流程进行位置更新注册,正常的位置更新注册流程在此不作进一步地说明。Specifically, after the user determines the base station corresponding to the network band to be registered, the location update registration request is sent to the base station, and it is determined whether the user sends the location update registration request to the base station for the first time, and if yes, the user is identified by the wrong user. The preset parameter in the code setting location update registration request forms a specific location update registration request, and then transmits the specific location update registration request to the base station. It can be understood that the above-mentioned erroneous user identification code is used for identification failure when performing illegal user identification on the base station. Specifically, the setting manner of the erroneous user identification code may be set according to actual needs, for example, the number of digits of the user identification code may be modified or a fixed value (such as 1) may be added to the correct user identification code, etc., specifically The implementation manner is not further limited herein. If the base station to be registered is not the first registration, the location update registration is performed according to the normal registration process, and the normal location update registration process is not further described herein.
步骤S150,判断在第一预设时间段内是否接收到待注册的基站根据位置更新注册请求发送的第一拒绝注册信息;若是,则执行步骤S160,否则执行步骤S170;In step S150, it is determined whether the first reject registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period; if yes, step S160 is performed, otherwise step S170 is performed;
步骤S160,根据正确的用户卡识别码向待注册基站重新注册;Step S160, re-registering with the base station to be registered according to the correct user card identification code;
步骤S170,根据信号强度排列顺序重新确定待注册的网络频段。
Step S170, re-determining the network frequency band to be registered according to the signal strength ranking order.
本实施例中,当待注册基站接收到上述位置更新注册请求时,将会根据该位置更新注册请求中预置参数获取用户识别码。由于此时接收到的用户识别码为错误的识别码,因此待注册的基站在进行用户识别时,将认定当前注册的手机为非法用户,此时将拒绝该手机注册,与此同时将向手机发送第一拒绝注册信息。基于上述注册原理,通过手机在根据错误的用户识别码发送位置更新注册请求后,判断在第一预设时间段内是否接收到基站返回的第一拒绝注册信息的结果即可实现对基站的真伪鉴别。具体地,若在第一预设时间段内接收到待注册的基站根据位置更新注册请求发送的第一拒绝注册信息,则确定上述待注册的基站为真基站;若在第一预设时间段内没有接收到待注册的基站根据位置更新注册请求发送的第一拒绝注册信息,则确定上述待注册的基站为伪基站。可以理解的是,上述第一预设时间段的时间长度可以根据实际需要进行设置,在此不做进一步地限定。In this embodiment, when the base station to be registered receives the location update registration request, the user identifier is obtained according to the preset parameter in the location update registration request. Since the user identification code received at this time is an incorrect identification code, when the base station to be registered performs user identification, it will determine that the currently registered mobile phone is an illegal user, and the mobile phone registration will be rejected at this time, and at the same time, the mobile phone will be notified to the mobile phone. Send the first rejection registration information. Based on the above registration principle, after the mobile phone updates the registration request according to the incorrect user identification code, it is determined whether the result of the first rejection registration information returned by the base station is received within the first preset time period. Pseudo identification. Specifically, if the first refusal registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period, it is determined that the base station to be registered is a true base station; if the first preset time period is If the first refusal registration information sent by the base station to be registered according to the location update registration request is not received, it is determined that the base station to be registered is a pseudo base station. It can be understood that the length of the first preset time period may be set according to actual needs, which is not further defined herein.
在确定待注册的基站为伪基站时,将重新选择一个基站进行注册,当重新选定的待注册基站之前已经注册过,则按照正常的注册流程进行注册;若重新选定的待注册基站之前未注册过,则按照本方案注册流程进行注册,以对该基站是否为伪基站进行识别。当通过识别认定为真基站后,可以按照正常的注册流程在该待注册的基站上进行注册,即在本实施例中,可以根据正确的用户卡识别码向待注册基站重新注册。When it is determined that the base station to be registered is a pseudo base station, one base station is re-selected for registration, and when the reselected base station to be registered has been registered before, the registration is performed according to a normal registration procedure; if the base station to be registered is re-selected If it is not registered, it will be registered according to the registration process of this scheme to identify whether the base station is a pseudo base station. After being identified as a true base station by the identification, the registration can be performed on the base station to be registered according to the normal registration procedure. In this embodiment, the base station to be registered can be re-registered according to the correct user card identification code.
本发明实施例通过当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定位置更新注册请求中预置参数,并将位置更新注册请求发送至待注册的基站;判断在第一预设时间段内是否接收到待注册的基站根据
位置更新注册请求发送的第一拒绝注册信息;若是,则根据正确的用户卡识别码向待注册基站重新注册;若否,则根据信号强度排列顺序重新确定待注册的网络频段。由于在移动终端开机过程中对待注册的网络频段是否为伪基站频段进行了判断,从而可以防止移动终端开机后连入伪基站,因此提高了移动终端在开机过程中接入GSM网络进行通信的状态下使用的安全性。In the embodiment of the present invention, when the mobile terminal is powered on, the network is searched, and the network that searches for each frequency band is arranged according to the signal strength to perform network registration; when determining the network frequency band to be registered, it is determined whether the network frequency band to be registered is GSM. Frequency band; when the network frequency band to be registered is the GSM frequency band, it is determined whether the base station corresponding to the network frequency band to be registered is registered for the first time location update registration request; when the base station to be registered is the first time to send a location update registration request, the wrong user The identifier setting location updates the preset parameter in the registration request, and sends the location update registration request to the base station to be registered; determining whether the base station to be registered is received in the first preset time period according to
The first refusal registration information sent by the location update registration request; if yes, re-registering with the base station to be registered according to the correct user card identification code; if not, re-determining the network frequency band to be registered according to the signal strength ranking order. Since the network band to be registered is determined to be a pseudo base station band during the startup process of the mobile terminal, the mobile terminal can be prevented from being connected to the pseudo base station after being powered on, thereby improving the state in which the mobile terminal accesses the GSM network for communication during the booting process. The security used below.
在本发明实施例一实施方式中,参照图8,基于上述实施例,本实施例中,上述移动终端开机注册网络的方法包括:In an embodiment of the present invention, referring to FIG. 8, based on the foregoing embodiment, in the embodiment, the method for the mobile terminal to register the network includes:
步骤S110,当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;Step S110, when the mobile terminal is powered on, search the network, and arrange the networks searching for each frequency band according to the signal strength to perform network registration;
步骤S120,在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;Step S120: When determining the network frequency band to be registered, determining whether the network frequency band to be registered is a GSM frequency band;
步骤S130,当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;Step S130: When the network frequency band to be registered is the GSM frequency band, determine whether the base station corresponding to the network frequency band to be registered is registered for the first time sending location update registration request;
步骤S140,当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定位置更新注册请求中预置参数,并将位置更新注册请求发送至待注册的基站;Step S140, when the base station to be registered is the first time to send a location update registration request, the preset parameter in the location update registration request is set with the wrong user identification code, and the location update registration request is sent to the base station to be registered;
步骤S150,判断在第一预设时间段内是否接收到待注册的基站根据位置更新注册请求发送的第一拒绝注册信息;若是,则执行步骤S200,否则执行步骤S180;In step S150, it is determined whether the first reject registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period; if yes, step S200 is performed; otherwise, step S180 is performed;
步骤S180,当在第一预设时间段内未接收到第一拒绝注册信息的情况下,判断是否接收到待注册基站根据位置更新注册请求发送的鉴权请求;若是,则执行步骤S190,若否,则执行步骤S170;In step S180, if the first rejection registration information is not received in the first preset time period, it is determined whether the authentication request sent by the base station to be registered according to the location update registration request is received; if yes, step S190 is performed. Otherwise, step S170 is performed;
步骤S190,根据第一预置算法得到错误的鉴权验证信息发送至待注册的基站;
Step S190, the error authentication verification information obtained by the first preset algorithm is sent to the base station to be registered;
步骤S200,判断在第二预设时间段内是否接收到待注册的基站根据错误的鉴权验证信息发送的第二拒绝注册信息;若是,则执行步骤S210,否则执行步骤S170;Step S200, determining whether the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information is received in the second preset time period; if yes, executing step S210, otherwise performing step S170;
步骤S210,根据正确的用户卡识别码以及第二预置算法得到正确的鉴权验证信息向待注册基站重新注册;Step S210, obtaining correct authentication verification information according to the correct user card identification code and the second preset algorithm, and re-registering with the base station to be registered;
步骤S170,根据信号强度排列顺序重新确定待注册的网络频段。Step S170, re-determining the network frequency band to be registered according to the signal strength ranking order.
本实施例中,上述步骤S210替代了上述步骤S160。In this embodiment, the above step S210 replaces the above step S160.
如图4和图5所示,在真基站上进行注册时,若以错误的用户识别码发送位置更新注册请求后,基站将会将该位置更新注册请求发送至核心网,核心网可以在此时通过基站向手机发送第一拒绝注册信息;此外,核心网还可以在此不进行拒绝注册,在后续鉴权的过程中拒绝注册。此时核心网将通过基站向手机发送鉴权请求,该鉴权请求中携带有预置的鉴权参数。在手机接收到基站所发送的鉴权请求时,将根据该鉴权请求与第一预置算法得到错误的鉴权验证信息,然后发送至待注册基站。在真基站上可以由基站将该错误的鉴权验证信息发送给核心网进行鉴权认证,从而确定鉴权识别,并由核心网通过该真基站向手机发送第二拒绝注册信息,以拒绝真基站的注册;若假基站接收到该错误的鉴权验证信息,由于无法进行鉴权识别,通常直接接受注册,以将该注册的手机驻留在基站上。基于上述原理,可以通过判断手机是否接收到待注册的基站根据错误的鉴权验证信息发送的第二拒绝注册信息,从而确定上述待注册的基站是否为真基站。As shown in FIG. 4 and FIG. 5, when registering on the real base station, if the location update registration request is sent with the wrong user identifier, the base station will send the location update registration request to the core network, where the core network can be located. The first reject registration information is sent to the mobile phone through the base station; in addition, the core network may not refuse to register here, and refuses to register in the subsequent authentication process. At this time, the core network sends an authentication request to the mobile phone through the base station, where the authentication request carries a preset authentication parameter. When the mobile phone receives the authentication request sent by the base station, the mobile terminal obtains the wrong authentication verification information according to the authentication request and the first preset algorithm, and then sends the error to the base station to be registered. On the real base station, the erroneous authentication verification information may be sent by the base station to the core network for authentication, thereby determining the authentication identification, and the core network sends the second refusal registration information to the mobile phone through the real base station to reject the true Registration of the base station; if the fake base station receives the erroneous authentication verification information, since the authentication cannot be performed, the registration is usually directly accepted to camp the registered mobile phone on the base station. Based on the foregoing principle, whether the mobile phone to be registered receives the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information may determine whether the base station to be registered is a true base station.
可以理解的是,上述第二预设时间段的时间长度可以根据实际需要进行设置,在此不作进一步地限定。It can be understood that the length of the second preset time period can be set according to actual needs, which is not further defined herein.
具体地,上述第一拒绝注册信息和第二拒绝注册信息的内容均可以根据实际需要进行设置,在此不再详述。Specifically, the content of the first rejection registration information and the second rejection registration information may be set according to actual needs, and details are not described herein.
应当说明的是,由于真基站在发送拒绝注册信息的时间点不同,本实
施例中当手机第一次同一待注册的基站上进行注册的情况下,在进行鉴权时,仍然发送错误的鉴权验证信息,从而可以双层保证基站识别的准确性。需要在此解释的是,对于错误的鉴权验证信息的计算方式可以根据实际需要进行设置,例如可以不采用上述鉴权请求中的鉴权参数,也可以改变鉴权计算的算法表达式。其具体地改变方式在此不作进一步地限定。It should be noted that since the true base station is different at the time of sending the rejection registration information, this is true.
In the case where the mobile phone is registered on the same base station to be registered for the first time in the embodiment, when the authentication is performed, the wrong authentication verification information is still sent, so that the accuracy of the base station identification can be guaranteed in both layers. It should be explained here that the calculation method of the incorrect authentication verification information can be set according to actual needs. For example, the authentication parameter in the above authentication request may not be used, and the algorithm expression of the authentication calculation may also be changed. The manner of its specific modification is not further defined herein.
在本发明实施例一实施方式中,参照图9,基于上述实施例,本实施例中,上述移动终端开机注册网络的方法包括:In an embodiment of the present invention, referring to FIG. 9, based on the foregoing embodiment, in the embodiment, the method for the mobile terminal to register the network includes:
步骤S110,当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;Step S110, when the mobile terminal is powered on, search the network, and arrange the networks searching for each frequency band according to the signal strength to perform network registration;
步骤S120,在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;Step S120: When determining the network frequency band to be registered, determining whether the network frequency band to be registered is a GSM frequency band;
步骤S220,当待注册的网络频段为GSM频段,判断待注册的网络频段是否为伪基站频段;若是,则执行步骤S170;若否,执行步骤S130In step S220, when the network frequency band to be registered is the GSM frequency band, it is determined whether the network frequency band to be registered is a pseudo base station frequency band; if yes, step S170 is performed; if not, step S130 is performed.
步骤S130,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;Step S130, determining whether the base station corresponding to the network frequency band to be registered is registered for the first time sending location update registration request;
步骤S140,当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定位置更新注册请求中预置参数,并将位置更新注册请求发送至待注册的基站;Step S140, when the base station to be registered is the first time to send a location update registration request, the preset parameter in the location update registration request is set with the wrong user identification code, and the location update registration request is sent to the base station to be registered;
步骤S150,判断在第一预设时间段内是否接收到待注册的基站根据位置更新注册请求发送的第一拒绝注册信息;若是,则执行步骤S160,否则执行步骤S170;In step S150, it is determined whether the first reject registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period; if yes, step S160 is performed, otherwise step S170 is performed;
步骤S160,根据正确的用户卡识别码向待注册基站重新注册;Step S160, re-registering with the base station to be registered according to the correct user card identification code;
步骤S170,根据信号强度排列顺序重新确定待注册的网络频段。Step S170, re-determining the network frequency band to be registered according to the signal strength ranking order.
当选择确认待注册的网络频段是GSM频段时,则可以根据预设的规则判断该待注册的网络频段是否为伪基站频段。在本实施例中,对于该预设
的规则可以采用多种形式,例如采用白名单的形式,也可以采用黑名单的形式进行判断。以下将以采用黑名单的形式进行详细说明。例如可以根据之前统计的伪基站频段进行标记建表,并存储在手机当中形成预存的伪基站频段表。在进行伪基站频段判断时,上述步骤S210包括:判断在预存的伪基站频段表中是否存在待注册的网络频段;若存在,则确定待注册的网络频段为伪基站频段;若不存在,则确定待注册的网络频段为真基站频段。When it is selected to confirm that the network frequency band to be registered is the GSM frequency band, it may be determined according to a preset rule whether the network frequency band to be registered is a pseudo base station frequency band. In this embodiment, for the preset
The rules can be in various forms, such as in the form of a whitelist, or in the form of a blacklist. The following will be described in detail in the form of a blacklist. For example, the pseudo base station frequency band of the previous statistics may be marked and built, and stored in the mobile phone to form a pre-stored pseudo base station frequency band table. When the pseudo base station frequency band determination is performed, the foregoing step S210 includes: determining whether there is a network frequency band to be registered in the pre-stored pseudo base station frequency band table; if yes, determining that the network frequency band to be registered is a pseudo base station frequency band; if not, It is determined that the network frequency band to be registered is a true base station frequency band.
可以理解的是,由于不同的用户对应有不同的需求,在本实施例中还可以设置特定的模式,以确定在移动终端在基站上注册时,是否对当前注册的基站为伪基站进行判断。具体地,本实施例提供的移动终端开机注册网络的方法与上述移动终端开机注册网络的方法的区别在于,在上述步骤S120之前还包括:判断是否进入伪基站识别模式;上述步骤S120具体为:当移动终端进入伪基站识别模式下,且在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段。It can be understood that, because different users have different requirements, in this embodiment, a specific mode may also be set to determine whether the currently registered base station is a pseudo base station when the mobile terminal registers with the base station. Specifically, the method for the mobile terminal to start the registration of the network is different from the method for the mobile terminal to register the network. The method further includes: determining whether to enter the pseudo base station identification mode before the step S120; the step S120 is specifically: When the mobile terminal enters the pseudo base station identification mode and determines the network frequency band to be registered, it is determined whether the network frequency band to be registered is the GSM frequency band.
在本实施例中,可以输出一个显示界面供用户输入是否需要进行伪基站识别。当用户选择需要进入伪基站识别时,控制手机进入伪基站识别模式,此时每当切换到新的GSM网络中时,则在手机向基站进行注册时,对当前注册的基站进行识别。由于对基站进行鉴权的过程本身存在延时的问题,因此没有必要时时刻刻对注册的基站进行鉴权,毕竟伪基站出现概率小,用户在进行重要操作时进行鉴权即可。因此在本实施例中,对手机的是否进行鉴权设置了专有的模式,可以提高鉴权操作的灵活性。In this embodiment, a display interface can be output for the user to input whether pseudo base station identification is required. When the user selects to enter the pseudo base station identification, the mobile phone is controlled to enter the pseudo base station identification mode. At this time, whenever the mobile phone switches to the new GSM network, the currently registered base station is identified when the mobile phone registers with the base station. Since the process of authenticating the base station itself has a delay problem, it is not necessary to authenticate the registered base station at all times. After all, the probability of occurrence of the pseudo base station is small, and the user can perform authentication when performing important operations. Therefore, in this embodiment, a proprietary mode is set for authenticating the mobile phone, which can improve the flexibility of the authentication operation.
具体地,以一具体完整实施例对本发明的实现过程进行详细说明。参照图10;在开机搜网后,将按照网络信号强度进行排序,确认待注册的基站;然后判断伪基站检测模式是否开启;若是,则判断待注册的基站对应的网络频段是否为GSM频段;若否,则直接发起位置更新注册请求。在伪
基站检测模式开启的情况下,当待注册的基站对应的网络频段不为GSM频段时,则直接发起位置更新注册请求;当待注册的基站对应的网络频段为GSM频段时,判断待注册的基站对应的网络频段是否为伪基站频段,是则重新根据网络信号强度排列顺序,确认待注册的基站,以重启注册流程,否则通过鉴权的方式识别待注册的基站是否为伪基站。当识别为伪基站时,则将该伪基站对应的频段信息储存至伪基站频段表中,并重新根据网络信号强度排列顺序,确认待注册的基站,以重启注册流程;当识别为真基站时,以正确的信息重启注册流程,发起位置更新注册请求进行注册。发起位置更新请求后,将根据注册的结果执行相应的操作;若注册成功,则结束注册流程,若注册失败,则重新根据网络信号强度排列顺序,确认待注册的基站,以重启注册流程。Specifically, the implementation process of the present invention will be described in detail with reference to a specific embodiment. Referring to FIG. 10, after the network is searched, the network signal strength is sorted to confirm the base station to be registered; then, it is determined whether the pseudo base station detection mode is enabled; if yes, it is determined whether the network frequency band corresponding to the base station to be registered is the GSM frequency band; If no, the location update registration request is directly initiated. In pseudo
When the base station detection mode is enabled, when the network frequency band corresponding to the base station to be registered is not the GSM frequency band, the location update registration request is directly initiated; when the network frequency band corresponding to the base station to be registered is the GSM frequency band, the base station to be registered is determined. Whether the corresponding network frequency band is a pseudo base station frequency band, and then re-confirming the base station to be registered according to the network signal strength sequence, to restart the registration process, otherwise, whether the base station to be registered is a pseudo base station is identified by means of authentication. When it is identified as a pseudo base station, the frequency band information corresponding to the pseudo base station is stored in the pseudo base station band table, and the base station to be registered is re-confirmed according to the network signal strength order, to restart the registration process; when it is identified as a true base station , restart the registration process with the correct information, initiate a location update registration request to register. After the location update request is initiated, the corresponding operation is performed according to the result of the registration; if the registration is successful, the registration process is ended. If the registration fails, the base station to be registered is re-confirmed according to the network signal strength ranking order to restart the registration process.
本发明实施例提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令包括:当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定所述位置更新注册请求中预置参数,并将所述位置更新注册请求发送至所述待注册的基站;判断在第一预设时间段内是否接收到所述待注册的基站根据所述位置更新注册请求发送的第一拒绝注册信息;若是,则根据正确的用户卡识别码向所述待注册基站重新注册;若否,则根据信号强度排列顺序重新确定待注册的网络频段。An embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions include: when the mobile terminal is powered on, searching for a network, and searching for a network of each frequency band according to The signal strength is arranged for network registration; when determining the network band to be registered, it is determined whether the network band to be registered is the GSM band; when the network band to be registered is the GSM band, determining whether the base station corresponding to the network band to be registered is the first Transmitting a location update registration request for registration; when the base station to be registered is the first to send a location update registration request, setting a preset parameter in the location update registration request with an incorrect user identifier, and updating the location registration request Sending to the base station to be registered; determining whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received within the first preset time period; if yes, according to the correct user card The identification code is re-registered with the base station to be registered; if not, according to the signal strength Column order to be registered to redefine the network band.
在本发明实施例一实施方式中,该计算机可执行指令还包括:所述根据信号强度排列顺序重新确定待注册的网络频段之前,当在所述第一预设时间段内未接收到所述第一拒绝注册信息的情况下,则在接收到所述待注
册基站根据所述位置更新注册请求发送的鉴权请求时,根据第一预置算法得到错误的鉴权验证信息发送至所述待注册的基站;判断在第二预设时间段内是否接收到所述待注册的基站根据所述错误的鉴权验证信息发送的第二拒绝注册信息;若是,则根据正确的用户卡识别码以及第二预置算法得到正确的鉴权验证信息向所述待注册基站重新注册;若否,则根据信号强度排列顺序重新确定待注册的网络频段。In an embodiment of the present invention, the computer executable instructions further include: before the redetermining the network frequency band to be registered according to the signal strength ranking order, when the first preset time period is not received, In the case of the first rejection of the registration information, the receipt of the note is received.
When the base station updates the registration request according to the location update request, the error authentication verification information is sent to the base station to be registered according to the first preset algorithm; and it is determined whether the second base station is received in the second preset time period. And the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information; if yes, obtaining the correct authentication verification information according to the correct user card identification code and the second preset algorithm The registered base station re-registers; if not, the network frequency band to be registered is re-determined according to the signal strength ranking order.
在本发明实施例一实施方式中,该计算机可执行指令还包括:所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册之前,判断待注册的网络频段是否为伪基站频段;若是,则执行所述根据信号强度排列顺序重新确定待注册的网络频段;若否,则执行所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册。In an embodiment of the present invention, the computer executable instruction further includes: determining, by the base station corresponding to the network frequency band to be registered, whether the network band to be registered is a pseudo before registering the first time location update registration request. The base station frequency band; if yes, performing the determining the network frequency band to be registered according to the signal strength ranking order; if not, performing the determining whether the base station corresponding to the network frequency band to be registered is registered for the first transmission location update registration request.
在本发明实施例一实施方式中,该计算机可执行指令还包括:所述判断待注册的网络频段是否为伪基站频段的过程中,判断在预存的伪基站频段表中是否存在所述待注册的网络频段;若存在,则确定所述待注册的网络频段为伪基站频段;若不存在,则确定所述待注册的网络频段为真基站频段;所述根据信号强度排列顺序重新确定待注册的网络频段之前还包括:将所述伪基站频段的频段信息记录在所述伪基站频段表中。In an embodiment of the present invention, the computer executable instruction further includes: determining, in the process of determining whether the network frequency band to be registered is a pseudo base station frequency band, determining whether the to-be-registered is present in the pre-stored pseudo base station frequency band table. a network band; if yes, determining that the network band to be registered is a pseudo base station band; if not, determining that the network band to be registered is a true base station band; and determining, to be registered, according to a sequence of signal strengths The network frequency band further includes: recording frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
在本发明实施例一实施方式中,所述用户识别码包括IMSI、TMSI、IMEI和IMEISV中的一种。In an embodiment of the present invention, the user identifier includes one of an IMSI, a TMSI, an IMEI, and an IMEISV.
本发明实施例提供了一种移动终端,所述移动终端包括:An embodiment of the present invention provides a mobile terminal, where the mobile terminal includes:
存储介质,配置为存储计算机可执行指令;a storage medium configured to store computer executable instructions;
处理器,配置为执行存储在所述存储介质上的计算机可执行指令,所述计算机可执行指令包括:当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;在确定待注册的网络频
段时,判断待注册的网络频段是否为GSM频段;当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定所述位置更新注册请求中预置参数,并将所述位置更新注册请求发送至所述待注册的基站;判断在第一预设时间段内是否接收到所述待注册的基站根据所述位置更新注册请求发送的第一拒绝注册信息;若是,则根据正确的用户卡识别码向所述待注册基站重新注册;若否,则根据信号强度排列顺序重新确定待注册的网络频段。a processor configured to execute computer executable instructions stored on the storage medium, the computer executable instructions comprising: searching for a network when the mobile terminal is powered on, and arranging the networks searched for each frequency band according to signal strength, Network registration; determining the frequency of the network to be registered
In the segment, it is determined whether the network band to be registered is the GSM band; when the network band to be registered is the GSM band, it is determined whether the base station corresponding to the network band to be registered is registered for the first-time location update registration request; when the base station to be registered is the first When the location update registration request is sent, the preset parameter in the location update registration request is set with an incorrect user identifier, and the location update registration request is sent to the base station to be registered; Whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received in the time period; if yes, re-registering with the base station to be registered according to the correct user card identification code; The network frequency band to be registered is re-determined according to the signal strength ranking order.
在本发明实施例一实施方式中,所述处理器,配置为执行存储在所述存储介质上的计算机可执行指令,所述计算机可执行指令还包括:所述根据信号强度排列顺序重新确定待注册的网络频段之前,当在所述第一预设时间段内未接收到所述第一拒绝注册信息的情况下,则在接收到所述待注册基站根据所述位置更新注册请求发送的鉴权请求时,根据第一预置算法得到错误的鉴权验证信息发送至所述待注册的基站;判断在第二预设时间段内是否接收到所述待注册的基站根据所述错误的鉴权验证信息发送的第二拒绝注册信息;若是,则根据正确的用户卡识别码以及第二预置算法得到正确的鉴权验证信息向所述待注册基站重新注册;若否,则根据信号强度排列顺序重新确定待注册的网络频段。In an embodiment of the present invention, the processor is configured to execute computer executable instructions stored on the storage medium, the computer executable instructions further comprising: determining, according to a sequence of signal strengths, re-determining Before the registered network band, if the first refusal of registration information is not received within the first preset time period, the eNB that receives the registration request to update according to the location update request is received. When the request is made, the erroneous authentication verification information is sent to the base station to be registered according to the first preset algorithm, and it is determined whether the base station to be registered is received according to the error in the second preset time period. The second rejection registration information sent by the verification information; if yes, the correct authentication verification information is obtained according to the correct user card identification code and the second preset algorithm to re-register with the base station to be registered; if not, according to the signal strength The order of the sequences re-determines the network band to be registered.
在本发明实施例一实施方式中,所述处理器,配置为执行存储在所述存储介质上的计算机可执行指令,所述计算机可执行指令还包括:所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册之前,判断待注册的网络频段是否为伪基站频段;若是,则执行所述根据信号强度排列顺序重新确定待注册的网络频段;若否,则执行所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册。
In an embodiment of the present invention, the processor is configured to execute computer executable instructions stored on the storage medium, the computer executable instructions further comprising: determining, by the network frequency band to be registered, Whether the base station determines whether the network frequency band to be registered is a pseudo base station frequency band before registering the first time location update registration request; if yes, performing the determining the network frequency band to be registered according to the signal strength ranking order; if not, executing the Determining whether the base station corresponding to the network frequency band to be registered is registered for the first transmission location update registration request.
在本发明实施例一实施方式中,所述处理器,配置为执行存储在所述存储介质上的计算机可执行指令,所述计算机可执行指令还包括:所述判断待注册的网络频段是否为伪基站频段的过程中,判断在预存的伪基站频段表中是否存在所述待注册的网络频段;若存在,则确定所述待注册的网络频段为伪基站频段;若不存在,则确定所述待注册的网络频段为真基站频段;所述根据信号强度排列顺序重新确定待注册的网络频段之前还包括:将所述伪基站频段的频段信息记录在所述伪基站频段表中。In an embodiment of the present invention, the processor is configured to execute computer executable instructions stored on the storage medium, the computer executable instructions further comprising: determining whether a network frequency band to be registered is In the process of the pseudo base station frequency band, determining whether the network frequency band to be registered exists in the pre-stored pseudo base station frequency band table; if yes, determining that the network frequency band to be registered is a pseudo base station frequency band; if not, determining the The network frequency band to be registered is the true base station frequency band; the re-determining the network frequency band to be registered according to the signal strength ranking order further includes: recording the frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
在本发明实施例一实施方式中,所述用户识别码包括IMSI、TMSI、IMEI和IMEISV中的一种。In an embodiment of the present invention, the user identifier includes one of an IMSI, a TMSI, an IMEI, and an IMEISV.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
出于解释的目的,前面的描述使用了特定的术语,以提供对本发明的透彻理解。然而,对本领域的技术人员来说显而易见的是,为了实践本发明并不需要具体的细节。本发明的具体实施例的前述描述是为了图示和说明的目的而呈现。它们并不意在详尽的或将本发明限于所公开的准确形式。鉴于上面的教义,许多修改和变化是可能的。为了最好地解释本发明的原理及其实际应用而示出并描述了这些实施例,从而使本领域的其他技术人员能够最好地利用本发明和具有适于预期的特定使用的各种修改的各种实施例。意在本发明的范围由随后的权利要求和其等同物来限定。For purposes of explanation, the foregoing description has been used in a specific However, it will be apparent to those skilled in the art that <RTIgt; The foregoing description of the specific embodiments of the invention has been presented They are not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teachings. The embodiments are shown and described in order to best explain the principles of the invention and the embodiments of the invention Various embodiments. The scope of the invention is intended to be defined by the appended claims and their equivalents.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡
是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only a preferred embodiment of the present invention, and thus does not limit the scope of the patent of the present invention.
The equivalent structure or equivalent process transformations made by the present specification and the contents of the drawings are directly or indirectly applied to other related technical fields, and are included in the scope of patent protection of the present invention.
本发明实施例通过当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定位置更新注册请求中预置参数,并将位置更新注册请求发送至待注册的基站;判断在第一预设时间段内是否接收到待注册的基站根据位置更新注册请求发送的第一拒绝注册信息;若是,则根据正确的用户卡识别码向待注册基站重新注册;若否,则根据信号强度排列顺序重新确定待注册的网络频段。由于在移动终端开机过程中对待注册的网络频段是否为伪基站频段进行了判断,从而可以防止移动终端开机后连入伪基站,因此提高了移动终端在开机过程中接入GSM网络进行通信的状态下使用的安全性。
In the embodiment of the present invention, when the mobile terminal is powered on, the network is searched, and the network that searches for each frequency band is arranged according to the signal strength to perform network registration; when determining the network frequency band to be registered, it is determined whether the network frequency band to be registered is GSM. Frequency band; when the network frequency band to be registered is the GSM frequency band, it is determined whether the base station corresponding to the network frequency band to be registered is registered for the first time location update registration request; when the base station to be registered is the first time to send a location update registration request, the wrong user The identifier setting location updates the preset parameter in the registration request, and sends the location update registration request to the base station to be registered; and determines whether the base station to be registered receives the request according to the location update registration request in the first preset time period. The registration information is rejected; if yes, the base station to be registered is re-registered according to the correct user card identification code; if not, the network frequency band to be registered is re-determined according to the signal strength ranking order. Since the network band to be registered is determined to be a pseudo base station band during the startup process of the mobile terminal, the mobile terminal can be prevented from being connected to the pseudo base station after being powered on, thereby improving the state in which the mobile terminal accesses the GSM network for communication during the booting process. The security used below.
Claims (20)
- 一种移动终端开机注册网络的装置,包括:A device for a mobile terminal to register a network, comprising:搜网模块,配置为当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;The search network module is configured to search the network when the mobile terminal is powered on, and arrange the networks searched for each frequency band according to the signal strength for network registration;第一判断模块,配置为在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;The first determining module is configured to determine, when determining a network frequency band to be registered, whether the network frequency band to be registered is a GSM frequency band;第二判断模块,配置为当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;The second determining module is configured to: when the network frequency band to be registered is the GSM frequency band, determine whether the base station corresponding to the network frequency band to be registered is registered for the first sending location update registration request;控制模块,配置为当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定所述位置更新注册请求中预置参数,并将所述位置更新注册请求发送至所述待注册的基站;a control module, configured to: when the base station to be registered is the first time to send a location update registration request, set a preset parameter in the location update registration request with an incorrect user identifier, and send the location update registration request to the Base station to be registered;第三判断模块,配置为判断在第一预设时间段内是否接收到所述待注册的基站根据所述位置更新注册请求发送的第一拒绝注册信息;The third determining module is configured to determine whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received in the first preset time period;处理模块,配置为当在第一预设时间段内接收到所述第一拒绝注册信息时,根据正确的用户卡识别码向所述待注册基站重新注册;当在第一预设时间段内未接收到所述第一拒绝注册信息时,根据信号强度排列顺序重新确定待注册的网络频段。The processing module is configured to re-register with the to-be-registered base station according to the correct user card identification code when receiving the first rejection registration information within the first preset time period; when in the first preset time period When the first rejection registration information is not received, the network frequency band to be registered is re-determined according to the signal strength ranking order.
- 如权利要求1所述的移动终端开机注册网络的装置,其中,所述移动终端开机注册网络的装置还包括:The device for registering a network with a mobile terminal according to claim 1, wherein the device for registering the network by the mobile terminal further comprises:发送模块,配置为当在所述第一预设时间段内未接收到所述第一拒绝注册信息的情况下,则在接收到所述待注册基站根据所述位置更新注册请求发送的鉴权请求时,根据第一预置算法得到错误的鉴权验证信息发送至所述待注册的基站;a sending module, configured to: when the first deny registration information is not received in the first preset time period, receive the authentication sent by the to-be-registered base station according to the location update registration request When requested, the error authentication verification information obtained according to the first preset algorithm is sent to the base station to be registered;第四判断模块,配置为判断在第二预设时间段内是否接收到所述待注 册的基站根据所述错误的鉴权验证信息发送的第二拒绝注册信息;a fourth determining module, configured to determine whether the to-be-received is received within the second preset time period The second refusal registration information sent by the base station of the book according to the erroneous authentication verification information;所述处理模块具体还配置为,当在第二预设时间段内接收到所述第二拒绝注册信息时,根据正确的用户卡识别码以及第二预置算法得到正确的鉴权验证信息向所述待注册基站重新注册;当在第二预设时间段内未接收到所述第二拒绝注册信息时,根据信号强度排列顺序重新确定待注册的网络频段。The processing module is further configured to: when receiving the second refusal registration information in the second preset time period, obtain correct authentication verification information according to the correct user card identification code and the second preset algorithm. The base station to be registered is re-registered; when the second reject registration information is not received within the second preset time period, the network frequency band to be registered is re-determined according to the signal strength ranking order.
- 如权利要求1所述的移动终端开机注册网络的装置,其中,所述移动终端开机注册网络的装置还包括:The device for registering a network with a mobile terminal according to claim 1, wherein the device for registering the network by the mobile terminal further comprises:第五判断模块,配置为判断待注册的网络频段是否为伪基站频段;当待注册的网络频段为伪基站频段时,触发所述处理模块执行根据信号强度排列顺序重新确定待注册的网络频段操作;当待注册的网络频段为真基站频段时,触发所述第二判断模块执行所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册操作。The fifth determining module is configured to determine whether the network frequency band to be registered is a pseudo base station frequency band; when the network frequency band to be registered is a pseudo base station frequency band, triggering the processing module to perform re-determination of the network frequency band operation to be registered according to the signal strength ranking order When the network frequency band to be registered is the true base station frequency band, the second determining module is configured to perform the registration operation for determining whether the base station corresponding to the network frequency band to be registered is the first sending location update registration request.
- 如权利要求3所述的移动终端开机注册网络的装置,其中,所述第五判断模块具体配置为,判断在预存的伪基站频段表中是否存在所述待注册的网络频段;若存在,则确定所述待注册的网络频段为伪基站频段;若不存在,则确定所述待注册的网络频段为真基站频段;The apparatus for registering a network of a mobile terminal according to claim 3, wherein the fifth determining module is configured to determine whether the network frequency band to be registered exists in the pre-stored pseudo base station frequency band table; if yes, Determining that the network frequency band to be registered is a pseudo base station frequency band; if not, determining that the network frequency band to be registered is a true base station frequency band;所述处理模块具体还配置为,当在第一预设时间段内未接收到所述第一拒绝注册信息时,将所述伪基站频段的频段信息记录在所述伪基站频段表中。The processing module is further configured to: when the first deny registration information is not received within the first preset time period, record the frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
- 如权利要求1至4中任一项所述的移动终端开机注册网络的装置,其中,所述用户识别码包括IMSI、TMSI、IMEI和IMEISV中的一种。 The apparatus for registering a network of a mobile terminal according to any one of claims 1 to 4, wherein the subscriber identity code comprises one of an IMSI, a TMSI, an IMEI, and an IMEISV.
- 一种移动终端开机注册网络的方法,包括:A method for a mobile terminal to register a network, comprising:当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;When the mobile terminal is powered on, the network is searched, and the networks searching for each frequency band are arranged according to the signal strength for network registration;在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;When determining the network frequency band to be registered, determining whether the network frequency band to be registered is a GSM frequency band;当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;When the network frequency band to be registered is the GSM frequency band, it is determined whether the base station corresponding to the network frequency band to be registered is registered for the first time sending location update registration request;当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定所述位置更新注册请求中预置参数,并将所述位置更新注册请求发送至所述待注册的基站;When the base station to be registered is the first time to send a location update registration request, the preset parameter in the location update registration request is set with an incorrect user identifier, and the location update registration request is sent to the base station to be registered;判断在第一预设时间段内是否接收到所述待注册的基站根据所述位置更新注册请求发送的第一拒绝注册信息;Determining, by the first preset time period, whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received;若是,则根据正确的用户卡识别码向所述待注册基站重新注册;If yes, re-registering with the base station to be registered according to the correct user card identification code;若否,则根据信号强度排列顺序重新确定待注册的网络频段。If not, the network frequency band to be registered is re-determined according to the signal strength ranking order.
- 如权利要求6所述的移动终端开机注册网络的方法,其中,所述根据信号强度排列顺序重新确定待注册的网络频段之前还包括:The method for the mobile terminal to register a network according to claim 6, wherein the re-determining the network frequency band to be registered according to the signal strength ranking order further comprises:当在所述第一预设时间段内未接收到所述第一拒绝注册信息的情况下,则在接收到所述待注册基站根据所述位置更新注册请求发送的鉴权请求时,根据第一预置算法得到错误的鉴权验证信息发送至所述待注册的基站;When the first rejection registration information is not received within the first preset time period, when receiving the authentication request sent by the to-be-registered base station according to the location update registration request, according to the A preset algorithm obtains incorrect authentication verification information and sends the information to the base station to be registered;判断在第二预设时间段内是否接收到所述待注册的基站根据所述错误的鉴权验证信息发送的第二拒绝注册信息;Determining, in the second preset time period, whether the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information is received;若是,则根据正确的用户卡识别码以及第二预置算法得到正确的鉴权验证信息向所述待注册基站重新注册;If yes, re-registering the base station to be registered according to the correct user card identification code and the second preset algorithm to obtain correct authentication verification information;若否,则根据信号强度排列顺序重新确定待注册的网络频段。 If not, the network frequency band to be registered is re-determined according to the signal strength ranking order.
- 如权利要求6所述的移动终端开机注册网络的方法,其中,所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册之前还包括:The method of claim 6, wherein the determining whether the base station corresponding to the network band to be registered is registered for the first time to send the location update registration request includes:判断待注册的网络频段是否为伪基站频段;Determining whether the network frequency band to be registered is a pseudo base station frequency band;若是,则执行所述根据信号强度排列顺序重新确定待注册的网络频段;If yes, performing the determining, according to the signal strength ranking order, the network frequency band to be registered;若否,则执行所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册。If no, the base station corresponding to the network frequency band to be registered is determined to be registered for the first time sending location update registration request.
- 如权利要求8所述的移动终端开机注册网络的方法,其中,所述判断待注册的网络频段是否为伪基站频段包括:The method of claim 8, wherein the determining whether the network frequency band to be registered is a pseudo base station frequency band comprises:判断在预存的伪基站频段表中是否存在所述待注册的网络频段;若存在,则确定所述待注册的网络频段为伪基站频段;若不存在,则确定所述待注册的网络频段为真基站频段;Determining whether the network frequency band to be registered exists in the pre-stored pseudo base station frequency band table; if yes, determining that the network frequency band to be registered is a pseudo base station frequency band; if not, determining that the network frequency band to be registered is True base station band;所述根据信号强度排列顺序重新确定待注册的网络频段之前还包括:将所述伪基站频段的频段信息记录在所述伪基站频段表中。Before the determining the network frequency band to be registered according to the signal strength ranking order, the method further includes: recording the frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
- 如权利要求6至9中任一项所述的移动终端开机注册网络的方法,其中,所述用户识别码包括IMSI、TMSI、IMEI和IMEISV中的一种。The method for a mobile terminal to register a network according to any one of claims 6 to 9, wherein the subscriber identity code comprises one of IMSI, TMSI, IMEI and IMEISV.
- 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令包括:A computer storage medium storing computer executable instructions, the computer executable instructions comprising:当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;When the mobile terminal is powered on, the network is searched, and the networks searching for each frequency band are arranged according to the signal strength for network registration;在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段; When determining the network frequency band to be registered, determining whether the network frequency band to be registered is a GSM frequency band;当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;When the network frequency band to be registered is the GSM frequency band, it is determined whether the base station corresponding to the network frequency band to be registered is registered for the first time sending location update registration request;当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定所述位置更新注册请求中预置参数,并将所述位置更新注册请求发送至所述待注册的基站;When the base station to be registered is the first time to send a location update registration request, the preset parameter in the location update registration request is set with an incorrect user identifier, and the location update registration request is sent to the base station to be registered;判断在第一预设时间段内是否接收到所述待注册的基站根据所述位置更新注册请求发送的第一拒绝注册信息;Determining, by the first preset time period, whether the first refusal registration information sent by the base station to be registered according to the location update registration request is received;若是,则根据正确的用户卡识别码向所述待注册基站重新注册;If yes, re-registering with the base station to be registered according to the correct user card identification code;若否,则根据信号强度排列顺序重新确定待注册的网络频段。If not, the network frequency band to be registered is re-determined according to the signal strength ranking order.
- 如权利要求11所述的计算机存储介质,其中,该计算机可执行指令还包括:The computer storage medium of claim 11 wherein the computer executable instructions further comprise:所述根据信号强度排列顺序重新确定待注册的网络频段之前,当在所述第一预设时间段内未接收到所述第一拒绝注册信息的情况下,则在接收到所述待注册基站根据所述位置更新注册请求发送的鉴权请求时,根据第一预置算法得到错误的鉴权验证信息发送至所述待注册的基站;Before the network frequency band to be registered is re-determined according to the signal strength ranking order, if the first refusal registration information is not received within the first preset time period, the base station to be registered is received When the authentication request sent by the location update request is sent, the error authentication verification information obtained according to the first preset algorithm is sent to the base station to be registered;判断在第二预设时间段内是否接收到所述待注册的基站根据所述错误的鉴权验证信息发送的第二拒绝注册信息;Determining, in the second preset time period, whether the second refusal registration information sent by the base station to be registered according to the erroneous authentication verification information is received;若是,则根据正确的用户卡识别码以及第二预置算法得到正确的鉴权验证信息向所述待注册基站重新注册;If yes, re-registering the base station to be registered according to the correct user card identification code and the second preset algorithm to obtain correct authentication verification information;若否,则根据信号强度排列顺序重新确定待注册的网络频段。If not, the network frequency band to be registered is re-determined according to the signal strength ranking order.
- 如权利要求11所述的计算机存储介质,其中,该计算机可执行指令还包括:The computer storage medium of claim 11 wherein the computer executable instructions further comprise:所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册之前,判断待注册的网络频段是否为伪基站频段; Determining whether the network band corresponding to the network band to be registered is registered for the first time to send the location update registration request, and determining whether the network band to be registered is a pseudo base station band;若是,则执行所述根据信号强度排列顺序重新确定待注册的网络频段;If yes, performing the determining, according to the signal strength ranking order, the network frequency band to be registered;若否,则执行所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册。If no, the base station corresponding to the network frequency band to be registered is determined to be registered for the first time sending location update registration request.
- 如权利要求13所述的计算机存储介质,其中,该计算机可执行指令还包括:The computer storage medium of claim 13 wherein the computer executable instructions further comprise:所述判断待注册的网络频段是否为伪基站频段的过程中,判断在预存的伪基站频段表中是否存在所述待注册的网络频段;若存在,则确定所述待注册的网络频段为伪基站频段;若不存在,则确定所述待注册的网络频段为真基站频段;In the process of determining whether the network frequency band to be registered is a pseudo base station frequency band, determining whether the network frequency band to be registered exists in the pre-stored pseudo base station frequency band table; if yes, determining that the network frequency band to be registered is pseudo a base station frequency band; if not, determining that the network frequency band to be registered is a true base station frequency band;所述根据信号强度排列顺序重新确定待注册的网络频段之前还包括:将所述伪基站频段的频段信息记录在所述伪基站频段表中。Before the determining the network frequency band to be registered according to the signal strength ranking order, the method further includes: recording the frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
- 如权利要求11至14中任一项所述的计算机存储介质,其中,所述用户识别码包括IMSI、TMSI、IMEI和IMEISV中的一种。The computer storage medium of any of claims 11 to 14, wherein the subscriber identity code comprises one of an IMSI, a TMSI, an IMEI, and an IMEISV.
- 一种移动终端,所述移动终端包括:A mobile terminal, the mobile terminal comprising:存储介质,配置为存储计算机可执行指令;a storage medium configured to store computer executable instructions;处理器,配置为执行存储在所述存储介质上的计算机可执行指令,所述计算机可执行指令包括:当移动终端开机时,搜索网络,并将搜索到各频段的网络按照信号强度排列,以进行联网注册;在确定待注册的网络频段时,判断待注册的网络频段是否为GSM频段;当待注册的网络频段为GSM频段,判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册;当待注册的基站为首次发送位置更新注册请求时,以错误的用户识别码设定所述位置更新注册请求中预置参数,并将所述位置更新注册请求发送至所述待注册的基站;判断在第一预设时间段内是否接收到所 述待注册的基站根据所述位置更新注册请求发送的第一拒绝注册信息;若是,则根据正确的用户卡识别码向所述待注册基站重新注册;若否,则根据信号强度排列顺序重新确定待注册的网络频段。a processor configured to execute computer executable instructions stored on the storage medium, the computer executable instructions comprising: searching for a network when the mobile terminal is powered on, and arranging the networks searched for each frequency band according to signal strength, When the network frequency band to be registered is determined, it is determined whether the network frequency band to be registered is the GSM frequency band; when the network frequency band to be registered is the GSM frequency band, it is determined whether the base station corresponding to the network frequency band to be registered is the first time to send the location update registration. Requesting to register; when the base station to be registered is the first time to send a location update registration request, setting a preset parameter in the location update registration request with an incorrect user identifier, and transmitting the location update registration request to the Registered base station; determine whether to receive the first preset time period Determining, by the base station to be registered, the first deny registration information sent according to the location update registration request; if yes, re-registering with the to-be-registered base station according to the correct user card identification code; if not, re-determining according to the signal strength ranking order The network band to be registered.
- 如权利要求16所述的移动终端,其中,所述处理器,配置为执行存储在所述存储介质上的计算机可执行指令,所述计算机可执行指令还包括:所述根据信号强度排列顺序重新确定待注册的网络频段之前,当在所述第一预设时间段内未接收到所述第一拒绝注册信息的情况下,则在接收到所述待注册基站根据所述位置更新注册请求发送的鉴权请求时,根据第一预置算法得到错误的鉴权验证信息发送至所述待注册的基站;判断在第二预设时间段内是否接收到所述待注册的基站根据所述错误的鉴权验证信息发送的第二拒绝注册信息;若是,则根据正确的用户卡识别码以及第二预置算法得到正确的鉴权验证信息向所述待注册基站重新注册;若否,则根据信号强度排列顺序重新确定待注册的网络频段。The mobile terminal of claim 16, wherein the processor is configured to execute computer executable instructions stored on the storage medium, the computer executable instructions further comprising: reordering according to a sequence of signal strengths Before determining the network frequency band to be registered, if the first rejection registration information is not received within the first preset time period, the base station to be registered is received according to the location update registration request. When the authentication request is received, the erroneous authentication verification information is sent to the base station to be registered according to the first preset algorithm; and it is determined whether the base station to be registered is received according to the error in the second preset time period. The second authentication registration information sent by the authentication verification information; if yes, the correct authentication verification information is obtained according to the correct user card identification code and the second preset algorithm to re-register with the base station to be registered; if not, according to The order of signal strengths is re-determined to determine the network band to be registered.
- 如权利要求16所述的移动终端,其中,所述处理器,配置为执行存储在所述存储介质上的计算机可执行指令,所述计算机可执行指令还包括:所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册之前,判断待注册的网络频段是否为伪基站频段;若是,则执行所述根据信号强度排列顺序重新确定待注册的网络频段;若否,则执行所述判断待注册的网络频段对应的基站是否为首次发送位置更新注册请求进行注册。The mobile terminal of claim 16, wherein the processor is configured to execute computer executable instructions stored on the storage medium, the computer executable instructions further comprising: determining the network band to be registered Whether the corresponding base station registers for the first time to send the location update registration request, and determines whether the network frequency band to be registered is a pseudo base station frequency band; if yes, performing the determining the network frequency band to be registered according to the signal strength ranking order; if not, Performing the determining whether the base station corresponding to the network frequency band to be registered is registered for the first time sending location update registration request.
- 如权利要求18所述的移动终端,其中,所述处理器,配置为执行存储在所述存储介质上的计算机可执行指令,所述计算机可执行指令还包括:所述判断待注册的网络频段是否为伪基站频段的过程中,判断在预存 的伪基站频段表中是否存在所述待注册的网络频段;若存在,则确定所述待注册的网络频段为伪基站频段;若不存在,则确定所述待注册的网络频段为真基站频段;所述根据信号强度排列顺序重新确定待注册的网络频段之前还包括:将所述伪基站频段的频段信息记录在所述伪基站频段表中。The mobile terminal of claim 18, wherein the processor is configured to execute computer executable instructions stored on the storage medium, the computer executable instructions further comprising: determining the network band to be registered Whether it is a pseudo base station band, the process is judged to be pre-stored Whether the network band to be registered exists in the pseudo base station band table; if yes, determining that the network band to be registered is a pseudo base station band; if not, determining that the network band to be registered is a true base station band Before the determining the network frequency band to be registered according to the signal strength ranking order, the method further includes: recording the frequency band information of the pseudo base station frequency band in the pseudo base station frequency band table.
- 如权利要求16至19中任一项所述的移动终端,其中,所述用户识别码包括IMSI、TMSI、IMEI和IMEISV中的一种。 The mobile terminal according to any one of claims 16 to 19, wherein the subscriber identity code comprises one of IMSI, TMSI, IMEI and IMEISV.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610188373.5A CN107241781A (en) | 2016-03-29 | 2016-03-29 | The method and device of start-up logging of mobile terminal network |
CN201610188373.5 | 2016-03-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017166952A1 true WO2017166952A1 (en) | 2017-10-05 |
Family
ID=59963396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/074184 WO2017166952A1 (en) | 2016-03-29 | 2017-02-20 | Network registration method and device of mobile terminal during startup, and computer storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107241781A (en) |
WO (1) | WO2017166952A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020085988A1 (en) * | 2018-10-26 | 2020-04-30 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods, user equipment and network node, for detection of communication with a non-legitimate device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108282785B (en) * | 2018-01-23 | 2020-11-06 | 维沃移动通信有限公司 | A base station registration method and mobile terminal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103944893A (en) * | 2014-04-14 | 2014-07-23 | 联想(北京)有限公司 | Communication method and user equipment |
US20140286245A1 (en) * | 2013-03-22 | 2014-09-25 | Kabushiki Kaisha Toshiba | Wireless communication apparatus and wireless communiction method, both able to transmit pseudo frames |
CN104683965A (en) * | 2013-11-27 | 2015-06-03 | 中国移动通信集团公司 | A method and device for intercepting fake base station spam messages |
CN105101200A (en) * | 2014-05-23 | 2015-11-25 | 中国移动通信集团公司 | A pseudo base station identification method, device and terminal equipment |
CN105722085A (en) * | 2016-03-28 | 2016-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Pseudo base station identification method, pseudo base station identification apparatus, and terminal |
CN106211167A (en) * | 2016-06-28 | 2016-12-07 | 宇龙计算机通信科技(深圳)有限公司 | A kind of terminal, pseudo-base station recognition methods and system |
CN106231599A (en) * | 2016-08-25 | 2016-12-14 | 努比亚技术有限公司 | A kind of pseudo-base station recognition methods, Apparatus and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103796241B (en) * | 2014-01-28 | 2017-06-23 | 工业和信息化部电信研究院 | A kind of method for being judged based on reporting information by terminal and positioning pseudo-base station |
-
2016
- 2016-03-29 CN CN201610188373.5A patent/CN107241781A/en active Pending
-
2017
- 2017-02-20 WO PCT/CN2017/074184 patent/WO2017166952A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140286245A1 (en) * | 2013-03-22 | 2014-09-25 | Kabushiki Kaisha Toshiba | Wireless communication apparatus and wireless communiction method, both able to transmit pseudo frames |
CN104683965A (en) * | 2013-11-27 | 2015-06-03 | 中国移动通信集团公司 | A method and device for intercepting fake base station spam messages |
CN103944893A (en) * | 2014-04-14 | 2014-07-23 | 联想(北京)有限公司 | Communication method and user equipment |
CN105101200A (en) * | 2014-05-23 | 2015-11-25 | 中国移动通信集团公司 | A pseudo base station identification method, device and terminal equipment |
CN105722085A (en) * | 2016-03-28 | 2016-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Pseudo base station identification method, pseudo base station identification apparatus, and terminal |
CN106211167A (en) * | 2016-06-28 | 2016-12-07 | 宇龙计算机通信科技(深圳)有限公司 | A kind of terminal, pseudo-base station recognition methods and system |
CN106231599A (en) * | 2016-08-25 | 2016-12-14 | 努比亚技术有限公司 | A kind of pseudo-base station recognition methods, Apparatus and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020085988A1 (en) * | 2018-10-26 | 2020-04-30 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods, user equipment and network node, for detection of communication with a non-legitimate device |
Also Published As
Publication number | Publication date |
---|---|
CN107241781A (en) | 2017-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017166951A1 (en) | Network reselection control method and device of mobile terminal, and computer storage medium | |
US7088988B2 (en) | Over-the-air subsidy lock resolution | |
US9106665B2 (en) | Automatic device authentication and account identification without user input when application is started on mobile station | |
US8925042B2 (en) | Connecting devices to an existing secure wireless network | |
US9295029B2 (en) | System and method for detecting mutually supported capabilities between mobile devices | |
JP2013524556A (en) | Communications system | |
JP2005510946A (en) | Apparatus, system, method, and computer-readable medium for device pairing in a short-range wireless network | |
CN104853410B (en) | Network access method and mobile communication terminal | |
US11553328B2 (en) | Methods, devices, and computer programs for provisioning or controlling operator profiles in terminals | |
US20120158979A1 (en) | Method and apparatus for controlling access to access point in mobile terminal | |
KR20160143333A (en) | Method for Double Certification by using Double Channel | |
CN114747265B (en) | Method, apparatus and computer program product for adaptive paging of user equipment supporting multiple subscriber identity modules | |
US9119043B2 (en) | Apparatus and method for providing remote communication of an electronic device in a communication network environment | |
WO2017166952A1 (en) | Network registration method and device of mobile terminal during startup, and computer storage medium | |
US9154949B1 (en) | Authenticated delivery of premium communication services to untrusted devices over an untrusted network | |
US10812595B2 (en) | Remote control of a mobile communication device | |
CN115801299A (en) | Meta-universe identity authentication method, device, equipment and storage medium | |
CN113055342B (en) | Information processing method and communication device | |
CN104113837A (en) | Method and device for access authentication of wireless local area network | |
CN107241731B (en) | Mobile terminal network reselection control method and device | |
US20080233887A1 (en) | Classmark Change Message System and Method | |
CN107241719B (en) | Mobile terminal network switching control method and device | |
US20110294505A1 (en) | Simplifying subscription and location registration of a mobile terminal | |
JP2012074975A (en) | Subscriber identity module, portable terminal, information processing method and program | |
KR101745565B1 (en) | Multi-channel authentication system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17772983 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17772983 Country of ref document: EP Kind code of ref document: A1 |