WO2014044131A1 - 移动终端联系人备份的方法、装置及存储介质 - Google Patents
移动终端联系人备份的方法、装置及存储介质 Download PDFInfo
- Publication number
- WO2014044131A1 WO2014044131A1 PCT/CN2013/083234 CN2013083234W WO2014044131A1 WO 2014044131 A1 WO2014044131 A1 WO 2014044131A1 CN 2013083234 W CN2013083234 W CN 2013083234W WO 2014044131 A1 WO2014044131 A1 WO 2014044131A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- contact
- text information
- image
- detection value
- data detection
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
- G06F11/1451—Management of the data involved in backup or backup restore by selection of backup contents
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1464—Management of the backup or restore process for networked environments
Definitions
- the present invention relates to the field of data backup of a mobile terminal, and in particular, to a method, a device and a storage medium for backing up a contact of a mobile terminal that can back up contact data to a remote server.
- Storing an address book in a mobile communication device to a remote (or cloud) server is a basic backup item for user data.
- the existing address book synchronization software mainly has the following two implementation technical solutions: the first prior art solution only backs up the plain text information of the contact; the second prior art solution sets the text information and image of the contact (or Avatar) Data is integrated and backed up.
- a disadvantage of the first prior art solution is that the data of the image cannot be backed up, and the text information of all contacts is uploaded to the remote server every time the backup is performed, resulting in waste of transmission traffic.
- a disadvantage of the second prior art solution is that in the case of a large number of images, the backup speed is very slow, and the text information and image data of all contacts are uploaded every time the backup is performed, which wastes unnecessary traffic.
- the invention provides a method, a device and a storage medium for backing up a contact of a mobile terminal, so as to improve the speed of backup of the contact of the mobile terminal and avoid unnecessary waste of traffic.
- the present invention provides a method for backing up a contact of a mobile terminal, including:
- Reading the text information recorded in the electronic business card of the mobile terminal wherein the electronic business card is formed by converting original contact data, the contact data includes the text information and an image, and the text information includes a contact account;
- Determining whether to back up the image if the image is to be backed up, storing the text information corresponding to the contact whose text information is changed and the image corresponding to the changed contact image to the remote server; if the image is not backed up, The text information corresponding to the contact whose text information is changed is stored in the remote server.
- the present invention further provides a method for backing up a contact of a mobile terminal, including:
- Reading contact data from a mobile terminal the contact data including text information and an image
- the textual information of the contact is stored to the remote server.
- the present invention also provides a method for backing up a contact of a mobile terminal, including:
- Reading contact data from a mobile terminal the contact data including text information and an image
- Determining whether to back up the image if so, storing the text information of the contact with the changed text information and the image of the contact with the changed image to a remote server; if not, then the text The text information of the contact whose information has changed is stored to the remote server.
- the present invention further provides a method for backing up a contact of a mobile terminal, which is used in the process of backing up the contact data in the address book of the mobile terminal to the remote server for the first time, including:
- the image is backed up, storing the text information corresponding to the contact whose text information has been changed and the image corresponding to the contact with the changed image to a remote server; if the image is not backed up, The text information corresponding to the contact whose text information has changed is stored to the remote server.
- the present invention further provides a method for backing up a contact of a mobile terminal, which is used in the process of backing up the contact data in the address book of the mobile terminal to the remote server for the first time, including:
- the image corresponding to the contact whose image has been changed is stored to the remote server.
- the present invention further provides a backup device for a mobile terminal contact, including:
- a reading module for reading contact data from the mobile terminal, the contact data including text information and an image;
- a data detection value calculation module configured to receive the text information and the image from the reading module, to calculate a first data detection value of the text information corresponding to the contact account and the contact account Corresponding second data detection value of the image;
- mapping table generating module coupled to the data detection value calculation module, configured to generate a first mapping table between the contact account and the first data detection value, and the contact account and the second a second mapping table between data detection values;
- a comparison module configured to compare the first mapping table and the second mapping table with the mobile terminal preset mapping table, to filter out the text information or the contact with the changed image
- a judging module configured to determine whether to back up an image according to a user instruction
- a transmission module configured to transmit, according to the determination result of the determining module, the text information of the contact whose text information is changed or the image of the contact with the changed image to a remote server, or simultaneously Transmitting the text information of the contact whose text information has been changed and the image of the contact having the changed image to the remote server.
- the present invention also provides a storage medium having stored therein processor-executable instructions, wherein the processor-executable instructions are for causing a processor to:
- Reading contact data from a mobile terminal the contact data including text information and an image
- the technical solution proposed by the present invention can separate the text information backup and the image backup in the process of backing up the mobile terminal contact to the remote server, so that the image backup becomes an optional option, so In the overall backup process, unnecessary traffic waste can be avoided.
- the present invention can only back up text information or images of changed contacts, which is a great improvement for the overall backup speed and brings a better user experience.
- FIG. 1 is a schematic diagram showing an operating environment of a method for backing up a contact of a mobile terminal according to the present invention
- FIG. 2 is a flow chart showing a method for backing up a contact of a mobile terminal of the present invention
- FIG. 3 is a flow chart showing a method for backing up a contact of a mobile terminal according to a preferred embodiment of the present invention
- FIG. 4 shows a flow chart of a user performing backup of contact data for the first time in a specific embodiment of the present invention
- FIG. 5 is a flowchart showing a user not performing backup of contact data for the first time in a specific embodiment of the present invention
- FIG. 6 shows a flow chart of a user not performing backup of contact data for the first time in another embodiment of the present invention
- FIG. 7 is a schematic diagram of a device for backing up a contact of a mobile terminal according to a preferred embodiment of the present invention.
- the principles of the present invention operate using many other general purpose or special purpose computing, communication environments, or configurations.
- Examples of well-known computing systems, environments, and configurations suitable for use with the present invention may include, but are not limited to, hand-held phones, personal computers, servers, multi-processor systems, microcomputer-based systems, mainframe computers, and A distributed computing environment, including any of the above systems or devices.
- module as used herein may be taken to mean a software object that is executed on the computing system.
- the different components, modules, engines, and services described herein can be considered as implementation objects on the computing system.
- the apparatus and method described herein are preferably implemented in software, and may of course be implemented in hardware, all of which are within the scope of the present invention.
- the technical solution proposed by the invention can realize the backup of the contact of the address book of the mobile terminal (such as a smart phone, a tablet computer, etc.) to the remote (or cloud) server, and back up the text information of the contact with the image (or avatar).
- the backup is separated and allows the user to select whether the image is backed up or not, thus saving the traffic consumed during the backup process.
- the backup process only the text information or image of the changed contact can be backed up, which effectively avoids unnecessary waste of traffic and improves the speed of the overall backup.
- FIG. 1 is a schematic diagram of an operating environment of a method for backing up a contact of a mobile terminal according to an embodiment of the present invention, including a mobile terminal 11 and a remote server 12, where the mobile terminal 11 connects to the remote server 12 through an internetwork.
- the mobile terminal 11 may upload the contact data in the mobile terminal 11 to the remote server 12, and the remote server 12 stores the contact data including text information and an image.
- the mobile terminal 11 can be composed not only by a desktop computer, but also by a desktop computer. Can also be used by notebook computers, workstations, palmtop computers, UMPCs (ultra mobile personal Computer: ultra mobile PC), tablet PC, personal digital assistant (PDA), network board (web) A pad type, a portable telephone, or the like, which has a storage unit and is equipped with a microprocessor and has a computing capability.
- UMPCs ultra mobile personal Computer: ultra mobile PC
- PDA personal digital assistant
- web network board
- a pad type, a portable telephone, or the like which has a storage unit and is equipped with a microprocessor and has a computing capability.
- the internetwork may include a local area network (local area Network, LAN), metropolitan area network (MAN), wide area network (wide area Network, WAN, Internet, etc., including data communication network channels, including telephone networks, etc., regardless of wired or wireless, any communication method is irrelevant.
- local area Network local area Network
- MAN metropolitan area network
- wide area network wide area Network, WAN, Internet, etc.
- data communication network channels including telephone networks, etc., regardless of wired or wireless, any communication method is irrelevant.
- FIG. 2 is a flowchart of a method for backing up a contact of a mobile terminal according to an embodiment of the present invention.
- the contact data in the address book of the mobile terminal 11 includes text information and an image, such as a contact name, a phone number, an address, an email address, and a personal homepage, and the like.
- the image is an avatar or photo representing the contact.
- the main conceptual flow of the present invention for backing up the contact data of the mobile terminal 11 to the remote server 12 is as follows.
- Step S10 Read contact data from the mobile terminal 11.
- the original contact data stored in the mobile terminal 11 may be directly read, or the original contact data may be converted into a file format of the electronic business card, and then read in the electronic business card. Document information and images recorded.
- the contact information of the electronic business card format is inherently present in the mobile terminal 11, the contact data recorded in the electronic business card may be directly read in the reading step S10.
- the file format of the electronic business card is, for example, VCard, which regulates the public exchange of personal data information, and can be used as an exchange format between various applications or systems.
- the user can directly use VCard on the Internet, and the email can be forwarded.
- Personal information in VCard, and many forms filled out by users on the web page can also automatically use VCard.
- Step S12 It is judged whether or not the image is backed up.
- an interface can be provided for the user to check whether the image is to be backed up.
- the specific performance of this interface can be placed in the application software for various adjustments of the custom "options", or when the backup program is executed, a jump out
- the window allows the user to check whether or not to perform image backup. If it is determined that image backup is performed, step S14 is performed; if it is determined that image backup is not performed, step S16 is performed.
- Step S14 Perform contact text information and image backup, and store the contact text information and image of the mobile terminal 11 to the remote server 12.
- Step S16 Perform backup of the contact text information, and store the contact text information of the mobile terminal 11 to the remote server 12.
- Step S14 the uploading process of the contact text information and the image does not need to be executed in the same program, that is, the text information of the contact may be uploaded to the remote server 12 first.
- Step S12 determines that the image of the contact is to be uploaded to the remote server 12 when the image is to be backed up.
- the uploading of the contact text information and the image can be appropriately adjusted according to different designs.
- the text information corresponding to each contact account is changed, that is, the text information of each contact that is currently to be backed up and the previously backed up each
- the text information of the contact is compared to find a contact whose text information has changed, and then only the text information of the contact whose text information has been changed is stored to the remote server 12.
- the first data detection value of the text information corresponding to each contact account in the data to be backed up may be calculated first, that is, the text information of each contact to be backed up is subjected to data detection, Obtaining corresponding first data detection values, such as checksum or hash value (hash) Sum), checksum is a checksum algorithm commonly used in data storage and communication to ensure data is correct, and MD5 (message digest algorithm fifth edition) hash function. And comparing the first data detection value with the preset text information data detection value in the mobile terminal 11 that was performed during the last backup, to find the first data detection value and the preset The contact account whose text information data detection value is inconsistent is the contact whose text information has changed.
- first data detection value such as checksum or hash value (hash) Sum
- checksum is a checksum algorithm commonly used in data storage and communication to ensure data is correct
- MD5 messages digest algorithm fifth edition
- the image corresponding to each contact account is changed, that is, the image of each contact that is currently to be backed up and the last backup.
- the images of each contact are compared to find the contact whose image has changed, and then only the image of the contact whose image has been changed is stored to the remote server.
- the second data detection value of the image corresponding to each contact account in the data to be backed up may be calculated first, that is, the image of each contact to be backed up is subjected to data detection to obtain The second data detection value of each corresponding image. Then, comparing the second data detection value with the preset image data detection value in the mobile terminal 11 that was performed during the last backup, and finding the second data detection value and the preset image.
- the contact account whose data detection value data detection value is inconsistent is the contact whose image has changed.
- the technical solution proposed by the present invention can separate the text information backup and the image backup in the process of backing up the contact of the mobile terminal 11 to the remote server 12, so as to make the image backup. Become an optional option, so you can avoid unnecessary traffic waste during the overall backup process.
- the present invention can only back up text information or images corresponding to contacts with text information or image changes, which is a great improvement for the overall backup speed and brings a better user experience.
- FIG. 3 is a flowchart of a method for backing up a contact of a mobile terminal according to a preferred embodiment of the present invention.
- FIG. 1 please refer to the following description.
- Step S20 Read contact data from the mobile terminal 11 containing text information and an image.
- the original contact data stored in the mobile terminal 11 can be directly read, or the contact data recorded in the electronic business card can also be read.
- the file format of the electronic business card is, for example, VCard.
- Step S22 Calculate the first data detection value (such as checksum or hash) of the text information corresponding to each contact account. Sum), that is, the text information of each contact to be backed up is subjected to data detection to obtain the first data detection value of the corresponding text information.
- first data detection value such as checksum or hash
- Step S24 Calculate the second data detection value of the image corresponding to each contact account, that is, perform a data detection on the text information of each contact to be backed up to obtain the second data of the corresponding image. Detected value.
- Step S26 Generate a first mapping table between each contact account and the first data detection value (see step S22) and a second mapping table between the second data detection value (see step S24).
- the first mapping table records a first data detection value and a second data detection value corresponding to each contact account.
- Step S28 comparing the first mapping table, the first mapping table, and the preset mapping table in the mobile terminal 11 generated by the step S26 to filter out the text information or the contact whose image has changed, that is, by The first mapping table or the first mapping table is compared with the data detection value in the preset mapping table, if the data detection value in the first mapping table or the first mapping table and the preset mapping table are If the data detection value is different, it means that the text information or image of the contact has changed.
- the preset mapping table in the mobile terminal 11 refers to a mapping table established in the last backup process.
- the first data detection value in the first mapping table generated in step S26 is compared with the preset text information in the preset mapping table in the mobile terminal 11.
- the data detection value is checked whether the first data detection value and the preset text information data detection value are consistent to determine whether the text information corresponding to each contact account is changed.
- Step S30 determining whether to back up the image, this step may be determined by the user whether to perform image backup. If it is determined that image backup is performed, step S32 is performed; if it is determined that image backup is not performed, step S34 is performed.
- Step S32 Perform contact text information and image backup, and store the contact text information and image of the mobile terminal 11 to the remote server 12.
- Step S34 Perform backup of the contact text information, and store the contact text information of the mobile terminal 11 to the remote server 12.
- the text information of the contact and the uploading process of the image are appropriately adjusted according to different designs, that is, the text information of the contact and the uploading process of the image do not need to be in the same Executed in the program.
- this embodiment is a first mapping table between the first data detection value of each contact account and its text information before the backup is performed, and generating a second data detection value of each contact and its image. a second mapping table between the two, but in other embodiments, after determining the step of backing up the image, determining whether to generate a second mapping table between each contact account and the second data detection value step.
- FIG. 4 is a flowchart showing a user's first backup of contact data in a specific embodiment of the present invention
- FIG. 5 is a flowchart showing a user not performing backup of contact data for the first time in a specific embodiment of the present invention.
- Step S40 First, data of all contacts is read from the mobile terminal 11, and the data of the contact contains text information and an image.
- Step S42 Generate a file format of the electronic business card, such as VCard, according to the contact data read in step S40. If the contact data in the electronic business card format has been inherently established in the application software, this step can be omitted.
- Step S44 Calculate a first data detection value of the contact text information in the VCard by using a checksum algorithm, and generate a first mapping table corresponding to each contact account value, or a first detection value. Mapping table.
- Step S46 Calculate a second data detection value of the image in the VCard by using a checksum algorithm, and generate a second mapping table corresponding to each contact account value, or a second detection value mapping table.
- the first mapping table and the second mapping table may exist separately or separately, and may be combined into a single mapping table, which is collectively referred to as a mapping table or has been stored. Mapping table.
- Step S48 The first mapping table and the second mapping table generated in step S44 and step S46 are saved in the memory of the mobile terminal 11 as the existing mapping table.
- Step S50 uploading text information and image data of all contacts in the VCard to the remote server 12.
- Step S52 The remote server 12 generates a corresponding mapping table at the remote end and saves it by using the same checksum algorithm as that used in step S44 and step S46.
- the mapping table generated in the previous backup process can be compared with the mapping table generated by the backup to find out.
- the data has changed contacts, and only the changed data is uploaded to the remote server 12, as described in detail below.
- Step S60 Generate data in VCard format from the existing contact data of the mobile terminal 11. If the contact data in the electronic business card format has been inherently established in the application software, this step can be omitted.
- Step S61 Read the text information of the contact in the VCard.
- Step S62 Using the checksum algorithm, calculating the first data detection value of the text information corresponding to each contact account, that is, performing a data detection on the text information of each contact to be backed up to obtain respective correspondences. The first data detection value of the text message.
- Step S63 Generate a first mapping table between each contact account and the first data detection value (see step S62), where the first mapping table records the first data detection value corresponding to each contact account. .
- Step S64 Compare the first mapping table generated in step S63 with a preset mapping table (or a mapping table generated in the last backup process) in the mobile terminal 11 to filter out contacts whose text information has changed. Specifically, the first data detection value of the text information in the generated first mapping table and the preset text information data detection value in the preset mapping table in the mobile terminal 11 are compared, and the check is performed. Whether the first data detection value and the preset text information data detection value are consistent to determine whether the text information corresponding to each contact account is changed.
- Step S65 determining whether to back up the image, this step may be determined by the user whether to perform image backup. If it is determined that image backup is performed, step S56 is performed; if it is determined that image backup is not performed, step S63 is performed to perform backup of only the contact whose text information has been changed.
- Step S66 Read the image of the contact in the VCard.
- Step S67 Using the checksum algorithm, calculating a second data detection value of the image corresponding to each contact account, that is, performing a data detection on each image of the contact to be backed up to obtain a corresponding image.
- the second data detection value is, Using the checksum algorithm, calculating a second data detection value of the image corresponding to each contact account, that is, performing a data detection on each image of the contact to be backed up to obtain a corresponding image. The second data detection value.
- Step S68 Generate a second mapping table between each contact account and the second data detection value (see step S67), where the second mapping table records the second data of each corresponding image of each contact account. Detected value.
- Step S69 Comparing the second mapping table in step S68 with the preset mapping table in the mobile terminal 11 (or a mapping table generated in the last backup process) to filter out contacts with changed images. . Specifically, comparing the second data detection value in the second mapping table with a preset image data detection value in the preset mapping table in the mobile terminal 11, and checking the second data detection. Whether the value is consistent with the two preset image data detection values to determine whether the image corresponding to each contact account has changed.
- Step S70 Upload or store the text information data of the contact whose text information is changed in step S64 to the remote server 12.
- Step S71 Upload or store the image data of the contact whose image has been changed in step S69 to the remote server 12.
- Step S72 The remote server 12 generates a corresponding mapping table at the remote server 12 to replace the old mapping table by using the same checksum algorithm as that used in step S62 and step S67.
- Step S73 Only the text information data of the contact whose text information has been changed is backed up to the remote server 12.
- the backup process of the above embodiment it is first determined whether the image backup is performed, and then the changed text information is uploaded to the remote server 12. However, in other embodiments, the changed text information may be uploaded first. After the remote server 12 is reached, the image backup is judged or not, as shown in the embodiment of FIG.
- FIG. 7 is a schematic diagram of a backup device of a contact of a mobile terminal according to a preferred embodiment of the present invention.
- the backup device of the preferred embodiment of the present invention includes a reading module 10, a file format conversion module 23, a data detection value calculation module 14, a mapping table generation module 16, a comparison module 18, a memory module 20, and a determination module. 22 and transmission module 24.
- the reading module 10 is configured to read contact data from the mobile terminal 11, which can read text information of the contact and data of the image.
- the file format conversion module 12 is coupled between the reading module 10 and the data detection value calculation module 14 for converting the contact data read by the reading module 10 into an electronic business card file. Format, such as VCard. If the contact data in the VCard format has been inherently established in the application software, the reading module 10 can directly read the data in the VCard.
- the data detection value calculation module 14 receives the text information and the image from the reading module 10, and is used to calculate a first data detection value corresponding to the text information of each contact account and a second data corresponding to each contact account image. Detected value.
- the mapping table generating module 16 is coupled to the data detection value calculation module 14 for generating a first mapping table between each contact account and the first data detection value and the second data detection value.
- the comparison module 18 is configured to compare the first mapping table or the second mapping table generated by the mapping table generating module 16 with a preset mapping table in the mobile terminal 11 (or a mapping table generated in the last backup process) To filter out text messages or contacts with changed images.
- the existing mapping table is originally stored in the memory module 20, and the memory module 20 is, for example, a memory or a memory.
- the comparison module 18 compares the first data detection value of the text information in the generated first mapping table with the preset text information data detection value in the preset mapping table in the mobile terminal 11 to Determining whether the text information corresponding to each contact account is changed, and comparing the second data detection value of the image in the generated second mapping table with the preset image data in the mapping table already stored in the mobile terminal 11 The value is detected to determine if there is a change in the image corresponding to each contact account.
- the determining module 22 is configured to determine whether to back up an image according to a user indication, and the transmitting module 24 is configured to transmit, according to the determination result of the determining module 22, text information or an image of the changed contact to the far The end server 12, or simultaneously uploads text information and images of the changed contacts to the remote server 12.
- Second prior art solution 300 contacts 34.7 65.9 600 contacts 76 138 1000 contacts 133 286
- Second prior art solution 300 contacts 731 1534 600 contacts 1403 2845 1000 contacts 3180 6342
- the backup device of the mobile terminal contact provided by the embodiment of the present invention may be formed in a terminal or a touch device, such as a computer, a tablet computer, a mobile phone with a touch function, and the like, and a backup device of the mobile terminal contact.
- the backup method of the mobile terminal contact in the above embodiment belongs to the same concept, and any method provided in the embodiment of the backup method of the mobile terminal contact may be run on the backup device of the mobile terminal contact, For details, refer to the backup method of the mobile terminal contact.
- the computer program may be stored in a computer readable storage medium, such as in a memory of the terminal, and executed by at least one processor in the terminal, and may include the methods as described above during execution.
- the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).
- each functional module may be integrated into one processing chip, or each module may exist physically separately, or two or more modules may be integrated into one module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
- the integrated module if implemented in the form of a software functional module and sold or used as a standalone product, may also be stored in a computer readable storage medium, such as a read only memory, a magnetic disk or an optical disk, etc. .
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明从移动终端读取联系人数据,联系人数据包含文本信息和图像;判断是否备份图像;若备份图像,则将联系人的文本信息和图像存储到远端服务器;若不备份图像,则将联系人的文本信息存储到远端服务器。本发明避免了不必要的流量浪费。
Description
本发明涉及移动终端的数据备份领域,特别涉及一种可将联系人数据备份到远端服务器的移动终端联系人备份的方法、装置及存储介质。
随着移动通信设备(例如,智能手机和平板电脑)渐渐普及,用户对数据备份的需求也越来越大,将用户数据存储到远端服务器是一个很好的解决方案,这也是云端产业的蓬勃发展的一个原因。
将移动通信设备中的通讯录存储到远端(或云端)服务器对用户数据来说是一个基本的备份项目。现有的通讯录同步软件,主要有以下两个实现技术方案:第一种现有技术方案只备份联系人的纯文本信息;第二种现有技术方案将联系人的文本信息和图像(或头像)数据整合在一起备份。
第一种现有技术方案的缺点是,无法备份图像的数据,而且每次备份时都把全部联系人的文本信息上传到所述远端服务器,造成了传输流量的浪费。第二种现有技术方案的缺点是,在图像很多的情况下,备份速度非常慢,而且每次备份时把全部联系人的文本信息和图像数据都进行上传,耗费了不必要的流量浪费。
本发明提供一种移动终端联系人备份的方法、装置及存储介质,以提升对移动终端联系人备份的速度,避免不必要的流量浪费。
为达到上述有益效果,本发明提供一种移动终端联系人备份的方法,包括:
读取移动终端的电子名片内记载的文本信息;其中所述电子名片由原始的联系人数据转换形成,所述联系人数据包括所述文本信息以及图像,所述文本信息包括有联系人账号;
计算出与所述联系人账号对应的所述文本信息的第一数据检测值;
生成所述联系人账号与所述第一数据检测值之间的第一映射表;
比较所述第一映射表与所述移动终端内已存有的预设映射表,以过滤出所述文本信息有变更的联系人;
读取所述电子名片内的图像;
计算出与所述联系人账号对应的所述图像的第二数据检测值;
生成所述联系人账号与所述第二数据检测值之间的第二映射表;
比较所述第二映射表与所述预设映射表,以过滤出所述图像有变更的联系人;以及
判断是否备份图像,若要备份图像,则将所述文本信息有变更的联系人对应的文本信息以及所述图像有变更的联系人对应的图像存储到远端服务器;若不备份图像,则将所述文本信息有变更的联系人对应的文本信息存储到所述远端服务器。
为达到上述有益效果,本发明还提供一种移动终端联系人备份的方法,包含:
从移动终端读取联系人数据,所述联系人数据包含文本信息和图像;
判断是否备份图像;
若备份图像,则将所述联系人的所述文本信息和所述图像存储到远端服务器;以及
若不备份图像,则将所述联系人的所述文本信息存储到所述远端服务器。
为达到上述有益效果,本发明还提供一种移动终端联系人备份的方法,包括:
从移动终端读取联系人数据,所述联系人数据包括文本信息和图像;
计算出与所述联系人账号对应的所述文本信息的第一数据检测值,并生成所述联系人账号与所述第一数据检测值之间的第一映射表;
计算出与所述联系人账号对应的所述图像的第二数据检测值,并生成所述联系人账号与所述第二数据检测值之间的第二映射表;
将所述第一映射表和所述第二映射表与所述移动终端内预设映射表进行对比,以过滤出所述文本信息有变更的联系人以及所述图像有变更的联系人;以及
判断是否备份图像;若是,则将所述文本信息有变更的联系人的所述文本信息以及所述图像有变更的联系人的所述图像存储到远端服务器;若否,则将所述文本信息有变更的联系人的所述文本信息存储到所述远端服务器。
为达到上述有益效果,本发明还提供一种移动终端联系人备份的方法,用于用户非首次将移动终端通讯录中的联系人数据备份到远端服务器的过程中,包括:
从移动终端读取联系人的文本信息;
计算出与所述联系人账号对应的所述文本信息的第一数据检测值;
生成所述联系人账号与所述第一数据检测值之间的第一映射表;
比较所述第一映射表与所述移动终端预设映射表,以过滤出所述文本信息有变更的联系人;
判断是否备份图像;
从所述移动终端读取图像;
计算出与所述联系人账号对应的所述图像的第二数据检测值;
生成所述联系人账号与所述第二数据检测值之间的第二映射表;
比较所述第二映射表与所述预设映射表,以过滤出所述图像有变更的联系人;以及
若备份图像,则将所述文本信息有变更的联系人对应的所述文本信息以及所述图像有变更的联系人对应的所述图像存储到远端服务器;若不备份图像,则将所述文本信息有变更的联系人对应的所述文本信息存储到所述远端服务器。
为达到上述有益效果,本发明还提供一种移动终端联系人备份的方法,用于用户非首次将移动终端通讯录中的联系人数据备份到远端服务器的过程中,包括:
从移动终端读取联系人的文本信息;
计算出与所述联系人账号对应的所述文本信息的第一数据检测值;
生成所述联系人账号与所述第一数据检测值之间的第一映射表;
比较所述第一映射表与所述移动终端内预设映射表,以过滤出所述文本信息有变更的联系人;
将所述文本信息有变更的联系人对应的所述文本信息存储到所述远端服务器;
判断是否备份图像,若备份图像,则进行以下步骤;
从所述移动终端读取图像;
计算出与所述联系人账号对应的所述图像的第二数据检测值;
生成所述联系人账号与所述第二数据检测值之间的第二映射表;
比较所述第二映射表与所述预设映射表,以过滤出所述图像有变更的联系人;以及
将所述图像有变更的联系人对应的所述图像存储到所述远端服务器。
为达到上述有益效果,本发明还提供一种移动终端联系人的备份装置,包括:
读取模块,用以从移动终端读取联系人数据,所述联系人数据包括文本信息和图像;
数据检测值计算模块,从所述读取模块接收所述文本信息和所述图像,用以计算与所述联系人账号对应的所述文本信息的第一数据检测值以及与所述联系人账号对应的所述图像的第二数据检测值;
映射表生成模块,与所述数据检测值计算模块耦接,用以生成所述联系人账号与所述第一数据检测值之间的第一映射表以及所述联系人账号与所述第二数据检测值之间的第二映射表;
比较模块,用以将所述第一映射表和所述第二映射表与所述移动终端预设映射表进行比较,以过滤出所述文本信息或所述图像有变更的联系人;
判断模块,用以根据用户指示,判断是否备份图像;以及
传输模块,用以根据所述判断模块的判断结果,将所述文本信息有变更的联系人的所述文本信息或者所述图像有变更的联系人的所述图像传送到远端服务器,或同时将所述文本信息有变更的联系人的所述文本信息以及所述图像有变更的联系人的所述图像传送到所述远端服务器。
为达到上述有益效果,本发明还提供一种存储介质,其内存储有处理器可执行指令,其中所述处理器可执行指令用于让处理器完成以下操作:
从移动终端读取联系人数据,所述联系人数据包括文本信息和图像;
判断是否备份图像;
若备份图像,则将所述文本信息和所述图像存储到远端服务器;以及
若不备份图像,则将所述文本信息存储到所述远端服务器。相较于现有技术,本发明所提出的技术方案能够在移动终端联系人备份到远端服务器的过程中,将文本信息备份和图像备份分离开来,使图像备份成为可选的选项,因此在整体备份过程中,可以避免不必要的流量浪费。另一方面,本发明可只备份有变更的联系人的文本信息或图像,这对于整体备份速度的提升是一大进步,带来更好的用户体验。
为让本发明的上述内容能更明显易懂,下文特举优选实施例,并配合所附图式,作详细说明如下:
图1显示本发明的移动终端联系人备份的方法的运行环境示意图;
图2显示本发明的移动终端联系人备份的方法流程图;
图3显示本发明较佳实施例的移动终端联系人备份的方法流程图;
图4显示本发明具体实施例中用户首次进行联系人数据备份的流程图;
图5显示本发明具体实施例中用户非首次进行联系人数据备份的流程图;
图6显示本发明另一具体实施例中用户非首次进行联系人数据备份的流程图;
图7显示本发明较佳实施例的移动终端联系人备份的装置示意图。
在以下的说明中,本发明的具体实施例将参考由一部或多部计算机所执行的步骤及符号来说明,除非另有述明。因此,这些步骤及操作将有数次提到由计算机执行,本文所指的计算机执行包括了由代表了以一结构化型式中的数据的电子信号的计算机处理单元的操作。此操作转换该数据或将其维持在该计算机的内存系统中的位置处,其可重新配置或另外以本领域技术人员所熟知的方式来改变该计算机的运作。该数据所维持的数据结构为该内存的实体位置,其具有由该数据格式所定义的特定特性。但是,本发明原理以上述文字来说明,其并不代表为一种限制,本领域技术人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。
本发明的原理使用许多其它泛用性或特定目的运算、通信环境或组态来进行操作。所熟知的适合用于本发明的运算系统、环境与组态的范例可包括(但不限于)手持电话、个人计算机、服务器、多处理器系统、微电脑为主的系统、主架构型计算机、及分布式运算环境,其中包括了任何的上述系统或装置。
本文所使用的术语「模块」可看做为在该运算系统上执行的软件对象。本文所述的不同组件、模块、引擎及服务可看做为在该运算系统上的实施对象。而本文所述的装置及方法优选的以软件的方式进行实施,当然也可在硬件上进行实施,均在本发明保护范围之内。
本发明提出的技术方案可实现移动终端(如智能手机、平板电脑等)通讯录的联系人备份至远端(或云端)服务器的过程中,把联系人的文本信息备份与图像(或头像)备份分离开来,且可让用户自行选择图像备份与否,故节省了备份过程中所消耗的流量。另一方面,在备份过程中,可以只备份有变更的联系人的文本信息或图像,此有效避免了不必要的流量的浪费,提升整体备份的速度。
请参阅图1,图1为本发明实施的移动终端联系人备份的方法的运行环境示意图,包括有移动终端11以及远端服务器12,所述移动终端11通过互联网络连接所述远端服务器12,所述移动终端11可将所述移动终端11内的联系人数据上传至所述远端服务器12,由所述远端服务器12存储,所述联系人数据包括文本信息以及图像。
其中所述移动终端11不仅可以由桌上型计算机构成,
还可以由笔记型计算机、工作站、掌上型计算机、UMPC(ultra mobile personal
computer:超移动个人计算机)、平板PC、个人数字助理(Personal Digital Assistant ,PDA)、连网板(web
pad)、可携式电话等具备储存单元并安装有微处理器而具有运算能力的终端机构成。
所述互联网络可以包括本地区域网络(local area
network,LAN)、都会网络(metropolitan area network,MAN)、广域网(wide area
network,WAN)、因特网等包括在内的数据通信网络路,还包括电话网络等,不分有线和无线,使用任何通信方式均无关。
请参阅图2,图2为本发明实施例中移动终端联系人备份的方法流程图。一般而言,所述移动终端11的通讯录中的联系人数据包括文本信息和图像,所述文本信息例如是联系人的姓名、电话、住址、电子邮件地址以及个人主页等数据,而所述图像为代表所述联系人的头像或照片。本发明将所述移动终端11的联系人数据备份至所述远端服务器12的主要概念流程如下。
步骤S10:从所述移动终端11读取联系人数据。在此步骤中,可直接读取存储在所述移动终端11内原始的联系人数据,或者是将所述原始的联系人数据转成电子名片的文件格式后,再读取所述电子名片内记载的文件信息和图像。另外,若所述电子名片格式的联系人信息已固有地存在于所述移动终端11内,则在此读取步骤S10中,也可直接读取所述电子名片内记载的联系人数据。
在此,所述电子名片的文件格式例如是VCard,其规范了容许公开交换个人数据信息,可作为各种应用或系统之间的交换格式,用户能在互联网上直接利用VCard,电子邮件能转发在VCard中的个人信息,且网页上许多用户填写的表格也可自动使用VCard。
步骤S12:判断是否备份图像。在备份过程中,可提供一个界面供用户勾选是否要备份图像,此界面的具体表现可放置在应用软件中进行各种调校的自订“选项”,或者在备份程序执行时,跳出一个窗口供用户勾选是否进行图像备份。若确定进行图像备份,则进行步骤S14;若确定不进行图像备份,则进行步骤S16。
步骤S14:进行联系人文本信息和图像备份,将所述移动终端11的联系人文本信息和图像存储到所述远端服务器12。
步骤S16:进行联系人文本信息备份,将所述移动终端11的联系人文本信息存储到所述远端服务器12。
上述步骤S14中,所述联系人文本信息和图像的上传程序不需在同一个程序中执行,也就是说,可以先将所述联系人的文本信息上传到所述远端服务器12后,经过步骤S12确定要备份图像时,再将所述联系人的图像上传到所述远端服务器12。所述联系人文本信息和图像的上传程序是可依不同的设计作适当调整。
在所述联系人文本信息的备份过程中,可进一步判断各联系人账号对应的文本信息是否有变更,也就是说,将目前要进行备份的各联系人的文本信息与上一次备份过的各联系人的文本信息进行比较,找出文本信息有变更过的联系人,然后仅将文本信息有变更过的联系人的文本信息存储到所述远端服务器12。
具体来说,可先计算目前要进行备份的数据中各联系人账号对应的文本信息的第一数据检测值,也就是说,把每一个欲备份的联系人的文本信息作一次数据检测,以得出各自对应的第一数据检测值,这个数据检测值例如是checksum或者是杂凑值(hash
sum),checksum是一种为了保证数据正确,在数据存储和通讯领域时常采用的校验算法,又如MD5(消息摘要算法第五版)杂凑函式。接着,将所述第一数据检测值与在上次进行备份时做过的所述移动终端11内预设文本信息数据检测值进行比较,找出所述第一数据检测值与所述预设文本信息数据检测值不一致的联系人账号,即为所述文本信息有变更的联系人。
类似地,在所述联系人的图像的备份过程中,可进一步判断各联系人账号对应的图像是否有变更,也就是说,将目前要进行备份的各联系人的图像与上一次备份过的各联系人的图像进行比较,找出图像有变更过的联系人,然后仅将图像有变更过的联系人的图像存储到远端服务器。
具体来说,可先计算目前要进行备份的数据中各联系人账号对应的图像的第二数据检测值,也就是说,把每一个欲备份的联系人的图像作一次数据检测,以得出各自对应图像的第二数据检测值。接着,将所述第二数据检测值与在上次进行备份时做过的所述移动终端11内预设图像数据检测值进行比较,找出所述第二数据检测值与所述预设图像数据检测值数据检测值不一致的联系人账号,即为所述图像有变更的联系人。
在上述进行联系人文本信息和图像的备份过程中,若相比于旧有的联系人清单存在有新增的联系人时,此新增的联系人的文本信息和图像也会一并在目前备份过程中,一并备份到所述远端服务器12中。
相较于现有技术,本发明所提出的技术方案能够在所述移动终端11的联系人备份到所述远端服务器12的过程中,将文本信息备份和图像备份分离开来,使图像备份成为可选的选项,因此在整体备份过程中,可以避免不必要的流量浪费。另一方面,本发明可只备份有文本信息或图像变更的联系人对应的文本信息或图像,这对于整体备份速度的提升是一大进步,带来更好的用户体验。
请参阅图3,图3为本发明较佳实施例的移动终端联系人备份的方法流程图。本发明较佳实施例请配合图1,並参阅以下说明。
步骤S20:从所述移动终端11读取联系人数据,其包含文本信息和图像。在此,可直接读取存储在所述移动终端11内原始的联系人数据,或者也可读取电子名片内记载的联系人数据,电子名片的文件格式例如是VCard。
步骤S22:计算出与各联系人账号对应的文本信息的第一数据检测值(如checksum或hash
sum),也就是说,把每一个欲备份的联系人的文本信息作一次数据检测,以得出各自对应文本信息的第一数据检测值。
步骤S24:计算出与各联系人账号对应的图像的第二数据检测值,也就是说,把每一个欲备份的联系人的文本信息作一次数据检测,以得出各自对应图像的第二数据检测值。
步骤S26:生成各联系人账号与所述第一数据检测值之间的第一映射表(见步骤S22)以及与所述第二数据检测值之间的第二映射表(见步骤S24),所述第一映射表记录了每个联系人账号各自对应的第一数据检测值以及第二数据检测值。
步骤S28:比较步骤S26所生成的第一映射表、第一映射表与所述移动终端11内预设映射表,以过滤出文本信息或图像有变更的联系人,也就是说,通过将所述第一映射表或第一映射表与所述预设映射表内数据检测值进行交互比对,若所述第一映射表或第一映射表内的数据检测值与所述预设映射表内的数据检测值有所不同,则表示该联系人的文本信息或图像有变更。而所述移动终端11内的所述预设映射表是指在上一次备份过程中所建立的映射表。
具体来说,在此步骤中,是比较步骤S26所生成的所述第一映射表中的所述第一数据检测值与所述移动终端11内所述预设映射表中的预设文本信息数据检测值,检查所述第一数据检测值与所述预设文本信息数据检测值是否一致,以判定对应每个联系人账号的文本信息是否有变更。
并且,比较步骤S26所生成的所述第二映射表中的所述第二数据检测值与所述移动终端11内的所述预设映射表中的预设图像数据检测值,检查所述第二数据检测值与所述预设图像数据检测值是否一致,以判定对应每个联系人账号的图像是否有变更。
步骤S30:判断是否备份图像,此步骤可由用户决定是否进行图像备份。若确定进行图像备份,则进行步骤S32;若确定不进行图像备份,则进行步骤S34。
步骤S32:进行联系人文本信息和图像备份,将所述移动终端11的联系人文本信息和图像存储到所述远端服务器12。
步骤S34:进行联系人文本信息备份,将所述移动终端11的联系人文本信息存储到所述远端服务器12。
在本实施例中,所述联系人的文本信息和图像的上传程序是可依不同的设计作适当调整的,也就是说,所述联系人的文本信息和图像的上传程序不需在同一个程序中执行。
此外,需注意的是,本实施例是在备份进行前生成各联系人账号与其文本信息的第一数据检测值之间的第一映射表,以及生成各联系人与其图像的第二数据检测值之间的第二映射表,然而在其他实施例中,亦可在判断是否备份图像的步骤后,再决定是否生成各联系人账号与所述第二数据检测值之间的第二映射表的步骤。
下面举出一个具体的实施方案,来作说明。请参阅图4及图5,图4显示本发明具体实施例中用户首次进行联系人数据备份的流程图,图5显示本发明具体实施例中用户非首次进行联系人数据备份的流程图。
用户首次将所述移动终端11通讯录中的联系人数据备份到远端服务器时,是将所述移动终端11所有联系人的数据(包含文本信息和图像数据)都存储在所述远端服务器12,请配合图3参考以下说明。
步骤S40:首先,从所述移动终端11读取所有联系人的数据,所述联系人的数据包含了文本信息和图像。
步骤S42:根据步骤S40所读取联系人数据来生成电子名片的文件格式,例如VCard。若应用软件中已固有地建立了电子名片格式的联系人数据,则可省略此步骤。
步骤S44:利用checksum演算法,计算VCard中联系人文本信息的第一数据检测值,并生成所述第一数据检测值与各联系人账号相应的第一映射表,或称为第一检测值映射表。
步骤S46:利用checksum演算法,计算VCard中图像的第二数据检测值,並生成所述第二数据检测值与各联系人账号相应的第二映射表,或称为第二检测值映射表。
需注意的是,在步骤S44和步骤S46中,所述第一映射表和所述第二映射表可分开独立存在,也可以合并成单独的一个映射表,以下统称为映射表或已存有的映射表。
步骤S48:将步骤S44和步骤S46生成的第一映射表以及第二映射表保存到所述移动终端11的内存中,作为已存有的映射表。
步骤S50:将VCard中所有联系人的文本信息和图像数据都上传到所述远端服务器12。
步骤S52:所述远端服务器12利用与步骤S44和步骤S46所使用的相同的checksum演算法,在远端生成相应的映射表,並将其保存起来。
请进一步参阅图5,用户在非首次进行联系人数据备份时,如第二次以后的备份过程,可以通过上一次备份过程中生成的映射表与本次备份生成的映射表相互比较,找出数据有经过变更的联系人,仅将有变更过的数据上传到所述远端服务器12,详细说明如下。
步骤S60:从所述移动终端11现有的联系人数据,生成VCard格式的数据。若应用软件中已固有地建立了电子名片格式的联系人数据,则可省略此步骤。
步骤S61:读取VCard中联系人的文本信息。
步骤S62:利用checksum演算法,计算与各联系人账号对应的文本信息的第一数据检测值,也就是说,把每一个欲备份的联系人的文本信息作一次数据检测,以得出各自对应文本信息的第一数据检测值。
步骤S63:生成各联系人账号与所述第一数据检测值(见步骤S62)之间的第一映射表,所述第一映射表记录了每个联系人账号各自对应的第一数据检测值。
步骤S64:比较步骤S63所生成的所述第一映射表与所述移动终端11内预设映射表(或上一次备份过程中生成的映射表),以过滤出文本信息有变更的联系人。具体来说,是比较所生成的所述第一映射表中文本信息的所述第一数据检测值与所述移动终端11内所述预设映射表中的预设文本信息数据检测值,检查所述第一数据检测值与所述预设文本信息数据检测值是否一致,以判定对应每个联系人账号的文本信息是否有变更。
步骤S65:判断是否备份图像,此步骤可由用户决定是否进行图像备份。若确定进行图像备份,则进行步骤S56;若确定不进行图像备份,则进行步骤S63,仅进行文本信息有变更的联系人的备份。
步骤S66:读取VCard中联系人的图像。
步骤S67:利用checksum演算法,计算与各联系人账号对应的图像的第二数据检测值,也就是说,把每一个欲备份的联系人的图像作一次数据检测,以得出各自对应图像的第二数据检测值。
步骤S68:生成各联系人账号与所述第二数据检测值(见步骤S67)之间的第二映射表,此第二映射表记录了每个联系人账号各自对应图像的所述第二数据检测值。
步骤S69:比较步骤S68中的所述第二映射表与所述移动终端11内的所述预设映射表(或上一次备份过程中生成的映射表),以过滤出图像有变更的联系人。具体来说,是比较所述第二映射表中的所述第二数据检测值与所述移动终端11内所述预设映射表中的预设图像数据检测值,检查所述第二数据检测值与所述两预设图像数据检测值是否一致,以判定对应每个联系人账号的图像是否有变更。
步骤S70:将步骤S64得到的文本信息有变更的联系人的文本信息数据上传或存储到所述远端服务器12。
步骤S71:将步骤S69得到的图像有变更的联系人的图像数据上传或存储到所述远端服务器12。
步骤S72:所述远端服务器12利用与步骤S62和步骤S67所使用的相同的checksum演算法,在所述远端服务器12生成相应的映射表,以取代旧有的映射表。
步骤S73:仅将文本信息有变更的联系人的文本信息数据备份到所述远端服务器12。
上述实施例的备份过程中,是先判断是否进行图像备份后,再将有变更的文本信息上传到所述远端服务器12,然而在其他实施例中,亦可先将有变更的文本信息上传到所述远端服务器12后,再进行图像备份与否的判断,如图6所示的实施例。
请参阅图7,图7为本发明较佳实施例的移动终端联系人的备份装置示意图。如图7所示,本发明较佳实施例的备份装置包括读取模块10、文件格式转换模块23、数据检测值计算模块14、映射表生成模块16、比较模块18、记忆模块20、判断模块22和传输模块24。
所述读取模块10用以从所述移动终端11中读取联系人数据,其可读取联系人的文本信息和图像的数据。所述文件格式转换模块12,耦接在所述读取模块10与所述数据检测值计算模块14之间,用以将所述读取模块10读出的联系人数据转成电子名片的文件格式,如VCard。若应用软件中已固有地建立了VCard格式的联系人数据,则所述读取模块10可直接读取VCard中的数据。所述数据检测值计算模块14从所述读取模块10接收文本信息和图像,用来计算与各联系人账号对应文本信息的第一数据检测值以及与各联系人账号对应图像的第二数据检测值。
所述映射表生成模块16与所述数据检测值计算模块14耦接,用以生成各联系人账号与所述第一数据检测值之间的第一映射表以及与所述第二数据检测值之间的第二映射表。所述比较模块18用以比较所述映射表生成模块16所生成的第一映射表或者第二映射表与所述移动终端11内预设映射表(或上一次备份过程中生成的映射表),以过滤出文本信息或图像有变更的联系人。已存有的映射表是原先就存储在所述记忆模块20中的,所述记忆模块20例如是内存或存储器。具体来说,所述比较模块18是比较所生成的第一映射表中文本信息的第一数据检测值与所述移动终端11内所述预设映射表中预设文本信息数据检测值,以判定对应每个联系人账号的文本信息是否有变更,以及比较所生成的第二映射表中的图像的第二数据检测值与所述移动终端11内已存有的映射表中预设图像数据检测值,以判定对应每个联系人账号的图像是否有变更。所述判断模块22用以根据用户指示来判断是否备份图像,而所述传输模块24用以根据所述判断模块22的判断结果,将有变更的联系人的文本信息或图像传送到所述远端服务器12,或同时将有变更的联系人的文本信息及图像上传到所述远端服务器12。
本发明所提出的技术方案与前述第二种现有技术方案的比较,经过实验测试可以得出如下数据:
本发明 技术方案 | 第二种 现有技术方案 | |
300 个联系人 | 34.7 | 65.9 |
600 个联系人 | 76 | 138 |
1000 个联系人 | 133 | 286 |
表1 备份联系人时间对比图(单位:秒)
本发明 技术方案 | 第二种 现有技术方案 | |
300 个联系人 | 731 | 1534 |
600 个联系人 | 1403 | 2845 |
1000 个联系人 | 3180 | 6342 |
表2 备份联系人耗费流量对比图(单位:KB)
由上可知,理论和实践证明,本发明所提出的图像分离技术和基于映射表技术的远端备份,不仅节省了备份联系人所消耗的时间和流量,同时带来了更好的用户体验。
本发明实施例提供的移动终端联系人的备份装置,可形成于终端或触摸设备中,所述终端譬如为计算机、平板电脑、具有触摸功能的手机等等,所述移动终端联系人的备份装置与上文实施例中的移动终端联系人的备份方法属于同一构思,在所述移动终端联系人的备份装置上可以运行所述移动终端联系人的备份方法实施例中提供的任一方法,其具体实现过程详见移动终端联系人的备份方法实施例,此处不再赘述。
需要说明的是,对本发明实施例软件的操作控制方法而言,本领域普通技术人员可以理解实现本发明移动终端联系人的备份方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。
对本发明实施例的移动终端联系人的备份装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。
综上所述,虽然本发明已以优选实施例揭露如上,但上述优选实施例并非用以限制本发明,本领域的普通技术人员,在不脱离本发明的精神和范围内,均可作各种更动与润饰,因此本发明的保护范围以权利要求界定的范围为准。
Claims (26)
- 一种移动终端联系人备份的方法,包括:读取移动终端的电子名片内记载的文本信息;其中所述电子名片由原始的联系人数据转换形成,所述联系人数据包括所述文本信息以及图像,所述文本信息包括有联系人账号;计算出与所述联系人账号对应的所述文本信息的第一数据检测值;生成所述联系人账号与所述第一数据检测值之间的第一映射表;比较所述第一映射表与所述移动终端内已存有的预设映射表,以过滤出所述文本信息有变更的联系人;读取所述电子名片内的图像;计算出与所述联系人账号对应的所述图像的第二数据检测值;生成所述联系人账号与所述第二数据检测值之间的第二映射表;比较所述第二映射表与所述预设映射表,以过滤出所述图像有变更的联系人;以及判断是否备份图像,若要备份图像,则将所述文本信息有变更的联系人对应的文本信息以及所述图像有变更的联系人对应的图像存储到远端服务器;若不备份图像,则将所述文本信息有变更的联系人对应的文本信息存储到所述远端服务器。
- 根据权利要求1所述的移动终端联系人备份的方法,还包括:在读取所述移动终端的电子名片内记载的文本信息之前,读取所述移动终端内的联系人数据;将所述联系人数据转成所述电子名片的文件格式。
- 根据权利要求1所述的移动终端联系人备份的方法,其中所述联系人的文本信息还包含联系人姓名、电话、住址、电子邮件地址以及个人主页中的至少一者。
- 一种移动终端联系人备份的方法,包括:从移动终端读取联系人数据,所述联系人数据包含文本信息和图像;判断是否备份图像;若备份图像,则将所述联系人的所述文本信息和所述图像存储到远端服务器;以及若不备份图像,则将所述联系人的所述文本信息存储到所述远端服务器。
- 根据权利要求4所述的移动终端联系人备份的方法,还包括:判断所述联系人账号对应的所述文本信息是否有变更;以及将所述文本信息有变更的联系人对应的所述文本信息存储到所述远端服务器。
- 根据权利要求5所述的移动终端联系人备份的方法,所述判断所述联系人账号对应的所述文本信息是否有变更的步骤包括:计算出与所述联系人账号对应的文本信息的第一数据检测值;以及将所述第一数据检测值与所述移动终端内预设文本信息数据检测值进行对比,判断所述第一数据检测值与所述预设文本信息数据检测值是否一致,若不一致,则判定所述联系人账号对应的所述文本信息有变更。
- 根据权利要求4所述的移动终端联系人备份的方法,还包括:判断所述联系人账号对应的所述图像是否有变更;以及若判定所述联系人账号对应的所述图像有变更,则将所述图像有变更的联系人对应的所述图像存储到所述远端服务器。
- 根据权利要求7所述的移动终端联系人备份的方法,所述判断所述联系人账号对应的所述图像是否有变更的步骤包括:计算与所述联系人账号对应的所述图像的第二数据检测值;以及将所述第二数据检测值与所述移动终端内预设图像数据检测值进行对比,判断所述第二数据检测值与所述预设图像数据检测值是否一致,若不一致,则判定所述联系人账号对应的所述图像有变更。
- 根据权利要求4所述的移动终端联系人备份的方法,还包括:在从所述移动终端读取所述联系人数据的步骤之后,将所述联系人数据转成电子名片的文件格式。
- 根据权利要求4所述的移动终端联系人备份的方法,其中所述联系人的文本信息包含联系人姓名、电话、住址、电子邮件地址以及个人主页中的至少一者。
- 一种移动终端联系人备份的方法,包括:从移动终端读取联系人数据,所述联系人数据包括文本信息和图像;计算出与所述联系人账号对应的所述文本信息的第一数据检测值,并生成所述联系人账号与所述第一数据检测值之间的第一映射表;计算出与所述联系人账号对应的所述图像的第二数据检测值,并生成所述联系人账号与所述第二数据检测值之间的第二映射表;将所述第一映射表和所述第二映射表与所述移动终端内预设映射表进行对比,以过滤出所述文本信息有变更的联系人以及所述图像有变更的联系人;以及判断是否备份图像;若是,则将所述文本信息有变更的联系人的所述文本信息以及所述图像有变更的联系人的所述图像存储到远端服务器;若否,则将所述文本信息有变更的联系人的所述文本信息存储到所述远端服务器。
- 根据权利要求11所述的移动终端联系人备份的方法,所述将所述第一映射表和所述第二映射表与所述移动终端内的所述预设映射表进行对比,以过滤出所述文本信息有变更的联系人以及所述图像有变更的联系人的步骤包括:比较所述第一映射表中的所述第一数据检测值与所述预设映射表中的预设文本信息数据检测值,判断所述第一数据检测值与所述预设文本信息数据检测值是否一致,若不一致,则判定所述第一数据检测值对应的所述文本信息有变更。
- 根据权利要求11所述的移动终端联系人备份的方法,所述将所述第一映射表和所述第二映射表与所述移动终端内的所述预设映射表进行对比,以过滤出所述文本信息有变更的联系人以及所述图像有变更的联系人的步骤包括:比较所述第二映射表中的所述第二数据检测值与所述预设映射表中的预设图像数据检测值,判断两者是否一致,若不一致,则判定所述第二数据检测值对应的所述图像有变更。
- 根据权利要求11所述的移动终端联系人备份的方法,还包括:将在从所述移动终端读取联系人数据后,所述联系人数据转成电子名片的文件格式。
- 一种移动终端联系人备份的方法,用于用户非首次将移动终端通讯录中的联系人数据备份到远端服务器的过程中,包括:从移动终端读取联系人的文本信息;计算出与所述联系人账号对应的所述文本信息的第一数据检测值;生成所述联系人账号与所述第一数据检测值之间的第一映射表;比较所述第一映射表与所述移动终端预设映射表,以过滤出所述文本信息有变更的联系人;判断是否备份图像;从所述移动终端读取图像;计算出与所述联系人账号对应的所述图像的第二数据检测值;生成所述联系人账号与所述第二数据检测值之间的第二映射表;比较所述第二映射表与所述预设映射表,以过滤出所述图像有变更的联系人;以及若备份图像,则将所述文本信息有变更的联系人对应的所述文本信息以及所述图像有变更的联系人对应的所述图像存储到远端服务器;若不备份图像,则将所述文本信息有变更的联系人对应的所述文本信息存储到所述远端服务器。
- 一种移动终端联系人备份的方法,用于用户非首次将移动终端通讯录中的联系人数据备份到远端服务器的过程中,包括:从移动终端读取联系人的文本信息;计算出与所述联系人账号对应的所述文本信息的第一数据检测值;生成所述联系人账号与所述第一数据检测值之间的第一映射表;比较所述第一映射表与所述移动终端内预设映射表,以过滤出所述文本信息有变更的联系人;将所述文本信息有变更的联系人对应的所述文本信息存储到所述远端服务器;判断是否备份图像,若备份图像,则进行以下步骤;从所述移动终端读取图像;计算出与所述联系人账号对应的所述图像的第二数据检测值;生成所述联系人账号与所述第二数据检测值之间的第二映射表;比较所述第二映射表与所述预设映射表,以过滤出所述图像有变更的联系人;以及将所述图像有变更的联系人对应的所述图像存储到所述远端服务器。
- 一种移动终端联系人的备份装置,包括:读取模块,用以从移动终端读取联系人数据,所述联系人数据包括文本信息和图像;数据检测值计算模块,从所述读取模块接收所述文本信息和所述图像,用以计算与所述联系人账号对应的所述文本信息的第一数据检测值以及与所述联系人账号对应的所述图像的第二数据检测值;映射表生成模块,与所述数据检测值计算模块耦接,用以生成所述联系人账号与所述第一数据检测值之间的第一映射表以及所述联系人账号与所述第二数据检测值之间的第二映射表;比较模块,用以将所述第一映射表和所述第二映射表与所述移动终端预设映射表进行比较,以过滤出所述文本信息或所述图像有变更的联系人;判断模块,用以根据用户指示,判断是否备份图像;以及传输模块,用以根据所述判断模块的判断结果,将所述文本信息有变更的联系人的所述文本信息或者所述图像有变更的联系人的所述图像传送到远端服务器,或同时将所述文本信息有变更的联系人的所述文本信息以及所述图像有变更的联系人的所述图像传送到所述远端服务器。
- 根据权利要求17所述的移动终端联系人的备份装置,其中所述比较模块,进一步的用于将所述比较映射表生成模块所生成的所述第一映射表中的所述第一数据检测值与所述移动终端内预设文本信息数据检测值进行对比,判断所述第一数据检测值与所述预设文本信息数据检测值是否一致,若不一致,则判定所述第一数据检测值对应的文本信息有变更。
- 根据权利要求17所述的移动终端联系人的备份装置,其中所述比较模块,进一步的用于将所述映射表生成模块所生成的第二映射表中的所述第二数据检测值与所述移动终端内预设图像数据检测值进行对比,判断所述第二数据检测值与所述预设图像数据检测值是否一致,若不一致,则判定所述第二数据检测值对应的图像有变更。
- 根据权利要求17所述的移动终端联系人的备份装置,还包括:文件格式转换模块,耦接在所述读取模块与所述数据检测值计算模块之间,用以将所述读取模块读出的联系人数据转成电子名片的文件格式。
- 一种存储介质,其内存储有处理器可执行指令,其中所述处理器可执行指令用于让处理器完成以下操作:从移动终端读取联系人数据,所述联系人数据包括文本信息和图像;判断是否备份图像;若备份图像,则将所述文本信息和所述图像存储到远端服务器;以及若不备份图像,则将所述文本信息存储到所述远端服务器。
- 根据权利要求21所述的存储介质,其中所述存储介质内存储的处理器可执行指令,还用于让所述处理器完成以下操作:判断所述联系人账号对应的所述文本信息是否有变更;以及将所述文本信息有变更的联系人的所述文本信息存储到所述远端服务器。
- 根据权利要求22所述的存储介质,其中所述存储介质内存储的处理器可执行指令,还用于让所述处理器完成以下操作:计算出与所述联系人账号对应的文本信息的第一数据检测值;以及将所述第一数据检测值与所述移动终端预设文本信息数据检测值进行对比,判断所述第一数据检测值与所述预设文本信息数据检测值是否一致,若不一致,则判定所述第一数据检测值对应的文本信息有变更。
- 根据权利要求21所述的存储介质,其中所述存储介质内存储的处理器可执行指令,还用于让所述处理器完成以下操作:判断所述联系人账号对应的所述图像是否有变更;以及将所述图像有变更的联系人的所述图像存储到所述远端服务器。
- 根据权利要求24所述的存储介质,其中所述存储介质内存储的处理器可执行指令,还用于让所述处理器完成以下操作:计算与所述联系人账号对应的所述图像的第二数据检测值;以及将所述第二数据检测值与所述移动终端内预设图像数据检测值进行对比,判断所述第二数据检测值与所述预设图像数据检测值是否一致,若不一致,则判定所述第二数据检测值对应的图像有变更。
- 根据权利要求21所述的存储介质,其中所述存储介质内存储的处理器可执行指令,还用于让所述处理器完成以下操作:将所述联系人数据转成电子名片的文件格式。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/625,716 US20150161007A1 (en) | 2012-09-19 | 2015-02-19 | Contact person backup method, device and storage medium for mobile terminal |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210347703.2 | 2012-09-19 | ||
CN201210347703.2A CN103685406B (zh) | 2012-09-19 | 2012-09-19 | 移动终端联系人备份的方法及装置 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/625,716 Continuation US20150161007A1 (en) | 2012-09-19 | 2015-02-19 | Contact person backup method, device and storage medium for mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014044131A1 true WO2014044131A1 (zh) | 2014-03-27 |
Family
ID=50321706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/083234 WO2014044131A1 (zh) | 2012-09-19 | 2013-09-10 | 移动终端联系人备份的方法、装置及存储介质 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20150161007A1 (zh) |
CN (1) | CN103685406B (zh) |
WO (1) | WO2014044131A1 (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105872124B (zh) * | 2016-03-29 | 2020-01-10 | 深圳市移动力量科技有限公司 | 联系人同步装置及方法 |
CN106657254B (zh) | 2016-10-25 | 2019-10-25 | Oppo广东移动通信有限公司 | 一种联系人信息的同步方法、装置及系统 |
CN106973090A (zh) * | 2017-03-20 | 2017-07-21 | 努比亚技术有限公司 | 一种终端、服务器和联系人同步方法 |
CN113641533B (zh) * | 2020-04-27 | 2024-03-12 | 青岛海信移动通信技术有限公司 | 终端及短信息处理方法 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050064859A1 (en) * | 2003-09-23 | 2005-03-24 | Motorola, Inc. | Server-based system for backing up memory of a wireless subscriber device |
CN101083631A (zh) * | 2006-05-31 | 2007-12-05 | 阿里巴巴公司 | 即时通讯中建立联系人列表、管理联系人信息的方法 |
CN101867915A (zh) * | 2010-06-13 | 2010-10-20 | 优视科技有限公司 | 基于移动终端的通信录数据备份、恢复方法及系统 |
CN102082818A (zh) * | 2010-12-01 | 2011-06-01 | 黄启明 | 基于云存储的图形化和结构化数据存储及管理方法和系统 |
CN102368746A (zh) * | 2011-09-08 | 2012-03-07 | 宇龙计算机通信科技(深圳)有限公司 | 图片信息推送方法及装置 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5870759A (en) * | 1996-10-09 | 1999-02-09 | Oracle Corporation | System for synchronizing data between computers using a before-image of data |
CN1571566A (zh) * | 2004-03-03 | 2005-01-26 | 马堃 | 构件化的手机电子名片的复用合成方法 |
US7330997B1 (en) * | 2004-06-03 | 2008-02-12 | Gary Odom | Selective reciprocal backup |
CN101001243A (zh) * | 2006-01-09 | 2007-07-18 | 杭州世导科技有限公司 | 实现移动信息同步的系统和方法 |
CN100407835C (zh) * | 2006-06-29 | 2008-07-30 | 宇龙计算机通信科技(深圳)有限公司 | 移动终端中数据的备份及恢复方法 |
WO2010085551A2 (en) * | 2009-01-23 | 2010-07-29 | Aquilonis, Inc. | Systems and methods for managing mobile communications |
CN101808046A (zh) * | 2009-02-17 | 2010-08-18 | 北京携友聚信信息技术有限公司 | 名片信息管理方法和系统 |
CN102438214A (zh) * | 2011-09-14 | 2012-05-02 | 武汉飞众科技有限公司 | 一种联系人自维护手机通信录的方法 |
CN102421091A (zh) * | 2011-11-25 | 2012-04-18 | 盛乐信息技术(上海)有限公司 | 通讯录更新方法及系统 |
-
2012
- 2012-09-19 CN CN201210347703.2A patent/CN103685406B/zh active Active
-
2013
- 2013-09-10 WO PCT/CN2013/083234 patent/WO2014044131A1/zh active Application Filing
-
2015
- 2015-02-19 US US14/625,716 patent/US20150161007A1/en not_active Abandoned
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050064859A1 (en) * | 2003-09-23 | 2005-03-24 | Motorola, Inc. | Server-based system for backing up memory of a wireless subscriber device |
CN101083631A (zh) * | 2006-05-31 | 2007-12-05 | 阿里巴巴公司 | 即时通讯中建立联系人列表、管理联系人信息的方法 |
CN101867915A (zh) * | 2010-06-13 | 2010-10-20 | 优视科技有限公司 | 基于移动终端的通信录数据备份、恢复方法及系统 |
CN102082818A (zh) * | 2010-12-01 | 2011-06-01 | 黄启明 | 基于云存储的图形化和结构化数据存储及管理方法和系统 |
CN102368746A (zh) * | 2011-09-08 | 2012-03-07 | 宇龙计算机通信科技(深圳)有限公司 | 图片信息推送方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN103685406B (zh) | 2018-09-25 |
US20150161007A1 (en) | 2015-06-11 |
CN103685406A (zh) | 2014-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018076865A1 (zh) | 数据分享方法、装置、存储介质及电子设备 | |
WO2019174090A1 (zh) | 截屏文件分享的控制方法、装置、设备和计算机存储介质 | |
WO2014044131A1 (zh) | 移动终端联系人备份的方法、装置及存储介质 | |
WO2017157146A1 (zh) | 基于用户画像的个性化推荐方法、装置、服务器及存储介质 | |
WO2017113974A1 (zh) | 一种语音处理的方法、装置以及终端 | |
WO2017054463A1 (zh) | 事件信息推送方法、事件信息推送装置及存储介质 | |
WO2017071363A1 (zh) | 密码的共享方法、密码的共享系统及终端设备 | |
WO2018076889A1 (zh) | 数据备份的方法、装置、系统、存储介质及服务器 | |
WO2018076841A1 (zh) | 数据分享方法、装置、存储介质及服务器 | |
WO2012155709A1 (zh) | 一种动态推送用户个人标签的方法和系统、存储介质 | |
WO2014189275A1 (en) | Apparatus and method of recognizing external device in a communication system | |
WO2012100607A1 (zh) | 终端桌面处理系统、终端及服务器和方法 | |
WO2021072881A1 (zh) | 基于对象存储的请求处理方法、装置、设备及存储介质 | |
WO2020231177A1 (en) | Electronic device and method for receiving push message stored in blockchain | |
WO2018035929A1 (zh) | 一种验证码的处理方法及装置 | |
WO2016101441A1 (zh) | 一种进行文件同步的方法及系统 | |
WO2018076879A1 (zh) | 数据备份方法、装置、存储介质及终端 | |
WO2018076863A1 (zh) | 数据存储的方法、装置、存储介质、服务器及系统 | |
WO2018076880A1 (zh) | 数据备份方法、装置、存储介质及终端 | |
WO2020233060A1 (zh) | 事件通知方法、事件通知服务器、存储介质及装置 | |
WO2018026164A1 (en) | Method of processing touch events and electronic device adapted thereto | |
WO2020253120A1 (zh) | 网页注册方法、系统、设备和计算机存储介质 | |
WO2018076881A1 (zh) | 数据同步方法、装置、存储介质及服务器 | |
WO2018076890A1 (zh) | 数据备份的方法、装置、存储介质、服务器及系统 | |
WO2021027134A1 (zh) | 数据存储方法、装置、设备和计算机存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13838940 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06/08/2015) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 13838940 Country of ref document: EP Kind code of ref document: A1 |