CN100433867C - Method and apparatus for preventing personal data losing in mobile terminal - Google Patents
Method and apparatus for preventing personal data losing in mobile terminal Download PDFInfo
- Publication number
- CN100433867C CN100433867C CNB2004100970080A CN200410097008A CN100433867C CN 100433867 C CN100433867 C CN 100433867C CN B2004100970080 A CNB2004100970080 A CN B2004100970080A CN 200410097008 A CN200410097008 A CN 200410097008A CN 100433867 C CN100433867 C CN 100433867C
- Authority
- CN
- China
- Prior art keywords
- personal data
- mobile terminal
- short message
- network side
- message
- 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.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 title claims abstract description 82
- 238000012545 processing Methods 0.000 claims abstract description 8
- 230000008569 process Effects 0.000 claims description 32
- 238000013480 data collection Methods 0.000 claims description 31
- 238000007405 data analysis Methods 0.000 claims description 27
- 238000013500 data storage Methods 0.000 claims description 11
- 239000000284 extract Substances 0.000 claims description 11
- 238000012790 confirmation Methods 0.000 claims description 10
- 230000000737 periodic effect Effects 0.000 claims description 2
- 230000004044 response Effects 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 9
- 238000012546 transfer Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 125000006850 spacer group Chemical group 0.000 description 3
- 238000013523 data management Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种防止移动终端中个人数据丢失的方法及装置。本发明的方法包括以下步骤:接收到备份个人数据的指令后,移动终端收集存储模块中的个人数据并转化成特定格式消息,并将上述特定格式消息发送给网络侧;网络侧接收到上述特定格式消息后,将该特定格式消息中的内容保存到网络侧的存储模块中。本发明的移动终端进一步包括数据处理模块,用于收集移动终端中的个人数据并转换成特定格式消息发送给网络侧;服务器端网络侧设备进一步包括应用服务器,用于将特定格式消息解析出个人数据并保存到网络侧数据库服务器。本发明能够让用户在无需外加设备的情况下,简单便捷的备份移动终端中的个人数据,从而防止移动终端中个人数据的丢失。
The invention discloses a method and a device for preventing loss of personal data in a mobile terminal. The method of the present invention includes the following steps: after receiving the instruction for backing up personal data, the mobile terminal collects the personal data in the storage module and converts it into a specific format message, and sends the above specific format message to the network side; the network side receives the above specific After formatting the message, save the content in the specific format message to the storage module on the network side. The mobile terminal of the present invention further includes a data processing module, which is used to collect personal data in the mobile terminal and convert it into a specific format message to send to the network side; the server-side network side device further includes an application server, which is used to parse the specific format message out of personal data. The data is saved to the database server on the network side. The invention enables the user to simply and conveniently back up the personal data in the mobile terminal without additional equipment, thereby preventing the loss of the personal data in the mobile terminal.
Description
技术领域 technical field
本发明涉及移动通信技术领域,特别是一种防止移动终端中个人数据丢失的方法及装置。The invention relates to the technical field of mobile communication, in particular to a method and device for preventing loss of personal data in a mobile terminal.
背景技术 Background technique
随着移动通信技术的发展和人们生活水平的提高,移动终端的普及率逐渐增长。在日常生活中,由于各种各样的原因,人们经常会更换移动终端。更换移动终端后,旧移动终端中的个人数据,如通信薄、备忘录和日程表等,也就随之丢失。另外,现在有许多移动终端支持多媒体消息或电子信函(Email)功能,但是很多移动终端的存储容量非常有限,在需要存储多媒体消息或Email时,常常由于存储容量不够而不得已删除一些多媒体消息或Email等个人数据来暂时获得一定的存储空间,从而造成个人数据的丢失。With the development of mobile communication technology and the improvement of people's living standards, the penetration rate of mobile terminals is gradually increasing. In daily life, due to various reasons, people often replace mobile terminals. After the mobile terminal is replaced, the personal data in the old mobile terminal, such as address book, memo and schedule etc., will be lost thereupon. In addition, many mobile terminals now support multimedia messages or electronic mail (Email) functions, but the storage capacity of many mobile terminals is very limited. Waiting for personal data to temporarily obtain a certain storage space, resulting in the loss of personal data.
目前,有些移动终端提供了通用串行总线(Universal Serial Bus,USB)接口或红外线方式,从而使得用户可以通过USB接口或红外线方式将移动终端的个人数据备份到个人计算机上。以使用USB接口方式备份个人数据为例,该方法所涉及的装置如图1所示,移动终端11上至少包括存储器111、USB接口传输模块112,个人计算机12上至少包括数据文件121、USB接口传输模块122、数据管理模块123,移动终端的USB接口传输模块112和个人计算机的USB接口传输模块122通过USB数据线13连接。At present, some mobile terminals provide a Universal Serial Bus (USB) interface or an infrared method, so that the user can back up the personal data of the mobile terminal to a personal computer through a USB interface or an infrared method. Taking the backup of personal data using the USB interface as an example, the devices involved in this method are as shown in Figure 1. The
移动终端上存储器111里保存有个人数据。当移动终端的USB接口传输模块112和个人计算机的USB接口传输模块122通过USB数据线13实现硬件连接后,移动终端的存储器111将被个人计算机识别为计算机的外部存储设备,用户通过个人计算机的数据管理模块123可以管理移动终端上的个人数据,即将个人数据从移动终端的存储器中传输保存到个人计算机上的数据文件中,或者将个人计算机上文件中的个人数据传输保存到移动终端上的存储器中。Personal data is stored in the
在需要备份移动终端中的个人数据时,把移动终端上的个人数据通过上述方式保存到个人计算机中。当更换移动终端后,再通过上述方式从个人计算机中获取个人数据,保存到新的移动终端中。通过上述方法,可以实现备份和转移移动终端中的个人数据,从而进一步防止这些个人数据的丢失。When the personal data in the mobile terminal needs to be backed up, the personal data on the mobile terminal is saved in the personal computer through the above-mentioned method. After the mobile terminal is replaced, the personal data is obtained from the personal computer in the above-mentioned manner and stored in the new mobile terminal. Through the above method, the personal data in the mobile terminal can be backed up and transferred, thereby further preventing the loss of these personal data.
使用USB接口方式或红外线方式备份个人数据,需要移动终端提供USB接口或红外线传输功能,还需要个人计算机、USB数据线等外来设备。但是大多数移动终端并不提供USB接口或红外线传输功能,而且很多用户没有个人计算机或者不方便使用个人计算机,因此使用USB接口或红外线方式来传输个人数据没有通用性。并且使用USB接口方式或红外线方式备份个人数据,需要开启计算机、建立移动终端和计算机之间的联系、从计算机端进行操作等等步骤,实现起来比较烦琐。Backing up personal data in the way of USB interface or infrared ray requires the mobile terminal to provide USB interface or infrared ray transmission function, as well as external devices such as personal computer and USB data cable. However, most mobile terminals do not provide a USB interface or an infrared transmission function, and many users do not have a personal computer or are inconvenient to use a personal computer, so there is no universality in using a USB interface or an infrared transmission method to transmit personal data. And use USB interface mode or infrared ray mode to back up personal data, need to turn on computer, establish the connection between mobile terminal and computer, operate steps such as from computer end, realize more loaded down with trivial details.
发明内容 Contents of the invention
有鉴于此,本发明为了克服上述缺点,提出了一种防止移动终端中个人数据丢失的方法及装置,其目的为提供一种具有通用性的技术方案,能够让用户简单便捷地备份移动终端中的个人数据。In view of this, in order to overcome the above shortcomings, the present invention proposes a method and device for preventing the loss of personal data in mobile terminals. personal data.
根据上述目的,本发明提供了一种防止移动终端中个人数据丢失的方法,该方法包括以下步骤:According to above-mentioned purpose, the present invention provides a kind of method for preventing personal data loss in mobile terminal, and this method comprises the following steps:
A.接收到备份个人数据的指令后,移动终端收集存储模块中自上次收集后发生变化的个人数据,转化成特定格式消息,并将上述特定格式消息发送给网络侧;A. After receiving the instruction to back up personal data, the mobile terminal collects the personal data that has changed since the last collection in the storage module, converts it into a specific format message, and sends the above specific format message to the network side;
B.网络侧接收到上述特定格式消息后,将该特定格式消息中的个人数据保存到网络侧的存储模块中。B. After receiving the message in a specific format, the network side saves the personal data in the message in a specific format to the storage module on the network side.
所述特定格式消息为特定编码格式消息。The specific format message is a specific encoding format message.
所述特定编码格式消息包括多条个人数据。The specific encoded format message includes pieces of personal data.
所述特定编码格式消息中每条个人数据的特定编码格式包括起始标志、发送者标识、接收者标识、个人数据类型、在移动终端中存储的位置、创建主题、数据内容以及结束标识。The specific encoding format of each piece of personal data in the specific encoding format message includes a start flag, sender ID, receiver ID, personal data type, storage location in the mobile terminal, creation subject, data content and end ID.
所述特定编码格式消息中每条个人数据的特定编码格式进一步包括该特定编码格式消息的标识和创建时间。The specific encoding format of each piece of personal data in the specific encoding format message further includes the identification and creation time of the specific encoding format message.
进一步,步骤A中移动终端将上述特定格式消息发送给网络侧的步骤包括:移动终端将上述特定格式消息发送给无线应用协议网关WAP GW;WAP GW接收到上述特定格式消息后,将该特定格式消息转发给网络侧。Further, the step of the mobile terminal sending the message in the specific format to the network side in step A includes: the mobile terminal sends the message in the specific format to the wireless application protocol gateway WAP GW; after the WAP GW receives the message in the specific format, it sends the message in the specific format forwarded to the network side.
较佳地,该方法进一步包括第二移动终端从网络侧获取个人数据的步骤。Preferably, the method further includes the step of the second mobile terminal acquiring personal data from the network side.
所述第二移动终端从网络侧获取个人数据的步骤包括:The step of the second mobile terminal obtaining personal data from the network side includes:
C.第二移动终端接收到获取个人数据的指令后,向网络侧发送请求短消息;C. After receiving the instruction to acquire personal data, the second mobile terminal sends a request short message to the network side;
D.网络侧接收到上述第二移动终端的请求短消息后,根据所述请求短消息的内容向移动终端发送该请求短消息所请求获取的个人数据短消息;D. After the network side receives the request short message of the above-mentioned second mobile terminal, it sends the personal data short message requested by the request short message to the mobile terminal according to the content of the request short message;
E、第二移动终端接收到网络侧的个人数据短消息后,第二移动终端的数据收集解析模块将其解析,并将其中的个人数据保存到存储模块中。E. After the second mobile terminal receives the short message of personal data from the network side, the data collection and analysis module of the second mobile terminal analyzes it, and saves the personal data in it to the storage module.
上述技术方案中,所述特定格式消息为特定格式短消息。In the above technical solution, the specific format message is a specific format short message.
所述特定格式短消息包括服务代码、识别号码、密码和个人数据。The specific format short message includes service code, identification number, password and personal data.
所述请求短消息包括服务代码、识别号码和密码。The request short message includes service code, identification number and password.
所述识别号码为移动终端的号码或网络侧分配的号码。The identification number is the number of the mobile terminal or the number allocated by the network side.
步骤D中所述网络侧接收到上述第二移动终端的请求短消息后,进一步包括以下步骤:网络侧判断请求短消息中的识别号码和相应的密码是否正确,如果是则向移动终端发送所述请求短消息所请求获取的个人数据短消息,否则作错误处理。After the network side described in the step D receives the request short message of the above-mentioned second mobile terminal, it further includes the following steps: the network side judges whether the identification number in the request short message and the corresponding password are correct, and if so, sends the mobile terminal the The personal data short message requested by the above request short message, otherwise it will be treated as an error.
步骤B进一步包括以下步骤:在网络侧保存个人数据后,网络侧向移动终端发送确认短消息。Step B further includes the following steps: after saving the personal data on the network side, the network side sends a confirmation short message to the mobile terminal.
所述备份个人数据的指令为在指定的某一时间备份个人数据。The instruction for backing up personal data is to back up personal data at a specified time.
所述备份个人数据的指令为在指定的周期性时间备份个人数据。The instruction for backing up personal data is to back up personal data at a specified periodic time.
所述备份个人数据的指令为在个人数据的增加量达到某一数额时备份个人数据。The instruction for backing up the personal data is to back up the personal data when the increase of the personal data reaches a certain amount.
该方法进一步包括,在所述网络侧进一步设置WEB服务器查询系统;通过WEB浏览器向WEB服务器查询系统查询所述个人数据。The method further includes, further setting a WEB server query system on the network side; querying the WEB server query system for the personal data through a WEB browser.
在步骤A之前进一步包括用户签约的过程,该过程包括以下步骤:移动终端向网络侧发送注册短消息;网络侧接收到上述注册短消息后,进行注册操作,并向移动终端发送确认短消息。Before step A, the process of user signing is further included, and the process includes the following steps: the mobile terminal sends a registration short message to the network side; after the network side receives the above registration short message, it performs a registration operation and sends a confirmation short message to the mobile terminal.
在步骤B之后进一步包括用户解约的过程,该过程包括以下步骤:移动终端向网络侧发送注销短消息;网络侧接收到上述注销短消息后,进行注销操作,并向移动终端发送确认短消息。After step B, it further includes the process of user cancellation, which includes the following steps: the mobile terminal sends a logout short message to the network side; after receiving the above-mentioned logout short message, the network side performs a logout operation and sends a confirmation message to the mobile terminal.
在步骤E之后进一步包括用户解约的过程,该过程包括以下步骤:第二移动终端向网络侧发送注销短消息;网络侧接收到上述注销短消息后,进行注销操作,并向第二移动终端发送确认短消息。After step E, the process of user cancellation is further included, and the process includes the following steps: the second mobile terminal sends a logout short message to the network side; after the network side receives the above-mentioned logout short message, it performs a logout operation and sends a logout message to the second mobile terminal Confirm the short message.
步骤B中所述将特定格式短消息中的内容保存到网络侧的存储模块中的步骤进一步包括:判断所述特定格式短消息中的每一条个人数据是否与存储模块中所保存的移动终端的个人数据相同,如果是则不保存该条个人数据,否则将该条个人数据保存到存储模块中。The step of saving the content in the specific format short message in the storage module of the network side further includes: judging whether each piece of personal data in the specific format short message is consistent with the mobile terminal stored in the storage module The personal data are the same, if yes, the piece of personal data is not saved, otherwise the piece of personal data is saved in the storage module.
步骤E中所述将个人数据保存到存储模块中的步骤进一步包括:判断所述个人数据短消息中的每一条个人数据是否与存储模块中的个人数据相同,如果是则不保存该条个人数据,否则将该条个人数据保存到存储模块中。The step of saving personal data in the storage module described in step E further includes: judging whether each piece of personal data in the personal data short message is the same as the personal data in the storage module, and if so, not saving the personal data , otherwise save the piece of personal data into the storage module.
步骤A中所述移动终端收集存储模块中的个人数据的步骤进一步包括:判断存储模块中每条个人数据是否为已备份,如果是则不收集该条个人数据,否则收集该条个人数据并将其标记为已备份。The step of collecting personal data in the storage module by the mobile terminal described in step A further includes: judging whether each piece of personal data in the storage module has been backed up, and if so, not collecting the piece of personal data, otherwise collecting the piece of personal data and It is marked as backed up.
步骤A进一步包括:如果收集的个人数据超过一条特定格式短消息的容量时,将个人数据转化成多条相同特定格式的短消息。Step A further includes: if the collected personal data exceeds the capacity of one short message in a specific format, converting the personal data into multiple short messages in the same specific format.
步骤D进一步包括:如果所请求获取的个人数据超过一条特定格式短消息的容量时,将该个人数据转化成多条相同特定格式的短消息。Step D further includes: if the requested personal data exceeds the capacity of one short message in a specific format, converting the personal data into multiple short messages in the same specific format.
本发明还提供了一种可防止移动终端中个人数据丢失的移动终端,至少包括存储模块,存储模块中保存有个人数据,所述移动终端进一步包括数据处理模块,所述数据处理模块收集存储模块中自上次收集后发生变化的个人数据,转换成特定格式消息,并且将所述特定格式消息发送给网络侧。The present invention also provides a mobile terminal capable of preventing loss of personal data in the mobile terminal. The personal data that has changed since the previous collection is converted into a specific format message, and the specific format message is sent to the network side.
所述数据处理模块为同步标记语言SYNC ML协议模块,所述SYNC ML协议模块收集所述存储模块中自上次收集后发生变化的个人数据,并将从所述存储模块中收集的个人数据转换成特定格式消息,并且将所述特定格式消息发送给网络侧。The data processing module is a Synchronization Markup Language SYNC ML protocol module, the SYNC ML protocol module collects personal data that has changed since the last collection in the storage module, and converts the personal data collected from the storage module into a message in a specific format, and send the message in a specific format to the network side.
所述存储模块进一步包括保存有该移动终端接收到的个人数据的收件箱、保存有该移动终端已发送个人数据的发件箱以及保存有该移动终端正在编辑的或未发送的个人数据的草稿箱。The storage module further includes an inbox storing personal data received by the mobile terminal, an outbox storing personal data sent by the mobile terminal, and an outbox storing personal data being edited or unsent by the mobile terminal. draft box.
所述数据处理模块包括短消息发送接收模块和数据收集解析模块,所述短消息发送接收模块发送和接收短消息,所述数据收集解析模块将从所述存储模块中收集的个人数据转换成特定格式短消息并传送给所述短消息发送接收模块,并且将所述短消息发送接收模块传送来的特定格式短消息解析出个人数据并保存到所述存储模块中。The data processing module includes a short message sending and receiving module and a data collection and analysis module, the short message sending and receiving module sends and receives a short message, and the data collection and analysis module converts the personal data collected from the storage module into specific format the short message and transmit it to the short message sending and receiving module, and analyze the personal data from the specific format short message sent by the short message sending and receiving module and save it in the storage module.
所述存储模块为移动终端上的存储器。The storage module is a memory on the mobile terminal.
所述存储模块为用户识别模块(Subscriber Identity Module,SIM)卡。The storage module is a Subscriber Identity Module (SIM) card.
所述数据收集解析模块包括数据收集模块和数据解析模块,所述数据收集模块将所述存储模块中的个人数据转换成特定格式短消息并送至所述短消息发送接收模块,所述数据解析模块将所述短消息发送接收模块传送来的特定格式短消息解析出个人数据并保存到所述存储模块中。The data collection and analysis module includes a data collection module and a data analysis module, and the data collection module converts the personal data in the storage module into a specific format short message and sends it to the short message sending and receiving module, and the data analysis The module parses the short message in a specific format sent by the short message sending and receiving module to obtain personal data and saves it in the storage module.
所述存储模块中进一步包括用来保存每条个人数据是否已备份的标记的存储空间,在每条个人数据未备份前,该存储空间中与其对应的标记为未备份,在该条个人数据被备份后,该存储空间中与其对应的标记更改为已备份。The storage module further includes a storage space for storing a mark indicating whether each piece of personal data has been backed up. Before each piece of personal data is backed up, the corresponding mark in the storage space is not backed up. After the backup, the flag corresponding to it in the bucket changes to Backed up.
本发明还提供了一种用于防止移动终端中个人数据丢失的网络侧设备,至少包括短消息发送接收模块和存储模块,短消息发送接收模块发送和接收短消息,存储模块中保存有个人数据,所述网络侧设备进一步包括数据收集解析模块,所述数据收集解析模块从所述短消息发送接收模块传送来的特定格式短消息解析出自上次收集后发生变化的个人数据并保存到所述存储模块中,并且根据短消息发送接收模块传送来的请求短消息从所述存储模块中提取该请求短消息所请求获取的个人数据,转换成特定格式短消息并传送给所述短消息发送接收模块。The present invention also provides a network side device for preventing loss of personal data in a mobile terminal, at least comprising a short message sending and receiving module and a storage module, the short message sending and receiving module sends and receives short messages, and the storage module stores personal data , the network side device further includes a data collection and analysis module, and the data collection and analysis module analyzes the personal data that has changed since the last collection from the short message in a specific format transmitted by the short message sending and receiving module and saves it in the In the storage module, and according to the request short message transmitted by the short message sending and receiving module, extract the personal data requested by the request short message from the storage module, convert it into a specific format short message and send it to the short message sending and receiving module.
所述数据收集解析模块为应用服务器。The data collection and analysis module is an application server.
所述存储模块为数据库服务器。The storage module is a database server.
该网络侧设备进一步包括网络(WEB)服务器查询系统,所述WEB服务器查询系统根据接收到的HTTP查询请求从所述存储模块中提取该查询请求所要查询的个人数据,并发送给提交该查询请求的客户端WEB浏览器。The network side device further includes a network (WEB) server query system, and the WEB server query system extracts the personal data to be queried by the query request from the storage module according to the received HTTP query request, and sends it to the server that submits the query request The client WEB browser.
本发明还提供了一种用于防止移动终端中个人数据丢失的系统,包括移动终端和网络侧设备,所述移动终端包括保存有个人数据的存储模块;所述网络侧设备包括接收移动终端发送来的特定格式消息的消息接收模块和保存个人数据的数据存储模块;该系统进一步包括用于将移动终端发送来的消息转发给网络侧设备以及将网络侧发送来的消息转发给移动终端的WAPGW;所述移动终端进一步包括收集所述存储模块中自上次收集后发生变化的个人数据并将从所述存储模块中收集的个人数据转换成特定格式消息以及将所述特定格式消息发送给网络侧的SYNC ML协议模块。The present invention also provides a system for preventing loss of personal data in a mobile terminal, including a mobile terminal and a network side device, the mobile terminal includes a storage module storing personal data; A message receiving module for messages in a specific format and a data storage module for storing personal data; the system further includes a WAPGW for forwarding messages sent by the mobile terminal to network-side equipment and forwarding messages sent by the network side to the mobile terminal The mobile terminal further includes collecting personal data that has changed since the last collection in the storage module and converting the personal data collected from the storage module into a specific format message and sending the specific format message to the network side of the SYNC ML protocol module.
所述网络侧设备进一步包括网络(WEB)服务器查询系统,所述WEB服务器查询系统根据接收到的HTTP查询请求从所述数据存储模块中提取该查询请求所要查询的个人数据,并发送给提交该查询请求的客户端WEB浏览器。The network side device further includes a network (WEB) server query system, and the WEB server query system extracts the personal data to be queried by the query request from the data storage module according to the received HTTP query request, and sends it to the submitter. The client WEB browser of the query request.
从上述方案中可以看出,由于本发明在移动终端上增加了数据处理模块,将移动终端上的个人数据收集起来转换成特定格式消息,并发送给服务器端网络侧设备;本发明在服务器端网络侧设备保存了移动终端发送来的个人数据,实现了防止移动终端中个人数据丢失的目的。本发明利用移动终端已有的短消息方式或HTTP协议方式备份个人数据,不需要增加外来设备,从而具有通用性,并且方便快捷。本发明进一步利用了SYNC ML协议实现增量同步,从而不需要用户一条一条的备份个人数据,增加了用户使用的方便性。本发明相对于USB接口方式或红外线方式具有可靠性高、操作方便的优点。As can be seen from the above scheme, since the present invention adds a data processing module on the mobile terminal, the personal data on the mobile terminal is collected and converted into a specific format message, and sent to the server-side network side device; The network-side device stores the personal data sent by the mobile terminal, thereby achieving the purpose of preventing loss of personal data in the mobile terminal. The invention utilizes the existing short message mode or HTTP protocol mode of the mobile terminal to back up personal data without adding external equipment, so it has universality and is convenient and fast. The present invention further utilizes the SYNC ML protocol to realize incremental synchronization, so that users do not need to back up personal data one by one, which increases the convenience of users. Compared with the USB interface mode or the infrared ray mode, the present invention has the advantages of high reliability and convenient operation.
在个人数据备份到服务器端网络侧设备后,本发明还提供了使用移动终端从网络侧设备获取个人数据的方法,以及从PC机通过因特网查询网络侧设备上保存的个人数据的方法,为用户提供了多种非常方便的查询方式,极大的满足了用户的多样化需求。After the personal data is backed up to the server-side network-side device, the present invention also provides a method for obtaining personal data from the network-side device using a mobile terminal, and a method for querying personal data stored on the network-side device from a PC through the Internet, providing users with Provides a variety of very convenient query methods, which greatly meet the diverse needs of users.
附图说明 Description of drawings
图1为使用USB接口方式转送个人数据的模块示意图;Figure 1 is a schematic diagram of a module that uses a USB interface to transfer personal data;
图2为根据本发明第一实施例的移动终端模块示意图;2 is a schematic diagram of a mobile terminal module according to a first embodiment of the present invention;
图3为根据本发明第一实施例的网络侧设备模块示意图;FIG. 3 is a schematic diagram of a network-side device module according to a first embodiment of the present invention;
图4为根据本发明第一实施例的流程示意图;Fig. 4 is a schematic flow chart according to the first embodiment of the present invention;
图5为根据本发明第二实施例的系统模块示意图;5 is a schematic diagram of system modules according to a second embodiment of the present invention;
图6为根据本发明第二实施例的流程示意图。Fig. 6 is a schematic flow chart according to the second embodiment of the present invention.
具体实施方式 Detailed ways
为使本发明的目的、技术方案和优点更加清楚,以下举实施例对本发明进一步详细说明。In order to make the purpose, technical solution and advantages of the present invention clearer, the following examples are given to further describe the present invention in detail.
如图2所示,本发明第一实施例的移动终端包括存储模块21、短消息发送接收模块22、数据收集解析模块23。存储模块21中保存着个人数据,如通信簿、备忘录、日程表等,还可以在存储模块中分配一个存储空间,用来保存表示每条个人数据是否已经备份的标记,该存储空间可以是单独的一块存储空间,也可以是分散在每一条对应的个人数据存储空间中。在每条个人数据没未被备份前,该存储空间中与该条个人数据相对应的标记为未备份;在该条个人数据被备份后,该存储空间中与其相对应的标记更改为已备份。存储模块可以是用户识别模块(Subscriber Identity Module,SIM)卡或者是移动终端的存储器等。短消息发送接收模块22负责向网络发送短消息,并且接收从网络发送过来的短消息。数据收集解析模块23包括数据收集模块231和数据解析模块232,数据收集模块231负责收集用户的个人数据,并转化为特定格式的短消息,然后传送给短消息发送接收模块。数据解析模块232在短消息发送接收模块接收到特定格式的短消息后,对特定格式的短消息进行解析,将其中的个人数据解析出来,并存储到存储模块21中。As shown in FIG. 2 , the mobile terminal of the first embodiment of the present invention includes a
如图3所示,本发明第一实施例的服务器端网络侧设备包括短消息发送接收模块31、数据收集解析模块32、存储模块33。短消息发送接收模块31接收移动终端通过网络发送过来的短消息,并发送给数据收集解析模块32处理,还可以将从数据收集解析模块32发送过来的短消息通过网络发送给移动终端。数据收集解析模块32,在服务器端具体为应用服务器,它对从短消息发送接收模块31传送过来的个人数据短消息进行分析处理,然后按不同的识别号码以及不同的数据类型分别存储到存储模块33中,还根据短消息发送接收模块31接收的请求获取个人数据的短消息,从存储模块33中提取该短消息所请求获取的个人数据,并转换成特定格式短消息传送给短消息发送接收模块31。存储模块33一般为数据服务器,负责存储数据收集解析模块32传送过来的个人数据,以及向数据收集解析模块等相关模块提供个人数据。As shown in FIG. 3 , the server-side network-side device of the first embodiment of the present invention includes a short message sending and receiving
服务器端的网络侧设备还可以进一步包括网络(WEB)服务器查询系统34。用户通过WEB浏览器输入识别号码和相应的密码后,向WEB服务器查询系统发出HTTP的查询请求,WEB服务器查询系统判断查询请求中的识别号码和相应密码是否正确,如果正确则向用户的WEB浏览器发出个人数据的内容,否则向用户的WEB浏览器发出错误提示信息。The network side device at the server side may further include a web (WEB)
下面在第一实施例的方法中,将第一移动终端的个人数据保存到服务器端,然后第二移动终端从服务器端获取第一移动终端保存的个人数据。Next, in the method of the first embodiment, the personal data of the first mobile terminal is saved to the server, and then the second mobile terminal acquires the personal data saved by the first mobile terminal from the server.
本发明中,第二移动终端和第一移动终端可以相同,也可以不同。如果两者相同,则表示它们是使用同一个SIM卡号码的同一个移动终端或者是使用同一个SIM卡号码的不同移动终端;如果两者不同,则表示它们是使用不同SIM卡号码的同一个移动终端,或者是使用不同SIM卡号码的不同移动终端。In the present invention, the second mobile terminal may be the same as or different from the first mobile terminal. If both are the same, it means they are the same mobile terminal using the same SIM card number or different mobile terminals using the same SIM card number; if they are different, it means they are the same mobile terminal using different SIM card numbers Mobile terminals, or different mobile terminals using different SIM card numbers.
如图4所示的是本发明第一实施例的流程示意图。本发明第一实施例的流程如下,包括:FIG. 4 is a schematic flowchart of the first embodiment of the present invention. The flow process of the first embodiment of the present invention is as follows, including:
步骤401至步骤402是将第一移动终端上的个人数据保存到服务器端的过程;Steps 401 to 402 are the process of saving the personal data on the first mobile terminal to the server;
步骤403至步骤405是第二移动终端从服务器端获取第一移动终端个人数据的过程。Steps 403 to 405 are the process for the second mobile terminal to obtain the personal data of the first mobile terminal from the server.
步骤401、接收到备份个人数据的指令后,第一移动终端的数据收集解析模块收集存储模块中的个人数据,将其转化成特定格式的短消息,短消息发送接收模块将所述特定格式短消息发送给服务器端。Step 401, after receiving the instruction of backing up personal data, the data collection and analysis module of the first mobile terminal collects the personal data in the storage module and converts it into a short message in a specific format, and the short message sending and receiving module sends the short message in the specific format The message is sent to the server side.
本发明中,备份个人数据的指令有如下几种情况:In the present invention, the instruction for backing up personal data has the following situations:
1、立即备份方式。移动终端根据用户发出的指令立即收集个人数据并发送到服务器端。1. Immediate backup method. The mobile terminal immediately collects personal data according to the user's instruction and sends it to the server.
2、在指定日期和时间方式。移动终端在到达用户指定的时间后收集个人数据并发送到服务器端。2. In the specified date and time mode. The mobile terminal collects personal data after the time specified by the user and sends it to the server.
3、指定增量方式。在移动终端中的个人数据增长指定的数额后,例如个人数据增长了100条后,移动终端开始收集个人数据并发送到服务器端。3. Specify the incremental method. After the personal data in the mobile terminal increases by a specified amount, for example, after the personal data increases by 100 pieces, the mobile terminal starts to collect the personal data and sends it to the server.
4、指定周期发送的方式。设置启动日期和时间周期间隔后,移动终端根据所设置的周期定时收集个人数据并发送到服务器端。4. Specify the way to send periodically. After setting the start date and time interval, the mobile terminal regularly collects personal data according to the set interval and sends it to the server.
本发明可以将所有个人数据全部收集并发送到服务器端,也可以只收集未备份的个人数据然后发送到服务器端。只收集未备份的个人数据的实施方案如下:首先,根据存储空间中的标记判断哪些个人数据没有备份过;然后,将收集那些没有备份过的个人数据,转换成特定格式的短消息并发送给服务器端,并将其对应的标记更改为已经备份过。The present invention can collect all personal data and send them to the server, or only collect unbacked personal data and send them to the server. The implementation scheme of collecting only personal data that has not been backed up is as follows: First, judge which personal data has not been backed up according to the marks in the storage space; then, collect those personal data that have not been backed up, convert it into a short message in a specific format and send it to server side, and change its corresponding flag to have been backed up.
特定格式短消息包括表示请求的服务代码、识别号码、密码和个人数据,在这些内容之间还可以加入间隔符。其中识别号码可以是第一移动终端的号码,也可以是一个约定的号码,如服务器端分配的号码等。下面是一条特定格式短消息的示例:The specific format short message includes the requested service code, identification number, password and personal data, and spacers can also be added between these contents. The identification number may be the number of the first mobile terminal, or an agreed number, such as the number allocated by the server. The following is an example of a short message in a specific format:
TJHM#TJHM#
13899999999#13899999999#
123456#123456#
姓名1,电话号码1,备注1#Name 1, phone number 1, note 1#
姓名2,电话号码2,备注2#Name 2, phone number 2, note 2#
...... …
姓名n,电话号码n,备注n#Name n, phone number n, remarks n#
其中,“TJHM”是服务代码,表示要添加个人数据到服务器端;“#”是各部分内容之间的间隔符;“13899999999”为识别号码,这里以第一移动终端的号码为识别号码;“123456”是用户密码;以下为个人数据,这里以通信簿为例,包括姓名、电话号码、备注等字段,每个字段之间以逗号格开。需要指出的是,本发明的特定格式短消息不限于上面示例中的具体形式。Among them, "TJHM" is the service code, which means adding personal data to the server; "#" is the spacer between each part of the content; "13899999999" is the identification number, here the number of the first mobile terminal is the identification number; "123456" is the user password; the following is personal data, here we take the address book as an example, including fields such as name, phone number, and remarks, and each field is separated by a comma. It should be pointed out that the specific format short message in the present invention is not limited to the specific format in the above example.
由于每条短消息容纳的字符数目有限,本发明在个人数据内容多于一条特定格式短消息容量时,将个人数据转换成多条相同特定格式短消息相继发出。例如,有45条个人数据需要备份,而每条特定格式的短消息只能容纳10条个人数据,那么将45条个人数据分成5条特定格式的短消息,每条短消息分别包含10、10、10、10和5条个人数据。Since the number of characters contained in each short message is limited, the present invention converts personal data into multiple short messages in the same specific format and sends them out successively when the content of the personal data exceeds the capacity of one short message in a specific format. For example, if there are 45 pieces of personal data to be backed up, and each short message in a specific format can only accommodate 10 pieces of personal data, then divide the 45 pieces of personal data into 5 short messages in a specific format, and each short message contains 10, 10 , 10, 10 and 5 pieces of personal data.
步骤402、服务器端的短消息发送接收模块接收到第一移动终端发送来的短消息后,将该短消息发给应用服务器,应用服务器将该短消息解析出来,并将其中的内容存储到数据库服务器。Step 402: After receiving the short message sent by the first mobile terminal, the short message sending and receiving module at the server side sends the short message to the application server, and the application server parses the short message and stores the content in the database server .
特定格式短消息从第一移动终端发出,经过网络,被服务器端的短消息发送接收模块接收到。短消息发送接收模块将该短消息发给应用服务器,应用服务器对发送过来的一条或多条特定格式的短消息进行解析,将解析后的个人数据按照用户号码以及不同的数据类型保存到数据库服务器。为了安全起见,在保存过程中还可以有加密的步骤。The specific format short message is sent from the first mobile terminal, passes through the network, and is received by the short message sending and receiving module at the server end. The short message sending and receiving module sends the short message to the application server, and the application server analyzes the sent one or more short messages in a specific format, and saves the parsed personal data to the database server according to the user number and different data types . For safety reasons, there may also be an encryption step in the preservation process.
以上述特定格式短消息为例,应用服务器将该短消息解析,从“TJHM”获悉该短消息是要在服务器端添加个人数据。从“13899999999”、“123456”得到识别号码和相应密码,依此在数据库服务器建立以识别号码为区别的数据记录,并将该短消息中后面的个人数据以不同的数据类型存储到该数据记录中;如果数据库服务器中已经存在该识别号码的数据记录,那么判断其密码是否正确,如果正确则在该识别号码的数据记录中继续写入个人数据,否则不对数据库进行操作。由此在数据库服务器上形成了多个数据记录,每个数据记录与不同的识别号码相对应,在数据记录中保存着个人数据,每个数据记录中的个人数据由以关键字段相区分的多条个人数据组成。Taking the above short message in a specific format as an example, the application server parses the short message and learns from "TJHM" that the short message is to add personal data on the server side. Get the identification number and corresponding password from "13899999999" and "123456", and establish a data record in the database server based on the identification number, and store the personal data in the short message in different data types in the data record If the data record of the identification number already exists in the database server, judge whether the password is correct, and if it is correct, continue to write personal data in the data record of the identification number, otherwise the database will not be operated. As a result, multiple data records are formed on the database server, each data record corresponds to a different identification number, and personal data is stored in the data record, and the personal data in each data record is distinguished by a key field Composed of multiple pieces of personal data.
对于每一条新解析出来的个人数据,根据关键字段进行判断,如果该识别号码的数据记录中存在相同关键字段的个人数据,则不保存该条个人数据,否则保存该条个人数据。以上面的通信簿为例,关键字段为姓名和电话号码,如果新解析出来的个人数据和数据记录中存在一条姓名和电话号码都相同的个人数据,表明这条个人数据相同,那么不保存该条个人数据,否则将该条个人数据保存在相应识别号码的数据记录中。这样可以节省大量的存储空间。For each piece of newly parsed personal data, judge according to the key field. If there is personal data in the same key field in the data record of the identification number, the personal data will not be saved, otherwise the personal data will be saved. Taking the address book above as an example, the key fields are name and phone number. If there is a piece of personal data with the same name and phone number in the newly parsed personal data and data records, it means that this piece of personal data is the same, then it will not be saved. The piece of personal data, otherwise the piece of personal data is stored in the data record with the corresponding identification number. This saves a lot of storage space.
服务器端还可以在成功保存个人数据后,由短消息发送接收模块向第一移动终端发送确认短消息。The server side can also send a confirmation short message to the first mobile terminal by the short message sending and receiving module after successfully saving the personal data.
步骤403、接收到荻取个人数据的指令后,第二移动终端向服务器端发送请求获取个人数据的请求短消息。Step 403: After receiving the instruction to obtain personal data, the second mobile terminal sends a request short message requesting to obtain personal data to the server.
当第二移动终端接收到用户发出的获取个人数据的指令后,向服务器端发送一条请求获取个人数据的短消息,该短消息包括所要获取的个人数据的识别号码和密码。下面是一条请求短消息的示例:After the second mobile terminal receives the instruction from the user to acquire personal data, it sends a short message requesting to acquire personal data to the server, and the short message includes the identification number and password of the personal data to be acquired. The following is an example of a request short message:
HQHM#HQHM#
13899999999#13899999999#
123456#123456#
其中,“HQHM”是服务代码,表示要获取个人数据;“13899999999”是所要获取的个人数据的识别号码,在本例中为第一移动终端的号码;“123456”是用户密码;“#”是各部分内容之间的间隔符。同样,本发明的请求短消息不限于上面示例中的具体形式。Among them, "HQHM" is the service code, indicating that personal data is to be obtained; "13899999999" is the identification number of the personal data to be obtained, which is the number of the first mobile terminal in this example; "123456" is the user password; "#" is the spacer between the contents of each section. Likewise, the request short message of the present invention is not limited to the specific form in the above example.
步骤404、服务器端接收到第二移动终端的请求短消息后,判断其中的识别号码和密码是否正确,如果正确则向第二移动终端发送请求短消息中所要获取的个人数据,否则作出错误处理。
服务器端接收到第二移动终端的请求短消息后,根据短消息中的服务代码得知是获取个人数据的请求。判断该请求短消息中的识别号码和相应的密码是否正确,如果正确则应用服务器从数据库服务器中提取相应的个人数据并转化成特定格式短消息,如果该个人数据超出一条特定格式短消息的容量,则分成多条相同特定格式的短消息,并由短消息发送接收模块相继发送给第二移动终端;如果不正确,作出相应的错误处理。After receiving the request short message from the second mobile terminal, the server side learns that it is a request to obtain personal data according to the service code in the short message. Judging whether the identification number and corresponding password in the request short message are correct, if correct, the application server extracts the corresponding personal data from the database server and converts it into a specific format short message, if the personal data exceeds the capacity of a specific format short message , then divided into multiple short messages with the same specific format, and sent to the second mobile terminal successively by the short message sending and receiving module; if it is incorrect, make corresponding error handling.
以步骤403中的请求短消息为例,应用服务器从“HQHM”得知该请求短消息是要求获取服务器端的个人数据。从“13899999999”、“123456”得到识别号码和相应密码,然后判断数据库服务器是否存在该识别号码的数据记录以及相应的密码是否正确,如果都正确则应用服务器从数据库服务器中提取该识别号码数据记录中的数据,并按照短消息的容量要求组成一条或者多条特定格式的个人数据短消息,传送给服务器端的短消息发送接收模块,由短消息发送接收模块通过网络发送给第二移动终端;如果数据库服务器中不存在该识别号码的数据记录或者虽然存在该识别号码的数据记录但密码不正确,应用服务器则作出相应的错误处理。Taking the request short message in step 403 as an example, the application server learns from "HQHM" that the request short message is to obtain personal data on the server side. Obtain the identification number and corresponding password from "13899999999" and "123456", and then judge whether the data record of the identification number exists in the database server and whether the corresponding password is correct. If all are correct, the application server extracts the data record of the identification number from the database server and form one or more personal data short messages in a specific format according to the capacity requirements of the short message, and send them to the short message sending and receiving module on the server side, and the short message sending and receiving module sends it to the second mobile terminal through the network; if If there is no data record of the identification number in the database server or the password is incorrect although there is a data record of the identification number, the application server will make corresponding error handling.
步骤405、第二移动终端的短消息发送接收模块接收到服务器端发送过来的个人数据短消息后,数据收集解析模块将其解析,并将其中的个人数据保存到存储模块中。Step 405: After the short message sending and receiving module of the second mobile terminal receives the personal data short message sent by the server, the data collection and analysis module analyzes it, and saves the personal data in the storage module.
如果服务器端发送过来个人数据短消息有多条,第二移动终端的数据收集解析模块分别解析这些个人数据短消息,然后将其中的个人数据保存到存储模块中。If there are multiple personal data short messages sent by the server, the data collection and analysis module of the second mobile terminal analyzes these personal data short messages respectively, and then saves the personal data in the storage module.
为了节省存储空间,第二移动终端对于相同的个人数据条目也不重复保存。同样根据关键字段对每一条新解析出来的个人数据进行判断,如果新解析出来的个人数据与第二移动终端存储空间中存在相同的关键字段,则不保存该条个人数据,否则将该条数据保存在存储模块中。In order to save storage space, the second mobile terminal does not store the same personal data item repeatedly. Also judge each piece of newly parsed personal data according to the key fields. If the newly parsed personal data has the same key field as that in the storage space of the second mobile terminal, the piece of personal data will not be saved, otherwise the The pieces of data are stored in the memory module.
在第一移动终端将个人数据保存到服务器端后,可以通过服务器端的WEB服务器查询系统查询个人数据的内容。用户通过WEB浏览器向WEB服务器查询系统提交查询请求,该查询请求包括识别号码和密码。WEB服务器查询系统首先判断查询请求中的识别号码和相应的密码是否正确,如果正确,则向用户的WEB浏览器发出个人数据的内容,否则作错误处理,如向用户的WEB浏览器发出错误提示信息等方式。After the first mobile terminal saves the personal data to the server, the content of the personal data can be queried through the WEB server query system at the server. The user submits a query request to the WEB server query system through a WEB browser, and the query request includes an identification number and a password. The WEB server query system first judges whether the identification number and the corresponding password in the query request are correct, and if correct, sends the content of personal data to the user's WEB browser, otherwise, performs error handling, such as sending an error prompt to the user's WEB browser information etc.
本发明在转送个人数据开始前还可以包括对该项业务的用户签约过程即注册过程,在转送个人数据结束后还可以包括对该项业务的用户解约过程即注销过程。The present invention may also include the user signing process for the service, that is, the registration process, before the transfer of personal data begins, and the user termination process for the service, that is, the cancellation process, after the transfer of personal data ends.
注册过程在转送个人数据开始之前,包括以下步骤:第一移动终端向服务器端发送注册短消息;服务器端接收到该注册短消息后进行注册操作,并向第一移动终端发送确认短消息。The registration process includes the following steps before transferring personal data: the first mobile terminal sends a registration short message to the server; the server performs registration operation after receiving the registration short message, and sends a confirmation short message to the first mobile terminal.
注销过程在转送个人数据结束之后,可以是第一移动终端提出,也可以是第二移动终端提出。注销过程包括以下步骤:第一移动终端或者第二移动终端向服务器端发送注销短消息;服务器端接收到该注销短消息后进行注销操作,并向第一移动终端或者第二移动终端发送确认短消息。The logout process may be initiated by the first mobile terminal or by the second mobile terminal after the transfer of personal data is completed. The logout process includes the following steps: the first mobile terminal or the second mobile terminal sends a logout short message to the server; the server performs a logout operation after receiving the logout message, and sends a confirmation message to the first mobile terminal or the second mobile terminal information.
服务器端一般由内容提供商提供。在移动终端和服务器端之间的网络一般由移动网络运营商提供,该网络包括短消息中心(SMSC)和短消息网关。SMSC和移动终端之间通过无线接口连接,短消息网关和服务器端通过因特网(Internet)或者专线连接。The server side is generally provided by the content provider. The network between the mobile terminal and the server is generally provided by a mobile network operator, and the network includes a short message center (SMSC) and a short message gateway. The SMSC and the mobile terminal are connected through a wireless interface, and the short message gateway and the server are connected through the Internet (Internet) or a dedicated line.
本发明的第二实施例在移动终端上增加了一个支持同步标记语言(SYNC ML)协议的SYNC ML协议模块,该模块读取移动终端上所有多媒体消息和Email,收集自上次收集后产生变化的个人数据并且转换成特定编码格式的消息(MSG),然后通过HTTP/SYNC ML方式将MSG发送到无线应用协议网关(Wireless Application Protocol Gateway,WAP GW)。The second embodiment of the present invention adds a SYNC ML protocol module that supports the Synchronization Markup Language (SYNC ML) protocol on the mobile terminal, and this module reads all multimedia messages and Emails on the mobile terminal, and collects changes since last collection Personal data and convert it into a message (MSG) in a specific encoding format, and then send the MSG to the Wireless Application Protocol Gateway (WAP GW) through HTTP/SYNC ML.
如图5所示,第二实施例所涉及的装置包括移动终端51、WAP GW52、网络服务器53和个人计算机(PC)54。移动终端上包括存储模块511和SYNC ML协议模块512。存储模块511中保存有多媒体消息和Email,并且存储模块511可以包括收件箱、发件箱、草稿箱等多个文件夹,其中收件箱里保存有该移动终端接收到的多媒体消息和Email,发件箱里保存有该移动终端已经发送的多媒体消息和Email,草稿箱里保存有该移动终端正在编辑的或未发送的多媒体消息和Email。SYNC ML协议模块512根据移动终端提供的应用编程接口(API)读取存储模块511中所有文件夹里的多媒体消息和Email,并转换成特定编码格式的MSG,然后通过HTTP协议承载或者在HTTP协议上叠加SYNC ML协议承载将特定编码格式的MSG经WAPGW发送给网络服务器。由于该SYNC ML协议模块是基于SYNC ML协议的,并且SYNC ML协议能够实现数据的增量同步,因此该SYNC ML协议模块能够收集自上次收集后发生变化的个人数据,而不必收集全部个人数据。As shown in FIG. 5 , the apparatus involved in the second embodiment includes a
WAP GW 52将从移动终端发送过来的特定编码格式MSG转发给网络服务器。在转发过程中,WAP GW 52可以不理解特定编码格式MSG的内容,对其进行透明的转发。因为WAP GW通过HTTP协议、根据网络服务器的IP地址将特定编码格式MSG转发到网络服务器,不需要了解MSG内部包含的目标手机号码或其它内容,因此WAP GW对特定编码格式MSG进行的是透明的转发。
网络服务器53至少包括消息接收模块531、数据存储模块532、WEB服务器查询系统533。其中消息接收模块531支持SYNC ML协议,以及多媒体消息和Email的特定编码格式,该模块接收WAP GW转发过来的特定编码格式的数据,并且从中提取出多媒体消息或Email,然后保存到数据存储模块532中。数据存储模块532保存消息接收模块531传送过来的不同移动终端的多媒体消息和Email,并且向WEB服务器查询系统提供相应的多媒体消息和Email。WEB服务器查询系统533的功能和第一实施例中的WEB服务器查询系统相同,在此不再赘述。The
用户可以通过个人计算机(PC)54向WEB服务器查询系统发出HTTP查询请求,并且PC 54接收WEB服务器发送过来的查询结果并显示出来。The user can send an HTTP query request to the WEB server query system through a personal computer (PC) 54, and the
如图6所示,本发明第二实施例的流程如下:As shown in Figure 6, the process of the second embodiment of the present invention is as follows:
步骤601、接收到备份个人数据的指令后,移动终端的SYNC ML协议模块512收集存储模块511中的个人数据,将其转化成特定编码格式的MSG,并将所述特定编码格式的MSG发送给WAP GW。Step 601, after receiving the instruction for backing up personal data, the SYNC
移动终端提供多媒体消息和Email的读取API接口,SYNC ML协议模块512依据这些接口从移动终端中读取多媒体消息或Email,然后将其转化成特定编码格式的MSG。一条特定编码格式消息可以包括多条多媒体消息或Email,并且与第一实施例中的短消息不同,第二实施例中的特定编码格式消息的容量没有上限,因此第二实施例中的MSG可以容纳多条多媒体消息或Email。The mobile terminal provides an API interface for reading multimedia messages and Emails, and the SYNC
特定编码格式MSG中每一条多媒体消息或Email的编码格式中包括如下字段:The encoding format of each multimedia message or Email in the specific encoding format MSG includes the following fields:
1.BEGIN:MSG为该MSG的起始标志;1.BEGIN: MSG is the initial sign of the MSG;
2.ID为MSG的标识,该字段的内容由多媒体消息中心或Email服务器赋以数值,例如“ID:1022”,在收件箱中的多媒体消息或Email有此ID值,在发件箱和草稿箱中的多媒体消息或Email没有此ID值,因此ID字段可以不是特定编码格式MSG所必须的;2. ID is the identification of MSG. The content of this field is assigned a value by the multimedia message center or Email server, such as "ID: 1022". The multimedia message or Email in the inbox has this ID value, and the value in the outbox and The multimedia message or Email in the draft box does not have this ID value, so the ID field may not be required for the specific encoding format MSG;
3.FROM为发送者标识,代表MSG的发送方,例如发送方的移动终端号码为13012345678,则该字段为“FROM:13012345678”;3. FROM is the identifier of the sender, which represents the sender of the MSG. For example, if the mobile terminal number of the sender is 13012345678, then this field is "FROM: 13012345678";
4.TO为接受者标识,代表MSG的接收方,例如接收方的移动终端号码为13987654321,则该字段为“TO:13987654321”;4. TO is the recipient's identifier, which represents the recipient of the MSG. For example, the mobile terminal number of the recipient is 13987654321, then this field is "TO: 13987654321";
5.TYPE为MSG的类型,包括多媒体消息、短消息、Email三种类型,分别以MMS、SMS、EMAIL表示,例如MSG类型为多媒体消息,则该字段为“TYPE:MMS”;5. TYPE is the type of MSG, including multimedia message, short message, and Email, which are represented by MMS, SMS, and EMAIL respectively. For example, if the MSG type is multimedia message, the field is "TYPE:MMS";
6.FOLDER为MSG在移动终端中存放的位置,即所在的文件夹,包括草稿箱、收件箱、发件箱三种类型,分别以DRAFT、INBOX、SENT表示,例如该MSG保存在移动终端中的草稿箱,则该字段为“FOLDER:DRAFT”;6.FOLDER is the location where MSG is stored in the mobile terminal, that is, the folder where it is located, including draft box, inbox, and outbox, which are represented by DRAFT, INBOX, and SENT respectively. For example, the MSG is stored in the mobile terminal draft box in , the field is "FOLDER:DRAFT";
7.TIME为MSG的创建时间,可以有多种表示方式,这里以“年/月/日小时:分钟:秒”格式为例,其中年占四位,月、日、小时、分钟、秒各占两位,并且在日和小时之间还有一个空位,例如2004年4月28日8时54分55秒创建了该MSG,则该字段为“TIME:2004/04/2808:54:55”;TIME字段可以不是特定编码格式MSG所必须的;7. TIME is the creation time of MSG, which can be expressed in many ways. Here, take the format of "year/month/day hour:minute:second" as an example, in which the year occupies four digits, and the month, day, hour, minute, and second each It occupies two digits, and there is a gap between the day and the hour. For example, when the MSG was created at 8:54:55 on April 28, 2004, the field is "TIME: 2004/04/2808:54:55 "; the TIME field may not be required for the specific encoding format MSG;
8.SUBJECT为MSG的主题,该字段的内容由SYNC ML协议模块提示用户输入,如果用户不输入任何内容,SYNC ML协议模块可以给该字段赋以默认值,包括空白内容,例如MSG的主题为“First test MMS”,则该字段为“SUBJECT:First test MMS”;8. SUBJECT is the subject of MSG. The content of this field is prompted by the SYNC ML protocol module to input the user. If the user does not enter any content, the SYNC ML protocol module can assign a default value to this field, including blank content. For example, the subject of MSG is "First test MMS", the field is "SUBJECT: First test MMS";
9.DATA为MSG数据内容,这里以xml语言举例描述,如果一个多媒体消息的MSG包括文本文件HelloWorld.txt、语音编解码文件SmileyFace.amr、图片文件SmileyFace.gif、同步多媒体合成语言文件HelloWorld.smil等文件,则该DATA字段包括各文件的名称、类型和文件中的数据,例如其中的文本文件HelloWorld.txt如下:9. DATA is the MSG data content, here is an example description in xml language, if the MSG of a multimedia message includes a text file HelloWorld.txt, a voice codec file SmileyFace.amr, a picture file SmileyFace.gif, and a synchronous multimedia synthetic language file HelloWorld.smil and other files, the DATA field includes the name, type and data in each file, for example, the text file HelloWorld.txt is as follows:
<File><File>
<FileName>HelloWorld.txt</FileName><FileName>HelloWorld.txt</FileName>
<FileType>text/plain</FileType><FileType>text/plain</FileType>
<FileData><FileData>
Hello,world!Hello, world!
</FileData></FileData>
</File></File>
其中所用xml语言为公知技术,这里不再赘述。Wherein the xml language used is a well-known technology, and will not be repeated here.
10.END:MSG为MSG的结束标识。10. END: MSG is the end mark of MSG.
众所周知,SYNC ML技术由开放移动联盟(OMA)制定,是一种用于数据同步的标准协议。这种协议可以使数据实现增量同步,即在同步过程中,只传输数据变化的部分,而不必传输全部数据,因此效率比较高。本实施例中的SYNC ML协议模块能够收集自上次收集后产生变化的个人数据,而不是收集全部个人数据,从而提高了备份个人数据的效率。As we all know, SYNC ML technology is formulated by the Open Mobile Alliance (OMA), which is a standard protocol for data synchronization. This protocol can realize incremental synchronization of data, that is, during the synchronization process, only the changed part of the data is transmitted instead of all the data, so the efficiency is relatively high. The SYNC ML protocol module in this embodiment can collect personal data that has changed since the last collection, instead of collecting all personal data, thereby improving the efficiency of backing up personal data.
步骤602、WAP GW 52接收到上述特定编码格式的MSG后,将该特定编码格式MSG转发给网络服务器53。
WAP GW 52将从移动终端发送过来的特定编码格式MSG转发给网络服务器。在转发过程中,WAP GW 52不需要理解特定编码格式MSG的内容,对其进行透明的转发。在发送过程中,SYNC ML是基于IP协议之上的,客户端配置好网络服务器的IP地址之后就可以发给网络服务器。
步骤603、网络服务器53上的消息接收模块531接收到MSG后,将该MSG中的内容保存到数据存储模块532中,并且给WAP GW 52发送响应消息。
网络服务器53上的消息接收模块531接收到WAP GW 52转发过来的MSG,将该MSG中的多媒体消息、短消息或Email按照移动终端的识别号码保存在数据存储模块532中,该保存过程与第一实施例的步骤402中的过程相似,在这里就不再赘述。在成功存储后,网络服务器53给WAP GW 52发送一个MSG存储成功的响应消息,如果存储不成功,网络服务器53也可以给WAP GW发送一个存储失败的响应消息,这个表示存储失败的响应消息可以进一步包括存储失败的原因。The
步骤604、WAP GW转发响应消息给移动终端,移动终端将该响应消息显示给用户。
WAP GW 52接收到网络服务器53发送来的响应消息后,将该响应消息转发给移动终端。After receiving the response message sent by the
移动终端接收到WAP GW转发过来的响应消息后,将响应消息的内容显示给用户。如果存储成功,用户看到一条表示存储成功的消息,如果存储不成功,用户看到一条表示存储失败的消息,甚至进一步存储失败的原因。After receiving the response message forwarded by the WAP GW, the mobile terminal displays the content of the response message to the user. If the storage is successful, the user sees a message indicating that the storage is successful, and if the storage is not successful, the user sees a message indicating that the storage failed, and even further storage failure reasons.
在移动终端中的个人数据成功地保存到网络服务器以后,用户可以通过PC浏览网络服务器中的个人数据,该过程在步骤605和606中描述。After the personal data in the mobile terminal is successfully saved to the network server, the user can browse the personal data in the network server through the PC, and the process is described in
步骤605、PC 54根据用户的指令,向WEB服务器查询系统提交查询请求。
用户通过PC上的WEB浏览器向WEB服务器查询系统提交查询请求,该查询请求包括移动终端的识别号码和密码,还可以进一步包括对查询内容的限制,如所要查询的是多媒体消息。The user submits a query request to the WEB server query system through the WEB browser on the PC. The query request includes the identification number and password of the mobile terminal, and may further include restrictions on the query content, such as multimedia messages to be queried.
步骤606、WEB服务器查询系统根据接收到查询请求,向PC发送所请求的内容。Step 606, the WEB server query system sends the requested content to the PC according to the received query request.
WEB服务器查询系统接收到PC发送过来的查询请求,判断该查询请求中的识别号码和相应的密码是否正确,如果正确,则从数据存储模块532中提取用户所请求查询的内容,然后发送给PC上的WEB浏览器,否则作错误处理,如向PC上的WEB浏览器发出错误提示消息等方式。The WEB server query system receives the query request sent by the PC, and judges whether the identification number and the corresponding password in the query request are correct, and if correct, extracts the content requested by the user from the
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the scope of the present invention. within the scope of protection.
Claims (40)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100970080A CN100433867C (en) | 2004-12-08 | 2004-12-08 | Method and apparatus for preventing personal data losing in mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100970080A CN100433867C (en) | 2004-12-08 | 2004-12-08 | Method and apparatus for preventing personal data losing in mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1787665A CN1787665A (en) | 2006-06-14 |
CN100433867C true CN100433867C (en) | 2008-11-12 |
Family
ID=36784920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100970080A Expired - Lifetime CN100433867C (en) | 2004-12-08 | 2004-12-08 | Method and apparatus for preventing personal data losing in mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100433867C (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101080054B (en) * | 2006-11-30 | 2010-06-16 | 腾讯科技(深圳)有限公司 | A system and method for uploading file to network storage space |
CN101247589B (en) * | 2007-07-04 | 2010-09-08 | 华为技术有限公司 | Mobile terminal data conversion/backup method, device and system |
CN101917520B (en) * | 2007-07-04 | 2013-01-30 | 华为技术有限公司 | Conversion/backup method, equipment and system for mobile terminal data |
CN101853184A (en) * | 2010-05-21 | 2010-10-06 | 中兴通讯股份有限公司 | Management method and device for application program and terminal |
CN102394968A (en) * | 2011-09-16 | 2012-03-28 | 南鑫民 | Safety protection system of mobile phone data |
CN102360319A (en) * | 2011-09-29 | 2012-02-22 | 奇智软件(北京)有限公司 | User data backup method and device |
CN102711094A (en) | 2012-05-17 | 2012-10-03 | 惠州Tcl移动通信有限公司 | Method, system and mobile terminal for backing-up and recovering data |
CN103813302B (en) | 2012-11-06 | 2017-07-14 | 华为终端有限公司 | Signing transfer method, apparatus and system |
CN103226545A (en) * | 2013-04-19 | 2013-07-31 | 中国建设银行股份有限公司 | Data format conversion system, and method and system for batch loans information import |
CN103530353B (en) * | 2013-10-09 | 2017-02-01 | 沈阳美行科技有限公司 | Self-identification method of GPS user data format |
CN106851628B (en) | 2013-12-05 | 2020-08-07 | 华为终端有限公司 | Method and device for downloading files of operator |
CN104717620A (en) * | 2013-12-13 | 2015-06-17 | 中国电信股份有限公司 | Synchronous processing method and system of text message in mobile phone terminal |
CN103747416A (en) * | 2013-12-20 | 2014-04-23 | 北京奇虎科技有限公司 | Method, device and system of performing prompting for portable positioning device |
CN104866395B (en) * | 2014-02-24 | 2017-11-21 | 中国移动通信集团福建有限公司 | Data back up method and system, main/standby switching method and system |
EP3136252A4 (en) | 2014-05-23 | 2017-05-10 | Huawei Technologies Co. Ltd. | Euicc management method, euicc, sm platform and system |
US10623952B2 (en) | 2014-07-07 | 2020-04-14 | Huawei Technologies Co., Ltd. | Method and apparatus for authorizing management for embedded universal integrated circuit card |
CN106598977A (en) * | 2015-10-15 | 2017-04-26 | 北京国双科技有限公司 | Data migration method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08314805A (en) * | 1995-05-19 | 1996-11-29 | Nec Corp | System for preventing portable radio terminal from being illegally used and method for executing the same |
CN1303063A (en) * | 1999-10-25 | 2001-07-11 | 华为技术有限公司 | Multimedia information card holder |
CN1455522A (en) * | 2003-04-21 | 2003-11-12 | 大唐微电子技术有限公司 | Mobile terminal data online backup system and method |
-
2004
- 2004-12-08 CN CNB2004100970080A patent/CN100433867C/en not_active Expired - Lifetime
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08314805A (en) * | 1995-05-19 | 1996-11-29 | Nec Corp | System for preventing portable radio terminal from being illegally used and method for executing the same |
CN1303063A (en) * | 1999-10-25 | 2001-07-11 | 华为技术有限公司 | Multimedia information card holder |
CN1455522A (en) * | 2003-04-21 | 2003-11-12 | 大唐微电子技术有限公司 | Mobile terminal data online backup system and method |
Also Published As
Publication number | Publication date |
---|---|
CN1787665A (en) | 2006-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100433867C (en) | Method and apparatus for preventing personal data losing in mobile terminal | |
US20060235931A1 (en) | System for two-way exchange of personal data over mobile telephone networks | |
CN101247589B (en) | Mobile terminal data conversion/backup method, device and system | |
US6360252B1 (en) | Managing the transfer of e-mail attachments to rendering devices other than an original e-mail recipient | |
CN101917520B (en) | Conversion/backup method, equipment and system for mobile terminal data | |
JP5743422B2 (en) | MMS message transmission method with conversion of file type and / or file format, and subscriber terminal device | |
US20020194286A1 (en) | E-mail service apparatus, system, and method | |
JP4414090B2 (en) | Method and apparatus for transferring information using existing message-based services in digital networks | |
US20080294729A1 (en) | Email object for open mobile alliance data synchronization usage | |
US8583743B1 (en) | System and method for message gateway consolidation | |
CN102447744B (en) | Implementation method, client, server and system of email download | |
CN101478730B (en) | Data exchanging method, system and device | |
US20090083763A1 (en) | Remote control of computing devices via two disparate networks | |
US9275362B2 (en) | Method and system for handling files with mobile terminals and a corresponding computer program and a corresponding computer-readable storage medium | |
CN102404248B (en) | The method of converged message and mail applications and device | |
KR100436424B1 (en) | Method for Providing Information Service to Wireless Terminals, and Information Service System and Messaging Agent System Suitable for the Same | |
US20050198179A1 (en) | Management of message stores | |
AU2005258459B2 (en) | Message transfer system and message transfer method | |
JP2002215539A (en) | Www-browser applicable electronic mail access system and computer program used for the same | |
KR100504441B1 (en) | Method and system for providing permanent mail service | |
JP6202877B2 (en) | Message transmission system, message transmission method, and message transmission program | |
KR100620331B1 (en) | MS SMS monitoring unit capable of tracking and displaying MMS transmission process, MMS transmission process verification system having same and transmission process verification method using same | |
CN101304554A (en) | MMS service system and MMS tracing center | |
TW200843469A (en) | Smart phone providing remote data retrieval service and method of remote data retrieval thereof | |
US20060007957A1 (en) | Transfer of a multimedia message |
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 | ||
CX01 | Expiry of patent term |
Granted publication date: 20081112 |
|
CX01 | Expiry of patent term |