CN100456887C - Method and system of realizing data synchronization of user's terminal and server - Google Patents

Method and system of realizing data synchronization of user's terminal and server Download PDF

Info

Publication number
CN100456887C
CN100456887C CNB2006100762871A CN200610076287A CN100456887C CN 100456887 C CN100456887 C CN 100456887C CN B2006100762871 A CNB2006100762871 A CN B2006100762871A CN 200610076287 A CN200610076287 A CN 200610076287A CN 100456887 C CN100456887 C CN 100456887C
Authority
CN
China
Prior art keywords
data
identification module
subscriber identification
terminal
district
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2006100762871A
Other languages
Chinese (zh)
Other versions
CN1835641A (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.)
JIANGSU MOBILE COMMUNICATION LLC
Datang Microelectronics Technology Co Ltd
Original Assignee
JIANGSU MOBILE COMMUNICATION LLC
Datang Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JIANGSU MOBILE COMMUNICATION LLC, Datang Microelectronics Technology Co Ltd filed Critical JIANGSU MOBILE COMMUNICATION LLC
Priority to CNB2006100762871A priority Critical patent/CN100456887C/en
Publication of CN1835641A publication Critical patent/CN1835641A/en
Application granted granted Critical
Publication of CN100456887C publication Critical patent/CN100456887C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a method and a system for realizing the legal area data synchronization between a user identification module and a legal area management server. In the method, the user identification module and the legal area management server record the legal area data of the terminal which uses the user identification module, and after the user identification module uploads a synchronous request including the legal area data through a communication network and after the server compares the current effective legal area data with the legal area data uploaded by the user identification module, the server organizes and sends downlink data according to the difference. After the user identification module receives all synchronous data, the user identification module updates the legal data in the user identification module with the downlink data. The method of the present invention can reduce the interactive quantity when data synchronization is carried out, and increases the success rate of data interaction.

Description

Subscriber identification module and data management server are realized the method and system of data sync
Technical field
The present invention relates to a kind of subscriber identification module and data management server and realize the method and system of data sync.
Background technology
The characteristic of portable terminal such as mobile phone makes it to roam in certain zone, but in order to satisfy the demand that specific user's needs limiting mobile terminal uses in certain zone, the application number that on April 27th, 2005 occurred being disclosed in is a kind of method of roaming restriction of 200310100574.8, this method is controlled by network side the restriction of user network rights of using, fail safe is lower, is unfavorable for well guaranteeing benefits of operators.Very little when area dividing, portable terminal are carried out frequent when mobile in legal district and illegal interval, the network control system of stepping on of portable terminal certainly will cause certain pressure to network side communication, even can not in time limit the terminal carrying out service that enters illegal district.
In order to solve the problems of the technologies described above, the present patent application people provides a kind of method of utilizing subscriber identification module to step on network control system in another patent application, this method is based upon on the basis that terminal and subscriber identification module two-way authentication pass through, and preserves the legal district data that this terminal can legal use in the subscriber identification module.When starting up of terminal or positional information changed, terminal sent subscriber identification module to after receiving the positional information of Cell Broadcast CB, thus the legitimacy that subscriber identification module is carried out positional information according to the legal district data of preserving judge control terminal step on the net attribute.When starting up of terminal obtained positional information first, subscriber identification module provided correct or wrong authenticating result according to the legitimacy of positional information, and the legal terminal that makes positional information is stepped on and netted successfully, and the illegal terminal of positional information is stepped on the net failure.Under open state, when terminal obtains positional information because of the present position changes, subscriber identification module judges whether this positional information is identical with previous position information legitimacy, then keep original net attribute of stepping on as identical, if difference is carried out legitimacy again and is judged, and carry out authentication according to legitimacy after then requiring terminal execution renewal operation to step on the upset of net attribute, the legal terminal that makes positional information is stepped on and is netted successfully, and the illegal terminal of positional information is stepped on the net failure.
Utilize the difference of terminal present position information, utilize the mobile terminal user identification module can realize that limiting terminal uses network only in the appointed area, compared to the method for utilizing network side or utilizing terminal control to step on the net attribute, this inventive method has higher reliability and fail safe to operator.
For the legitimacy of real-time judge terminal region, all legal district data have been preserved in the mobile terminal user identification module.Legal district data content is safeguarded by the BOSS server is unified.Because of operation needs, operator may change legal district scope, promptly the legal district data in the BOSS server is increased and decreased.Be legal district data in the assurance server and the legal district data sync in the subscriber identification module, need upgrade the legal district data in the subscriber identification module according to the data in the server, if adopt the synchronous method of all data amount, then in each synchronizing process, the BOSS server need be by network with all data distributings, and this method interactive data quantity is bigger.Along with the expansion of customer group, network pressure increases thereupon.
Can to occur the data interaction success rate synchronously low except subscriber identification module and server carry out all data amount, and outside the problem such as network blockage is serious, other clients also same problem can occur when carrying out data sync with server.
Summary of the invention
The technical problem to be solved in the present invention provides the method for a kind of subscriber identification module and data management server realization data sync, with the mutual amount of network data in effective minimizing synchronizing process.
For solving the problems of the technologies described above, the invention provides a kind of subscriber identification module and data management server and realize the method for data sync, subscriber identification module and data management server record use the legal district data of the terminal of this subscriber identification module, after subscriber identification module contains this data synchronization request by giving out a contract for a project on the communication network, server with the data sent out on present active data and the subscriber identification module relatively after, organize downlink data to issue according to difference, after subscriber identification module is received all synchrodatas, with the data in the downlink data renewal subscriber identification module.
Further, when subscriber identification module and data management server write down the data in the legal district of terminal that uses this subscriber identification module, write down this data characteristic of correspondence information, send out the synchronization request that only comprises data characteristics information on the subscriber identification module, the data characteristics information that server is uploaded present active data characteristic information and subscriber identification module compares, organize downlink data according to characteristic information difference, subscriber identification module is upgraded data and characteristic information wherein.
Further, the data that write down in subscriber identification module and the data management server are to use the legal district data of the terminal of subscriber identification module.
Further, the characteristic information that writes down in subscriber identification module and the data management server is the versions of data number of legal district data correspondence.
Further, after each starting up of terminal authentication success, send out synchronization request on the subscriber identification module.
Further, when terminal switches to legal district from illegal district, send out synchronization request on the subscriber identification module, or the number of times that switches to legal district from illegal district when terminal is when reaching stipulated number, subscriber identification module goes up a synchronization request again.
Further, when terminal is used legal district data content first as the subscriber identification module of sky, carry out the synchronous flow process of following empty calorie: behind the starting up of terminal, the positional information content is real-time transmitted to subscriber identification module; Subscriber identification module finds that when legitimacy is judged legal district data content is empty, directly steps on net; Subscriber identification module and data management server are carried out legal district data sync flow process; Terminal is carried out reopening machine flow process, obtains positional information again, utilizes legal district data after upgrading to judge the legitimacy of positional information, if terminal is in illegal district, forbids that then terminal steps on net, if terminal is in legal district, then allows terminal to step on net.
Further, in the synchronous flow process of empty calorie, after subscriber identification module sent legal district data synchronization request, terminal forbade that the user operates all buttons except that power key.
Further, also comprise following server forced synchronism flow process: server issues mandatory synchronous the application to subscriber identification module according to terminal use's demand, and data are initial value in the synchronization request of sending out on the subscriber identification module.
Further, the message between described subscriber identification module and the data management server is that the data wireless transmission means transmits.
Further, described downlink data is meant the data that need increase and/or reduce in subscriber identification module.
Further, terminal is also returned synchronous successful acknowledge message to server after finishing data sync.
Another technical problem that the present invention will solve provides a kind of data synchronous system, with the mutual amount of network data in effective minimizing data synchronization process.
A kind of data synchronous system, this system comprises data management server and the subscriber identification module by terminal and communication network and this server interaction, wherein above-mentioned data management server comprises:
Data storage cell is used to preserve the legal district data of the terminal of using described subscriber identification module;
The data comparing unit is used for the data that data that the comparison subscriber identification module uploads and data storage cell are preserved, and draws data difference;
The synchrodata generation unit is used for the variance data according to the data comparing unit, obtains corresponding data from data storage cell;
The information receiving and transmitting unit is used for the data that the synchrodata generation unit generates are sent to subscriber identification module,
Above-mentioned subscriber identification module comprises:
Data storage cell is used to preserve the legal district data of the terminal of using described subscriber identification module;
The information receiving and transmitting unit is used for sending data synchronization request to data management server, carries the data of data storage cell in the synchronization request and the synchrodata of receiving is sent to data synchronisation unit and handle;
Data synchronisation unit, the synchrodata that is used for sending according to the information receiving and transmitting unit is upgraded the data of data storage cell.
Further, the data storage cell in above-mentioned data management server and the subscriber identification module also is used to preserve each data characteristic of correspondence information, and,
The described data comparing unit of above-mentioned data management server also is used for the data characteristics information that data characteristics information that the comparison subscriber identification module uploads and data storage cell are preserved, and draws characteristic information difference;
Described synchrodata generation unit also is used for the difference characteristic information according to the data comparing unit, obtains corresponding data from data storage cell;
The data of carrying in the data synchronization request that the described information receiving and transmitting unit of above-mentioned subscriber identification module sends are characteristic informations;
Described data synchronisation unit, the synchrodata that also is used for sending according to the information receiving and transmitting unit is upgraded the characteristic information of data storage cell.
Further, the legal district data of the terminal that is to use subscriber identification module of data storage cell record in subscriber identification module and the data management server.
Further, the characteristic information of data storage cell record is the versions of data number of legal district data correspondence in subscriber identification module and the data management server.
Further, the information receiving and transmitting unit of subscriber identification module in starting up of terminal authentication success back or terminal when illegal district switches to legal district from trend data management server transmission data synchronization request.
Further, subscriber identification module also comprises an empty calorie lock unit, be used for when terminal is used the empty calorie start, allow terminal directly to step on net, and to require on the information receiving and transmitting unit to send out a upstream data be the synchronization request of initial value, call data synchronisation unit and the information receiving and transmitting unit upgrades the data memory cell, require terminal to carry out reopening machine flow process.
Further, data management server also comprises a forced synchronism unit, is used for the requirement according to the keeper, sends mandatory synchronous application to subscriber identification module, after this pressure message was received in the information receiving and transmitting unit of described subscriber identification module, data were initial value in the upstream data.
Further, subscriber identification module and legal area management server include encryption/decryption element, are used for the data that receive are decrypted and the data that will send are encrypted.
Compared to prior art, carry out the method for data sync between client of the present invention and server, after data are compared, organize synchrodata according to data difference, the success rate height of data interaction, network pressure are little.The legal district of record data in subscriber identification module of the present invention and the server, write down the version number of legal district data correspondence simultaneously, in synchronous flow process, the version number information that in the upstream data of subscriber identification module, only need comprise legal district data, after adopting version number to compare, only need issue increment or decrement data,, significantly reduce the data volume of network interaction with respect to the synchronous method of all data amount.And when terminal is used the subscriber identification module with area locking function first, the legal district data content of subscriber identification module is empty, be called empty calorie, when carrying out the synchronous flow process of empty calorie, allow the user normally to step on net, but by using special order qualifier to prevent the network interaction operation of terminal except that legal district data sync flow process, thereby guarantee the normal use of benefits of operators and terminal.And server can carry out the forced synchronism flow process according to terminal use's demand, with the normal legal use of timely assurance terminal.The legal district of the present invention data synchronous system can guarantee the realization of said method.
Description of drawings
Fig. 1 is the legal district of a present invention data synchronous system configuration diagram.
Fig. 2 is the common legal district data sync schematic diagram of embodiment of the invention subscriber identification module and server.
The legal district of the empty calorie data sync schematic flow sheet of subscriber identification module and server when Fig. 3 is the start of embodiment of the invention terminal use empty calorie.
Subscriber identification module and clothes when Fig. 4 is the legal district of embodiment of the invention server pressure initiation data sync. the legal district of the pressure of affair device data sync schematic diagram.
Embodiment
Carry out the fail safe of mobile terminal area locking in order to improve operator, utilize subscriber identification module to realize area locking, on the basis that terminal and subscriber identification module two-way authentication are passed through, when starting up of terminal or terminal positional information changed, terminal was real-time transmitted to subscriber identification module with the content of positional information.Subscriber identification module judges the legitimacy of the positional information that obtains, and provide correct or wrong authenticating result thus respectively in the subsequent authentication process according to the legal district data of preserving, if terminal is in illegal district, forbids that then terminal steps on net; If terminal is in legal district, then allow terminal to step on net, thereby realize the area locking function of subscriber identification module, limiting terminal uses network only in the appointed area.
Legal as shown in Figure 1 district data synchronous system is responsible for upgrading the legal district data in cellphone subscriber's identification module, so that control the net of stepping on of portable terminal, realizes the purpose that portable terminal uses in the localized area.This system mainly comprises sms center SMSC (Short Message Service Center), internet short message gateway ISMG (Internet Short Message Gateway) and BOSS system.
This system mainly realizes following function:
1. the positional information of management area authentication terminal
The BOSS core data module of BOSS system is preserved current legal district data, comprises lane place code (LAC) interval and cell ID (CELLID) interval.
2. legal district data sync function
Synchronizing function is exactly that right discriminating system can upgrade legal district data in the subscriber identification module (SIM card) when the relevant positional information in the legal zone that is provided with for the user changes.SIM card can initiatively be carried out the data synchronization request of legal district, and regional right discriminating system also can initiatively be initiated the forced synchronism of legal district data.
3. support the air traffic channel mode to upgrade the function of positional information in the SIM card.
Adopt the CMPP agreement,, also can adopt air traffic channel BIP (bearer independent protocol, bearer independent protocol) WAP or USSD with the completing place information updating of data short message mode.
4. safety function.
The card end is encrypted the order data of uplink message, and BOSS will decipher reprocessing.
Card end, BOSS all need to finish certification work to the MAC verification to the processing of downlink data, and downlink data is an enciphered data.
In order to guarantee the legal district data sync in subscriber identification module and the BOSS server, effectively reduce the mutual amount of network data simultaneously, the legal district data of each edition all have corresponding version number, and subscriber identification module and the legal district of BOSS server record data write down the version number of each legal district data simultaneously.When the BOSS server increases former legal district data or deletes, need simultaneously legal district version number is changed.
When needs carry out legal district data sync, subscriber identification module is initiated the up note of legal district data synchronization request (MO application) by sms center SMSC, internet short message gateway ISMG, send to the BOSS server in the version number with legal district data in the subscriber identification module, the BOSS server will be gone up the version number sent out and the version number in the server compares.The BOSS server only issues increment, decrement data according to version number's difference, sends downlink short message (MT data) to subscriber identification module by sms center SMSC, internet short message gateway ISMG.Subscriber identification module obtain after the data to former data do to increase, deletion action (upgrade operation by increase, deletion action realizes) reaching the purpose synchronous with server data, and by the MT status report to BOSS system feedback operating result.
Be to realize aforesaid operations, the legal district of the present invention data synchronous system comprise legal area management server and and the subscriber identification module of carrying out data interaction by terminal and communication network and this server, wherein
This legal area management server comprises CMPP communication system, BOSS core data module, BOSS authentication process unit, zone and data processing API module.
The CMPP communication system is used for applying for and transmitting to subscriber identification module to the MO of BOSS zone authentication process module forwards subscriber identification module the MT data of BOSS zone authentication process module.
BOSS core data module is a legal district data storage cell, be used to preserve the version number of legal district data and each legal district data correspondence, legal district data comprise lane place code (LAC) interval and cell ID (CELLID) interval, and all there is corresponding version number in each interval.
BOSS zone authentication process module further comprises:
The information receiving and transmitting unit is used to receive the MO application of subscriber identification module and the MT data that generate according to data processing API module to the subscriber identification module transmission;
The data comparing unit is used for the legal district versions of data information that legal district versions of data information after the deciphering that the comparison subscriber identification module uploads and legal district data storage cell are preserved, and draws version number's difference;
The forced synchronism unit, be used for requirement, send mandatory synchronous application, after this pressure message is received in the information receiving and transmitting unit of described subscriber identification module to subscriber identification module according to the keeper, versions of data number is filled to initial value in the upstream data, and present embodiment adopts " 0 ".
The synchrodata generation unit is used for the difference version number according to the data comparing unit, obtains corresponding legal district data from legal district data storage cell, and need packing data sends to data processing API unit and handle;
Data processing API module is decrypting device, ciphering unit, and the encryption request msg that decrypting device is responsible for subscriber identification module is uploaded is decrypted, and returns request msg after the deciphering for BOSS zone authentication process resume module.Ciphering unit is used for that the need packing data that BOSS data authentication processing unit sends is carried out data set bag, MAC calculating and api function to be encrypted, and data encrypted is returned BOSS data authentication processing unit.
Subscriber identification module comprises legal district data storage cell, information receiving and transmitting unit, encryption/decryption element, data synchronisation unit and empty calorie lock unit.Wherein:
Legal district data storage cell is used to preserve the version number of legal district data and each legal district data correspondence;
The information receiving and transmitting unit, be used in starting up of terminal authentication success back or terminal when illegal district switches to legal district from the legal area management server transmission of trend data synchronization request, carry the version number of legal district data storage cell in the synchronization request and the synchrodata of receiving sent to encryption/decryption element and handle;
Encryption/decryption element, the synchronization request MO application that is used for sending to the BOSS system is encrypted, and passes to data synchronisation unit after the descending MT data that the BOSS system sends are decrypted;
Data synchronisation unit is used for upgrading according to the synchrodata that the information receiving and transmitting unit sends the legal district data and the version number of legal district data storage cell.
The empty calorie lock unit, be used for when terminal is used the empty calorie start, allow terminal directly to step on net, and require on the information receiving and transmitting unit to send out the synchronization request that versions of data number is filled to initial value, present embodiment adopts " 0 ", call data synchronisation unit and information receiving and transmitting unit legal district data storage cell is upgraded, require terminal to carry out reopening machine flow process.
Below with reference to diagram, the legal district data sync flow process under the different situations is described.
As shown in Figure 2, be that subscriber identification module of the present invention and server legitimacy district data are carried out common synchronous flow process, this flow process may further comprise the steps:
Step 11: subscriber identification module comprises the version number information of legal district data in the subscriber identification module by sending out " legal district data synchronization request " on sms center and the internet short message gateway in the upstream data;
For guaranteeing the promptness of legal district data sync, present embodiment requires to send out synchronization request on the subscriber identification module after each starting up of terminal authentication success, obtains up-to-date legal district data.
Consider the customer group of not having the shutdown custom in addition, require subscriber identification module in terminal when illegal district switches to legal district, a same synchronization request that goes up.
In fact, the terminal that has continues to keep open state for a long time, and frequent the switching moved between illegal district and legal district, consider to carry out repeatedly legal district data sync flow process, may cause the transmission of synchronizing information to become the problem of useless operation, can add up from the number of times that illegal district switches to legal district terminal, when reaching stipulated number, carry out simultaneous operation again.
In the legal district versions of data that step 12:BOSS server is uploaded subscriber identification module number and the server at present effective legal district versions of data number compare, identical then process ends, inequalityly then organize downlink data, promptly issue the data that need increase and/or reduce in subscriber identification module according to version number's difference.
Step 13: after subscriber identification module is received all synchrodatas, with the version number in the renewal subscriber identification module of the version number in the downlink data, and go up and send out " successfully confirming synchronously " information, the BOSS server stops synchronous flow process after receiving confirmation.
Legal district data in the subscriber identification module might not have at the very start, when terminal is used the subscriber identification module with area locking function first, legal district data content is empty (invalid data also is considered as sky) in the subscriber identification module, versions of data number is 0, the synchronous flow process of this moment is called " the synchronous flow process of empty calorie ", does not also get rid of the version of preserving an acquiescence earlier certainly.For guaranteeing that terminal normally finishes legal district data sync, need to guarantee normally to step on net earlier when terminal is used first, as shown in Figure 3, be empty calorie interaction flow between terminal, subscriber identification module and server when synchronous, this flow process may further comprise the steps:
Step 21: after terminal was used the subscriber identification module start of legal district data as sky, terminal was real-time transmitted to subscriber identification module with the positional information content;
Step 22: subscriber identification module is carried out authorizing procedure, is empty as finding the legal district data of preserving, and does not then carry out the legitimacy of positional information and judges that terminal is directly stepped on net;
Step 23: subscriber identification module is carried out active order SEND SMS transmission synchronization request, and the legitimacy versions of data number is 0 in the uplink message;
Step 24:BOSS server number organizes downlink data to issue according to effective legal district versions of data wherein;
Step 25: after subscriber identification module is received all synchrodatas, with the version number in the renewal subscriber identification module of the version number in the downlink data, and go up and send out " successfully confirming synchronously " information, BOSS stops synchronous flow process after receiving confirmation;
Step 26: subscriber identification module is carried out active order REFRESH and is required terminal to carry out reopening machine flow process, so that network is initiated authentication operations once more;
Step 27: after terminal was carried out the REFRESH order, terminal sent positional information to subscriber identification module;
Step 28: subscriber identification module is compared with the legal district data of preservation according to the positional information that obtains once more, carries out authorizing procedure, according to the legitimacy of positional information, open or limiting terminal step on the net authority, be in illegal district as if terminal, forbid that then terminal steps on net; If terminal is in legal district, then allow terminal to step on net.
If according to above flow process, terminal use empty calorie in the start of illegal district during finish the synchronous flow process of empty calorie, might utilize and step on the net chance, set up and call out.For preventing the generation of this problem, terminal and subscriber identification module made following regulation alternately: when subscriber identification module is carried out active order SENDSMS and sent synchronization request in the step 23, order qualifier to be filled to " AAH " (perhaps other bit8-bit2 are not complete zero particular value) especially.After terminal is carried out the active order SEND SMS of this order qualifier, terminal forbids that the user operates all buttons except that power key, provide signal language " obtaining legal district data; please wait for ... " simultaneously, after subscriber identification module was carried out active order REFRESH, terminal was recovered the correct response to the terminal keyboard operation.If the terminal use shuts down by force, then after start next time, because of the legitimacy data be still to be 0, subscriber identification module can be initiated the synchronous flow process of empty calorie once more, until finishing the Data Update operation of legal district.
The regulation of active order SEND SMS is as follows:
Figure C20061007628700151
Figure C20061007628700161
The user is in using this terminal procedures, and subscriber identification module needs repeatedly that to carry out legal district data synchronization mutual with the BOSS server.Owing to the people is reasons such as misoperation, network data mistake, may occur on legal district versions of data number and the server in user's card identical, but different on the content of legal district data and the server.In this case, carrier server can be initiated " mandatory synchronous flow process ".
Subscriber identification module of the present invention and server carry out mandatory synchronous flow process as shown in Figure 4 according to user's request, may further comprise the steps:
Step 31:BOSS server issues mandatory synchronous application according to user's request;
Step 32: after subscriber identification module is received this mandatory synchronous application, on send out synchronization request common, legal district versions of data number is filled to " 0 " in the upstream data;
Step 33: server issues according to its effective legal district data organization downlink data;
Step 34: after subscriber identification module is received all synchrodatas, with the version number in the renewal subscriber identification module of the version number in the downlink data, and go up and send out " successfully confirming synchronously " message, server stops synchronous flow process after receiving acknowledge message.
In sum, the legal district of record data in subscriber identification module of the present invention and the server, write down the version number of legal district data correspondence simultaneously, in synchronous flow process, the version number information that only need comprise legal district data in the upstream data of subscriber identification module after employing version number compares, only need issue increment or decrement data, with respect to the synchronous method of all data amount, significantly reduced the data volume of network interaction.And the encryption/decryption element in subscriber identification module and the server can guarantee legal district safety of data.When terminal is used the subscriber identification module with area locking function first, the legal district data content of subscriber identification module is empty, be called empty calorie, when carrying out the synchronous flow process of empty calorie, allow terminal normally to step on net, but by using special order qualifier to prevent terminal operation except that legal district data sync flow process before normal authentication is stepped on net, thereby the normal use of assurance benefits of operators and terminal.And server can carry out the forced synchronism flow process according to terminal use's demand, with the normal legal use of timely assurance terminal.
If in above-mentioned each synchronous flow process, subscriber identification module directly will be sent out server on the legal district data, carrying out legal district by server relatively organizes downlink data to realize the words of legal district data sync according to data difference in the back, also can reduce the mutual amount of data sync to a certain extent compared to the mutual prior art of all data amount, improved the data sync success rate, can prevent effectively that network data is congested; And subscriber identification module and server write down the version number of each data simultaneously in the various embodiments described above, the synchronization request of go up sending out only comprises versions of data number, and version number compared, server is organized downlink data according to version number's difference, interactive data quantity when then further having reduced data sync, thus prevent that the congested problem of network data from taking place.
The inventive method is not limited to the foregoing description, be applicable to that also subscriber identification module and data management server carry out other required data synchronization of terminal, particularly, record uses the required data of the terminal of this subscriber identification module in subscriber identification module and the data management server, after subscriber identification module contains this data synchronization request by giving out a contract for a project on the communication network, server with the data sent out on present active data and the subscriber identification module relatively after, organize downlink data to issue according to difference, after subscriber identification module is received all synchrodatas, with the data in the downlink data renewal subscriber identification module.When certainly subscriber identification module and data management server record uses the required data of the terminal of this subscriber identification module, can also write down this data characteristic of correspondence information, send out the synchronization request that only comprises data characteristics information on the subscriber identification module, the data characteristics information that server is uploaded present active data characteristic information and subscriber identification module compares, organize downlink data according to characteristic information difference, subscriber identification module is upgraded data and characteristic information wherein.
In the foregoing description, legal district data accordingly version number be one of characteristic information concrete the application, characteristic information can also be data area code or data service code.
Similarly, the method of data sync of the present invention, also be applicable to other clients that to carry out data sync with server, be all to preserve data in the client and server, in order to realize in the client data sync in the data and server, user end to server sends and comprises its preservation data synchronization request, server compares the data of sending out on active data and the client, and issue downlink data to client according to data difference, client is carried out Data Update according to this downlink data, realizes with data in server synchronous.Certainly in order further to reduce the data interaction amount, can be when client and server be preserved data, write down the version number of each data, client need realize when synchronous with server, giving out a contract for a project on only needing contains the synchronization request of versions of data number, and server compares according to last version number, and organizes downlink data according to version number's difference, thereby improve the success rate of data sync, prevent that the congested problem of network data from taking place.

Claims (18)

1, a kind of subscriber identification module and data management server are realized the method for data sync, it is characterized in that: subscriber identification module and data management server record use the legal district data of the terminal of this subscriber identification module, after subscriber identification module contains this data synchronization request by giving out a contract for a project on the communication network, server with the data sent out on present active data and the subscriber identification module relatively after, organize downlink data to issue according to difference, after subscriber identification module is received all synchrodatas, with the data in the downlink data renewal subscriber identification module.
2, the method for claim 1, it is characterized in that: when subscriber identification module and data management server record uses the legal district of the terminal data of this subscriber identification module, write down this data characteristic of correspondence information, send out the synchronization request that only comprises data characteristics information on the subscriber identification module, the data characteristics information that server is uploaded present active data characteristic information and subscriber identification module compares, organize downlink data according to characteristic information difference, subscriber identification module is upgraded data and characteristic information wherein.
3, method as claimed in claim 2 is characterized in that: the characteristic information that writes down in subscriber identification module and the data management server is the versions of data number of legal district data correspondence.
4, as each described method in the claim 1 to 3, it is characterized in that: after each starting up of terminal authentication success, send out synchronization request on the subscriber identification module.
5, as each described method in the claim 1 to 3, it is characterized in that: when terminal switches to legal district from illegal district, send out synchronization request on the subscriber identification module, or the number of times that switches to legal district from illegal district when terminal is when reaching stipulated number, subscriber identification module goes up a synchronization request again.
6, as each described method in the claim 1 to 3, it is characterized in that: when terminal is used legal district data content first as the subscriber identification module of sky, carry out the synchronous flow process of following empty calorie: behind the starting up of terminal, the positional information content is real-time transmitted to subscriber identification module; Subscriber identification module finds that when legitimacy is judged legal district data content is empty, directly steps on net; Subscriber identification module and data management server are carried out legal district data sync flow process; Terminal is carried out reopening machine flow process, obtains positional information again, utilizes legal district data after upgrading to judge the legitimacy of positional information, if terminal is in illegal district, forbids that then terminal steps on net, if terminal is in legal district, then allows terminal to step on net.
7, method as claimed in claim 6 is characterized in that: in the synchronous flow process of empty calorie, after subscriber identification module sent legal district data synchronization request, terminal forbade that the user operates all buttons except that power key.
8, as each described method in the claim 1 to 3, it is characterized in that: also comprise following server forced synchronism flow process: server issues mandatory synchronous the application to subscriber identification module according to terminal use's demand, and data are initial value in the synchronization request of sending out on the subscriber identification module.
9, as each described method in the claim 1 to 3, it is characterized in that: the message between described subscriber identification module and the data management server is that the data wireless transmission means transmits.
10, as each described method in the claim 1 to 3, it is characterized in that: described downlink data is meant need be in subscriber identification module increase and/or the data that reduce.
11, as each described method in the claim 1 to 3, it is characterized in that: terminal is also returned synchronous successful acknowledge message to server after finishing data sync.
12, a kind of data synchronous system is characterized in that: this system comprises data management server and the subscriber identification module by terminal and communication network and this server interaction, and wherein above-mentioned data management server comprises:
Data storage cell is used to preserve the legal district data of the terminal of using described subscriber identification module;
The data comparing unit is used for the data that data that the comparison subscriber identification module uploads and data storage cell are preserved, and draws data difference;
The synchrodata generation unit is used for the variance data according to the data comparing unit, obtains corresponding data from data storage cell;
The information receiving and transmitting unit is used for the data that the synchrodata generation unit generates are sent to subscriber identification module, and above-mentioned subscriber identification module comprises:
Data storage cell is used to preserve the legal district data of the terminal of using described subscriber identification module;
The information receiving and transmitting unit is used for sending data synchronization request to data management server, carries the data of data storage cell in the synchronization request and the synchrodata of receiving is sent to data synchronisation unit and handle;
Data synchronisation unit, the synchrodata that is used for sending according to the information receiving and transmitting unit is upgraded the data of data storage cell.
13, system as claimed in claim 12 is characterized in that: the data storage cell in above-mentioned data management server and the subscriber identification module, also be used to preserve each data characteristic of correspondence information, and,
The described data comparing unit of above-mentioned data management server also is used for the data characteristics information that data characteristics information that the comparison subscriber identification module uploads and data storage cell are preserved, and draws characteristic information difference;
Described synchrodata generation unit also is used for the difference characteristic information according to the data comparing unit, obtains corresponding data from data storage cell;
The data of carrying in the data synchronization request that the described information receiving and transmitting unit of above-mentioned subscriber identification module sends are characteristic informations;
Described data synchronisation unit, the synchrodata that also is used for sending according to the information receiving and transmitting unit is upgraded the characteristic information of data storage cell.
14, method as claimed in claim 13 is characterized in that: the characteristic information of data storage cell record is the versions of data number of legal district data correspondence in subscriber identification module and the data management server.
15, as each described system in the claim 12 to 14, it is characterized in that: the information receiving and transmitting unit of subscriber identification module in starting up of terminal authentication success back or terminal when illegal district switches to legal district from trend data management server transmission data synchronization request.
16, as each described system in the claim 12 to 14, it is characterized in that: subscriber identification module also comprises an empty calorie lock unit, be used for when terminal is used the empty calorie start, allow terminal directly to step on net, and to require on the information receiving and transmitting unit to send out a upstream data be the synchronization request of initial value, call data synchronisation unit and the information receiving and transmitting unit upgrades the data memory cell, require terminal to carry out reopening machine flow process.
17, as each described system in the claim 12 to 14, it is characterized in that: data management server also comprises a forced synchronism unit, be used for requirement according to the keeper, send mandatory synchronous application to subscriber identification module, after this pressure message was received in the information receiving and transmitting unit of described subscriber identification module, data were initial value in the upstream data.
18, as each described system in the claim 12 to 14, it is characterized in that: subscriber identification module and data management server include encryption/decryption element, are used for the data that receive are decrypted and the data that will send are encrypted.
CNB2006100762871A 2006-04-21 2006-04-21 Method and system of realizing data synchronization of user's terminal and server Active CN100456887C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100762871A CN100456887C (en) 2006-04-21 2006-04-21 Method and system of realizing data synchronization of user's terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100762871A CN100456887C (en) 2006-04-21 2006-04-21 Method and system of realizing data synchronization of user's terminal and server

Publications (2)

Publication Number Publication Date
CN1835641A CN1835641A (en) 2006-09-20
CN100456887C true CN100456887C (en) 2009-01-28

Family

ID=37003203

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100762871A Active CN100456887C (en) 2006-04-21 2006-04-21 Method and system of realizing data synchronization of user's terminal and server

Country Status (1)

Country Link
CN (1) CN100456887C (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8255943B2 (en) 2010-01-14 2012-08-28 Syncbak, Inc. Broadcast area authentication
US9037634B2 (en) 2010-09-09 2015-05-19 Syncbak, Inc. Broadcast tuning concepts
CN102622383B (en) * 2011-03-14 2017-05-10 小米科技有限责任公司 Method for reading network chapter file
WO2013091162A1 (en) * 2011-12-19 2013-06-27 华为技术有限公司 Method, device, and system for recovering distributed storage data
US8910196B2 (en) 2012-01-30 2014-12-09 Syncbak, Inc. Broadcast area identification and content distribution
CN102821040A (en) * 2012-06-28 2012-12-12 用友软件股份有限公司 Network transmission flow compression unit and network transmission flow compression method
US8966549B2 (en) 2012-10-03 2015-02-24 Syncbak, Inc. Providing and receiving wireless broadcasts
CN105791372A (en) * 2014-12-26 2016-07-20 航天信息股份有限公司 System and method for controlling mobile terminal device at network server side
CN105302895B (en) * 2015-10-21 2018-11-27 浪潮通用软件有限公司 A kind of data cache synchronization method, server and client side
CN113452770B (en) * 2021-06-24 2023-05-02 未鲲(上海)科技服务有限公司 Data synchronization method, device, computer equipment and storage medium
CN117155978B (en) * 2023-10-31 2024-01-26 山东弘毅节能服务有限公司 Intelligent campus management system based on artificial intelligence

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1360787A (en) * 1999-07-05 2002-07-24 艾利森电话股份有限公司 Method and apparatus for synchronizing database in portable communication devices
US20030040313A1 (en) * 2001-08-21 2003-02-27 Hogan William Damian Method and apparatus for location area updating in cellular communications
CN1502188A (en) * 2001-04-04 2004-06-02 摩托罗拉公司 Method and apparatus for authentication using remote multiple access SIM technology
CN1547403A (en) * 2003-12-12 2004-11-17 ���пƼ���ѧ A handset used for dynamic identity authentication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1360787A (en) * 1999-07-05 2002-07-24 艾利森电话股份有限公司 Method and apparatus for synchronizing database in portable communication devices
CN1502188A (en) * 2001-04-04 2004-06-02 摩托罗拉公司 Method and apparatus for authentication using remote multiple access SIM technology
US20030040313A1 (en) * 2001-08-21 2003-02-27 Hogan William Damian Method and apparatus for location area updating in cellular communications
CN1547403A (en) * 2003-12-12 2004-11-17 ���пƼ���ѧ A handset used for dynamic identity authentication

Also Published As

Publication number Publication date
CN1835641A (en) 2006-09-20

Similar Documents

Publication Publication Date Title
CN100456887C (en) Method and system of realizing data synchronization of user's terminal and server
CN110945886B (en) Method and system for detecting anti-steering of roaming activity in wireless communication network
US9531681B2 (en) Method for the authentication of applications
KR102406757B1 (en) A method of provisioning a subscriber profile for a secure module
EP1758417B1 (en) Authentication method
US10003965B2 (en) Subscriber profile transfer method, subscriber profile transfer system, and user equipment
US8001615B2 (en) Method for managing the security of applications with a security module
EP3457671B1 (en) Method for accessing a service, corresponding device and system
CN113055867A (en) Method and device for auxiliary network distribution of terminal and electronic equipment
CA2913456C (en) Communication control apparatus, authentication device, central control apparatus and communication system
US20100177663A1 (en) Method and Apparatus for Enabling Connectivity in a Communication Network
CN101248644A (en) Management of user data
EP3087767B1 (en) Method for accessing a service and a corresponding device
CN104641669A (en) Apparatus and methods for controlled switching of electronic access clients without requiring network access
CA2433321A1 (en) Method for enabling pki functions in a smart card
CN104521213A (en) Manipulation and restoration of authentication challenge parameters in network authentication procedures
EP3095266B1 (en) Access control for a wireless network
CN102970680A (en) Method and device for network switching
KR102095136B1 (en) A method for replacing at least one authentication parameter for authenticating a secure element, and a corresponding secure element
CN101557588B (en) User certificate management and use method and mobile terminal thereof
US8121580B2 (en) Method of securing a mobile telephone identifier and corresponding mobile telephone
CN101160784B (en) Cipher key updating negotiation method and apparatus
CN111246455B (en) Registration activation method, equipment and computer readable storage medium
CN100433684C (en) Method, system and application server for providing broadcast multicast service
CN100396156C (en) Synchronous SQN processing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant