CN104994495B - The synchronous method and system of a kind of SIM card and its supplement card - Google Patents
The synchronous method and system of a kind of SIM card and its supplement card Download PDFInfo
- Publication number
- CN104994495B CN104994495B CN201510231455.9A CN201510231455A CN104994495B CN 104994495 B CN104994495 B CN 104994495B CN 201510231455 A CN201510231455 A CN 201510231455A CN 104994495 B CN104994495 B CN 104994495B
- Authority
- CN
- China
- Prior art keywords
- card
- supplement
- server
- sim card
- sim
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention discloses the synchronous method and system of a kind of SIM card and its supplement card, wherein, method comprising steps of A, when need for SIM card add supplement card when, judge whether the supplement card legal, when legal, then the card image of the supplement card is written in SIM card;B, server is sent by the card image of SIM card and supplement card, server records the card image of SIM card and its supplement card simultaneously, and real-time synchronization information is into SIM card and its supplement card.The card image of the supplement card is written in SIM card by the present invention by adding supplement card for SIM card;Then server is sent by the card image of SIM card and supplement card, by can be achieved with the information sharing between SIM card and its supplement card in this way in server real-time synchronization information to SIM card and its supplement card.
Description
Technical field
The present invention relates to the synchronous method of mobile communication technology field more particularly to a kind of SIM card and its supplement card and it is
System.
Background technique
With the development of economy and society, mobile communication is more and more widely used.In China, mobile communication technology
Though starting evening, develop it is extremely rapid.The rapid development of mobile communication technology allows user to enjoy more convenient clothes
Business, user can be exchanged using the mobile terminal in hand with other users whenever and wherever possible.
People can use mobile phone to communicate, in addition can with commercial affairs, image, study, music, game, etc. each side
The operation in face, but the core of mobile phone is SIM card, is not inserted into the mobile phone of SIM card, for network-side, a kind of only dereliction
Mobile terminal, network-side can not be known, and whom is is using this mobile terminal, therefore communication network cannot provide normally for it
Communication traffic.Mobile phone, which must install SIM card just, can make to play its powerful software and hardware function, while SIM card must also borrow
Assistant's machine is just able to achieve communication function.
But in the prior art, the SIM card of mobile terminal is usually and is independently operated, that information can not be carried out with other SIM cards
It is shared, such as a people is connected to fraudulent call, but cannot share to other members of home number.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
In view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide the synchronizations of a kind of SIM card and its supplement card
Method and system, it is intended to solve the problems, such as to cannot achieve information sharing between existing SIM card.
Technical scheme is as follows:
A kind of synchronous method of SIM card and its supplement card, wherein comprising steps of
A, when needing to add supplement card for SIM card, judge whether the supplement card is legal, it, then will be described when legal
The card image of supplement card is written in SIM card;
B, server is sent by the card image of SIM card and supplement card, server records SIM card and its supplement card simultaneously
Card image, and real-time synchronization information is into SIM card and its supplement card.
The setting method of the SIM card and its supplement card, wherein judge that legal process is specifically wrapped in the step A
It includes:
Read the IMSI and TMSI of the supplement card;
Server is sent by the IMSI of the supplement card and TMSI;
Server judges whether the IMSI and TMSI is effective;
When judging effective, the random matrix of 128 bits is generated, and is returned;
A3A8 operation is carried out to the random matrix, and operation result is sent to server, while server is to described
Random matrix carries out A3A8 operation and obtains operation result, if the two operation result is identical, determines that the supplement card is legal, otherwise
It is illegal.
The setting method of the SIM card and its supplement card, wherein the step B further include:
The right information of the SIM card and supplement card is set by the server.
The setting method of the SIM card and its supplement card, wherein the step B further include:
The consumption information of each supplement card is obtained in real time, and carries out summary record into SIM card, is subsequently sent to service
Device is notified consumption information to SIM card and supplement card by server.
The setting method of the SIM card and its supplement card, wherein the step B further include:
When SIM card receives the setting instruction for forbidding accessing phone, server is sent by the telephone number forbidden, by
Server sync is into the supplement card of the SIM card.
The setting method of the SIM card and its supplement card, wherein the step B further include:
Control operation carried out to the supplement card by the SIM card, the control operation include freeze, cancellation or change
Telephone number.
The synchronization system of a kind of SIM card and its supplement card, wherein include:
Adding module, for judging whether the supplement card is legal, when legal when needing to add supplement card for SIM card
When, then the card image of the supplement card is written in SIM card;
Synchronization module, for sending server for the card image of SIM card and supplement card, server records SIM simultaneously
The card image of card and its supplement card, and real-time synchronization information is into SIM card and its supplement card.
The synchronization system of the SIM card and its supplement card, wherein the adding module specifically includes:
Reading unit, for reading the IMSI and TMSI of the supplement card;
Transmission unit, for sending server for the IMSI of the supplement card and TMSI;
Judging unit judges whether the IMSI and TMSI is effective for server;
Return unit for generating the random matrix of 128 bits when judging effective, and returns;
Operation result for carrying out A3A8 operation to the random matrix, and is sent to server, simultaneously by comparing unit
Server carries out A3A8 operation to the random matrix and obtains operation result, if the two operation result is identical, determines described attached
Belong to engaging method, it is otherwise illegal.
The synchronization system of the SIM card and its supplement card, wherein the synchronization module includes:
Setting unit, for the right information of the SIM card and supplement card to be arranged by the server.
The synchronization system of the SIM card and its supplement card, wherein the synchronization module further include:
Consumption information synchronization unit for obtaining the consumption information of each supplement card in real time, and carries out summary record to SIM
In card, it is subsequently sent to server, is notified consumption information to SIM card and supplement card by server.
The utility model has the advantages that the card image of the supplement card is written to SIM by adding supplement card for SIM card by the present invention
In card;Then send server for the card image of SIM card and supplement card, by server real-time synchronization information to SIM card and
In its supplement card, the information sharing between SIM card and its supplement card can be achieved in this way.
Detailed description of the invention
Fig. 1 is the flow chart of the synchronous method preferred embodiment of a kind of SIM card of the present invention and its supplement card.
Fig. 2 is the specific flow chart of step S101 in method shown in Fig. 1.
Fig. 3 is the structural block diagram of the synchronization system preferred embodiment of a kind of SIM card of the present invention and its supplement card.
Fig. 4 is the specific block diagram of adding module in system shown in Figure 3.
Specific embodiment
The present invention provides the synchronous method and system of a kind of SIM card and its supplement card, to make the purpose of the present invention, technical side
Case and effect are clearer, clear, and the present invention is described in more detail below.It should be appreciated that specific reality described herein
It applies example to be only used to explain the present invention, be not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is the flow chart of the synchronous method preferred embodiment of a kind of SIM card of the present invention and its supplement card,
As shown, itself comprising steps of
S101, when need for SIM card add supplement card when, judge whether the supplement card legal, when legal, then by institute
The card image for stating supplement card is written in SIM card;
S102, the card image of SIM card and supplement card is sent to server, server records SIM card and its attached simultaneously
Belong to the card image of card, and real-time synchronization information is into SIM card and its supplement card.
The number of the mobile terminals such as mobile phone is determined by SIM card, and when user applies networking, mobile operator is first had to
A kind of contractual relation is established with user, i.e., the information of user is registered in related database, while providing SIM for user
Card, by injection IMSI(international nobile recognition number in SIM card), TMSI(interim identity), the access grade control of password, user
The contents such as system, the type of business of user's registration and the relevant network information.Server can recorde each SIM card of operator
Card image.
In the step S101, family's group network is initially set up, as SIM card adds supplement card, specifically can be
Record the card image (including telephone number, IMSI and TMSI etc.) of increased supplement card.For example it can be oneself children, father
The number of mother etc..Added supplement card can be one, be also possible to multiple after setting the number of multiple supplement cards:
/* Record bonding contact information. */
typedef struct {
/** set to sizeof(ContactInfo) */
stPhbData *ContactList;
int ContactNumber
… …
} ContactInfo;
Wherein, Contactlist records the chained list of each supplement card contact person for one, because being designed to the knot of chained list
Structure, size can be with the corresponding sizes of malloc as required.The type of each member's (supplement card) is identical as address list,
It is set as stPhbData.The number of wherein supplement card is recorded using ContactNumber.
The supplement card member of addition must be legal, further, as shown in Fig. 2, judging legal mistake in the step S101
Journey specifically includes:
S201, the IMSI and TMSI for reading the supplement card;
IMSI therein is 15 numbers, and TMSI is 4 bytes.
S202, server is sent by the IMSI of the supplement card and TMSI;
S203, server judge whether the IMSI and TMSI is effective;
S204, when judging effective, generate the random matrix of 128 bits, and return;
S205, A3A8 operation is carried out to the random matrix, and operation result is sent to server, while server pair
The random matrix carries out A3A8 operation and obtains operation result, if operation result is identical, determines that the supplement card is legal, otherwise
It is illegal.
Mobile terminal, can be using the KI in the supplement card as described in key pair after the random matrix for receiving server return
Random matrix carries out A3A8 operation, generates SRES+Kc, then sends server for operation result, and server by itself
Operation result is compared with the operation result, if they are the same, then legal, otherwise illegal.
SIM card is the chip with microprocessor, inside there is 5 modules, the corresponding function of each module: CPU (8/16
Position/32), program memory ROM, working storage RAM, data storage EEPROM and serial communication unit, this 5 modules
It is integrated in one piece of integrated circuit, wherein EEPROM is for storing personal information, such as telephone number, STK of user etc..
After adding supplement card for a SIM card (main card), main card user can pass through the IMSI of CPU real-time management oneself
Number and SIM card card number, found a family group network, and the IMSI and SIM card number of the supplement card newly increased are written in EEPROM
The attached card user of face, only main card write-in can just enjoy the right of main card imparting, and other users can not be enjoyed.
Further, the step S102 further include:
The right information of the SIM card and supplement card is set by the server.
When increasing supplement card, can the right information of supplement card be set by server, for example still pay out expense at one's own expense,
Integral ownership etc., may also set up the right information of the SIM card certainly.Then by server real-time detection main card and supplement card
Working condition.
Further, the step S102 further include:
The consumption information of each supplement card is obtained in real time, and carries out summary record into SIM card, is subsequently sent to service
Device is notified consumption information to SIM card and supplement card by server.
If arrearage occurs for major number, server can send arrearage and notify only to pay to main card and each supplement card member
Take successfully, just restores the service function of all members below main card.
For supplement card, the consumption information of each supplement card is obtained in real time, and the information of consumption is summarized, paid together
Take.If supplement card 1 generates call, then operator is counted using its charge system, and obtains its payment type, is paid for oneself
Take or pay out, if it is at one's own expense, then bill is recorded in the case where the bill of this number manages account, if it is paying out expense,
Then bill is recorded under the account for the expense of paying out.The statistics of product grading information is similar.
Since all expenses of supplement card are paid by main card, so the behavior of arrearage will not occur for supplement card.Work as main card
After arrearage, system meeting real-time informing main card holder and all supplement card holders, as long as paying the fees successfully, all members are
It can restore service function.
Further, the step S102 further include:
When SIM card receives the setting instruction for forbidding accessing phone, server is sent by the telephone number forbidden, by
Server sync is into the supplement card of the SIM card.
Specifically, the contact person in kinsfolk can share, if encountering has harassing call, such as fraudulent call etc.
Main card user can be set as harassing call, then main card can set the telephone number at once and access phone to forbid, other are attached
Belong to card then to forbid accessing the telephone number.Harassing call can be reported to main card by the member of supplement card, (can also be by leading by main card
Card is actively) it is shared with kinsfolk.Concrete methods of realizing is that mobile phone is connected with network in real time, and the telephone number forbidden is real-time
It is synchronized to server, then by server sync to the number of supplement card.
Further, the step S102 further include:
Control operation carried out to the supplement card by the SIM card, the control operation include freeze, cancellation or change
Telephone number.
Main card can execute any operation to supplement card, including freeze, cancellation etc..Main card substantially may be regarded as with supplement card
Two independent cards, and main card arrearage or cancellation, do not influence the use of supplement card, other attached SIM cards number can be with
As main card, it is convenient for the user to use.
Specific implementation are as follows: have EEPROM in main card, can increase or delete in real time by the SIM card menu of EEPROM
Except the user personnel of supplement card, while main card is registered as kinsfolk's main card of operator, enjoys the privilege of family's main card, can be with
Real-time synchronization verifies the identity of oneself to server end, implements the privilege of main card, including freezes, cancellation supplement card, changes family
The number of main card.
Based on the above method, the present invention also provides the synchronization system preferred embodiments of a kind of SIM card and its supplement card, such as scheme
Shown in 3 comprising:
Adding module 100, for judging whether the supplement card is legal, works as conjunction when needing to add supplement card for SIM card
When method, then the card image of the supplement card is written in SIM card;
Synchronization module 200, for sending server for the card image of SIM card and supplement card, server records simultaneously
The card image of SIM card and its supplement card, and real-time synchronization information is into SIM card and its supplement card.
Further, as shown in figure 4, the adding module 100 specifically includes:
Reading unit 110, for reading the IMSI and TMSI of the supplement card;
Transmission unit 120, for sending server for the IMSI of the supplement card and TMSI;
Judging unit 130 judges whether the IMSI and TMSI is effective for server;
Return unit 140 for generating the random matrix of 128 bits when judging effective, and returns;
Operation result for carrying out A3A8 operation to the RAND, and is sent to server, simultaneously by comparing unit 150
Server carries out A3A8 operation to the RAND and obtains operation result, if operation result is identical, determines that the supplement card is legal,
Otherwise illegal.
Further, the synchronization module 200 includes:
Setting unit, for the right information of the SIM card and supplement card to be arranged by the server.
Further, the synchronization module 200 further include:
Consumption information synchronization unit for obtaining the consumption information of each supplement card in real time, and carries out summary record to SIM
In card, it is subsequently sent to server, is notified consumption information to SIM card and supplement card by server.
It has been described in detail in the method for technical detail in front about above-mentioned modular unit, so it will not be repeated.
In conclusion the card image of the supplement card is written to SIM by adding supplement card for SIM card by the present invention
In card;Then send server for the card image of SIM card and supplement card, by server real-time synchronization information to SIM card and
In its supplement card, the information sharing between SIM card and its supplement card can be achieved in this way.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can
With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention
Protect range.
Claims (8)
1. the synchronous method of a kind of SIM card and its supplement card, which is characterized in that comprising steps of
A, when needing to add supplement card for SIM card, judge whether the supplement card is legal, it, then will be described attached when legal
The card image of card is written in SIM card;
B, server is sent by the card image of SIM card and supplement card, server records the card of SIM card and its supplement card simultaneously
Piece information, and real-time synchronization information is into SIM card and its supplement card;
The card image includes telephone number, IMSI and TMSI;
Judge that legal process specifically includes in the step A:
Read the IMSI and TMSI of the supplement card;
Server is sent by the IMSI of the supplement card and TMSI;
Server judges whether the IMSI and TMSI is effective;
When judging effective, the random matrix of 128 bits is generated, and is returned;
A3A8 operation is carried out to the random matrix, and operation result is sent to server, while server is to described random
Matrix carries out A3A8 operation and obtains operation result, if the two operation result is identical, determines that the supplement card is legal, does not otherwise conform to
Method.
2. the setting method of SIM card according to claim 1 and its supplement card, which is characterized in that the step B is also wrapped
It includes:
The right information of the SIM card and supplement card is set by the server.
3. the setting method of SIM card according to claim 1 and its supplement card, which is characterized in that the step B is also wrapped
It includes:
The consumption information of each supplement card is obtained in real time, and carries out summary record into SIM card, is subsequently sent to server, by
Server notifies consumption information to SIM card and supplement card.
4. the setting method of SIM card according to claim 1 and its supplement card, which is characterized in that the step B is also wrapped
It includes:
When SIM card receives the setting instruction for forbidding accessing phone, server is sent by the telephone number forbidden, by servicing
Device is synchronized in the supplement card of the SIM card.
5. the setting method of SIM card according to claim 1 and its supplement card, which is characterized in that the step B is also wrapped
It includes:
Control operation carried out to the supplement card by the SIM card, the control operation include freeze, cancellation or change phone
Number.
6. the synchronization system of a kind of SIM card and its supplement card characterized by comprising mobile terminal, server;The terminal
Including adding module, synchronization module;
The adding module, for judging whether the supplement card is legal, when legal when needing to add supplement card for SIM card
When, then the card image of the supplement card is written in SIM card;
The synchronization module, for sending server for the card image of SIM card and supplement card, server records SIM simultaneously
The card image of card and its supplement card, and real-time synchronization information is into SIM card and its supplement card;
The card image includes telephone number, IMSI and TMSI;
The adding module specifically includes:
Reading unit, for reading the IMSI and TMSI of the supplement card;
Transmission unit, for sending server for the IMSI of the supplement card and TMSI;
Judging unit judges whether the IMSI and TMSI is effective for server;
Return unit for generating the random matrix of 128 bits when judging effective, and returns;
Operation result for carrying out A3A8 operation to the random matrix, and is sent to server, serviced simultaneously by comparing unit
Device carries out A3A8 operation to the random matrix and obtains operation result, if the two operation result is identical, determines the supplement card
It is legal, it is otherwise illegal.
7. the synchronization system of SIM card according to claim 6 and its supplement card, which is characterized in that the synchronization module packet
It includes:
Setting unit, for the right information of the SIM card and supplement card to be arranged by the server.
8. the synchronization system of SIM card according to claim 6 and its supplement card, which is characterized in that the synchronization module is also
Include:
Consumption information synchronization unit for obtaining the consumption information of each supplement card in real time, and carries out summary record to SIM card
In, it is subsequently sent to server, is notified consumption information to SIM card and supplement card by server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510231455.9A CN104994495B (en) | 2015-05-08 | 2015-05-08 | The synchronous method and system of a kind of SIM card and its supplement card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510231455.9A CN104994495B (en) | 2015-05-08 | 2015-05-08 | The synchronous method and system of a kind of SIM card and its supplement card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104994495A CN104994495A (en) | 2015-10-21 |
CN104994495B true CN104994495B (en) | 2019-02-26 |
Family
ID=54306229
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510231455.9A Active CN104994495B (en) | 2015-05-08 | 2015-05-08 | The synchronous method and system of a kind of SIM card and its supplement card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104994495B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106027738B (en) * | 2016-07-05 | 2019-06-28 | 北京奇虎科技有限公司 | A kind of synchronous method of message registration, device and mobile terminal |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101437318A (en) * | 2007-11-15 | 2009-05-20 | 中兴通讯股份有限公司 | Method for implementing data synchronization between different cards of double-mode double-card mobile phone |
CN102843668A (en) * | 2012-06-28 | 2012-12-26 | 北京得实达康***集成有限公司 | Method and system for implementing flow sharing of multiple mobile terminal cards |
-
2015
- 2015-05-08 CN CN201510231455.9A patent/CN104994495B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101437318A (en) * | 2007-11-15 | 2009-05-20 | 中兴通讯股份有限公司 | Method for implementing data synchronization between different cards of double-mode double-card mobile phone |
CN102843668A (en) * | 2012-06-28 | 2012-12-26 | 北京得实达康***集成有限公司 | Method and system for implementing flow sharing of multiple mobile terminal cards |
Also Published As
Publication number | Publication date |
---|---|
CN104994495A (en) | 2015-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103916844B (en) | Client identification module card activating method and virtual client identification module card server | |
TWI787538B (en) | Payment processing method, server and readable storage medium in offline scenario | |
CN109660594A (en) | Orientation method for pushing, methods of exhibiting, device and the equipment of service processing result | |
CN106997545A (en) | Service implementation method and device | |
CN110060052A (en) | Interactive approach and device, electronic equipment based on electronic certificate | |
CN110245622A (en) | A kind of face identification method, device and equipment | |
CN104753675B (en) | Information Authentication method, electric paying method, terminal, server and system | |
CN107682831A (en) | Sharing method and device, the computer installation and storage medium of residual flow | |
CN106254323A (en) | The exchange method of a kind of TA and SE, TA, SE and TSM platform | |
CN104010068A (en) | Text message processing method and device for mobile terminal | |
US20210182807A1 (en) | Soft Mining Device and Methods for Digital Currency Coins | |
CN101009558A (en) | Real name system and method for network access | |
CN109150864B (en) | Anti-cheating method and device based on secondary authentication | |
CN104994495B (en) | The synchronous method and system of a kind of SIM card and its supplement card | |
CN207251631U (en) | A kind of follow-on SIM card and mobile terminal and identification system | |
CN106169137B (en) | Resource transfer method, device and system | |
CN104361304A (en) | Method and device for downloading application program of smart card | |
CN107679842A (en) | Fiduciary virtual resource concocting method | |
CN103108316B (en) | Air card-writing authentication method, device and system | |
CN106686196A (en) | Personal mobile phone safety management method | |
CN106651353A (en) | Information-based network payment method and system | |
CN105635156A (en) | Large distributed financial terminal system | |
CN106060825B (en) | Client identification card copying reminding method and server | |
CN107483465A (en) | The method of checking request | |
CN108989998A (en) | A kind of information processing method and device |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230810 Address after: No. 3605, 5th Floor, Building 3, Micro World, No. 23 Century Avenue, Liuwu New District, Lhasa, Tibet Autonomous Region, 850000 Patentee after: Tibet Canyu Lunzhu Technology Co.,Ltd. Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd. |
|
TR01 | Transfer of patent right |