CN112839325B - Method for realizing machine-card binding by card end application - Google Patents

Method for realizing machine-card binding by card end application Download PDF

Info

Publication number
CN112839325B
CN112839325B CN202011601530.3A CN202011601530A CN112839325B CN 112839325 B CN112839325 B CN 112839325B CN 202011601530 A CN202011601530 A CN 202011601530A CN 112839325 B CN112839325 B CN 112839325B
Authority
CN
China
Prior art keywords
card
terminal equipment
value
binding
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
CN202011601530.3A
Other languages
Chinese (zh)
Other versions
CN112839325A (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.)
Beijing WatchSmart Technologies Co Ltd
Original Assignee
Beijing WatchSmart Technologies 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 Beijing WatchSmart Technologies Co Ltd filed Critical Beijing WatchSmart Technologies Co Ltd
Priority to CN202011601530.3A priority Critical patent/CN112839325B/en
Publication of CN112839325A publication Critical patent/CN112839325A/en
Application granted granted Critical
Publication of CN112839325B publication Critical patent/CN112839325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to a method for realizing machine-card binding by a card end application, which comprises the following steps: s1, configuring a terminal equipment binding scheme before issuing a card; s2, backing up the effective value of the IMSI file in the smart card when the smart card is started for the first time; s3, when the terminal equipment is started up each time, the intelligent card obtains an IMEI value from the terminal equipment by using an active command; s4, if not, the intelligent card stores the IMEI value returned by the current terminal equipment for binding, and the current terminal equipment is directly allowed to access the network; s5, the intelligent card directly judges whether the acquired IMEI value is the same as the IMEI value of the terminal equipment to be bound which is prefabricated in the card; and S6, when the intelligent card detects that the IMEI value returned by the terminal equipment is consistent with the IMEI value of the bound terminal equipment, allowing the current terminal equipment to access the network, and if the IMEI value is inconsistent with the IMEI value of the bound terminal equipment, not allowing the current terminal equipment to access the network. The invention can be used for binding the terminal equipment with the (U) SIM card inserted for the first time, and also can be used for binding the terminal equipment with the appointed IMEI value, so that the COS function is separated, the cooperation of a server is not needed, and the flexibility is higher.

Description

Method for realizing machine-card binding by card end application
Technical Field
The invention relates to the technical field of binding of smart cards and terminal equipment, in particular to a method for realizing machine-card binding by card end application.
Background
The demands of various large operators on machine card binding always exist, and most of the existing machine card binding schemes have the problems of complex flow, insufficient timeliness and poor compatibility. The current machine-card binding method mainly comprises a server-side control machine-card binding method and a card-side authentication instruction control machine-card binding method.
Taking a server-side controller card binding method as an example, the existing server-side controller card binding method mainly comprises the following steps: (1) (U) the SIM card is started to obtain the IMEI value of the mobile phone; (2) The IMEI value and other data agreed with the server are uploaded to the server together; (3) The server detects whether the IMEI value is a bound terminal device, the bound terminal device can access the network, and the unbound terminal device cannot access the network. The defects are mainly shown in the following steps: 1. the machine card binding is completed by the joint processing of the card end and the server end, the flow is complex, and the flexibility is poor; 2. network interaction exists, and timeliness is poor.
Taking a card end authentication instruction control machine-card binding method as an example, the existing card end authentication instruction control machine-card binding method mainly comprises the following steps: (1) (U) the SIM card is started to obtain the IMEI value of the mobile phone; (2) (U) the SIM card detects the IMEI value to judge whether the IMEI value is a bound terminal device, and sets a network access identifier; (3) And (U) when the SIM card receives the authentication instruction, detecting the network access identification, completing network access authentication if network access is possible, and reporting the authentication instruction by mistake if network access is not possible. The defects are mainly shown in the following steps: 1. the method is realized in the COS in the card, and has poor flexibility; 2. the sending time and the sending times of the authentication instruction depend on the setting of the terminal and the base station, and compatibility is caused.
Based on the technical defects of the existing server-side machine-card binding control method and the card-side authentication instruction-controlled machine-card binding method, the patent designs a method for realizing machine-card binding by adopting card-side application.
Disclosure of Invention
The invention aims to solve the technical defects in the prior art and provides a method for realizing machine-card binding by card end application.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
A method for realizing machine-card binding by card end application, the method for realizing machine-card binding comprises the following steps:
s1, configuring a terminal equipment binding scheme before issuing a card, and binding terminal equipment after the smart card is inserted for the first time;
S2, after personalization, backing up the effective value of the IMSI file in the smart card when the smart card is started for the first time;
S3, when the terminal equipment is started up each time, the intelligent card obtains an IMEI value from the terminal equipment by using an active command provide local information;
S4, if the current configuration is used for binding the terminal equipment into which the smart card is inserted for the first time, the smart card detects whether the smart card is bound with the terminal equipment or not, if the smart card is not bound, the smart card stores an IMEI value returned by the current terminal equipment for binding, and exits from a follow-up machine card binding application flow, so that the current terminal equipment is directly allowed to access the network;
If so, the smart card judges whether the IMEI value returned by the current terminal equipment is the same as the IMEI value of the terminal equipment bound in the smart card;
s5, if the current configuration is binding the specified IMEI value or part of the IMEI value, the intelligent card directly judges whether the obtained IMEI value is the same as the IMEI value of the terminal equipment to be bound which is prefabricated in the card;
And S6, when the intelligent card detects that the IMEI value returned by the terminal equipment is consistent with the IMEI value of the bound terminal equipment, allowing the current terminal equipment to access the network, and if the IMEI value is inconsistent with the IMEI value of the bound terminal equipment, not allowing the current terminal equipment to access the network.
Further, after the terminal equipment is allowed to access the network according to the steps, the intelligent card checks whether the value of the IMSI file in the card is an effective value, if the value is the effective value, the intelligent card exits the subsequent machine-card binding application flow and directly accesses the network;
If the value is not the effective value, the intelligent card writes the backup IMSI effective value into the IMSI file, and sends a refresh active command to enable the terminal equipment to restart the intelligent card.
Further, after the terminal equipment is not allowed to access the network according to the steps, the intelligent card detects whether the value of the IMSI file in the card is an invalid value, if the value is the invalid value, the intelligent card exits the subsequent machine-card binding application flow, and the network access is impossible;
if the value is not the invalid value, the intelligent card clears the IMSI file to be the invalid value, the first byte is 0, the subsequent bytes are all FF, and a refresh active command is sent to enable the terminal equipment to restart the intelligent card.
Further, if the refresh active command fails to execute, the smart card resends the refresh active command until the transmission is successful.
Further, TIMER MANAGEMENT management or status command triggers are employed at the time of refresh proactive command retransmission.
Further, with status command triggering, refresh proactive command execution fails, and refresh execution is triggered every time the number of status commands agreed reaches the trigger number, until the set number of retransmissions clears 0.
Further, the smart card is a SIM card, a UIM card or a USIM card.
The beneficial effects of the invention are as follows: the (U) SIM card end controls whether the terminal equipment inserted with the (U) SIM card can access the network by controlling the validity or invalidity of the network file value in the card, such as the IMSI file. The invention can be used for binding the terminal equipment with the (U) SIM card inserted for the first time, can also be used for binding the terminal equipment with the appointed IMEI value, is also suitable for binding the terminal equipment with the appointed IMEI value part, and simultaneously, the scheme belongs to card end application function development, breaks away from COS functions, does not need server end cooperation, and has higher flexibility.
Drawings
FIG. 1 is a schematic flow chart of the machine card binding of the present invention;
fig. 2 is a main flowchart of a startup of a terminal device into which a binding (U) SIM card of the present invention is first inserted.
Detailed Description
As shown in fig. 1 and fig. 2, a method for implementing machine-card binding by a card-end application includes:
s1, configuring a terminal equipment binding scheme before issuing a card, and binding terminal equipment after the smart card is inserted for the first time;
S2, after personalization, backing up the effective value of the IMSI file in the smart card when the smart card is started for the first time;
S3, when the terminal equipment is started up each time, the intelligent card obtains an IMEI value from the terminal equipment by using an active command provide local information;
S4, if the current configuration is used for binding the terminal equipment into which the smart card is inserted for the first time, the smart card detects whether the smart card is bound with the terminal equipment or not, if the smart card is not bound, the smart card stores an IMEI value returned by the current terminal equipment for binding, and exits from a follow-up machine card binding application flow, so that the current terminal equipment is directly allowed to access the network;
If so, the smart card judges whether the IMEI value returned by the current terminal equipment is the same as the IMEI value of the terminal equipment bound in the smart card;
s5, if the current configuration is binding the specified IMEI value or part of the IMEI value, the intelligent card directly judges whether the obtained IMEI value is the same as the IMEI value of the terminal equipment to be bound which is prefabricated in the card;
And S6, when the intelligent card detects that the IMEI value returned by the terminal equipment is consistent with the IMEI value of the bound terminal equipment, allowing the current terminal equipment to access the network, and if the IMEI value is inconsistent with the IMEI value of the bound terminal equipment, not allowing the current terminal equipment to access the network.
Further, after the terminal equipment is allowed to access the network according to the steps, the intelligent card checks whether the value of the IMSI file in the card is an effective value, if the value is the effective value, the intelligent card exits the subsequent machine-card binding application flow and directly accesses the network;
If the value is not the effective value, the intelligent card writes the backup IMSI effective value into the IMSI file, and sends a refresh active command to enable the terminal equipment to restart the intelligent card.
After determining that the terminal equipment is not allowed to access the network according to the steps, the intelligent card detects whether the value of the IMSI file in the card is an invalid value, if the value is the invalid value, the intelligent card exits from the subsequent machine-card binding application flow, and cannot access the network;
if the value is not the invalid value, the intelligent card clears the IMSI file to be the invalid value, the first byte is 0, the subsequent bytes are all FF, and a refresh active command is sent to enable the terminal equipment to restart the intelligent card.
Further, if the refresh active command fails to execute, the smart card resends the refresh active command until the transmission is successful.
Further, at the time of refresh active command retransmission, TIMER MANAGEMENT management or status command trigger is adopted, and the method is not limited.
Further, with status command triggering, refresh proactive command execution fails, and refresh execution is triggered every time the number of status commands agreed reaches the trigger number, until the set number of retransmissions clears 0.
In this embodiment, the smart card is preferably a SIM card, UIM card or USIM card.
The (U) SIM card end controls whether the terminal equipment inserted with the (U) SIM card can access the network by controlling the validity or invalidity of the network file value in the card, such as the IMSI file. The invention can be used for binding the terminal equipment with the (U) SIM card inserted for the first time, can also be used for binding the terminal equipment with the appointed IMEI value, is also suitable for binding the terminal equipment with the appointed IMEI value part, and simultaneously, the scheme belongs to card end application function development, breaks away from COS functions, does not need server end cooperation, and has higher flexibility.
The foregoing has shown and described the basic principles, principal features and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, and that the above embodiments and descriptions are merely illustrative of the principles of the present invention, and various changes and modifications may be made therein without departing from the spirit and scope of the invention, which is defined by the appended claims. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (6)

1. The method for realizing the machine-card binding by the card end application is characterized in that the method for realizing the machine-card binding is applied to the card end application and comprises the following steps:
s1, configuring a terminal equipment binding scheme before issuing a card, and binding terminal equipment after the smart card is inserted for the first time;
S2, after personalization, backing up the effective value of the IMSI file in the smart card when the smart card is started for the first time;
S3, when the terminal equipment is started up each time, the intelligent card obtains an IMEI value from the terminal equipment by using an active command provide local information;
S4, if the current configuration is used for binding the terminal equipment into which the smart card is inserted for the first time, the smart card detects whether the smart card is bound with the terminal equipment or not, if the smart card is not bound, the smart card stores an IMEI value returned by the current terminal equipment for binding, and exits from a follow-up machine card binding application flow, so that the current terminal equipment is directly allowed to access the network;
If so, the smart card judges whether the IMEI value returned by the current terminal equipment is the same as the IMEI value of the terminal equipment bound in the smart card;
S5, when the intelligent card detects that the IMEI value returned by the terminal equipment is consistent with the IMEI value of the bound terminal equipment, allowing the current terminal equipment to access the network, and if the IMEI value is inconsistent with the IMEI value of the bound terminal equipment, not allowing the current terminal equipment to access the network;
S6, if the current configuration is binding the specified IMEI value or part of the IMEI value, the intelligent card directly judges whether the obtained IMEI value is the same as the IMEI value of the terminal equipment to be bound which is prefabricated in the card;
After the terminal equipment is allowed to access the network according to the steps, the intelligent card checks whether the value of the IMSI file in the card is an effective value, if the value is the effective value, the intelligent card exits the subsequent machine-card binding application flow and directly accesses the network;
If the value is not the effective value, the intelligent card writes the backup IMSI effective value into the IMSI file, and sends a refresh active command to enable the terminal equipment to restart the intelligent card.
2. The method for realizing machine-card binding by card end application according to claim 1, wherein after determining that terminal equipment is not allowed to access the network according to the steps, the smart card detects whether the value of the IMSI file in the card is an invalid value, if the value is the invalid value, the smart card exits from the subsequent machine-card binding application flow, and cannot access the network;
if the value is not the invalid value, the intelligent card clears the IMSI file to be the invalid value, the first byte is 0, the subsequent bytes are all FF, and a refresh active command is sent to enable the terminal equipment to restart the intelligent card.
3. A method for implementing machine-card binding for card-side applications according to claim 1 or 2, wherein if the refresh-active command fails to execute, the smart card resends the refresh-active command until the transmission is successful.
4. A method for implementing machine-card binding by a card-side application according to claim 3, wherein TIMER MANAGEMENT management or status command triggers are employed at the time of refresh active command retransmission.
5. The method for implementing machine-card binding by card end application according to claim 4, wherein when status command triggering is adopted, refresh active command execution fails, and refresh execution is triggered every time the number of agreed status commands reaches the trigger number, until the set retransmission number is clear 0.
6. A method for implementing machine-card binding by a card-side application according to claim 3, wherein the smart card is a SIM card, a UIM card or a USIM card.
CN202011601530.3A 2020-12-29 2020-12-29 Method for realizing machine-card binding by card end application Active CN112839325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011601530.3A CN112839325B (en) 2020-12-29 2020-12-29 Method for realizing machine-card binding by card end application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011601530.3A CN112839325B (en) 2020-12-29 2020-12-29 Method for realizing machine-card binding by card end application

Publications (2)

Publication Number Publication Date
CN112839325A CN112839325A (en) 2021-05-25
CN112839325B true CN112839325B (en) 2024-08-09

Family

ID=75925290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011601530.3A Active CN112839325B (en) 2020-12-29 2020-12-29 Method for realizing machine-card binding by card end application

Country Status (1)

Country Link
CN (1) CN112839325B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107666664A (en) * 2017-10-11 2018-02-06 深圳辉烨通讯技术有限公司 A kind of method, apparatus of binding machine and card, equipment and storage medium
CN107872786A (en) * 2016-09-23 2018-04-03 中国移动通信有限公司研究院 A kind of control method and smart card

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079203B (en) * 2013-02-05 2016-01-20 北京握奇数据系统有限公司 A kind of terminal authentication method and smart card
CN104811926A (en) * 2014-01-26 2015-07-29 中兴通讯股份有限公司 Mobile terminal network-locking and card-locking methods, devices, mobile terminal and SIM card
WO2018157484A1 (en) * 2017-03-01 2018-09-07 华为技术有限公司 Network configuration method and terminal
JP6643728B2 (en) * 2017-03-08 2020-02-12 富士通クライアントコンピューティング株式会社 Terminal device, registration processing program and registration processing method
CN108574946A (en) * 2017-03-10 2018-09-25 北京信威通信技术股份有限公司 A kind of personalization method and device of smart card
WO2019113928A1 (en) * 2017-12-15 2019-06-20 Orange Anti-theft mobile terminal and method for controlling the extraction of memory card out from mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107872786A (en) * 2016-09-23 2018-04-03 中国移动通信有限公司研究院 A kind of control method and smart card
CN107666664A (en) * 2017-10-11 2018-02-06 深圳辉烨通讯技术有限公司 A kind of method, apparatus of binding machine and card, equipment and storage medium

Also Published As

Publication number Publication date
CN112839325A (en) 2021-05-25

Similar Documents

Publication Publication Date Title
JP6305559B2 (en) Secure element management method and terminal
CN101965581B (en) System and method for installing smart card applet
CN110704077A (en) Firmware remote upgrading method and device, terminal, mobile device and storage medium
US11930558B2 (en) Method for providing subscription profiles, subscriber identity module and subscription server
CN108029011A (en) Method, equipment and the system that a kind of SIM card is migrated to eUICC
CN108848499B (en) Activation method
CN112351471A (en) Method for accessing device to gateway, gateway device and computer readable storage medium
CN112004222B (en) USAT application matching management method, terminal, USIM and system
CN102256241B (en) Method, server and intelligent card for acquiring bearer independent protocol (BIP) information of terminal
CN111142885B (en) eSIM equipment management method, device, equipment and storage medium
US20110320600A1 (en) Sharing Access for Clients
CN112637931A (en) Method and device for establishing network connection
CN112839325B (en) Method for realizing machine-card binding by card end application
JP2023546509A (en) Methods and devices for establishing communication connections
CN111726367B (en) Method, device, system and equipment for binding access of Customer Premises Equipment (CPE)
CN117527338A (en) Bidirectional identity enhanced identification method and system in Internet of things application
CN109802886B (en) Method and device for binding third party public number, air conditioner and storage medium
CN110213795B (en) Method for simultaneously communicating double SIM cards, mobile terminal and storage medium
JP3957539B2 (en) Wireless communication base station equipment
CN105873026A (en) Method for activating eSIM (Embedded Subscriber Identity Module), mobile terminal and server
CN109871288A (en) Execute method, apparatus, equipment and the medium of android system order
CN104284391B (en) Wireless client cut-in method and device
EP3047660B1 (en) Method of communicating between a server and a secure element
CN111556015A (en) Embedded user identification card development platform and embedded user identification card configuration method
CN113282321A (en) Firmware updating method and system for intelligent equipment

Legal Events

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