Movatterモバイル変換


[0]ホーム

URL:


CN101527896B - A personal information management method and device - Google Patents

A personal information management method and device
Download PDF

Info

Publication number
CN101527896B
CN101527896BCN2009101323502ACN200910132350ACN101527896BCN 101527896 BCN101527896 BCN 101527896BCN 2009101323502 ACN2009101323502 ACN 2009101323502ACN 200910132350 ACN200910132350 ACN 200910132350ACN 101527896 BCN101527896 BCN 101527896B
Authority
CN
China
Prior art keywords
user
information
branch
data
contact person
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 - Fee Related
Application number
CN2009101323502A
Other languages
Chinese (zh)
Other versions
CN101527896A (en
Inventor
丁磊
陈刚
陈谔
汪源
陈珂
罗晓华
王磊
余利华
邵峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co LtdfiledCriticalNetease Hangzhou Network Co Ltd
Priority to CN2009101323502ApriorityCriticalpatent/CN101527896B/en
Publication of CN101527896ApublicationCriticalpatent/CN101527896A/en
Application grantedgrantedCritical
Publication of CN101527896BpublicationCriticalpatent/CN101527896B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

Translated fromChinese

本发明提供了一种个人信息管理方法,该方法包括:接收到用户输入的其个人信息时,建立个人分支,将所述个人信息保存在所述个人分支中;当接收到发布所述个人信息的消息时,建立与所述个人分支对应的主分支,将所述个人信息中需要发布的信息条目保存在所述主分支中;当接收到某联系人发出的获取该用户个人信息的请求时,将所述主分支中保存的需要发布的信息条目同步到为该联系人建立的用户分支中。本发明还公开了一种个人信息管理装置。通过本发明,可以将联系人信息的存储与发布区分开来,另外,当接收到某联系人的请求时才将主分支中的数据同步到该联系人的用户分支中,避免了用户接收到不愿更新的信息。

The present invention provides a personal information management method, which includes: when receiving the personal information input by the user, establishing a personal branch, storing the personal information in the personal branch; When receiving a message, establish a main branch corresponding to the personal branch, and save the information items in the personal information that need to be published in the main branch; when receiving a request from a contact to obtain the user's personal information , synchronizing the information items saved in the main branch to the user branch established for the contact. The invention also discloses a personal information management device. Through the present invention, the storage and release of contact information can be distinguished. In addition, when the request of a contact is received, the data in the main branch is synchronized to the user branch of the contact, which prevents the user from receiving Information that does not wish to be updated.

Description

Translated fromChinese
一种个人信息管理方法及装置A personal information management method and device

技术领域technical field

本发明涉及信息管理领域,特别是涉及一种个人信息管理方法及装置。The present invention relates to the field of information management, in particular to a personal information management method and device.

背景技术Background technique

通讯录人们进行信息管理的重要手段,通过通讯录可以记录联系人的各种联系方式与信息。在互联网普及的今天,人们越来越多的通过互联网这个媒介统一保存信息,从而可以在能够连接互联网的情况下随时随地获得最新的信息。然而通讯录中的联系人信息并非是不变的,当联系人信息改变后,原有的信息将无法继续保持与联系人之间的通讯纽带,因此仅仅通过互联网存储通讯录无法满足人们保持沟通的需求。The address book is an important means for people to manage information. Through the address book, various contact methods and information of contacts can be recorded. Today, with the popularization of the Internet, more and more people use the Internet as a medium to store information in a unified manner, so that they can obtain the latest information anytime and anywhere when they can connect to the Internet. However, the contact information in the address book is not constant. When the contact information changes, the original information will not be able to maintain the communication link with the contact. Therefore, only storing the address book through the Internet cannot satisfy people to maintain communication. demand.

目前,一些技术方案允许用户发布个人信息的更新,例如,可以通过安装客户端软件向同步信息服务器上传通讯录,并进行管理、同步,利用该方法,用户可以将自己的个人信息上传到服务器,然后由服务器将信息发布给与该联系人相关的用户。然而在该技术方案中,一旦用户将个人信息发布到服务器,服务器就会自动将这些个人信息发布给该用户的联系人,但其结果往往是,某些用户不愿更新的内容被更新,或是一些不希望发布的临时个人信息被发布出去而没有途径保存。At present, some technical solutions allow users to publish updates of personal information. For example, the address book can be uploaded to the synchronization information server by installing client software, and managed and synchronized. Using this method, users can upload their own personal information to the server. The server then publishes the information to the users associated with that contact. However, in this technical solution, once the user publishes personal information to the server, the server will automatically publish the personal information to the user's contacts, but the result is often that some content that the user does not want to update is updated, or It is that some temporary personal information that you do not want to be released is released without a way to save it.

发明内容Contents of the invention

有鉴于此,本发明的目的在于提供一种个人信息管理方法及装置,可以将个人信息的存储与发布区分开来,便于更加灵活地实现对个人信息的管理。In view of this, the purpose of the present invention is to provide a personal information management method and device, which can distinguish the storage and release of personal information, so as to facilitate the management of personal information more flexibly.

为实现上述目的,本发明提供了如下方案:To achieve the above object, the present invention provides the following scheme:

一种个人信息管理方法,包括:A personal information management method, including:

接收到用户输入的其个人信息时,建立个人分支,将所述个人信息保存在所述个人分支中;When receiving the personal information input by the user, establish a personal branch, and save the personal information in the personal branch;

当接收到发布所述个人信息的消息时,建立与所述个人分支对应的主分支,将所述个人信息中需要发布的信息条目保存在所述主分支中;When receiving the message of publishing the personal information, establish a main branch corresponding to the personal branch, and save the information items in the personal information that need to be released in the main branch;

当接收到某联系人发出的获取该用户个人信息的请求时,将所述主分支中保存的需要发布的信息条目同步到为该联系人建立的用户分支中。When receiving a request from a contact to acquire the user's personal information, the information items stored in the main branch that need to be published are synchronized to the user branch established for the contact.

优选的,所述个人分支中包括键字段固定的基础信息,及键值对均由用户自定义的扩展信息;Preferably, the personal branch includes basic information with fixed key fields and extended information with key-value pairs defined by users;

所述用户分支中包括键字段固定的基础信息,及键值对均由联系人自定义的自定义信息。The user branch includes basic information with fixed key fields and custom information with key-value pairs defined by contacts.

优选的,还包括:Preferably, it also includes:

接收用户对通讯录内联系人的分组信息,以及用户指定的需要向各组别的联系人发布的信息条目;Receive the user's grouping information of the contacts in the address book, and the information items specified by the user that need to be released to the contacts of each group;

将所述个人信息中需要发布的信息条目保存在所述主分支中时还包括:When saving the information items that need to be released in the personal information in the main branch, it also includes:

将该用户指定的各组别与需要发布的信息条目之间的对应关系保存在所述主分支中;saving the corresponding relationship between the groups specified by the user and the information items to be published in the main branch;

将所述需要发布的信息条目同步到为该联系人建立的用户分支中包括:Synchronizing the information items that need to be released to the user branch established for the contact includes:

判断该联系人所属的组别,将需要向该组别联系人发布的信息条目同步到为该联系人建立的用户分支中。Determine the group to which the contact belongs, and synchronize the information items that need to be released to the contacts in the group to the user branch established for the contact.

优选的,还包括:Preferably, it also includes:

当主分支数据发生更新,或者与某联系人的用户分支数据发生冲突,或者某联系人在离线状态进行的修改与主分支的数据发生冲突时,将发生更新或冲突的信息条目提示给该联系人。When the main branch data is updated, or conflicts with a contact's user branch data, or when a contact's offline modification conflicts with the main branch data, the updated or conflicting information item will be prompted to the contact .

优选的,还包括:Preferably, it also includes:

当主分支数据与某联系人的用户分支数据发生冲突时,提供主分支与用户分支的数据供该联系人选择;When the main branch data conflicts with the user branch data of a contact, provide the data of the main branch and user branch for the contact to choose;

根据该联系人选择的结果确定用户分支数据的最终结果。The final result of the user branch data is determined according to the result of the contact selection.

优选的,还包括:Preferably, it also includes:

当某联系人在离线状态进行的修改与用户分支的数据发生冲突时,判断主分支数据与用户分支数据是否存在冲突,如果存在,提供该联系人修改后的数据、主分支数据及用户分支数据供该联系人选择;否则,提供该联系人修改后的数据及用户分支的数据供该联系人选择;When a contact's modification in the offline state conflicts with the data of the user branch, determine whether there is a conflict between the main branch data and the user branch data, and if so, provide the modified data of the contact, the main branch data and the user branch data For the contact to choose; otherwise, provide the contact’s modified data and user branch data for the contact to choose;

根据该联系人选择的结果确定用户分支数据的最终结果。The final result of the user branch data is determined according to the result of the contact selection.

优选的,还包括:Preferably, it also includes:

如果用户使用移动台国际识别码MSISDN登录系统,则将该MSISDN映射到一全局唯一的虚拟账号,并将所述虚拟账号提供给该用户的联系人,保存该虚拟账号与该用户的个人信息之间的映射关系;If the user uses the mobile station international identification code MSISDN to log in to the system, the MSISDN is mapped to a globally unique virtual account, and the virtual account is provided to the user's contacts, and the relationship between the virtual account and the user's personal information is saved. The mapping relationship between;

当用户更换MSISDN时,接收用户使用原MSISDN登录后进行修改并发布的信息,更新主分支中该用户的MSISDN信息;When the user changes the MSISDN, receive the information modified and released by the user after logging in with the original MSISDN, and update the user's MSISDN information in the main branch;

接收到某联系人通过所述虚拟账号获取该用户当前MSISDN信息的请求时,将主分支中修改后的MSISDN信息同步到该联系人的用户分支中。When receiving a contact's request to obtain the user's current MSISDN information through the virtual account, the modified MSISDN information in the main branch is synchronized to the contact's user branch.

一种个人信息管理装置,包括:A personal information management device, comprising:

第一保存单元,用于接收到用户输入的其个人信息时,建立个人分支,将所述个人信息保存在所述个人分支中;The first storage unit is configured to establish a personal branch when receiving the personal information input by the user, and store the personal information in the personal branch;

第二保存单元,用于当接收到发布所述个人信息的消息时,建立与所述个人分支对应的主分支,将所述个人信息中需要发布的信息条目保存在所述主分支中;The second storage unit is configured to establish a main branch corresponding to the personal branch when receiving the message of publishing the personal information, and store information items in the personal information that need to be released in the main branch;

信息发布单元,用于当接收到某联系人发出的获取该用户个人信息的请求时,将所述主分支中保存的需要发布的信息条目同步到为该联系人建立的用户分支中。The information release unit is configured to, when receiving a request from a contact to acquire the user's personal information, synchronize the information items to be released stored in the main branch to the user branch established for the contact.

优选的,所述个人分支中包括键字段固定的基础信息,及键值对均由用户自定义的扩展信息;Preferably, the personal branch includes basic information with fixed key fields and extended information with key-value pairs defined by users;

所述用户分支中包括键字段固定的基础信息,及键值对均由联系人自定义的自定义信息。The user branch includes basic information with fixed key fields and custom information with key-value pairs defined by contacts.

优选的,还包括:Preferably, it also includes:

权限信息接收单元,用于接收用户对通讯录内联系人的分组信息,以及用户指定的需要向各组别的联系人发布的信息条目;The authority information receiving unit is used to receive the user's grouping information of the contacts in the address book, and the information items specified by the user that need to be released to the contacts of each group;

所述第二保存单元还用于将该用户指定的各组别与需要发布的信息条目之间的对应关系保存在所述主分支中;The second saving unit is also used to save the corresponding relationship between the groups specified by the user and the information items to be released in the main branch;

所述信息发布单元具体用于判断该联系人所属的组别,将需要向该组别联系人发布的信息条目同步到为该联系人建立的用户分支中。The information publishing unit is specifically configured to determine the group to which the contact belongs, and synchronize information items that need to be released to the contacts of the group to the user branch established for the contact.

优选的,还包括:Preferably, it also includes:

提示单元,用于当主分支数据发生更新,或者与某联系人的用户分支数据发生冲突,或者某联系人在离线状态进行的修改与主分支的数据发生冲突时,将发生更新或冲突的信息条目提示给该联系人。Prompt unit, used for updating or conflicting information items when the main branch data is updated, or conflicts with a contact’s user branch data, or when a contact’s offline modification conflicts with the main branch’s data Tip to that contact.

优选的,还包括:Preferably, it also includes:

第一数据提供单元,用于当主分支数据与某联系人的用户分支数据发生冲突时,提供主分支与用户分支的数据供该联系人选择;The first data providing unit is used to provide the data of the main branch and the user branch for the contact to choose when the main branch data conflicts with the user branch data of a contact;

第一状态修改单元,用于根据该联系人选择的结果确定用户分支数据的最终结果。The first state modifying unit is configured to determine the final result of the user branch data according to the result of the contact selection.

优选的,还包括:Preferably, it also includes:

第二数据提供单元,用于当某联系人在离线状态进行的修改与用户分支的数据发生冲突时,判断主分支数据与用户分支数据是否存在冲突,如果存在,提供该联系人修改后的数据、主分支数据及用户分支数据供该联系人选择;否则,提供该联系人修改后的数据及用户分支的数据供该联系人选择;The second data providing unit is used to determine whether there is a conflict between the main branch data and the user branch data when the modification made by a contact in the offline state conflicts with the data of the user branch, and if so, provide the modified data of the contact , main branch data and user branch data for the contact to choose; otherwise, provide the contact’s modified data and user branch data for the contact to choose;

第二状态修改单元,用于根据该联系人选择的结果确定用户分支数据的最终结果。The second state modifying unit is configured to determine the final result of the user branch data according to the result of the contact selection.

优选的,还包括:Preferably, it also includes:

映射单元,用于如果用户使用移动台国际识别码MSISDN登录系统,则将该MSISDN映射到一全局唯一的虚拟账号,并将所述虚拟账号提供给该用户的联系人,保存该虚拟账号与该用户的个人信息之间的映射关系;The mapping unit is used to map the MSISDN to a globally unique virtual account if the user uses the mobile station international identification code MSISDN to log in to the system, and provide the virtual account to the user's contacts, and save the virtual account and the The mapping relationship between the user's personal information;

主分支更新单元,用于当用户更换MSISDN时,接收用户使用原MSISDN登录后进行修改并发布的信息,更新主分支中该用户的MSISDN信息;The main branch update unit is used to receive the information modified and published by the user after logging in with the original MSISDN when the user changes the MSISDN, and update the user's MSISDN information in the main branch;

同步单元,用于接收到某联系人通过所述虚拟账号获取该用户当前MSISDN信息的请求时,将主分支中修改后的MSISDN信息同步到该联系人的用户分支中。The synchronizing unit is configured to synchronize the modified MSISDN information in the main branch to the user branch of the contact when receiving a request from a contact to acquire the current MSISDN information of the user through the virtual account.

根据本发明提供的具体实施例,本发明公开了以下技术效果:According to the specific embodiments provided by the invention, the invention discloses the following technical effects:

第一,本发明可以将个人信息的存储与发布区分开来,因此,如果一些信息是用户不想发布的,便可以仅在个人分支中进行存储,同时将需要发布的信息条目存储在主分支中,在满足发布信息需求的同时,还可以对用户不想发布的信息进行存储。另外,当接收到某联系人的请求时才将主分支中的数据同步到该联系人的用户分支中,避免了用户接收到不愿更新的信息。First, the present invention can separate the storage and release of personal information. Therefore, if some information is not to be released by the user, it can only be stored in the personal branch, and the information items that need to be released are stored in the main branch at the same time. , while satisfying the requirement of publishing information, it can also store the information that the user does not want to publish. In addition, when a contact's request is received, the data in the main branch is synchronized to the contact's user branch, which prevents the user from receiving information that the user does not want to update.

第二,将用户分支中的联系人信息划分为基础信息、扩展信息及自定义信息三个部分,可以在自定义信息部分描述用户希望记录的一些联系人的其他信息。Second, the contact information in the user branch is divided into three parts: basic information, extended information and custom information, and other information of some contacts that the user wants to record can be described in the custom information part.

第三,可以允许用户对通讯录中的联系人进行分组,并针对每个组中的联系人可以公开的信息条目,因此便于对联系人信息进行隐私控制。Thirdly, the user may be allowed to group the contacts in the address book, and the information items that can be disclosed by the contacts in each group, so that it is convenient to control the privacy of the contact information.

第四,当不同分支中的联系人信息发生冲突时,可以对发生冲突的信息条目进行提示;还可以通过提供多种分支中的信息来解决该数据冲突问题。Fourth, when contact information in different branches conflicts, the conflicting information item can be prompted; the data conflict problem can also be solved by providing information in various branches.

第五,对于使用手机号登录系统的用户,可以通过将手机号与系统虚拟账号进行绑定,来消除用户更换手机号时带来的不便。Fifth, for users who log in to the system with a mobile phone number, the inconvenience caused when the user changes the mobile phone number can be eliminated by binding the mobile phone number with the system virtual account.

附图说明Description of drawings

图1是本发明实施例提供的方法的流程图;Fig. 1 is the flowchart of the method provided by the embodiment of the present invention;

图2是本发明实施例提供的各分支之间的关系示意图;Fig. 2 is a schematic diagram of the relationship between branches provided by an embodiment of the present invention;

图3是本发明实施例提供的利用虚拟账号实现手机换号的示意图;Fig. 3 is a schematic diagram of using a virtual account to change a mobile phone number provided by an embodiment of the present invention;

图4是本发明实施例提供的装置的示意图。Fig. 4 is a schematic diagram of a device provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

参见图1,本发明实施例提供的个人信息管理方法包括以下步骤:Referring to Figure 1, the personal information management method provided by the embodiment of the present invention includes the following steps:

S101:接收到用户输入的其个人信息时,建立个人分支,将所述个人信息保存在所述个人分支中;S101: When receiving the personal information input by the user, establish a personal branch, and store the personal information in the personal branch;

S102:当接收到发布所述个人信息的消息时,建立与所述个人分支对应的主分支,将所述个人信息中需要发布的信息条目保存在所述主分支中;S102: When receiving the message of publishing the personal information, establish a main branch corresponding to the personal branch, and store information items in the personal information that need to be released in the main branch;

S103:当接收到某联系人发出的获取该用户个人信息的请求时,将所述主分支中保存的需要发布的信息条目同步到为该联系人建立的用户分支中。S103: When receiving a request from a contact to obtain the user's personal information, synchronize the information items to be released stored in the main branch to the user branch established for the contact.

本发明实施例将用户的个人信息的存储以每用户为单位进行组织,每个用户的个人信息称为一份文档,文档由“键值对”构成,其中“键”为字符串形式(如姓名、电话、电子邮箱等等),“值”可以是字符串或二进制数据(即“键”对应的具体内容)。In the embodiment of the present invention, the storage of the user's personal information is organized in units of each user, and each user's personal information is called a document, and the document is composed of "key-value pairs", wherein the "key" is in the form of a character string (such as Name, phone number, email address, etc.), the "value" can be a string or binary data (that is, the specific content corresponding to the "key").

所述分支是指一份个人信息的拷贝,各个拷贝之间允许存在信息的修改等原因产生的差异。不同的分支之间仅通过数据的合并操作来相互影响,而提交在每个分支上的数据并不会影响其他分支的数据。The branch refers to a copy of personal information, and differences between copies are allowed due to reasons such as information modification. Different branches only affect each other through data merging operations, and the data submitted on each branch will not affect the data of other branches.

首先,当用户登录系统并填写自己的个人信息时,为该用户在服务器端建立一份个人分支,以用户A为例,也就是当用户A输入自己的信息(自己的姓名、电话号码、电子邮箱地址等等)时,为该用户A建立个人分支,将用户A输入的个人信息存储在个人分支中。即,个人分支用于用户维护本人的信息,当用户更新个人信息到此分支时并不发生信息的对外发布。因此,用户可以将自己的个人信息存储在个人分支中,而不用担心某些不想对外发布的信息被发布出去。First of all, when a user logs in to the system and fills in his personal information, a personal branch is created for the user on the server side, taking user A as an example, that is, when user A enters his own information (his name, phone number, e-mail address) email address, etc.), a personal branch is established for the user A, and the personal information input by user A is stored in the personal branch. That is, the personal branch is used for users to maintain their own information, and when users update their personal information to this branch, no information will be released to the outside world. Therefore, users can store their personal information in the personal branch without worrying that some information that they do not want to be published will be published.

在用户填写个人信息时,可以向用户提供两种选择,存储或者发布,如果用户选择存储,则直接将用户的个人信息保存在个人分支中。当用户选择发布时(可以在填写个人信息后的任何时刻,而不一定在填写完成后即选择发布),服务器端可以相应的建立一份主分支,将用户的个人信息保存在主分支中。也就是说,主分支用于保存用户需要向外发布的个人信息。When the user fills in the personal information, the user can be provided with two options, store or publish, if the user chooses to store, the user's personal information will be directly saved in the personal branch. When the user chooses to publish (it can be at any time after filling in the personal information, but not necessarily after filling in), the server can correspondingly create a master branch and save the user's personal information in the master branch. That is to say, the master branch is used to store personal information that users need to publish.

当然,用户可能只想对外发布个人信息中的某些条目,因此,用户也可以有选择地指定可以发布的信息条目,即可以指定哪些信息条目仅用于存储,而哪些信息条目是可以被发布出去的。此时,个人分支中仍然保存用户的所有个人信息,这些信息仅用户本人可见,主分支中保存可以发布的信息条目,这些信息条目可以个人信息的一部分,也可以是个人信息的全部。因此,主分支对于联系人本人相当于是可读、可写的,其中,写操作的数据来自于个人分支中的信息,写操作可以由用户本人选择发布信息时触发。当然主分支对于用户本人以外的其他用户是只读的。可见,引入个人分支以及主分支,可以使得用户既能利用个人分支存储个人信息,又能发布信息(可以是选择性地发布),因此,可以将存储与发布区分开来,极大地方便了用户对个人信息的管理。Of course, the user may only want to publish certain items of personal information, so the user can also selectively specify the information items that can be published, that is, which information items can be specified only for storage, and which information items can be published out. At this time, all the personal information of the user is still stored in the personal branch, which is only visible to the user himself, and the information items that can be published are stored in the main branch, and these information items can be part of the personal information or all of the personal information. Therefore, the main branch is equivalent to readable and writable for the contact person. The data of the write operation comes from the information in the personal branch, and the write operation can be triggered when the user himself chooses to publish information. Of course the master branch is read-only for users other than the user himself. It can be seen that the introduction of the personal branch and the main branch can enable users to use the personal branch to store personal information and publish information (it can be selectively released). Therefore, storage and publishing can be distinguished, which greatly facilitates users Management of personal information.

同时,本发明实施例还为通讯录的联系人中出现用户A的各用户建立用户分支,即,如果用户A是用户B的联系人,则用户B拥有用户A的个人信息,并将用户A的个人信息保存在用户分支中,也就是说用户分支用于保存用户B的联系人的个人信息。可见,由于每个用户的通讯录中一般有多个联系人,因此,每个用户可能具有多个用户分支,分别用于保存各个联系人的个人信息。例如,用户A出现在用户B的通讯录中,即用户A是用户B的联系人,则用户B维护的用户A的个人信息将存储在用户分支中。如果用户B需要更新用户A的个人信息,则可以向服务器发送请求,服务器接收到请求后,将主分支中保存的可以发布的信息条目同步到用户B的用户分支中。At the same time, the embodiment of the present invention also establishes a user branch for each user whose user A appears in the contacts of the address book, that is, if user A is a contact of user B, then user B has the personal information of user A, and user A The personal information of user B is stored in the user branch, that is to say, the user branch is used to store the personal information of user B's contacts. It can be seen that since there are generally multiple contacts in the address book of each user, each user may have multiple user branches, which are respectively used to store the personal information of each contact. For example, user A appears in user B's address book, that is, user A is a contact of user B, then user A's personal information maintained by user B will be stored in the user branch. If user B needs to update user A's personal information, he can send a request to the server. After receiving the request, the server will synchronize the information items saved in the master branch to user B's user branch.

其中,用户分支中的信息可以是用户B自行输入的,即,在用户B获取更新之前,用户分支中可能已经存在一些信息,因此,在从主分支获取到信息条目后,需要首先进行数据的合并及冲突处理,然后再将数据传递给用户B。可见,使用用户分支后,用户B可以保存自己维护的联系人的个人信息,在不需要同步的情况下无须从主分支获得更新,因此,避免了接收到一些自己不愿接收的信息。Among them, the information in the user branch can be input by user B, that is, some information may already exist in the user branch before user B obtains the update. Merge and conflict resolution before passing the data to user B. It can be seen that after using the user branch, user B can save the personal information of the contacts he maintains, and does not need to obtain updates from the main branch if synchronization is not required. Therefore, he avoids receiving some information he does not want to receive.

可见,对于一个用户的个人信息,会存在个人分支、主分支以及用户分支,这样可以更加灵活地实现对个人信息的管理,便于从多方面满足用户的需求。It can be seen that for a user's personal information, there will be a personal branch, a main branch, and a user branch, so that the management of personal information can be realized more flexibly, and the needs of the user can be met from various aspects.

本发明实施例在上述个人信息管理方法的基础上,还可以解决多方面的问题,下面分别进行详细地介绍。On the basis of the personal information management method described above, the embodiments of the present invention can also solve various problems, which will be described in detail below.

一、在现有技术中,用户在填写自己的个人信息或记录其他人的个人信息时,通常是按照系统提供的表格进行填写,即,通常键字段是固定的,并在键字段后面的空格中填入相应的值字段(当然,对于用户分支,这些值也可以是从主分支获取的)。但是,用户可能还需要向外发布固定键字段以外的其他信息,例如,固定键字段可能只有姓名、手机、家庭电话、办公电话,而某用户可能还需要公开自己的msn地址及博客地址等信息;另外,还有一些用户可能会有对联系人的个人信息进行自定义的需求,即,除了联系人本人对外公布的信息条目之外,用户往往具有对联系人信息增加一些自定义条目的需求,用于描述用户希望记录的一些联系人的其他信息。例如,联系人的兴趣爱好、昵称等等。1. In the existing technology, when users fill in their own personal information or record other people’s personal information, they usually fill in the form provided by the system, that is, the key field is usually fixed, and the space behind the key field Fill in the corresponding value fields in (of course, for the user branch, these values can also be obtained from the main branch). However, the user may also need to publish other information other than the fixed key field. For example, the fixed key field may only have name, mobile phone, home phone number, and office phone number, and a user may also need to disclose information such as his msn address and blog address ; In addition, some users may have the need to customize the personal information of the contact, that is, in addition to the information items published by the contact himself, users often have the need to add some custom items to the contact information , describing additional information about some of the contacts the user wishes to record. For example, a contact's interests, nickname, etc.

为此,本发明实施例可以将个人分支中的个人信息分为基础信息及扩展信息两部分,如果用户在填写自己的个人信息时,其中,基础信息的键字段固定(即系统给定的),体现联系人最基本的信息,例如手机号码、电子邮箱、住址等,这些信息为多数联系人所共有的信息,而且一般都会存储在主分支中。由于键字段固定,从而能够通过字段一一对应合并来自联系人本人以及用户对基础信息的更新,并能发现更新中的冲突,因此基础信息是通讯录中参与多用户协同的数据。For this reason, the embodiment of the present invention can divide the personal information in the personal branch into two parts: basic information and extended information. , which reflects the most basic information of the contact, such as mobile phone number, email address, address, etc., which are shared by most contacts and are generally stored in the main branch. Since the key field is fixed, updates to the basic information from the contact person and the user can be merged one by one through the field, and conflicts in the update can be found. Therefore, the basic information is the data that participates in multi-user collaboration in the address book.

扩展信息为联用户本人提供的个人附加信息,例如,博客地址、游戏角色名等等。扩展信息仅限用户本人提交,其键值对由联系人本人自定义。可见,通过扩展信息,能够使得用户本人能够向外发布额外的信息而不再局限于基础信息。The extended information is personal additional information provided by the associated user, for example, blog address, game character name, and so on. Extended information can only be submitted by the user himself, and its key-value pairs are customized by the contact himself. It can be seen that by extending the information, the user himself can release additional information and is no longer limited to the basic information.

同时,可以将用户分支中保存的联系人个人信息分为基础信息自定义信息三个部分,存储的相应文档数据也按此划分。其中,基础信息的键字段同样是固定的,自定义信息为拥有该联系人信息的用户添加的额外补充信息,其键值对由用户自定义。可见,通过自定义信息,能够使得用户可以记录联系人的一些额外信息,而不再局限于基础信息,或者联系人本人发布的信息。At the same time, the contact personal information saved in the user branch can be divided into three parts: basic information and custom information, and the corresponding stored document data can also be divided according to this. Among them, the key field of the basic information is also fixed, and the custom information is additional supplementary information added by the user who owns the contact information, and its key-value pair is customized by the user. It can be seen that by customizing the information, the user can record some additional information of the contact, not limited to the basic information or the information published by the contact himself.

可见,基础信息和扩展信息会保存在个人分支中,如果用户需要向外发布时,也会保存在主分支中。但是扩展信息并不会实际存储与用户分支,而只能从主分支中获取;而自定义信息仅存在与用户分支中。当然,用户本人填写的扩展信息与其他人为该用户填写的自定义信息有可能有相同的部分,但这并不影响本发明实施例的实现。It can be seen that the basic information and extended information will be saved in the personal branch, and if the user needs to publish it, it will also be saved in the main branch. But the extended information is not actually stored in the user branch, but can only be obtained from the main branch; while the custom information only exists in the user branch. Certainly, the extended information filled in by the user himself may have the same part as the custom information filled in by others for the user, but this does not affect the realization of the embodiment of the present invention.

二、实际应用中,由于每个人在社会中的角色不同,因此,对于不同关系的联系人而言,可以公布的信息条目可能会是不同的。例如,如果某联系人是用户A的同学,则用户A可能会向该联系人公布其电话号码、住址、博客地址等较为详细的信息;而如果某联系人是用户A的游戏伙伴,则用户A可能只需要向其公开自己的游戏角色名,其他信息对于该联系人来讲都是隐私,不想对其公开。因此,用户在对外发布联系信息时可能需要控制何种信息能被何种关系的联系人获得,即需要考虑用户隐私方面的需求。2. In practical applications, since each person has a different role in society, the information items that can be released may be different for contacts with different relationships. For example, if a certain contact is a classmate of user A, user A may publish more detailed information such as his phone number, address, and blog address to the contact; and if a certain contact is a game partner of user A, user A may A may only need to disclose his game character name to him, and other information is private to the contact person, and he does not want to make it public. Therefore, the user may need to control what kind of information can be obtained by which kind of contacts when publishing the contact information, that is, needs to consider the needs of the user's privacy.

为此,本发明实施例还可以允许用户对通讯录内的联系人进行分组,一个联系人可属于多个组。分组能体现所有联系人与用户之间的社会关系,从而能够作为隐私控制的权限粒度,每个键值对可以关联对到一个或多个组。用户个人信息的发布以键值对为最小的数据粒度,在该粒度的基础上,用户可以自由决定不同信息对外发布的隐私策略,从而达到灵活性的最大化。例如,可以在每个键值对的后面增加权限控制选项,选项中包括各个组的名称,用户填写完一个信息条目后,可以在选项中选择可以向哪个组别的联系人公开该条信息,当然,如果用户不做出选择,可以默认为该条信息可以向全部的联系人公开。For this reason, the embodiment of the present invention may also allow the user to group the contacts in the address book, and one contact may belong to multiple groups. Grouping can reflect the social relationship between all contacts and users, so it can be used as the permission granularity of privacy control, and each key-value pair can be associated with one or more groups. The release of users' personal information takes key-value pairs as the smallest data granularity. On the basis of this granularity, users can freely decide the privacy policy for the release of different information, so as to maximize flexibility. For example, permission control options can be added behind each key-value pair. The options include the names of each group. After the user fills in an information entry, he can choose which group of contacts the information can be disclosed to in the options. Of course, if the user does not make a choice, it may be defaulted that the piece of information can be disclosed to all contacts.

键值对与各个组之间的关联关系可以保存在主分支中,即当键值对作为信息条目发布到主分支时,同时将保存各信息条目的权限信息。当接收到某联系人的获取信息请求时,可以首先判断该联系人属于那个组别,然后将可以向该组别公开的信息条目同步到该联系人的用户分支。从而保证了仅在具有访问权限的组内的联系人能获得相应的信息条目的数据,有效地起到了保护用户隐私的作用。The association relationship between the key-value pair and each group can be saved in the main branch, that is, when the key-value pair is published to the main branch as an information item, the permission information of each information item will be saved at the same time. When receiving an information acquisition request from a contact, it can first determine which group the contact belongs to, and then synchronize the information items that can be disclosed to the group to the user branch of the contact. Therefore, it is ensured that only the contacts in the group with the access authority can obtain the data of the corresponding information item, which effectively protects the user's privacy.

三、前文提到数据的合并与冲突,其中,所述数据合并是指将两个分支的数据按照每个信息天幕的对应关系进行数据的合并。例如用户分支和主分支都具有“电子邮件”这一信息条目,最近一次合并后,两个分支中电子邮件中的地址均为user163.com,而之后主分支发生更新使得电子邮件的地址变为newuser163.com,此时,若将主分支的数据合并到用户分支,则用户分支中电子邮件的地址将变为newuser163.com。3. The data merging and conflict mentioned above, wherein the data merging refers to the data merging of the two branches according to the corresponding relationship of each information canopy. For example, both the user branch and the main branch have the information item "email". After the latest merge, the address in the email in the two branches is user163.com, and then the main branch is updated so that the address of the email becomes newuser163.com, at this time, if the data of the main branch is merged into the user branch, the email address in the user branch will become newuser163.com.

所述冲突是指,当合并不同的分支的信息时,如果最近一次合并后各个分支均存在新的更新,且更新的数据内容不一致,则产生冲突。例如,用户分支和主分支中均具有“电子邮件”这一信息条目,最近一次合并后,两个分支中电子邮件中的地址均为user163.com,而之后主分支发生更新使得电子邮件的地址变为newuser163.com,用户分支也发生了更新使得电子邮件的地址变为user126.com,此时,若将主分支合并到用户分支,则会由于两个分支均发生了更新且数据不一致从而产生冲突。The conflict means that when merging information of different branches, if there is a new update in each branch after the last merge, and the updated data content is inconsistent, a conflict will occur. For example, both the user branch and the main branch have the information item "email". After the latest merge, the address in the email in the two branches is user163.com, and then the main branch is updated to make the address of the email It becomes newuser163.com, and the user branch is also updated so that the email address becomes user126.com. At this time, if the main branch is merged into the user branch, it will be generated because both branches have been updated and the data is inconsistent. conflict.

本发明实施例还充分考虑了数据冲突问题,为了方便用户及时发现发生冲突的数据,可以在客户端界面上对发生冲突的数据进行提示,具体的做法可以是:The embodiment of the present invention also fully considers the data conflict problem. In order to facilitate the user to find the conflicting data in time, the conflicting data can be prompted on the client interface. The specific method can be:

当通讯录中的信息条目存在更新或冲突时,可以在客户端界面标示出更新或冲突状态。例如,通讯录主界面为由联系人姓名组成的列表,每个条目的背景采用色彩标示该姓名对应的联系人信息的状态:当主分支数据与用户分支数据存在冲突时,在客户端界面使用色彩标示产生冲突的条目。联系人信息界面为由键值对条目组成的列表,每个条目的背景采用色彩标示该条目的更新冲突状态。When there is an update or conflict in the information entry in the address book, the update or conflict status can be marked on the client interface. For example, the main interface of the address book is a list composed of contact names, and the background of each entry uses color to indicate the status of the contact information corresponding to the name: when there is a conflict between the main branch data and the user branch data, the client interface uses color Flag the conflicting entry. The contact information interface is a list consisting of key-value pairs, and the background of each entry is colored to indicate the update conflict status of the entry.

对于某些具备本地存储能力的客户端(例如手机软件等),相对于无存储能力的客户端(例如浏览器等)在数据状态上存在本地修改这一状态,即用户可以在离线状态下对联系人的个人信息进行修改,并保存在本地。当本地修改与用户分支的更新存在冲突时,同样可以在客户端界面标示(使用色彩等)产生冲突的条目。也就是说,对于具备本地存储能力的客户端当数据发生本地修改,而远端的用户分支又同时存在更新时就可以标示数据的更新、冲突状态,当然,对于无本地存储能力的客户端只要用户分支与主分支的更新不存在冲突则本地数据始终为最新,不存在更新或修改状态。For some clients with local storage capabilities (such as mobile phone software, etc.), there is a state of local modification of the data state compared to clients without storage capabilities (such as browsers, etc.), that is, users can modify the data in an offline state. The personal information of the contact is modified and saved locally. When there is a conflict between the local modification and the update of the user branch, the conflicting item can also be marked (using color, etc.) on the client interface. That is to say, for a client with local storage capability, when the data is modified locally and the remote user branch is updated at the same time, the update and conflict status of the data can be marked. Of course, for the client without local storage capability, only If there is no conflict between the update of the user branch and the main branch, the local data is always the latest, and there is no update or modification status.

另外,本发明实施例还提供了数据冲突问题的解决方案,用户向个人分支或是用户分支提交数据均遵循先更新后提交的规则,用户先从远程获得最新数据,并解决可能发生的冲突,来保证提交数据前基于的数据是最新的版本,从而保证提交后发生的数据修改是用户期望的修改。具体实现时,可以通过以下方式:In addition, the embodiment of the present invention also provides a solution to the data conflict problem. The user submits data to the personal branch or the user branch to follow the rule of updating first and then submitting. The user first obtains the latest data from a remote location and resolves possible conflicts. To ensure that the data based on the submitted data is the latest version, so as to ensure that the data modification that occurs after the submission is the modification expected by the user. For specific implementation, the following methods can be used:

当主分支数据与用户分支数据存在冲突时,在客户端向用户提供用户分支与主分支的数据,由用户自行选择使用其中一个分支的数据作为用户分支的最终结果。主分支与用户分支产生冲突的原因来自于,用户自行维护了联系人的基础信息,并将基础信息提交至用户分支保存,而此后联系人将个人信息的修改发布到了主分支且该修改与用户分支上的对应键值对数据不一致。当用户从用户分支获得更新时,需要先合并主分支与用户分支的修改,如发生冲突,则通过客户端界面告知用户发生数据冲突,并同时提供用户分支与主分支的数据由用户选择最终使用哪一份数据。When there is a conflict between the main branch data and the user branch data, the client provides the user with the data of the user branch and the main branch, and the user chooses to use the data of one of the branches as the final result of the user branch. The reason for the conflict between the main branch and the user branch is that the user maintains the basic information of the contact and submits the basic information to the user branch for storage, and then the contact publishes the modification of personal information to the main branch and the modification is consistent with the user The corresponding key-value pair data on the branch is inconsistent. When the user obtains an update from the user branch, the modification of the main branch and the user branch needs to be merged first. If there is a conflict, the user will be notified of the data conflict through the client interface, and the data of the user branch and the main branch will be provided for the user to choose for final use. Which data.

同样的,对于具备本地存储能力的客户端,当本地修改与用户分支的更新存在冲突时,在客户端向用户提供本地数据、用户分支、主分支三个分支的数据,由用户自行选择使用其中一份数据作为最终结果并反映到用户分支。由于客户端具备存储能力,因此用户可以在客户端离线修改数据,并保存在客户端本地,从而使客户端本地数据成为修改状态。当用户从用户分支获得更新时需要进行与本地修改的合并,当本地修改与获得的更新数据存在不一致则发生冲突,此时可以通过客户端界面告知用户发生数据冲突。Similarly, for a client with local storage capabilities, when there is a conflict between the local modification and the update of the user branch, the client will provide the user with the data of the three branches of local data, user branch, and master branch, and the user can choose to use them. A copy of the data is finalized and reflected to the user branch. Since the client has storage capabilities, users can modify data offline on the client and save it locally on the client, thus making the local data on the client a modified state. When the user obtains an update from the user branch, it needs to merge with the local modification. If there is an inconsistency between the local modification and the obtained update data, a conflict will occur. At this time, the user can be notified of the data conflict through the client interface.

在解决这种数据冲突时,还需要考虑用户分支与主分支是否存在冲突,当用户分支与主分支不存在冲突时,可以提供本地修改与用户分支的数据供用户选择,当用户分支与主分支也存在冲突时,则可以向用户提供本地修改、用户分支、主分支三份数据,由用户选择最终使用哪一份数据,并将用户的选择结果保存到用户分支中。When solving this kind of data conflict, it is also necessary to consider whether there is a conflict between the user branch and the main branch. When there is no conflict between the user branch and the main branch, local modification and data of the user branch can be provided for the user to choose. When there is also a conflict, the user can be provided with three copies of data: local modification, user branch, and main branch. The user can choose which data to use in the end, and save the user's selection result in the user branch.

为了更好地理解本发明实施例提供的个人信息管理方法,下面通过具体的例子进行介绍。In order to better understand the personal information management method provided by the embodiment of the present invention, a specific example will be introduced below.

参见图2,该图示出了各分支中保存的文档的数据格式,以及各分支之间的关系。从图中可以看出,本发明实施例提供的方法包括以下内容:Referring to FIG. 2 , the figure shows the data format of the documents stored in each branch and the relationship among the branches. As can be seen from the figure, the method provided by the embodiment of the present invention includes the following contents:

1)用户A登录后将自己的个人信息保存在个人分支中,个人分支包含一份文档数据,内容为:1) User A saves his personal information in the personal branch after logging in. The personal branch contains a document data, the content of which is:

姓名:AName: A

手机号:13900571987Mobile phone number: 13900571987

家庭电话:87876532Home phone: 87876532

办公电话:87861322Office phone: 87861322

Email:usera163.comEmail:usera163.com

住址:XXX小区1-1-1Address: XXX District 1-1-1

生日:1980-1-1Birthday: 1980-1-1

MSN号:useramsn.comMSN number: useramsn.com

博客地址:usera.blog.163.comBlog address: usera.blog.163.com

2)用户A将个人信息发布,系统建立主分支,将可以发布的信息条目保存在主分支中,在该例子中,其信息与个人分支中的信息相同,及用户A将其保存在个人分支中的信息全部发布。2) User A publishes personal information, the system establishes a main branch, and saves the information items that can be released in the main branch. In this example, its information is the same as that in the personal branch, and user A saves it in the personal branch All information in is published.

3)用户B的联系人列表中存在A,B将联系人A的信息保存从而创建出用户分支,其内容为:3) There is A in the contact list of user B, and B saves the information of contact A to create a user branch, the content of which is:

姓名:AName: A

手机号:13900571987Mobile phone number: 13900571987

家庭电话:home phone:

电子邮箱:usera163.comE-mail: usera163.com

这些内容是有用户B自己编辑的。These contents are edited by user B himself.

4)用户B从主分支获取更新,系统将用户分支中用户A的信息与主分支中A的信息进行关联,从而用户分支内容变更为:4) User B obtains updates from the main branch, and the system associates the information of user A in the user branch with the information of A in the main branch, so that the content of the user branch is changed to:

姓名:AName: A

手机号:13900571987Mobile phone number: 13900571987

家庭电话:87876532Home phone: 87876532

办公电话:87861322Office phone: 87861322

Email:usera163.comEmail: usera163.com

住址:XXX小区1-1-1Address: XXX District 1-1-1

生日:1980-1-1Birthday: 1980-1-1

MSN号:useramsn.comMSN number: useramsn.com

博客地址:usera.blog.163.comBlog address: usera.blog.163.com

用户B需要记录关于用户A的更多信息,在用户B的用户分支中可以包括以下部分:User B needs to record more information about user A, the user branch of user B can include the following parts:

1)用户A的基础信息:1) Basic information of user A:

姓名:AName: A

手机号:13900571987Mobile phone number: 13900571987

家庭电话:87876532Home phone: 87876532

办公电话:87861322Office phone: 87861322

Email:usera163.comEmail:usera163.com

住址:XXX小区1-1-1Address: XXX District 1-1-1

生日:1980-1-1Birthday: 1980-1-1

基础信息存在于每个分支中。即,在个人分支、主分支及用户分支中这些信息都存在。Base information exists in each branch. That is, the information exists in the personal branch, master branch, and user branch.

2)用户A的扩展信息:2) Extended information of user A:

MSN号:useramsn.comMSN number: useramsn.com

博客地址:usera.blog.163.comBlog address: usera.blog.163.com

在各个分支上设置的扩展信息仅联系人本人可写,扩展信息仅存在于主分支与个人分支中,即这些扩展信息是联系人本人额外发布的,仅从主分支映射,而不实际存储于用户分支中。The extended information set on each branch can only be written by the contact person, and the extended information only exists in the main branch and personal branch, that is, these extended information are additionally published by the contact person, and are only mapped from the main branch, not actually stored in in the user branch.

3)用户B为用户A自定义了一些信息:3) User B customizes some information for user A:

女友:柳六Girlfriend: Liu Liu

魔兽ID:moonWarcraft ID: moon

昵称:mjNickname: mj

该自定义信息是用户B自己添加的,因此仅存在于用户分支中。This custom information was added by user B himself, so it only exists in the user branch.

为了进行隐私控制,可以包括以下步骤:For privacy controls, the following steps can be included:

1)用户A的联系人列表中存在联系人B、C、D,其中B、C属于A的好友分组;1) There are contacts B, C, and D in user A's contact list, where B and C belong to A's friend group;

2)用户A将家庭电话的权限关联到好友分组,而其他信息条目为默认的对所有人可见;2) User A associates the authority of the home phone with the friend group, and other information items are visible to everyone by default;

3)用户A选择向主分支发布家庭电话,同时将分组关联关系更新到主分支;3) User A chooses to release the home phone to the main branch, and at the same time updates the group association relationship to the main branch;

4)用户B从主分支获取更新,由于B属于好友分组,因此B获得A的家庭电话信息。4) User B obtains updates from the main branch, and since B belongs to the friend group, B obtains A's home phone information.

5)用户D向主分支请求更新信息,由于D不在好友分组,因此D无法获得家庭电话的更新。5) User D requests update information from the main branch. Since D is not in the friend group, D cannot obtain the update of the home phone.

发生数据更新或冲突时,可以将发生更新的信息条目的背景标示为蓝色,将发生冲突的信息条目标示为红色,具体的,可以按照以下方法进行提示:When a data update or conflict occurs, the background of the updated information item can be marked in blue, and the information item in conflict can be marked in red. Specifically, the following method can be used to prompt:

1)用户B登录系统,发现联系人A的信息存在更新且无冲突,则在通讯录客户端界面中将联系人A的对应条目背景设为蓝色;1) User B logs in to the system and finds that the information of contact A is updated and has no conflict, then sets the background of the corresponding entry of contact A to blue in the address book client interface;

2)当发现联系人A的信息存在更新且发生冲突时,在通讯录客户端界面中将联系人A的对应条目的背景设为红色;2) When it is found that the information of contact A is updated and conflicted, set the background of the corresponding entry of contact A to red in the address book client interface;

3)进入联系人A的联系人信息界面,电子邮箱地址冲突,该条目的背景显示为红色;3) When entering the contact information interface of contact A, the email address conflicts, and the background of this entry is displayed in red;

4)家庭电话的信息存在更新则该条目的背景显示为蓝色。4) If the home phone information is updated, the background of the entry will be displayed in blue.

假设用户B通过客户端更新了A的电子邮箱地址信息,从原来的us era163.com变为us era126.com;用户A向主分支发布了电子邮箱信息,从原来的usera163.com变为newusera163.com;用户B从系统获取更新,此时发生用户分支上的电子邮箱地址usera126.com与主分支上的newusera163.com发生冲突,解决该数据冲突问题时,具体的做法如下:Assume that user B updates A's email address information through the client, from the original us era163.com to us era126.com; user A publishes the email information to the main branch, from the original usera163.com to newusera163. com; User B obtains updates from the system. At this time, the email address usera126.com on the user branch conflicts with newusera163.com on the main branch. To resolve this data conflict, the specific methods are as follows:

1)通过客户端向用户B返回这一冲突信息,向B提供来自用户分支的usera126.com与来自主分支的newusera163.com两份数据进行选择;1) Return this conflicting information to user B through the client, and provide B with two data sets: usera126.com from the user branch and newusera163.com from the main branch;

2)若B选择newusera163.com作为最终数据,那么用户分支与主分支恢复一致;2) If B selects newusera163.com as the final data, then the user branch is consistent with the master branch;

3)若B选择usera126.com作为最终数据,那么用户分支相对主分支成为修改状态,而不再是冲突状态。3) If B selects usera126.com as the final data, then the user branch becomes a modified state relative to the main branch, rather than a conflict state.

另外,假设用户C在手机上使用客户端维护通讯录,C在离线状态下修改了用户A的电子邮箱为usera188.com;用户C连接上系统获取更新,此时发生主分支上的点子邮箱地址usera126.com与用户C的本地修改usera188.com的冲突,为解决该数据冲突问题,具体的做法如下:In addition, assuming that user C uses the client to maintain the address book on the mobile phone, C modifies the email address of user A to usera188.com in the offline state; user C connects to the system to obtain updates, and at this time, the email address on the main branch occurs There is a conflict between usera126.com and user C’s local modification usera188.com. To solve this data conflict, the specific steps are as follows:

1)通过客户端向用户C提供来自本地的usera188.com,及主分支的usera126.com这两份数据;1) Provide user C with two pieces of data from the local usera188.com and usera126.com of the main branch through the client;

2)若C选择主分支的usera126.com作为最终数据(将用户分支中的电子邮箱修改为usera126.com),本地、用户分支、主分支再次回到一致状态;2) If C selects usera126.com of the main branch as the final data (change the email address in the user branch to usera126.com), the local, user branch, and main branch return to the same state again;

3)若C选择本地的usera188.com作为最终数据(将用户分支中的电子邮箱修改为usera188.com),那么在系统认为本地、用户分支一致而相对于主分支成为修改状态,而不再是冲突状态。3) If C selects the local usera188.com as the final data (change the email in the user branch to usera188.com), then the system considers that the local and user branches are consistent and become the modified state relative to the main branch, instead of conflict state.

此外,还存在这样一种情况:有些用户一直使用移动台国际识别码(TheMobile Station ISDN number,MSISDN)登录系统(其中,对于手机这种移动终端,所述MSISDN即为通常讲的手机号,为了方便起见,下面均以手机号为例进行描述),但是一旦用户改变手机号,将无法正常地通过手机号登录到系统,更无法获取到各个分支中的信息。为此,本发明实施例也给出了相应的解决方案,具体如下:In addition, there is also such a situation: some users have been using the Mobile Station International Identification Number (TheMobile Station ISDN number, MSISDN) to log in to the system (wherein, for a mobile terminal such as a mobile phone, the MSISDN is the commonly used mobile phone number, in order to For convenience, the mobile phone number is used as an example for description below), but once the user changes the mobile phone number, he will not be able to log in to the system normally through the mobile phone number, let alone obtain the information in each branch. For this reason, the embodiment of the present invention also provides corresponding solution, specifically as follows:

如果用户始终使用手机号登录系统,则在系统中将手机号映射到一个全局唯一的虚拟账号。虚拟账号对于用户完全透明,用户无论是以手机号激活新账号,还是登录系统均只需使用手机号。虚拟账号在激活新账号时产生,并与激活用的手机号绑定,此后系统中各个分支中的数据文档均可通过虚拟账号检索得到。If the user always uses a mobile phone number to log in to the system, map the mobile phone number to a globally unique virtual account in the system. The virtual account is completely transparent to the user. Whether the user activates a new account with a mobile phone number or logs in to the system, he only needs to use the mobile phone number. The virtual account is generated when a new account is activated, and is bound to the mobile phone number used for activation. After that, the data files in each branch of the system can be retrieved through the virtual account.

这样,当用户发生手机换号时,用户可以使用原手机号码登录系统,并更新基础信息中的手机号码,向主分支发布新号码信息,该用户的联系人仍可以通过该用户对应的虚拟账号找到该用户的信息,并获取新的手机号码。In this way, when a user changes his mobile phone number, the user can use the original mobile phone number to log in to the system, update the mobile phone number in the basic information, and release the new number information to the main branch, and the user's contacts can still use the virtual account corresponding to the user Find the user's information and get a new mobile number.

图3中示出了利用虚拟账号实现手机换号的示意图。从图中可以看出,具体的实现方法可以包括以下内容:FIG. 3 shows a schematic diagram of using a virtual account to change a mobile phone number. As can be seen from the figure, the specific implementation methods may include the following:

1)假设用户A的手机号为13900571987,并以该手机号到系统激活,系统为其绑定一个虚拟账号abcd1234567;1) Assume that user A's mobile phone number is 13900571987, and use this mobile phone number to activate the system, and the system binds a virtual account abcd1234567 for him;

2)用户B与A在各自的通讯录中互为联系人,B登录系统后通过A手机号找到A的虚拟账号,并且系统为用户B记录联系人A的虚拟账号与联系人A信息间的映射关系;2) User B and A are mutual contacts in their respective address books. After logging in to the system, B finds A's virtual account through A's mobile phone number, and the system records for user B the relationship between the virtual account of contact A and the information of contact A. Mapping relations;

3)用户A更换了手机号为13800123456,并以原手机号为账号登录系统,更新其手机号信息,并将信息发布到主分支;3) User A changed his mobile phone number to 13800123456, logged in to the system with his original mobile phone number as his account, updated his mobile phone number information, and published the information to the main branch;

4)用户B登录到系统,并根据用户A的虚拟账号向系统获取用户A的最新信息,用户B从主分支获得用户A最新的手机号信息,完成联系人信息的更新。4) User B logs in to the system and obtains the latest information of user A from the system according to the virtual account of user A. User B obtains the latest mobile phone number information of user A from the main branch to complete the update of contact information.

与本发明实施例提供的个人信息管理方法相对应,本发明实施例还提供了一种个人信息管理装置,参见图4,该装置包括以下单元:Corresponding to the personal information management method provided in the embodiment of the present invention, the embodiment of the present invention also provides a personal information management device, see Figure 4, the device includes the following units:

第一保存单元U401,用于接收到用户输入的其个人信息时,建立个人分支,将所述个人信息保存在所述个人分支中;The first storage unit U401 is configured to establish a personal branch when receiving the personal information input by the user, and store the personal information in the personal branch;

第二保存单元U402,用于当接收到发布所述个人信息的消息时,建立与所述个人分支对应的主分支,将所述个人信息中需要发布的信息条目保存在所述主分支中;The second saving unit U402 is configured to establish a main branch corresponding to the personal branch when receiving a message about publishing the personal information, and store information items in the personal information that need to be released in the main branch;

信息发布单元U403,用于当接收到某联系人发出的获取该用户个人信息的请求时,将所述主分支中保存的需要发布的信息条目同步到为该联系人建立的用户分支中。The information release unit U403 is configured to, when receiving a request from a contact to acquire the user's personal information, synchronize the information items to be released saved in the main branch to the user branch established for the contact.

用户输入的其个人信息时,第一保存单元U401为该用户的个人信息建立个人分支,将所述个人信息保存在所述个人分支中;如果用户需要发布其个人信息,则可以向系统发送发布请求,当接收到发布所述个人信息的消息时,第二保存单元U402建立与所述个人分支对应的主分支,将所述个人信息中需要发布的信息条目保存在所述主分支中;主分支中的信息条目可以是个人分支中的全部信息或者一部分,用户可以根据具体需要进行选择。保存在主分支中的需要发布的信息条目并不会立即发送给该用户的联系人,而是当接收到某联系人发出的获取该用户个人信息的请求时,由信息发布单元U403将所述主分支中保存的需要发布的信息条目同步到为该联系人建立的用户分支中。When the user inputs his personal information, the first storage unit U401 creates a personal branch for the user's personal information, and stores the personal information in the personal branch; if the user needs to publish his personal information, he can send a release to the system. request, when receiving the message of publishing the personal information, the second storage unit U402 establishes a main branch corresponding to the personal branch, and stores the information items in the personal information that need to be released in the main branch; The information items in the branch can be all or part of the information in the personal branch, and the user can choose according to specific needs. The information items stored in the main branch that need to be released will not be sent to the user's contacts immediately, but when a request for obtaining the user's personal information from a contact is received, the information publishing unit U403 will send the described The information items that need to be published saved in the main branch are synchronized to the user branch established for the contact.

为了满足用户发布更多信息或者记录联系人更多信息的需求,本发明实施例可以将个人分支中的信息划分为基础信息及扩展信息,其中基础信息的键字段固定,值字段可以由用户进行相应的填写;扩展信息的键值对均由用户自定义。这样用户可以发布除基础信息以外的其他信息。In order to meet the needs of users to publish more information or record more information of contacts, the embodiment of the present invention can divide the information in the personal branch into basic information and extended information, where the key field of the basic information is fixed, and the value field can be set by the user. Fill in accordingly; the key-value pairs of the extended information are all user-defined. This allows users to publish other information besides basic information.

同时,还可以将用户分支中的信息划分为基础信息及自定义信息,基础信息同样是键字段固定,值字段可以由用户进行相应的填写;自定义信息的键值对均由用户自定义。这样用户可以记录联系人除基础信息及从主分支获取到的信息以外的其他任意信息。At the same time, the information in the user branch can also be divided into basic information and custom information. The key field of the basic information is also fixed, and the value field can be filled in by the user; the key-value pairs of the custom information are all defined by the user. In this way, the user can record any information of the contact except the basic information and the information obtained from the main branch.

为了便于对用户个人信息的权限控制,该装置还可以包括:In order to facilitate the authority control of the user's personal information, the device may also include:

权限信息接收单元U404,用于接收用户对通讯录内联系人的分组信息,以及用户指定的需要向各组别的联系人发布的信息条目;The authority information receiving unit U404 is used to receive the user's grouping information of the contacts in the address book, and the information items specified by the user that need to be released to the contacts of each group;

此时,第二保存单元U402还用于将该用户指定的各组别与需要发布的信息条目之间的对应关系保存在所述主分支中;At this time, the second saving unit U402 is also used to save the corresponding relationship between the groups specified by the user and the information items to be released in the main branch;

信息发布单元U403具体用于判断该联系人所属的组别,将需要向该组别联系人发布的信息条目同步到为该联系人建立的用户分支中。The information release unit U403 is specifically used to determine the group to which the contact belongs, and synchronize information items that need to be released to the contacts of the group to the user branch established for the contact.

当各分支的数据发生冲突时,为了便于引导用户发现该冲突并及时处理,该装置还可以包括:When the data of each branch conflicts, in order to guide the user to find the conflict and deal with it in time, the device may also include:

提示单元U405,用于当主分支数据发生更新,或者与某联系人的用户分支数据发生冲突,或者某联系人在离线状态进行的修改与主分支的数据发生冲突时,将发生更新或冲突的信息条目提示给该联系人。Prompt unit U405, used for updating or conflicting information when the main branch data is updated, or conflicts with a contact’s user branch data, or when a contact’s offline modification conflicts with the main branch’s data Entry tip to the contact.

另外,该本发明实施例还可以帮助用户解决数据冲突问题,此时,该装置还包括:In addition, this embodiment of the present invention can also help users solve the problem of data conflicts. At this time, the device also includes:

第一数据提供单元U406,用于当主分支数据与某联系人的用户分支数据发生冲突时,提供主分支与用户分支的数据供该联系人选择;The first data providing unit U406 is used to provide the data of the main branch and the user branch for the contact to choose when the main branch data conflicts with the user branch data of a contact;

第一状态修改单元U406,用于根据该联系人选择的结果修改数据的状态。The first state modifying unit U406 is configured to modify the state of the data according to the contact selection result.

对于某些具备本地存储能力的客户端,用户可以在离线状态对数据进行修改,这些数据将保存在客户端本地,而不会保存与本发明实施例所述的任一分支中,但是,这种修改也可能造成数据的冲突,本发明实施例对此也提出了解决方案,该装置还包括:For some clients with local storage capability, the user can modify the data in an offline state, and these data will be saved locally on the client, and will not be saved in any branch described in the embodiment of the present invention, but this This kind of modification may also cause data conflicts, and the embodiment of the present invention also proposes a solution to this, and the device also includes:

第二数据提供单元U407,用于当某联系人在离线状态进行的修改与主分支的数据发生冲突时,判断主分支数据与用户分支数据是否存在冲突,如果存在,提供该联系人修改后的数据、主分支数据及用户分支数据供该联系人选择;否则,提供该联系人修改后的数据及用户分支的数据供该联系人选择;The second data providing unit U407 is used to determine whether there is a conflict between the main branch data and the user branch data when the modification made by a contact in the offline state conflicts with the data of the main branch, and if so, provide the modified data of the contact data, main branch data and user branch data for the contact to choose; otherwise, provide the contact’s modified data and user branch data for the contact to choose;

第二状态修改单元U408,用于根据该联系人选择的结果修改数据的状态。The second state modifying unit U408 is configured to modify the state of the data according to the contact selection result.

在实际应用中,有些用户会直接使用手机号来登录系统,为了解决这种用户更换手机号时存在的问题,该装置还可以包括:In practical applications, some users will directly use their mobile phone numbers to log in to the system. In order to solve the problems existing when such users change their mobile phone numbers, the device may also include:

映射单元U409,用于如果用户使用手机号登录系统,则将该手机号映射到一全局唯一的虚拟账号,并将所述虚拟账号提供给该用户的联系人,保存该虚拟账号与该用户的个人信息之间的映射关系;The mapping unit U409 is used to map the mobile phone number to a globally unique virtual account if the user uses a mobile phone number to log in to the system, and provide the virtual account to the user's contacts, and save the virtual account and the user's Mapping relationship between personal information;

主分支更新单元U410,用于当用户更换手机号时,接收用户使用原手机号登录后进行修改并发布的信息,更新主分支中该用户的手机号信息;The main branch update unit U410 is used to receive the information modified and released by the user after logging in with the original mobile phone number when the user changes the mobile phone number, and update the user's mobile phone number information in the main branch;

同步单元U411,用于接收到某联系人通过所述虚拟账号获取该用户当前手机号信息的请求时,将主分支中修改后的手机号信息同步到该联系人的用户分支中。Synchronization unit U411, configured to synchronize the modified mobile phone number information in the main branch to the contact's user branch when receiving a request from a contact to obtain the user's current mobile phone number information through the virtual account.

以上对本发明所提供的一种个人信息管理方法及装置,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本发明的限制。The personal information management method and device provided by the present invention have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only to help understand the present invention. method and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims (14)

CN2009101323502A2009-03-302009-03-30 A personal information management method and deviceExpired - Fee RelatedCN101527896B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2009101323502ACN101527896B (en)2009-03-302009-03-30 A personal information management method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2009101323502ACN101527896B (en)2009-03-302009-03-30 A personal information management method and device

Publications (2)

Publication NumberPublication Date
CN101527896A CN101527896A (en)2009-09-09
CN101527896Btrue CN101527896B (en)2012-02-29

Family

ID=41095545

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2009101323502AExpired - Fee RelatedCN101527896B (en)2009-03-302009-03-30 A personal information management method and device

Country Status (1)

CountryLink
CN (1)CN101527896B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101729672B (en)*2009-11-102013-01-16中兴通讯股份有限公司Management method and system of multifunction mobile equipment
CN102469036A (en)*2010-11-022012-05-23腾讯科技(深圳)有限公司Method and device for processing user information
CN102360461A (en)*2011-09-232012-02-22纽海信息技术(上海)有限公司Personal address management system and method thereof
CN103067251B (en)*2011-10-202017-04-05华为技术有限公司 A method and system for maintaining contact information
KR101832394B1 (en)*2013-04-102018-02-26삼성전자주식회사Terminal apparatus, server and contol method thereof
CN104270728A (en)*2014-09-162015-01-07小米科技有限责任公司Information integration method and device
CN105872178A (en)*2016-06-062016-08-17北京珠穆朗玛移动通信有限公司Contact person information sharing method and mobile terminal
CN106506511B (en)*2016-11-172019-08-23京东方科技集团股份有限公司A kind of address list information processing method, device
US11165634B2 (en)*2018-04-022021-11-02Oracle International CorporationData replication conflict detection and resolution for a multi-tenant identity cloud service

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1558342A (en)*2004-01-162004-12-29旭 张Method for realizing synchronous update of address book information utilizing public information network
CN101068156A (en)*2006-12-202007-11-07腾讯科技(深圳)有限公司Conflict processing method and conflict processing server when data synchronization
CN101150629A (en)*2007-10-222008-03-26孙国仲Contact book management system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1558342A (en)*2004-01-162004-12-29旭 张Method for realizing synchronous update of address book information utilizing public information network
CN101068156A (en)*2006-12-202007-11-07腾讯科技(深圳)有限公司Conflict processing method and conflict processing server when data synchronization
CN101150629A (en)*2007-10-222008-03-26孙国仲Contact book management system and method

Also Published As

Publication numberPublication date
CN101527896A (en)2009-09-09

Similar Documents

PublicationPublication DateTitle
CN101527896B (en) A personal information management method and device
US11924277B2 (en)Systems and methods for establishing and maintaining virtual computing clouds
CN100538699C (en)Utilize mobile communication equipment integrated content automatically from multiple information stores
KR101130434B1 (en)Group shared spaces
KR101114010B1 (en)File sharing in peer-to-peer group shared spaces
CN112654973A (en)Techniques for integrating cloud content items across platforms
CN101802808B (en)Accessing device-hosted services from scripting and other programming environments
CN109564529A (en)Placeholder based on Symbolic Links
KR20060107902A (en) Contact Management
KR20100133380A (en) Computing environment representation
US7783712B2 (en)System and method for bi-directional synchronized conversion of electronic mail data
BRPI0711760A2 (en) method, product of computer program and device
CN105721576A (en)Wireless communication system installation
EP2074771B1 (en)Management of access to address data
US20030158893A1 (en)Information management system and information management method
CN101572677B (en)Method for integrating address books and integrated address book server
CN101952815A (en)Cooperation based on attitude
CN102143126B (en)The access method of CPM meeting history record and message storage server
KR101075023B1 (en)Method for Managing history of document using Link Document and System thereof
CN116089360A (en)Data storage management method and related components
US20070276962A1 (en)File Synchronisation
CN101800657B (en)Combined address book system and relation view management method thereof
Laahs et al.Microsoft SharePoint Technologies: Planning, Design and Implementation
CN117081762A (en)Data processing method and related equipment

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20120229


[8]ページ先頭

©2009-2025 Movatter.jp