CN113938873A - Network card locking method and device, storage medium and terminal - Google Patents

Network card locking method and device, storage medium and terminal Download PDF

Info

Publication number
CN113938873A
CN113938873A CN202010673282.7A CN202010673282A CN113938873A CN 113938873 A CN113938873 A CN 113938873A CN 202010673282 A CN202010673282 A CN 202010673282A CN 113938873 A CN113938873 A CN 113938873A
Authority
CN
China
Prior art keywords
iccid
card
sim card
terminal
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010673282.7A
Other languages
Chinese (zh)
Other versions
CN113938873B (en
Inventor
石爱民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN202010673282.7A priority Critical patent/CN113938873B/en
Publication of CN113938873A publication Critical patent/CN113938873A/en
Application granted granted Critical
Publication of CN113938873B publication Critical patent/CN113938873B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a network card locking method, a network card locking device, a storage medium and a terminal, and belongs to the technical field of electronics. The method comprises the following steps: the terminal reads an integrated circuit card identification code (ICCID) of the SIM card, sends the ICCID to the server, receives card locking state information obtained by the server through full matching inquiry according to the ICCID, judges whether the SIM card is in a locking state or not based on the card locking state information, further realizes network locking on the specific SIM card, and improves the network locking efficiency and convenience of the SIM card.

Description

Network card locking method and device, storage medium and terminal
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a network card locking method, an apparatus, a storage medium, and a terminal.
Background
With the development and popularization of mobile terminals, in order to obtain more customer resources, a communication operator may adopt a method of producing a mobile terminal customized by the operator in cooperation with a terminal manufacturer, so that a customer who purchases the mobile terminal customized by the operator can only use a Subscriber Identity Module (SIM) card of the operator corresponding to the customer to perform communication. In the related art, a communication operator cooperates with a terminal manufacturer to produce a mobile terminal customized by the operator, and the mobile terminal can only perform network locking on SIM cards of the same batch, such as: network locking is performed on the SIM cards of the same operator, and when the mobile terminal customized by the operator needs to be produced, an unlocking code corresponding to the SIM card is generated, which results in a complex production flow of the mobile terminal.
Disclosure of Invention
The embodiment of the application provides a network card locking method, a network card locking device, a storage medium and a terminal, and can solve the problems that in the related art, a mobile terminal customized by an operator can only lock the SIM cards of the same batch in a network, and a corresponding unlocking code needs to be produced in the production process of the mobile terminal customized by the operator, so that the production flow is complex. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a network card locking method, where the method includes:
reading an integrated circuit card identification code (ICCID) of the SIM card;
sending the ICCID to a server;
receiving card locking state information obtained by the server through full matching query according to the ICCID;
and judging whether the SIM card is in a locked state or not based on the card locking state information.
In a second aspect, an embodiment of the present application provides a network card locking method, where the method includes:
receiving an integrated circuit card identification code (ICCID) sent by a terminal;
performing full-matching inquiry on the card locking state information of the SIM card according to the ICCID;
and sending the card locking state information to the terminal.
In a third aspect, an embodiment of the present application provides a network card locking device, where the device includes:
the reading module is used for reading an integrated circuit card identification code (ICCID) of the SIM card;
a sending module, configured to send the ICCID to a server;
the receiving module is used for receiving the card locking state information obtained by the server through full matching inquiry according to the ICCID;
and the judging module is used for judging whether the SIM card is in a locking state or not based on the card locking state information.
In a fourth aspect, an embodiment of the present application provides a network card locking device, where the device includes:
the receiving module is used for receiving the IC card identification code ICCID sent by the terminal;
the query module is used for carrying out full-matching query on the card locking state information of the SIM card according to the ICCID;
and the sending module is used for sending the card locking state information to the terminal.
In a fifth aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a sixth aspect, an embodiment of the present application provides a terminal, including: a processor, a memory and a display screen; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
when the scheme of the embodiment of the application is executed, the terminal reads the integrated circuit card identification code ICCID of the SIM card, sends the ICCID to the server, receives the card locking state information obtained by the server according to the ICCID through full-matching query, judges whether the SIM card is in a locking state or not based on the card locking state information, further realizes network locking on the specific SIM card, and improves the network locking efficiency and convenience of the SIM card.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic system architecture diagram of a network card locking method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a network card locking method according to an embodiment of the present application;
fig. 3 is another schematic flow chart of a network card locking method according to an embodiment of the present disclosure;
fig. 4 is another schematic flowchart of a network card locking method according to an embodiment of the present application;
fig. 5 is another schematic flowchart of a network card locking method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a network card locking device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a network card locking device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The following description refers to the accompanying drawings, and in order to make the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in detail with reference to the accompanying drawings.
The same reference numbers in the drawings identify the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of a network card locking system architecture provided in an embodiment of the present application is shown, including a terminal 101, a server 102, and a base station 103.
A user may use terminal device 101 to interact with server 102 over a network to receive or send messages and the like. The terminal device 101 may be various electronic devices having a display screen and into which a SIM card may be inserted, including but not limited to smartphones, tablets, smartwatches, and the like. The terminal apparatus 101 may be hardware or software. When the terminal device 101 is software, it may be installed in the electronic devices listed above. Which may be implemented as multiple software or software modules (e.g., to provide distributed services) or as a single software or software module, and is not particularly limited herein. When the terminal device 101 is hardware, a display device may be further installed thereon, and the display of the display device may be various devices capable of implementing a display function; for example: the display device may be a Cathode ray tube (CR) display, a Light-emitting diode (LED) display, an electronic ink screen, a Liquid Crystal Display (LCD), a Plasma Display Panel (PDP), or the like. A user can view information such as displayed characters, pictures, videos and the like by using display equipment on the terminal equipment 101; the terminal and the mobile terminal in the present application are the same description of the terminal device 101.
The network card locking method provided by the embodiment of the present application may be executed by the terminal device 101, and accordingly, the network card locking device is usually disposed in the terminal device 101, for example: the terminal reads an integrated circuit card identification code (ICCID) of the SIM card, sends the ICCID to the server, receives card locking state information obtained by the server through full matching inquiry according to the ICCID, and judges whether the SIM card is in a locking state or not based on the card locking state information.
The server 102 may be a server providing various services, or a server dedicated to locking the SIM card network, and the server 102 may be hardware or software. When the server 102 is hardware, it may be implemented as a distributed server cluster composed of multiple servers, or may be implemented as a single server. When the server 102 is software, it may be implemented as a plurality of software or software modules (for example, for providing distributed services), or may be implemented as a single software or software module, and is not limited in particular herein.
The network card locking method provided by the embodiment of the present application may be executed by the server 102, and accordingly, the network card locking device is generally disposed in the server 102, for example: the server receives the integrated circuit card identification code ICCID sent by the terminal, carries out full matching inquiry on the card locking state information of the SIM card according to the ICCID, and sends the card locking state information to the terminal.
The base station 103, i.e. a public mobile communication base station, is an interface device for a terminal to access the internet, and is a form of a radio station, which is a radio transceiver station for information transmission between a mobile terminal (terminal 101) and a mobile communication switching center in a certain radio coverage area. The base station 103 may also be referred to as a base station system, and is composed of a plurality of independent base station devices, and a complete base station device further includes a power supply, a storage battery, an air conditioner, security monitoring and other supporting devices. The base station 103 may be an LTE base station or an NR base station; the LTE Base station mainly includes three parts, namely, a BBU (Building Base band Unit), an RRU (Radio Remote Unit), and a Radio frequency antenna, where the BBU is mainly responsible for signal modulation, the RRU is mainly responsible for Radio frequency processing, and the antenna is mainly responsible for conversion between cable up-guided waves and spatial waves in the air. Compared with an LTE base station, the NR base station combines an RRU and a radio frequency Antenna before the LTE base station into an AAU (Active Antenna Unit), and is connected to the BBU through an optical fiber. According to the station type size and power of the base station, the base station can be divided into a Macro base station (Macro Site), a Micro base station (Micro Site), a Pico base station (Pico Site) and a Femto base station (Femto Site): the single carrier transmitting power of the macro base station is more than 10W, and the coverage radius is more than 200 meters; the single carrier transmitting power of the micro base station is 500mW to 10W, and the coverage radius is 50 meters to 200 meters; the single carrier transmitting power of the pico-base station is between 100mW and 500mW, and the coverage radius is between 20 meters and 50 meters; the single carrier transmission power of the femto base station is less than 100mW, and the coverage radius is between 10 meters and 20 meters.
It should be understood that the number of terminals, servers, and base stations in fig. 1 is illustrative only. There may be any number of terminals, servers and base stations as may be desired.
The network card locking method provided by the embodiment of the present application will be described in detail below with reference to fig. 2 to 5.
Referring to fig. 2, a schematic flow chart of a network card locking method is provided in the embodiment of the present application. In this embodiment, a network card locking method is applied to a terminal for example, and the network card locking method may include the following steps:
s201, reading an integrated circuit card identification code (ICCID) of the SIM card.
Wherein, a SIM (Subscriber Identity Module) card is an IC card held by a mobile Subscriber of the GSM system, and is called a Subscriber Identity Module card; the GSM system identifies GSM users through SIM cards, the same SIM card can be used on different mobile phones, and the GSM mobile terminal can be accessed to the network only after the SIM card is inserted. The ICCID (integrated circuit card identification code), i.e., the SIM card number, is equivalent to an identification card of a mobile phone number. The ICCID is a unique identification number of the IC card and is composed of 20 digits, and the coding format is as follows: XXXXXXX 0MFSS YYGXXXX.
Generally, network locking of a SIM card is implemented by a network card locking scheme based on a protocol standard, and the network locking types include 5 types: network Lock Network Lock, locking MCC + MNC; a sub-Network Lock Network Subset Lock locks MCC + MNC + sub-Network number (6-7 bits of IMSI); service provider sp (service provider) lock, locking MCC + MNC + GID 1; the company Lock corporation Lock, Lock MCC + MNC + GID1+ GID 2; and the SIM card lock locks the appointed SIM card. Most communication operators Lock only Network Lock, Network Subset Lock, SP Lock, and corporation Lock, not much. The situation of locking the SIM card lock is rare, and most of the situations are to lock the first SIM card inserted into the terminal, and to lock the network service provided by the operator of the SIM card, if the communication operator of the SIM card is consistent with the communication operator corresponding to the customized terminal, the customized terminal can obtain the network service through the SIM card. The MCC, MNC, Subset, and SIM mentioned above are all obtained from IMSI (International Mobile Subscriber Identity), which is an identifier used to distinguish different users in a cellular network and is not repeated in all cellular networks; SP was obtained from EF-GID1, and corporation was obtained from EF-GID 2.
S202, sending the ICCID to the server.
Generally, after a terminal is inserted with an SIM card by a user, the terminal needs to determine whether the current SIM card is locked by a communication operator, read an ICCID code corresponding to the SIM card, that is, the SIM card number, and send the obtained ICCID code to a server (a server specially used for determining whether the SIM card is locked by the network) through the current SIM card, after receiving the ICCID code sent by the terminal, the server can perform full-matching query on card locking status information of the SIM card corresponding to the ICCID code according to the ICCID code, and send the queried card locking status information to the terminal.
S203, receiving the card locking state information obtained by the server performing full matching query according to the ICCID.
The card locking state information refers to a network locking state of the SIM card, and includes a locked state of the SIM card network and an unlocked state of the SIM card network. The terminal can not acquire network service when the current SIM card network is locked, and can register to an operator network through the SIM card after a user inputs an unlocking code to unlock; the terminal can directly register to the operator network through the SIM card in the state that the current SIM card network is not locked. The full-matching query refers to performing full-matching query on each field of the ICCID of the SIM card, namely when each field of the ICCID of the SIM card is completely consistent with the ICCID of the SIM card in the blacklist of the server, indicating that the network of the SIM card is locked; or when the fields of the ICCID code of the SIM card are not completely consistent with the ICCID codes of the SIM cards in the white list of the server, indicating that the network of the SIM card is locked.
Generally, after receiving an ICCID code sent by a terminal, a server may perform full-matching query on card locking state information of an SIM card corresponding to the ICCID code according to the ICCID code, and send the queried card locking state information to the terminal, and after receiving the card locking state information of the SIM card sent by the server, the terminal may determine whether the current SIM card is in a locked state based on the card locking state information of the SIM card, that is, whether the current SIM card can be registered in an operator network. The ICCID code is inquired in a full-matching inquiry mode, network locking of a specific SIM card can be achieved, and network locking efficiency and convenience of the SIM card can be improved.
And S204, judging whether the SIM card is in a locking state or not based on the card locking state information.
Generally, after a terminal acquires card locking state information sent by a server, whether a current SIM card can be registered in an operator network can be determined based on the card locking state information, wherein the card locking state information comprises a locked state of an SIM card network and an unlocked state of the SIM card network; the terminal can not obtain network service when the current SIM card network is locked, and can register to the operator network through the SIM card after the user inputs the unlocking code to unlock: when a user knows that the user can register to an operator network after unlocking a current SIM card, the user can inquire an operator corresponding to the SIM card and acquire an unlocking code corresponding to the SIM card through a telephone, meanwhile, the terminal acquires an International Mobile Equipment Identity (IMEI) corresponding to the terminal and sends the IMEI to a server, the server generates an unlocking code configuration file based on the IMEI and an ICCID, and the unlocking code configuration file comprises the unlocking code corresponding to the IMEI; the terminal can display an unlocking code input frame through a display unit, after a user obtains an unlocking code corresponding to the SIM card, the obtained unlocking code can be input into the unlocking code input frame of the terminal, when the terminal receives an input completion instruction aiming at the unlocking code input frame, the terminal can send the unlocking code to the server after reading the unlocking code, and after receiving verification result information of the server on the unlocking code, when the verification of the unlocking code is determined to pass according to the verification result information, the terminal can register the current SIM card to an operator network corresponding to the ICCID. The terminal can directly register to the operator network corresponding to the ICCID through the SIM card in the state that the current SIM card network is not locked.
According to the network card locking method provided by the scheme, the terminal reads the integrated circuit card identification code ICCID of the SIM card, sends the ICCID to the server, receives the card locking state information obtained by the server according to the ICCID through full matching query, and judges whether the SIM card is in a locked state or not based on the card locking state information, so that network locking of the specific SIM card is realized, and the network locking efficiency and convenience of the SIM card are improved.
Referring to fig. 3, another flow chart of a network card locking method is provided in the embodiment of the present application. The embodiment is exemplified by applying a network card locking method to a terminal. The network card locking method can comprise the following steps:
s301, reading the integrated circuit card identification code ICCID of the SIM card.
Wherein, a SIM (Subscriber Identity Module) card is an IC card held by a mobile Subscriber of the GSM system, and is called a Subscriber Identity Module card; the GSM system identifies GSM users through SIM cards, the same SIM card can be used on different mobile phones, and the GSM mobile terminal can be accessed to the network only after the SIM card is inserted. The ICCID (integrated circuit card identification code), i.e., the SIM card number, is equivalent to an identification card of a mobile phone number. The ICCID is a unique identification number of the IC card and is composed of 20 digits, and the coding format is as follows: XXXXXXX 0MFSS YYGXXXX.
Generally, network locking of a SIM card is implemented by a network card locking scheme based on a protocol standard, and the network locking types include 5 types: network Lock Network Lock, locking MCC + MNC; a sub-Network Lock Network Subset Lock locks MCC + MNC + sub-Network number (6-7 bits of IMSI); service provider sp (service provider) lock, locking MCC + MNC + GID 1; the company Lock corporation Lock, Lock MCC + MNC + GID1+ GID 2; and the SIM card lock locks the appointed SIM card. Most communication operators Lock only Network Lock, Network Subset Lock, SP Lock, and corporation Lock, not much. The situation of locking the SIM card lock is rare, and most of the situations are to lock the first SIM card inserted into the terminal, and to lock the network service provided by the operator of the SIM card, if the communication operator of the SIM card is consistent with the communication operator corresponding to the customized terminal, the customized terminal can obtain the network service through the SIM card. The MCC, MNC, Subset, and SIM mentioned above are all obtained from IMSI (International Mobile Subscriber Identity), which is an identifier used to distinguish different users in a cellular network and is not repeated in all cellular networks; SP was obtained from EF-GID1, and corporation was obtained from EF-GID 2.
S302, sending the ICCID to the server.
Generally, after a terminal is inserted with an SIM card by a user, the terminal needs to determine whether the current SIM card is locked by a communication operator, read an ICCID code corresponding to the SIM card, that is, the SIM card number, and send the obtained ICCID code to a server (a server specially used for determining whether the SIM card is locked by the network) through the current SIM card, after receiving the ICCID code sent by the terminal, the server can perform full-matching query on card locking status information of the SIM card corresponding to the ICCID code according to the ICCID code, and send the queried card locking status information to the terminal.
S303, receiving the card locking state information obtained by the server according to the ICCID through full matching query.
The card locking state information refers to a network locking state of the SIM card, and includes a locked state of the SIM card network and an unlocked state of the SIM card network. The terminal can not acquire network service when the current SIM card network is locked, and can register to an operator network through the SIM card after a user inputs an unlocking code to unlock; the terminal can directly register to the operator network through the SIM card in the state that the current SIM card network is not locked. The full-matching query refers to performing full-matching query on each field of the ICCID of the SIM card, namely when each field of the ICCID of the SIM card is completely consistent with the ICCID of the SIM card in the blacklist of the server, indicating that the network of the SIM card is locked; or when the fields of the ICCID code of the SIM card are not completely consistent with the ICCID codes of the SIM cards in the white list of the server, indicating that the network of the SIM card is locked.
Generally, after receiving an ICCID code sent by a terminal, a server may perform full-matching query on card locking state information of an SIM card corresponding to the ICCID code according to the ICCID code, and send the queried card locking state information to the terminal, and after receiving the card locking state information of the SIM card sent by the server, the terminal may determine whether the current SIM card is in a locked state based on the card locking state information of the SIM card, that is, whether the current SIM card can be registered in an operator network. The ICCID code is inquired in a full-matching inquiry mode, network locking of a specific SIM card can be achieved, and network locking efficiency and convenience of the SIM card can be improved.
And S304, judging whether the SIM card is in a locked state or not based on the card locking state information.
The locking state refers to a state of locking the SIM card network, the card locking state information includes a locked state of the SIM card network and an unlocked state of the SIM card network, and whether the SIM card is in the locking state can be judged based on the card locking state information.
S305, when the SIM card is determined to be in an unlocked state according to the card locking state information, registering the SIM card to an operator network corresponding to the ICCID.
Generally, when it is determined that the current SIM card is in an unlocked state, it indicates that the access of the current SIM card to the network is not limited, and the terminal may register to the operator network corresponding to the SIM card through the SIM card, so that the terminal can obtain network services.
And S306, displaying reminding information through the display unit when the SIM card is determined to be in the locking state according to the card locking state information.
Generally, after a terminal acquires card locking state information sent by a server, whether a current SIM card can be registered in an operator network can be determined based on the card locking state information, wherein the card locking state information comprises a locked state of an SIM card network and an unlocked state of the SIM card network; the terminal cannot acquire network services when the current SIM card network is locked, can register to an operator network through the SIM card after a user inputs an unlocking code to unlock, displays reminding information through a display unit to remind the user that the network locking of the current SIM card can be released only when the user needs to input the unlocking code, and can inquire the operator corresponding to the SIM card and acquire the unlocking code corresponding to the SIM card by calling.
S307, acquiring the international mobile equipment identity IMEI corresponding to the terminal.
Wherein, IMEI (International Mobile Equipment Identity), namely a terminal serial number and a terminal 'serial number', is used for identifying each independent Mobile communication Equipment in a Mobile terminal network, and is equivalent to an Identity card number of a Mobile terminal, the serial number has 15-17 digits, and the first 8 digits (TAC) are model approval numbers (6 digits in the early stage) and are codes for distinguishing terminal brands and models; then 2 bits (FAC) is the last assembly number (present only in earlier models), representing the final assembly code; the last 6 bits (SNR) are the string number, representing the production sequence number; the IMEI may be present in the handset memory.
S308, the IMEI is sent to the server.
Generally, a terminal sends an IMEI corresponding to the terminal to a server, and after receiving the IMEI, the server generates an unlocking code configuration file based on the IMEI and a previously received ICCID, where the unlocking code configuration file includes an unlocking code corresponding to the IMEI, and the unlocking code can unlock a network of a current SIM card. Updating the unlocking code of the unlocking code configuration file in the server is completed by acquiring the IMEI of the terminal and the ICCID of the SIM card and generating the corresponding unlocking code based on the IMEI of the terminal and the ICCID of the SIM card, or new unlocking code information is added into the unlocking code configuration file.
And S309, displaying the unlocking code input box through the display unit.
The unlocking code input box refers to a keypad for inputting numbers and symbols, and a user can input any numbers, symbols or characters in the unlocking code input box.
Generally, when the terminal knows that the current SIM card is locked, that is, the terminal cannot register to the operator network through the current SIM card, the display unit displays the notification information that the current SIM card is locked, and the display unit displays the unlocking code input box, so that the user can directly input the acquired unlocking code in the unlocking code input box after obtaining the corresponding unlocking code, and perform network unlocking on the current SIM card.
S310, when receiving the input completion instruction for the unlock code input box, reading the unlock code.
The input finishing instruction refers to a finishing input unlocking code instruction which is generated correspondingly when the terminal recognizes that the unlocking code digit is complete after the user inputs the unlocking code into the unlocking code input box completely or clicks a corresponding submitting virtual key after the user inputs the unlocking code. The unlocking code refers to a string of numbers and/or characters corresponding to the current SIM card, which can be used for unlocking the network of the SIM card.
S311, the unlocking code is sent to the server.
S312, receiving the verification result information of the unlocking code by the server.
The verification result information refers to a verification result obtained by matching and verifying the unlocking code sent by the terminal, and the verification result information includes two types, namely verification success and verification failure.
Generally, a server receives an unlocking code corresponding to a current SIM card sent by a terminal, and verifies the unlocking code to obtain verification result information: comparing the unlocking code corresponding to the current SIM card with the unlocking code in the unlocking code configuration file stored in the server, and when the unlocking code corresponding to the current SIM card is consistent with the unlocking code in the unlocking code configuration file, indicating that the verification result information is successful; and when the unlocking code corresponding to the current SIM card is inconsistent with the unlocking code in the unlocking code configuration file, indicating that the verification result information is verification failure. And generating verification result information after the server completes verification, and sending the verification result information to the terminal so that the terminal can receive the verification result information of the unlocking code.
And S313, when the unlocking code is determined to pass the verification according to the verification result information, registering the unlocking code to the operator network corresponding to the ICCID.
Generally, when the unlocking code corresponding to the current SIM card is consistent with the unlocking code in the unlocking code configuration file of the server, it indicates that the verification result information is successful, the server sends the verification result information to the terminal, and the terminal receives the verification result information and registers the current SIM card to the operator network, so that the user can obtain network service through the terminal.
According to the content, the network card locking method provided by the scheme includes that a terminal reads an integrated circuit card identification code ICCID of an SIM card, sends the ICCID to a server, receives card locking state information obtained by the server through full matching inquiry according to the ICCID, judges whether the SIM card is in a locked state or not according to the card locking state information, registers the SIM card to an operator network corresponding to the ICCID when the SIM card is determined to be in the unlocked state according to the card locking state information, displays reminding information through a display unit when the SIM card is determined to be in the locked state according to the card locking state information, obtains an international mobile equipment identification code IMEI corresponding to the terminal, sends the IMEI to the server, displays an unlocking code input box through a display unit, reads the unlocking code when an input completion instruction aiming at the unlocking code input box is received, sends the unlocking code to the server, receives verification result information of the unlocking code by the server, determines that the unlocking code verification passes according to the verification result information, and registering to the operator network corresponding to the ICCID. By the method, the network locking of the specific SIM card can be realized, and the network locking efficiency and convenience of the specific SIM card are improved; and when the user inquires the unlocking code corresponding to the SIM card, the server generates the corresponding unlocking code according to the IMEI of the terminal and the ICCID of the SIM card, thereby reducing the flow of producing the corresponding unlocking code in the production process of customizing the terminal by an operator and reducing the complexity of the production flow of customizing the terminal by the operator.
Referring to fig. 4, another flow chart of a network card locking method is provided in the embodiment of the present application. The embodiment is exemplified by applying a network card locking method to a server. The network card locking method can comprise the following steps:
s401, receiving the IC card identification code ICCID sent by the terminal.
The ICCID (integrated circuit card identification code), i.e., the SIM card number, is equivalent to an identification card of a mobile phone number. The ICCID is a unique identification number of the IC card and is composed of 20 digits, and the coding format is as follows: XXXXXXX 0MFSS YYGXXXX.
Generally, network locking of a SIM card is implemented by a network card locking scheme based on a protocol standard, and the network locking types include 5 types: network Lock Network Lock, locking MCC + MNC; a sub-Network Lock Network Subset Lock locks MCC + MNC + sub-Network number (6-7 bits of IMSI); service provider sp (service provider) lock, locking MCC + MNC + GID 1; the company Lock corporation Lock, Lock MCC + MNC + GID1+ GID 2; and the SIM card lock locks the appointed SIM card. Most communication operators Lock only Network Lock, Network Subset Lock, SP Lock, and corporation Lock, not much. The situation of locking the SIM card lock is rare, and most of the situations are to lock the first SIM card inserted into the terminal, and to lock the network service provided by the operator of the SIM card, if the communication operator of the SIM card is consistent with the communication operator corresponding to the customized terminal, the customized terminal can obtain the network service through the SIM card. The MCC, MNC, Subset, and SIM mentioned above are all obtained from IMSI (International Mobile Subscriber Identity), which is an identifier used to distinguish different users in a cellular network and is not repeated in all cellular networks; SP was obtained from EF-GID1, and corporation was obtained from EF-GID 2.
After the terminal is inserted with the SIM card by the user, the terminal needs to determine whether the current SIM card is network-locked by the communication operator, read the ICCID code corresponding to the SIM card, i.e. the SIM card number, and send the obtained ICCID code to the server (a server specially used for determining whether the SIM card is network-locked) through the current SIM card, after receiving the ICCID code sent by the terminal, the server can perform full-matching query on the card-locking status information of the SIM card corresponding to the ICCID code according to the ICCID code, and send the queried card-locking status information to the terminal.
S402, carrying out full-matching inquiry on the card locking state information of the SIM card according to the ICCID.
Wherein, a SIM (Subscriber Identity Module) card is an IC card held by a mobile Subscriber of the GSM system, and is called a Subscriber Identity Module card; the GSM system identifies GSM users through SIM cards, the same SIM card can be used on different mobile phones, and the GSM mobile terminal can be accessed to the network only after the SIM card is inserted. The card locking state information refers to a network locking state of the SIM card, and comprises a locked state of the SIM card network and an unlocked state of the SIM card network. The terminal can not acquire network service when the current SIM card network is locked, and can register to an operator network through the SIM card after a user inputs an unlocking code to unlock; the terminal can directly register to the operator network through the SIM card in the state that the current SIM card network is not locked. The full-matching query refers to performing full-matching query on each field of the ICCID of the SIM card, namely when each field of the ICCID of the SIM card is completely consistent with the ICCID of the SIM card in the blacklist of the server, indicating that the network of the SIM card is locked; or when the fields of the ICCID code of the SIM card are not completely consistent with the ICCID codes of the SIM cards in the white list of the server, indicating that the network of the SIM card is locked.
Generally, after receiving an ICCID code sent by a terminal, a server can perform full-matching query on card locking state information of an SIM card corresponding to the ICCID code according to the ICCID code, and the server queries the ICCID code in a full-matching query manner, so that network locking of a specific SIM card can be realized, and network locking efficiency and convenience for the specific SIM card can be improved.
And S403, sending the card locking state information to the terminal.
Generally, after receiving an ICCID code sent by a terminal, a server may perform full-matching query on card locking state information of an SIM card corresponding to the ICCID code according to the ICCID code, and send the queried card locking state information to the terminal, and after receiving the card locking state information of the SIM card sent by the server, the terminal may determine whether the current SIM card is in a locked state based on the card locking state information of the SIM card, that is, whether the current SIM card can be registered in an operator network.
According to the network card locking method provided by the scheme, the server receives the integrated circuit card identification code ICCID sent by the terminal, the card locking state information of the SIM card is inquired through full matching according to the ICCID, and the card locking state information is sent to the terminal, so that the network locking of the specific SIM card is realized, and the network locking efficiency and the convenience of the SIM card are improved.
Referring to fig. 5, another flow chart of a network card locking method is provided in the embodiment of the present application. The embodiment is exemplified by applying a network card locking method to a server. The network card locking method can comprise the following steps:
s501, receiving an integrated circuit card identification code (ICCID) sent by a terminal.
The ICCID (integrated circuit card identification code), i.e., the SIM card number, is equivalent to an identification card of a mobile phone number. The ICCID is a unique identification number of the IC card and is composed of 20 digits, and the coding format is as follows: XXXXXXX 0MFSS YYGXXXX.
Generally, network locking of a SIM card is implemented by a network card locking scheme based on a protocol standard, and the network locking types include 5 types: network Lock Network Lock, locking MCC + MNC; a sub-Network Lock Network Subset Lock locks MCC + MNC + sub-Network number (6-7 bits of IMSI); service provider sp (service provider) lock, locking MCC + MNC + GID 1; the company Lock corporation Lock, Lock MCC + MNC + GID1+ GID 2; and the SIM card lock locks the appointed SIM card. Most communication operators Lock only Network Lock, Network Subset Lock, SP Lock, and corporation Lock, not much. The situation of locking the SIM card lock is rare, and most of the situations are to lock the first SIM card inserted into the terminal, and to lock the network service provided by the operator of the SIM card, if the communication operator of the SIM card is consistent with the communication operator corresponding to the customized terminal, the customized terminal can obtain the network service through the SIM card. The MCC, MNC, Subset, and SIM mentioned above are all obtained from IMSI (International Mobile Subscriber Identity), which is an identifier used to distinguish different users in a cellular network and is not repeated in all cellular networks; SP was obtained from EF-GID1, and corporation was obtained from EF-GID 2.
After the terminal is inserted with the SIM card by the user, the terminal needs to determine whether the current SIM card is network-locked by the communication operator, read the ICCID code corresponding to the SIM card, i.e. the SIM card number, and send the obtained ICCID code to the server (a server specially used for determining whether the SIM card is network-locked) through the current SIM card, after receiving the ICCID code sent by the terminal, the server can perform full-matching query on the card-locking status information of the SIM card corresponding to the ICCID code according to the ICCID code, and send the queried card-locking status information to the terminal.
S502, inquiring whether the ICCID is the ICCID in the white list or the black list.
The white list refers to an ICCID list corresponding to an SIM card of an unlocked network, and the black list corresponds to the white list and refers to an ICCID list corresponding to an SIM card of a locked network; when the ICCID sent by the terminal is the ICCID in the white list or when the ICCID sent by the terminal is not the ICCID in the black list, indicating that the card locking state information of the SIM card corresponding to the ICCID sent by the terminal is in an unlocked state; and when the ICCID sent by the terminal is not the ICCID in the white list or when the ICCID sent by the terminal is the ICCID in the black list, determining that the card locking state information of the SIM card is in a locking state. And inquiring whether the ICCID sent by the terminal is the ICCID in the white list or the black list, and also performing full-matching inquiry on the ICCID sent by the terminal to judge whether the ICCID sent by the terminal is completely matched with the ICCID in the white list or the black list of the server.
S503, when determining that the ICCID is the ICCID in the white list or when determining that the ICCID is not the ICCID in the black list, determining that the card locking state information of the SIM card is in an unlocked state.
Wherein, a SIM (Subscriber Identity Module) card is an IC card held by a mobile Subscriber of the GSM system, and is called a Subscriber Identity Module card; the GSM system identifies GSM users through SIM cards, the same SIM card can be used on different mobile phones, and the GSM mobile terminal can be accessed to the network only after the SIM card is inserted. The card locking state information refers to a network locking state of the SIM card, and comprises a locked state of the SIM card network and an unlocked state of the SIM card network. The terminal can not acquire network service when the current SIM card network is locked, and can register to an operator network through the SIM card after a user inputs an unlocking code to unlock; the terminal can directly register to the operator network through the SIM card in the state that the current SIM card network is not locked.
Generally, the full-matching query refers to performing full-matching query on each field of the ICCID code of the SIM card, that is, when each field of the ICCID code of the SIM card is not completely consistent with the ICCID code of the SIM card in the blacklist of the server, it indicates that the network of the SIM card is not locked, that is, the card-locking state information of the SIM card is in an unlocked state; or when each field of the ICCID code of the SIM card is completely consistent with the ICCID code of the SIM card in the white list of the server, it indicates that the network of the SIM card is not locked, that is, the card-locking status information of the SIM card is in an unlocked status.
S504, when the ICCID is determined not to be the ICCID in the white list or when the ICCID is determined to be the ICCID in the black list, the card locking state information of the SIM card is determined to be the locking state.
Generally, the full-matching query refers to performing full-matching query on each field of the ICCID code of the SIM card, that is, when each field of the ICCID code of the SIM card is completely consistent with the ICCID code of the SIM card in the blacklist of the server, it indicates that the network of the SIM card is locked, that is, the card-locking state information of the SIM card is in a locked state; or when each field of the ICCID code of the SIM card is not completely consistent with the ICCID code of the SIM card in the white list of the server, it indicates that the network of the SIM card is locked, that is, the card-locking status information of the SIM card is in a locked status.
And S505, sending the card locking state information to the terminal.
Generally, after receiving an ICCID code sent by a terminal, a server may perform full-matching query on card locking state information of an SIM card corresponding to the ICCID code according to the ICCID code, and send the queried card locking state information to the terminal, and after receiving the card locking state information of the SIM card sent by the server, the terminal may determine whether the current SIM card is in a locked state based on the card locking state information of the SIM card, that is, whether the current SIM card can be registered in an operator network.
S506, receiving an unlocking code corresponding to the SIM card sent by the terminal.
Generally, when a terminal knows that a current SIM card is locked, that is, the terminal cannot register to an operator network through the current SIM card, the terminal displays a notification message that the current SIM card is locked through a display unit, and displays an unlocking code input box through the display unit, and a user can input an unlocking code in the unlocking code input box, so that the terminal can acquire the unlocking code and send the unlocking code to a server.
And S507, verifying the unlocking code to obtain verification result information.
The verification result information refers to a verification result obtained by matching and verifying the unlocking code sent by the terminal, and the verification result information includes two types, namely verification success and verification failure.
Generally, a server receives an unlocking code corresponding to a current SIM card sent by a terminal, and verifies the unlocking code to obtain verification result information: comparing the unlocking code corresponding to the current SIM card with the unlocking code in the unlocking code configuration file stored in the server, and when the unlocking code corresponding to the current SIM card is consistent with the unlocking code in the unlocking code configuration file, indicating that the verification result information is successful; and when the unlocking code corresponding to the current SIM card is inconsistent with the unlocking code in the unlocking code configuration file, indicating that the verification result information is verification failure.
And S508, sending the verification result information to the terminal.
Generally, after the server completes the verification, verification result information is generated and sent to the terminal, so that the terminal can receive the verification result information of the unlock code. When the unlocking code corresponding to the current SIM card is consistent with the unlocking code in the unlocking code configuration file of the server, the verification result information is verified successfully, the server sends the verification result information to the terminal, and the terminal registers the current SIM card to an operator network after receiving the verification result information, so that a user can obtain network service through the terminal. When the unlocking code corresponding to the current SIM card is inconsistent with the unlocking code in the unlocking code configuration file, the verification result information is proved to be verification failure, the server sends the verification result information to the terminal, and after the terminal receives the verification result information, the terminal displays the reminding information of the unlocking failure through the display unit.
According to the network card locking method provided by the scheme, the server receives an integrated circuit card identification code (ICCID) sent by the terminal, inquires whether the ICCID is an ICCID in a white list or a black list, determines that the card locking state information of the SIM card is in an unlocked state when the ICCID is determined to be the ICCID in the white list or not, determines that the card locking state information of the SIM card is in a locked state when the ICCID is determined not to be the ICCID in the white list or not, and sends the card locking state information to the terminal, receives an unlocking code corresponding to the SIM card sent by the terminal, verifies the unlocking code to obtain verification result information, and sends the verification result information to the terminal. By the method, the network locking of the specific SIM card can be realized, and the network locking efficiency and convenience of the specific SIM card are improved; and when the user inquires the unlocking code corresponding to the SIM card, the server generates the corresponding unlocking code according to the IMEI of the terminal and the ICCID of the SIM card, thereby reducing the flow of producing the corresponding unlocking code in the production process of customizing the terminal by an operator and reducing the complexity of the production flow of customizing the terminal by the operator.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 6, a schematic structural diagram of a network card locking device provided in an exemplary embodiment of the present application is shown, which is hereinafter referred to as the device 6. The apparatus 6 may be implemented as all or part of a terminal by software, hardware or a combination of both. The device 6 is applied to a terminal, and the device 6 comprises:
a reading module 601, configured to read an integrated circuit card identification code ICCID of the SIM card;
a sending module 602, configured to send the ICCID to a server;
a receiving module 603, configured to receive card locking status information obtained by performing full matching query on the server according to the ICCID;
the determining module 604 is configured to determine whether the SIM card is in a locked state based on the card locking state information.
Optionally, the determining module 604 includes:
a first receiving unit, configured to receive the card-locking status information sent by the server when the ICCID is fully matched with the ICCID in the server;
the first display unit is used for displaying reminding information through the display unit when the SIM card is determined to be in the locking state according to the card locking state information; or
A second receiving unit, configured to receive the card-locking status information sent by the server when the ICCID does not fully match an ICCID in the server;
and the first registration unit is used for registering to the operator network corresponding to the ICCID when the SIM card is determined to be in the unlocked state according to the card locking state information.
Optionally, the determining module 604 further includes:
a first obtaining unit, configured to obtain an unlock code corresponding to the SIM card;
a first sending unit, configured to send the unlock code to the server;
a third receiving unit, configured to receive verification result information of the server on the unlock code;
and the second registration unit is used for registering to the operator network corresponding to the ICCID when the unlocking code passes the verification according to the verification result information.
Optionally, the determining module 604 further includes:
the second display unit is used for displaying the unlocking code input box through the display unit;
and the reading unit is used for reading the unlocking code when receiving an input completion instruction aiming at the unlocking code input box.
Optionally, the determining module 604 includes:
the second acquisition unit is used for acquiring an International Mobile Equipment Identity (IMEI) corresponding to the terminal;
a second sending unit, configured to send the IMEI to the server; the server generates an unlocking code configuration file based on the IMEI and the ICCID, wherein the unlocking code configuration file comprises an unlocking code corresponding to the IMEI.
It should be noted that, when the network card locking device provided in the foregoing embodiment executes the network card locking method, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the network card locking device 6 provided in the above embodiment and the network card locking method embodiment shown in fig. 2 and fig. 3 belong to the same concept, and details of the implementation process are referred to in the method embodiment, and are not described herein again.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 7, a schematic structural diagram of a network card locking device provided in an exemplary embodiment of the present application is shown, which is hereinafter referred to as device 7. The means 7 may be implemented in software, hardware or a combination of both as all or part of a terminal. The device 7 is applied to a server, and the device 7 comprises:
a receiving module 701, configured to receive an integrated circuit card identification code ICCID sent by a terminal;
a query module 702, configured to perform full-matching query on the card locking status information of the SIM card according to the ICCID;
a sending module 703, configured to send the card locking status information to the terminal.
Optionally, the apparatus 7 further includes:
the receiving unit is used for receiving the unlocking code corresponding to the SIM card sent by the terminal;
the verification unit is used for verifying the unlocking code to obtain verification result information;
and the sending unit is used for sending the verification result information to the terminal.
Optionally, the query module 702 includes:
the query unit is used for querying whether the ICCID is the ICCID in a white list or a black list;
a first determining unit, configured to determine that card locking status information of the SIM card is in an unlocked state when it is determined that the ICCID is an ICCID in a white list or when it is determined that the ICCID is not an ICCID in a black list; or
A second determining unit, configured to determine that the card locking status information of the SIM card is a locked status when it is determined that the ICCID is not an ICCID in a white list or when it is determined that the ICCID is an ICCID in a black list.
It should be noted that, when the network card locking device provided in the foregoing embodiment executes the network card locking method, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the network card locking device 7 provided in the above embodiment and the network card locking method embodiment shown in fig. 4 and 5 belong to the same concept, and details of the implementation process are referred to in the method embodiment, and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the above method steps, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 2 to fig. 5, which are not described herein again.
The application also provides a terminal, which comprises a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
Referring to fig. 8, a schematic structural diagram of a terminal according to an embodiment of the present application is shown, where the terminal may be used to implement the network card locking method in the foregoing embodiment. Specifically, the method comprises the following steps:
the memory 803 may be used to store software programs and modules, and the processor 800 executes various functional applications and data processing by operating the software programs and modules stored in the memory 803. The memory 803 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the memory 803 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 803 may also include a memory controller to provide the processor 800 and the input unit 805 access to the memory 803.
The input unit 805 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 805 may include a touch-sensitive surface 806 (e.g., a touch screen, a touchpad, or a touch frame). The touch-sensitive surface 806, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 806 (e.g., operations by a user on or near the touch-sensitive surface 806 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch-sensitive surface 806 may include both touch detection means and touch controller portions. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 800, and can receive and execute commands sent by the processor 800. Additionally, the touch-sensitive surface 806 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves.
The display unit 813 may be used to display information input by a user or information provided to the user and various graphic user interfaces of the terminal device, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 813 may include a Display panel 814, and optionally, the Display panel 814 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 806 may overlay display panel 814 and, when touch-sensitive surface 806 detects a touch operation thereon or nearby, communicate to processor 800 to determine the type of touch event, and processor 800 then provides a corresponding visual output on display panel 814 based on the type of touch event. Although in FIG. 8, touch-sensitive surface 806 and display panel 814 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 806 may be integrated with display panel 814 to implement input and output functions.
The processor 800 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 803 and calling data stored in the memory 803, thereby monitoring the terminal device as a whole. Optionally, processor 800 may include one or more processing cores; processor 800 may, among other things, integrate an application processor that handles operating system, user interface, application programs, etc., and a modem processor that handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 800.
Specifically, in this embodiment, the display unit of the terminal device is a touch screen display, the terminal device further includes a memory and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include steps for implementing the network card locking method.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
All functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A network card locking method is characterized by comprising the following steps:
reading an integrated circuit card identification code (ICCID) of the SIM card;
sending the ICCID to a server;
receiving card locking state information obtained by the server through full matching query according to the ICCID;
and judging whether the SIM card is in a locked state or not based on the card locking state information.
2. The method of claim 1, wherein the determining whether the SIM card is in a locked state based on the card-locking state information comprises:
when the ICCID is completely matched with the ICCID in the server, receiving the card locking state information sent by the server;
when the SIM card is determined to be in a locked state according to the card locking state information, displaying reminding information through a display unit; or
Receiving the card locking status information sent by the server when the ICCID does not fully match the ICCID in the server;
and when the SIM card is determined to be in an unlocked state according to the card locking state information, registering the SIM card to an operator network corresponding to the ICCID.
3. The method of claim 2, wherein after the displaying the reminder information via the display unit, further comprising:
acquiring an unlocking code corresponding to the SIM card;
sending the unlocking code to the server;
receiving verification result information of the unlocking code by the server;
and when the unlocking code passes the verification according to the verification result information, registering the unlocking code to an operator network corresponding to the ICCID.
4. The method of claim 3, wherein the obtaining the unlocking code corresponding to the SIM card comprises:
displaying an unlock code input box through the display unit;
and reading the unlocking code when an input completion instruction aiming at the unlocking code input box is received.
5. The method of claim 3, wherein before obtaining the unlocking code corresponding to the SIM card, the method further comprises:
acquiring an international mobile equipment identification code IMEI corresponding to a terminal;
sending the IMEI to the server; the server generates an unlocking code configuration file based on the IMEI and the ICCID, wherein the unlocking code configuration file comprises an unlocking code corresponding to the IMEI.
6. A network card locking method is characterized by comprising the following steps:
receiving an integrated circuit card identification code (ICCID) sent by a terminal;
performing full-matching inquiry on the card locking state information of the SIM card according to the ICCID;
and sending the card locking state information to the terminal.
7. The method of claim 6, further comprising:
receiving an unlocking code corresponding to the SIM card sent by the terminal;
verifying the unlocking code to obtain verification result information;
and sending the verification result information to the terminal.
8. The method of claim 6, wherein the querying for the card-locking status information of the SIM card by performing full matching according to the ICCID comprises:
inquiring whether the ICCID is the ICCID in a white list or a black list;
when the ICCID is determined to be the ICCID in the white list or when the ICCID is determined not to be the ICCID in the black list, determining that the card locking state information of the SIM card is in an unlocked state; or
And when the ICCID is determined not to be the ICCID in the white list or when the ICCID is determined to be the ICCID in the black list, determining that the card locking state information of the SIM card is in a locking state.
9. A network card locking device, the device comprising:
the reading module is used for reading an integrated circuit card identification code (ICCID) of the SIM card;
a sending module, configured to send the ICCID to a server;
the receiving module is used for receiving the card locking state information obtained by the server through full matching inquiry according to the ICCID;
and the judging module is used for judging whether the SIM card is in a locking state or not based on the card locking state information.
10. A network card locking device, the device comprising:
the receiving module is used for receiving the IC card identification code ICCID sent by the terminal;
the query module is used for carrying out full-matching query on the card locking state information of the SIM card according to the ICCID;
and the sending module is used for sending the card locking state information to the terminal.
11. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 8.
12. A terminal, comprising: a processor, a memory and a display screen; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 8.
CN202010673282.7A 2020-07-14 2020-07-14 Network card locking method and device, storage medium and terminal Active CN113938873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010673282.7A CN113938873B (en) 2020-07-14 2020-07-14 Network card locking method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010673282.7A CN113938873B (en) 2020-07-14 2020-07-14 Network card locking method and device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN113938873A true CN113938873A (en) 2022-01-14
CN113938873B CN113938873B (en) 2024-04-16

Family

ID=79273871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010673282.7A Active CN113938873B (en) 2020-07-14 2020-07-14 Network card locking method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN113938873B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553999A (en) * 2022-02-21 2022-05-27 Oppo广东移动通信有限公司 Locking processing method, unlocking method, device, storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742483A (en) * 2009-12-16 2010-06-16 中兴通讯股份有限公司 Method and system for unlocking locked network of terminal
CN101796859A (en) * 2007-09-01 2010-08-04 苹果公司 Service provider activation
CN104469736A (en) * 2014-11-05 2015-03-25 中兴通讯股份有限公司 Data processing method, server and terminal
CN107623907A (en) * 2016-07-14 2018-01-23 中兴通讯股份有限公司 ESIM clamping locks network method, terminal and lock network certificate server
CN108093392A (en) * 2017-12-06 2018-05-29 Tcl移动通信科技(宁波)有限公司 A kind of method, mobile terminal and storage medium for unlocking SIM card
CN108235301A (en) * 2016-12-13 2018-06-29 中兴通讯股份有限公司 A kind of terminal networking control method and terminal
CN110366164A (en) * 2019-07-16 2019-10-22 深圳沸石科技股份有限公司 The method of remote control terminal, terminal, calculates equipment and storage medium at server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101796859A (en) * 2007-09-01 2010-08-04 苹果公司 Service provider activation
CN101742483A (en) * 2009-12-16 2010-06-16 中兴通讯股份有限公司 Method and system for unlocking locked network of terminal
CN104469736A (en) * 2014-11-05 2015-03-25 中兴通讯股份有限公司 Data processing method, server and terminal
CN107623907A (en) * 2016-07-14 2018-01-23 中兴通讯股份有限公司 ESIM clamping locks network method, terminal and lock network certificate server
CN108235301A (en) * 2016-12-13 2018-06-29 中兴通讯股份有限公司 A kind of terminal networking control method and terminal
CN108093392A (en) * 2017-12-06 2018-05-29 Tcl移动通信科技(宁波)有限公司 A kind of method, mobile terminal and storage medium for unlocking SIM card
CN110366164A (en) * 2019-07-16 2019-10-22 深圳沸石科技股份有限公司 The method of remote control terminal, terminal, calculates equipment and storage medium at server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553999A (en) * 2022-02-21 2022-05-27 Oppo广东移动通信有限公司 Locking processing method, unlocking method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN113938873B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
CN102255887B (en) Method and system for providing online services corresponding to multiple mobile devices
CN1178442C (en) Authentication system using network
CN101069370B (en) Device for setting of a service zone in a mobile communication network, method and system for providing zone-based service using the device
US9208455B2 (en) Wireless terminal device, communication system, and control method of wireless terminal device
KR20010096543A (en) System and method for provisioning or updating a mobile station using over-the-air transfer of interpreted byte-code program
CN105592168A (en) Remotely locating and commanding a mobile device
CN108293181A (en) A kind of processing method and terminal of communication identifier binding
CN107423099B (en) Key code programming method, server, terminal, key code programming system and storage medium
CN113038434B (en) Device registration method and device, mobile terminal and storage medium
CN103491217A (en) Split type mobile phone
CN113938873B (en) Network card locking method and device, storage medium and terminal
US20140236812A1 (en) Communications network, computer system, computer-implemented method, and computer program product for providing a femtocell-based infrastructure for mobile electronic payment
CN103491195A (en) Method and system for constructing virtual communication machine
CN103873526A (en) Data network-based intercommunication method and equipment
CN106060289A (en) Method, apparatus and system for communication
CN107396319B (en) A kind of method of wireless network authentication, equipment, storage medium and terminal reclaimer
CN110572782A (en) Short message reply method and equipment
CN111654898B (en) Information display method and device, storage medium and terminal
CN103916838A (en) Implementation method and system for enabling Internet surfing services to be convenient based on WIFI and WIFI charging terminal
JP2003308397A (en) Content acquiring state reporting method, management device, program and storage medium
CN114553999A (en) Locking processing method, unlocking method, device, storage medium and electronic equipment
CN107895436A (en) One kind is shared with screen device management system and its control method
CN111881162A (en) NFC access control card control method and device, storage medium and terminal
CN112738789A (en) SIM card locking method and device, storage medium and electronic equipment
CN106445594A (en) Method and device for installing system applications and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant