WO2009024099A1 - A method to implement network directory inquiries and a network directory inquiries server - Google Patents
A method to implement network directory inquiries and a network directory inquiries server Download PDFInfo
- Publication number
- WO2009024099A1 WO2009024099A1 PCT/CN2008/072107 CN2008072107W WO2009024099A1 WO 2009024099 A1 WO2009024099 A1 WO 2009024099A1 CN 2008072107 W CN2008072107 W CN 2008072107W WO 2009024099 A1 WO2009024099 A1 WO 2009024099A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- address book
- network address
- request
- data format
- user
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method for implementing a network address book and a network address book server. Background technique
- the network address book can be divided into XML-based (extensible markup language) document management service (XDMS, XML Document Management Service) and personal information manager (PIM, Personal Information Manager)-based network according to stored data elements. address book.
- XDMS extensible markup language
- PIM personal information manager
- China Mobile's "book manager” provides a typical network address book service based on PIM data. Through the “book manager", users can keep the phone book information in the mobile phone through the mobile network and the server. Consistent, and can be managed through a variety of terminals and access methods, the data management operations of the directory manager to the network address book, such as synchronization, import, export, etc., operate according to the format defined by PIM.
- the functions provided by the directory manager system include : Basic information management functions and value-added service functions based on address book implementation.
- the basic information management functions include: (1) querying, adding, modifying, and deleting contact information in the directory manager system; and contacting the directory manager system.
- Persons perform classification operations, such as adding, modifying, transferring, deleting, and sorting; (2) importing contact information into the directory manager system in batches, and exporting contact information in batches from the directory manager system; (3) batches Inherit the contact information and classification information owned by other users; (4) The system also performs import operations Keep the history record so that the user can check it at any time; (5) Provide the contact information recycle bin function. When the user is not sure whether to delete a contact information completely, it can be saved to the recycle bin first, and the restore operation can be realized later.
- a network address book based on the XML Document Management Service is a network address book implemented in accordance with international standards defined by the Open Mobile Alliance (OMA).
- OMA Open Mobile Alliance
- the address book data in the network address book based on the XML document management service is stored in the OMA self-defined XML document, and the user can add, modify, delete, etc. the address book data in the network on the client side.
- the XML Address Management Service's Network Address Book provides an interface to third-party applications through which third-party applications can obtain network address book data.
- the existing network address book provides a static address book data storage service for the user, and the user can only support the network address book.
- the data format to operate on the data in the network storage greatly limits the scope of application of the network address book. Summary of the invention
- Embodiments of the present invention provide a method for implementing a network address book and a network address book service.
- the data format in the request is inconsistent with the data format stored in the network address book
- the data format in the request or the data format stored in the network address book is converted.
- the embodiment of the invention further provides a network address book server, including:
- a storage unit configured to store information of a network address book
- An access unit configured to receive a request to operate on a network address book
- a storage control unit configured to receive, by the access unit, the operation request, when a data format in the request is inconsistent with a data format stored in the storage unit, a data format in the request or the network The data format stored in the address book is converted.
- a saving unit configured to acquire and save dynamic information of a network address book user friend
- a receiving unit configured to receive a query request of the network address book user for the friend dynamic information
- a sending unit configured to save the dynamic information of the saving unit Information is sent to the network address book user.
- the network address book user after receiving the request information for operating the network address book, if the data format in the request information is different from the data format of the data information stored in the network address book, performing according to the requested category The requested operation and data format conversion. Therefore, the network address book user can operate the network address book without supporting the information data format in the network address book, and expands the application range of the network address book.
- the dynamic information of the network address book user friend is saved in the network address book.
- the network address book user wants to communicate with the friend the current address information of the friend can be queried through the network address book, and the latest communication method and friend are selected. Communicate, which improves the user's feelings.
- FIG. 1 is a flowchart of a method for implementing a network address book according to Embodiment 1 of the present invention
- FIG. 2 is a flowchart of a method for implementing a network address book according to Embodiment 2 of the present invention
- FIG. 3 is a network address according to Embodiment 3 of the present invention
- FIG. 4 is a flowchart of a method for implementing a network address book according to Embodiment 4 of the present invention
- FIG. 5 is a schematic diagram of a device for implementing a network address book according to Embodiment 5 of the present invention
- FIG. 7 is a schematic diagram of an apparatus for implementing a network address book according to Embodiment 7 of the present invention
- FIG. 8 is a schematic diagram of an apparatus for implementing a network address book according to Embodiment 8 of the present invention.
- Embodiments of the present invention provide a method for implementing a network address book and a network address book server, which are used to enable a network address book user to operate a network address book without supporting a network address book to store a data format, and to make a network address
- the user of the book obtains the dynamic information of the user of the network address book, and the user of the network address book selects the best communication method to communicate with the friend through the dynamic information of the friend.
- FIG. 1 it is a flowchart provided by Embodiment 1 of the present invention:
- step 102 Verify that the initiator of the request has the right to perform the operation; if not, go to step 103, and if yes, go to step 104;
- step 104 Compare whether the supported data format indicated in the request is consistent with the data format stored in the network address book, if yes, go to step 105, otherwise, go to step 106;
- step 105 Perform the requested operation, proceed to step 107;
- 106 Perform the requested operation according to the requested operation category and perform data format conversion. For example, a request sent by a user of a network address book indicates that the PIM format is supported, and the information in the network address book network storage in the system is Is based on the XML file information, then the information based on the XML file is converted into PIM format, and then proceeds to step 107;
- the performing the requested operation according to the requested category and performing data format conversion includes: performing data format conversion before performing the requested operation according to the category of the request; or, according to the request
- the class performs a data format conversion after performing the requested operation. For example, a request to add network address book data needs to convert the added data before the operation, and a request to obtain the network address book data needs to perform data format conversion on the acquired data after the request operation.
- the operating the network address book includes: modifying a network address book; or acquiring network address book related information, and performing data synchronization with the network address book.
- the modification of the network address book operation request may be an operation of adding, deleting or modifying a certain information.
- the network address book user includes: an owner user of the network address book; or a user authorized to use the network address book application service.
- the network address book user can be operated on the network address book without supporting the network address book storage data format.
- FIG. 2 is a flowchart of a method for implementing a network address book according to Embodiment 2 of the present invention: 201: Acquire dynamic information of a user friend of a network address book, and save the dynamic information in the network address book, a network address book The user selects a manner of communicating with the friend through the dynamic information. For example, the network address book user has authorized the friend in the network address book, and the network address book interacts with the XML document management service (XDMS) to obtain the friend dynamic information in the address book, including:
- XDMS XML document management service
- the network address book and the presence obtain the dynamic information of the friends in the user's network address book through the subscription mechanism provided by the presence service.
- the possible information includes: the current user's status, the user's preferred communication method, and the like.
- the Network Address Book and Device Profile Evolution (DPE) service implements interaction through the interface provided by the DPE to other applications to obtain device information.
- the network address book obtains the device capabilities of the friends in the network address book through the DPE.
- step 203 Verify that the initiator of the request has the right to perform the operation; if not, execute step 204, and if yes, go to step 205;
- step 205 Compare the supported data format indicated in the request with the data format stored in the network address book, if yes, go to step 206, otherwise, go to step 207;
- step 206 Perform the requested operation, proceeds to step 208;
- 207 Perform the requested operation according to the requested category and perform data format conversion. For example, a request sent by a user of a network address book indicates that the PIM format is supported, and the information in the network address book network storage in the system is ⁇ ⁇ The information in the XML file, then the information based on the XML file is converted into PIM format, and then proceeds to step 208;
- the performing the requested operation according to the requested category and performing data format conversion includes: performing data format conversion before performing the requested operation according to the category of the request; or, according to the request
- the class performs a data format conversion after performing the requested operation. For example, a request to add network address book data requires conversion of the added data before the operation, and a request to acquire the network address book data requires a data format conversion of the acquired data after the request operation.
- the operating the network address book includes: modifying a network address book; or Obtaining network address book data; or synchronizing data with the network address book.
- the modification of the network address book operation request may be an operation of adding, deleting or modifying a certain information.
- the network address book user includes: an owner user of the network address book; or a user authorized to use the network address book application service.
- the network address book user can also operate the network address book without supporting the network address book to store the data format, and enable the network address book user to obtain the dynamic information of the network address book user friend, the network address.
- the book user communicates with the friend by selecting the best communication method through the dynamic information of the friend.
- step 207 Before performing the request requested by the user in step 207, check the settings of the address book format conversion by the operator or/and the user, including: whether to allow the conversion of the address book format, whether to allow the current address book format to be converted into a specific other The address book format, if not, rejects the user request, returns an error message, and if so, proceeds to the next step.
- the network address book dynamically obtains the information of the network address book user friend, so that the network address book user can select the data format supported by the friend to communicate with the friend.
- the fused address book used in the user of the IP-based Converged IP Messaging is taken as an example to illustrate the specific process.
- the process of dynamically obtaining the user buddy information in the network address book in other application scenarios is similar.
- the process of acquiring the receiver-to-message service support information by using the converged address book and transmitting the message according to the information is as follows:
- CPM users configure other communication objects to support non-CPM service in the converged address book.
- the CPM user sends a communication establishment request to the CPM capability center unit, where the information that can identify the other party is carried, and the request may be session-independent information or may be related to the session.
- Session establishment request ;
- the CPM capability center unit uses the called party identification information in the received communication request to query the fused address book unit for the message service support capability of the called user.
- the fused address book unit searches the local database, and the obtained support capability information about the message service of the called user is returned to the CPM capability center unit, and when the returned called user supports the message service, the content is empty, indicating that the fused address book is in the fused address book. There is no relevant information about the called user;
- the CPM capability center unit performs processing related to service control, for example, according to the obtained support capability of the called user's message service, determining that the communication request needs to be forwarded to the interworking unit for processing;
- the CPM capability center unit adds information about the support capability of the called user to the message service in the communication request message, and then sends the communication request to the interworking unit.
- the interworking unit determines, according to the obtained message service support capability indication about the called user, which non-CPM message service is used for message conversion, and sends the message to the corresponding message gateway.
- the interworking unit sends a response message of the called user to the CPM capability center unit.
- the CPM capability center unit sends a response message of the called user to the converged address book unit.
- the fused address book unit sends a response message of the called user to the CPM user.
- the response message of the called user can also be directly sent to the user through the CPM capability center unit, that is, the above step 310 is omitted.
- the network address book can aggregate the dynamic information of the network address book user friends, and the network address book user selects the best communication method through the dynamic information of the friend to communicate with the friend.
- FIG. 4 it is a flowchart of a method for implementing a network address book according to Embodiment 4 of the present invention, which includes:
- 401 Obtain dynamic information of a network address book user friend, and save the dynamic information in the network address book; for example, obtain configuration information, contact list information, and specified group information of a network address book user friend; or Current status, preferred communication method; or, device capability.
- the network address book user can obtain the dynamic information of the network address book user friend, and the network address book user selects the best communication method to communicate with the friend through the dynamic information of the friend.
- Embodiment 5 is a schematic diagram of an apparatus for implementing a network address book according to Embodiment 5 of the present invention, which includes:
- the storage unit 501 is configured to store information of the network address book, and the stored data format is determined according to the setting of the system, and may be information based on the XML file, or may be PIM information;
- the accessing unit 502 is configured to receive a request for operating the network address book, where the request includes: modifying a network address book, acquiring network address book related information, and performing data synchronization with the network address book, where the request further carries a network address book The network address book data format supported by the user and the application using the network address book user.
- a storage control unit 503, configured to receive the operation request from the access unit 502, if the data format in the request is inconsistent with the data format stored in the storage unit 501, according to the type of the request, such as modifying the network address book Obtaining network address book related information or performing data synchronization with the network address book, performing corresponding operations on the information of the storage unit 501, and performing data format conversion;
- the format requested by the user can be converted to the format of the information stored in the network address book according to the type of the request.
- the network address book user can be operated on the network address book without supporting the network address book storage data format.
- FIG. 6 is a schematic diagram of a device for implementing a network address book according to Embodiment 6 of the present invention, where Includes:
- the apparatus provided in this embodiment is added to the apparatus provided in the fifth embodiment: an authentication unit 601, configured to verify whether the initiator of the request has the right to perform the operation, and if not, return a failure response message; If so, the request is forwarded to the storage control unit 503.
- an authentication unit 601 configured to verify whether the initiator of the request has the right to perform the operation, and if not, return a failure response message; If so, the request is forwarded to the storage control unit 503.
- the network address book user can also operate the network address book without supporting the network address book storage data format, and the operation of the network address book is further improved due to the increased authentication of the user. Safety.
- FIG. 7 is a schematic diagram of an apparatus for implementing a network address book according to Embodiment 7 of the present invention, including:
- the storage unit 501 is configured to store information of the network address book, and the stored data format is determined according to the setting of the system, and may be information based on the XML file, or may be PIM information;
- the accessing unit 502 is configured to receive a request for operating the network address book, where the request includes: modifying a network address book, acquiring network address book related information, and performing data synchronization with the network address book, where the request further carries a network address book The network address book data format supported by the user and the application using the network address book user.
- a storage control unit 503 configured to receive the operation request from the access unit, if the data format in the request is inconsistent with a data format stored in the storage unit, according to a type of the request, such as modifying a network address book, acquiring
- the network address book related information is synchronized with the network address book, performs corresponding operations on the network address book, and performs data format conversion; when performing data format conversion, if a request sent by a user of a network address book is indicated as Support PIM format, and the information in the network address book network storage in the system is based on the information of the XML file, then the information based on the XML file is converted into the PIM format.
- the request sent by the user of a network address book is indicated as Support XML format
- the information in the network address book network storage in the system is based on the information of the PIM file
- the information based on the XML file is converted into the PIM format; similarly, the format requested by the user can be converted into the format according to the type of the request.
- the format of the information stored in the network address book is indicated as Support XML format, and the information in the network address book network storage in the system is based on the information of the PIM file, then the information based on the XML file is converted into the PIM format; similarly, the format requested by the user can be converted into the format according to the type of the request.
- the format of the information stored in the network address book is indicated as Support XML format
- the information aggregation control unit 701 is configured to acquire a network related application that provides information, such as a presentation, an XML document management service, and a device attribute evolution, by using a registration or an active manner according to a system setting. Dynamic information of the address book user friend, sending the dynamic information to the storage control unit
- the storage control unit 503 sends the dynamic information to the network address book user according to the user's request or directly.
- the dynamic information of the network address book user friend acquired by the information aggregation control unit 701 may be saved by the information aggregation control unit 701; or may be directly sent to the storage control unit 503, and stored by the storage control unit 503.
- the dynamic information described above may also be stored by the storage unit 501, and the storage control unit 503 transmits the dynamic information stored in the storage unit 501 to the user according to the request of the user.
- the network address book user can also operate the network address book without supporting the network address book to store the data format, and enable the network address book user to obtain the dynamic information of the network address book user friend, the network address.
- the book user communicates with the friend by selecting the best communication method through the dynamic information of the friend.
- the device provided in this embodiment may further include: an authentication unit
- FIG. 8 is a schematic diagram of an apparatus for implementing a network address book according to Embodiment 8 of the present invention, including:
- a saving unit 801 configured to acquire and save dynamic information of a network address book user friend
- a receiving unit 802 configured to receive a query request of the network address book user for the friend dynamic information
- a sending unit 803, configured to send the dynamic information to The network address book user.
- the network address book user obtains the dynamic information of the network address book user friend, and the network address book user selects the best communication mode to communicate with the friend through the dynamic information of the friend.
- the foregoing embodiment describes the conversion between the PIM format and the data format based on the XML file in the process of implementing the technical solution of the present invention.
- there may be other Conversion between data formats such as data formats based on Hypertext Markup Language (HTML) files, and XML-based texts The conversion between the data formats of the pieces.
- HTML Hypertext Markup Language
- the embodiment of the present invention has the following beneficial effects: After receiving the request for operation on the network address book, if the initiator of the verification request has the right to perform the requested operation, if the data format and network address in the request are The data format stored in the book is inconsistent, the requested operation is performed according to the requested category, and the data format conversion is performed. Therefore, the network address book user can also access the network address book without supporting the network address book to store the data format.
- the operation expands the application scope of the network address book; and, because the dynamic information of the network address book user friend is saved in the network address book, when the network address book user wants to communicate with the friend, the network address book can be queried. The current dynamic information of the friend, selecting the most recent communication method to communicate with the friend, thereby improving the user's feelings.
- the above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A method to implement network directory inquiries is disclosed. The method includes the following steps. The requests for operating network directory inquiries are received. If the data formats contained in said requests, which are supported by users' equipment, are inconsistent with the formats stored in network directory inquiries, the data formats contained in said requests are transformed and said operation is implemented according to the styles of said requests. A concerned network directory inquiries server is disclosed. A user, who uses network directory inquiries, can operate said network directory inquiries even when the formats stored in network directory inquiries are not supported by the user's equipment. The scope of the applications of the network directory inquiries is enlarged.
Description
网络地址簿的实现方法和网络地址簿服务器 本申请要求于 2007 年 08 月 23 日提交中国专利局、 申请号为 200710146120.2、发明名称为"网络地址簿的实现方法和网络地址簿服务器" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 Network address book implementation method and network address book server This application claims to be submitted to the Chinese Patent Office on August 23, 2007, the application number is 200710146120.2, and the invention name is "network address book implementation method and network address book server" Chinese patent Priority of the application, the entire contents of which are incorporated herein by reference. Technical field
本发明涉及通信技术领域, 尤其涉及网络地址簿的实现方法和网络地 址簿服务器。 背景技术 The present invention relates to the field of communications technologies, and in particular, to a method for implementing a network address book and a network address book server. Background technique
移动通信技术和计算机技术的进步, 用户可以随时随地进行信息的接 收和发送, 由于用户的多个设备都具有通讯能力, 因此用户需要在每个设 备上建立自己的地址簿, 而且一些即时消息业务( INSTANT MESSAGE SERVICE ) 同时也提供自己相应的地址簿。 这样就加大了用户维护自己地 址簿的负担。 针对用户在多个设备上维护多个地址簿的状况, 服务提供商 开始建设网络地址簿, 即让用户把地址簿信息存储在网络中, 所有的设备 都能够和这个网络地址簿进行数据同步。 目前网络地址簿按照存储的数据 元可以划分为基于可扩展标记语言 (XML, extensible Markup Language ) 文档管理服务 ( XDMS, XML Document Management Service )和基于个人 信息管理器 (PIM , Personal Information Manager)的网络地址簿。 With advances in mobile communication technology and computer technology, users can receive and send information anytime and anywhere. Since multiple devices of the user have communication capabilities, users need to establish their own address book on each device, and some instant messaging services. ( INSTANT MESSAGE SERVICE ) Also provide your own address book. This increases the burden on users to maintain their own address book. In response to the situation in which the user maintains multiple address books on multiple devices, the service provider begins to construct a network address book, that is, the user stores the address book information in the network, and all devices can synchronize data with the network address book. Currently, the network address book can be divided into XML-based (extensible markup language) document management service (XDMS, XML Document Management Service) and personal information manager (PIM, Personal Information Manager)-based network according to stored data elements. address book.
现有技术中, 中国移动的"号簿管家,,业务提供了典型的基于 PIM数据的 网络地址簿服务,通过"号簿管家",用户可以将手机中的电话本信息通过移 动网络与服务器保持一致, 并能通过多种终端和接入方式进行管理, 号簿 管家对网络地址簿的数据操作如同步, 导入, 导出等均根据 PIM所定义的格 式进行操作。 号簿管家系统提供的功能包括: 基本信息管理功能和基于通 讯录实现的增值服务功能, 其中基本信息管理功能包括: (1)在号簿管家系 统中查询、 增加、 修改、 删除联系人信息; 以及对号簿管家系统的联系人 进行分类操作, 如增加、 修改、 转移、 删除、 分类; (2)批量的导入联系人 信息到号簿管家系统中, 从号簿管家系统中批量的导出联系人信息; (3)批 量的继承其它用户所拥有的联系人信息及分类信息; (4)系统还对导入操作
保留历史记录, 以便用户随时查询; (5)提供联系人信息回收站功能, 当用 户不确定是否彻底删除某位联系人信息时, 可以先保存到回收站中, 后期 还可以实现还原操作。 In the prior art, China Mobile's "book manager" provides a typical network address book service based on PIM data. Through the "book manager", users can keep the phone book information in the mobile phone through the mobile network and the server. Consistent, and can be managed through a variety of terminals and access methods, the data management operations of the directory manager to the network address book, such as synchronization, import, export, etc., operate according to the format defined by PIM. The functions provided by the directory manager system include : Basic information management functions and value-added service functions based on address book implementation. The basic information management functions include: (1) querying, adding, modifying, and deleting contact information in the directory manager system; and contacting the directory manager system. Persons perform classification operations, such as adding, modifying, transferring, deleting, and sorting; (2) importing contact information into the directory manager system in batches, and exporting contact information in batches from the directory manager system; (3) batches Inherit the contact information and classification information owned by other users; (4) The system also performs import operations Keep the history record so that the user can check it at any time; (5) Provide the contact information recycle bin function. When the user is not sure whether to delete a contact information completely, it can be saved to the recycle bin first, and the restore operation can be realized later.
基于 XML文档管理服务 ( XML Document Management Service )的网络 地址簿是按照开放移动联盟(OMA, Open Mobile Alliance)定义的国际标准 来实现的一种网络地址簿。 基于 XML文档管理服务的网络地址簿中地址簿 数据都存储在 OMA自己定义的 XML文档中, 用户可以在客户端对网络中的 地址簿数据进行增加、 修改、 删除等操作。 此外 XML文档管理服务的网络 地址簿还向第三方应用提供接口, 第三方应用可以通过这个接口获取网络 地址簿数据。 A network address book based on the XML Document Management Service is a network address book implemented in accordance with international standards defined by the Open Mobile Alliance (OMA). The address book data in the network address book based on the XML document management service is stored in the OMA self-defined XML document, and the user can add, modify, delete, etc. the address book data in the network on the client side. In addition, the XML Address Management Service's Network Address Book provides an interface to third-party applications through which third-party applications can obtain network address book data.
在对现有技术的研究和实践过程中, 发明人发现现有技术存在以下问 题: 现有的网络地址簿为用户提供了静态的地址簿数据存储服务, 用户只 能通过网络地址簿所支持的数据格式来对网络存储中的数据进行操作, 极 大的限制了网络地址簿的应用范围。 发明内容 In the research and practice of the prior art, the inventors found that the prior art has the following problems: The existing network address book provides a static address book data storage service for the user, and the user can only support the network address book. The data format to operate on the data in the network storage greatly limits the scope of application of the network address book. Summary of the invention
本发明实施例提供了一种网络地址簿的实现方法和网络地址簿服务 哭口 o Embodiments of the present invention provide a method for implementing a network address book and a network address book service.
本发明实施例提供的一种网络地址簿的实现方法, 包括: A method for implementing a network address book according to an embodiment of the present invention includes:
接收对网络地址簿进行操作的请求; Receiving a request to operate on a network address book;
当所述请求中的数据格式与所述网络地址簿中存储的数据格式不一致 时, 对所述请求中的数据格式或者所述网络地址簿中存储的数据格式进行 转换。 When the data format in the request is inconsistent with the data format stored in the network address book, the data format in the request or the data format stored in the network address book is converted.
本发明实施例提供的另一种网络地址簿的实现方法, 包括: Another implementation method of the network address book provided by the embodiment of the present invention includes:
获取网络地址簿用户好友的动态信息, 将所述动态信息保存在所述网 络地址簿中; Obtaining dynamic information of a network address book user friend, and saving the dynamic information in the network address book;
接收网络地址簿用户对好友动态信息的查询请求, 将所述动态信息发 送到所述网络地址簿用户。 Receiving a query request from the network address book user for the dynamic information of the friend, and transmitting the dynamic information to the network address book user.
本发明实施例还提供一种网络地址簿服务器, 包括: The embodiment of the invention further provides a network address book server, including:
存储单元, 用于存储网络地址簿的信息;
访问单元, 用于接收对网络地址簿进行操作的请求; a storage unit, configured to store information of a network address book; An access unit, configured to receive a request to operate on a network address book;
存储控制单元, 用于从所述访问单元接收所述操作请求, 当所述请求 中的数据格式与所述存储单元中存储的数据格式不一致时, 对所述请求中 的数据格式或者所述网络地址簿中存储的数据格式进行转换。 a storage control unit, configured to receive, by the access unit, the operation request, when a data format in the request is inconsistent with a data format stored in the storage unit, a data format in the request or the network The data format stored in the address book is converted.
本发明实施例提供的另一种网络地址簿服务器, 包括: Another network address book server provided by the embodiment of the present invention includes:
保存单元, 用于获取并保存网络地址簿用户好友的动态信息; 接收单元, 用于接收网络地址簿用户对好友动态信息的查询请求; 发送单元, 用于将所述保存单元保存的所述动态信息发送到所述网络 地址簿用户。 a saving unit, configured to acquire and save dynamic information of a network address book user friend; a receiving unit, configured to receive a query request of the network address book user for the friend dynamic information; and a sending unit, configured to save the dynamic information of the saving unit Information is sent to the network address book user.
本发明实施例提供的技术方案中, 接收对网络地址簿进行操作的请求 信息后, 如果请求信息中的数据格式与网络地址簿中存储的数据信息的数 据格式不一致, 根据所述请求的类别执行所述请求的操作并进行数据格式 转换。 因此, 网络地址簿用户在不支持网络地址簿中存储信息数据格式的 情况下也能够对网络地址簿进行操作, 扩大了网络地址簿的应用范围。 In the technical solution provided by the embodiment of the present invention, after receiving the request information for operating the network address book, if the data format in the request information is different from the data format of the data information stored in the network address book, performing according to the requested category The requested operation and data format conversion. Therefore, the network address book user can operate the network address book without supporting the information data format in the network address book, and expands the application range of the network address book.
另外, 将网络地址簿用户好友的动态信息保存在了网络地址簿中, 当 网络地址簿用户想与好友进行通信时, 可通过网络地址簿查询好友当前的 动态信息, 选择最近的通信方式与好友进行通信, 从而提高了用户的感受。 附图说明 In addition, the dynamic information of the network address book user friend is saved in the network address book. When the network address book user wants to communicate with the friend, the current address information of the friend can be queried through the network address book, and the latest communication method and friend are selected. Communicate, which improves the user's feelings. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的 附图。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图 1为本发明实施例一提供的网络地址簿的实现方法流程图; 图 2为本发明实施例二提供的网络地址簿的实现方法流程图; 图 3为本发明实施例三提供的网络地址簿的实现方法流程图; 图 4为本发明实施例四提供的网络地址簿的实现方法流程图; 图 5为本发明实施例五提供的网络地址簿的实现装置示意图; 图 6为本发明实施例六提供的网络地址簿的实现装置示意图;
图 7为本发明实施例七提供的网络地址簿的实现装置示意图; 图 8为本发明实施例八提供的网络地址簿的实现装置示意图。 具体实施方式 1 is a flowchart of a method for implementing a network address book according to Embodiment 1 of the present invention; FIG. 2 is a flowchart of a method for implementing a network address book according to Embodiment 2 of the present invention; FIG. 3 is a network address according to Embodiment 3 of the present invention; FIG. 4 is a flowchart of a method for implementing a network address book according to Embodiment 4 of the present invention; FIG. 5 is a schematic diagram of a device for implementing a network address book according to Embodiment 5 of the present invention; A schematic diagram of a device for implementing a network address book provided in Example 6; FIG. 7 is a schematic diagram of an apparatus for implementing a network address book according to Embodiment 7 of the present invention; FIG. 8 is a schematic diagram of an apparatus for implementing a network address book according to Embodiment 8 of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供了网络地址簿的实现方法和网络地址簿服务器, 用 于使网络地址簿用户在不支持网络地址簿存储数据格式的情况下也能够对 网络地址簿进行操作, 并且使网络地址簿用户获取网络地址簿用户好友的 动态信息, 网络地址簿用户通过好友的动态信息选择最佳的通信方式与好 友进行通信。 为使本发明的技术方案更加清楚、 明白, 下面列举实施例进 行说明。 Embodiments of the present invention provide a method for implementing a network address book and a network address book server, which are used to enable a network address book user to operate a network address book without supporting a network address book to store a data format, and to make a network address The user of the book obtains the dynamic information of the user of the network address book, and the user of the network address book selects the best communication method to communicate with the friend through the dynamic information of the friend. In order to make the technical solutions of the present invention clearer and clearer, the following description will be given by way of examples.
实施例一 Embodiment 1
参见图 1 , 为本发明实施例一提供的流程图: Referring to FIG. 1 , it is a flowchart provided by Embodiment 1 of the present invention:
101 : 接收对网络地址簿进行操作的请求; 101 : receiving a request to operate on a network address book;
102: 验证所述请求的发起者是否有权限执行所述操作; 若否, 执行步 骤 103 , 若是, 执行步骤 104; 102: Verify that the initiator of the request has the right to perform the operation; if not, go to step 103, and if yes, go to step 104;
103: 拒绝所述请求的操作, 向所述请求的发起者返回失败响应消息, 结束流程。 103: Reject the operation of the request, return a failure response message to the initiator of the request, and end the process.
104: 比较所述请求中指示的所支持的数据格式与网络地址簿中存储的 数据格式是否一致, 若一致, 执行步骤 105, 否则, 执行步骤 106; 104: Compare whether the supported data format indicated in the request is consistent with the data format stored in the network address book, if yes, go to step 105, otherwise, go to step 106;
105: 执行所述请求的操作, 进入步骤 107; 105: Perform the requested operation, proceed to step 107;
106: 根据所述请求的操作类别执行所述请求的操作并进行数据格式转 换, 例如, 某个网络地址簿的用户发出的请求指示为支持 PIM格式, 而系 统中网络地址簿网络存储中的信息是基于 XML 文件的信息, 那么将基于 XML文件的信息转换成 PIM格式, 然后进入步骤 107; 106: Perform the requested operation according to the requested operation category and perform data format conversion. For example, a request sent by a user of a network address book indicates that the PIM format is supported, and the information in the network address book network storage in the system is Is based on the XML file information, then the information based on the XML file is converted into PIM format, and then proceeds to step 107;
107: 向所述请求的发起者返回响应消息。
其中, 所述根据所述请求的类别执行所述请求的操作并进行数据格式 转换, 包括: 根据所述请求的类别在执行所述请求的操作之前进行数据格 式转换; 或者, 根据所述请求的类别在执行所述请求的操作之后进行数据 格式转换。 例如, 在添加网络地址簿数据的请求需要在操作前对添加的数 据进行转换, 而获取网络地址簿数据的请求需要在所述请求操作后对获取 的数据进行数据格式转换。 107: Return a response message to the originator of the request. The performing the requested operation according to the requested category and performing data format conversion includes: performing data format conversion before performing the requested operation according to the category of the request; or, according to the request The class performs a data format conversion after performing the requested operation. For example, a request to add network address book data needs to convert the added data before the operation, and a request to obtain the network address book data needs to perform data format conversion on the acquired data after the request operation.
其中, 所述对网络地址簿进行操作, 包括: 修改网络地址簿; 或者, 获取网络地址簿相关信息, 并且与所述网络地址簿进行数据同步。 The operating the network address book includes: modifying a network address book; or acquiring network address book related information, and performing data synchronization with the network address book.
其中的修改网络地址簿操作请求可以为增加、 删除或修改某一信息等 操作。 The modification of the network address book operation request may be an operation of adding, deleting or modifying a certain information.
其中, 所述网络地址簿用户包括: 网络地址簿的所有者用户; 或者, 授权使用网络地址簿应用服务的用户。 The network address book user includes: an owner user of the network address book; or a user authorized to use the network address book application service.
通过该实施例, 可以使网络地址簿用户在不支持网络地址簿存储数据 格式的情况下也能够对网络地址簿进行操作。 With this embodiment, the network address book user can be operated on the network address book without supporting the network address book storage data format.
另外, 在进行数据格式转换和根据所请求的操作类别执行所述操作之 前, 还需检查判断是否可对地址簿格式进行转换。 In addition, before performing the data format conversion and performing the operation according to the requested operation category, it is also necessary to check whether the address book format can be converted.
在 106步骤执行用户要求的请求前, 检查运营商或 /和用户对地址簿格 式转换的设置, 这些设置包括: 是否允许对地址簿格式进行转换, 是否允 许将当前地址簿格式转换为特定的其它的地址簿格式, 若否, 则拒绝用户 请求, 返回错误信息, 若是则进入后续步骤。 Check the settings of the address book format conversion by the operator or/and the user before the step 106 performs the request requested by the user. These settings include: Whether to allow conversion of the address book format, whether to allow the current address book format to be converted to a specific other The address book format, if not, rejects the user request, returns an error message, and if so, proceeds to the next step.
实施例二 Embodiment 2
参见图 2, 为本发明实施例二提供的网络地址簿的实现方法流程图: 201 : 获取网络地址簿用户好友的动态信息, 将所述动态信息保存在所 述网络地址簿中, 网络地址簿用户通过所述动态信息选择与好友进行通信 的方式。 例如, 网络地址簿用户在网络地址簿中的好友已经授权, 网络地 址簿与 XML文档管理服务 (XDMS)交互获取地址簿中好友动态信息包括: 2 is a flowchart of a method for implementing a network address book according to Embodiment 2 of the present invention: 201: Acquire dynamic information of a user friend of a network address book, and save the dynamic information in the network address book, a network address book The user selects a manner of communicating with the friend through the dynamic information. For example, the network address book user has authorized the friend in the network address book, and the network address book interacts with the XML document management service (XDMS) to obtain the friend dynamic information in the address book, including:
( a )在 XDMS中用户共享的配置 ( Shared User Profile ) 中获取用户地 址本中好友的配置信息。 (a) Obtain the configuration information of the friend in the user address book in the shared user profile in the XDMS.
( b )在 XDMS中用户共享的列表(Shared User List ) 中获取用户地址
本中好友的联系列表信息。 (b) Obtain the user address in the shared user list in the XDMS Contact list information of friends in this book.
( c )在 XDMS中用户共享的群组( Shared Group )中获取指定的群组信 息。 (c) Obtain the specified group information in the shared group (Shared Group) shared by the user in the XDMS.
网络地址簿与呈现 (Presence)通过呈现服务所提供的订阅机制来获取该 用户网络地址簿中好友的动态信息, 可能的信息包括: 当前用户的状态、 用户偏好的通信方式等。 The network address book and the presence (Presence) obtain the dynamic information of the friends in the user's network address book through the subscription mechanism provided by the presence service. The possible information includes: the current user's status, the user's preferred communication method, and the like.
网络地址簿与设备属性演进 ( DPE: Device Profile Evolution)服务通过 DPE 提供给其它应用获取设备信息的接口来实现交互, 网络地址簿通过 DPE来获取网络地址簿中好友的设备能力。 The Network Address Book and Device Profile Evolution (DPE) service implements interaction through the interface provided by the DPE to other applications to obtain device information. The network address book obtains the device capabilities of the friends in the network address book through the DPE.
202: 接收对网络地址簿进行操作的请求; 202: Receive a request to operate on a network address book;
203: 验证所述请求的发起者是否有权限执行所述操作; 若否, 执行步 骤 204, 若是, 执行步骤 205; 203: Verify that the initiator of the request has the right to perform the operation; if not, execute step 204, and if yes, go to step 205;
204: 拒绝所述请求的操作, 向所述请求的发起者返回失败响应消息, 结束流程。 204: Reject the operation of the request, return a failure response message to the initiator of the request, and end the process.
205: 比较所述请求中指示的所支持的数据格式与网络地址簿中存储的 数据格式是否一致, 若一致, 执行步骤 206, 否则, 执行步骤 207; 205: Compare the supported data format indicated in the request with the data format stored in the network address book, if yes, go to step 206, otherwise, go to step 207;
206: 执行所述请求的操作, 进入步骤 208; 206: Perform the requested operation, proceeds to step 208;
207: 根据所述请求的类别执行所述请求的操作并进行数据格式转换, 例如, 某个网络地址簿的用户发出的请求指示为支持 PIM格式, 而系统中 网络地址簿网络存储中的信息 ^^于 XML文件的信息, 那么将基于 XML 文件的信息转换成 PIM格式, 然后进入步骤 208; 207: Perform the requested operation according to the requested category and perform data format conversion. For example, a request sent by a user of a network address book indicates that the PIM format is supported, and the information in the network address book network storage in the system is ^ ^ The information in the XML file, then the information based on the XML file is converted into PIM format, and then proceeds to step 208;
208: 向所述请求的发起者返回响应消息。 208: Return a response message to the originator of the request.
其中, 所述根据所述请求的类别执行所述请求的操作并进行数据格式 转换, 包括: 根据所述请求的类别在执行所述请求的操作之前进行数据格 式转换; 或者, 根据所述请求的类别在执行所述请求的操作之后进行数据 格式转换。 例如, 在添加网络地址簿数据的请求需要在操作前对添加的数 据进行转换, 而获取网络地址簿数据的请求需要在所述请求操作后对获取 的数据进行数据格式转换。 The performing the requested operation according to the requested category and performing data format conversion includes: performing data format conversion before performing the requested operation according to the category of the request; or, according to the request The class performs a data format conversion after performing the requested operation. For example, a request to add network address book data requires conversion of the added data before the operation, and a request to acquire the network address book data requires a data format conversion of the acquired data after the request operation.
其中, 所述对网络地址簿进行操作, 包括: 修改网络地址簿; 或者,
获取网络地址簿数据; 或者, 与所述网络地址簿进行数据同步。 The operating the network address book includes: modifying a network address book; or Obtaining network address book data; or synchronizing data with the network address book.
其中的修改网络地址簿操作请求可以为增加、 删除或修改某一信息等 操作。 The modification of the network address book operation request may be an operation of adding, deleting or modifying a certain information.
其中, 所述网络地址簿用户包括: 网络地址簿的所有者用户; 或者, 授权使用网络地址簿应用服务的用户。 The network address book user includes: an owner user of the network address book; or a user authorized to use the network address book application service.
通过该实施例, 可以使网络地址簿用户在不支持网络地址簿存储数据 格式的情况下也能够对网络地址簿进行操作, 并且使网络地址簿用户获取 网络地址簿用户好友的动态信息, 网络地址簿用户通过好友的动态信息选 择最佳的通信方式与好友进行通信。 With this embodiment, the network address book user can also operate the network address book without supporting the network address book to store the data format, and enable the network address book user to obtain the dynamic information of the network address book user friend, the network address. The book user communicates with the friend by selecting the best communication method through the dynamic information of the friend.
另外, 在进行数据格式转换和根据所请求的操作类别执行所述操作之 前, 还需检查判断是否可对地址簿格式进行转换。 In addition, before performing the data format conversion and performing the operation according to the requested operation category, it is also necessary to check whether the address book format can be converted.
在 207步骤执行用户要求的请求前, 检查运营商或 /和用户对地址簿格 式转换的设置, 这些设置包括: 是否允许对地址簿格式进行转换, 是否允 许将当前地址簿格式转换为特定的其它的地址簿格式, 若否, 则拒绝用户 请求, 返回错误信息, 若是则进入后续步骤。 Before performing the request requested by the user in step 207, check the settings of the address book format conversion by the operator or/and the user, including: whether to allow the conversion of the address book format, whether to allow the current address book format to be converted into a specific other The address book format, if not, rejects the user request, returns an error message, and if so, proceeds to the next step.
实施例三 Embodiment 3
参见图 3 , 为本发明实施例三提供的网络地址簿的实现方法流程图。 本实施例中, 网络地址簿动态地获取网络地址簿用户好友的信息, 使 网络地址簿用户可以选择好友支持的数据格式与好友进行通信。 3 is a flowchart of a method for implementing a network address book according to Embodiment 3 of the present invention. In this embodiment, the network address book dynamically obtains the information of the network address book user friend, so that the network address book user can select the data format supported by the friend to communicate with the friend.
在此, 以基于 IP的融合消息( CPM, Converged IP Messaging )用户中 使用的融合地址簿为例来说明具体的流程, 网络地址簿在其它应用场景中 动态获取用户好友信息的流程与此类似。 Here, the fused address book used in the user of the IP-based Converged IP Messaging (CPM) is taken as an example to illustrate the specific process. The process of dynamically obtaining the user buddy information in the network address book in other application scenarios is similar.
当基于 IP的 CPM用户作为主叫,发送通信建立请求消息给其他非 CPM 消息网络中的非 CPM用户时, 利用融合地址簿获取接收方对消息业务支持 信息并根据该信息发送消息的流程如下: When the IP-based CPM user acts as the calling party and sends a communication setup request message to other non-CPM users in the non-CPM message network, the process of acquiring the receiver-to-message service support information by using the converged address book and transmitting the message according to the information is as follows:
301 :CPM用户根据自己的了解, 在融合地址簿中配置有关其它通信对 象对非 CPM业务支持情况; 301: According to their own knowledge, CPM users configure other communication objects to support non-CPM service in the converged address book.
302:CPM用户发送通信建立请求给 CPM 能力中心单元, 其中携带能 够标识对方的信息, 该请求可以是会话无关的信息, 也可以是与会话相关
的会话建立请求; 302: The CPM user sends a communication establishment request to the CPM capability center unit, where the information that can identify the other party is carried, and the request may be session-independent information or may be related to the session. Session establishment request;
303:CPM 能力中心单元利用收到的通信请求中的被叫方标识信息, 向 融合地址簿单元查询该被叫用户的消息业务支持能力; 303: The CPM capability center unit uses the called party identification information in the received communication request to query the fused address book unit for the message service support capability of the called user.
304:融合地址簿单元查找本地数据库,获得的有关被叫用户的消息业务 的支持能力信息返回给 CPM能力中心单元, 当返回的被叫用户对消息业务 的支持情况为空, 表明融合地址簿中没有该被叫用户的相关信息; 304: The fused address book unit searches the local database, and the obtained support capability information about the message service of the called user is returned to the CPM capability center unit, and when the returned called user supports the message service, the content is empty, indicating that the fused address book is in the fused address book. There is no relevant information about the called user;
305:CPM 能力中心单元执行和业务控制有关的处理, 比如, 根据得到 的有关被叫用户的消息业务的支持能力, 判断下一步需要将该通信请求转 发给互通单元处理; 305: The CPM capability center unit performs processing related to service control, for example, according to the obtained support capability of the called user's message service, determining that the communication request needs to be forwarded to the interworking unit for processing;
306:CPM 能力中心单元在通信请求消息中增加有关被叫用户对消息业 务的支持能力信息, 然后将该通信请求发送给互通单元; 306: The CPM capability center unit adds information about the support capability of the called user to the message service in the communication request message, and then sends the communication request to the interworking unit.
307:互通单元根据得到的有关被叫用户的消息业务支持能力指示,决定 釆用哪种非 CPM消息业务进行消息转换, 并发送到对应的消息网关; 307: The interworking unit determines, according to the obtained message service support capability indication about the called user, which non-CPM message service is used for message conversion, and sends the message to the corresponding message gateway.
308:互通单元向所述 CPM能力中心单元发送被叫用户的应答消息; 309:CPM能力中心单元向融合地址簿单元发送被叫用户的应答消息; 308: The interworking unit sends a response message of the called user to the CPM capability center unit. 309: The CPM capability center unit sends a response message of the called user to the converged address book unit.
310:融合地址簿单元向 CPM用户发送被叫用户的应答消息。 310: The fused address book unit sends a response message of the called user to the CPM user.
在实际应用中, 也可以通过 CPM能力中心单元向用户直接发送被叫用 户的应答消息, 即省略上面的步骤 310。 In the actual application, the response message of the called user can also be directly sent to the user through the CPM capability center unit, that is, the above step 310 is omitted.
通过该实施例, 网络地址簿能够聚合网络地址簿用户好友的动态信息, 网络地址簿用户通过好友的动态信息选择最佳的通信方式与好友进行通 信。 With this embodiment, the network address book can aggregate the dynamic information of the network address book user friends, and the network address book user selects the best communication method through the dynamic information of the friend to communicate with the friend.
实施例四 Embodiment 4
参见图 4, 为本发明实施例四提供的网络地址簿的实现方法流程图, 包 括: Referring to FIG. 4, it is a flowchart of a method for implementing a network address book according to Embodiment 4 of the present invention, which includes:
401 : 获取网络地址簿用户好友的动态信息, 将所述动态信息保存在所 述网络地址簿中; 例如, 获取网络地址簿用户好友的配置信息、 联系列表 信息、 指定的群组信息; 或者, 当前状态、 偏好的通信方式; 或者, 设备 能力。 401: Obtain dynamic information of a network address book user friend, and save the dynamic information in the network address book; for example, obtain configuration information, contact list information, and specified group information of a network address book user friend; or Current status, preferred communication method; or, device capability.
402: 接收网络地址簿用户对好友动态信息的查询请求, 例如, 接收网
络地址簿用户查询好友的当前状态、 偏好的通信方式。 402: Receive a request for a network address book user to query a friend's dynamic information, for example, a receiving network The address book user queries the current status of the friend and the preferred communication mode.
403: 将所述动态信息发送到所述网络地址簿用户。 403: Send the dynamic information to the network address book user.
通过该实施例, 能够使网络地址簿用户获取网络地址簿用户好友的动 态信息, 网络地址簿用户通过好友的动态信息选择最佳的通信方式与好友 进行通信。 With this embodiment, the network address book user can obtain the dynamic information of the network address book user friend, and the network address book user selects the best communication method to communicate with the friend through the dynamic information of the friend.
实施例五 Embodiment 5
参见图 5, 为本发明实施例五提供的网络地址簿的实现装置示意图, 包 括: 5 is a schematic diagram of an apparatus for implementing a network address book according to Embodiment 5 of the present invention, which includes:
存储单元 501 , 用于存储网络地址簿的信息, 存储的数据格式根据所在 系统设置而定, 可以是基于 XML文件的信息, 也可以是 PIM信息; The storage unit 501 is configured to store information of the network address book, and the stored data format is determined according to the setting of the system, and may be information based on the XML file, or may be PIM information;
访问单元 502,用于接收对网络地址簿进行操作的请求,这些请求包括: 修改网络地址簿、 获取网络地址簿相关信息以及与网络地址簿进行数据同 步, 所述请求中还携带了网络地址簿用户和使用网络地址簿用户的应用所 支持的网络地址簿数据格式。 存储控制单元 503 , 用于从所述访问单元 502 接收所述操作请求, 如果所述请求中的数据格式与所述存储单元 501 中存 储的数据格式不一致, 根据请求的类型, 如修改网络地址簿、 获取网络地 址簿相关信息或者与所述网络地址簿进行数据同步, 对存储单元 501 的信 息进行相应的操作并进行数据格式转换; The accessing unit 502 is configured to receive a request for operating the network address book, where the request includes: modifying a network address book, acquiring network address book related information, and performing data synchronization with the network address book, where the request further carries a network address book The network address book data format supported by the user and the application using the network address book user. a storage control unit 503, configured to receive the operation request from the access unit 502, if the data format in the request is inconsistent with the data format stored in the storage unit 501, according to the type of the request, such as modifying the network address book Obtaining network address book related information or performing data synchronization with the network address book, performing corresponding operations on the information of the storage unit 501, and performing data format conversion;
进行数据格式转换时, 若某个网络地址簿的用户发出的请求指示为支 持 PIM格式, 而系统中网络地址簿网络存储中的信息是基于 XML文件的 信息, 那么将基于 XML文件的信息转换成 PIM格式, 同理, 若某个网络 地址簿的用户发出的请求指示为支持 XML格式,而系统中网络地址簿网络 存储中的信息是基于 PIM文件的信息, 那么将基于 XML文件的信息转换 成 PIM格式; 同样, 也可以根据请求的类型, 将用户请求的格式转换为网 络地址簿存储的信息的格式。 In the data format conversion, if the request sent by the user of a network address book indicates that the PIM format is supported, and the information in the network address book network storage in the system is based on the information of the XML file, the information based on the XML file is converted into PIM format, similarly, if the request sent by the user of a network address book indicates that the XML format is supported, and the information in the network address book network storage in the system is based on the information of the PIM file, the information based on the XML file is converted into PIM format; Similarly, the format requested by the user can be converted to the format of the information stored in the network address book according to the type of the request.
通过该实施例, 可以使网络地址簿用户在不支持网络地址簿存储数据 格式的情况下也能够对网络地址簿进行操作。 With this embodiment, the network address book user can be operated on the network address book without supporting the network address book storage data format.
实施例六 Embodiment 6
参见图 6, 为本发明实施例六提供的网络地址簿的实现装置示意图, 包
括: FIG. 6 is a schematic diagram of a device for implementing a network address book according to Embodiment 6 of the present invention, where Includes:
该实施例提供的装置为在实施例五提供的装置的基础上增加了: 鉴权 单元 601 , 用于验证所述请求的发起者是否有权限执行所述操作, 若否, 返 回失败响应消息; 若是, 向所述存储控制单元 503转发所述请求。 The apparatus provided in this embodiment is added to the apparatus provided in the fifth embodiment: an authentication unit 601, configured to verify whether the initiator of the request has the right to perform the operation, and if not, return a failure response message; If so, the request is forwarded to the storage control unit 503.
通过该实施例, 可以使网络地址簿用户在不支持网络地址簿存储数据 格式的情况下也能够对网络地址簿进行操作, 并且由于增加了对用户的鉴 权, 使得对网络地址簿的操作更加安全。 With this embodiment, the network address book user can also operate the network address book without supporting the network address book storage data format, and the operation of the network address book is further improved due to the increased authentication of the user. Safety.
实施例七 Example 7
参见图 7, 为本发明实施例七提供的网络地址簿的实现装置示意图, 包 括: FIG. 7 is a schematic diagram of an apparatus for implementing a network address book according to Embodiment 7 of the present invention, including:
存储单元 501 , 用于存储网络地址簿的信息, 存储的数据格式根据所在 系统设置而定, 可以是基于 XML文件的信息, 也可以是 PIM信息; The storage unit 501 is configured to store information of the network address book, and the stored data format is determined according to the setting of the system, and may be information based on the XML file, or may be PIM information;
访问单元 502,用于接收对网络地址簿进行操作的请求,这些请求包括: 修改网络地址簿、 获取网络地址簿相关信息以及与网络地址簿进行数据同 步, 所述请求中还携带了网络地址簿用户和使用网络地址簿用户的应用所 支持的网络地址簿数据格式。 The accessing unit 502 is configured to receive a request for operating the network address book, where the request includes: modifying a network address book, acquiring network address book related information, and performing data synchronization with the network address book, where the request further carries a network address book The network address book data format supported by the user and the application using the network address book user.
存储控制单元 503 , 用于从所述访问单元接收所述操作请求, 如果所述 请求中的数据格式与所述存储单元中存储的数据格式不一致, 根据请求的 类型, 如修改网络地址簿、 获取网络地址簿相关信息或者与所述网络地址 簿进行数据同步, 对网络地址簿进行相应的操作并进行数据格式的转换; 进行数据格式转换时, 若某个网络地址簿的用户发出的请求指示为支 持 PIM格式, 而系统中网络地址簿网络存储中的信息是基于 XML文件的 信息, 那么将基于 XML文件的信息转换成 PIM格式, 同理, 若某个网络 地址簿的用户发出的请求指示为支持 XML格式,而系统中网络地址簿网络 存储中的信息是基于 PIM文件的信息, 那么将基于 XML文件的信息转换 成 PIM格式; 同样, 也可以根据请求的类型, 将用户请求的格式转换为网 络地址簿存储的信息的格式。 a storage control unit 503, configured to receive the operation request from the access unit, if the data format in the request is inconsistent with a data format stored in the storage unit, according to a type of the request, such as modifying a network address book, acquiring The network address book related information is synchronized with the network address book, performs corresponding operations on the network address book, and performs data format conversion; when performing data format conversion, if a request sent by a user of a network address book is indicated as Support PIM format, and the information in the network address book network storage in the system is based on the information of the XML file, then the information based on the XML file is converted into the PIM format. Similarly, if the request sent by the user of a network address book is indicated as Support XML format, and the information in the network address book network storage in the system is based on the information of the PIM file, then the information based on the XML file is converted into the PIM format; similarly, the format requested by the user can be converted into the format according to the type of the request. The format of the information stored in the network address book.
信息聚合控制单元 701 , 用于根据系统设置, 通过注册或主动的方式向 呈现、 XML文档管理服务、 设备属性演进等提供信息的相关应用获取网络
地址簿用户好友的动态信息, 将所述动态信息发送到所述存储控制单元The information aggregation control unit 701 is configured to acquire a network related application that provides information, such as a presentation, an XML document management service, and a device attribute evolution, by using a registration or an active manner according to a system setting. Dynamic information of the address book user friend, sending the dynamic information to the storage control unit
503; 所述存储控制单元 503根据用户的要求或直接将所述动态信息发送给 网络地址簿用户。 The storage control unit 503 sends the dynamic information to the network address book user according to the user's request or directly.
需要说明的是, 信息聚合控制单元 701 获取的网络地址簿用户好友的 动态信息可以由信息聚合控制单元 701 来保存; 也可以直接发送给存贮控 制单元 503 , 由存贮控制单元 503来保存所述的动态信息; 还可以由存储单 元 501来保存, 存储控制单元 503根据用户的要求, 将存储在存储单元 501 的所述动态信息发送给用户。 It should be noted that the dynamic information of the network address book user friend acquired by the information aggregation control unit 701 may be saved by the information aggregation control unit 701; or may be directly sent to the storage control unit 503, and stored by the storage control unit 503. The dynamic information described above may also be stored by the storage unit 501, and the storage control unit 503 transmits the dynamic information stored in the storage unit 501 to the user according to the request of the user.
通过该实施例, 可以使网络地址簿用户在不支持网络地址簿存储数据 格式的情况下也能够对网络地址簿进行操作, 并且使网络地址簿用户获取 网络地址簿用户好友的动态信息, 网络地址簿用户通过好友的动态信息选 择最佳的通信方式与好友进行通信。 With this embodiment, the network address book user can also operate the network address book without supporting the network address book to store the data format, and enable the network address book user to obtain the dynamic information of the network address book user friend, the network address. The book user communicates with the friend by selecting the best communication method through the dynamic information of the friend.
其中, 在该实施例提供的装置的基础上还可以进一步包括: 鉴权单元 The device provided in this embodiment may further include: an authentication unit
601 , 用于验证所述请求的发起者是否有权限执行所述操作, 若否, 返回失 败响应消息; 若是, 向所述存储控制单元 503 转发所述请求。 由于增加了 对用户的鉴权, 使得对网络地址簿的操作更加安全。 601. Verify that the initiator of the request has the right to perform the operation, and if not, return a failure response message; if yes, forward the request to the storage control unit 503. The operation of the network address book is made more secure due to the increased authentication of the user.
实施例八 Example eight
参见图 8, 为本发明实施例八提供的网络地址簿的实现装置示意图, 包 括: FIG. 8 is a schematic diagram of an apparatus for implementing a network address book according to Embodiment 8 of the present invention, including:
保存单元 801 , 用于获取并保存网络地址簿用户好友的动态信息; 接收单元 802, 用于接收网络地址簿用户对好友动态信息的查询请求; 发送单元 803 , 用于将所述动态信息发送到所述网络地址簿用户。 a saving unit 801, configured to acquire and save dynamic information of a network address book user friend; a receiving unit 802, configured to receive a query request of the network address book user for the friend dynamic information; and a sending unit 803, configured to send the dynamic information to The network address book user.
通过该实施例, 使网络地址簿用户获取网络地址簿用户好友的动态信 息, 网络地址簿用户通过好友的动态信息选择最佳的通信方式与好友进行 通信。 With this embodiment, the network address book user obtains the dynamic information of the network address book user friend, and the network address book user selects the best communication mode to communicate with the friend through the dynamic information of the friend.
上述实施例在描述实现本发明技术方案的过程中, 在数据格式的转化 时是以 PIM格式与基于 XML文件的数据格式之间的转换为例进行说明的, 在实际应用中, 还可以有其他数据格式之间的转换, 如基于超文本标记语 言( HTML, Hyper Text Markup Language )文件的数据格式与基于 XML文
件的数据格式之间的转换。 The foregoing embodiment describes the conversion between the PIM format and the data format based on the XML file in the process of implementing the technical solution of the present invention. In practical applications, there may be other Conversion between data formats, such as data formats based on Hypertext Markup Language (HTML) files, and XML-based texts The conversion between the data formats of the pieces.
以上实施例可以看出, 本发明实施例具有如下有益效果: 由于接收对 网络地址簿进行操作的请求后, 若验证请求的发起者有权限执行请求的操 作, 如果请求中的数据格式与网络地址簿中存储的数据格式不一致, 根据 所述请求的类别执行所述请求的操作并进行数据格式转换, 因此, 网络地 址簿用户在不支持网络地址簿存储数据格式的情况下也能够对网络地址簿 进行操作, 扩大了网络地址簿的应用范围; 并且, 由于将网络地址簿用户 好友的动态信息保存在了网络地址簿中, 当网络地址簿用户想与好友进行 通信时, 可通过网络地址簿查询好友当前的动态信息, 选择最近的通信方 式与好友进行通信, 从而提高了用户的感受。 As can be seen from the above embodiments, the embodiment of the present invention has the following beneficial effects: After receiving the request for operation on the network address book, if the initiator of the verification request has the right to perform the requested operation, if the data format and network address in the request are The data format stored in the book is inconsistent, the requested operation is performed according to the requested category, and the data format conversion is performed. Therefore, the network address book user can also access the network address book without supporting the network address book to store the data format. The operation expands the application scope of the network address book; and, because the dynamic information of the network address book user friend is saved in the network address book, when the network address book user wants to communicate with the friend, the network address book can be queried. The current dynamic information of the friend, selecting the most recent communication method to communicate with the friend, thereby improving the user's feelings.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步 骤是可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计 算机可读存储介质中。 One of ordinary skill in the art will appreciate that all or a portion of the steps in implementing the above-described embodiments can be accomplished by a program instructing associated hardware, which can be stored in a computer readable storage medium.
上述提到的存储介质可以是只读存储器, 磁盘或光盘等。 The above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
以上对本发明所提供的一种网络地址簿的实现方法和网络地址簿服务 器进行了详细介绍, 对于本领域的一般技术人员, 依据本发明实施例的思 想, 在具体实施方式及应用范围上均会有改变之处, 综上所述, 本说明书 内容不应理解为对本发明的限制。
The method for implementing the network address book and the network address book server provided by the present invention are described in detail above. For those skilled in the art, according to the idea of the embodiment of the present invention, the specific implementation manner and the application range are In the above, the contents of the specification are not to be construed as limiting the invention.
Claims
1、 一种网络地址簿的实现方法, 其特征在于, 包括: A method for implementing a network address book, comprising:
接收对网络地址簿进行操作的请求; Receiving a request to operate on a network address book;
当所述请求中的数据格式与所述网络地址簿中存储的数据格式不一致 时, 对所述请求中的数据格式或者所述网络地址簿中存储的数据格式进行 转换。 When the data format in the request is inconsistent with the data format stored in the network address book, the data format in the request or the data format stored in the network address book is converted.
2、 根据权利要求 1所述的方法, 其特征在于, 2. The method of claim 1 wherein
根据所述请求的类别对所述请求中的数据格式或者所述网络地址簿中 存储的数据格式进行转换, 并在转换之后根据所述请求执行操作; 或者, 根据所述请求的类别执行操作之后, 对所述请求中的数据格式或者所 述网络地址簿中存储的数据格式进行转换。 Converting a data format in the request or a data format stored in the network address book according to a category of the request, and performing an operation according to the request after the conversion; or performing an operation according to the requested category Converting the data format in the request or the data format stored in the network address book.
3、 根据权利要求 2所述的方法, 其特征在于, 所述对所述请求中的数 据格式进行转换, 包括: The method according to claim 2, wherein the converting the data format in the request comprises:
将所述请求中的数据格式转换成所述网络地址簿中存储的数据格式; 所述对所述网络地址簿中存储的数据格式进行转换, 包括: Converting the data format in the request into a data format stored in the network address book; and converting the data format stored in the network address book, including:
将所述网络地址簿中存储的数据格式转换成所述请求中的数据格式。 Converting the data format stored in the network address book into a data format in the request.
4、 根据权利要求 1所述的方法, 其特征在于, 所述方法进一步包括: 当所述请求中的数据格式与所述网络地址簿中存储的数据格式一致 时, 根据所述请求的类别执行操作。 The method according to claim 1, wherein the method further comprises: when the data format in the request is consistent with a data format stored in the network address book, performing according to the requested category operating.
5、 根据权利要求 1-4任一所述的方法, 其特征在于, 所述接收对网络 地址簿进行操作的请求之前, 包括: The method according to any one of claims 1-4, wherein before receiving the request for operating the network address book, the method includes:
获取网络地址簿用户好友的动态信息, 将所述动态信息保存在所述网 络地址簿中。 Obtaining dynamic information of the network address book user friend, and saving the dynamic information in the network address book.
6、 根据权利要求 5所述的方法, 其特征在于, 所述动态信息, 包括下 述至少之一: The method according to claim 5, wherein the dynamic information includes at least one of the following:
呈现的状态、 偏好的通信方式、 设备能力。 State of presentation, preferred communication method, device capability.
7、 根据权利要求 5所述的方法, 其特征在于, 所述网络地址簿用户包 括: 7. The method according to claim 5, wherein the network address book user comprises:
网络地址簿的所有者用户; 或者, 授权使用网络地址簿应用服务的用
户。 The owner of the network address book; or, authorized to use the network address book application service Household.
8、 根据权利要求 1所述的方法, 其特征在于, 所述对网络地址簿进行 操作, 包括下述操作中至少之一: 8. The method according to claim 1, wherein the operating the network address book comprises at least one of the following operations:
修改网络地址簿数据; 或者, Modify the network address book data; or,
获取网络地址簿数据; 或者, Obtain network address book data; or,
与所述网络地址簿进行数据同步。 Synchronize data with the network address book.
9、 根据权利要求 1所述的方法, 其特征在于, 还包括: 9. The method according to claim 1, further comprising:
在进行数据格式转换之前, 检查判断是否允许对地址簿格式进行转换 , 若是, 则进行转换操作, 否则拒绝用户请求, 返回错误信息。 Before performing data format conversion, check whether the address book format is allowed to be converted. If yes, perform the conversion operation, otherwise reject the user request and return the error message.
10、 一种网络地址簿的实现方法, 其特征在于, 包括: 10. A method for implementing a network address book, comprising:
获取网络地址簿用户好友的动态信息, 将所述动态信息保存在所述网 络地址簿中; Obtaining dynamic information of a network address book user friend, and saving the dynamic information in the network address book;
接收网络地址簿用户对好友动态信息的查询请求, 将所述动态信息发 送到所述网络地址簿用户。 Receiving a query request from the network address book user for the dynamic information of the friend, and transmitting the dynamic information to the network address book user.
11、根据权利要求 10所述的方法, 其特征在于, 所述动态信息, 包括: 呈现的状态; 或者偏好的通信方式; 或者设备能力。 The method according to claim 10, wherein the dynamic information comprises: a state of presentation; or a preferred communication mode; or a device capability.
12、 根据权利要求 10所述的方法, 其特征在于, 所述网络地址簿用户 包括: 12. The method according to claim 10, wherein the network address book user comprises:
网络地址簿的所有者用户; 或者, 授权使用网络地址簿应用服务的用 户。 The owner of the network address book; or, the user authorized to use the network address book application service.
13、 一种网络地址簿服务器, 其特征在于, 包括: 13. A network address book server, comprising:
存储单元, 用于存储网络地址簿的信息; a storage unit, configured to store information of a network address book;
访问单元, 用于接收对网络地址簿进行操作的请求; An access unit, configured to receive a request to operate on a network address book;
存储控制单元, 用于从所述访问单元接收所述操作请求, 当所述请求 中的数据格式与所述存储单元中存储的数据格式不一致时, 对所述请求中 的数据格式或者所述网络地址簿中存储的数据格式进行转换。 a storage control unit, configured to receive, by the access unit, the operation request, when a data format in the request is inconsistent with a data format stored in the storage unit, a data format in the request or the network The data format stored in the address book is converted.
14、根据权利要求 13所述的服务器, 其特征在于, 所述服务器还包括: 鉴权单元, 用于验证所述请求的发起者是否有权限执行所述操作, 若 否, 返回失败响应消息; 若是, 向所述存储控制单元转发所述请求。
The server according to claim 13, wherein the server further comprises: an authentication unit, configured to verify whether the initiator of the request has the right to perform the operation, and if not, return a failure response message; If so, the request is forwarded to the storage control unit.
15、 根据权利要去 13所述的服务器, 其特征在于, 所述服务器进一步 包括: The server according to claim 13, wherein the server further comprises:
信息聚合控制单元, 用于获取网络地址簿用户好友的动态信息, 将所 述动态信息发送到所述存储控制单元; An information aggregation control unit, configured to acquire dynamic information of a network address book user friend, and send the dynamic information to the storage control unit;
所述存储控制单元将所述动态信息发送给网络地址簿用户。 The storage control unit transmits the dynamic information to a network address book user.
16、 一种网络地址簿服务器, 其特征在于, 包括: 16. A network address book server, comprising:
保存单元, 用于获取并保存网络地址簿用户好友的动态信息; 接收单元, 用于接收网络地址簿用户对好友动态信息的查询请求; 发送单元, 用于将所述保存单元保存的所述动态信息发送到所述网络
a saving unit, configured to acquire and save dynamic information of a network address book user friend; a receiving unit, configured to receive a query request of the network address book user for the friend dynamic information; and a sending unit, configured to save the dynamic information of the saving unit Information sent to the network
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710146120.2A CN101374161A (en) | 2007-08-23 | 2007-08-23 | Implementing method for network address book and network address book server |
CN200710146120.2 | 2007-08-23 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2009024099A1 true WO2009024099A1 (en) | 2009-02-26 |
Family
ID=40377879
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2008/072107 WO2009024099A1 (en) | 2007-08-23 | 2008-08-22 | A method to implement network directory inquiries and a network directory inquiries server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101374161A (en) |
WO (1) | WO2009024099A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104426744A (en) * | 2013-08-30 | 2015-03-18 | 中兴通讯股份有限公司 | Synchronous playing method for multimedia content, server, client and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1589046A (en) * | 2004-07-19 | 2005-03-02 | 北京北纬通信科技股份有限公司 | Method for realizing cell phone communication list inter transmission between cell phone terminals |
US20050225778A1 (en) * | 2004-03-31 | 2005-10-13 | Fujitsu Limited | Method, apparatus, system for data conversion, and computer product |
CN1684422A (en) * | 2004-04-14 | 2005-10-19 | 西门子移动通讯公司 | Method of and apparatus for server-side management of buddy lists in presence based services |
-
2007
- 2007-08-23 CN CN200710146120.2A patent/CN101374161A/en active Pending
-
2008
- 2008-08-22 WO PCT/CN2008/072107 patent/WO2009024099A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050225778A1 (en) * | 2004-03-31 | 2005-10-13 | Fujitsu Limited | Method, apparatus, system for data conversion, and computer product |
CN1684422A (en) * | 2004-04-14 | 2005-10-19 | 西门子移动通讯公司 | Method of and apparatus for server-side management of buddy lists in presence based services |
CN1589046A (en) * | 2004-07-19 | 2005-03-02 | 北京北纬通信科技股份有限公司 | Method for realizing cell phone communication list inter transmission between cell phone terminals |
Also Published As
Publication number | Publication date |
---|---|
CN101374161A (en) | 2009-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7797010B1 (en) | Systems and methods for talk group distribution | |
KR20110008334A (en) | System and method for a converged network-based address book | |
US20070049258A1 (en) | System and method of mobile to desktop document interaction using really simple syndication | |
US7864716B1 (en) | Talk group management architecture | |
US7738900B1 (en) | Systems and methods of group distribution for latency sensitive applications | |
KR20110122834A (en) | System and method for aggregating multiple contact information sources in a network-based address book system | |
WO2007068195A1 (en) | A method and system for querying user information, and search agent, client and server | |
US20080256117A1 (en) | Managing entity data in case of multiple entity identities | |
WO2011113372A1 (en) | Method, system and group server for synchronizing operations of multiple groups | |
US20110214051A1 (en) | Methods and apparatus to subscribe for change notifications in a document management system | |
WO2008110121A1 (en) | Adaptation method and system of data service contents, and portal system | |
US7844294B1 (en) | Systems and methods for opt-in and opt-out talk group management | |
KR20120107022A (en) | Method and apparatus for synchronizing personal information | |
CN112399130A (en) | Processing method and device of cloud video conference information, storage medium and communication equipment | |
US9237206B2 (en) | Method and apparatus for updating personal information in communication system | |
KR101973531B1 (en) | Method and apparatus for automatically sharing applications between multiple clients | |
WO2010108432A1 (en) | Service processing method and apparatus, communication system and correlated device | |
KR100976317B1 (en) | Method and apparatus for storage and interaction of a subscriber identification of a wireless terminal | |
WO2009049519A1 (en) | Content copying method, device and system | |
US20130091287A1 (en) | System for contact subscription invitations in a cross-domain converged address book system | |
US8521807B2 (en) | Method and system for controlling movement of user setting information registered in server | |
WO2010020153A1 (en) | Method, device and system for selecting user according to user status | |
CN102904742B (en) | To method of operation and the system of executable node | |
KR20130012199A (en) | Method and apparatus for providing of contact by interoperablility between messaging sevice and other services | |
WO2009024099A1 (en) | A method to implement network directory inquiries and a network directory inquiries server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 08784098 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 08784098 Country of ref document: EP Kind code of ref document: A1 |