







技术领域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 address
图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,
步骤102、从地址本文档中选择联系人,根据
所述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,
本步骤中,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文档管理服务器创建组元素;
本步骤中,XML文档管理服务器在步骤201建立的根元素下,建立至少一个组元素;所述组元素中包含0个至多个联系人,0个至多个子组,0个至多个链接。In this step, the XML document management server creates at least one group element under the root element established in
所述组元素包含一个用来与其他组元素区别的必选“标志”属性,由客户端自动生成,不需要由用户自定义。组元素还包含一个可选属性“显示名称”,可以用户自定义,例如我们可以设为“同学”、“同事”、“家人”、“老师”。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文档管理服务器创建子组元素;
可选的,在组元素之下可以创建子组元素,子组元素用来表示组的嵌套,其特征与组元素相同。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文档管理服务器为原地址本文档和子地址本文档添加链接;
可选的,当原地址本中存储的联系人过多时,可以通过新建子地址本文档存储原地址本文档的一部分联系人,并将所述地址本文档链接到原地址本文档,作为原地址本文档的一个组元素或子组元素。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文档管理服务器在地址本文档中添加联系人;
本步骤中,在所述组元素、子组元素中建立联系人元素,由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文档管理服务器建立联系人详细信息文档;
本步骤中,为联系人建立详细信息文档,在所述详细信息文档中存储所述联系人的信息,并将详细信息文档地址链接与该联系人元素的系统唯一标识关联起来。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文档管理客户端接收用户获取指定子地址本的指令;
步骤402,XML文档管理客户端根据链接信息找到指定子地址本文档的链接,向聚合代理发送获取指定子地址本文档的请求,所述请求中携带有所述链接;
步骤403,聚合代理路由该请求到相应的XML文档管理服务器;
步骤404,XML文档管理服务器返回指定的子地址本文档给聚合代理;
步骤405,聚合代理返回指定的子地址本文档给XML文档管理客户端。
在本实施例中,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,用户登录成功,看到客户端显示的地址本信息,选择需要查看的联系人,客户端接收用户获取指定联系人详细信息的指令;
步骤502,XML文档管理客户端根据目录信息找到指定的联系人详细信息文档所在路径地址,向聚合代理发送获取指定联系人详细信息文档的请求;
步骤503,聚合代理路由该请求到XML文档管理服务器;
步骤504,XML文档管理服务器返回指定联系人详细信息文档给聚合代理;
步骤505,聚合代理返回指定联系人详细信息文档给XCAP文档管理客户端。In
本发明实施例提供的一种获取网络地址本的方法,使用标准的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 address
联系人信息获取模块602,用于从地址本获取模块601获取的地址本文档中选择联系人,根据XML文档管理服务器自动分配的联系人的系统唯一标识,获取该联系人的详细信息。The contact
进一步地,所述XML文档管理客户端还包括:Further, the XML document management client also includes:
如图7所示,目录获取模块603,用于通过聚合代理从XML文档管理服务器获取目录文档;As shown in FIG. 7 , the
子地址本获取模块604,用于解析出地址本文档中携带的子地址本文档的链接,根据该链接通过聚合代理从XML文档管理服务器获取子地址本文档。The sub-address
进一步地,所述地址本获取模块具体用于,根据目录获取模块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 the
在用户登录地址本后,由目录获取模块603通过聚合代理从XML文档管理服务器获取目录文档,用户通过所述目录文档中携带的地址本信息选择需要查看的地址本,由地址本获取模块601通过聚合代理从XML文档管理服务器获取相应的地址本文档;当所述地址本文档带有子地址本文档时,所述地址本获取模块601可以解析出地址本文档中携带的子地址本文档的链接,根据该链接通过聚合代理从XML文档管理服务器获取子地址本文档。After the user logs into the address book, the
当用户需要查看地址本文档中的联系人的详细信息时,选定联系人后,通过联系人信息获取模块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 contact
进一步地,所述地址本获取模块601包括:Further, the address
如图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 address
本发明的实施例还提供了一种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 book
进一步地,所述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 book
进一步地,所述地址本文档创建模块901还用于为所述联系人创建联系人详细信息文档,将所述详细信息文档的地址链接与所述联系人的系统唯一标识关联起来。Further, the address book
XML文档管理服务器的地址本文档创建模块901首先创建地址本文档,并在所述地址本文档中添加联系人,为所述联系人分配系统唯一标识;可选的,所述地址本文档创建模块901还可以根据用户需要,为所述联系人创建联系人详细信息文档,将所述详细信息文档的地址链接与所述联系人的系统唯一标识关联起来。The address book
所述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 book
在创建地址本文档完成后,所述目录信息创建模块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 address
在所述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.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200810189298CN101771731B (en) | 2008-12-30 | 2008-12-30 | Method for obtaining network address notebook and device for realizing network address notebook |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200810189298CN101771731B (en) | 2008-12-30 | 2008-12-30 | Method for obtaining network address notebook and device for realizing network address notebook |
| Publication Number | Publication Date |
|---|---|
| CN101771731A CN101771731A (en) | 2010-07-07 |
| CN101771731Btrue CN101771731B (en) | 2013-06-12 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200810189298Expired - Fee RelatedCN101771731B (en) | 2008-12-30 | 2008-12-30 | Method for obtaining network address notebook and device for realizing network address notebook |
| Country | Link |
|---|---|
| CN (1) | CN101771731B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104853326A (en)* | 2015-05-29 | 2015-08-19 | 小米科技有限责任公司 | Method and device for sharing cloud card |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1713674A (en)* | 2004-06-25 | 2005-12-28 | 华为技术有限公司 | A kind of phonebook system and mobile terminal phonebook updating and calling method |
| CN101039485A (en)* | 2007-04-16 | 2007-09-19 | 中兴通讯股份有限公司 | Apparatus and method for processing dynamic number book of mobile terminal |
| EP1862932A1 (en)* | 2006-06-02 | 2007-12-05 | Tietoenator Oyj | Managing information in XML document management architecture |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1713674A (en)* | 2004-06-25 | 2005-12-28 | 华为技术有限公司 | A kind of phonebook system and mobile terminal phonebook updating and calling method |
| EP1862932A1 (en)* | 2006-06-02 | 2007-12-05 | Tietoenator Oyj | Managing information in XML document management architecture |
| CN101039485A (en)* | 2007-04-16 | 2007-09-19 | 中兴通讯股份有限公司 | Apparatus and method for processing dynamic number book of mobile terminal |
| Publication number | Publication date |
|---|---|
| CN101771731A (en) | 2010-07-07 |
| Publication | Publication Date | Title |
|---|---|---|
| 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 |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20130612 |