CN104484691A - Method and system for personalizing (U) SIM cards based on Android system - Google Patents

Method and system for personalizing (U) SIM cards based on Android system Download PDF

Info

Publication number
CN104484691A
CN104484691A CN201410816843.9A CN201410816843A CN104484691A CN 104484691 A CN104484691 A CN 104484691A CN 201410816843 A CN201410816843 A CN 201410816843A CN 104484691 A CN104484691 A CN 104484691A
Authority
CN
China
Prior art keywords
card
card reader
judged result
write
mutual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410816843.9A
Other languages
Chinese (zh)
Other versions
CN104484691B (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.)
Eastcompeace Technology Co Ltd
Original Assignee
Eastcompeace 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 Eastcompeace Technology Co Ltd filed Critical Eastcompeace Technology Co Ltd
Priority to CN201410816843.9A priority Critical patent/CN104484691B/en
Publication of CN104484691A publication Critical patent/CN104484691A/en
Application granted granted Critical
Publication of CN104484691B publication Critical patent/CN104484691B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for personalizing (U) SIM (Universe Subscriber Identity Module) cards based on an Android system. The method comprises the following steps: connecting (U) SIM cards to a card reader and electrifying the cards; judging whether needing to carry out simulation of startup interaction; carrying out simulation of startup interaction if the judgment result is yes, then assembling card-writing commands, and invoking a card reader interface and sending card writing commands; directly sending the card writing commands if the judgment result is no; acquiring a check Mac value after the cards are successfully written; de-electrifying the card, finishing writing cards and returning card writing results. According to the method and the system, the condition that card writing components are independently and secondarily developed by card manufacturers can be avoided; with compatibility of upper service programs, the self-service replacement of cards and self-service writing of cards of the Android system are realized; the card distribution and number allocation channel is expanded; the management of cards and components is reduced; the working efficiency is improved; the benefits of enterprises are improved.

Description

Based on (U) SIM card personalization method and the system of android system
Technical field
The present invention relates to mobile communication technology field, be specifically related to a kind of (U) SIM card personalization method based on android system and realize the system of the method.
Background technology
Traditional scene is write each card manufacturer of calorie requirement and is provided independent and write card assembly, and on PC, card can only be write by the PCSC card reader scene of completing, form is more single, and need the secondary development oneself of card manufacturer write card assembly, add the handling cost writing card assembly.
Summary of the invention
Because described in background technology, the object of this invention is to provide the on-the-spot card writing method of a kind of novel Android to the on-the-spot card writing method replacing traditional PC to add card reader, card is write at the scene realizing (U) Sim card of Android device; Adopt unified interface, realize compatible each card vendor (U) the Sim card of bottom, the scene of each model card reader writes card, the compatible various Android operation system in upper strata.
The object of the invention is to be achieved through the following technical solutions:
Based on (U) SIM card personalization method of android system, it comprises the following steps:
Described (U) SIM card is connected card reader, this card is powered on;
Judge whether to need to perform simulation start mutual;
If judged result is yes, perform simulation start mutual, then assembledly write card instruction, call card reader interface and send and write card instruction;
If judged result is no, then directly send and write card instruction;
After writing card success, obtain verification Mac value;
Under described card, electricity, writes card and completes, return and write card result.
After card instruction is write in described transmission, also comprise:
Whether successfully judge to write card;
If judged result is yes, obtain described verification Mac value, electric under then making card;
If judged result is no, then electric under directly carrying out card.
Wherein, described simulation start is mutual, comprises the following steps:
Read the terminal file of described (U) SIM card;
Judge return state value whether non-9000;
If judged result is yes, open the installation menu of described card, then continue to judge whether return state value is 9000;
If judged result is yes, end simulation start interaction flow;
If judged result is no, get back to and judge return state value whether non-9000.
The type of described card reader comprises: USB card reader, Bluetooth card reader, serial-port card reader, built-in card reader.
The present invention also provides a kind of (U) SIM card personalization system based on android system for realizing said method, and it comprises:
Card reader;
Electric control module on card, it, for after described (U) SIM card connects described card reader, makes this card power on;
Judge module, it is mutual for judging whether to need to perform simulation start;
Simulate start interactive module, it, for when judged result is started shooting mutual for performing simulation, performs simulation start mutual;
Sending module, its for when execute simulation start mutual after, or when judged result for do not perform simulation start mutual after, assembledly write card instruction, call card reader interface transmission and write card instruction;
Obtain proof test value module, it, for after writing card success, obtains and verifies Mac value;
Electric control module under card, it, for controlling electricity under described card, is write card and completes.
Described simulation start interactive module, comprising:
Reading unit, it is for reading the terminal document information of described (U) SIM card;
First judging unit, it is for judging return state value whether non-9000;
Install menu cell, it, for being return state value non-9000 when judged result, opens the installation menu of described card;
Second judging unit, its for open described card installation menu after, continue to judge whether return state value is 9000;
End unit, whether it is 9000 for being return state value when judged result, end simulation start interaction flow;
Return unit, it is not 9000 for being return state value when judged result, gets back to and judges return state value whether non-9000.
The type of described card reader comprises: USB card reader, Bluetooth card reader, serial-port card reader, built-in card reader.
Compared with prior art, the present invention possesses following advantage:
1, the on-the-spot card writing method of Android platform (U) Sim card has been unified;
2, unify Android platform (U) Sim card scene and write card bottom card reader interface;
3, unify Android platform (U) Sim card scene and write card interface;
4, accomplish that card independence, the card reader independence of card are write in Android platform (U) Sim card scene; Compatible each business.
To sum up, the present invention, by the on-the-spot card writing method of unified (U) Sim, avoids the independent secondary development scene of each card vendor and writes card assembly.And compatible upper-layer service program realizes the self-service of android system changes card, self-servicely write card etc.; Widened hair fastener distribute telephone numbers channel, decrease card, assembly management.Improve work efficiency, add the performance of enterprises.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of method described in embodiment one;
Fig. 2 is simulation start interaction diagrams.
Embodiment
embodiment one:
The present embodiment provides a kind of (U) SIM card personalization method based on android system, and as shown in Figure 1, it comprises the following steps:
Described (U) SIM card is connected card reader;
(U) SIM card is powered on;
Send Terminal Profile order to (U) SIM: to judge whether that performing simulation starts shooting mutual by rreturn value, if 9000 do not need to perform simulation start alternately, if non-9000, need to perform simulation start mutual;
If judged result is yes, perform simulation start mutual, then assembledly write card instruction, call card reader interface and send and write card instruction;
If judged result is no, then directly send and write card instruction;
Whether successfully judge to write card result;
If judged result is yes, obtain verification Mac value, electric under then making card;
If judged result is no, electric under directly making card;
Close card reader;
Write card to complete;
Return and write card result.
Wherein, described simulation start interaction flow, comprises the following steps:
Read the terminal file of described (U) SIM card;
Judge return state value whether non-9000;
If judged result is yes, open the installation menu of described card, then continue to judge whether return state value is 9000;
If judged result is yes, end simulation start interaction flow;
If judged result is no, get back to and judge return state value whether non-9000.
The type of described card reader can be one of following: USB card reader, Bluetooth card reader, serial-port card reader, built-in card reader.
embodiment two:
The present embodiment provides a kind of (U) SIM card personalization system based on android system for realizing method described in embodiment one, and it comprises:
Card reader;
Electric control module on card, it, for after described (U) SIM card connects described card reader, makes this card power on;
Judge module, it is mutual for judging whether to need to perform simulation start;
Simulate start interactive module, it, for when judged result is started shooting mutual for performing simulation, performs simulation start mutual;
Sending module, its for when execute simulation start mutual after, or when judged result for do not perform simulation start mutual after, assembledly write card instruction, call card reader interface transmission and write card instruction;
Obtain proof test value module, it, for after writing card success, obtains and verifies Mac value;
Electric control module under card, it, for controlling electricity under described card, is write card and completes.
Described simulation start interactive module, comprising:
Reading unit, it is for reading the terminal file of described (U) SIM card;
First judging unit, it is for judging return state value whether non-9000;
Install menu cell, it, for being return state value non-9000 when judged result, opens the installation menu of described card;
Second judging unit, its for open described card installation menu after, continue to judge whether return state value is 9000;
End unit, whether it is 9000 for being return state value when judged result, end simulation start interaction flow;
Return unit, it is not 9000 for being return state value when judged result, gets back to and judges return state value whether non-9000.
Identical with embodiment one, the type of described card reader can be one of following: USB card reader, Bluetooth card reader, serial-port card reader, built-in card reader.

Claims (7)

1., based on (U) SIM card personalization method of android system, it is characterized in that: comprise the following steps:
Described (U) SIM card is connected card reader, this card is powered on;
Judge whether to need to perform simulation start mutual;
If judged result is yes, perform simulation start mutual, then assembledly write card instruction, call card reader interface and send and write card instruction;
If judged result is no, then directly send and write card instruction;
After writing card success, obtain verification Mac value;
Under described card, electricity, writes card and completes, return and write card result.
2. method according to claim 1, is characterized in that: after card instruction is write in described transmission, also comprise:
Whether successfully judge to write card;
If judged result is yes, obtain described verification Mac value, electric under then making card;
If judged result is no, then electric under directly carrying out card;
Return and write card result.
3. method according to claim 1, is characterized in that: described simulation start is mutual, comprises the following steps:
Read the terminal file of described (U) SIM card;
Judge return state value whether non-9000;
If judged result is yes, open the installation menu of described card, then continue to judge whether return state value is 9000; If judged result is no, direct end simulation start is mutual;
The result judged as continued is yes, end simulation start interaction flow;
Result as continued to judge is no, gets back to the step of the installation menu opening described card.
4. method according to claim 1, is characterized in that: the type of described card reader comprises: USB card reader, Bluetooth card reader, serial-port card reader, built-in card reader.
5., for realizing (U) SIM card personalization system based on android system of said method, it is characterized in that, comprise:
Card reader;
Electric control module on card, it, for after described (U) SIM card connects described card reader, makes this card power on;
Judge module, it is mutual for judging whether to need to perform simulation start;
Simulate start interactive module, it, for when judged result is started shooting mutual for performing simulation, performs simulation start mutual;
Sending module, its for when execute simulation start mutual after, or when judged result for do not perform simulation start mutual after, assembledly write card instruction, call card reader interface transmission and write card instruction;
Obtain proof test value module, it, for after writing card success, obtains and verifies Mac value;
Electric control module under card, it, for controlling electricity under described card, is write card and completes;
Card result returns module, and it writes card result for returning card.
6. system according to claim 5, is characterized in that, described simulation start interactive module, comprising:
Reading unit, it is for reading the terminal file of described (U) SIM card;
First judging unit, it is for judging return state value whether non-9000;
Menu cell being installed, when it is non-9000 for being return state value when judged result, opening the installation menu of described card;
Second judging unit, its for open described card installation menu after, continue to judge whether return state value is 9000;
End unit, when it is 9000 for being return state value when the judged result of the first judging unit or the second judging unit, end simulation start interaction flow;
Returning unit, when it is not 9000 for being return state value when the second judging unit judged result, getting back to the step of the installation menu opening described card.
7. system according to claim 5, is characterized in that: the type of described card reader comprises: USB card reader, Bluetooth card reader, serial-port card reader, built-in card reader.
CN201410816843.9A 2014-12-25 2014-12-25 (U) SIM card personalization method based on android system and system Active CN104484691B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410816843.9A CN104484691B (en) 2014-12-25 2014-12-25 (U) SIM card personalization method based on android system and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410816843.9A CN104484691B (en) 2014-12-25 2014-12-25 (U) SIM card personalization method based on android system and system

Publications (2)

Publication Number Publication Date
CN104484691A true CN104484691A (en) 2015-04-01
CN104484691B CN104484691B (en) 2018-09-21

Family

ID=52759232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410816843.9A Active CN104484691B (en) 2014-12-25 2014-12-25 (U) SIM card personalization method based on android system and system

Country Status (1)

Country Link
CN (1) CN104484691B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616861A (en) * 2017-01-03 2018-10-02 中国移动通信有限公司研究院 A kind of air card-writing method and device
CN113469676A (en) * 2021-06-11 2021-10-01 深圳市雪球科技有限公司 Method, device and server for synchronizing air personalized instruction execution state

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291481A (en) * 2007-04-19 2008-10-22 中国移动通信集团河南有限公司 Wireless card writing terminal
CN101448228A (en) * 2008-12-24 2009-06-03 陈鹰 Method for starting satellite tool kit (STK) service of subscriber identification module
CN102801849A (en) * 2011-12-07 2012-11-28 深圳中科讯联科技有限公司 Method for processing radio frequency subscriber identity module (SIM) card wireless application menu through SIM card tool kit (STK) menu and mobile terminal
CN103716781A (en) * 2013-12-27 2014-04-09 北京大唐智能卡技术有限公司 Card writing method, device and system for mobile terminal intelligent card

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291481A (en) * 2007-04-19 2008-10-22 中国移动通信集团河南有限公司 Wireless card writing terminal
CN101448228A (en) * 2008-12-24 2009-06-03 陈鹰 Method for starting satellite tool kit (STK) service of subscriber identification module
CN102801849A (en) * 2011-12-07 2012-11-28 深圳中科讯联科技有限公司 Method for processing radio frequency subscriber identity module (SIM) card wireless application menu through SIM card tool kit (STK) menu and mobile terminal
CN103716781A (en) * 2013-12-27 2014-04-09 北京大唐智能卡技术有限公司 Card writing method, device and system for mobile terminal intelligent card

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616861A (en) * 2017-01-03 2018-10-02 中国移动通信有限公司研究院 A kind of air card-writing method and device
CN108616861B (en) * 2017-01-03 2021-01-15 中国移动通信有限公司研究院 Over-the-air card writing method and device
CN113469676A (en) * 2021-06-11 2021-10-01 深圳市雪球科技有限公司 Method, device and server for synchronizing air personalized instruction execution state
CN113469676B (en) * 2021-06-11 2024-02-02 深圳市雪球科技有限公司 Method, device and server for synchronizing execution states of over-the-air personalized instructions

Also Published As

Publication number Publication date
CN104484691B (en) 2018-09-21

Similar Documents

Publication Publication Date Title
CN203745958U (en) SIM card extension device and mobile terminal extension system with same
JP2012523636A (en) Enhanced near field communication terminal, smart card and communication method thereof
CN102325210A (en) Universal mobile payment terminal compatible with multiple operators and implementation method thereof
CN100472440C (en) A method for hardware drive program of intelligent loading mobile phone
WO2021223278A1 (en) Sim card configuration distribution method and system
CN103365688A (en) Method for automatic installation and synchronization of software between Android intelligent devices
CN103577224A (en) Method for improving detection on upgrade of Android phone demons by PC terminal
CN103559114B (en) Flush bonding module drives function test system and method
CN101957771A (en) Method and device for installing mobile software for multiple mobile phones simultaneously
CN114301506B (en) Method and device for simulating NFC function, NFC terminal and storage medium
CN111641427A (en) Multifunctional SIM card, card operation method and terminal
CN104484691A (en) Method and system for personalizing (U) SIM cards based on Android system
CN105515811A (en) USB wireless network card configuration method, host, USB wireless network card and communication system
KR101151150B1 (en) System and method for interfacing between terminal and smart card, and smart card applied to the same
CN111756858A (en) Remote development processing system, method and device of embedded equipment
CN103950806B (en) A kind of debugging system and method for electric life controller
CN101610475B (en) Service menu treating method and mobile terminal
CN106067049A (en) A kind of Android client card reading method based on NFC technique
CN109783782A (en) Generation method, equipment, storage medium and the device of electronic contract template
CN103049403A (en) Method for communication between embedded terminal device and cell phone
CN104639317A (en) System and method for key update of smart card based on app (Application) module
CN102880479A (en) Method and device for remotely modifying basic input output system (BIOS) attribute parameters
CN103108038A (en) Data transmission method and system based on secure digital (SD) compound device in car networking
CN104240075A (en) Financial card, mobile terminal and mobile payment system
CN105739694A (en) Wearable equipment, interaction method thereof and terminal

Legal Events

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