CN107666664B - Method, device, equipment and storage medium for machine-card binding - Google Patents

Method, device, equipment and storage medium for machine-card binding Download PDF

Info

Publication number
CN107666664B
CN107666664B CN201710940812.8A CN201710940812A CN107666664B CN 107666664 B CN107666664 B CN 107666664B CN 201710940812 A CN201710940812 A CN 201710940812A CN 107666664 B CN107666664 B CN 107666664B
Authority
CN
China
Prior art keywords
binding
sim card
mobile terminal
identifier
imei
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710940812.8A
Other languages
Chinese (zh)
Other versions
CN107666664A (en
Inventor
伍祥红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Huiye Communication Technology Co., Ltd
Shenzhen Huiye Wulian Technology Co., Ltd.
Original Assignee
Chongqing Huiye Communication Technology Co ltd
Shenzhen Huiye Wulian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Huiye Communication Technology Co ltd, Shenzhen Huiye Wulian Technology Co ltd filed Critical Chongqing Huiye Communication Technology Co ltd
Priority to CN201710940812.8A priority Critical patent/CN107666664B/en
Publication of CN107666664A publication Critical patent/CN107666664A/en
Application granted granted Critical
Publication of CN107666664B publication Critical patent/CN107666664B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

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

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for machine-card binding. The method comprises the following steps: if receiving an active command sent by a subscriber identity module SIM card, acquiring the binding type of the current mobile terminal; when the binding type is the international mobile equipment identity code IMEI binding, first binding information is sent to the SIM card, so that the SIM card realizes the IMEI binding with a mobile terminal; and when the binding type is operator binding, sending second binding information to the SIM card so as to enable the SIM card to realize the operator binding with the mobile terminal. According to the technical scheme of the embodiment of the invention, different binding requirements of a user on the realization of machine-card binding are met through the selection of two binding modes of IMEI binding and operator binding and the direct interaction of the binding information, and the operation that the corresponding binding information needs to be inquired in a background database when the machine-card binding is realized is simplified.

Description

Method, device, equipment and storage medium for machine-card binding
Technical Field
The invention relates to the field of machine-card interaction, in particular to a machine-card binding method, device, equipment and storage medium.
Background
At present, the phenomenon that a mobile phone is stolen in life is more and more serious, great inconvenience is brought to a user, and the mobile phone and the card are bound one by adopting a machine card binding method, so that the mobile phone cannot be normally used if the user logs out the card after the mobile phone is stolen. In addition, the competition in the field of mobile communication is more and more intense at present, and operators propose a policy for giving away a preference to machine purchasing and machine card binding for the purpose of expanding the number of users, and require that a mobile phone and a card are bound to realize machine card binding for sale.
In the prior art, the implementation of the machine-card binding generally includes storing the machine-card corresponding information for the first time of machine-card binding in a background database, and inquiring the corresponding information in the background database when the machine-card binding is performed, so as to determine whether the binding has been implemented. In the prior art, the background database is relatively troublesome to call for query, and a mobile terminal only has one machine-card binding method, is relatively single, and cannot provide different machine-card binding modes according to different requirements of users.
Disclosure of Invention
The embodiment of the invention provides a machine-card binding method, a device, equipment and a storage medium, which are used for realizing corresponding machine-card binding according to different binding requirements of users and solving the technical problems that the machine-card binding mode is single and a background database is required to be called to inquire the corresponding relation in the prior art.
In a first aspect, an embodiment of the present invention provides a method for machine-card binding, where the method includes:
if receiving a proactive command sent by a Subscriber Identity Module (SIM) card, acquiring the binding type of the current mobile terminal;
when the binding type is International Mobile Equipment Identity (IMEI), sending first binding information to the SIM card so that the SIM card realizes the IMEI binding with a Mobile terminal;
and when the binding type is operator binding, sending second binding information to the SIM card so as to enable the SIM card to realize the operator binding with the mobile terminal.
In a second aspect, an embodiment of the present invention provides a method for machine-card binding, where the method includes:
sending an active command to the mobile terminal;
when first binding information sent by the mobile terminal is received, International Mobile Equipment Identity (IMEI) binding is carried out on the mobile terminal according to the first binding information;
and when second binding information sent by the mobile terminal is received, binding an operator with the mobile terminal according to the second binding information.
In a third aspect, an embodiment of the present invention provides an apparatus for machine-card binding, where the apparatus includes:
the binding type acquisition module is used for acquiring the binding type of the current mobile terminal if receiving an active command sent by a subscriber identity module SIM card;
the first sending module is used for sending first binding information to the SIM card when the binding type is International Mobile Equipment Identity (IMEI) binding so as to enable the SIM card to realize IMEI binding with a mobile terminal;
and the second sending module is used for sending second binding information to the SIM card when the binding type is operator binding so as to enable the SIM card to realize the operator binding with the mobile terminal.
In a fourth aspect, an embodiment of the present invention provides an apparatus for machine-card binding, where the apparatus includes:
the active command sending module is used for sending an active command to the mobile terminal;
the first binding module is used for binding International Mobile Equipment Identity (IMEI) code with the mobile terminal according to the first binding information when the first binding information sent by the mobile terminal is received;
and the second binding module is used for binding the operator with the mobile terminal according to the second binding information when receiving the second binding information sent by the mobile terminal.
In a fifth aspect, an embodiment of the present invention provides an apparatus, where the apparatus includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for machine-card binding in the first aspect.
In a sixth aspect, an embodiment of the present invention provides an apparatus, where the apparatus includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for machine-to-card binding in the second aspect.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for machine-card binding in the first aspect.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for machine-card binding in the second aspect.
The method, the device, the equipment and the storage medium for binding the machine card solve the problem of single binding mode of the mobile terminal by selecting two binding modes of IMEI binding and operator binding, meet different binding requirements of a user on machine card binding, and simplify the operation of inquiring corresponding binding information in a background database when the machine card binding is realized by directly interacting the binding information between the mobile terminal and an SIM card.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a flowchart of a method for machine-card binding applied to a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for acquiring a binding type of a current mobile terminal according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for machine-card binding applied to a mobile terminal according to a second embodiment of the present invention;
fig. 4 is a flowchart of a method for machine-card binding applied to a mobile terminal according to a second embodiment of the present invention;
fig. 5 is a flowchart of a method for machine-card binding applied to an SIM card according to a third embodiment of the present invention;
fig. 6 is a flowchart of a method applied to IMEI binding of a SIM card according to a third embodiment of the present invention;
fig. 7 is a flowchart of a method for machine-card binding applied to an SIM card according to a third embodiment of the present invention;
fig. 8 is a schematic structural diagram of a device for machine-card binding applied to a mobile terminal according to a fourth embodiment of the present invention;
fig. 9 is a schematic structural diagram of a device for machine-card binding applied to a SIM card according to a fifth embodiment of the present invention;
fig. 10 is a schematic structural diagram of an apparatus applied to a mobile terminal according to a sixth embodiment of the present invention;
fig. 11 is a schematic structural diagram of a device applied to a SIM card according to a seventh embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a machine-card binding method applied to a mobile terminal according to an embodiment of the present invention, where the machine-card binding method provided in this embodiment is applicable to any mobile terminal that needs to be bound with an SIM card. The method can be executed by the device for machine-card binding of the mobile terminal provided by the embodiment of the invention, the device can be realized in a software and/or hardware mode and is integrated into the equipment for executing the method, and the equipment for executing the method in the embodiment can be a mobile terminal needing to be bound with an SIM card, such as a mobile phone, a tablet computer with an SIM card slot and the like. The method specifically comprises the following steps:
s110, if receiving the active command sent by the SIM card, acquiring the binding type of the current mobile terminal. When the binding type is IMEI binding, S120 is performed, and when the binding type is operator binding, S130 is performed.
Specifically, the receiving of the active command from the SIM card by the mobile terminal is implemented by an SIM Application Toolkit (STK) protocol, where the STK protocol includes a series of interactive instructions for information interaction between the mobile terminal and the SIM card. Optionally, the STK protocol is GSM11.14, and the proactive command is defined as a getinput command. In the conventional information interaction, the mobile terminal sends a specific command to the SIM card, and the SIM card responds to the received command correspondingly, whereas in the embodiment, the getinput command adopts an active command, so that the SIM card sends the specific command to the mobile terminal through an STK protocol, and the mobile terminal responds to the received command correspondingly, so that the SIM card not only passively receives the command. Specifically, the response command is defined as a response command. Further, the STK protocol is an active interactive operation protocol developed on the basis of the passive operation of the original SIM card, and provides a mechanism for enabling the mobile terminal and the SIM card to perform interactive operation, so that the SIM card can perform active session with the mobile terminal. Specifically, the STK command has a TLV structure, i.e., a Tag, a Length, and a Value, where the Tag is D0 to indicate a proactive command.
Further, when the user needs to realize the binding between the mobile terminal and the SIM card, the SIM card is inserted into the mobile terminal. After the mobile terminal and the SIM card are initialized, the SIM card can send an active command to the mobile terminal to realize information interaction with the mobile terminal. And after receiving the active command, the mobile terminal selects the binding type of the current mobile terminal, namely the binding type needing to be bound with the SIM card. Preferably, the binding type selected when the mobile terminal and the SIM card are bound is IMEI binding or operator binding. The operator refers to a provider that provides network services. Alternatively, the binding type may be selected by the user or determined by the mobile terminal itself. Generally speaking, when the mobile terminal has already implemented the binding with the SIM card, the binding type is selected as the already bound type, and when the mobile terminal has not implemented the binding with the SIM card, the binding type may be selected by the user in a manner of prompting the user, or may be selected by the mobile terminal itself.
S120, when the binding type is IMEI binding, first binding information is sent to the SIM card, so that the SIM card realizes the IMEI binding with the mobile terminal.
Specifically, the first binding information is response information sent to the SIM card for the proactive command after the mobile terminal determines that the current IMEI binding is performed. Preferably, the first binding information includes an IMEI, a binding type and a binding identifier of the mobile terminal. The IMEI is an 'electronic serial number' formed by 15 digits, corresponds to each mobile terminal one by one, and is unique all over the world. The number of digits 6 before IMEI represents a model approval number TAC, and generally represents the model of the mobile terminal; the next 2 digits represent the final assembly number FAC, which generally represents the origin of the mobile terminal; the next 6 digits represent the serial number SNR, which generally represents the production sequence number of the mobile terminal; the last 1-bit number is usually "0", indicating the check code SP. Further, the binding type is one of an IMEI binding and an operator binding. The binding identifier is an identifier for judging whether the mobile terminal has already implemented binding with the SIM card, wherein the SIM card is not limited to the SIM card in the current mobile terminal card slot.
Further, when the mobile terminal is bound with the SIM card, if the binding type is IMEI binding, the mobile terminal generates information for IMEI binding, and sends the first binding information to the SIM card. After the SIM card receives the first binding information sent by the mobile terminal, whether the IMEI binding with the mobile terminal is realized is determined through judging and analyzing the binding identifier and the binding type in the binding information.
And S130, when the binding type is operator binding, sending second binding information to the SIM card so that the SIM card is bound with the operator of the mobile terminal.
And the second binding information is response information sent to the SIM card for the active command after the mobile terminal determines that the current mobile terminal is bound by the operator. Specifically, the second binding information includes a binding type and a binding identifier, and optionally, also includes an IMEI of the mobile terminal.
Further, when the mobile terminal binds with the SIM card, if the binding type is operator binding, the mobile terminal generates information for operator binding and sends second binding information to the SIM card. And after receiving the second binding information sent by the mobile terminal, the SIM card determines whether to realize the binding with the operator of the mobile terminal.
According to the technical scheme provided by the embodiment, the problem of single binding mode existing when the mobile terminal and the SIM card are bound is solved by selecting the IMEI binding mode and the operator binding mode, different binding requirements of a user on machine-card binding can be met, and the operation that the corresponding binding information needs to be inquired in a background database when the machine-card binding is realized is simplified by directly interacting the binding information between the mobile terminal and the SIM card.
On the basis of the above technical solution, further, as shown in fig. 2, the acquiring the binding type of the current mobile terminal specifically includes:
and S111, reading the binding identifier. When the binding identifier is the first character, S112 is performed, and when the binding identifier is the second character, S113 is performed.
The binding identifier is a basis for judging whether the mobile terminal is over-bound with the SIM card. Specifically, the binding identifier includes a first character and a second character. Wherein the first character indicates that the mobile terminal is bound for the first time and the second character indicates that the mobile terminal has been bound. The character content of the binding identifier may be set according to actual conditions, for example, the first character may be "0", and the second character may be "1".
Specifically, when the mobile terminal receives an active command sent by the SIM card, the mobile terminal first reads its own binding identifier, determines whether the mobile terminal has previously been bound to the SIM card, and then executes different operations according to different binding identifiers.
And S112, when the binding identifier is the first character, carrying out binding prompt and determining the binding type when the binding identifier is bound with the SIM card according to the obtained binding instruction.
When the binding identifier is read as the first character, it is determined that the mobile terminal is bound with the SIM card for the first time, and at this time, the mobile terminal sends a binding prompt to enable a user to select a binding type of the mobile terminal when the mobile terminal is bound with the SIM card. Alternatively, the binding prompt may prompt the user to select the binding type by automatically popping up a prompt box that allows the user to select the binding type. After the user selects the binding type, the mobile terminal receives the binding instruction corresponding to the binding type, and the binding type selected by the user when the mobile terminal is bound with the SIM card can be determined according to the binding instruction. And according to the selected different binding types, the mobile terminal executes different operations and sends different binding information to the SIM card, so that the SIM card executes different operations.
Specifically, the pop-up prompt box includes two selection types, i.e., IMEI binding and operator binding.
And S113, when the binding identifier is the second character, acquiring a historical binding type as the binding type when the SIM card is bound.
And when the read binding identifier is the second character, confirming that the mobile terminal is bound with the SIM card, and acquiring the historical binding type of the mobile terminal at the moment. Specifically, the historical binding type is a binding type selected when the mobile terminal is previously bound with the SIM card. And after the historical binding type is obtained, directly taking the historical binding type as the binding type when the SIM card is bound. And according to different binding types, the mobile terminal executes different operations and sends different binding information to the SIM card, so that the SIM card executes different operations.
Example two
Fig. 3 is a flowchart of a method for machine-card binding applied to a mobile terminal according to a second embodiment of the present invention. The embodiment is optimized on the basis of the embodiment. Referring to fig. 3, the method of the present embodiment specifically includes:
s210, if receiving a positive command sent by the SIM card for identifying the user identity, reading the binding identifier. When the binding identifier is the first character, S220 is performed, and when the binding identifier is the second character, S260 is performed.
And S220, when the binding identifier is the first character, performing binding prompt and determining the binding type when the binding identifier is bound with the SIM card according to the obtained binding instruction. When the binding type is IMEI binding, S230 is performed, and when the binding type is operator binding, S250 is performed.
And S230, when the binding type is IMEI binding, obtaining the recorded data of the IMEI bit recorded by the SIM card in the active command.
And when the read binding identifier is the first character and the IMEI binding with the SIM card is selected according to the binding prompt, the mobile terminal acquires the recorded data of the IMEI bit recorded by the SIM card in the active command. Specifically, the active command sent by the SIM card to the mobile terminal carries the recorded data of the IMEI bit recorded by the SIM card, where the recorded data represents whether the SIM card is bound with the mobile terminal. The recorded data may be null data, which indicates that the SIM card has not been bound with the mobile terminal before. Further, the mobile terminal executes different operations by judging whether the recorded data is null data.
S240, when the recorded data is null data, sending first binding information to the SIM card so that the SIM card realizes IMEI binding with the mobile terminal.
When the recorded data is null data, the SIM card is not bound with the mobile terminal before, the mobile terminal modifies the binding identifier into a second character, namely '1', and modifies the binding type into IMEI binding; then, a response command containing the first binding information is sent to the SIM card. Specifically, the first binding information includes an IMEI, a binding identifier, and a binding type of the mobile terminal, where the binding identifier at this time is an unmodified binding identifier, that is, a first character "0". The SIM card receives the response command, executes different operations according to the first binding information contained in the received response command, and confirms whether the IMEI binding with the mobile terminal is realized.
Further, when the binding identifier is the first character and the recorded data is not null data, it indicates that the mobile terminal is bound with the SIM card for the first time, and the SIM card has already undergone IMEI binding, the mobile terminal is directly and automatically turned off, and does not send a response command to the SIM card, and information interaction with the SIM card is directly stopped, and the binding fails. Optionally, a stop signal is sent to the SIM card, so that the SIM card fails to bind explicitly.
And S250, when the binding type is operator binding, acquiring and storing set Identification data in an International Mobile Subscriber Identity (IMSI) of the SIM card, and sending second binding information to the SIM card so as to realize the binding of the SIM card and the operator of the Mobile terminal.
When the read binding identifier is the first character and is selected to be bound with the SIM card for the operator according to the binding prompt, the set identifier data in the IMSI of the SIM card is directly obtained and stored in the corresponding position in the mobile terminal. Specifically, the IMSI of the SIM card is a mark for distinguishing a Mobile Subscriber, is stored in the SIM card, and is composed of a Mobile Country Code (MCC), a Mobile Network Code (MNC), and a Mobile Subscriber Identity Number (MSIN). The MCC is uniformly distributed and managed in the world, the country to which the SIM card belongs is uniquely identified, the number of the countries is 3, and the MCC in China is 460; the MNC is used for identifying the mobile communication network to which the SIM card belongs, namely identifying that the mobile network to which the SIM card belongs is one of mobile, Unicom or telecom; MSIN is used to identify mobile subscribers in a mobile communications network.
Further, in this embodiment, after the binding identifier is the first character and the operator binding is selected according to the binding prompt, the setting identifier data of the IMSI in the SIM card is directly obtained, and it is not determined whether the SIM card is bound for the first time, and the setting identifier data is stored in the corresponding location of the mobile terminal. In this embodiment, the setting identifier data of the IMSI only includes MCC and MNC, and does not process the MSIN, so that when the mobile terminal is bound by an operator, the mobile terminal can be bound with an SIM card belonging to the same mobile communication network, and there is no one-to-one corresponding binding relationship between the mobile terminal and the SIM card. Secondly, after the set identification data is stored in the mobile terminal, the mobile terminal modifies the binding identification into a second character '1', modifies the binding type into operator binding, and then sends a response command containing second binding information to the SIM card. Optionally, the second binding information includes a binding identifier and a binding type, and may further include an IMEI of the mobile terminal, where the binding identifier at this time is an unmodified binding identifier, that is, the first character "0". The SIM card receives the response command and confirms whether the binding with the operator of the mobile terminal is realized according to the second binding information contained in the received response command.
And S260, when the binding identifier is the second character, acquiring a historical binding type as the binding type when the SIM card is bound. When the binding type is IMEI binding, S270 is executed, and when the binding type is operator binding, S280 is executed.
S270, when the binding type is IMEI binding, first binding information is sent to the SIM card, so that the SIM card realizes IMEI binding with the mobile terminal.
When the read binding identifier is the second character, the mobile terminal is indicated to be bound, and when the historical binding type is IMEI binding, a response command containing first binding information is directly sent to the SIM card, the SIM card receives the response command, and whether the IMEI binding with the mobile terminal is realized is confirmed according to the first binding information contained in the received response command.
S280, when the binding type is operator binding, acquiring the set identification data in the IMSI of the SIM card.
When the read binding identifier is the second character, it indicates that the mobile terminal has already been bound, and when the historical binding type is operator binding, it needs to obtain the set identifier data in the IMSI of the SIM card, that is, MCC and MNC in the IMSI, and compare the set identifier data with the historical identifier data, and determine whether the original SIM card bound when the SIM card and the mobile terminal are bound for the first time belongs to the same mobile communication network. Specifically, the history identifier data is MCC and MNC in the IMSI of the original SIM card stored in the mobile terminal when the mobile terminal performs the first binding.
And S290, when the set identification data is the same as the historical identification data, sending second binding information to the SIM card so that the SIM card is bound with an operator of the mobile terminal.
Specifically, the MCC and MNC in the setting identifier data are respectively compared with the MCC and MNC in the history identifier data, and when both are the same, it indicates that the mobile communication network belongs to the same mobile communication network, and a response command containing the second binding information is sent to the SIM card. The SIM card receives the response command and confirms whether the binding with the operator of the mobile terminal is realized according to the second binding information contained in the received response command. And when at least one of the mobile terminal and the mobile terminal is different, the mobile terminal is automatically powered off, and the binding fails.
Illustratively, the present embodiment provides an example flowchart of a method applied to the machine-card binding of the mobile terminal, in this example, the second character is 1. As shown in fig. 4, after the SIM card is inserted into the mobile terminal and the mobile terminal is powered on for initialization, the mobile terminal first determines whether a proactive command sent by the SIM card is received, where the proactive command is specific recorded data carrying an IMEI bit stored in the SIM card, and the recorded data may be null data. If the active command is not received, the mobile terminal is directly and automatically powered off, if the active command is received, the IMEI stored in the SIM card is extracted from the active command, and the binding identifier is read to judge whether the IMEI is 1 or not.
If the binding identifier is not 1, the binding identifier is defaulted to be a first character, at the moment, a prompt box is automatically popped up to enable a user to select the binding type of the mobile terminal and the SIM card, if the user selects IMEI binding, whether the IMEI extracted from the active command and stored in the SIM card is empty data is judged, if yes, the binding identifier is modified to be 1, the binding type is modified to be IMEI binding, a response command is sent to the SIM card, the response command at the moment contains the IMEI, the unbound identifier and the binding type of the mobile terminal, and the SIM card continuously judges; if the data is not null data, the mobile terminal is directly and automatically powered off, and the binding fails; if the user selects operator binding in the prompt box, the MCC and MNC are extracted from the IMSI of the SIM card, then the MCC and MNC are stored in the corresponding position of the mobile terminal, the binding identifier is modified to be 1, the binding type is modified to be operator binding, a response command is sent to the SIM card, the response command at the moment can contain the IMEI, the unbound identifier and the binding type of the mobile terminal, and the SIM card continues to execute subsequent operations.
If the binding identifier is 1, judging the binding type; if the mobile terminal is in IMEI binding state, directly sending a response command to the SIM card, wherein the response command contains the IMEI, the binding identifier and the binding type of the mobile terminal, the SIM card judges and executes subsequent operations according to the binding information in the received response command, and the mobile terminal is started in advance no matter whether the SIM card is bound with the mobile terminal or not; if the SIM card is bound by an operator, directly extracting MCC and MNC in the IMSI of the SIM card, respectively comparing the MCC and MNC with MCC and MNC in the IMSI of the original SIM card stored on the mobile terminal, if the MCC and MNC are the same, sending a response command to the SIM card, wherein the response command at the moment can contain the IMEI, an unbound identifier and a bound type of the mobile terminal, and continuously executing subsequent operations by the SIM card; if at least one of the two is different, the mobile terminal is automatically powered off, and the binding fails.
According to the technical scheme provided by the embodiment, through introduction of two binding modes, namely IMEI binding and operator binding in machine-card binding, the problem that the binding mode is single when the mobile terminal and the SIM card are bound is solved, different binding requirements of a user on machine-card binding can be met, the IMEI binding can meet the requirement that the user carries out one-to-one corresponding binding on the machine card, the operator binding can meet the requirement that the operator carries out many-to-many binding on the machine card in the same mobile communication network, and the binding information is directly interacted between the mobile terminal and the SIM card, so that the operation that the corresponding binding information needs to be inquired in a background database when the machine-card binding is realized is simplified.
EXAMPLE III
Fig. 5 is a flowchart of a machine-card binding method applied to an SIM card according to a third embodiment of the present invention, where the machine-card binding method provided in this embodiment is applicable to any SIM card that needs to be bound with a mobile terminal. The method can be executed by the device for machine-card binding applied to the SIM card provided by the embodiment of the present invention, and the device can be implemented by software and/or hardware and is integrated into a device for executing the method, and the device can be selected as the SIM card. The method specifically comprises the following steps:
and S310, sending an active command to the mobile terminal.
And after the SIM card is inserted into the mobile terminal and the initialization is successful, sending an active command to the mobile terminal. Specifically, the proactive command is a special proactive command which is subscribed and carries recorded data of IMEI bits recorded by the SIM card, the recorded data represents IMEI stored on the SIM card, when the SIM card is bound for the first time, the recorded data is null data, and when the SIM card is not bound for the first time, the recorded data is the bound IMEI of the mobile terminal.
And S320, receiving and analyzing the binding information sent by the mobile terminal. When the first binding information sent by the mobile terminal is received, S330 is executed, and when the first binding information sent by the mobile terminal is received, S340 is executed.
Specifically, after receiving a response command containing the binding information sent by the mobile terminal, the SIM card extracts the data content contained in the binding information. Further, a binding type in the data content is confirmed, when the binding type is an IMEI binding, the binding information is determined to be first binding information, and when the binding type is an operator binding, the binding information is determined to be second binding information. Generally, when the binding information is parsed, all data contents of the binding information, such as the binding type in the first binding information, the IMEI of the mobile terminal, and the binding identifier, can be obtained.
S330, when the first binding information sent by the mobile terminal is received, IMEI binding is carried out with the mobile terminal according to the first binding information.
Specifically, when the SIM card binds with the mobile terminal according to the first binding information, the first binding information includes a binding type, an IMEI of the mobile terminal, and a binding identifier. Further, whether binding with the IMEI is realized is determined according to the IMEI and the binding identifier of the mobile terminal. Referring to fig. 6, the step may specifically include:
s331, determining a binding identifier in the first binding information. If the binding identification is the first character, S332 is performed. If the binding identification is the second character, S333 is performed.
Specifically, the binding identifier includes a first character and a second character, where the first character indicates that the first binding is performed, and the second character indicates that the binding has been performed before.
S332, when the binding identifier is the first character, recording the IMEI of the mobile terminal in the IMEI position, and confirming that the IMEI binding with the mobile terminal is realized.
When the carried binding identifier is the first character, the mobile terminal is represented as the first binding, and the mobile terminal has judged that the recorded data of the IMEI bit recorded by the SIM card is null data, so the IMEI bit of the mobile terminal is directly recorded in the IMEI bit of the SIM card, and the mobile terminal continues to perform an interaction process of a common card, and confirms that the IMEI binding with the mobile terminal is realized.
S333, when the binding identifier is the second character, obtaining the recorded data of the IMEI bit.
When the carried binding identifier is the second character, it indicates that the mobile terminal has been bound before, and needs to acquire the recorded data of the IMEI in the SIM card, that is, the IMEI of the mobile terminal stored in the SIM card, and compare the recorded data with the IMEI of the mobile terminal that needs to be bound, to determine whether to implement the binding with the IMEI of the mobile terminal.
S334, it is determined whether the logged data is the same as the IMEI of the mobile terminal. When the logging data is the same as the IMEI of the mobile terminal, S335 is performed. Otherwise, S336 is performed.
Specifically, the recorded data of the IMEI bit recorded by the SIM card is compared with the IMEI of the mobile terminal to be bound, and if the recorded data of the IMEI bit recorded by the SIM card are the same as the IMEI of the mobile terminal, the SIM card is the SIM card bound when the mobile terminal is bound for the first time; if the SIM card and the mobile terminal are different, the SIM card bound with the mobile terminal for the first time is different.
And S335, confirming that the IMEI binding is realized with the mobile terminal.
Specifically, the common card interaction process with the mobile terminal is continued, and the IMEI binding with the mobile terminal is confirmed.
And S336, stopping interacting with the mobile terminal.
And S340, when receiving the second binding information sent by the mobile terminal, binding the operator with the mobile terminal according to the second binding information.
Specifically, when the SIM card confirms that the second binding information sent by the mobile terminal is received, the SIM card directly continues to perform the interaction process of the common card with the mobile terminal without performing any judgment process, and confirms that the SIM card is bound with the mobile terminal by the operator.
Generally, after the SIM card is successfully bound with the mobile terminal, the mobile terminal is notified that the binding is successful.
In practical application, after receiving the binding information of the mobile terminal, the binding identifier in the binding information may be confirmed in advance, and after the binding identifier is confirmed, whether the binding information is the first binding information or the second binding information is determined according to the binding type, so as to implement a subsequent binding process. Specifically, the flow refers to fig. 7, in which the second character of the binding identifier is 1 as an example. Exemplarily, after the SIM card is inserted into the mobile terminal and the initialization is successful, the SIM card sends a specific active command to the mobile terminal, where the active command carries the record information of the IMEI bit in the SIM card; then judging whether a response command with a preset format sent by the mobile terminal to the active command is received, if the response command is not received, stopping the interaction between the SIM card and the mobile terminal, and failing to bind; and if the response command is received, analyzing the response command, acquiring the binding information carried in the response command, and judging whether the binding identifier in the binding information is 1.
If the binding identifier is not 1, judging the binding type of the mobile terminal to be bound according to the carried binding type, if the binding type is IMEI binding, directly recording the IMEI of the mobile terminal to the IMEI position of the SIM card, continuing to perform an interaction process of a common card with the mobile terminal, and confirming that the IMEI binding with the mobile terminal is realized; if the operator binding is carried out, the method directly continues to carry out the interaction process of the common card with the mobile terminal without any judgment process, and confirms that the operator binding is realized with the mobile terminal.
If the binding identifier is 1, judging the binding type of the mobile terminal to be bound according to the carried binding type, if the binding type is IMEI binding, acquiring the recorded data of the IMEI bit in the SIM card, comparing the recorded data with the IMEI bit of the mobile terminal to be bound, if the recorded data and the IMEI bit are the same, indicating that the SIM card is the SIM card bound when the mobile terminal is bound for the first time, continuing the interaction process of a common card with the mobile terminal, and confirming that the IMEI binding is realized with the mobile terminal; if the SIM card and the mobile terminal are different, the SIM card bound when the SIM card is bound with the mobile terminal for the first time is different, and the SIM card stops interacting with the mobile terminal; if the operator binding is carried out, the method directly continues to carry out the interaction process of the common card with the mobile terminal without any judgment process, and confirms that the operator binding is realized with the mobile terminal.
According to the technical scheme provided by the embodiment, through introduction of two binding modes, namely IMEI binding and operator binding in the machine-card binding, the problem that the binding mode is single when the mobile terminal and the SIM card are bound is solved, different binding requirements of a user for realizing the machine-card binding can be met, and the binding information is directly interacted between the mobile terminal and the SIM card, so that the operation of inquiring the corresponding binding information in a background database when the machine-card binding is realized is simplified.
Example four
Fig. 8 is a schematic structural diagram of a device for machine-card binding applied to a mobile terminal according to a fourth embodiment of the present invention, where the device can execute the method for machine-card binding applied to a mobile terminal according to the fourth embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method. As shown in fig. 8, the apparatus includes:
a binding type obtaining module 410, configured to obtain a binding type of a current mobile terminal if an active command sent by the SIM card is received; a first sending module 420, configured to send first binding information to the SIM card when the binding type is IMEI binding, so that the SIM card is bound with an IMEI of the mobile terminal; and a second sending module 430, configured to send second binding information to the SIM card when the binding type is operator binding, so that the SIM card is bound with an operator of the mobile terminal.
According to the technical scheme provided by the embodiment, the problem of single binding mode existing when the mobile terminal and the SIM card are bound is solved by selecting the IMEI binding mode and the operator binding mode, different binding requirements of a user on machine-card binding can be met, and the operation that the corresponding binding information needs to be inquired in a background database when the machine-card binding is realized is simplified by directly interacting the binding information between the mobile terminal and the SIM card.
Further, the binding type obtaining module 410 specifically includes: the identification reading unit is used for reading the binding identification if receiving a positive command sent by the SIM card; the first type acquisition unit is used for carrying out binding prompt and determining the binding type when the SIM card is bound according to the acquired binding instruction when the binding identifier is the first character; and a second type obtaining unit configured to obtain, when the binding identifier is the second character, the historical binding type as a binding type when binding with the SIM card.
Further, when the binding identifier is a first character, the first sending module 420 specifically includes: the data acquisition unit is used for acquiring the recording data of the IMEI bit recorded by the SIM card in the active command when the binding type is IMEI binding; and the first information sending unit is used for sending first binding information to the SIM card when the recorded data is null data so as to enable the SIM card to realize IMEI binding with the mobile terminal.
Further, the first binding information includes: IMEI, binding type and binding identification of the mobile terminal.
Further, when the binding identifier is the first character, the second sending module 430 is specifically configured to: and when the binding type is operator binding, acquiring and storing the set identification data in the IMSI of the SIM card, and sending second binding information to the SIM card so as to realize the binding of the SIM card and the operator of the mobile terminal.
Further, when the binding identifier is a second character, the second sending module 430 includes: the SIM card comprises an identifier acquisition unit, a service provider binding unit and a service provider binding unit, wherein the identifier acquisition unit is used for acquiring set identifier data in the IMSI of the SIM card when the binding type is operator binding; and the second information sending unit is used for sending second binding information to the SIM card when the set identification data is the same as the historical identification data so as to enable the SIM card to be bound with the operator of the mobile terminal.
Further, the second binding information includes: a binding type and a binding identification.
EXAMPLE five
Fig. 9 is a schematic structural diagram of a device for machine-card binding applied to an SIM card according to a fifth embodiment of the present invention, where the device can execute the method for machine-card binding applied to an SIM card according to the foregoing embodiment, and has corresponding functional modules and beneficial effects of the execution method. As shown in fig. 9, the apparatus includes:
a command sending module 510, configured to send an active command to the mobile terminal; an IMEI binding module 520, configured to, when receiving first binding information sent by the mobile terminal, bind an IMEI with the mobile terminal according to the first binding information; and an operator binding module 530, configured to, when receiving second binding information sent by the mobile terminal, perform operator binding with the mobile terminal according to the second binding information.
According to the technical scheme provided by the embodiment, through introduction of two binding modes, namely IMEI binding and operator binding in the machine-card binding, the problem that the binding mode is single when the mobile terminal and the SIM card are bound is solved, different binding requirements of a user for realizing the machine-card binding can be met, and the binding information is directly interacted between the mobile terminal and the SIM card, so that the operation of inquiring the corresponding binding information in a background database when the machine-card binding is realized is simplified.
Further, the first binding information includes: IMEI, binding type and binding identification of the mobile terminal. When the binding identifier is the first character, the IMEI binding module 520 is specifically configured to: when first binding information sent by the mobile terminal is received, recording the IMEI of the mobile terminal in the IMEI position, and confirming that the IMEI binding is realized with the mobile terminal. When the binding identifier is the second character, the IMEI binding module 520 specifically includes: the recording data acquisition unit is used for acquiring the recording data of the IMEI bit when receiving the second binding information sent by the mobile terminal; and the confirmation binding unit is used for confirming that the IMEI binding is realized with the mobile terminal when the recorded data is the same as the IMEI of the mobile terminal.
EXAMPLE six
Fig. 10 is a schematic structural diagram of a device applied to a mobile terminal according to a sixth embodiment of the present invention. As shown in fig. 10, the apparatus includes a processor 60, a storage device 61, an input device 62, an output device 63, and a communication device 64; the number of processors 60 in the device may be one or more, and one processor 60 is taken as an example in fig. 10; the processor 60, the storage means 61, the input means 62, the output means 63 and the communication means 64 of the device may be connected by a bus or other means, as exemplified by the bus connection in fig. 10.
The storage device 61, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as modules corresponding to the method for machine-card binding of a mobile terminal in the embodiment of the present invention (for example, the binding type obtaining module 410, the first sending module 420, and the second sending module 430 in the device for machine-card binding of a mobile terminal). The processor 60 executes various functional applications of the device and data processing by executing software programs, instructions and modules stored in the storage device 61, that is, implements the above-described method for machine-card binding of a mobile terminal.
The storage device 61 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage device 61 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 61 may further include memory located remotely from the processor 60, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 62 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 63 may include a display device such as a display screen. The communication means 64 may be used for data communication with the SIM card in the card slot.
The device applied to the mobile terminal provided by this embodiment may be used to execute the method for machine-card binding applied to the mobile terminal provided by any of the above embodiments, and has corresponding functions and beneficial effects.
EXAMPLE seven
Fig. 11 is a schematic structural diagram of a device applied to a SIM card according to a seventh embodiment of the present invention. As shown in fig. 11, the apparatus comprises a processor 70, a storage means 71 and a communication means 72; the number of the processors 70 in the device may be one or more, and one processor 70 is taken as an example in fig. 11; the processing means 70, the storage means 71 and the communication means 72 of the device may be connected by a bus or other means, as exemplified by the bus connection in fig. 11.
The storage device 71, which is a computer-readable storage medium, can be used for storing software programs, computer-executable programs, and modules, such as modules corresponding to the method for machine-to-card binding of a SIM card in the embodiment of the present invention (for example, the proactive command sending module 510, the first binding module 520, and the second binding module 530 in the device for machine-to-card binding of a SIM). The processor 70 executes various functional applications and data processing of the device by executing software programs, instructions and modules stored in the storage 71, namely, implements the above-mentioned method for machine-to-card binding of the SIM card.
The storage device 71 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 71 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 71 may further include memory located remotely from the processor 70, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The communication means 72 may be used for data communication with a connected mobile terminal.
The device applied to the SIM card provided in this embodiment can be used to execute the method applied to the machine-card binding of the SIM card provided in any of the above embodiments, and has corresponding functions and advantages.
Example eight
An eighth embodiment of the present invention further provides a computer-readable storage medium applied to a mobile terminal, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for machine-card binding applied to the mobile terminal in any of the above embodiments can be implemented. The method specifically comprises the following steps:
if receiving an active command sent by the SIM card, acquiring the binding type of the current mobile terminal;
when the binding type is IMEI binding, first binding information is sent to the SIM card, so that the SIM card realizes the IMEI binding with the mobile terminal;
and when the binding type is operator binding, sending second binding information to the SIM card so that the SIM card is bound with the operator of the mobile terminal.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the method for machine-card binding applied to the mobile terminal provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
Example nine
The ninth embodiment of the present invention further provides a computer-readable storage medium applied to an SIM card, on which a computer program is stored, where the computer program, when executed by a processor, can implement any one of the above-mentioned embodiments of the method for machine-card binding applied to an SIM card. The method comprises the following steps:
sending an active command to the mobile terminal;
when first binding information sent by the mobile terminal is received, carrying out IMEI binding with the mobile terminal according to the first binding information;
and when second binding information sent by the mobile terminal is received, binding the operator with the mobile terminal according to the second binding information.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the method for machine-card binding applied to a SIM card provided by any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the apparatus, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A method for machine-card binding, comprising:
if receiving an active command sent by a subscriber identity module SIM card, acquiring the binding type of the current mobile terminal;
when the binding type is the international mobile equipment identity code IMEI binding, first binding information is sent to the SIM card, so that the SIM card realizes the IMEI binding with a mobile terminal;
when the binding type is operator binding, sending second binding information to the SIM card so that the SIM card realizes operator binding with the mobile terminal,
wherein the acquiring the binding type of the current mobile terminal comprises: reading a binding identifier; when the binding identifier is a first character, determining that the mobile terminal is bound with the SIM card for the first time, performing binding prompt for a user to select a binding type when the mobile terminal is bound with the SIM card, acquiring a binding instruction, and determining the binding type when the mobile terminal is bound with the SIM card according to the acquired binding instruction; when the binding identifier is a second character, determining that the mobile terminal is already bound with an SIM card, and acquiring a historical binding type as the binding type when the mobile terminal is bound with the SIM card;
after the binding identifier is a first character and operator binding is selected according to a binding prompt, setting identifier data of the IMSI in the SIM card are directly obtained, wherein the setting identifier data comprise MCC and MNC;
wherein, the binding identifier is a first character, and the sending the first binding information to the SIM card includes: acquiring record data of IMEI (international mobile equipment identity) bits recorded by the SIM card in the active command; when the recorded data is null data, sending first binding information to the SIM card;
wherein, the binding identifier is a first character, and the sending the second binding information to the SIM card includes: acquiring and storing set identification data in an International Mobile Subscriber Identity (IMSI) of the SIM card, and sending second binding information to the SIM card;
the binding identifier is a second character, and the sending of the second binding information to the SIM card includes: acquiring set identification data in the IMSI of the SIM card; when the set identification data is the same as the historical identification data, sending second binding information to the SIM card; the second binding information includes: a binding type and a binding identification.
2. The method of claim 1, wherein the first binding information comprises: IMEI, binding type and binding identification of the mobile terminal.
3. A method for machine-card binding, comprising:
sending an active command to the mobile terminal;
when first binding information sent by the mobile terminal is received, International Mobile Equipment Identity (IMEI) binding is carried out on the mobile terminal according to the first binding information;
when second binding information sent by the mobile terminal is received, operator binding is carried out with the mobile terminal according to the second binding information,
wherein the first binding information includes: IMEI, binding type and binding identifier of the mobile terminal;
when the binding identifier is a first character, the binding the IMEI with the mobile terminal according to the first binding information comprises: determining that the mobile terminal is bound with an SIM card for the first time, recording the IMEI of the mobile terminal in the IMEI position, and confirming that the IMEI is bound with the mobile terminal; when the binding identifier is a second character, the binding the IMEI with the mobile terminal according to the first binding information comprises: determining that the mobile terminal is bound with an SIM card, acquiring recorded data of an IMEI bit, and confirming that the IMEI binding is realized with the mobile terminal when the recorded data is the same as the IMEI of the mobile terminal;
after the binding identifier is a first character and operator binding is selected according to a binding prompt, setting identifier data of the IMSI in the SIM card are directly obtained, wherein the setting identifier data comprise MCC and MNC;
when the binding identifier is a first character, carrying out binding prompt, determining a binding type when the binding identifier is bound with the SIM card according to the obtained binding instruction, when the binding type is IMEI binding, obtaining recorded data of IMEI bit recorded by the SIM card in an active command, and when the recorded data is null data, sending first binding information to the SIM card;
the binding identifier is a first character, set identifier data in an International Mobile Subscriber Identity (IMSI) of the SIM card are acquired and stored, and second binding information is sent to the SIM card;
the binding identifier is a second character, and set identifier data in the IMSI of the SIM card is obtained; and when the set identification data is the same as the historical identification data, sending second binding information to the SIM card.
4. An apparatus for machine-card binding, comprising:
the binding type acquisition module is used for acquiring the binding type of the current mobile terminal if receiving an active command sent by a subscriber identity module SIM card;
the first sending module is used for sending first binding information to the SIM card when the binding type is International Mobile Equipment Identity (IMEI) binding so as to enable the SIM card to realize IMEI binding with a mobile terminal;
a second sending module, configured to send second binding information to the SIM card when the binding type is operator binding, so that the SIM card is bound with an operator of the mobile terminal;
wherein, the binding type obtaining module comprises: the identification acquisition unit is used for acquiring the binding identification if receiving the active command sent by the SIM card; a first type obtaining unit, configured to, when the binding identifier is a first character, determine that the mobile terminal is bound with the SIM card for the first time, perform a binding prompt, and determine a binding type when the mobile terminal is bound with the SIM card according to the obtained binding instruction; a second type obtaining unit, configured to determine that the mobile terminal has already been bound with the SIM card when the binding identifier is a second character, and obtain a historical binding type as a binding type when binding with the SIM card;
after the binding identifier is a first character and operator binding is selected according to a binding prompt, setting identifier data of the IMSI in the SIM card are directly obtained, wherein the setting identifier data comprise MCC and MNC;
when the binding identifier is a first character, the first sending module specifically includes: the data acquisition unit is used for acquiring the recording data of the IMEI bit recorded by the SIM card in the active command when the binding type is IMEI binding; the first information sending unit is used for sending first binding information to the SIM card when the recorded data is null data;
when the binding identifier is the first character, the second sending module is specifically configured to: when the binding type is operator binding, acquiring and storing set identification data in the IMSI of the SIM card, and sending second binding information to the SIM card;
when the binding identifier is a second character, the second sending module comprises: the SIM card comprises an identifier acquisition unit, a service provider binding unit and a service provider binding unit, wherein the identifier acquisition unit is used for acquiring set identifier data in the IMSI of the SIM card when the binding type is operator binding; and a second information sending unit for sending second binding information to the SIM card when the setting identification data is the same as the history identification data.
5. An apparatus for machine-card binding, comprising:
the active command sending module is used for sending an active command to the mobile terminal;
the first binding module is used for binding International Mobile Equipment Identity (IMEI) code with the mobile terminal according to the first binding information when the first binding information sent by the mobile terminal is received;
the second binding module is used for binding the operator with the mobile terminal according to the second binding information when receiving the second binding information sent by the mobile terminal;
wherein the first binding information includes: IMEI, binding type and binding identifier of the mobile terminal;
when the binding identifier is a first character, the first binding module is specifically configured to: determining that the mobile terminal is bound with an SIM card for the first time, recording the IMEI of the mobile terminal in the IMEI position, and confirming that the IMEI is bound with the mobile terminal; when the binding identifier is a second character, the second binding module is specifically configured to: determining that the mobile terminal is bound with an SIM card, acquiring recorded data of an IMEI bit, and confirming that the IMEI binding is realized with the mobile terminal when the recorded data is the same as the IMEI of the mobile terminal;
after the binding identifier is a first character and operator binding is selected according to a binding prompt, setting identifier data of the IMSI in the SIM card are directly obtained, wherein the setting identifier data comprise MCC and MNC;
when the binding identifier is a first character, carrying out binding prompt, determining a binding type when the binding identifier is bound with the SIM card according to the obtained binding instruction, when the binding type is IMEI binding, obtaining recorded data of IMEI bit recorded by the SIM card in an active command, and when the recorded data is null data, sending first binding information to the SIM card;
the binding identifier is a first character, set identifier data in an International Mobile Subscriber Identity (IMSI) of the SIM card are acquired and stored, and second binding information is sent to the SIM card;
the binding identifier is a second character, and set identifier data in the IMSI of the SIM card is obtained; and when the set identification data is the same as the historical identification data, sending second binding information to the SIM card.
6. An apparatus, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of machine-to-card binding of any of claims 1-2.
7. An apparatus, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of machine-to-card binding as claimed in claim 3.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of machine-card binding according to any one of claims 1-2.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of machine-card binding according to claim 3.
CN201710940812.8A 2017-10-11 2017-10-11 Method, device, equipment and storage medium for machine-card binding Active CN107666664B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710940812.8A CN107666664B (en) 2017-10-11 2017-10-11 Method, device, equipment and storage medium for machine-card binding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710940812.8A CN107666664B (en) 2017-10-11 2017-10-11 Method, device, equipment and storage medium for machine-card binding

Publications (2)

Publication Number Publication Date
CN107666664A CN107666664A (en) 2018-02-06
CN107666664B true CN107666664B (en) 2021-04-20

Family

ID=61097168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710940812.8A Active CN107666664B (en) 2017-10-11 2017-10-11 Method, device, equipment and storage medium for machine-card binding

Country Status (1)

Country Link
CN (1) CN107666664B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110446200A (en) * 2018-05-03 2019-11-12 北京握奇智能科技有限公司 A kind of method and system of internet of things service binding machine and card
CN111031532A (en) * 2019-11-25 2020-04-17 深圳市优友互联有限公司 SIM card, machine-card binding method, alarm method and platform
CN112203269B (en) * 2020-09-29 2023-06-23 Oppo(重庆)智能科技有限公司 Identification method, identification device, terminal, customer identification module card and storage medium
CN112839325B (en) * 2020-12-29 2024-08-09 北京握奇智能科技有限公司 Method for realizing machine-card binding by card end application

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1541015A (en) * 2003-10-31 2004-10-27 大唐微电子技术有限公司 Method and system of preventing handset from theft by using international id code of mobile facilities
CN101056443A (en) * 2007-05-25 2007-10-17 中兴通讯股份有限公司 A method and device for binding and unbinding the terminal device with the user identification card
CN101616401A (en) * 2009-07-21 2009-12-30 中兴通讯股份有限公司 Realize method, unlock method and the device of locking of user number by wireless terminal device
CN103079187A (en) * 2011-10-25 2013-05-01 刘艺 Method for determining cell phone identity in IP (Internet Protocol) network
CN105188050A (en) * 2014-05-27 2015-12-23 中兴通讯股份有限公司 Card dynamic bonding method, equipment and system
CN105228125A (en) * 2014-05-27 2016-01-06 中兴通讯股份有限公司 A kind of smart card dynamic binding method, apparatus and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8146153B2 (en) * 2007-12-31 2012-03-27 Sandisk Technologies Inc. Method and system for creating and accessing a secure storage area in a non-volatile memory card

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1541015A (en) * 2003-10-31 2004-10-27 大唐微电子技术有限公司 Method and system of preventing handset from theft by using international id code of mobile facilities
CN101056443A (en) * 2007-05-25 2007-10-17 中兴通讯股份有限公司 A method and device for binding and unbinding the terminal device with the user identification card
CN101616401A (en) * 2009-07-21 2009-12-30 中兴通讯股份有限公司 Realize method, unlock method and the device of locking of user number by wireless terminal device
CN103079187A (en) * 2011-10-25 2013-05-01 刘艺 Method for determining cell phone identity in IP (Internet Protocol) network
CN105188050A (en) * 2014-05-27 2015-12-23 中兴通讯股份有限公司 Card dynamic bonding method, equipment and system
CN105228125A (en) * 2014-05-27 2016-01-06 中兴通讯股份有限公司 A kind of smart card dynamic binding method, apparatus and system

Also Published As

Publication number Publication date
CN107666664A (en) 2018-02-06

Similar Documents

Publication Publication Date Title
CN107666664B (en) Method, device, equipment and storage medium for machine-card binding
CN103686788B (en) Terminal and network parameter configuration method and device thereof
CN101296443B (en) Multi-standby terminal and method for self-registration
JP2012533926A (en) Method and apparatus for verification of telephone numbers
CN104883704B (en) A kind of automatic error correction method and device of mobile terminal access point parameters
CN104936282A (en) Method and device for registering converged communication service
CN109314846B (en) Subscriber self-activation device, program, and method
CN107318098A (en) A kind of terminal control method, SIM cards, communication module and terminal
CN102378223B (en) System and method for remote management on M2M terminal
CN111263377B (en) Network configuration method, device, equipment and system and distribution network testing method and system
CN111479259A (en) SIM card configuration distribution method and system
CN102256241B (en) Method, server and intelligent card for acquiring bearer independent protocol (BIP) information of terminal
CN111182611B (en) Communication method and device
CN102075915A (en) Mobile terminal and parameter setting method thereof
CN111722938A (en) AT instruction processing method, AT instruction processing device, computer equipment and storage medium
CN102752739B (en) Open chucking method, terminal, server and system in the air
CN112752258B (en) eSIM card opening method, mobile phone terminal and service acceptance system
CN103313245B (en) Based on the Network access method of mobile phone terminal, equipment and system
CN109039427B (en) Ship monitoring management device
CN104185168A (en) Method of acquiring own number, system and terminal
CN106571932A (en) Traffic-free service prompt method, traffic-free service prompt device, and electronic equipment
CN111328031A (en) Message forwarding method and device
WO2012034390A1 (en) Method and system for configuring wireless terminal
CN115001889A (en) Device control method, electronic device, and storage medium
CN107846705B (en) Data query method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518108 No. 39 Zhulongtian Road, Paddy Field Community, Shiyan Street, Baoan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Huiye Wulian Technology Co., Ltd.

Address before: 518108 No. 39 Zhulongtian Road, Paddy Field Community, Shiyan Street, Baoan District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen Huiye Communications Technologies Co., Ltd.

CB02 Change of applicant information
TA01 Transfer of patent application right

Effective date of registration: 20200116

Address after: 518108 Guangdong city of Shenzhen province Baoan District Shiyan Street Community wish Dragon Road No. 39 in paddy field

Applicant after: Shenzhen Huiye Wulian Technology Co., Ltd.

Applicant after: Chongqing Huiye Communication Technology Co., Ltd

Address before: 518108 Guangdong city of Shenzhen province Baoan District Shiyan Street Community wish Dragon Road No. 39 in paddy field

Applicant before: Shenzhen Huiye Wulian Technology Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant