WO2022179076A1 - Machine-card binding method, communication module, communication device, and storage medium - Google Patents

Machine-card binding method, communication module, communication device, and storage medium Download PDF

Info

Publication number
WO2022179076A1
WO2022179076A1 PCT/CN2021/115884 CN2021115884W WO2022179076A1 WO 2022179076 A1 WO2022179076 A1 WO 2022179076A1 CN 2021115884 W CN2021115884 W CN 2021115884W WO 2022179076 A1 WO2022179076 A1 WO 2022179076A1
Authority
WO
WIPO (PCT)
Prior art keywords
sim card
pin code
iccid
stored
communication module
Prior art date
Application number
PCT/CN2021/115884
Other languages
French (fr)
Chinese (zh)
Inventor
王斌
Original Assignee
西安广和通无线软件有限公司
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 西安广和通无线软件有限公司 filed Critical 西安广和通无线软件有限公司
Publication of WO2022179076A1 publication Critical patent/WO2022179076A1/en

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
    • H04W8/183Processing at user equipment or user record carrier
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of Internet technologies, and in particular, to a machine-card binding method, a communication module, a communication device and a storage medium.
  • the present application provides a machine-card binding method, device, communication module and storage medium.
  • a first aspect provides a machine-card binding method for use in a communication module, the method comprising:
  • the target PIN code is sent to the SIM card, and the network registration process is initiated under the condition that the target PIN code is valid through the SIM card.
  • a communication module including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
  • the ICCID of the SIM card is legal, determine the target PIN code according to the ICCID of the SIM card and the Key parameter pre-stored in the communication module;
  • the target PIN code is sent to the SIM card, and a network registration process is initiated under the condition that the target PIN code is valid through the SIM card.
  • a communication device in a third aspect, includes the communication module in the above-mentioned second aspect.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the machine-card binding method in the above-mentioned first aspect.
  • FIG. 1 is an application environment diagram of a machine-card binding method in one embodiment
  • FIG. 2 is an application environment diagram of a machine-card binding method in another embodiment
  • FIG. 3 is a schematic flowchart of a machine-card binding method in one embodiment
  • FIG. 4 is a schematic flowchart of a machine-card binding method in another embodiment
  • FIG. 5 is a schematic flowchart of a machine-card binding method in another embodiment
  • FIG. 6 is a schematic flowchart of a machine-card binding method in another embodiment
  • FIG. 7 is a structural block diagram of a machine-card binding device in one embodiment
  • FIG. 8 is an internal structural diagram of a communication module in one embodiment.
  • the operator network for network communication
  • the operator will combine the International Mobile Equipment Identity (IMEI) of the communication device with the integrated circuit card identity of the SIM card (Integrate circuit card identity, ICCID for short) is correspondingly stored in the operator network.
  • IMEI International Mobile Equipment Identity
  • ICCID integrated circuit card identity
  • the binding relationship between the SIM card and the communication device is mainly stored in the operator's network through the operator, and the operator's network verifies the legality between the ICCID of the SIM card and the IMEI of the communication device during the process of registering the communication device to the network.
  • the specific process is: when the SIM card is inserted into the card slot of the communication device, the communication device reads the ICCID of the SIM card, and sends the read ICCID of the SIM card and the IMEI of the communication device to the operator network, The operator network verifies the validity between the ICCID of the SIM card and the IMEI of the communication device, and performs a network registration process when the ICCID of the SIM card and the IMEI of the communication device are in a legal binding relationship.
  • the binding of the SIM card and the communication device is performed through the operator. After the binding relationship is determined, when the developer wants to change the binding relationship, he must change the binding relationship through the operator, resulting in limited use of the SIM card. , the versatility is low, and the flexibility of binding the SIM card to the machine card of the communication device is also poor. Therefore, in the current method for binding a SIM card and a communication device through the operator network, it is not easy to modify the binding relationship after the binding relationship is determined, and the communication device can only use the SIM card bound to it, resulting in the SIM card being bound to the SIM card. The versatility of the card is low, which in turn results in poor flexibility in binding the SIM card to the machine card of the communication device.
  • the machine-card binding method provided by the present application is realized by a communication module in a communication device, and the communication module is, for example, a wireless communication module or a wireless cellular communication module.
  • the communication module integrates chips, memory, power amplifier devices, etc. on the circuit board, and provides functional circuits with standard interfaces, so that communication devices can realize communication functions with the help of the communication module.
  • the communication module can provide developers with a machine-card binding function interface, and developers can flexibly set the SIM card number segment that can be used by the communication device through the machine-card binding function interface, that is, flexibly set the SIM card number that is bound to the communication device.
  • the ICCID of the SIM card can add the SIM card that the communication device can use or the communication device that the SIM card can apply to, enhance the versatility of the SIM card, and improve the flexibility of the SIM card and the machine card binding of the communication device; at the same time , the developer can also flexibly set the Key parameter through the machine card binding function interface, the Key parameter is used to determine the PIN code of the SIM card, so that the communication device can determine the PIN code of each SIM card, and obtain the use authority of the SIM card, The versatility of the communication module is greatly improved.
  • the machine-card binding method provided in this application can be applied to the application environment shown in FIG. 1 .
  • the communication device 101 communicates with the operator's network 102 to implement network registration and normal network communication of the communication device 101 .
  • the communication device 101 may be various communication devices using the operator network 102 for network communication, and the communication device is a terminal device including a communication module capable of implementing a positioning communication function.
  • the terminal device may specifically be a mobile terminal and/or a smart device, etc.
  • the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, etc.
  • the smart device may specifically be a smart watch, a smart refrigerator, a smart speaker, and a smart washing machine.
  • the operator network 102 may be a mobile operator network, a China Unicom operator network, a telecom operator network, or the like.
  • the communication device 101 in this embodiment of the present application may include the structure shown in FIG. 2 .
  • the communication device 101 includes a communication module 201, and the communication module 201 may be any one of a 2G communication module, a 3G communication module, a 4G communication module, a 5G communication module, and an NB-IOT communication module.
  • the communication module in the embodiment of the present application can provide developers with a machine-card binding function interface, so that developers can flexibly set the SIM card number segment bound to the communication device through the machine-card binding function interface and the Key parameter to realize the machine card binding between the communication device and the SIM card.
  • a machine-card binding method is provided, and the method is applied to the communication module in FIG. 2 as an example to illustrate, including the following steps:
  • Step 301 read the ICCID of the SIM card, and determine whether the ICCID of the SIM card is legal.
  • the communication device includes a communication module, the communication module has a card slot capable of inserting a SIM card, and the SIM card is a SIM card inserted into the card slot of the communication module.
  • the communication module can judge whether a SIM card is inserted by detecting the level change of the pins in the card slot.
  • the ICCID of the SIM card is the unique identification code of the SIM card.
  • the ICCID of the SIM card uniquely bound to the communication device can be pre-stored through the memory in the communication module, so as to realize the one-to-one binding between the communication device and the SIM card.
  • the communication module when detecting that a SIM card is inserted into the card slot, can read the ICCID of the SIM card, and determine whether the ICCID is legal; optionally, It can be judged whether the ICCID of the read SIM card is the same as the predetermined ICCID of the uniquely bound SIM card pre-stored in the communication module.
  • the predetermined ICCIDs of the bound SIM cards are the same, it can be determined that the SIM card is the SIM card bound to the communication device, and it can also be determined that the ICCID of the read SIM card is legal.
  • Step 302 if the ICCID of the SIM card is legal, determine the target PIN code according to the ICCID of the SIM card and the Key parameter pre-stored in the communication module.
  • the developer can preset the Key parameter, and store the Key parameter in the communication module of the communication device, specifically, store the Key parameter in the memory of the communication module (for example, non-volatile memory).
  • stored to the communication module means storage to the memory of the communication module.
  • the Key parameter is used to calculate the PIN code of the SIM card, and a program algorithm for calculating the PIN code of the SIM card is pre-stored in the communication module.
  • the program algorithm can be calculated according to the ICCID of the SIM card and the Key parameter.
  • the PIN code of the SIM card is used to calculate the PIN code of the SIM card.
  • the communication module when the communication module determines that the ICCID of the SIM card is legal, the communication module may determine the target according to the ICCID of the SIM card and the Key parameter pre-stored in the communication module PIN code; that is, the communication module inputs the ICCID and Key parameters of the SIM card into the above program algorithm, and after the calculation of the program algorithm, the target PIN code of the SIM card is obtained.
  • Step 303 Send the target PIN code to the SIM card, and initiate a network registration process when it is determined by the SIM card that the target PIN code is valid.
  • the PIN code of the SIM card is the security password of the SIM card. After the PIN code of the SIM card is set, it is necessary to input the PIN code of the SIM card correctly so that the SIM card can be used for normal network registration and network communication.
  • the communication module may send the target PIN code to the SIM card, and the SIM card can send the target PIN code to the SIM card.
  • the communication module After verifying the validity, send feedback information to the communication module.
  • the communication module can initiate a network registration process to obtain the network service of the operator; however, in this When the feedback information is that the target PIN code is invalid, the communication module cannot initiate a network registration process to the operator's network, so that the communication module cannot obtain the operator's network service.
  • the communication module determines whether the ICCID is legal by reading the ICCID of the SIM card in the communication module.
  • Store the Key parameter of the communication module determine the target PIN code, send the target PIN code to the SIM card, and initiate a network registration process when the target PIN code is determined to be legal through the SIM card; that is to say
  • developers can realize the binding relationship between the communication device and the SIM card through the communication module, without setting the binding relationship between the communication device and the SIM card through the operator, which greatly improves the relationship between the communication device and the SIM card.
  • the communication module is used to determine the SIM card
  • the legitimacy of the ICCID of the card that is, through the communication module to determine whether the binding relationship between the communication device and the SIM card is legal, it is not necessary to send the IMEI of the communication device and the ICCID of the SIM card to the operator's network. Verify whether the machine-card binding relationship between the communication device and the SIM card is legal, and directly carry out the network registration process under the condition that the ICCID of the SIM card and the target PIN code of the SIM card are legal, which greatly improves the communication equipment for operators. The rate of network registration.
  • FIG. 4 is a schematic flowchart of a machine-card binding method in another embodiment. This embodiment relates to an optional implementation process for the communication module to determine whether the ICCID is legal. On the basis of the foregoing embodiment, as shown in FIG. 4 , the foregoing step 301 includes:
  • Step 401 detecting whether the ICCID is within the preset SIM card number segment.
  • the developer can also set a SIM card number segment bound to the communication device, the SIM card number segment contains multiple predetermined ICCIDs, and store the SIM card number segment in the communication device In the module, to achieve one-to-many binding between the communication device and the SIM card; that is, the communication device can not only bind the ICCID of one SIM card, but also bind the ICCID of multiple SIM cards, that is, the Multiple SIM cards can be bound to the communication device, and can be registered with the operator's network.
  • the communication module reads the ICCID of the SIM card, and detects whether the ICCID of the SIM card is within the preset SIM card number segment to determine whether the SIM card is legal.
  • Step 402 if the ICCID is within the preset SIM card number segment, it is determined that the ICCID is valid.
  • the communication module determines whether the ICCID is within the preset SIM card number segment by detecting whether the ICCID is within the preset SIM card number segment, and determines that the ICCID is valid; that is, in the embodiment of the present application , in the case that the SIM card number segment with the binding relationship with the communication device has been pre-stored in the communication module, it can be judged whether the binding relationship between the SIM card and the communication device is legal through the communication module. Therefore, it is no longer necessary to send the ICCID of the SIM card and the IMEI of the communication device to the operator's network, and the operator's network can determine whether the binding relationship between the SIM card and the communication device is legal, which reduces the number of gaps between the communication device and the operator's network. communication, which greatly improves the verification rate of the binding relationship between the SIM card and the communication device.
  • FIG. 5 is a schematic flowchart of a machine-card binding method in another embodiment.
  • This embodiment relates to an optional implementation process in which the communication module determines whether the target PIN code is legal before initiating a network registration process when the SIM card determines that the target PIN code is legal.
  • this aspect further includes:
  • Step 501 if a PIN code is stored in the SIM card, then the SIM card is used to detect whether the PIN code stored in the SIM card is the same as the target PIN code, and the PIN code stored in the SIM card is the same as the target PIN code. In the case of , it is determined that the target PIN code is valid.
  • the operator when the operator issues the SIM card, it will set the initial PIN code for the SIM card for the SIM card.
  • the PIN of the SIM card if the PIN of the SIM card is activated by entering the initial PIN code Lock function, the SIM card is in PIN lock state. After the initial PIN code in the SIM card is modified, a new modified PIN code will be stored in the SIM card, that is, the user can set a new PIN code to be stored in the SIM card.
  • the SIM card is inserted into the communication device, if the PIN lock function of the SIM card is activated, a new PIN code needs to be entered correctly before the SIM card can be used. If the PIN lock function of the SIM card is not activated, the SIM card is not in a PIN lock state, and when the SIM card is inserted, the SIM card can be used without entering a PIN code.
  • the communication module when the communication module determines that the ICCID of the SIM card is legal, it will read the status of the SIM card to determine whether the SIM card is in a PIN locked state;
  • the SIM card is in a PIN lock state, that is, when the SIM card stores a PIN code, the communication module attempts to release the PIN lock state; after the communication module sends the above target PIN code to the SIM card, the SIM card will detect Whether the PIN code stored in the SIM card is the same as the target PIN code, and if the PIN code stored in the SIM card is the same as the target PIN code, it is determined that the PIN lock state is successfully released, that is, the target PIN code is determined to be valid.
  • Step 502 if the SIM card does not store a PIN code, it is determined that the target PIN code is valid.
  • the communication module when the communication module determines that the SIM card is not in a PIN-locked state, that is, when the SIM card does not store a PIN code, the communication module can directly use the SIM card for network connection After registration, it can be directly determined that the target PIN code is legal.
  • the communication module detects whether the PIN code stored in the SIM card is the same as the target PIN code sent from the communication module through the SIM card.
  • the communication module can realize the verification of the legitimacy of the target PIN code, and in the case where the PIN code is stored in the SIM card , by determining that the target PIN code is valid, the SIM card can be successfully released from the PIN lock state, that is, the SIM card has the right to use the SIM card, which improves the commonality between the communication device and the SIM card.
  • the communication module may also write the target PIN code into the SIM card, so as to realize the SIM card PIN lock to prevent other communication devices from abusing the SIM card, resulting in the theft of the SIM card information.
  • the SIM card is inserted into the communication module A in the embodiment of the present application.
  • the communication module A can activate the PIN locking function of the SIM card, and store the target PIN code A1 in the SIM card, so that when the SIM card is used for the communication module B, the SIM card is in the PIN locking state state, and the target PIN code A1 will be stored in the SIM card at this time;
  • the communication module B according to the SIM The ICCID of the card and the Key parameter, the determined target PIN code B1 is the same as the target PIN code A1, and the communication module B can successfully unlock the PIN lock state of the SIM card; that is, by storing the same Key in different communication modules parameter, the many-to-many binding between the communication device and the SIM card can be realized; however, when the Key parameter in the communication module B is different from the Key parameter in the communication module A, then the communication module B according to The ICCID of the SIM card and the Key parameter stored in the communication module B, the determined target PIN code B1 is different
  • the communication module can realize the PIN locking of the SIM card by writing the target PIN code into the SIM card when the PIN code is not stored in the SIM card, preventing the SIM card Malicious registration and the theft of information on the SIM card improve the security of the SIM card.
  • step 501 optionally, in the case where the PIN code is stored in the SIM card, when the communication module detects whether the PIN code stored in the SIM card is the same as the target PIN code through the SIM card, If the PIN code stored in the SIM card is different from the target PIN code, it means that the communication module cannot release the PIN lock state, that is, when the communication module determines that the target PIN code is illegal through the SIM card, it can be
  • the ICCID of the SIM card is added to the list of invalid SIM cards pre-stored by the communication module, so as to prevent the failure of unlocking the PIN lock state for many times, resulting in permanent locking of the SIM card.
  • FIG. 6 is a schematic flowchart of a machine-card binding method in another embodiment.
  • This embodiment relates to an optional implementation process in which the communication module determines the target PIN code according to the ICCID of the SIM card and the Key parameter pre-stored in the communication module.
  • the foregoing step 302 includes:
  • Step 601 if the SIM card stores a PIN code, determine whether the ICCID of the SIM card is in a pre-stored list of invalid SIM cards.
  • Step 602 if the ICCID of the SIM card is not in the pre-stored list of invalid SIM cards, then determine the target PIN code according to the ICCID of the SIM card and the Key parameter.
  • the pre-stored list of invalid SIM cards may be a list of ICCIDs of SIM cards pre-stored in the communication module.
  • the SIM card when the ICCID of the SIM card is not in the pre-stored list of invalid SIM cards, it means that the SIM card has not been tried to release the PIN lock state by the communication module, then the SIM card can be unlocked according to the The ICCID of the SIM card and the Key parameter, determine the target PIN code, and try to release the PIN lock state; optionally, when the ICCID of the SIM card is in the pre-stored list of invalid SIM cards, the communication device can report the The SIM card is invalid.
  • the communication module determines that the PIN code is stored in the SIM card, it determines whether the ICCID of the SIM card is in the pre-stored list of invalid SIM cards, and if the ICCID of the SIM card is not in the pre-stored list of invalid SIM cards In the middle, the target PIN code is determined according to the ICCID of the SIM card and the Key parameter; that is, in this embodiment, before the target PIN code is determined, it will be judged whether the SIM card is already in the pre-stored list of invalid SIM cards , when the SIM card is not in the pre-stored list of invalid SIM cards, the target PIN code is determined according to the ICCID of the SIM card and the Key parameter, and the PIN lock state is attempted to be released to avoid the ICCID of the SIM card being in the lock state.
  • the SIM card When the pre-stored list of invalid SIM cards is in the list, the SIM card is permanently locked due to the continuous attempt to release the PIN lock state, which also reduces the useless operation of the communication module to calculate the target PIN code, and improves the communication module's performance. work efficiency.
  • the communication module may receive the predetermined ICCID input by the user as the preset SIM card number segment and the Key parameter through the preset machine-card binding function interface, and will receive the The predetermined ICCID and the Key parameter are stored in the communication module; for example, multiple predetermined ICCIDs can be input as the preset SIM card number segment.
  • the predetermined ICCID is used to compare with the read ICCID of the SIM card to determine whether the ICCID of the SIM card is legal. In this way, developers can more conveniently set and change the predetermined ICCID and the Key parameter stored in the communication module, which greatly improves the versatility and flexibility of the communication module.
  • FIGS. 3-6 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 3-6 may include multiple steps or multiple stages. These steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The execution of these steps or stages The order is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or phases within the other steps.
  • a device-card binding device including: an acquiring module 701, a determining module 702 and a sending module 703, wherein:
  • the obtaining module 701 is used for reading the ICCID of the SIM card in the communication module, and determining whether the ICCID of the SIM card is legal.
  • the determining module 702 is configured to determine the target PIN code according to the ICCID of the SIM card and the Key parameter pre-stored in the communication module when the ICCID of the SIM card is legal.
  • the sending module 703 is configured to send the target PIN code to the SIM card, and initiate a network registration process when the SIM card determines that the target PIN code is valid.
  • the above obtaining module 701 is specifically configured to detect whether the ICCID is within the preset SIM card number segment; if the ICCID is within the preset SIM card number segment, determine that the ICCID is valid.
  • the above-mentioned sending module 703 is specifically configured to detect whether the PIN code stored in the SIM card is the same as the target PIN code through the SIM card when the PIN code is stored in the SIM card, and then If the PIN code stored in the SIM card is the same as the target PIN code, it is determined that the target PIN code is valid; if there is no PIN code stored in the SIM card, it is determined that the target PIN code is valid.
  • the device further includes a writing module; the writing module is used for writing the target PIN code into the SIM card under the condition that the PIN code is not stored in the SIM card.
  • the above determination module 702 is specifically configured to determine whether the ICCID of the SIM card is in a pre-stored list of invalid SIM cards when the PIN code is stored in the SIM card; When not in the pre-stored list of invalid SIM cards, the target PIN code is determined according to the ICCID of the SIM card and the Key parameter.
  • the device further includes an adding module; the adding module is configured to add the ICCID of the SIM card to the list of invalid SIM cards when the SIM card determines that the target PIN code is invalid.
  • the device further includes a receiving module; the receiving module is configured to receive the SIM card number segment and the Key parameter input by the user through a preset machine-card binding function interface, and send the received The SIM card number segment and the Key parameter are stored in the communication module.
  • Each module in the above-mentioned machine-card binding device may be implemented in whole or in part by software, hardware and combinations thereof.
  • the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a communication module is provided, and its internal structure diagram may be as shown in FIG. 8 .
  • the communication module includes a processor, a memory, and a communication interface connected through a system bus.
  • the processor of the communication module is used to provide computing and control capabilities.
  • the memory of the communication module includes a non-volatile storage medium and an internal memory.
  • the nonvolatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
  • the communication interface of the communication module is used for wired or wireless communication with external terminals, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies.
  • FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the communication module to which the solution of the present application is applied.
  • a group may include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
  • a communication module including a memory and a processor, a computer program is stored in the memory, and the processor implements the following steps when executing the computer program:
  • the target PIN code is sent to the SIM card, and the network registration process is initiated under the condition that the target PIN code is valid through the SIM card.
  • the processor executes the computer program, the following steps are further implemented: detecting whether the ICCID is within the preset SIM card number segment; if the ICCID is within the preset SIM card number segment, determining that the ICCID is valid .
  • the processor further implements the following steps when executing the computer program: in the case that the SIM card determines that the target PIN code is valid, before initiating the network registration process, in the case that the SIM card stores the PIN code , detect whether the PIN code stored in the SIM card is the same as the target PIN code through the SIM card, and determine that the target PIN code is legal when the PIN code stored in the SIM card is the same as the target PIN code; If the SIM card does not store the PIN code, it is determined that the target PIN code is valid.
  • the processor executes the computer program, the following steps are further implemented: in the case that the SIM card does not store the PIN code, the target PIN code is written into the SIM card.
  • the processor also implements the following steps when executing the computer program: in the case of a PIN code stored in the SIM card, judging whether the ICCID of the SIM card is in a pre-stored list of invalid SIM cards; in the SIM card When the ICCID of the SIM card is not in the pre-stored list of invalid SIM cards, the target PIN code is determined according to the ICCID of the SIM card and the Key parameter.
  • the processor when the processor executes the computer program, the processor further implements the following steps: adding the ICCID of the SIM card to the list of invalid SIM cards when the SIM card determines that the target PIN code is invalid.
  • the processor also implements the following steps when executing the computer program: receiving the SIM card number segment and the Key parameter input by the user through a preset machine-card binding function interface, and converting the received SIM card number segment and the Key parameter are stored in the communication module.
  • a communication device includes the above-mentioned communication module, exemplarily, may also include a power supply, a core processor, and other functional modules that implement the communication device, etc., and the communication The device can implement the above-mentioned machine-card binding method.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
  • the target PIN code is sent to the SIM card, and the network registration process is initiated under the condition that the target PIN code is valid through the SIM card.
  • the following steps are further implemented: detecting whether the ICCID is within a preset SIM card number segment; in the case that the ICCID is within the preset SIM card number segment, determining the ICCID legitimate.
  • the following steps are further implemented: when the SIM card determines that the target PIN code is valid, before initiating the network registration process, the SIM card stores the PIN code Detecting whether the PIN code stored in the SIM card is the same as the target PIN code through the SIM card, and in the case that the PIN code stored in the SIM card is the same as the target PIN code, it is determined that the target PIN code is legal; If the SIM card does not store the PIN code, it is determined that the target PIN code is valid.
  • the following steps are further implemented: in the case where no PIN code is stored in the SIM card, writing the target PIN code into the SIM card.
  • the following steps are also implemented: in the case where the PIN code is stored in the SIM card, determine whether the ICCID of the SIM card is in a pre-stored list of invalid SIM cards; in the SIM card When the ICCID of the card is not in the pre-stored list of invalid SIM cards, the target PIN code is determined according to the ICCID of the SIM card and the Key parameter.
  • the following steps are further implemented: when the SIM card determines that the target PIN code is invalid, the ICCID of the SIM card is added to the list of invalid SIM cards.
  • the following steps are further implemented: receiving the SIM card number segment and the Key parameter input by the user through a preset machine-card binding function interface, and converting the received SIM card number
  • the segment and the Key parameter are stored in the communication module.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical memory, and the like.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • the RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

Landscapes

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

Abstract

The present application relates to a machine-card binding method, a communication module, a communication device, and a storage medium. Said method comprises: reading the ICCID of a SIM card, and determining whether the ICCID is valid; if the ICCID of the SIM card is valid, determining a target PIN code according to the ICCID of the SIM card and a Key parameter pre-stored in a communication module; and sending the target PIN code to the SIM card, and initiating a network registration process where it is determined by means of the SIM card that the target PIN code is valid.

Description

机卡绑定方法、通信模组、通信设备和存储介质Machine-card binding method, communication module, communication device and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求2021年02月26日递交的、标题为“机卡绑定方法、装置、通信模组和存储介质”、申请号为2021102159313的中国申请的优先权,其公开内容通过引用全部结合在本申请中。This application claims the priority of the Chinese application filed on February 26, 2021, entitled "Machine-card binding method, device, communication module and storage medium" and application number 2021102159313, the disclosure of which is fully incorporated by reference in in this application.
技术领域technical field
本申请涉及互联网技术领域,特别是涉及一种机卡绑定方法、通信模组、通信设备和存储介质。The present application relates to the field of Internet technologies, and in particular, to a machine-card binding method, a communication module, a communication device and a storage medium.
背景技术Background technique
随着互联网技术的发展,通信设备越来越多,其中,采用运营商网络实现网络通信的通信设备,大多存在SIM卡与通信设备的绑定需求,例如:一些通信设备会和固定的运营商(如:移动运营商)进行合作,以使得该通信设备只能采用该固定的运营商下发的SIM卡进行网络注册和通信。为了实现这一目的,就需要将该固定运营商的SIM卡与该通信设备进行绑定。With the development of Internet technology, there are more and more communication devices. Among them, most of the communication devices that use the operator's network to realize network communication have the binding requirement of the SIM card and the communication device. For example, some communication devices will communicate with fixed operators. (eg, a mobile operator) to cooperate, so that the communication device can only use the SIM card issued by the fixed operator for network registration and communication. In order to achieve this purpose, it is necessary to bind the SIM card of the fixed operator with the communication device.
发明内容SUMMARY OF THE INVENTION
本申请提供一种机卡绑定方法、装置、通信模组和存储介质。The present application provides a machine-card binding method, device, communication module and storage medium.
第一方面,提供了一种机卡绑定方法,用于通信模组中,该方法包括:A first aspect provides a machine-card binding method for use in a communication module, the method comprising:
读取SIM卡的ICCID,并确定该ICCID是否合法;Read the ICCID of the SIM card and determine whether the ICCID is legal;
在该SIM卡的ICCID合法的情况下,根据该SIM卡的ICCID和预先存储到该通信模组的Key参数,确定目标PIN码;When the ICCID of the SIM card is legal, determine the target PIN code according to the ICCID of the SIM card and the Key parameter stored in the communication module in advance;
将该目标PIN码发送至该SIM卡,并在通过该SIM卡确定该目标PIN码合法的情况下,发起网络注册流程。The target PIN code is sent to the SIM card, and the network registration process is initiated under the condition that the target PIN code is valid through the SIM card.
第二方面,提供了一种通信模组,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行该计算机程序时实现如下步骤:In a second aspect, a communication module is provided, including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
读取SIM卡的ICCID,并确定所述ICCID是否合法;Read the ICCID of the SIM card, and determine whether the ICCID is legal;
若所述SIM卡的ICCID合法,则根据所述SIM卡的ICCID和预先存储到所述通信模组的Key参数,确定目标PIN码;If the ICCID of the SIM card is legal, determine the target PIN code according to the ICCID of the SIM card and the Key parameter pre-stored in the communication module;
将所述目标PIN码发送至所述SIM卡,并在通过所述SIM卡确定所述目标PIN码合法的情况下,发起网络注册流程。The target PIN code is sent to the SIM card, and a network registration process is initiated under the condition that the target PIN code is valid through the SIM card.
第三方面,提供了一种通信设备,该通信设备包括上述第二方面中的通信模组。In a third aspect, a communication device is provided, and the communication device includes the communication module in the above-mentioned second aspect.
第四方面,提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述第一方面中的机卡绑定方法的步骤。In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the machine-card binding method in the above-mentioned first aspect.
本发明的一个或多个实施例的细节在下面的附图和描述中提出。本发明的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the invention are set forth in the accompanying drawings and the description below. Other features, objects and advantages of the present invention will become apparent from the description, drawings and claims.
附图说明Description of drawings
图1为一个实施例中机卡绑定方法的应用环境图;1 is an application environment diagram of a machine-card binding method in one embodiment;
图2为另一个实施例中机卡绑定方法的应用环境图;2 is an application environment diagram of a machine-card binding method in another embodiment;
图3为一个实施例中机卡绑定方法的流程示意图;3 is a schematic flowchart of a machine-card binding method in one embodiment;
图4为另一个实施例中机卡绑定方法的流程示意图;4 is a schematic flowchart of a machine-card binding method in another embodiment;
图5为另一个实施例中机卡绑定方法的流程示意图;5 is a schematic flowchart of a machine-card binding method in another embodiment;
图6为另一个实施例中机卡绑定方法的流程示意图;6 is a schematic flowchart of a machine-card binding method in another embodiment;
图7为一个实施例中机卡绑定装置的结构框图;7 is a structural block diagram of a machine-card binding device in one embodiment;
图8为一个实施例中通信模组的内部结构图。FIG. 8 is an internal structural diagram of a communication module in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
现如今,一些通信设备在使用运营商网络进行网络通信时,一般都存在SIM卡与通信设备的绑定需求。在通过运营商实现通信设备与SIM卡的绑定时,运营商会将通信设备的国际移动设备识别码(International Mobile Equipment Identity,简称IMEI)与SIM卡的集成电路卡识别码(Integrate circuit card identity,简称ICCID)对应存储在运营商网络中。通信设备在插入SIM卡时,会将读取到的该SIM卡的ICCID和该通信设备的IMEI发送至运营商网络,以使得该运营商网络能够校验该SIM卡与该通信设备的机卡绑定关系是否合法,并在合法的情况下,进行网络注册。Nowadays, when some communication devices use the operator network for network communication, there is generally a binding requirement between the SIM card and the communication device. When binding the communication device and the SIM card through the operator, the operator will combine the International Mobile Equipment Identity (IMEI) of the communication device with the integrated circuit card identity of the SIM card (Integrate circuit card identity, ICCID for short) is correspondingly stored in the operator network. When the communication device inserts the SIM card, it will send the read ICCID of the SIM card and the IMEI of the communication device to the operator network, so that the operator network can verify the SIM card and the machine card of the communication device. Whether the binding relationship is legal, and if legal, perform network registration.
目前,主要通过运营商将SIM卡与通信设备的绑定关系存储在运营商网络中,由运营商网络在通信设备注册网络的过程中校验SIM卡的ICCID与通信设备的IMEI之间的合法性;具体过程为:当SIM卡插入通信设备的卡槽时,通信设备读取该SIM卡的ICCID,并将读取到的SIM卡的ICCID和该通信设备的IMEI一起发送至运营商网络,运营商网络校验SIM卡的ICCID与通信设备的IMEI之间的合法性,并在SIM卡的ICCID与通信设备的IMEI为合法绑定关系的情况下,进行网络注册流程。At present, the binding relationship between the SIM card and the communication device is mainly stored in the operator's network through the operator, and the operator's network verifies the legality between the ICCID of the SIM card and the IMEI of the communication device during the process of registering the communication device to the network. The specific process is: when the SIM card is inserted into the card slot of the communication device, the communication device reads the ICCID of the SIM card, and sends the read ICCID of the SIM card and the IMEI of the communication device to the operator network, The operator network verifies the validity between the ICCID of the SIM card and the IMEI of the communication device, and performs a network registration process when the ICCID of the SIM card and the IMEI of the communication device are in a legal binding relationship.
但是,通过运营商进行SIM卡与通信设备的绑定,在该绑定关系确定之后,开发人员在想要更改该绑定关系时,必须通过运营商进行更改,导致该SIM卡的使用受限,通用性较低,造成SIM卡与通信设备的机卡绑定的灵活性也较差。因此,目前的通过运营商网络实现SIM卡与通信设备的机卡绑定方法,在该绑定关系确定之后,不容易进行修改,且该通信设备只能使用与其绑定的SIM卡,导致SIM卡的通用性较低,进而造成SIM卡与通信设备的机卡绑定的灵活性较差。However, the binding of the SIM card and the communication device is performed through the operator. After the binding relationship is determined, when the developer wants to change the binding relationship, he must change the binding relationship through the operator, resulting in limited use of the SIM card. , the versatility is low, and the flexibility of binding the SIM card to the machine card of the communication device is also poor. Therefore, in the current method for binding a SIM card and a communication device through the operator network, it is not easy to modify the binding relationship after the binding relationship is determined, and the communication device can only use the SIM card bound to it, resulting in the SIM card being bound to the SIM card. The versatility of the card is low, which in turn results in poor flexibility in binding the SIM card to the machine card of the communication device.
本申请提供的机卡绑定方法,通过通信设备中的通信模组来实现,通信模组例如是无线通信模组或无线蜂窝通信模组。通信模组例如是在电路板上集成芯片、存储器、功放器件等,并提供标准的接口的功能电路,能使通信设备都可以借助通信模组实现通信功能。该通信模组可以为开发人员提供一个机卡绑定功能接口,开发人员可以通过该机卡绑定功能接口灵活设置该通信设备可使用的SIM卡号段,即灵活设置与该通信设备绑定的SIM卡的ICCID,能够添加该通信设备可使用的SIM卡或增加该SIM卡可应用的通信设备,增强SIM卡的通用性,以及提高SIM卡与通信设备的机卡绑定的灵活性;同时,开发人员还可以通过该机卡绑定功能接口灵活设置Key参数,该Key参数用于确定SIM卡的PIN码,使得该通信设备能够确定各个SIM卡的PIN码,获得SIM卡的使用权限,大大提高了该通信模组的通用性。The machine-card binding method provided by the present application is realized by a communication module in a communication device, and the communication module is, for example, a wireless communication module or a wireless cellular communication module. For example, the communication module integrates chips, memory, power amplifier devices, etc. on the circuit board, and provides functional circuits with standard interfaces, so that communication devices can realize communication functions with the help of the communication module. The communication module can provide developers with a machine-card binding function interface, and developers can flexibly set the SIM card number segment that can be used by the communication device through the machine-card binding function interface, that is, flexibly set the SIM card number that is bound to the communication device. The ICCID of the SIM card can add the SIM card that the communication device can use or the communication device that the SIM card can apply to, enhance the versatility of the SIM card, and improve the flexibility of the SIM card and the machine card binding of the communication device; at the same time , the developer can also flexibly set the Key parameter through the machine card binding function interface, the Key parameter is used to determine the PIN code of the SIM card, so that the communication device can determine the PIN code of each SIM card, and obtain the use authority of the SIM card, The versatility of the communication module is greatly improved.
本申请提供的机卡绑定方法,可以应用于如图1所示的应用环境中。其中,通信设备101与运营商网络102进行通信,实现通信设备101的网络注册和正常的网络通信。其中,该通信设备101可以是各种使用运营商网络102进行网络通信的通信设备,且该通信设备为包含了能够实现定位通信功能的通信模组的终端设备。该终端设备具体可以为移动终端和/或智能设备等,移动终端具体可以为手机、平板电脑和笔记本电脑等中的至少一种,智能设备具体可以为智能手表、智能冰箱、智能音箱、智能洗衣机和智能电视机等中的至少一种;运营商网络102可以是移动运营商网络、联通运营商网络或者电信运营商网络等。The machine-card binding method provided in this application can be applied to the application environment shown in FIG. 1 . The communication device 101 communicates with the operator's network 102 to implement network registration and normal network communication of the communication device 101 . Wherein, the communication device 101 may be various communication devices using the operator network 102 for network communication, and the communication device is a terminal device including a communication module capable of implementing a positioning communication function. The terminal device may specifically be a mobile terminal and/or a smart device, etc. The mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, etc., and the smart device may specifically be a smart watch, a smart refrigerator, a smart speaker, and a smart washing machine. At least one of a smart TV and a smart TV; the operator network 102 may be a mobile operator network, a China Unicom operator network, a telecom operator network, or the like.
其中,本申请实施例中的通信设备101可以包括如图2所示的结构。该通信设备101包括 通信模组201,该通信模组201具体可以为2G通信模组、3G通信模组、4G通信模组、5G通信模组和NB-IOT通信模组等中的任意一种;该通信模组201中具有能够插入SIM卡的卡槽202,该通信模组201用于检测该卡槽202中是否有SIM卡插入,并在检测到有SIM卡插入时,校验该SIM卡的合法性,并在该SIM卡合法的情况下,进行网络注册。The communication device 101 in this embodiment of the present application may include the structure shown in FIG. 2 . The communication device 101 includes a communication module 201, and the communication module 201 may be any one of a 2G communication module, a 3G communication module, a 4G communication module, a 5G communication module, and an NB-IOT communication module. There is a card slot 202 capable of inserting a SIM card in this communication module 201, and this communication module 201 is used to detect whether a SIM card is inserted in this card slot 202, and when detecting that a SIM card is inserted, verify this SIM The validity of the card, and if the SIM card is legal, perform network registration.
另外,本申请实施例中的通信模组能够为开发人员提供一个机卡绑定功能接口,使得开发人员可以通过该机卡绑定功能接口,灵活地设置与该通信设备绑定的SIM卡号段和Key参数,实现通信设备与SIM卡的机卡绑定。In addition, the communication module in the embodiment of the present application can provide developers with a machine-card binding function interface, so that developers can flexibly set the SIM card number segment bound to the communication device through the machine-card binding function interface and the Key parameter to realize the machine card binding between the communication device and the SIM card.
在一个实施例中,如图3所示,提供了一种机卡绑定方法,以该方法应用于图2中的通信模组为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 3, a machine-card binding method is provided, and the method is applied to the communication module in FIG. 2 as an example to illustrate, including the following steps:
步骤301,读取SIM卡的ICCID,并确定该SIM卡的ICCID是否合法。 Step 301, read the ICCID of the SIM card, and determine whether the ICCID of the SIM card is legal.
在一实施例中,通信设备包括通信模组,该通信模组具有能够插入SIM卡的卡槽,SIM卡是插入到通信模组的卡槽中的SIM卡。通信模组可以通过检测该卡槽内的引脚的电平变化,来判断是否有SIM卡插入。SIM卡的ICCID是该SIM卡的唯一识别码。在该通信模组中,可以通过通信模组中的存储器预先存储与该通信设备唯一绑定的SIM卡的ICCID,实现通信设备与SIM卡之间的一对一绑定。In one embodiment, the communication device includes a communication module, the communication module has a card slot capable of inserting a SIM card, and the SIM card is a SIM card inserted into the card slot of the communication module. The communication module can judge whether a SIM card is inserted by detecting the level change of the pins in the card slot. The ICCID of the SIM card is the unique identification code of the SIM card. In the communication module, the ICCID of the SIM card uniquely bound to the communication device can be pre-stored through the memory in the communication module, so as to realize the one-to-one binding between the communication device and the SIM card.
在本实施例的一种可选的实现过程中,通信模组在检测到该卡槽内有SIM卡插入时,可以读取该SIM卡的ICCID,并确定该ICCID是否合法;可选地,可以通过判断读取的SIM卡的ICCID,与该通信模组中预先存储的唯一绑定的SIM卡的预定ICCID是否相同,在判断读取的SIM卡的ICCID与通信模组中预先存储的唯一绑定的SIM卡的预定ICCID相同的情况下,可以确定该SIM卡即为与该通信设备绑定的SIM卡,也就可以确定读取的SIM卡的ICCID合法。In an optional implementation process of this embodiment, when detecting that a SIM card is inserted into the card slot, the communication module can read the ICCID of the SIM card, and determine whether the ICCID is legal; optionally, It can be judged whether the ICCID of the read SIM card is the same as the predetermined ICCID of the uniquely bound SIM card pre-stored in the communication module. When the predetermined ICCIDs of the bound SIM cards are the same, it can be determined that the SIM card is the SIM card bound to the communication device, and it can also be determined that the ICCID of the read SIM card is legal.
步骤302,若该SIM卡的ICCID合法,则根据该SIM卡的ICCID和预先存储到该通信模组的Key参数,确定目标PIN码。 Step 302, if the ICCID of the SIM card is legal, determine the target PIN code according to the ICCID of the SIM card and the Key parameter pre-stored in the communication module.
其中,在该通信设备的开发阶段,开发人员可以预先设置Key参数,并将该Key参数存储到该通信设备的通信模组中,具体地,将该Key参数存储到通信模组的存储器(例如非易失性存储器)中。在本文中,“存储到通信模组”意味着存储到通信模组的存储器。该Key参数用于计算SIM卡的PIN码,并在该通信模组中预先存储用于计算SIM卡的PIN码的程序算法,该程序算法可以根据该SIM卡的ICCID和该Key参数,计算得到该SIM卡的PIN码。Wherein, in the development stage of the communication device, the developer can preset the Key parameter, and store the Key parameter in the communication module of the communication device, specifically, store the Key parameter in the memory of the communication module (for example, non-volatile memory). In this context, "stored to the communication module" means storage to the memory of the communication module. The Key parameter is used to calculate the PIN code of the SIM card, and a program algorithm for calculating the PIN code of the SIM card is pre-stored in the communication module. The program algorithm can be calculated according to the ICCID of the SIM card and the Key parameter. The PIN code of the SIM card.
在本实施例的一种可选的实现过程中,通信模组在确定该SIM卡的ICCID合法的情况下, 可以根据该SIM卡的ICCID和预先存储到该通信模组的Key参数,确定目标PIN码;也就是,通信模组将该SIM卡的ICCID和Key参数,输入到上述程序算法中,经该程序算法的计算后,得到该SIM卡的目标PIN码。In an optional implementation process of this embodiment, when the communication module determines that the ICCID of the SIM card is legal, the communication module may determine the target according to the ICCID of the SIM card and the Key parameter pre-stored in the communication module PIN code; that is, the communication module inputs the ICCID and Key parameters of the SIM card into the above program algorithm, and after the calculation of the program algorithm, the target PIN code of the SIM card is obtained.
步骤303,将该目标PIN码发送至该SIM卡,并在通过该SIM卡确定该目标PIN码合法的情况下,发起网络注册流程。Step 303: Send the target PIN code to the SIM card, and initiate a network registration process when it is determined by the SIM card that the target PIN code is valid.
其中,SIM卡的PIN码是SIM卡的安全密码。在设置了SIM卡的PIN码之后,需要正确输入该SIM卡的PIN码,才能使用该SIM卡进行正常的网络注册和网络通信。The PIN code of the SIM card is the security password of the SIM card. After the PIN code of the SIM card is set, it is necessary to input the PIN code of the SIM card correctly so that the SIM card can be used for normal network registration and network communication.
在本实施例的一种可选的实现过程中,通信模组在得到该SIM卡的目标PIN码之后,可以将该目标PIN码发送至该SIM卡,该SIM卡在对该目标PIN码的合法性进行校验之后,向通信模组发送反馈信息,在该反馈信息为该目标PIN码合法的情况下,通信模组可以发起网络注册流程,以获取运营商的网络服务;然而,在该反馈信息为该目标PIN码非法的情况下,通信模组则不能向运营商网络发起网络注册流程,进而使得该通信模组不能获取运营商的网络服务。In an optional implementation process of this embodiment, after obtaining the target PIN code of the SIM card, the communication module may send the target PIN code to the SIM card, and the SIM card can send the target PIN code to the SIM card. After verifying the validity, send feedback information to the communication module. In the case that the feedback information is valid for the target PIN code, the communication module can initiate a network registration process to obtain the network service of the operator; however, in this When the feedback information is that the target PIN code is invalid, the communication module cannot initiate a network registration process to the operator's network, so that the communication module cannot obtain the operator's network service.
上述机卡绑定方法中,通信模组通过读取通信模组中的SIM卡的ICCID,并确定该ICCID是否合法,在该SIM卡的ICCID合法的情况下,根据该SIM卡的ICCID和预先存储到该通信模组的Key参数,确定目标PIN码,将该目标PIN码发送至该SIM卡,并在通过该SIM卡确定该目标PIN码合法的情况下,发起网络注册流程;也就是说,本申请实施例中开发人员可以通过通信模组实现通信设备与SIM卡的绑定关系,而无需通过运营商来设置通信设备与SIM卡之间的绑定关系,极大地提高了通信设备与SIM卡绑定的灵活性,使得开发人员可以灵活地更改通信设备与SIM卡之间的绑定关系,进而提高了SIM卡的通用性;另外,本申请实施例中通过通信模组来判断SIM卡的ICCID的合法性,即通过通信模组判断通信设备与SIM卡之间的绑定关系是否合法,无需再将通信设备的IMEI和SIM卡的ICCID发送至运营商网络,由运营商网络来校验通信设备与SIM卡的机卡绑定关系是否合法,并在确定SIM卡的ICCID合法以及SIM卡的目标PIN码合法的情况下,直接进行网络注册流程,大大提高了通信设备进行运营商网络注册的速率。In the above machine-card binding method, the communication module determines whether the ICCID is legal by reading the ICCID of the SIM card in the communication module. Store the Key parameter of the communication module, determine the target PIN code, send the target PIN code to the SIM card, and initiate a network registration process when the target PIN code is determined to be legal through the SIM card; that is to say In the embodiment of the present application, developers can realize the binding relationship between the communication device and the SIM card through the communication module, without setting the binding relationship between the communication device and the SIM card through the operator, which greatly improves the relationship between the communication device and the SIM card. The flexibility of SIM card binding enables developers to flexibly change the binding relationship between the communication device and the SIM card, thereby improving the versatility of the SIM card; in addition, in the embodiment of the present application, the communication module is used to determine the SIM card The legitimacy of the ICCID of the card, that is, through the communication module to determine whether the binding relationship between the communication device and the SIM card is legal, it is not necessary to send the IMEI of the communication device and the ICCID of the SIM card to the operator's network. Verify whether the machine-card binding relationship between the communication device and the SIM card is legal, and directly carry out the network registration process under the condition that the ICCID of the SIM card and the target PIN code of the SIM card are legal, which greatly improves the communication equipment for operators. The rate of network registration.
图4为另一个实施例中机卡绑定方法的流程示意图。本实施例涉及的是通信模组确定该ICCID是否合法的一种可选的实现过程。在上述实施例的基础上,如图4所示,上述步骤301包括:FIG. 4 is a schematic flowchart of a machine-card binding method in another embodiment. This embodiment relates to an optional implementation process for the communication module to determine whether the ICCID is legal. On the basis of the foregoing embodiment, as shown in FIG. 4 , the foregoing step 301 includes:
步骤401,检测该ICCID是否处于预设的SIM卡号段内。 Step 401, detecting whether the ICCID is within the preset SIM card number segment.
在本实施例的一种可选的实现过程中,开发人员还可以设置与该通信设备绑定的SIM卡号段,该SIM卡号段中包含多个预定ICCID,并将该SIM卡号段存储在通信模组中,以实现通信设备与SIM卡之间的一对多绑定;也就是说,该通信设备不只可以绑定一个SIM卡的ICCID,还可以绑定多个SIM卡的ICCID,即该多个SIM卡均能与该通信设备绑定,且均能实现运营商网络的注册。通信模组在检测到有SIM卡插入时,读取该SIM卡的ICCID,并检测该SIM卡的ICCID是否处于预设的SIM卡号段内,来确定该SIM卡是否合法。In an optional implementation process of this embodiment, the developer can also set a SIM card number segment bound to the communication device, the SIM card number segment contains multiple predetermined ICCIDs, and store the SIM card number segment in the communication device In the module, to achieve one-to-many binding between the communication device and the SIM card; that is, the communication device can not only bind the ICCID of one SIM card, but also bind the ICCID of multiple SIM cards, that is, the Multiple SIM cards can be bound to the communication device, and can be registered with the operator's network. When detecting that a SIM card is inserted, the communication module reads the ICCID of the SIM card, and detects whether the ICCID of the SIM card is within the preset SIM card number segment to determine whether the SIM card is legal.
步骤402,若该ICCID处于该预设的SIM卡号段内,则确定该ICCID合法。 Step 402, if the ICCID is within the preset SIM card number segment, it is determined that the ICCID is valid.
本实施例中,通信模组通过检测该ICCID是否处于预设的SIM卡号段内,在该ICCID处于该预设的SIM卡号段内时,确定该ICCID合法;也就是说,本申请实施例中,在该通信模组中已经预先存储了与该通信设备具有绑定关系的SIM卡号段的情况下,通过通信模组就可以判断该SIM卡与该通信设备的绑定关系是否合法。因此,无需再将SIM卡ICCID与通信设备的IMEI发送至运营商网络,由该运营商网络来判断该SIM卡与该通信设备的绑定关系是否合法,减少了通信设备与运营商网络之间的通信,极大地提高了对SIM卡与通信设备之间的绑定关系的校验速率。In this embodiment, the communication module determines whether the ICCID is within the preset SIM card number segment by detecting whether the ICCID is within the preset SIM card number segment, and determines that the ICCID is valid; that is, in the embodiment of the present application , in the case that the SIM card number segment with the binding relationship with the communication device has been pre-stored in the communication module, it can be judged whether the binding relationship between the SIM card and the communication device is legal through the communication module. Therefore, it is no longer necessary to send the ICCID of the SIM card and the IMEI of the communication device to the operator's network, and the operator's network can determine whether the binding relationship between the SIM card and the communication device is legal, which reduces the number of gaps between the communication device and the operator's network. communication, which greatly improves the verification rate of the binding relationship between the SIM card and the communication device.
图5为另一个实施例中机卡绑定方法的流程示意图。本实施例涉及的是通信模组在通过该SIM卡确定该目标PIN码合法的情况下,发起网络注册流程之前,确定该目标PIN码是否合法的一种可选的实现过程。在上述实施例的基础上,如图5所示,该方面还包括:FIG. 5 is a schematic flowchart of a machine-card binding method in another embodiment. This embodiment relates to an optional implementation process in which the communication module determines whether the target PIN code is legal before initiating a network registration process when the SIM card determines that the target PIN code is legal. On the basis of the above embodiment, as shown in FIG. 5 , this aspect further includes:
步骤501,若该SIM卡中存储有PIN码,则通过该SIM卡检测该SIM卡中存储的PIN码与该目标PIN码是否相同,在该SIM卡中存储的PIN码与该目标PIN码相同的情况下,确定该目标PIN码合法。 Step 501, if a PIN code is stored in the SIM card, then the SIM card is used to detect whether the PIN code stored in the SIM card is the same as the target PIN code, and the PIN code stored in the SIM card is the same as the target PIN code. In the case of , it is determined that the target PIN code is valid.
其中,运营商在发行SIM卡时,会对该SIM卡设置用于该SIM卡的初始PIN码,该SIM卡在被使用的过程中,如果通过输入该初始PIN码激活了该SIM卡的PIN锁定功能,则该SIM卡处于PIN锁定状态。该SIM卡中的初始PIN码被修改后,该SIM卡中会存储修改后的新的PIN码,即用户可以设置新的PIN码存储在SIM卡中。在SIM卡插入通信设备时,如果该SIM卡的PIN锁定功能被激活,需要正确输入新的PIN码才能使用该SIM卡。如果该SIM卡的PIN锁定功能没有被激活,则该SIM卡不处于PIN锁定状态,在插入该SIM卡时,不需要输入PIN码即可使用该SIM卡。Wherein, when the operator issues the SIM card, it will set the initial PIN code for the SIM card for the SIM card. During the process of using the SIM card, if the PIN of the SIM card is activated by entering the initial PIN code Lock function, the SIM card is in PIN lock state. After the initial PIN code in the SIM card is modified, a new modified PIN code will be stored in the SIM card, that is, the user can set a new PIN code to be stored in the SIM card. When the SIM card is inserted into the communication device, if the PIN lock function of the SIM card is activated, a new PIN code needs to be entered correctly before the SIM card can be used. If the PIN lock function of the SIM card is not activated, the SIM card is not in a PIN lock state, and when the SIM card is inserted, the SIM card can be used without entering a PIN code.
在本实施例的一种可选的实现过程中,在通信模组确定该SIM卡的ICCID合法的情况下,会读取该SIM卡的状态,确定该SIM卡是否处于PIN锁定状态;在该SIM卡处于PIN锁定状 态,也就是,该SIM卡中存储有PIN码时,通信模组尝试解除PIN锁定状态;在通信模组将上述目标PIN码发送至该SIM卡后,该SIM卡会检测该SIM卡中存储的PIN码与该目标PIN码是否相同,在该SIM卡中存储的PIN码与该目标PIN码相同的情况下,确定成功解除PIN锁定状态,即确定该目标PIN码合法。In an optional implementation process of this embodiment, when the communication module determines that the ICCID of the SIM card is legal, it will read the status of the SIM card to determine whether the SIM card is in a PIN locked state; The SIM card is in a PIN lock state, that is, when the SIM card stores a PIN code, the communication module attempts to release the PIN lock state; after the communication module sends the above target PIN code to the SIM card, the SIM card will detect Whether the PIN code stored in the SIM card is the same as the target PIN code, and if the PIN code stored in the SIM card is the same as the target PIN code, it is determined that the PIN lock state is successfully released, that is, the target PIN code is determined to be valid.
步骤502,若该SIM卡中未存储有PIN码,则确定该目标PIN码合法。 Step 502, if the SIM card does not store a PIN code, it is determined that the target PIN code is valid.
在本实施例的一种可选的实现过程中,通信模组在确定该SIM卡不处于PIN锁定状态,也就是,该SIM卡中未存储有PIN码时,可以直接使用该SIM卡进行网络注册,即可以直接确定该目标PIN码合法。In an optional implementation process of this embodiment, when the communication module determines that the SIM card is not in a PIN-locked state, that is, when the SIM card does not store a PIN code, the communication module can directly use the SIM card for network connection After registration, it can be directly determined that the target PIN code is legal.
本实施例中,通信模组在该SIM卡中存储有PIN码的情况下,通过该SIM卡检测该SIM卡中存储的PIN码与从通信模组发送的目标PIN码是否相同。在该SIM卡中存储的PIN码与该目标PIN码相同的情况下,确定该目标PIN码合法;以及在该SIM卡中未存储有PIN码的情况下,确定该目标PIN码合法;也就是说,本实施例中,不管在该SIM卡中是否存储有PIN码,通信模组均能实现对该目标PIN码的合法性的校验,且在该SIM卡中存储有PIN码的情况下,通过确定该目标PIN码合法,能够实现对该SIM卡的成功解除PIN锁定状态,即拥有对该SIM卡的使用权限,提高了该通信设备和该SIM卡之间的通用性。In this embodiment, when the PIN code is stored in the SIM card, the communication module detects whether the PIN code stored in the SIM card is the same as the target PIN code sent from the communication module through the SIM card. When the PIN code stored in the SIM card is the same as the target PIN code, it is determined that the target PIN code is legal; and when the SIM card does not store the PIN code, it is determined that the target PIN code is legal; that is Said, in this embodiment, no matter whether the PIN code is stored in the SIM card, the communication module can realize the verification of the legitimacy of the target PIN code, and in the case where the PIN code is stored in the SIM card , by determining that the target PIN code is valid, the SIM card can be successfully released from the PIN lock state, that is, the SIM card has the right to use the SIM card, which improves the commonality between the communication device and the SIM card.
在本申请的一个可选的实施例中,在该SIM卡中未存储有PIN码的情况下,通信模组还可以将该目标PIN码写入至该SIM卡中,以实现对该SIM卡的PIN锁定,防止其他的通信设备滥用该SIM卡,导致该SIM卡的信息被盗用的情况。例如:在SIM卡的PIN锁定功能没有被激活,即该SIM卡不处于PIN锁定状态,该SIM卡中未存储有PIN码时,在将该SIM卡插入本申请实施例中的通信模组A后,该通信模组A可以激活该SIM卡的PIN锁定功能,并将目标PIN码A1存储在该SIM卡中,使得该SIM卡在被用于通信模组B时,该SIM卡处于PIN锁定状态,且此时的SIM卡中会存储有目标PIN码A1;假设,在该通信模组B中的Key参数与该通信模组A中的Key参数相同时,那么通信模组B根据该SIM卡的ICCID与该Key参数,确定的目标PIN码B1则与目标PIN码A1相同,通信模组B可以对该SIM卡成功解除PIN锁定状态;即通过在不同的通信模组中存储相同的Key参数,可以实现通信设备与SIM卡之间的多对多绑定;但是,在该通信模组B中的Key参数与该通信模组A中的Key参数不相同时,那么通信模组B根据该SIM卡的ICCID与存储在通信模组B中Key参数,确定的目标PIN码B1则与目标PIN码A1不相同,通信模组B不能对该SIM卡解除PIN锁定状态,则通信模组B就不能使用该SIM进行网络注册,避免该SIM卡的信息被盗用。In an optional embodiment of the present application, in the case where the SIM card does not store a PIN code, the communication module may also write the target PIN code into the SIM card, so as to realize the SIM card PIN lock to prevent other communication devices from abusing the SIM card, resulting in the theft of the SIM card information. For example: when the PIN lock function of the SIM card is not activated, that is, the SIM card is not in the PIN lock state, and the SIM card does not store a PIN code, the SIM card is inserted into the communication module A in the embodiment of the present application. Then, the communication module A can activate the PIN locking function of the SIM card, and store the target PIN code A1 in the SIM card, so that when the SIM card is used for the communication module B, the SIM card is in the PIN locking state state, and the target PIN code A1 will be stored in the SIM card at this time; Suppose, when the Key parameter in the communication module B is the same as the Key parameter in the communication module A, then the communication module B according to the SIM The ICCID of the card and the Key parameter, the determined target PIN code B1 is the same as the target PIN code A1, and the communication module B can successfully unlock the PIN lock state of the SIM card; that is, by storing the same Key in different communication modules parameter, the many-to-many binding between the communication device and the SIM card can be realized; however, when the Key parameter in the communication module B is different from the Key parameter in the communication module A, then the communication module B according to The ICCID of the SIM card and the Key parameter stored in the communication module B, the determined target PIN code B1 is different from the target PIN code A1, and the communication module B cannot release the PIN lock state of the SIM card, then the communication module B Therefore, the SIM card cannot be used for network registration, and the information of the SIM card can be prevented from being stolen.
本实施例中,通信模组通过在该SIM卡中未存储有PIN码的情况下,将该目标PIN码写入至该SIM卡中,能够实现对该SIM卡的PIN锁定,防止该SIM卡被恶意注册,以及该SIM卡的信息被盗用的情况,提高了SIM卡的安全性。In this embodiment, the communication module can realize the PIN locking of the SIM card by writing the target PIN code into the SIM card when the PIN code is not stored in the SIM card, preventing the SIM card Malicious registration and the theft of information on the SIM card improve the security of the SIM card.
根据上述步骤501的论述,可选地,在该SIM卡中存储有PIN码的情况下,通信模组在通过该SIM卡检测该SIM卡中存储的PIN码与该目标PIN码是否相同时,如果该SIM卡中存储的PIN码与该目标PIN码不相同,说明通信模组不能解除PIN锁定状态,也就是,通信模组在通过该SIM卡确定该目标PIN码非法的情况下,则可以将该SIM卡的ICCID添加至该通信模组预存的无效SIM卡名单中,防止多次解除PIN锁定状态均失败,造成该SIM卡的永久锁定。According to the discussion of the above-mentioned step 501, optionally, in the case where the PIN code is stored in the SIM card, when the communication module detects whether the PIN code stored in the SIM card is the same as the target PIN code through the SIM card, If the PIN code stored in the SIM card is different from the target PIN code, it means that the communication module cannot release the PIN lock state, that is, when the communication module determines that the target PIN code is illegal through the SIM card, it can be The ICCID of the SIM card is added to the list of invalid SIM cards pre-stored by the communication module, so as to prevent the failure of unlocking the PIN lock state for many times, resulting in permanent locking of the SIM card.
图6为另一个实施例中机卡绑定方法的流程示意图。本实施例涉及的是通信模组根据该SIM卡的ICCID和预先存储到该通信模组的Key参数,确定目标PIN码的一种可选的实现过程。在上述实施例的基础上,如图6所示,上述步骤302包括:FIG. 6 is a schematic flowchart of a machine-card binding method in another embodiment. This embodiment relates to an optional implementation process in which the communication module determines the target PIN code according to the ICCID of the SIM card and the Key parameter pre-stored in the communication module. On the basis of the foregoing embodiment, as shown in FIG. 6 , the foregoing step 302 includes:
步骤601,若该SIM卡中存储有PIN码,则判断该SIM卡的ICCID是否处于预存的无效SIM卡名单中。 Step 601, if the SIM card stores a PIN code, determine whether the ICCID of the SIM card is in a pre-stored list of invalid SIM cards.
步骤602,若该SIM卡的ICCID不处于预存的无效SIM卡名单中,则根据该SIM卡的ICCID和该Key参数,确定该目标PIN码。 Step 602, if the ICCID of the SIM card is not in the pre-stored list of invalid SIM cards, then determine the target PIN code according to the ICCID of the SIM card and the Key parameter.
其中,预存的无效SIM卡名单可以是预先存储在通信模组中的SIM卡的ICCID的列表。在本实施例的一个可选的实现过程中,在该SIM卡的ICCID不处于预存的无效SIM卡名单中时,说明该SIM卡还没有被该通信模组尝试解除PIN锁定状态,则可以根据该SIM卡的ICCID和该Key参数,确定该目标PIN码,并尝试解除PIN锁定状态;可选地,在该SIM卡的ICCID处于预存的无效SIM卡名单中时,可以向该通信设备上报该SIM卡为无效SIM卡。The pre-stored list of invalid SIM cards may be a list of ICCIDs of SIM cards pre-stored in the communication module. In an optional implementation process of this embodiment, when the ICCID of the SIM card is not in the pre-stored list of invalid SIM cards, it means that the SIM card has not been tried to release the PIN lock state by the communication module, then the SIM card can be unlocked according to the The ICCID of the SIM card and the Key parameter, determine the target PIN code, and try to release the PIN lock state; optionally, when the ICCID of the SIM card is in the pre-stored list of invalid SIM cards, the communication device can report the The SIM card is invalid.
本实施例中,通信模组在确定该SIM卡中存储有PIN码时,判断该SIM卡的ICCID是否处于预存的无效SIM卡名单中,在该SIM卡的ICCID不处于预存的无效SIM卡名单中时,根据该SIM卡的ICCID和该Key参数,确定该目标PIN码;也就是说,本实施例中在确定目标PIN码之前,会先判断该SIM卡是否已经处于预存的无效SIM卡名单中,在该SIM卡不处于预存的无效SIM卡名单中时,才根据该SIM卡的ICCID和该Key参数,确定该目标PIN码,尝试解除PIN锁定状态,避免了因该SIM卡的ICCID处于预存的无效SIM卡名单中时,继续尝试解除PIN锁定状态而导致的该SIM卡被永久性锁定的现象发生,也减少了通信模组进行目标PIN码计算的无用操作,提高了通信模组的工作效率。In this embodiment, when the communication module determines that the PIN code is stored in the SIM card, it determines whether the ICCID of the SIM card is in the pre-stored list of invalid SIM cards, and if the ICCID of the SIM card is not in the pre-stored list of invalid SIM cards In the middle, the target PIN code is determined according to the ICCID of the SIM card and the Key parameter; that is, in this embodiment, before the target PIN code is determined, it will be judged whether the SIM card is already in the pre-stored list of invalid SIM cards , when the SIM card is not in the pre-stored list of invalid SIM cards, the target PIN code is determined according to the ICCID of the SIM card and the Key parameter, and the PIN lock state is attempted to be released to avoid the ICCID of the SIM card being in the lock state. When the pre-stored list of invalid SIM cards is in the list, the SIM card is permanently locked due to the continuous attempt to release the PIN lock state, which also reduces the useless operation of the communication module to calculate the target PIN code, and improves the communication module's performance. work efficiency.
在本申请的一个可选的实施例中,通信模组可以通过预先设定的机卡绑定功能接口接收用户输入的预定ICCID作为预设的SIM卡号段,以及该Key参数,并将接收到的预定ICCID和该Key参数存储至该通信模组中;示例性地,可以输入多个预定ICCID作为预设的SIM卡号段。其中,所述预定ICCID用于与所读取的SIM卡的ICCID进行比对以确定所述SIM卡的ICCID是否合法。如此,开发人员可以更便捷地设置和更改通信模组中存储的预定ICCID和该Key参数,大大提高了该通信模组的通用性和灵活性。In an optional embodiment of the present application, the communication module may receive the predetermined ICCID input by the user as the preset SIM card number segment and the Key parameter through the preset machine-card binding function interface, and will receive the The predetermined ICCID and the Key parameter are stored in the communication module; for example, multiple predetermined ICCIDs can be input as the preset SIM card number segment. Wherein, the predetermined ICCID is used to compare with the read ICCID of the SIM card to determine whether the ICCID of the SIM card is legal. In this way, developers can more conveniently set and change the predetermined ICCID and the Key parameter stored in the communication module, which greatly improves the versatility and flexibility of the communication module.
应该理解的是,虽然图3-6的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图3-6中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 3-6 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 3-6 may include multiple steps or multiple stages. These steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The execution of these steps or stages The order is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or phases within the other steps.
在一个实施例中,如图7所示,提供了一种机卡绑定装置,包括:获取模块701、确定模块702和发送模块703,其中:In one embodiment, as shown in FIG. 7 , a device-card binding device is provided, including: an acquiring module 701, a determining module 702 and a sending module 703, wherein:
获取模块701,用于读取该通信模组中的SIM卡的ICCID,并确定该SIM卡的ICCID是否合法。The obtaining module 701 is used for reading the ICCID of the SIM card in the communication module, and determining whether the ICCID of the SIM card is legal.
确定模块702,用于在该SIM卡的ICCID合法的情况下,根据该SIM卡的ICCID和预先存储到该通信模组的Key参数,确定目标PIN码。The determining module 702 is configured to determine the target PIN code according to the ICCID of the SIM card and the Key parameter pre-stored in the communication module when the ICCID of the SIM card is legal.
发送模块703,用于将该目标PIN码发送至该SIM卡,并在通过该SIM卡确定该目标PIN码合法的情况下,发起网络注册流程。The sending module 703 is configured to send the target PIN code to the SIM card, and initiate a network registration process when the SIM card determines that the target PIN code is valid.
在其中一个实施例中,上述获取模块701,具体用于检测该ICCID是否处于预设的SIM卡号段内;在该ICCID处于该预设的SIM卡号段内的情况下,确定该ICCID合法。In one embodiment, the above obtaining module 701 is specifically configured to detect whether the ICCID is within the preset SIM card number segment; if the ICCID is within the preset SIM card number segment, determine that the ICCID is valid.
在其中一个实施例中,上述发送模块703,具体用于在该SIM卡中存储有PIN码的情况下,通过该SIM卡检测该SIM卡中存储的PIN码与该目标PIN码是否相同,在该SIM卡中存储的PIN码与该目标PIN码相同的情况下,确定该目标PIN码合法;在该SIM卡中未存储有PIN码的情况下,确定该目标PIN码合法。In one of the embodiments, the above-mentioned sending module 703 is specifically configured to detect whether the PIN code stored in the SIM card is the same as the target PIN code through the SIM card when the PIN code is stored in the SIM card, and then If the PIN code stored in the SIM card is the same as the target PIN code, it is determined that the target PIN code is valid; if there is no PIN code stored in the SIM card, it is determined that the target PIN code is valid.
在其中一个实施例中,该装置还包括写入模块;该写入模块,用于在该SIM卡中未存储有PIN码的情况下,将该目标PIN码写入至该SIM卡中。In one of the embodiments, the device further includes a writing module; the writing module is used for writing the target PIN code into the SIM card under the condition that the PIN code is not stored in the SIM card.
在其中一个实施例中,上述确定模块702,具体用于在该SIM卡中存储有PIN码的情况 下,判断该SIM卡的ICCID是否处于预存的无效SIM卡名单中;在该SIM卡的ICCID不处于预存的无效SIM卡名单中时,根据该SIM卡的ICCID和该Key参数,确定该目标PIN码。In one embodiment, the above determination module 702 is specifically configured to determine whether the ICCID of the SIM card is in a pre-stored list of invalid SIM cards when the PIN code is stored in the SIM card; When not in the pre-stored list of invalid SIM cards, the target PIN code is determined according to the ICCID of the SIM card and the Key parameter.
在其中一个实施例中,该装置还包括添加模块;该添加模块,用于在通过该SIM卡确定该目标PIN码非法的情况下,将该SIM卡的ICCID添加至该无效SIM卡名单中。In one of the embodiments, the device further includes an adding module; the adding module is configured to add the ICCID of the SIM card to the list of invalid SIM cards when the SIM card determines that the target PIN code is invalid.
在其中一个实施例中,该装置还包括接收模块;该接收模块,用于通过预先设定的机卡绑定功能接口接收用户输入的该SIM卡号段和该Key参数,并将接收到的该SIM卡号段和该Key参数存储至该通信模组中。In one embodiment, the device further includes a receiving module; the receiving module is configured to receive the SIM card number segment and the Key parameter input by the user through a preset machine-card binding function interface, and send the received The SIM card number segment and the Key parameter are stored in the communication module.
关于机卡绑定装置的具体限定可以参见上文中对于机卡绑定方法的限定,在此不再赘述。上述机卡绑定装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the machine-card binding device, reference may be made to the limitation of the machine-card binding method above, which will not be repeated here. Each module in the above-mentioned machine-card binding device may be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,提供了一种通信模组,其内部结构图可以如图8所示。该通信模组包括通过系统总线连接的处理器、存储器、通信接口。其中,该通信模组的处理器用于提供计算和控制能力。该通信模组的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该通信模组的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现上述机卡绑定方法。In one embodiment, a communication module is provided, and its internal structure diagram may be as shown in FIG. 8 . The communication module includes a processor, a memory, and a communication interface connected through a system bus. The processor of the communication module is used to provide computing and control capabilities. The memory of the communication module includes a non-volatile storage medium and an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The communication interface of the communication module is used for wired or wireless communication with external terminals, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies. When the computer program is executed by the processor, the above-mentioned machine-card binding method is implemented.
本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的通信模组的限定,具体的通信模组可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the communication module to which the solution of the present application is applied. A group may include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
在一个实施例中,提供了一种通信模组,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:In one embodiment, a communication module is provided, including a memory and a processor, a computer program is stored in the memory, and the processor implements the following steps when executing the computer program:
读取SIM卡的ICCID,并确定该SIM卡的ICCID是否合法;Read the ICCID of the SIM card, and determine whether the ICCID of the SIM card is legal;
在该SIM卡的ICCID合法的情况下,根据该SIM卡的ICCID和预先存储到该通信模组的Key参数,确定目标PIN码;When the ICCID of the SIM card is legal, determine the target PIN code according to the ICCID of the SIM card and the Key parameter stored in the communication module in advance;
将该目标PIN码发送至该SIM卡,并在通过该SIM卡确定该目标PIN码合法的情况下,发起网络注册流程。The target PIN code is sent to the SIM card, and the network registration process is initiated under the condition that the target PIN code is valid through the SIM card.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:检测该ICCID是否处于预 设的SIM卡号段内;在该ICCID处于该预设的SIM卡号段内的情况下,确定该ICCID合法。In one embodiment, when the processor executes the computer program, the following steps are further implemented: detecting whether the ICCID is within the preset SIM card number segment; if the ICCID is within the preset SIM card number segment, determining that the ICCID is valid .
在一个实施例中,处理器执行计算机程序时还实现以下步骤:在通过该SIM卡确定该目标PIN码合法的情况下,发起网络注册流程之前,在该SIM卡中存储有PIN码的情况下,通过该SIM卡检测该SIM卡中存储的PIN码与该目标PIN码是否相同,在该SIM卡中存储的PIN码与该目标PIN码相同的情况下,确定该目标PIN码合法;在该SIM卡中未存储有PIN码的情况下,确定该目标PIN码合法。In one embodiment, the processor further implements the following steps when executing the computer program: in the case that the SIM card determines that the target PIN code is valid, before initiating the network registration process, in the case that the SIM card stores the PIN code , detect whether the PIN code stored in the SIM card is the same as the target PIN code through the SIM card, and determine that the target PIN code is legal when the PIN code stored in the SIM card is the same as the target PIN code; If the SIM card does not store the PIN code, it is determined that the target PIN code is valid.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:在该SIM卡中未存储有PIN码的情况下,将该目标PIN码写入至该SIM卡中。In one embodiment, when the processor executes the computer program, the following steps are further implemented: in the case that the SIM card does not store the PIN code, the target PIN code is written into the SIM card.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:在该SIM卡中存储有PIN码的情况下,判断该SIM卡的ICCID是否处于预存的无效SIM卡名单中;在该SIM卡的ICCID不处于预存的无效SIM卡名单中时,根据该SIM卡的ICCID和该Key参数,确定该目标PIN码。In one embodiment, the processor also implements the following steps when executing the computer program: in the case of a PIN code stored in the SIM card, judging whether the ICCID of the SIM card is in a pre-stored list of invalid SIM cards; in the SIM card When the ICCID of the SIM card is not in the pre-stored list of invalid SIM cards, the target PIN code is determined according to the ICCID of the SIM card and the Key parameter.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:在通过该SIM卡确定该目标PIN码非法的情况下,将该SIM卡的ICCID添加至该无效SIM卡名单中。In one embodiment, when the processor executes the computer program, the processor further implements the following steps: adding the ICCID of the SIM card to the list of invalid SIM cards when the SIM card determines that the target PIN code is invalid.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:通过预先设定的机卡绑定功能接口接收用户输入的该SIM卡号段和该Key参数,并将接收到的该SIM卡号段和该Key参数存储至该通信模组中。In one embodiment, the processor also implements the following steps when executing the computer program: receiving the SIM card number segment and the Key parameter input by the user through a preset machine-card binding function interface, and converting the received SIM card number segment and the Key parameter are stored in the communication module.
在一个实施例中,提供了一种通信设备,该通信设备包括上述通信模组,示例性的,还可以包括电源、核心处理器、以及实现该通信设备的其他功能模组等,且该通信设备可以实现上述的机卡绑定方法。In one embodiment, a communication device is provided, the communication device includes the above-mentioned communication module, exemplarily, may also include a power supply, a core processor, and other functional modules that implement the communication device, etc., and the communication The device can implement the above-mentioned machine-card binding method.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer-readable storage medium is provided on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
读取SIM卡的ICCID,并确定该SIM卡的ICCID是否合法;Read the ICCID of the SIM card, and determine whether the ICCID of the SIM card is legal;
在该SIM卡的ICCID合法的情况下,根据该SIM卡的ICCID和预先存储到该通信模组的Key参数,确定目标PIN码;When the ICCID of the SIM card is legal, determine the target PIN code according to the ICCID of the SIM card and the Key parameter stored in the communication module in advance;
将该目标PIN码发送至该SIM卡,并在通过该SIM卡确定该目标PIN码合法的情况下,发起网络注册流程。The target PIN code is sent to the SIM card, and the network registration process is initiated under the condition that the target PIN code is valid through the SIM card.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:检测该ICCID是否处于预设的SIM卡号段内;在该ICCID处于该预设的SIM卡号段内的情况下,确定该ICCID合法。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: detecting whether the ICCID is within a preset SIM card number segment; in the case that the ICCID is within the preset SIM card number segment, determining the ICCID legitimate.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:在通过该SIM卡确定该目标PIN码合法的情况下,发起网络注册流程之前,在该SIM卡中存储有PIN码的情况下,通过该SIM卡检测该SIM卡中存储的PIN码与该目标PIN码是否相同,在该SIM卡中存储的PIN码与该目标PIN码相同的情况下,确定该目标PIN码合法;在该SIM卡中未存储有PIN码的情况下,确定该目标PIN码合法。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: when the SIM card determines that the target PIN code is valid, before initiating the network registration process, the SIM card stores the PIN code Detecting whether the PIN code stored in the SIM card is the same as the target PIN code through the SIM card, and in the case that the PIN code stored in the SIM card is the same as the target PIN code, it is determined that the target PIN code is legal; If the SIM card does not store the PIN code, it is determined that the target PIN code is valid.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:在该SIM卡中未存储有PIN码的情况下,将该目标PIN码写入至该SIM卡中。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: in the case where no PIN code is stored in the SIM card, writing the target PIN code into the SIM card.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:在该SIM卡中存储有PIN码的情况下,判断该SIM卡的ICCID是否处于预存的无效SIM卡名单中;在该SIM卡的ICCID不处于预存的无效SIM卡名单中时,根据该SIM卡的ICCID和该Key参数,确定该目标PIN码。In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in the case where the PIN code is stored in the SIM card, determine whether the ICCID of the SIM card is in a pre-stored list of invalid SIM cards; in the SIM card When the ICCID of the card is not in the pre-stored list of invalid SIM cards, the target PIN code is determined according to the ICCID of the SIM card and the Key parameter.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:在通过该SIM卡确定该目标PIN码非法的情况下,将该SIM卡的ICCID添加至该无效SIM卡名单中。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: when the SIM card determines that the target PIN code is invalid, the ICCID of the SIM card is added to the list of invalid SIM cards.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:通过预先设定的机卡绑定功能接口接收用户输入的该SIM卡号段和该Key参数,并将接收到的该SIM卡号段和该Key参数存储至该通信模组中。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: receiving the SIM card number segment and the Key parameter input by the user through a preset machine-card binding function interface, and converting the received SIM card number The segment and the Key parameter are stored in the communication module.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the various embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical memory, and the like. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, the RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此 而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are more specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (18)

  1. 一种机卡绑定方法,用于通信模组中,所述方法包括:A machine-card binding method, used in a communication module, the method comprising:
    读取SIM卡的ICCID,并确定所述SIM卡的ICCID是否合法;Read the ICCID of the SIM card, and determine whether the ICCID of the SIM card is legal;
    若所述SIM卡的ICCID合法,则根据所述SIM卡的ICCID和预先存储到所述通信模组的Key参数,确定目标PIN码;If the ICCID of the SIM card is legal, determine the target PIN code according to the ICCID of the SIM card and the Key parameter pre-stored in the communication module;
    将所述目标PIN码发送至所述SIM卡,并在通过所述SIM卡确定所述目标PIN码合法的情况下,发起网络注册流程。The target PIN code is sent to the SIM card, and a network registration process is initiated under the condition that the target PIN code is valid through the SIM card.
  2. 根据权利要求1所述的方法,其中,所述确定所述ICCID是否合法,包括:The method of claim 1, wherein the determining whether the ICCID is valid comprises:
    检测所述ICCID是否处于预设的SIM卡号段内;Detecting whether the ICCID is within the preset SIM card number segment;
    若所述ICCID处于所述预设的SIM卡号段内,则确定所述ICCID合法。If the ICCID is within the preset SIM card number segment, it is determined that the ICCID is valid.
  3. 根据权利要求1所述的方法,其中,所述在通过所述SIM卡确定所述目标PIN码合法的情况下,发起网络注册流程之前,所述方法还包括:The method according to claim 1, wherein, before initiating a network registration process under the condition that the target PIN code is determined to be valid through the SIM card, the method further comprises:
    若所述SIM卡中存储有PIN码,则通过所述SIM卡检测所述SIM卡中存储的PIN码与所述目标PIN码是否相同,在所述SIM卡中存储的PIN码与所述目标PIN码相同的情况下,确定所述目标PIN码合法;If a PIN code is stored in the SIM card, the SIM card is used to detect whether the PIN code stored in the SIM card is the same as the target PIN code, and the PIN code stored in the SIM card is the same as the target PIN code. If the PIN codes are the same, determine that the target PIN code is legal;
    若所述SIM卡中未存储有PIN码,则确定所述目标PIN码合法。If no PIN code is stored in the SIM card, it is determined that the target PIN code is valid.
  4. 根据权利要求3所述的方法,其中,所述方法还包括:The method of claim 3, wherein the method further comprises:
    若所述SIM卡中未存储有PIN码,则将所述目标PIN码写入至所述SIM卡中。If no PIN code is stored in the SIM card, the target PIN code is written into the SIM card.
  5. 根据权利要求1所述的方法,其中,所述根据所述SIM卡的ICCID和预先存储到所述通信模组的Key参数,确定目标PIN码,包括:The method according to claim 1, wherein, determining the target PIN code according to the ICCID of the SIM card and the Key parameter pre-stored in the communication module, comprising:
    将所述SIM卡的ICCID和所述Key参数输入到预先存储在通信模组中的程序算法,通过所述程序算法计算得到所述SIM卡的目标PIN码。Input the ICCID of the SIM card and the Key parameter into a program algorithm pre-stored in the communication module, and calculate the target PIN code of the SIM card through the program algorithm.
  6. 根据权利要求1所述的方法,其中,所述根据所述SIM卡的ICCID和预先存储到所述通信模组的Key参数,确定目标PIN码,包括:The method according to claim 1, wherein, determining the target PIN code according to the ICCID of the SIM card and the Key parameter pre-stored in the communication module, comprising:
    若所述SIM卡中存储有PIN码,则判断所述SIM卡的ICCID是否处于预存的无效SIM卡名单中;If a PIN code is stored in the SIM card, then determine whether the ICCID of the SIM card is in a pre-stored list of invalid SIM cards;
    若所述SIM卡的ICCID不处于预存的无效SIM卡名单中,则根据所述SIM卡的ICCID和所述Key参数,确定所述目标PIN码。If the ICCID of the SIM card is not in the pre-stored list of invalid SIM cards, the target PIN code is determined according to the ICCID of the SIM card and the Key parameter.
  7. 根据权利要求6所述的方法,其中,所述方法还包括:The method of claim 6, wherein the method further comprises:
    若通过所述SIM卡确定所述目标PIN码非法,则将所述SIM卡的ICCID添加至所述无 效SIM卡名单中。If it is determined through the SIM card that the target PIN code is invalid, the ICCID of the SIM card is added to the list of invalid SIM cards.
  8. 根据权利要求1至7任意一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 7, wherein the method further comprises:
    通过预先设定的机卡绑定功能接口接收用户输入的预定ICCID作为预设的SIM卡号段,以及所述Key参数,并将接收到的所述预定ICCID和所述Key参数存储到所述通信模组中。Receive the predetermined ICCID input by the user as the preset SIM card number segment and the Key parameter through the preset machine-card binding function interface, and store the received predetermined ICCID and the Key parameter in the communication in the module.
  9. 一种通信模组,包括存储器和处理器,所述存储器存储有计算机程序,其中,所述处理器执行所述计算机程序时实现如下步骤:A communication module includes a memory and a processor, wherein the memory stores a computer program, wherein the processor implements the following steps when executing the computer program:
    读取SIM卡的ICCID,并确定所述SIM卡的ICCID是否合法;Read the ICCID of the SIM card, and determine whether the ICCID of the SIM card is legal;
    若所述SIM卡的ICCID合法,则根据所述SIM卡的ICCID和预先存储到所述通信模组的Key参数,确定目标PIN码;If the ICCID of the SIM card is legal, determine the target PIN code according to the ICCID of the SIM card and the Key parameter pre-stored in the communication module;
    将所述目标PIN码发送至所述SIM卡,并在通过所述SIM卡确定所述目标PIN码合法的情况下,发起网络注册流程。The target PIN code is sent to the SIM card, and a network registration process is initiated under the condition that the target PIN code is valid through the SIM card.
  10. 根据权利要求9所述的通信模组,其中,所述确定所述ICCID是否合法,包括:The communication module according to claim 9, wherein the determining whether the ICCID is valid comprises:
    检测所述ICCID是否处于预设的SIM卡号段内;Detecting whether the ICCID is within the preset SIM card number segment;
    若所述ICCID处于所述预设的SIM卡号段内,则确定所述ICCID合法。If the ICCID is within the preset SIM card number segment, it is determined that the ICCID is valid.
  11. 根据权利要求9所述的通信模组,其中,所述在通过所述SIM卡确定所述目标PIN码合法的情况下,发起网络注册流程之前,所述处理器执行所述计算机程序时还实现:The communication module according to claim 9, wherein when the target PIN code is determined to be valid through the SIM card, before initiating a network registration process, the processor further implements the computer program when executing the computer program. :
    若所述SIM卡中存储有PIN码,则通过所述SIM卡检测所述SIM卡中存储的PIN码与所述目标PIN码是否相同,在所述SIM卡中存储的PIN码与所述目标PIN码相同的情况下,确定所述目标PIN码合法;If a PIN code is stored in the SIM card, the SIM card is used to detect whether the PIN code stored in the SIM card is the same as the target PIN code, and the PIN code stored in the SIM card is the same as the target PIN code. If the PIN codes are the same, determine that the target PIN code is legal;
    若所述SIM卡中未存储有PIN码,则确定所述目标PIN码合法。If no PIN code is stored in the SIM card, it is determined that the target PIN code is valid.
  12. 根据权利要求11所述的通信模组,其中,所述处理器执行所述计算机程序时还实现:The communication module according to claim 11, wherein, when the processor executes the computer program, it further implements:
    若所述SIM卡中未存储有PIN码,则将所述目标PIN码写入至所述SIM卡中。If no PIN code is stored in the SIM card, the target PIN code is written into the SIM card.
  13. 根据权利要求9所述的通信模组,其中,所述根据所述SIM卡的ICCID和预先存储到所述通信模组的Key参数,确定目标PIN码,包括:The communication module according to claim 9, wherein, determining the target PIN code according to the ICCID of the SIM card and the Key parameter stored in the communication module in advance, comprising:
    将所述SIM卡的ICCID和所述Key参数输入到预先存储在通信模组中的程序算法,通过所述程序算法计算得到所述SIM卡的目标PIN码。Input the ICCID of the SIM card and the Key parameter into a program algorithm pre-stored in the communication module, and calculate the target PIN code of the SIM card through the program algorithm.
  14. 根据权利要求9所述的通信模组,其中,所述根据所述SIM卡的ICCID和预先存储到所述通信模组的Key参数,确定目标PIN码,包括:The communication module according to claim 9, wherein, determining the target PIN code according to the ICCID of the SIM card and the Key parameter stored in the communication module in advance, comprising:
    若所述SIM卡中存储有PIN码,则判断所述SIM卡的ICCID是否处于预存的无效SIM卡名单中;If a PIN code is stored in the SIM card, then determine whether the ICCID of the SIM card is in a pre-stored list of invalid SIM cards;
    若所述SIM卡的ICCID不处于预存的无效SIM卡名单中,则根据所述SIM卡的ICCID 和所述Key参数,确定所述目标PIN码。If the ICCID of the SIM card is not in the pre-stored list of invalid SIM cards, the target PIN code is determined according to the ICCID of the SIM card and the Key parameter.
  15. 根据权利要求14所述的通信模组,其中,所述处理器执行所述计算机程序时还实现:The communication module according to claim 14, wherein, when the processor executes the computer program, it further implements:
    若通过所述SIM卡确定所述目标PIN码非法,则将所述SIM卡的ICCID添加至所述无效SIM卡名单中。If it is determined by the SIM card that the target PIN code is invalid, the ICCID of the SIM card is added to the list of invalid SIM cards.
  16. 根据权利要求9至15任意一项所述的方法,其中,所述处理器执行所述计算机程序时还实现:The method according to any one of claims 9 to 15, wherein when the processor executes the computer program, the processor further implements:
    通过预先设定的机卡绑定功能接口接收用户输入的预定ICCID和所述Key参数,并将接收到的所述预定ICCID和所述Key参数存储到所述通信模组中,所述预定ICCID用于与所读取的SIM卡的ICCID进行比对以确定所述SIM卡的ICCID是否合法。The predetermined ICCID and the Key parameter input by the user are received through the preset machine-card binding function interface, and the received predetermined ICCID and the Key parameter are stored in the communication module, and the predetermined ICCID is stored in the communication module. It is used to compare with the ICCID of the read SIM card to determine whether the ICCID of the SIM card is legal.
  17. 一种通信设备,其中,所述通信设备包括权利要求9至16中任意一项所述的通信模组。A communication device, wherein the communication device comprises the communication module according to any one of claims 9 to 16.
  18. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至8中任意一项所述的方法的步骤。A computer-readable storage medium having a computer program stored thereon, the computer program implementing the steps of the method according to any one of claims 1 to 8 when the computer program is executed by a processor.
PCT/CN2021/115884 2021-02-26 2021-09-01 Machine-card binding method, communication module, communication device, and storage medium WO2022179076A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110215931.3 2021-02-26
CN202110215931.3A CN113038451B (en) 2021-02-26 2021-02-26 Machine-card binding method and device, communication module and storage medium

Publications (1)

Publication Number Publication Date
WO2022179076A1 true WO2022179076A1 (en) 2022-09-01

Family

ID=76462089

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/115884 WO2022179076A1 (en) 2021-02-26 2021-09-01 Machine-card binding method, communication module, communication device, and storage medium

Country Status (2)

Country Link
CN (1) CN113038451B (en)
WO (1) WO2022179076A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116744300A (en) * 2023-08-08 2023-09-12 科奈物联科技(北京)有限公司 Anti-theft identity recognition method and device based on verification cellular communication

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038451B (en) * 2021-02-26 2023-04-07 西安广和通无线软件有限公司 Machine-card binding method and device, communication module and storage medium
CN115623486A (en) * 2021-07-15 2023-01-17 华为技术有限公司 Method and device for processing Personal Identification Number (PIN) code
CN114374942A (en) * 2021-12-29 2022-04-19 天翼物联科技有限公司 Business processing method, system, device and storage medium based on machine-card binding
CN114492682B (en) * 2022-01-11 2023-03-10 无锡宇宁智能科技有限公司 SIM card on-line card issuing circuit, method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621790A (en) * 2009-07-08 2010-01-06 中兴通讯股份有限公司 Lock-card locking method and device for wireless communication
CN101707645A (en) * 2009-10-22 2010-05-12 中兴通讯股份有限公司 The method for batch interlocking of terminals and cards and terminal thereof
US20150105058A1 (en) * 2013-10-15 2015-04-16 Acer Incorporated Method of sim/usim personalizing user equipment
CN106686573A (en) * 2016-12-14 2017-05-17 深圳普创天信科技发展有限公司 Method of interlocking SIM card with device
CN108156601A (en) * 2017-12-08 2018-06-12 京信通信系统(中国)有限公司 A kind of method and device of locking SIM card
CN113038451A (en) * 2021-02-26 2021-06-25 西安广和通无线软件有限公司 Machine-card binding method and device, communication module and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101568098B (en) * 2009-05-26 2011-09-07 大唐微电子技术有限公司 Terminal for registering and opening of user recognition module and/or data writing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621790A (en) * 2009-07-08 2010-01-06 中兴通讯股份有限公司 Lock-card locking method and device for wireless communication
CN101707645A (en) * 2009-10-22 2010-05-12 中兴通讯股份有限公司 The method for batch interlocking of terminals and cards and terminal thereof
US20150105058A1 (en) * 2013-10-15 2015-04-16 Acer Incorporated Method of sim/usim personalizing user equipment
CN106686573A (en) * 2016-12-14 2017-05-17 深圳普创天信科技发展有限公司 Method of interlocking SIM card with device
CN108156601A (en) * 2017-12-08 2018-06-12 京信通信系统(中国)有限公司 A kind of method and device of locking SIM card
CN113038451A (en) * 2021-02-26 2021-06-25 西安广和通无线软件有限公司 Machine-card binding method and device, communication module and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116744300A (en) * 2023-08-08 2023-09-12 科奈物联科技(北京)有限公司 Anti-theft identity recognition method and device based on verification cellular communication

Also Published As

Publication number Publication date
CN113038451B (en) 2023-04-07
CN113038451A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
WO2022179076A1 (en) Machine-card binding method, communication module, communication device, and storage medium
US8204475B2 (en) Method and apparatus for preventing unauthorized use of computing devices
KR101216306B1 (en) Updating configuration parameters in a mobile terminal
KR101187457B1 (en) Method for providing smart cardsim security by checking a temporary subscriber identifiertmsi
US9198026B2 (en) SIM lock for multi-SIM environment
EP2530964B1 (en) Method and device for terminal network locking
EP2611226B1 (en) Processing method and system for over-the-air bootstrap
KR102232966B1 (en) Un-tact digital key service system and method thereof
JP2004166215A (en) Method of locking mobile communication terminal
KR20190002613A (en) A method for managing the status of connected devices
CN109492370B (en) Terminal starting method, terminal and signature device
KR20220002892A (en) Remote Security Unlock
CN109196891B (en) Method, terminal and server for managing subscription data set
WO2018010480A1 (en) Network locking method for esim card, terminal, and network locking authentication server
CN103781058A (en) Method and device for detecting legality of mobile terminal in CDMA network
US9430638B2 (en) Authentication method, authentication apparatus and authentication device
US11904808B2 (en) Information processing apparatus, information processing method and non-transitory storage medium
CN106576239B (en) Method and device for managing content in security unit
CN111526143B (en) Method and device for realizing anti-unauthorized access of CRM system and storage medium
US8656457B2 (en) Controlling locking state transitions in a terminal
KR101363519B1 (en) Communication terminal and method for protecting information thereof
CN114499981A (en) Video access method and device
WO2017197689A1 (en) Sim card processing method and apparatus, terminal, and esam chip
CN104134025A (en) Mobile terminal locking method and device based on SIM cards and mobile terminal
CN111179480A (en) Control method based on access control terminal and access control platform

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21927503

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21927503

Country of ref document: EP

Kind code of ref document: A1