Movatterモバイル変換


[0]ホーム

URL:


CN101771731B - Method for obtaining network address notebook and device for realizing network address notebook - Google Patents

Method for obtaining network address notebook and device for realizing network address notebook
Download PDF

Info

Publication number
CN101771731B
CN101771731BCN 200810189298CN200810189298ACN101771731BCN 101771731 BCN101771731 BCN 101771731BCN 200810189298CN200810189298CN 200810189298CN 200810189298 ACN200810189298 ACN 200810189298ACN 101771731 BCN101771731 BCN 101771731B
Authority
CN
China
Prior art keywords
address book
document
contact
document management
xml document
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
CN 200810189298
Other languages
Chinese (zh)
Other versions
CN101771731A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CN 200810189298priorityCriticalpatent/CN101771731B/en
Publication of CN101771731ApublicationCriticalpatent/CN101771731A/en
Application grantedgrantedCritical
Publication of CN101771731BpublicationCriticalpatent/CN101771731B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

Translated fromChinese

本发明公开了一种获取网络地址本的方法和实现网络地址本的装置。涉及通信领域;解决了现有技术中,网络地址本只能添加具有URI的联系人,使用不方便的问题。所述获取网络地址本的方法包括:通过聚合代理从XML文档管理服务器获取地址本文档;从地址本文档中选择联系人,根据所述XML文档管理服务器自动分配的联系人的系统唯一标识,获取该联系人的详细信息。本发明适用于网络通信领域。

Figure 200810189298

The invention discloses a method for acquiring a network address book and a device for realizing the network address book. The invention relates to the field of communication; it solves the problem in the prior art that only contacts with URIs can be added to the network address book, which is inconvenient to use. The method for obtaining the network address book includes: obtaining an address book document from an XML document management server through an aggregation agent; selecting a contact from the address book document, and obtaining Details of the contact. The invention is applicable to the field of network communication.

Figure 200810189298

Description

Translated fromChinese
获取网络地址本的方法和实现网络地址本的装置Method for obtaining network address book and device for realizing network address book

技术领域technical field

本发明涉及网络资源领域,尤其涉及一种获取网络地址本的方法和实现网络地址本的装置。The invention relates to the field of network resources, in particular to a method for acquiring a network address book and a device for realizing the network address book.

背景技术Background technique

网络地址本利用网络资源存储用户的联系人信息,减少了意外的信息丢失,因而得到越来越广泛的应用。网络地址本首先为用户创建账户,由用户对账户进行添加、删除和修改联系人的操作。根据OMA1.0和OMA2.0的定义,被添加到用户账户中的联系人需要拥有一个URI(Universal Resource Identifier,通用资源标志符)。用户获取联系人信息时,先获取整个地址本,地址本中包含全部联系人的URI及联系人信息。The network address book uses network resources to store user's contact information, which reduces accidental information loss, and thus has been more and more widely used. The network address book first creates an account for the user, and the user performs operations of adding, deleting and modifying contacts on the account. According to the definition of OMA1.0 and OMA2.0, the contacts added to the user account need to have a URI (Universal Resource Identifier, Universal Resource Identifier). When a user obtains contact information, the entire address book is obtained first, and the address book includes URIs and contact information of all contacts.

在实现上述利用网络地址本存储联系人信息的过程中,发明人发现现有技术中存在以下问题:In the process of realizing the above-mentioned storage of contact information by using the network address book, the inventor found the following problems in the prior art:

现有的网络地址本只能添加具有URI的联系人,没有URI的联系人就不能被添加到地址本中,使用不方便。The existing network address book can only add contacts with a URI, and contacts without a URI cannot be added to the address book, which is inconvenient to use.

发明内容Contents of the invention

本发明的实施例提供一种获取网络地址本的方法,解决了现有技术中网络地址本只能添加具有URI的联系人,使用不方便的问题。The embodiment of the present invention provides a method for obtaining a network address book, which solves the problem of inconvenient use in the prior art that only contacts with URIs can be added to the network address book.

一种获取网络地址本的方法,包括:A method for obtaining a network address book, comprising:

通过聚合代理从XML文档管理服务器获取地址本文档;Get the address book document from the XML document management server through the aggregation agent;

从地址本文档中选择联系人,根据所述XML文档管理服务器自动分配的联系人的系统唯一标识,获取该联系人的详细信息。A contact is selected from the address book document, and the detailed information of the contact is obtained according to the system unique identifier of the contact automatically assigned by the XML document management server.

本发明的实施例还提供了一种XML文档管理客户端。The embodiment of the present invention also provides an XML document management client.

一种XML文档管理客户端,包括:An XML document management client, including:

地址本获取模块,用于通过聚合代理从XML文档管理服务器获取地址本文档;The address book obtaining module is used to obtain the address book document from the XML document management server through the aggregation agent;

联系人信息获取模块,用于从地址本获取模块获取的地址本文档中选择联系人,根据XML文档管理服务器自动分配的联系人的系统唯一标识,获取该联系人的详细信息。The contact information obtaining module is used to select a contact from the address book document obtained by the address book obtaining module, and obtain the detailed information of the contact according to the system unique identifier of the contact automatically assigned by the XML document management server.

本发明的实施例还提供了一种XML文档管理服务器。The embodiment of the invention also provides an XML document management server.

一种XML文档管理服务器,包括:An XML document management server, comprising:

地址本文档创建模块,用于创建地址本文档,为所述地址本文档添加联系人并为所述联系人分配系统唯一标识,以便于XML文档管理客户端根据该系统唯一标识获取该联系人的详细信息。The address book document creation module is used to create an address book document, add a contact to the address book document and assign a system unique identifier to the contact, so that the XML document management client can obtain the contact's ID according to the system unique identifier details.

本发明实施例提供的获取网络地址本的方法和实现网络地址本的装置,使用标准的XCAP(可扩展标记语言配置访问)协议,在添加联系人时为联系人添加系统唯一标识,并将该系统唯一标识与所述联系人的详细信息关联起来;在获取地址本时,先获取地址本文档,再根据用户选择的联系人的系统唯一标识来获取该联系人的详细信息。解决了现有技术中网络地址本只能添加具有URI的联系人,使用不方便的问题。The method for obtaining the network address book and the device for realizing the network address book provided by the embodiments of the present invention use the standard XCAP (Extensible Markup Language Configuration Access) protocol to add a system unique identifier for the contact when adding the contact, and send the The system unique identifier is associated with the detailed information of the contact; when obtaining the address book, the address book document is obtained first, and then the detailed information of the contact is obtained according to the system unique identifier of the contact selected by the user. It solves the problem that in the prior art, the network address book can only add contacts with URIs, which is inconvenient to use.

附图说明Description of drawings

图1为本发明实施例提供的一种获取网络地址本的方法的流程图;FIG. 1 is a flowchart of a method for obtaining a network address book provided by an embodiment of the present invention;

图2为本发明实施例中创建地址本文档的流程图;FIG. 2 is a flowchart of creating an address book document in an embodiment of the present invention;

图3为本发明实施例中获取目录文档的流程图;Fig. 3 is the flow chart of obtaining directory document in the embodiment of the present invention;

图4为本发明实施例中获取指定的子地址本文档的流程图;FIG. 4 is a flow chart of obtaining a specified sub-address book document in an embodiment of the present invention;

图5为本发明实施例中查看联系人详细信息的流程图;Fig. 5 is a flow chart of viewing contact details in an embodiment of the present invention;

图6为本发明的实施例提供的一种XML文档管理客户端的结构示意图;FIG. 6 is a schematic structural diagram of an XML document management client provided by an embodiment of the present invention;

图7为本发明的另一实施例提供的一种XML文档管理客户端的结构示意图;FIG. 7 is a schematic structural diagram of an XML document management client provided by another embodiment of the present invention;

图8为图6中地址本获取模块601的内部结构示意图;FIG. 8 is a schematic diagram of the internal structure of the addressbook acquisition module 601 in FIG. 6;

图9为本发明实施例提供的一种XML文档管理服务器的结构示意图;FIG. 9 is a schematic structural diagram of an XML document management server provided by an embodiment of the present invention;

图10为本发明的另一实施例提供的一种XML文档管理服务器的结构示意图。FIG. 10 is a schematic structural diagram of an XML document management server provided by another embodiment of the present invention.

具体实施方式Detailed ways

现有的网络地址本技术只能添加具有URI的联系人,使用不方便,为了解决这一问题,本发明的实施例提供了一种获取网络地址本的方法。The existing network address book technology can only add contacts with URIs, which is inconvenient to use. In order to solve this problem, the embodiment of the present invention provides a method for obtaining a network address book.

一种获取网络地址本的方法,包括:A method for obtaining a network address book, comprising:

如图1所示,步骤101、通过聚合代理从XML文档管理服务器获取地址本文档;As shown in Figure 1,step 101, obtain the address book document from the XML document management server through the aggregation agent;

步骤102、从地址本文档中选择联系人,根据Step 102, select a contact from the address book document, according to

所述XML文档管理服务器自动分配的联系人的系统唯一标识,获取该联系人的详细信息。The system unique identifier of the contact person automatically assigned by the XML document management server to obtain the detailed information of the contact person.

本发明实施例提供的获取网络地址本的方法,使用标准的XCAP(可扩展标记语言配置访问)协议,在添加联系人时为联系人添加系统唯一标识,并将该系统唯一标识与所述联系人的详细信息关联起来;在获取地址本时,先获取地址本文档,再根据用户选择的联系人的系统唯一标识来获取该联系人的详细信息。解决了现有技术中网络地址本只能添加具有URI的联系人,使用不方便的问题。The method for obtaining the network address book provided by the embodiment of the present invention uses a standard XCAP (Extensible Markup Language Configuration Access) protocol to add a system unique identifier for a contact when adding a contact, and associate the system unique identifier with the contact When obtaining the address book, first obtain the address book document, and then obtain the detailed information of the contact according to the system unique identifier of the contact selected by the user. It solves the problem that in the prior art, the network address book can only add contacts with URIs, which is inconvenient to use.

本发明的实施例定义了一个基于OMA XDM(XML Document Management,XML文档管理)的业务架构,在地址本框架的基础上可以根据联系人详细信息的内容进行扩展调整,下面,对应用上述业务框架创建地址本的过程进行介绍。Embodiments of the present invention define a business framework based on OMA XDM (XML Document Management, XML document management), on the basis of the address book framework, it can be expanded and adjusted according to the content of the detailed information of the contact person. Below, the application of the above business framework The process of creating an address book is described.

用户创建地址本的过程如图2所示,步骤201、XML文档管理服务器创建根元素;The process of creating an address book by a user is shown in Figure 2,step 201, the XML document management server creates a root element;

本步骤中,XML文档管理服务器创建地址本文档的根元素。In this step, the XML document management server creates the root element of the address book document.

所述XML文档管理服务器使用XCAP协议,以XML文档的形式存储地址本。The XML document management server uses the XCAP protocol to store the address book in the form of XML documents.

步骤202、XML文档管理服务器创建组元素;Step 202, the XML document management server creates a group element;

本步骤中,XML文档管理服务器在步骤201建立的根元素下,建立至少一个组元素;所述组元素中包含0个至多个联系人,0个至多个子组,0个至多个链接。In this step, the XML document management server creates at least one group element under the root element established instep 201; the group element includes 0 to multiple contacts, 0 to multiple subgroups, and 0 to multiple links.

所述组元素包含一个用来与其他组元素区别的必选“标志”属性,由客户端自动生成,不需要由用户自定义。组元素还包含一个可选属性“显示名称”,可以用户自定义,例如我们可以设为“同学”、“同事”、“家人”、“老师”。The group element includes a mandatory "flag" attribute used to distinguish it from other group elements, which is automatically generated by the client and does not need to be customized by the user. The group element also includes an optional attribute "display name", which can be customized by the user, for example, we can set it to "classmate", "colleague", "family", "teacher".

步骤203、XML文档管理服务器创建子组元素;Step 203, the XML document management server creates subgroup elements;

可选的,在组元素之下可以创建子组元素,子组元素用来表示组的嵌套,其特征与组元素相同。Optionally, a subgroup element can be created under the group element, and the subgroup element is used to represent the nesting of groups, and its characteristics are the same as those of the group element.

例如,组元素代表“同学”,可以在该组元素下创建若干子组元素,分别代表“大学同学”、“初中同学”和“高中同学”。For example, a group element represents "classmates", and several subgroup elements can be created under this group element, representing "college classmates", "junior high school classmates" and "high school classmates" respectively.

步骤204、XML文档管理服务器为原地址本文档和子地址本文档添加链接;Step 204, the XML document management server adds links to the original address book document and the sub-address book document;

可选的,当原地址本中存储的联系人过多时,可以通过新建子地址本文档存储原地址本文档的一部分联系人,并将所述地址本文档链接到原地址本文档,作为原地址本文档的一个组元素或子组元素。Optionally, when there are too many contacts stored in the original address book, a part of the contacts in the original address book file can be stored by creating a new sub-address book file, and the address book file can be linked to the original address book file as the original address A group element or subgroup element of this document.

可选的,也可以将其他地址本文档中的组元素或子组元素作为原地址本的子地址本文档,并将所述组元素或子组元素的链接存储到原地址本文档中。Optionally, group elements or subgroup elements in other address book documents may also be used as subaddress book documents of the original address book, and links of the group elements or subgroup elements are stored in the original address book document.

例如,可以在原地址本的根元素之下建立“同事”这一联系人组元素,并新建一个子地址本文档,将所述子地址本文档链接到“同事”组之下。For example, a contact group element "colleagues" may be established under the root element of the original address book, and a sub-address book document is created, and the sub-address book document is linked to the "colleagues" group.

步骤205、XML文档管理服务器在地址本文档中添加联系人;Step 205, the XML document management server adds a contact person in the address book document;

本步骤中,在所述组元素、子组元素中建立联系人元素,由XML文档管理服务器为该联系人分配系统唯一标识。In this step, a contact element is established in the group element and subgroup element, and the XML document management server assigns a system unique identifier to the contact.

联系人元素包含一个可选属性“显示名称”,可以用户自定义,例如我们可以设为“张三”。将“显示名称”与该联系人的系统唯一标识关联起来,当用户发起查看某个联系人的信息时,系统后台得到的是该联系人的系统唯一标识,通过所述系统唯一标识在XML文档管理服务器中搜索所述联系人详细信息。The contact element contains an optional attribute "display name", which can be customized by the user, for example, we can set it as "Zhang San". Associating the "display name" with the system unique identifier of the contact, when the user initiates to view the information of a contact, what the system background gets is the system unique identifier of the contact, through which the system unique identifier is included in the XML document Search the management server for said contact details.

步骤206、XML文档管理服务器建立联系人详细信息文档;Step 206, the XML document management server establishes a contact detail information document;

本步骤中,为联系人建立详细信息文档,在所述详细信息文档中存储所述联系人的信息,并将详细信息文档地址链接与该联系人元素的系统唯一标识关联起来。In this step, a detailed information document is created for the contact, information of the contact is stored in the detailed information document, and the address link of the detailed information document is associated with the system unique identifier of the contact element.

可选的,也可以不另外建立详细信息文档而是直接将联系人详细信息记录在该地址本文档中,并与该联系人元素的系统唯一标识关联起来。Optionally, instead of creating another detailed information document, the detailed information of the contact may be directly recorded in the address book document and associated with the system unique identifier of the contact element.

下面结合附图,对本发明的实施例提供的一种获取网络地址本的方法进行详细介绍。A method for obtaining a network address book provided by an embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

首先,对用户获取目录文档的过程进行说明。First, the process for a user to obtain a directory document will be described.

如图3所示,步骤301、XML文档管理客户端向聚合代理发送XCAP请求,请求获取用户目录文档;As shown in Figure 3, step 301, the XML document management client sends an XCAP request to the aggregation agent, requesting to obtain the user directory document;

步骤302,XML文档管理客户端接收聚合代理返回未授权响应,并且携带相关的鉴权信息,表示客户端还没有完成鉴权;Step 302, the XML document management client receives an unauthorized response returned by the aggregation agent, and carries relevant authentication information, indicating that the client has not completed authentication;

步骤303,XML文档管理客户端根据返回的鉴权信息生成鉴权数据,重新发送获取用户目录文档XCAP请求。In step 303, the XML document management client generates authentication data according to the returned authentication information, and resends the XCAP request for acquiring user directory documents.

步骤304,XML文档管理客户端向聚合代理发送获取目录文档的XCAP请求;Step 304, the XML document management client sends an XCAP request for obtaining the directory document to the aggregation agent;

步骤305,因为用户存在多个文档,这些文档储存在不同的服务器上,所以聚合代理路由该请求到各个XML文档管理服务器;Step 305, because the user has multiple documents, and these documents are stored on different servers, so the aggregation agent routes the request to each XML document management server;

步骤306,各个XML文档管理服务器返回目录信息给聚合代理;Step 306, each XML document management server returns directory information to the aggregation agent;

步骤307,聚合代理将各个返回目录信息汇总;Step 307, the aggregation agent summarizes the returned directory information;

步骤308,聚合代理将汇总后的目录文档返回给XML文档管理客户端。Step 308, the aggregation agent returns the aggregated directory documents to the XML document management client.

在本实施例中,如果地址本文档中存在多个链接元素,链接了多个子地址本文档,XML文档管理客户端会重复上述步骤获得所有子地址本文档。XML文档管理客户端也可以不用通过用户的选择,直接将所有的子地址本文档一起显示给用户。In this embodiment, if there are multiple link elements in the address book document and multiple sub-address book documents are linked, the XML document management client will repeat the above steps to obtain all sub-address book documents. The XML document management client can also directly display all the sub-address book documents to the user without the selection of the user.

在本实施例中,如果地址本文档中存在多个子地址本文档,获得全部子地址本文档需要很长时间,这样会增加用户的登录时间,为了节约登录时间,XML文档管理客户端可以不检查地址本文档中是否存在链接元素,而是先将地址本文档信息显示给用户,在有链接的地方,显示成一个子组,用户选择需要查看的子地址本文档,XML文档管理客户端根据用户需要。如图4所示,获取指定的子地址本的步骤包括:In this embodiment, if there are multiple sub-address book documents in the address book document, it will take a long time to obtain all the sub-address book documents, which will increase the login time of the user. In order to save the login time, the XML document management client may not check the Whether there is a link element in the address book document. Instead, the address book document information is displayed to the user first. Where there is a link, it is displayed as a subgroup. The user selects the sub-address book document to be viewed, and the XML document management client bases need. As shown in Figure 4, the steps for obtaining the specified sub-address book include:

步骤401,用户登录成功,看到XML文档管理客户端显示的地址本信息,选择需要查看的子地址本文档,XML文档管理客户端接收用户获取指定子地址本的指令;Step 401, the user logs in successfully, sees the address book information displayed by the XML document management client, selects the sub-address book document to be viewed, and the XML document management client receives the user's instruction to obtain the specified sub-address book;

步骤402,XML文档管理客户端根据链接信息找到指定子地址本文档的链接,向聚合代理发送获取指定子地址本文档的请求,所述请求中携带有所述链接;Step 402, the XML document management client finds the link of the designated sub-address book document according to the link information, and sends a request for obtaining the designated sub-address book document to the aggregation agent, and the request carries the link;

步骤403,聚合代理路由该请求到相应的XML文档管理服务器;Step 403, the aggregation agent routes the request to the corresponding XML document management server;

步骤404,XML文档管理服务器返回指定的子地址本文档给聚合代理;Step 404, the XML document management server returns the specified sub-address book document to the aggregation agent;

步骤405,聚合代理返回指定的子地址本文档给XML文档管理客户端。Step 405, the aggregation agent returns the specified sub-address book document to the XML document management client.

在本实施例中,XML文档管理客户端采用流程图3的步骤直接获取子地址本文档或者采用流程图4的步骤通过用户选择获取指定的子地址本文档,具体操作方式是由XML文档管理客户端的生产厂商决定的。In this embodiment, the XML document management client adopts the steps of flowchart 3 to directly obtain the sub-address book document or adopts the steps of flowchart 4 to obtain a specified sub-address book document through user selection. The specific operation mode is determined by the XML document management client It is determined by the end manufacturer.

利用现有技术获取地址本时,要获取地址本中存储的所有联系人的详细信息,如姓名、手机号、住址等,数据量巨大,而用户一次查询地址本时往往只需要查找少数联系人信息,将全部联系人的详细信息发送到用户终端,浪费了信息传输资源。When using the existing technology to obtain the address book, it is necessary to obtain the detailed information of all the contacts stored in the address book, such as name, mobile phone number, address, etc., the amount of data is huge, and the user often only needs to find a few contacts when querying the address book at one time Information, the detailed information of all contacts is sent to the user terminal, wasting information transmission resources.

在本实施例中,当地址本中联系人详细信息是保存在地址本中时,客户可以在登陆成功后,选择需要查看的联系人的详细信息,XML文档管理客户端根据用户需要,通过系统唯一标识获取指定联系人的详细信息,例如,用户需要查看显示名称为“张三”的详细信息,则用户可以通过将鼠标移动到“张三”,点击右键,选择“查看详细信息”。也可以将联系人详细信息保存在单独的联系人详细信息文档中,将所述联系人详细信息文档储存在XML文档管理服务器上,并将该联系人的系统唯一标识与所述联系人详细信息文档的地址链接关联起来。在获取联系人详细信息时,首先通过系统唯一标识获取用户选择的联系人的联系人详细信息文档的链接,再根据所述链接从XML文档管理服务器中获取所述联系人详细文档,具体步骤如图5所示,包括:In this embodiment, when the detailed information of the contact person in the address book is stored in the address book, the customer can select the detailed information of the contact person to be viewed after successfully logging in, and the XML document management client will pass the system according to the user's needs. The unique identifier obtains the detailed information of the specified contact. For example, if the user needs to view the detailed information of the display name "Zhang San", the user can move the mouse to "Zhang San", right-click, and select "View Details". It is also possible to save the contact details in a separate contact details document, store the contact details document on the XML document management server, and combine the system unique identifier of the contact with the contact details The address link of the document is associated. When obtaining the detailed information of the contact, first obtain the link of the detailed information document of the contact selected by the user through the unique identifier of the system, and then obtain the detailed document of the contact from the XML document management server according to the link, and the specific steps are as follows As shown in Figure 5, including:

步骤501,用户登录成功,看到客户端显示的地址本信息,选择需要查看的联系人,客户端接收用户获取指定联系人详细信息的指令;Step 501, the user logs in successfully, sees the address book information displayed by the client, selects the contact to be viewed, and the client receives an instruction from the user to obtain detailed information of the specified contact;

步骤502,XML文档管理客户端根据目录信息找到指定的联系人详细信息文档所在路径地址,向聚合代理发送获取指定联系人详细信息文档的请求;Step 502, the XML document management client finds the path address of the specified contact details document according to the directory information, and sends a request to the aggregation agent to obtain the specified contact details document;

步骤503,聚合代理路由该请求到XML文档管理服务器;Step 503, the aggregation agent routes the request to the XML document management server;

步骤504,XML文档管理服务器返回指定联系人详细信息文档给聚合代理;Step 504, the XML document management server returns the specified contact details document to the aggregation agent;

步骤505,聚合代理返回指定联系人详细信息文档给XCAP文档管理客户端。Instep 505, the aggregation agent returns the detailed information document of the specified contact to the XCAP document management client.

本发明实施例提供的一种获取网络地址本的方法,使用标准的XCAP(可扩展标记语言配置访问)协议,在添加联系人时为联系人添加系统唯一标识,并单独为联系人建立联系人详细信息文档;在获取地址本时,先获取地址本文档,再根据用户选择的联系人的系统唯一标识以及系统唯一标识与联系人详细信息文档的地址链接之间的关联关系来获取联系人详细信息文档。解决了现有技术中网络地址本只能添加具有URI的联系人,使用不方便,以及在获取地址本时获取全部联系人详细信息,浪费信息传输资源的问题。A method for obtaining a network address book provided by an embodiment of the present invention uses a standard XCAP (Extensible Markup Language Configuration Access) protocol to add a system unique identifier for a contact when adding a contact, and establish a contact for the contact separately Detailed information document; when obtaining the address book, first obtain the address book document, and then obtain the contact details according to the system unique identifier of the contact selected by the user and the association between the system unique identifier and the address link of the contact detailed information document information document. It solves the problem that only contacts with URI can be added to the network address book in the prior art, which is inconvenient to use, and the detailed information of all contacts is obtained when obtaining the address book, which wastes information transmission resources.

与上述方法相对应地,本发明实施例还提供一种XML文档管理客户端。Corresponding to the above method, the embodiment of the present invention also provides an XML document management client.

一种XML文档管理客户端,包括:An XML document management client, including:

如图6所示,地址本获取模块601,用于通过聚合代理从XML文档管理服务器获取地址本文档;As shown in FIG. 6, the addressbook obtaining module 601 is configured to obtain the address book document from the XML document management server through the aggregation agent;

联系人信息获取模块602,用于从地址本获取模块601获取的地址本文档中选择联系人,根据XML文档管理服务器自动分配的联系人的系统唯一标识,获取该联系人的详细信息。The contactinformation obtaining module 602 is configured to select a contact from the address book document obtained by the addressbook obtaining module 601, and obtain detailed information of the contact according to the system unique identifier of the contact automatically assigned by the XML document management server.

进一步地,所述XML文档管理客户端还包括:Further, the XML document management client also includes:

如图7所示,目录获取模块603,用于通过聚合代理从XML文档管理服务器获取目录文档;As shown in FIG. 7 , thedirectory obtaining module 603 is configured to obtain the directory document from the XML document management server through the aggregation agent;

子地址本获取模块604,用于解析出地址本文档中携带的子地址本文档的链接,根据该链接通过聚合代理从XML文档管理服务器获取子地址本文档。The sub-addressbook obtaining module 604 is configured to parse out the link of the sub-address book document carried in the address book document, and obtain the sub-address book document from the XML document management server through the aggregation agent according to the link.

进一步地,所述地址本获取模块具体用于,根据目录获取模块603获取的目录文档中携带的地址本文档的链接,通过聚合代理从XML文档管理服务器获取地址本文档。Further, the address book obtaining module is specifically configured to obtain the address book document from the XML document management server through the aggregation agent according to the link of the address book document carried in the directory document obtained by thedirectory obtaining module 603 .

在用户登录地址本后,由目录获取模块603通过聚合代理从XML文档管理服务器获取目录文档,用户通过所述目录文档中携带的地址本信息选择需要查看的地址本,由地址本获取模块601通过聚合代理从XML文档管理服务器获取相应的地址本文档;当所述地址本文档带有子地址本文档时,所述地址本获取模块601可以解析出地址本文档中携带的子地址本文档的链接,根据该链接通过聚合代理从XML文档管理服务器获取子地址本文档。After the user logs into the address book, thedirectory acquisition module 603 obtains the directory document from the XML document management server through the aggregation agent, and the user selects the address book to be viewed through the address book information carried in the directory document, and the addressbook acquisition module 601 passes The aggregation agent obtains the corresponding address book document from the XML document management server; when the address book document has a sub-address book document, the addressbook obtaining module 601 can parse out the link of the sub-address book document carried in the address book document , obtain the sub-address book document from the XML document management server through the aggregation agent according to the link.

当用户需要查看地址本文档中的联系人的详细信息时,选定联系人后,通过联系人信息获取模块602根据XML文档管理服务器自动分配的联系人的系统唯一标识,获取该联系人的详细信息;当所述联系人的详细信息以联系人详细信息文档的形式存储在所述XML文档管理服务器上时,联系人信息获取模块602根据该联系人的系统唯一标识,获得该联系人的联系人详细信息文档的链路,并根据所述链接获取所述联系人详细信息文档。When the user needs to view the detailed information of the contact in the address book file, after selecting the contact, the contactinformation obtaining module 602 obtains the detailed information of the contact according to the system unique identifier of the contact automatically assigned by the XML document management server. information; when the detailed information of the contact is stored on the XML document management server in the form of a contact detailed information document, the contactinformation obtaining module 602 obtains the contact of the contact according to the system unique identifier of the contact A link to a person details document, and fetches the contact details document based on the link.

进一步地,所述地址本获取模块601包括:Further, the addressbook acquisition module 601 includes:

如图8所示,链接获取单元6011,用于根据目录文档中的目录信息,获取地址本文档的链接;As shown in FIG. 8, the link acquiring unit 6011 is configured to acquire the link of the address book document according to the catalog information in the catalog document;

请求发送单元6012,用于根据链接获取单元获取的地址本文档链接,通过聚合代理向XML文档管理服务器发起获取地址本文档的请求;The request sending unit 6012 is configured to initiate a request for obtaining the address book document to the XML document management server through the aggregation proxy according to the address book document link obtained by the link obtaining unit;

文档接收单元6013,用于接收通过聚合代理XML文档管理客户端服务器返回的地址本文档。The document receiving unit 6013 is configured to receive the address book document returned by the aggregation proxy XML document management client server.

所述地址本获取模块601获取地址本的过程具体为:链接获取单元6011根据目录文档中的目录信息,获取地址本文档的链接;请求发送单元6012,用于根据链接获取单元6011获取的地址本文档链接,通过聚合代理向XML文档管理服务器发起获取地址本文档的请求;由文档接收单元6013,用于接收通过聚合代理XML文档管理客户端服务器返回的地址本文档。The process of acquiring the address book by the addressbook acquiring module 601 is specifically: the link acquiring unit 6011 acquires the link of the address book document according to the catalog information in the catalog document; the request sending unit 6012 is used to acquire the address book according to the link acquiring unit 6011 For document linking, a request for obtaining an address book document is initiated to the XML document management server through the aggregation agent; the document receiving unit 6013 is used to receive the address book document returned by the XML document management client server through the aggregation agent.

本发明的实施例还提供了一种XML文档管理服务器。The embodiment of the invention also provides an XML document management server.

一种XML文档管理服务器,包括:An XML document management server, comprising:

如图9所示,地址本文档创建模块901,用于创建地址本文档,为所述地址本文档添加联系人并为所述联系人分配系统唯一标识,以便于XML文档管理客户端根据该系统唯一标识获取该联系人的详细信息。As shown in Figure 9, the address bookdocument creation module 901 is used to create an address book document, add a contact to the address book document and assign a system unique identifier to the contact, so that the XML document management client can Unique ID to get the contact's details.

进一步地,所述XML文档管理服务器还包括:Further, the XML document management server also includes:

如图10所示,目录信息创建模块902,用于根据所述地址本文档创建包含所述地址本文档的链接的目录信息,以便于所述XML文档管理客户端根据目录文档中携带的地址本文档的链接,获取所述地址本文档创建模块创建的地址本文档;As shown in Figure 10, the directory information creation module 902 is configured to create directory information containing links to the address book document according to the address book document, so that the XML document management client can A document link to obtain the address book document created by the address book document creating module;

地址本发送模块903,用于根据XML文档管理客户端的请求,通过聚合代理将所述地址本文档发送给所述XML文档管理客户端。The address book sending module 903 is configured to send the address book document to the XML document management client through an aggregation agent according to the request of the XML document management client.

进一步地,所述地址本文档创建模块901还用于创建所述地址本文档的子地址本文档,为所述子地址本文档添加联系人并为所述联系人分配系统唯一标识,以便于XML文档管理客户端根据该系统唯一标识获取该联系人的联系人详细信息文档。Further, the address bookdocument creation module 901 is also configured to create a sub-address book document of the address book document, add a contact to the sub-address book document and assign a system unique identifier to the contact, so that XML The document management client acquires the contact details document of the contact according to the system unique identifier.

进一步地,所述地址本文档创建模块901还用于为所述联系人创建联系人详细信息文档,将所述详细信息文档的地址链接与所述联系人的系统唯一标识关联起来。Further, the address bookdocument creating module 901 is further configured to create a contact detailed information document for the contact, and associate the address link of the detailed information document with the system unique identifier of the contact.

XML文档管理服务器的地址本文档创建模块901首先创建地址本文档,并在所述地址本文档中添加联系人,为所述联系人分配系统唯一标识;可选的,所述地址本文档创建模块901还可以根据用户需要,为所述联系人创建联系人详细信息文档,将所述详细信息文档的地址链接与所述联系人的系统唯一标识关联起来。The address bookdocument creation module 901 of the XML document management server first creates an address book document, and adds a contact in the address book document, and assigns a system unique identifier to the contact person; optionally, the address bookdocument creation module 901 may also create a contact detailed information document for the contact according to the needs of the user, and associate the address link of the detailed information document with the system unique identifier of the contact.

所述XML文档管理服务器还包括:The XML document management server also includes:

联系人详细信息文档发送模块904,用于根据所述XML文档管理客户端根据所述系统唯一标识匹配获得的该联系人对应的联系人详细信息文档的链接,通过聚合代理向所述XML文档管理客户端发送联系人详细信息文档。The contact detailed information document sending module 904 is configured to, according to the link of the contact detailed information document corresponding to the contact obtained by the XML document management client according to the system unique identifier matching, send the XML document management document to the XML document management through an aggregation agent. Client sends contact details document.

当需要存储的联系人数量过多,一个地址本文档无法满足存储需求时,可以由地址本文档创建模块901在一个地址本文档下创建多个子地址本文档,所子地址本文档可以是其他的地址本文档,或其他地址本文档的组元素及子组元素;将所述地址本文档链接到原地址本文档,作为原地址本文档的一个组元素或子组元素。When there are too many contacts to be stored and one address book document cannot meet the storage requirement, the address bookdocument creation module 901 can create multiple sub-address book documents under one address book document, and the sub-address book documents can be other Address book documents, or group elements and subgroup elements of other address book documents; link the address book document to the original address book document as a group element or subgroup element of the original address book document.

在创建地址本文档完成后,所述目录信息创建模块902根据所述地址本创建模块901创建的所述地址本文档创建目录信息;所述目录信息用于向用户提供地址本信息,用户可以根据所述目录信息选择需要查看的地址本。After the address book document is created, the directory information creation module 902 creates directory information according to the address book document created by the addressbook creation module 901; the directory information is used to provide address book information to the user, and the user can according to The directory information selects the address book to be viewed.

在所述XML文档管理服务器接收到XML文档管理客户端发送的获取地址本文档的请求时,所述地址本发送模块903响应该请求,通过聚合代理将所述地址本文档发送给所述XML文档管理客户端;在所述XML文档管理服务器接收到XML文档管理客户端发送的获取联系人详细信息文档的请求时,根据该请求中携带的所述系统唯一标识对应的联系人详细信息文档的链接,通过聚合代理向所述XML文档管理客户端发送联系人详细信息文档。When the XML document management server receives the request for acquiring the address book document sent by the XML document management client, the address book sending module 903 responds to the request, and sends the address book document to the XML document through an aggregation agent Management client; when the XML document management server receives the request for obtaining the detailed contact information document sent by the XML document management client, according to the link carried in the request, the system uniquely identifies the corresponding contact detailed information document , sending the detailed information document of the contact to the XML document management client through the aggregation agent.

上述XML文档管理客户端和XML文档管理服务器,可以与本发明实施例提供的一种获取网络地址本的方法相结合,使用标准的XCAP(可扩展标记语言配置访问)协议,在添加联系人时为联系人添加系统唯一标识,并单独为联系人建立联系人详细信息文档;在获取地址本时,先获取地址本文档,再根据用户选择的联系人的系统唯一标识来获取联系人详细信息文档。解决了现有技术中网络地址本只能添加具有URI的联系人,使用不方便,以及在获取地址本时获取全部联系人详细信息,浪费信息传输资源的问题。The above-mentioned XML document management client and XML document management server can be combined with a method for obtaining the network address book provided by the embodiment of the present invention, using the standard XCAP (Extensible Markup Language Configuration Access) protocol, when adding contacts Add a system unique identifier for the contact, and create a contact detail document for the contact separately; when obtaining the address book, first obtain the address book document, and then obtain the contact detail document according to the system unique identifier of the contact selected by the user . It solves the problem that only contacts with URI can be added to the network address book in the prior art, which is inconvenient to use, and the detailed information of all contacts is obtained when obtaining the address book, which wastes information transmission resources.

本领域普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be executed when executed , including one or a combination of the steps of the method embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (17)

Translated fromChinese
1.一种获取网络地址本的方法,基于OMA XDM的业务架构,使用标准的XCAP协议,其特征在于,包括: 1. A method for obtaining a network address book, based on the business architecture of OMA XDM, using a standard XCAP protocol, characterized in that, comprising:通过聚合代理从XML文档管理服务器获取地址本文档; Obtain the address book document from the XML document management server through the aggregation agent;从地址本文档中选择联系人,根据所述XML文档管理服务器自动分配的联系人的系统唯一标识,获取该联系人的详细信息; Select a contact from the address book document, and obtain the detailed information of the contact according to the system unique identifier of the contact automatically assigned by the XML document management server;所述方法还包括创建地址本的过程,所述创建地址本的过程包括:XML文档管理服务器创建地址本文档的根元素;XML文档管理服务器在所述根元素下建立至少一个组元素,所述组元素中包含0至多个联系人、0至多个子组以及0至多个链接;XML文档管理服务器在组元素之下创建子组元素;XML文档管理服务器为原地址本文档和子地址本文档添加链接;XML文档管理服务器在所述组元素、子组元素中建立联系人元素,由XML文档管理服务器为该联系人元素分配系统唯一标识; The method also includes a process of creating an address book, the process of creating an address book includes: the XML document management server creates a root element of the address book document; the XML document management server creates at least one group element under the root element, the The group element contains 0 to multiple contacts, 0 to multiple subgroups and 0 to multiple links; the XML document management server creates a subgroup element under the group element; the XML document management server adds links to the original address book document and the sub address book document; The XML document management server establishes a contact element in the group element and the subgroup element, and the XML document management server assigns a system unique identifier to the contact element;其中,所述原地址本文档和所述子地址本文档的关系包括:当原地址本中存储的联系人过多时,通过新建子地址本文档存储原地址本文档的一部分联系人,将所述子地址本文档链接到所述原地址本文档,作为所述原地址本文档的一个组元素或子组元素;或者,将其他地址本文档中的组元素或子组元素作为原地址本的子地址本文档,将所述组元素或子组元素的链接存储到所述原地址本文档中。 Wherein, the relationship between the original address book document and the sub-address book document includes: when there are too many contacts stored in the original address book, storing a part of contacts in the original address book document by creating a new sub-address book document, and converting the The sub-address book document is linked to the original address book document as a group element or subgroup element of the original address book document; or, the group element or subgroup element in other address book documents is used as a subgroup element of the original address book document An address book document, storing the link of the group element or subgroup element in the original address book document. the2.根据权利要求1所述的获取网络地址本的方法,其特征在于,所述从地址本文档中选择联系人,根据所述XML文档管理服务器自动分配的联系人的系统唯一标识,获取该联系人的详细信息的步骤包括: 2. The method for obtaining a network address book according to claim 1, characterized in that, selecting a contact from the address book document, and obtaining the contact according to the system unique identifier of the contact automatically assigned by the XML document management server The steps for contact details include:从地址本文档中选择联系人,根据所述XML文档管理服务器自动分配的联系人的系统唯一标识,获取该联系人的联系人详细信息文档的链接; Select a contact from the address book document, and obtain the link of the contact details document of the contact according to the system unique identifier of the contact automatically assigned by the XML document management server;根据所述联系人详细信息文档的链接,获取联系人详细信息文档。 According to the link of the contact detailed information document, the contact detailed information document is obtained. the3.根据权利要求1所述的获取网络地址本的方法,其特征在于,所述通过聚合代理从XML文档管理服务器获取地址本文档的步骤包括: 3. The method for obtaining a network address book according to claim 1, wherein the step of obtaining an address book document from an XML document management server by an aggregation agent comprises:通过聚合代理从XML文档管理服务器获取目录文档,根据目录文档中携带的地址本文档的链接,获取地址本文档。 The directory document is obtained from the XML document management server through the aggregation agent, and the address book document is obtained according to the link of the address book document carried in the directory document. the4.根据权利要求3所述的获取网络地址本的方法,其特征在于,所述地址本文档还包括子地址本文档,所述根据目录文档中携带的地址本文档的链接,获取地址本文档的步骤之后还包括: 4. The method for obtaining a network address book according to claim 3, wherein the address book file further includes a sub-address book file, and the address book file is obtained according to the link of the address book file carried in the directory file After the steps also include:解析出地址本文档中携带的子地址本文档的链接,通过该链接获取子地址本文档。 The link of the sub-address book document carried in the address book document is parsed out, and the sub-address book document is obtained through the link. the5.根据权利要求3所述的获取网络地址本的方法,其特征在于,所述通过聚合代理从XML文档管理服务器获取目录文档的步骤包括: 5. the method for obtaining network address book according to claim 3, is characterized in that, the described step of obtaining catalog document from XML document management server by aggregation agent comprises:XML文档管理客户端通过聚合代理向XML文档管理服务器发起获取目录文档的请求; The XML document management client initiates a request to obtain the catalog document to the XML document management server through the aggregation agent;XML文档管理客户端通过聚合代理从XML文档管理服务器接收目录文档,所述目录文档中包含有多个XML文档管理服务器返回的目录信息。 The XML document management client receives the directory document from the XML document management server through the aggregation agent, and the directory document contains directory information returned by multiple XML document management servers. the6.根据权利要求3所述的获取网络地址本的方法,其特征在于,所述根据目录文档中携带的地址本文档的链接,获取地址本文档的步骤包括: 6. The method for obtaining a network address book according to claim 3, wherein the step of obtaining the address book document according to the link of the address book document carried in the catalog file comprises:XML文档管理客户端根据目录文档中的目录信息,获取地址本文档的链接; The XML document management client obtains the link of the address book document according to the catalog information in the catalog document;XML文档管理客户端通过聚合代理向XML文档管理服务器发起获取地址本文档的请求,所述请求中携带有地址本文档的链接; The XML document management client initiates a request to the XML document management server to obtain the address book document through the aggregation agent, and the request carries the link of the address book document;XML文档管理客户端通过聚合代理接收XML文档管理服务器返回的地址 本文档。 The XML document management client receives the address returned by the XML document management server through the aggregation agent This document. the7.根据权利要求4所述的获取网络地址本的方法,其特征在于,所述解析出地址本文档中携带的子地址本文档的链接,通过该链接获取子地址本文档的步骤包括: 7. The method for obtaining a network address book according to claim 4, wherein said parsing out the link of the sub-address book document carried in the address book document, and obtaining the sub-address book document through the link comprises:XML文档管理客户端解析地址本文档,得到所述地址本文档的子地址本文档的链接; The XML document management client parses the address book document, and obtains the link of the sub-address book document of the address book document;XML文档管理客户端根据所述子地址本文档的链接通过聚合代理向XML文档管理服务器发出获取子地址本文档的请求; The XML document management client sends a request to obtain the sub-address book document to the XML document management server through the aggregation proxy according to the link of the sub-address book document;XML文档管理客户端通过聚合代理接收XML文档管理服务器返回的子地址本文档。 The XML document management client receives the sub-address book document returned by the XML document management server through the aggregation agent. the8.根据权利要求2所述的获取网络地址本的方法,其特征在于,所述根据所述联系人详细信息文档的链接,获取联系人详细信息文档的步骤包括: 8. The method for obtaining a network address book according to claim 2, wherein the step of obtaining the detailed information document of the contact according to the link of the detailed information document of the contact comprises:XML文档管理客户端根据所述联系人详细信息文档的链接通过聚合代理向XML文档管理服务器发起查看联系人详细信息文档的请求; The XML document management client initiates a request to view the contact detail information document to the XML document management server through the aggregation proxy according to the link of the contact detail information document;XML文档管理客户端通过聚合代理接收XML文档管理服务器返回的联系人详细信息文档。 The XML document management client receives the contact details document returned by the XML document management server through the aggregation agent. the9.一种XML文档管理客户端,基于OMA XDM的业务架构,使用标准的XCAP协议,其特征在于,包括: 9. An XML document management client, based on the business framework of OMA XDM, uses the standard XCAP protocol, is characterized in that, comprising:地址本获取模块,用于通过聚合代理从XML文档管理服务器获取地址本文档; The address book obtaining module is used to obtain the address book document from the XML document management server through the aggregation agent;联系人信息获取模块,用于从地址本获取模块获取的地址本文档中选择联系人,根据XML文档管理服务器自动分配的联系人的系统唯一标识,获取该联系人的详细信息; The contact information acquisition module is used to select a contact from the address book document obtained by the address book acquisition module, and obtain the detailed information of the contact according to the system unique identifier of the contact automatically assigned by the XML document management server;其中,所述XML文档管理服务器用于创建地址本文档的根元素;在所述根元素下建立至少一个组元素,所述组元素中包含0至多个联系人、0至多个子组以及0至多个链接;在组元素之下创建子组元素;为原地址本文档和子地址本文档添加链接;在所述组元素、子组元素中建立联系人元素,为该联系人元素分配系统唯一标识Wherein, the XML document management server is used to create the root element of the address book document; at least one group element is established under the root element, and the group element includes 0 to multiple contacts, 0 to multiple subgroups, and 0 to multiple link; create a subgroup element under the group element; add links to the original address book document and the subaddress book document; establish a contact element in the group element and subgroup element, and assign a system unique identifier to the contact element;所述原地址本文档和所述子地址本文档的关系包括:当原地址本中存储的联系人过多时,通过新建子地址本文档存储原地址本文档的一部分联系人,将所述子地址本文档链接到所述原地址本文档,作为所述原地址本文档的一个组元素或子组元素;或者,将其他地址本文档中的组元素或子组元素作为原地址本的子地址本文档,将所述组元素或子组元素的链接存储到所述原地址本文档中。 The relationship between the original address book document and the sub-address book document includes: when there are too many contacts stored in the original address book, a new sub-address book document is used to store a part of the contacts in the original address book document, and the sub-address This document links to the original address book document as a group element or subgroup element of the original address book document; or, uses a group element or subgroup element in another address book document as a subaddress book of the original address book document, storing the link of the group element or subgroup element in the original address book document. the10.根据权利要求9所述的XML文档管理客户端,其特征在于,还包括: 10. The XML document management client according to claim 9, further comprising:目录获取模块,用于通过聚合代理从XML文档管理服务器获取目录文档; The directory acquisition module is used to obtain the directory document from the XML document management server through the aggregation agent;所述地址本获取模块具体用于,根据目录获取模块获取的目录文档中携带的地址本文档的链接,通过聚合代理从XML文档管理服务器获取地址本文档。 The address book obtaining module is specifically configured to obtain the address book document from the XML document management server through the aggregation agent according to the link of the address book document carried in the directory document obtained by the directory obtaining module. the11.根据权利要求9所述的XML文档管理客户端,其特征在于,还包括: 11. The XML document management client according to claim 9, further comprising:子地址本获取模块,用于解析出地址本文档中携带的子地址本文档的链接,根据该链接通过聚合代理从XML文档管理服务器获取子地址本文档。 The sub-address book obtaining module is configured to parse out the link of the sub-address book document carried in the address book document, and obtain the sub-address book document from the XML document management server through the aggregation agent according to the link. the12.根据权利要求10所述的XML文档管理客户端,其特征在于,所述地址本获取模块包括: 12. XML document management client according to claim 10, is characterized in that, described address book obtaining module comprises:链接获取单元,用于根据目录文档中的目录信息,获取地址本文档的链接; The link acquisition unit is used to acquire the link of the address book document according to the directory information in the directory document;请求发送单元,用于根据链接获取单元获取的地址本文档链接,通过聚合代理向XML文档管理服务器发起获取地址本文档的请求; The request sending unit is used to initiate a request for obtaining the address book document to the XML document management server through the aggregation agent according to the link of the address book document obtained by the link obtaining unit;文档接收单元,用于接收通过聚合代理XML文档管理客户端服务器返回的地址本文档。 The document receiving unit is configured to receive the address book document returned by the aggregation proxy XML document management client server. the13.一种XML文档管理服务器,基于OMA XDM的业务架构,使用标准的XCAP协议,其特征在于,包括: 13. An XML document management server, based on the business architecture of OMA XDM, uses a standard XCAP protocol, is characterized in that, comprising:地址本文档创建模块,用于创建地址本文档,为所述地址本文档添加联系人并为所述联系人分配系统唯一标识,以便于XML文档管理客户端根据该系统唯一标识获取该联系人的详细信息; The address book document creation module is used to create an address book document, add a contact to the address book document and assign a system unique identifier to the contact, so that the XML document management client can obtain the contact's ID according to the system unique identifier details;其中,所述XML文档管理服务器具体用于:创建地址本文档的根元素;在所述根元素下建立至少一个组元素,所述组元素中包含0至多个联系人、0至多个子组以及0至多个链接;在组元素之下创建子组元素;为原地址本文档和子地址本文档添加链接;在所述组元素、子组元素中建立联系人元素,为该联系人元素分配系统唯一标识Wherein, the XML document management server is specifically configured to: create a root element of the address book document; establish at least one group element under the root element, and the group element includes 0 to multiple contacts, 0 to multiple subgroups, and 0 To multiple links; create a subgroup element under the group element; add links to the original address book document and the subaddress book document; create a contact element in the group element and subgroup element, and assign a system unique identifier to the contact element;所述原地址本文档和所述子地址本文档的关系包括:当原地址本中存储的联系人过多时,通过新建子地址本文档存储原地址本文档的一部分联系人,将所述子地址本文档链接到所述原地址本文档,作为所述原地址本文档的一个组元素或子组元素;或者,将其他地址本文档中的组元素或子组元素作为原地址本的子地址本文档,将所述组元素或子组元素的链接存储到所述原地址本文档中。 The relationship between the original address book document and the sub-address book document includes: when there are too many contacts stored in the original address book, a new sub-address book document is used to store a part of the contacts in the original address book document, and the sub-address This document links to the original address book document as a group element or subgroup element of the original address book document; or, uses a group element or subgroup element in another address book document as a subaddress book of the original address book document, storing the link of the group element or subgroup element in the original address book document. the14.根据权利要求13所述的XML文档管理服务器,其特征在于,还包括: 14. The XML document management server according to claim 13, further comprising:目录信息创建模块,用于根据所述地址本文档创建包含所述地址本文档的链接的目录信息,以便于所述XML文档管理客户端根据目录文档中携带的地址本文档的链接,获取所述地址本文档创建模块创建的地址本文档。 A directory information creation module, configured to create directory information containing links to the address book documents according to the address book documents, so that the XML document management client can obtain the The address book document created by the address book document creation module. the15.根据权利要求13所述的XML文档管理服务器,其特征在于,所述地 址本文档创建模块还用于创建所述地址本文档的子地址本文档,为所述子地址本文档添加联系人并为所述联系人分配系统唯一标识,以便于XML文档管理客户端根据该系统唯一标识获取该联系人的详细信息。 15. The XML document management server according to claim 13, wherein the address book document creation module is also used to create a sub-address book document of the address book document, and add a link to the sub-address book document and assign a system unique identifier to the contact, so that the XML document management client can obtain the detailed information of the contact according to the system unique identifier. the16.根据权利要求13或15所述的XML文档管理服务器,其特征在于,所述地址本文档创建模块还用于为所述联系人创建联系人详细信息文档,将所述详细信息文档的地址链接与所述联系人的系统唯一标识关联起来; 16. The XML document management server according to claim 13 or 15, wherein the address book document creation module is also used to create a contact detailed information document for the contact, and the address of the detailed information document The link is associated with the system unique identifier of said contact;所述XML文档管理服务器还包括, The XML document management server also includes,联系人详细信息文档发送模块,用于根据所述XML文档管理客户端根据所述系统唯一标识匹配获得的该联系人对应的联系人详细信息文档的链接,通过聚合代理向所述XML文档管理客户端发送联系人详细信息文档。 The contact detailed information document sending module is used to send the XML document management client to the XML document management client through the aggregation agent according to the link of the contact detailed information document corresponding to the contact obtained by the XML document management client according to the system unique identifier matching The client sends the contact details document. the17.根据权利要求13所述的XML文档管理服务器,其特征在于,还包括:地址本发送模块,用于根据XML文档管理客户端的请求,通过聚合代理将所述地址本文档发送给所述XML文档管理客户端。 17. The XML document management server according to claim 13, further comprising: an address book sending module, configured to send the address book document to the XML document through an aggregation agent according to the request of the XML document management client Document management client. the
CN 2008101892982008-12-302008-12-30Method for obtaining network address notebook and device for realizing network address notebookExpired - Fee RelatedCN101771731B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN 200810189298CN101771731B (en)2008-12-302008-12-30Method for obtaining network address notebook and device for realizing network address notebook

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN 200810189298CN101771731B (en)2008-12-302008-12-30Method for obtaining network address notebook and device for realizing network address notebook

Publications (2)

Publication NumberPublication Date
CN101771731A CN101771731A (en)2010-07-07
CN101771731Btrue CN101771731B (en)2013-06-12

Family

ID=42504318

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN 200810189298Expired - Fee RelatedCN101771731B (en)2008-12-302008-12-30Method for obtaining network address notebook and device for realizing network address notebook

Country Status (1)

CountryLink
CN (1)CN101771731B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104853326A (en)*2015-05-292015-08-19小米科技有限责任公司Method and device for sharing cloud card

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1713674A (en)*2004-06-252005-12-28华为技术有限公司 A kind of phonebook system and mobile terminal phonebook updating and calling method
CN101039485A (en)*2007-04-162007-09-19中兴通讯股份有限公司Apparatus and method for processing dynamic number book of mobile terminal
EP1862932A1 (en)*2006-06-022007-12-05Tietoenator OyjManaging information in XML document management architecture

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1713674A (en)*2004-06-252005-12-28华为技术有限公司 A kind of phonebook system and mobile terminal phonebook updating and calling method
EP1862932A1 (en)*2006-06-022007-12-05Tietoenator OyjManaging information in XML document management architecture
CN101039485A (en)*2007-04-162007-09-19中兴通讯股份有限公司Apparatus and method for processing dynamic number book of mobile terminal

Also Published As

Publication numberPublication date
CN101771731A (en)2010-07-07

Similar Documents

PublicationPublication DateTitle
US20070049258A1 (en)System and method of mobile to desktop document interaction using really simple syndication
CN102087723A (en)Method, system and device for sharing enterprise address book
US8583743B1 (en)System and method for message gateway consolidation
US20100198854A1 (en)System and method for searching multiple contact information sources in a network-based address book system
KR101685215B1 (en)Automatic discovery of alternate mailboxes
CN102238106A (en) News Feed Technology
KR20120036831A (en)Integrating updates into a social-networking service
CN103532833B (en)Business system access method, terminal and agency service system
CA2819359A1 (en)Using text messages to interact with spreadsheets
CN102694830B (en)A kind of mthods, systems and devices realizing Web content and share
CN103501241B (en)Method, device and system for cleaning useless files
US9258377B2 (en)Publish information on website
WO2009076910A1 (en)Document management method, system and correlated device
US8458122B2 (en)Document management systems, apparatuses and methods configured to provide document notification
WO2021093673A1 (en)E-mail sending method, apparatus and device, and computer-readable storage medium
CN114490889A (en)Configuration information processing method, device, equipment, medium and program product
CN101771928B (en)Method and system and proxy server for Webpage transmitting
JP2002358257A (en) Information exchange system, information communication terminal, information exchange method, program, and recording medium
CN101170540A (en) A XML document management method and its client and server
CN103078782A (en)Friend note recommendation note implementation method and system
US20080313287A1 (en)E-mail publishing of photos to photo albums
US8826026B2 (en)Systems and methods for tracking electronic files in computer networks using electronic signatures
CN112600847B (en) A business processing method, system, electronic device, and storage medium
US20140115076A1 (en)Anonymous Notification System and Method with Reduced Traceability on End Device
CN101771731B (en)Method for obtaining network address notebook and device for realizing network address notebook

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:20130612


[8]ページ先頭

©2009-2025 Movatter.jp