CN103874052A - Method and device for remote card writing - Google Patents

Method and device for remote card writing Download PDF

Info

Publication number
CN103874052A
CN103874052A CN201210550197.7A CN201210550197A CN103874052A CN 103874052 A CN103874052 A CN 103874052A CN 201210550197 A CN201210550197 A CN 201210550197A CN 103874052 A CN103874052 A CN 103874052A
Authority
CN
China
Prior art keywords
imsi
identification card
subscriber identification
message
server
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
CN201210550197.7A
Other languages
Chinese (zh)
Other versions
CN103874052B (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.)
China Mobile Group Shandong Co Ltd
Original Assignee
China Mobile Group Shandong 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 China Mobile Group Shandong Co Ltd filed Critical China Mobile Group Shandong Co Ltd
Priority to CN201210550197.7A priority Critical patent/CN103874052B/en
Publication of CN103874052A publication Critical patent/CN103874052A/en
Application granted granted Critical
Publication of CN103874052B publication Critical patent/CN103874052B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and a device for remote card writing. The method comprises the following steps of enabling a server to obtain a current first number of an identity identification card, and obtain a to-be-replaced second number of the identity identification card, and sending an IMSI (international mobile subscriber identification number) corresponding to the second number to the identity identification card; enabling the server to cancel the binding relationship between the IMSI corresponding to the first number and the identity identification card, and establishing the binding relationship between the subscriber identity identification card and the IMSI corresponding to the second number; enabling the subscriber identity identification card to use the IMSI corresponding to the second number to replace the IMSI corresponding to the first number, and storing; enabling the server to send the number activating information to an HLR (home location register) to activate the second number, sending the second number activating information to the identity identification card, and notifying that the second number of the identity identification card has been activated. By adopting the technical scheme, only the number is replaced through the interaction between the identity identification card and the server, and the replacement of the subscriber identity identification card is not needed, so the operation process is convenient and rapid.

Description

A kind of remote writing-card method and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of remote writing-card method and device.
Background technology
Along with scientific and technological develop rapidly, the mobile identification card such as mobile phone (hereinafter to be referred as identification card) has obtained application more and more widely with its powerful function and operation easily, and user can utilize the communication function of identification card to reach the object of Fast Transferring Information.
In existing communication system, the process that identification card is realized communication is: at identification card, a subscriber identification card is installed, conventionally can on this subscriber identification card, write in advance an available number, the IMSI(InternationalMobileSubscriberIdentificationNumber that each number is corresponding unique, international mobile subscriber identity), IMSI and the subscriber identification card of the unique correspondence of this number are set up to binding relationship, can this subscriber identification card of unique identification by this number; In the time that application identity identification card communicates, first by sending a request message to base station, process after above-mentioned request message according to the feedback information of network side base station, provides corresponding service, thereby realize the communication process of identification card according to above-mentioned IMSI information to corresponding identification card.As can be seen here, in the process communicating at identification cards such as mobile phones, subscriber identification card has played vital effect.
At present, in the time that user will change number corresponding to subscriber identification card, the method conventionally adopting, for nullifying current number, is changed a new subscriber identification card, writes the new digit of access customer selection in this new subscriber identification card.In the time adopting said method, original subscriber's identification card will be dropped, and cause serious waste.Or, in prior art, adopt a HLR(Home Location Register, attaching position register) network No. of management (as No. 134 all Duan Weiyi network No.s), when the new digit that will change as user and original number belong to same network No., can in operator's business hall corresponding to this number, handle that to change trumpeter continuous, only need original number corresponding above-mentioned subscriber identification card to be sent to server, after server authentication success, and relevant information corresponding original number (as account balance etc.) is set up to corresponding relation with new digit, set up binding relationship message to HLR transmission new digit and above-mentioned subscriber identification card, activation new digit.Special, when the number comprising in certain several network No. fewer and while adopting a HLR to manage multiple network No., also can adopt aforesaid way to realize and in different network No.s, change number and do not change subscriber identification card operation.Adopt aforesaid way need not change subscriber identification card and can realize the replacing of checking numbers, but implementation procedure operability is lower.But, if when new digit and original number do not belong to same HLR, still need to realize the replacing of checking numbers by changing subscriber identification card, thereby caused serious waste.
Based on above-mentioned technical problem, the technical scheme adopting is at present: a mobile number administrative center is set, this mobile number administrative center comprises HLR, MSC(Mobile Switching Cernter, mobile switching centre)/VLR(Visitor Location Register; Visited Location Registor) etc. communication network element, by carrying out information interaction between each network element and realize the object of changing mobile number setting up interface between each communication network element.Therefore, adopt technique scheme, need to transform to hardware implementation procedure complexity.
In sum, in prior art, in the time that user will change number corresponding to mobile identification card, need to change the subscriber identification card that this number is corresponding simultaneously, thereby cause waste, and, comparatively complicated to the Renewal process of above-mentioned number, poor operability.
Summary of the invention
The embodiment of the present invention provides a kind of remote writing-card method and device, exist in the time that user will change number corresponding to mobile terminal in order to solve in prior art, to change the subscriber identification card that this number is corresponding simultaneously, thereby cause waste, and number Renewal process complexity, the problem of poor operability.
The concrete technical scheme that the embodiment of the present invention provides is as follows:
A kind of remote writing-card method, comprising:
Obtain the first number of the current use of subscriber identification card, and obtain the second number that subscriber identification card will change, international mobile subscriber identity IMSI corresponding described the second number is sent to subscriber identification card;
Cancel the binding relationship between IMSI and the described subscriber identification card that described the first number is corresponding, set up the binding relationship between the IMSI that described subscriber identification card and described the second number are corresponding;
To the second number described in the attaching position register HLR transmission number activation message activation of described subscriber identification card, and indicating user identification card uses IMSI corresponding to described the second number to replace IMSI corresponding to described the first number, and after storing, send number to described subscriber identification card and activate message, notify described subscriber identification card the second number to activate.
A kind of remote writing-card method, comprising:
Send the first number of the current use of subscriber identification card and second number that will change to server;
Receive international mobile subscriber identity IMSI corresponding to described the second number that described server sends, make described server cancel the binding relationship between IMSI and the subscriber identification card that described the first number is corresponding, set up the binding relationship between described subscriber identification card and the IMSI of described the second number, to the second number described in the attaching position register HLR transmission number activation message activation of described subscriber identification card;
Use IMSI corresponding to described the second number to replace IMSI corresponding to described the first number, and after storing, receive the number activation message that described server sends, confirm that the second number activates.
A kind of remote writing-card device, comprising:
Information acquisition unit, for obtaining the first number of the current use of subscriber identification card, and obtains the second number that subscriber identification card will change, and international mobile subscriber identity IMSI corresponding described the second number is sent to subscriber identification card;
Relation is set up unit, for cancelling the binding relationship between IMSI and the described subscriber identification card that described the first number is corresponding, sets up the binding relationship between the IMSI that described subscriber identification card and described the second number are corresponding;
Number activates unit, for the second number described in the attaching position register HLR transmission number activation message activation to described subscriber identification card, and indicating user identification card uses IMSI corresponding to described the second number to replace IMSI corresponding to described the first number, and after storing, send number to described subscriber identification card and activate message, notify described subscriber identification card the second number to activate.
A kind of remote writing-card device, comprising:
Transmitting element, for sending the first number of the current use of subscriber identification card and second number that will change to described server;
Receiving element, international mobile subscriber identity IMSI corresponding to described the second number sending for receiving described server, make described server cancel the binding relationship between IMSI and the subscriber identification card that described the first number is corresponding, set up the binding relationship between described subscriber identification card and the IMSI of described the second number, to the second number described in the attaching position register HLR transmission number activation message activation of described subscriber identification card;
Confirmation unit, for using IMSI corresponding to described the second number to replace IMSI corresponding to described the first number, and after storing, receives the number activation message that described server sends, and confirms that the second number activates.
In the embodiment of the present invention, server obtains the first number of the current use of identification card, and obtains after the second number that identification card will change, and IMSI corresponding the second number is sent to identification card; Server is cancelled the binding relationship between IMSI and the identification card that the first number is corresponding, sets up the binding relationship between subscriber identification card and the IMSI of the second number; Subscriber identification card uses IMSI corresponding to described the second number to replace IMSI corresponding to described the first number, and after storing, server sends number to the HLR of subscriber identification card and activates message activation the second number, and sending number activation message to identification card, notice identification card the second number activates.Adopt technical solution of the present invention, can realize and need not change subscriber identification card by the information interaction of identification card and server, and only change the object of number, operating process is convenient and swift, has effectively avoided the waste of subscriber identification card resource, and, due in above-mentioned remote writing-card process, identification card and server carry out information interaction in real time, therefore, can ensure the consistency of information in information in subscriber identification card and server.
Brief description of the drawings
Fig. 1 is that embodiment of the present invention medium-long range is write card detail flowchart one;
Fig. 2 is that embodiment of the present invention medium-long range is write card detail flowchart two;
Fig. 3 is that embodiment of the present invention medium-long range is write card detail flowchart three;
Fig. 4 is that embodiment of the present invention medium-long range is write the different conditions schematic diagram that in card process, identification card is corresponding with server;
Fig. 5 writes card detail flowchart under concrete application scenarios in the embodiment of the present invention;
Fig. 6 is embodiment of the present invention medium-long range write cards device structural representation one;
Fig. 7 is embodiment of the present invention medium-long range write cards device structural representation two.
Embodiment
In order to solve in prior art, in the time that user will change number corresponding to mobile terminal, to change the subscriber identification card that this number is corresponding simultaneously, thereby cause waste, and number Renewal process complexity, the problem of poor operability.In the embodiment of the present invention, server obtains the first number of the current use of identification card, and obtains after the second number that identification card will change, and IMSI corresponding the second number is sent to identification card; Server is cancelled the binding relationship between IMSI and the identification card that the first number is corresponding, sets up the binding relationship between subscriber identification card and the IMSI of the second number; Subscriber identification card uses the IMSI that the second number is corresponding to replace the IMSI that the first number is corresponding, and after storing, server sends number to the HLR of subscriber identification card and activates message activation the second number, and sending number activation message to identification card, notice identification card the second number activates.Adopt technical solution of the present invention, can realize and need not change subscriber identification card by the information interaction of identification card and server, and only change the object of number, operating process is convenient and swift, has effectively avoided the waste of subscriber identification card resource, and, due in above-mentioned remote writing-card process, identification card and server carry out information interaction in real time, therefore, can ensure the consistency of information in information in subscriber identification card and server.
Below in conjunction with accompanying drawing, the preferred embodiment of the present invention is elaborated.
Consult shown in Fig. 1, in the embodiment of the present invention, the detailed process of remote writing-card is:
Step 100: obtain the first number of the current use of subscriber identification card, and obtain the second number that subscriber identification card will change, IMSI corresponding the second number is sent to subscriber identification card.
Be specially:
Server obtains the first number of the current use of identification card, and now, server is only stored the first number and corresponding IMSI(server initial state thereof).Then, server obtains the second number that identification card will change.This second number can input to for user the number of terminal (as mobile phone, PC etc.), also can available number be presented to the mobile terminal that identification card is corresponding for server, or PC etc., the number of being selected in above-mentioned terminal by user.When the second number is that user is while inputing to the number of terminal, need to verify whether above-mentioned number clashes with other numbers, for example, verify whether this number is the number using, if so, server sends number collision message to identification card, and notice identification card resends second number that will change, otherwise notifying above-mentioned the second number of this identification card is upstate.In said process, in subscriber identification card, only store the first number and corresponding IMSI(identification card initial state thereof).
In the embodiment of the present invention, subscriber identification card can, for having the smart card of radio-frequency receiving-transmitting function, only use this subscriber identification card can realize the send and receive of information; This subscriber identification card can also, by mobile terminals such as mobile phones as carrier, be realized information interaction with server.
Preferably, server can obtain the accounts information that the first number is corresponding according to the first number of the current use of identification card, and accounts information corresponding this number is sent to the terminal that identification card is corresponding, facilitates user to check the account status of the first number.
Server obtains the first number of the current use of identification card, and after the second number of identification calorie requirement change, according to the second number, obtain the IMSI that the second number is corresponding, the first number and the second number are set up to corresponding relation, after the IMSI of the second number and correspondence thereof is stored temporarily, this IMSI is sent to identification card.Now in server, comprise existing the first number and corresponding IMSI thereof, and the second number of interim storage and the corresponding interim state of IMSI(server thereof).Server can adopt note form, by the first number, IMSI corresponding to above-mentioned the second number is sent to identification card.
Preferably, when server is sent to IMSI after identification card, make the legitimacy of identification card checking IMSI, if IMSI is legal, to identification card feedback legitimate verification message.The detailed process of above-mentioned checking IMSI legitimacy is: server is in obtaining the first number of the current use of identification card, obtain the sequence number of the subscriber identification card that the first number is corresponding, server generates an IMSI identifying code based on this sequence number and IMSI corresponding to the second number.Server sends IMSI message to the first number corresponding to identification card, comprises the IMSI that the second number is corresponding, ICCID(IntegrateCircuit Card Identity, integrated circuit identification card in this IMSI message) and an IMSI identifying code etc.; Identification card is resolved above-mentioned IMSI message, and generate the 2nd IMSI identifying code according to the sequence number of subscriber identification card and IMSI corresponding to the second number according to default algorithm, when an above-mentioned IMSI identifying code when identical, proves that the IMSI that the second number is corresponding is legal with the 2nd IMSI identifying code; Otherwise server resends IMSI message to identification card.When adopting when above-mentioned preferably technical scheme, after identification card verifies that IMSI that above-mentioned the second number is corresponding is legal, to this second number of server feedback legitimate verification message authentication, corresponding IMSI is legal.Server receives IMSI and, after legal acknowledge message, IMSI corresponding this second number is stored to (the interim state of server) temporarily.
In the embodiment of the present invention, the subscriber identification card of use is a kind of smart card that writes the IMSI that some numbers are corresponding, with SIM(Subscriber Identity Module of the prior art, user identification module) difference.Therefore,, when server obtains after the first number of the current use of identification card, need to verify whether this subscriber identification card meets the number of changing condition.Concrete proof procedure is: server obtains after the first number of the current use of identification card, can obtain the sequence number of this subscriber identification card.Server verifies by the sequence number of identifying user identity identification card whether this subscriber identification card meets the number of changing condition, if this card is common SIM card, server is sent and cannot change number message to identification card by the first number, and the reason that cannot change number is sent to identification card, if this card is the smart card that can write the IMSI that some numbers are corresponding, notify identification card to input the second number.
Step 110: cancel the binding relationship between IMSI and the described subscriber identification card that the first number is corresponding, set up the binding relationship between the IMSI that subscriber identification card and the second number are corresponding.
Be specially:
When identification card receives after IMSI corresponding to the second number that server sends, this IMSI is stored in subscriber identification card temporarily, now in subscriber identification card, comprise the first number and the corresponding IMSI thereof that have stored, and the second number and the corresponding interim state of IMSI(identification card thereof).Then identification card receives success message by the first number to server feedback IMSI, and above-mentioned IMSI is formally stored in the memory space in subscriber identification card, being about to IMSI corresponding to the second number writes in above-mentioned subscriber identification card, now, in subscriber identification card, only comprise the second number and corresponding IMSI(identification card intermediate state thereof).Now, the second number is not activated.
The IMSI that server receives identification card transmission receives after success message, cancel the binding relationship between IMSI and the subscriber identification card that the first number is corresponding, and set up the binding relationship between subscriber identification card and IMSI corresponding to the second number, now, in server, only comprise the second number and corresponding IMSI(server intermediate state thereof).
Now, if user still wishes to retain accounts information that the first number is corresponding (as remaining sum, message registration etc.), can indicate identification card to send and retain account message to server, server, according to this message, is stored to accounts information corresponding the first number in the accounts information that the second number is corresponding.
Step 120: send number to the HLR of subscriber identification card and activate message activation the second number, and indicating user identification card uses the IMSI that the second number is corresponding to replace the IMSI that the first number is corresponding, and after storing, send number to subscriber identification card and activate message, notice subscriber identification card the second number activates.
In said process, server is set up after the binding relationship between IMSI and the subscriber identification card that the second number is corresponding, and server sends number to HLR and activates message, to activate the second number.Activate after message when HLR responds above-mentioned number, announcement server the second number activates successfully.Now, subscriber identification card uses the IMSI that the second number is corresponding to replace the IMSI that the first number is corresponding, and after storing, server adopts note form to send the second number by the second number to identification card and activates message, to confirm whether the second number activates successfully.Identification card receives above-mentioned the second number and activates after message, has activated message to server feedback the second number, and confirmation the second number activates successfully (identification card final state).Server receives above-mentioned the second number and has activated after message, confirms that the second number activates successfully (server final state).
Special, when sending the second number to identification card, server activates after message, in Preset Time, do not receive the second number that identification card sends while having activated message, again send the second number to identification card and activate message and activated message until receive the second number of identification card transmission.And in the time that server activates the number of times of message and reaches threshold value to the second number, server is attempted sending message by the first number to identification card, do not feed back the second number and activated the reason of message to detect identification card.
Consult shown in Fig. 2, in the embodiment of the present invention, the detailed process of remote writing-card is:
Step 200: send the first number of the current use of subscriber identification card and second number that will change to server.
Server obtains the first number of the current use of identification card, now, server is only stored the first number and corresponding IMSI(server initial state thereof), in subscriber identification card, only store the first number and corresponding IMSI(identification card initial state thereof).Server obtains after the second number of identification calorie requirement change, according to the second number, obtain the IMSI that the second number is corresponding, the first number and the second number are set up to corresponding relation, after the IMSI of the second number and correspondence thereof is stored temporarily, this IMSI is sent to identification card.Now in server, comprise existing the first number and corresponding IMSI thereof, and the second number of interim storage and the corresponding interim state of IMSI(server thereof).Server can adopt note form, by the first number, IMSI corresponding to above-mentioned the second number is sent to identification card.
Preferably, after the legitimacy of the IMSI that the second number that identification card can authentication server sends is corresponding, to server feedback IMSI legitimate verification message.When server is after to receive IMSI corresponding to above-mentioned the second number that identification card sends be legal, the second number and corresponding IMSI thereof are stored (the interim state of server) by server temporarily.
Step 210: IMSI corresponding to the second number that reception server sends, make server cancel the binding relationship between IMSI and the subscriber identification card that the first number is corresponding, set up the binding relationship between subscriber identification card and the IMSI of the second number, send number to the HLR of subscriber identification card and activate message activation the second number.
When identification card receives after IMSI corresponding to the second number that server sends, this IMSI is stored to (the interim state of identification card) in subscriber identification card temporarily.Then identification card receives success message by the first number to server feedback IMSI, and above-mentioned IMSI is stored in the formal memory space of the subscriber identification card that identification card is corresponding, be about to IMSI corresponding to the second number and write (identification card intermediate state) in above-mentioned subscriber identification card.Now, the second number is not activated.Server is cancelled the binding relationship between IMSI that the first number is corresponding and subscriber identification card corresponding to identification card, and sets up the binding relationship (server intermediate state) between subscriber identification card and IMSI corresponding to the second number.
Now, if user still wishes to retain accounts information that the first number is corresponding (as remaining sum, message registration etc.), can indicate identification card to send and retain account message to server, server, according to this message, is stored to accounts information corresponding the first number in the accounts information that the second number is corresponding.
Step 220: use IMSI corresponding to the second number to replace the IMSI that the first number is corresponding, and after storing, the number that reception server sends activates message, confirm that the second number activates.
Server is set up after the binding relationship between IMSI and the subscriber identification card that the second number is corresponding, and server sends number to HLR and activates message, to activate the second number.Activate after message when HLR responds above-mentioned number, announcement server the second number activates successfully.Now, subscriber identification card uses the IMSI that the second number is corresponding to replace the IMSI that the first number is corresponding, and after storing, server adopts note form to send the second number by the second number to identification card and activates message, to confirm whether the second number activates successfully.Identification card receives above-mentioned the second number and activates after message, has activated message to server feedback the second number, and confirmation the second number activates successfully (identification card final state).Server receives above-mentioned the second number and has activated after message, confirms that the second number activates successfully (server final state).
Consult shown in Fig. 3, in the embodiment of the present invention, the detailed process of remote writing-card is:
Step 300: server obtains the first number of the current use of identification card, and obtain the second number that identification card will be changed, and IMSI corresponding to the second number, and this IMSI is sent to identification card.
In the embodiment of the present invention, the ICCID that each IMSI is corresponding unique, ICCID is solidificated in subscriber identification card, for unique identification number of subscriber identification card, it is made up of 20 bit digital, wherein, first six digits is operator code, and for example, China Mobile is 898600; CHINAUNICOM is 898601.
Therefore,, in said process, in the time that server obtains the first number of the current use of identification card, in server, only store the first number and a corresponding IMSI thereof, an ICCID(server initial state).In subscriber identification card, only store the first number and a corresponding IMSI thereof, an ICCID(identification card initial state).
Server obtains the first number of the current use of identification card and the second number that will change, and obtains the IMSI that the second number is corresponding, and stores temporarily.Now, in server, store the first number and a corresponding IMSI thereof, an ICCID, and store the second number and the 2nd corresponding IMSI thereof, the interim state of the 2nd ICCID(server temporarily).
Step 310: identification card obtains after the IMSI that above-mentioned the second number is corresponding, stores temporarily.
When identification card obtains after IMSI corresponding to the second number that server sends, this IMSI is stored temporarily.Now, in subscriber identification card, store the first number and the 2nd corresponding IMSI thereof, the interim state of the 2nd ICCID(identification card).
Step 320: identification card sends IMSI to server and receives success message, and announcement server IMSI successfully receives and stores.
After identification card confirms that receiving IMSI corresponding to above-mentioned the second number receives successfully, sending IMSI by the first number to server receives after success message, IMSI corresponding the second number is formally stored in the space of subscriber identification card, now, the second number is not activated.In subscriber identification card, store the second number and the 2nd corresponding IMSI thereof, the 2nd ICCID(identification card intermediate state).
Step 330: server is cancelled the binding relationship between IMSI and the subscriber identification card that the first number is corresponding, set up the binding relationship between the IMSI that subscriber identification card and the second number are corresponding, server sends number to the HLR of subscriber identification card and activates message activation the second number.
Server is cancelled the binding relationship between IMSI and the subscriber identification card that the first number is corresponding, and sets up the binding relationship between subscriber identification card and IMSI corresponding to the second number.In server, store the second number and the 2nd corresponding IMSI thereof, the 2nd ICCID(server intermediate state).Now, if user still wishes to retain accounts information that the first number is corresponding (as remaining sum, message registration etc.), can indicate identification card to send and retain account message to server, server is according to this message, by accounts information corresponding accounts information storing value the second number corresponding the first number.
Server is set up after the binding relationship between IMSI and the subscriber identification card that the second number is corresponding, and server sends number to HLR and activates message, to activate the second number.
Step 340: server sends number to identification card and activates message.
Activate after message when HLR responds above-mentioned number, activate success message to server the second number.Now, server adopts note form to send number by the second number to identification card and activates message, to confirm whether the second number activates successfully.
Step 350: identification card receives above-mentioned number and activates after message, has activated message to server feedback the second number.
Identification card receives above-mentioned number and activates after message, has activated message to server feedback the second number, confirms that the second number activates successfully; Server receives above-mentioned the second number and has activated after message, confirms that the second number activates successfully.Now, in identification card, store the second number and corresponding IMSI thereof, the final state of the 2nd ICCID(identification card), in identification card corresponding to server, store the second number and corresponding IMSI thereof, the final state of the 2nd ICCID(server).
In addition, consult and Figure 4 shows that server that each step in the embodiment of the present invention is corresponding and the state information of identification card.As shown in Figure 4, in the embodiment of the present invention, the equal corresponding one of four states of server and identification card, be initial state, interim state, intermediate state and final state, server and identification card are mutual by information, keep both each states corresponding one by one respectively, server keeps information to synchronize with identification card.While carrying out repeatedly information interaction by initial state between server and identification card, server and identification card only store the first number and the corresponding extremely final state of IMSI is stored the second number and corresponding IMSI thereof, realize and in subscriber identification card, write the IMSI that the second number is corresponding, thereby the first number is replaced by the object of the second number.
Consult shown in Fig. 5, below in conjunction with concrete application scenarios, the flow process of introducing in detail remote writing-card is:
Step 500: identification card uses terminal the first number logon server.
User can pass through the online business hall logon server of the first number operator.In the embodiment of the present invention, above-mentioned terminal can be mobile terminal, can be PC etc.In the embodiment of the present invention, be introduced as an example of mobile phone example.Now, in subscriber identification card, canned data is the first number and corresponding IMSI thereof, is identification card initial state.
Step 501: whether server authentication identification card meets the number of changing condition, if do not meet, performs step 502; Otherwise, execution step 503.
Step 502: this identification card of server notification terminal does not meet the number of changing condition.
Step 503: this identification card of server notification terminal meets after the number of changing condition, the new digit solicitation message that response terminal sends, send available number list to terminal, terminal is sent to server by user by the second number of selecting in above-mentioned available number list.
Now, in server, canned data is the first number and corresponding IMSI thereof, is server initial state.
Step 504: server generates the second number order according to the second number, and this order is sent to terminal, prompting user pays this order, and user pays after the above order in terminal, and terminal sends order by the first number to server and pays success message.
The type of number that server is corresponding according to the second number, the information such as minimum charge grade, generate order.User can pay the above order by Web bank or other means of payment.
Step 505: the IMSI message that terminal reception server adopts note form to send by the first number, and resolve IMSI message, and verify that whether the IMSI that the second number is corresponding is legal, if legal, perform step 506; Otherwise, return to step 504.
In this IMSI message, comprise the IMSI that the second number is corresponding, ICCID, and the message such as identifying code.Now, the IMSI that the second number is corresponding is stored in server temporarily, i.e. the interim state of corresponding server.
Step 506: subscriber identification card is stored IMSI corresponding the second number temporarily.
Now, in subscriber identification card, formal canned data is the first number and corresponding IMSI thereof, and interim canned data is the second number and corresponding IMSI thereof, is the interim state of identification card.
Step 507: terminal sends IMSI by the first number to server and receives success message, and subscriber identification card is formally stored IMSI corresponding the second number.
Now, in subscriber identification card, canned data is the second number and corresponding IMSI thereof, is identification card intermediate state.
After identification card is formally stored corresponding the second number IMSI, prompting user is restarted to terminal.
Step 508: server is cancelled the binding relationship between IMSI and the subscriber identification card that the first number is corresponding, sets up the binding relationship between IMSI and the subscriber identification card that the second number is corresponding.
Now, the information of server stores is the second number and corresponding IMSI thereof, is server intermediate state.
Step 509: server sends number to HLR and activates message activation the second number, and send the second number activation message by the second number to terminal.
Step 510: terminal to server feeds back the second number and activated message, confirms that the second number activates successfully.
Now, in subscriber identification card, canned data is the second number and corresponding IMSI thereof, is the final state of identification card; In server, canned data is the second number and corresponding IMSI thereof, is the final state of server.
In the embodiment of the present invention, by the information interaction between identification card and server, canned data in real-time update identification card and server, thus keep in identification card the consistency of canned data in canned data and server.
Based on technique scheme, consult shown in Fig. 6, can build a kind of remote writing-card device, comprise information acquisition unit 60, relation is set up unit 61, and number activation unit 62, wherein:
Information acquisition unit 60, for obtaining the first number of the current use of subscriber identification card, and obtains the second number that subscriber identification card will change, and international mobile subscriber identity IMSI corresponding the second number is sent to subscriber identification card;
Relation is set up unit 61, for cancelling the binding relationship between IMSI and the subscriber identification card that the first number is corresponding, sets up the binding relationship between the IMSI that subscriber identification card and the second number are corresponding;
Number activates unit 62, send number for the attaching position register HLR to subscriber identification card and activate message activation the second number, indicating user identification card uses the IMSI that the second number is corresponding to replace the IMSI that the first number is corresponding, and after storing, send number to subscriber identification card and activate message, notice subscriber identification card the second number activates.
Wherein, above-mentioned information acquisition unit 60, specifically for: according to the first number, obtain the sequence number that subscriber identification card is corresponding; According to the second number, obtain the second number that subscriber identification card will change, obtain the IMSI that the second number is corresponding; By the IMSI message based on IMSI corresponding to the second number and sequence number generation, be sent to subscriber identification card according to the first number, and store the IMSI that the second number is corresponding, wherein, in IMSI message, at least comprise IMSI and an IMSI identifying code that the second number is corresponding.
Above-mentioned information acquisition unit 60, is further used for receiving IMSI legitimate verification message corresponding to the second number that subscriber identification card sends according to IMSI message; Legal according to the IMSI that IMSI legitimate verification message authentication the second number is corresponding; If the IMSI that the second number is corresponding is illegal, regenerate IMSI information and sending to subscriber identification card, until receive the legitimate verification message that subscriber identification card sends, to indicate the IMSI that the second number is corresponding be legal; If the IMSI that the second number is corresponding is legal, store the IMSI that the second number is corresponding.
Above-mentioned number activates unit 62, specifically for: the second number that receives the HLR transmission of subscriber identification card activates after success message, sends number activate message by the second number to subscriber identification card; When receiving number that subscriber identification card sends while having activated message, confirmation the second number activates.
Based on technique scheme, consult shown in Fig. 7, can build a kind of remote writing-card device, comprise transmitting element 70, receiving element 71, and confirmation unit 72, wherein:
Transmitting element 70, for sending the first number of the current use of subscriber identification card and second number that will change to server;
Receiving element 71, international mobile subscriber identity IMSI corresponding to the second number sending for reception server, make server cancel the binding relationship between IMSI and the subscriber identification card that the first number is corresponding, set up the binding relationship between subscriber identification card and the IMSI of the second number, send number to the attaching position register HLR of subscriber identification card and activate message activation the second number;
Confirmation unit 72, for using the IMSI that the second number is corresponding to replace the IMSI that the first number is corresponding, and after storing, the number that reception server sends activates message, confirms that the second number activates.
Wherein, above-mentioned receiving element 71, be further used for: the IMSI message that reception server generates according to the sequence number of IMSI corresponding to the second number and subscriber identification card, wherein, at least comprises IMSI and an IMSI identifying code that the second number is corresponding in IMSI message; Resolve IMSI message, the IMSI corresponding according to the second number, the sequence number of subscriber identification card, and preset algorithm is calculated the 2nd IMSI identifying code; When an IMSI identifying code when identical, is legal by IMSI corresponding to first number announcement server the second number with the 2nd IMSI identifying code.
Above-mentioned confirmation unit 72, specifically for: the number that reception server sends by the second number activates message; Send number by the second number to server and activated message, confirm that the second number activates.
In sum, in the embodiment of the present invention, server obtains the first number of the current use of identification card, and obtains after the second number that identification card will change, and IMSI corresponding the second number is sent to identification card; Server is cancelled the binding relationship between IMSI and the identification card that the first number is corresponding, sets up the binding relationship between subscriber identification card and the IMSI of the second number; Subscriber identification card uses the IMSI that the second number is corresponding to replace the IMSI that the first number is corresponding, and after storing, server sends number to the HLR of subscriber identification card and activates message activation the second number, and sending number activation message to identification card, notice identification card the second number activates.Adopt technical solution of the present invention, can realize and need not change subscriber identification card by the information interaction of identification card and server, and only change the object of number, operating process is convenient and swift, has effectively avoided the waste of subscriber identification card resource, and, due in above-mentioned remote writing-card process, identification card and server carry out information interaction in real time, therefore, can ensure the consistency of information in information in subscriber identification card and server.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computer or other programmable data processing device produces the device for realizing the function of specifying at flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame on computer or other programmable devices.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and amendment to these embodiment.So claims are intended to be interpreted as comprising preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the embodiment of the present invention the embodiment of the present invention.Like this, if these amendments of the embodiment of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (14)

1. a remote writing-card method, is characterized in that, comprising:
Obtain the first number of the current use of subscriber identification card, and obtain the second number that subscriber identification card will change, international mobile subscriber identity IMSI corresponding described the second number is sent to subscriber identification card;
Cancel the binding relationship between IMSI and the described subscriber identification card that described the first number is corresponding, set up the binding relationship between the IMSI that described subscriber identification card and described the second number are corresponding;
To the second number described in the attaching position register HLR transmission number activation message activation of described subscriber identification card, and indicating user identification card uses IMSI corresponding to described the second number to replace IMSI corresponding to described the first number, and after storing, send number to described subscriber identification card and activate message, notify described subscriber identification card the second number to activate.
2. the method for claim 1, is characterized in that, international mobile subscriber identity IMSI corresponding described the second number is sent to subscriber identification card, specifically comprises:
According to described the first number, obtain the sequence number that subscriber identification card is corresponding;
According to described the second number, obtain the IMSI that the second number is corresponding;
By the IMSI message based on IMSI corresponding to described the second number and the generation of described sequence number, be sent to described subscriber identification card according to described the first number, and store IMSI corresponding to described the second number, wherein, in described IMSI message, at least comprise IMSI and the IMSI identifying code that the second number is corresponding.
3. method as claimed in claim 2, is characterized in that, before storing the IMSI that described the second number is corresponding, further comprises:
Receive IMSI legitimate verification message corresponding to described the second number that described subscriber identification card sends according to described IMSI message;
Legal according to the IMSI that described IMSI legitimate verification message authentication the second number is corresponding, the IMSI that described the second number is corresponding if confirm is illegal, regenerate IMSI information and sending to described subscriber identification card, until receive legitimate verification message that described subscriber identification card sends, to indicate the IMSI that described the second number is corresponding be legal;
If the IMSI that described the second number is corresponding is legal, store IMSI corresponding to described the second number.
4. the method as described in claim 1,2 or 3 any one, is characterized in that, sends number activate message to described subscriber identification card, notifies described second subscriber identification card the second number to activate, and specifically comprises:
The second number that receives the HLR transmission of described subscriber identification card activates after success message, sends number activate message by described the second number to described subscriber identification card;
In the time receiving number that described subscriber identification card sends and activated message, confirm that described the second number activates.
5. a remote writing-card method, is characterized in that, comprising:
Send the first number of the current use of subscriber identification card and second number that will change to server;
Receive international mobile subscriber identity IMSI corresponding to described the second number that described server sends, make described server cancel the binding relationship between IMSI and the subscriber identification card that described the first number is corresponding, set up the binding relationship between described subscriber identification card and the IMSI of described the second number, to the second number described in the attaching position register HLR transmission number activation message activation of described subscriber identification card;
Use IMSI corresponding to described the second number to replace IMSI corresponding to described the first number, and after storing, receive the number activation message that described server sends, confirm that the second number activates.
6. method as claimed in claim 5, is characterized in that, after receiving the IMSI that described the second number that described server sends is corresponding, further comprises:
The IMSI message that reception server generates according to the sequence number of IMSI corresponding to described the second number and subscriber identification card, wherein, at least comprises IMSI and an IMSI identifying code that the second number is corresponding in described IMSI message;
Resolve described IMSI message, according to IMSI corresponding to described the second number, the sequence number of subscriber identification card, and preset algorithm is calculated the 2nd IMSI identifying code;
When a described IMSI identifying code when identical, is legal by IMSI corresponding to the second number described in described the first number announcement server with described the 2nd IMSI identifying code.
7. method as claimed in claim 5, is characterized in that, receives the number activation message that described server sends, and confirms that the second number activates, specifically comprises:
Receive the number activation message that described server sends by the second number;
Send number by described the second number to server and activated message, confirm that the second number activates.
8. a remote writing-card device, is characterized in that, comprising:
Information acquisition unit, for obtaining the first number of the current use of subscriber identification card, and obtains the second number that subscriber identification card will change, and international mobile subscriber identity IMSI corresponding described the second number is sent to subscriber identification card;
Relation is set up unit, for cancelling the binding relationship between IMSI and the described subscriber identification card that described the first number is corresponding, sets up the binding relationship between the IMSI that described subscriber identification card and described the second number are corresponding;
Number activates unit, for the second number described in the attaching position register HLR transmission number activation message activation to described subscriber identification card, and indicating user identification card uses IMSI corresponding to described the second number to replace IMSI corresponding to described the first number, and after storing, send number to described subscriber identification card and activate message, notify described subscriber identification card the second number to activate.
9. device as claimed in claim 8, is characterized in that, described information acquisition unit, specifically for:
According to described the first number, obtain the sequence number that subscriber identification card is corresponding; According to described the second number, obtain the second number that subscriber identification card will change, obtain the IMSI that the second number is corresponding; By the IMSI message based on IMSI corresponding to described the second number and the generation of described sequence number, be sent to described subscriber identification card according to described the first number, and store IMSI corresponding to described the second number, wherein, in described IMSI message, at least comprise IMSI and the IMSI identifying code that the second number is corresponding.
10. device as claimed in claim 9, is characterized in that, described information acquisition unit, is further used for:
Receive IMSI legitimate verification message corresponding to described the second number that described subscriber identification card sends according to described IMSI message; Legal according to the IMSI that described IMSI legitimate verification message authentication the second number is corresponding; If the IMSI that described the second number is corresponding is illegal, regenerate IMSI information and sending to described subscriber identification card, until receive legitimate verification message that described subscriber identification card sends, to indicate the IMSI that described the second number is corresponding be legal; If the IMSI that described the second number is corresponding is legal, store IMSI corresponding to described the second number.
11. devices as described in claim 8,9 or 10 any one, is characterized in that, described number activates unit, specifically for:
The second number that receives the HLR transmission of described subscriber identification card activates after success message, sends number activate message by described the second number to described subscriber identification card; In the time receiving number that described subscriber identification card sends and activated message, confirm that described the second number activates.
12. 1 kinds of remote writing-card devices, is characterized in that, comprising:
Transmitting element, for sending the first number of the current use of subscriber identification card and second number that will change to described server;
Receiving element, international mobile subscriber identity IMSI corresponding to described the second number sending for receiving described server, make described server cancel the binding relationship between IMSI and the subscriber identification card that described the first number is corresponding, set up the binding relationship between described subscriber identification card and the IMSI of described the second number, to the second number described in the attaching position register HLR transmission number activation message activation of described subscriber identification card;
Confirmation unit, for using IMSI corresponding to described the second number to replace IMSI corresponding to described the first number, and after storing, receives the number activation message that described server sends, and confirms that the second number activates.
13. devices as claimed in claim 12, is characterized in that, described receiving element, is further used for:
The IMSI message that reception server generates according to the sequence number of IMSI corresponding to described the second number and subscriber identification card, wherein, at least comprises IMSI and an IMSI identifying code that the second number is corresponding in described IMSI message; Resolve described IMSI message, according to IMSI corresponding to described the second number, the sequence number of subscriber identification card, and preset algorithm is calculated the 2nd IMSI identifying code; When a described IMSI identifying code when identical, is legal by IMSI corresponding to the second number described in described the first number announcement server with described the 2nd IMSI identifying code.
14. devices as claimed in claim 12, is characterized in that, described confirmation unit, specifically for:
Receive the number activation message that described server sends by the second number; Send number by described the second number to server and activated message, confirm that the second number activates.
CN201210550197.7A 2012-12-17 2012-12-17 A kind of remote writing-card method and device Active CN103874052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210550197.7A CN103874052B (en) 2012-12-17 2012-12-17 A kind of remote writing-card method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210550197.7A CN103874052B (en) 2012-12-17 2012-12-17 A kind of remote writing-card method and device

Publications (2)

Publication Number Publication Date
CN103874052A true CN103874052A (en) 2014-06-18
CN103874052B CN103874052B (en) 2017-11-21

Family

ID=50912101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210550197.7A Active CN103874052B (en) 2012-12-17 2012-12-17 A kind of remote writing-card method and device

Country Status (1)

Country Link
CN (1) CN103874052B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407475A (en) * 2015-12-03 2016-03-16 中国联合网络通信集团有限公司 Processing method for use of configuration file and eUICC (Embedded Universal Integrated Circuit Card)
CN108834126A (en) * 2018-06-06 2018-11-16 北京华大智宝电子系统有限公司 One kind changing card apparatus and method
CN109219035A (en) * 2017-06-30 2019-01-15 中国电信股份有限公司 The configuration platform and data altering system, method, apparatus of embedded chip card
CN111836207A (en) * 2019-04-19 2020-10-27 海能达通信股份有限公司 Telephone number registration method, system and related equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050075106A1 (en) * 2003-08-13 2005-04-07 Jiang Yue Jun Multiple IMSI multiple/single MSISDN (MIMM/MISM) on multiple SIMs for a single operator
CN101583120A (en) * 2009-06-17 2009-11-18 中国移动通信集团重庆有限公司 Method, system and device for managing mobile numbers
CN102523578A (en) * 2011-12-09 2012-06-27 北京握奇数据系统有限公司 Over-the-air card writing method, apparatus and system
CN102711096A (en) * 2012-05-30 2012-10-03 中国联合网络通信集团有限公司 Method, device and terminal for card personalization over the air

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050075106A1 (en) * 2003-08-13 2005-04-07 Jiang Yue Jun Multiple IMSI multiple/single MSISDN (MIMM/MISM) on multiple SIMs for a single operator
CN101583120A (en) * 2009-06-17 2009-11-18 中国移动通信集团重庆有限公司 Method, system and device for managing mobile numbers
CN102523578A (en) * 2011-12-09 2012-06-27 北京握奇数据系统有限公司 Over-the-air card writing method, apparatus and system
CN102711096A (en) * 2012-05-30 2012-10-03 中国联合网络通信集团有限公司 Method, device and terminal for card personalization over the air

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407475A (en) * 2015-12-03 2016-03-16 中国联合网络通信集团有限公司 Processing method for use of configuration file and eUICC (Embedded Universal Integrated Circuit Card)
CN105407475B (en) * 2015-12-03 2019-01-08 中国联合网络通信集团有限公司 configuration file enables processing method and eUICC
CN109219035A (en) * 2017-06-30 2019-01-15 中国电信股份有限公司 The configuration platform and data altering system, method, apparatus of embedded chip card
CN109219035B (en) * 2017-06-30 2021-04-02 中国电信股份有限公司 Configuration platform of embedded chip card and data change system, method and device
CN108834126A (en) * 2018-06-06 2018-11-16 北京华大智宝电子系统有限公司 One kind changing card apparatus and method
CN108834126B (en) * 2018-06-06 2021-11-16 北京华大智宝电子系统有限公司 Card changing equipment and method
CN111836207A (en) * 2019-04-19 2020-10-27 海能达通信股份有限公司 Telephone number registration method, system and related equipment

Also Published As

Publication number Publication date
CN103874052B (en) 2017-11-21

Similar Documents

Publication Publication Date Title
CN108476399B (en) Method and apparatus for transmitting and receiving profile in communication system
CN109451446B (en) Number portability method, device and equipment
EP3337219B1 (en) Carrier configuration processing method, device and system, and computer storage medium
CN103118356B (en) Embedded smart card eUICC Activiation method, system, terminal and platform
US11989543B2 (en) Method for interoperating between bundle download process and eSIM profile download process by SSP terminal
CN103052047B (en) A kind of online charging method, Apparatus and system based on number portability service
CN104144402A (en) Method and related device for achieving localized roaming of mobile terminal
CN101682514B (en) Field programming of a mobile station with subscriber identification and related information
CN102883300B (en) User card signing information migration method and user card signing information replacement method and device
CN106686591B (en) Method and device for accessing wireless network
CN113785532B (en) Method and apparatus for managing and verifying certificates
CN104509142A (en) Distribution method, device and system of virtual user identification module data
CN104202744A (en) Operation authentication method for intelligent terminal, terminal and system
CN108200568B (en) Mobile communication electronic SIM card data processing method and device
CN103826155A (en) Multi-screen interaction method, server, terminal and system
CN110536278B (en) User card writing method and device, equipment and storage medium
CN105228123A (en) Mobile phone users carries out the method and system of communication service in roaming place
CN111083695B (en) 5G communication card-free access method, equipment and storage medium
CN103475512A (en) Internet of Things remote management platform migration method, device and Internet of Things terminal
CN102833074A (en) Authentication method and related equipment
CN103874052A (en) Method and device for remote card writing
CN103781054A (en) Method and device for stopping contract signing of terminal
CN103778528A (en) Payment processing method, payment processing system and payment processing device
CN102595376B (en) A kind of activating method, Apparatus and system of User Identity card
CN105120451A (en) Method for realizing card-less operation of mobile terminal, operator business platform and mobile 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