WO2014187288A1 - Call log invoking method and device - Google Patents

Call log invoking method and device Download PDF

Info

Publication number
WO2014187288A1
WO2014187288A1 PCT/CN2014/077754 CN2014077754W WO2014187288A1 WO 2014187288 A1 WO2014187288 A1 WO 2014187288A1 CN 2014077754 W CN2014077754 W CN 2014077754W WO 2014187288 A1 WO2014187288 A1 WO 2014187288A1
Authority
WO
WIPO (PCT)
Prior art keywords
call
call record
server
request
user
Prior art date
Application number
PCT/CN2014/077754
Other languages
French (fr)
Chinese (zh)
Inventor
王雅辉
郜文美
范姝男
吕小强
井皓
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2014187288A1 publication Critical patent/WO2014187288A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1818Conference organisation arrangements, e.g. handling schedules, setting up parameters needed by nodes to attend a conference, booking network resources, notifying involved parties

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Provided are a call log invoking method and device, which can realize call log invoking across applications. The method comprises: receiving a call log invoking request sent by a client, wherein the call log invoking request comprises: an action field used for indicating an invoking operation and a type field used for indicating that a data type is a call log; according to the call log invoking request, determining a serving end which can provide the call log; sending a call log acquisition request to the serving end; and receiving a response message sent by the serving end according to the call log acquisition request, wherein the response message comprises: a call log conforming to a predefined format, or a wrong response indicating an error type.

Description

通话记录调用方法和设备 技术领域  Call record calling method and device
本发明涉及通信领域, 并且更具体地, 涉及通话记录调用方法和设备。 背景技术  The present invention relates to the field of communications, and more particularly to a call record calling method and apparatus. Background technique
网页实时通信 (Web Real Time Communication, WebRTC) 是一项旨在支持 网络浏览器进行实时语音对话或视频对话的通信技术。 和传统的基于本地客户 端或浏览器插件的多媒体通信方式不同, WebRTC通过将多媒体通信所必须的音 视频处理 (采集、 编码、 增强) 、 网络传输、 会话控制等核心模块集成到浏览 器内部, 从而使第三方应用开发者仅需通过简单的 JavaScript API调用即可获 得实时的音视频通信能力。  Web Real Time Communication (WebRTC) is a communication technology designed to support web browsers for real-time voice conversations or video conversations. Different from traditional multimedia communication methods based on local client or browser plug-in, WebRTC integrates core modules such as audio and video processing (acquisition, encoding, enhancement), network transmission, and session control necessary for multimedia communication into the browser. This allows third-party application developers to get real-time audio and video communication capabilities with a simple JavaScript API call.
如今社交类应用盛行, WebRTC可以更方便用户间的交流, 很多浏览器厂商, 运营商, 尤其是社交网站都将会推出自己的 WebRTC业务。 届时, 用户可以选择 任意一个服务提供商的 WebRTC应用来进行语音或视频通话, 这样用户就会在不 同的 WebRTC应用中有很多通话记录, 而用户往往无法记住这些通话记录, 因此 用户有一种需求是能够随时调用通话记录进行查询或管理。  Nowadays, social applications are popular, WebRTC can facilitate user communication, and many browser vendors, operators, and especially social networking sites will launch their own WebRTC services. At that time, the user can select any service provider's WebRTC application for voice or video calls, so that users will have a lot of call records in different WebRTC applications, and users often cannot remember these call records, so users have a need. It is possible to call the call log at any time for query or management.
但是目前的本地应用或是网页应用只支持通话记录的本地导入 /导出, 而无 法实现跨应用或网页的通话记录调用。 发明内容  However, current local applications or web applications only support local import/export of call records, and it is not possible to call call records across applications or web pages. Summary of the invention
本发明实施例提供一种通话记录调用方法和设备, 能够实现跨应用或网页 的通话记录调用。  The embodiment of the invention provides a call record calling method and device, which can implement a call record call across an application or a webpage.
第一方面, 提供了一种通话记录调用方法, 包括: 接收客户端发送的通话 记录调用请求, 所述通话记录调用请求包含: 用于指示调用操作的动作字段和 用于指示数据类型为通话记录的类型字段; 根据所述通话记录调用请求, 确定 能够提供通话记录的服务端; 向所述服务端发送通话记录获取请求; 接收所述 服务端根据所述通话记录获取请求发送的响应消息, 所述响应消息包含: 符合 预定义格式的通话记录, 或者, 指示错误类型的错误响应。  The first aspect provides a call record calling method, including: receiving a call record call request sent by a client, where the call record call request includes: an action field for indicating a call operation and indicating that the data type is a call record a type field; determining, according to the call record invocation request, a server that can provide a call record; sending a call record acquisition request to the server; receiving a response message sent by the server according to the call record acquisition request, The response message includes: a call record that conforms to a predefined format, or an error response indicating an error type.
结合第一方面, 在其第一种实现方式中, 所述通话记录调用请求还包含附 加请求条件, 其中所述附加请求条件包括以下至少一种: 用于指示搜索对象的 字符串; 用于指示通话记录返回数量限制的数值; 用于指示搜索条件的字符串。 结合第一方面及其上述实现方式, 在其第二种实现方式中, 所述根据所述 通话记录调用请求, 确定能够提供通话记录的服务端, 包括: 向注册中心发送 所述通话记录调用请求, 以便所述注册中心根据所述动作字段和所述类型字段 确定能够提供通话记录调用服务的服务端列表; 接收所述注册中心发送的所述 服务端列表; 在所述服务端列表中确定所述能够提供通话记录的服务端。 With reference to the first aspect, in a first implementation manner, the call record call request further includes an additional request condition, where the additional request condition includes at least one of the following: String; a numeric value indicating the limit on the number of calls returned; a string indicating the search criteria. With reference to the first aspect and the foregoing implementation manner, in the second implementation manner, the determining, by the call record invoking request, the server that can provide the call record, includes: sending the call record call request to the registration center And determining, by the registration center, a server list capable of providing a call record calling service according to the action field and the type field; receiving the server list sent by the registration center; determining, in the server list A server that can provide a call record.
结合第一方面及其上述实现方式, 在其第三种实现方式中, 所述在所述服 务端列表中确定所述能够提供通话记录的服务端, 包括: 在所述服务端列表中 确定用户使用过的服务端为所述能够提供通话记录的服务端; 或者根据用户的 选择, 在所述服务端列表中或者用户使用过的服务端中确定所述能够提供通话 记录的服务端。  With reference to the first aspect and the foregoing implementation manner, in the third implementation manner, the determining, by the server, the server that can provide the call record, includes: determining a user in the server list The used server is the server that can provide the call record; or the server that can provide the call record is determined in the server list or the server used by the user according to the user's selection.
结合第一方面及其上述实现方式, 在其第四种实现方式中, 所述通话记录 调用请求还包含: 用于指示用户在所述客户端选定的一个或多个所述能够提供 通话记录的服务端的信息。  With reference to the first aspect and the foregoing implementation manner, in a fourth implementation manner, the call record invoking request further includes: indicating one or more of the selected call records that are selected by the user at the client Server-side information.
结合第一方面及其上述实现方式, 在其第五种实现方式中, 所述通话记录 获取请求包含附加请求条件, 其中所述附加请求条件包括以下至少一种: 用于 指示搜索对象的字符串; 用于指示通话记录返回数量限制的数值; 用于指示搜 索条件的字符串。  With reference to the first aspect and the foregoing implementation manner, in a fifth implementation manner, the call record acquisition request includes an additional request condition, where the additional request condition includes at least one of the following: a string for indicating a search object ; A numeric value used to indicate the limit on the number of call records returned; a string used to indicate the search criteria.
结合第一方面及其上述实现方式, 在其第六种实现方式中, 所述接收所述 服务端根据所述通话记录获取请求发送的所述响应消息之后, 还包括: 向所述 客户端发送所述通话记录, 以便在所述客户端显示、 导入或者存储所述通话记 录。  With reference to the first aspect and the foregoing implementation manner, in the sixth implementation manner, after the receiving, by the server, the response message sent by the call record acquisition request, the method further includes: sending the message to the client The call record is to display, import or store the call record at the client.
结合第一方面及其上述实现方式, 在其第七种实现方式中, 所述通话记录 的预定义格式包括以下至少一项: 本条通话记录的唯一标识; 通话用户的身份 标识; 通话用户的显示名称; 通话发生日期; 通话持续时间; 通话时的位置信 息; 通话过程中的附件; 通话过程中的截图; 通话过程的录音或录像; 电话会 议或视频会议信息。  With reference to the first aspect and the foregoing implementation manner, in a seventh implementation manner, the predefined format of the call record includes at least one of the following: a unique identifier of the call record; an identity of the call user; a display of the call user Name; call occurrence date; call duration; location information during the call; attachment during the call; screenshot during the call; recording or recording during the call; conference call or video conference information.
第二方面, 提供了一种用户设备, 包括: 第一接收单元, 用于接收客户端 发送的通话记录调用请求, 所述通话记录调用请求包含: 用于指示调用操作的 动作字段和用于指示数据类型为通话记录的类型字段; 确定单元, 用于根据所 述通话记录调用请求, 确定能够提供通话记录的服务端, 其中所述客户端与所 述服务端不同; 发送单元, 用于向所述服务端发送通话记录获取请求; 第二接 收单元, 用于接收所述服务端根据所述通话记录获取请求发送的响应消息, 所 述响应消息包含: 符合预定义格式的所述通话记录, 或者, 指示错误类型的错 误响应。 In a second aspect, a user equipment is provided, including: a first receiving unit, configured to receive a call record invocation request sent by a client, where the call record invocation request includes: an action field for indicating a call operation, and an indication The data type is a type field of the call record; the determining unit is configured to determine, according to the call record call request, a server that can provide a call record, where the client and the server The server is different from the server; the sending unit is configured to send a call record acquisition request to the server; the second receiving unit is configured to receive a response message sent by the server according to the call record obtaining request, where the response message includes : The call log in a predefined format, or an error response indicating the type of error.
结合第二方面, 在其第一种实现方式中, 所述通话记录调用请求还包含附 加请求条件, 其中所述附加请求条件包括以下至少一种: 用于指示搜索对象的 字符串; 用于指示通话记录返回数量限制的数值; 用于指示搜索条件的字符串。  With reference to the second aspect, in a first implementation manner, the call record call request further includes an additional request condition, where the additional request condition includes at least one of the following: a character string used to indicate a search object; The call record returns the value of the limit; the string used to indicate the search criteria.
结合第二方面及其上述实现方式, 在其第二种实现方式中, 所述发送单元 还用于向注册中心发送所述通话记录调用请求, 以便所述注册中心根据所述动 作字段和所述类型字段确定能够提供通话记录调用服务的服务端列表所述接收 单元还用于接收所述注册中心发送的所述服务端列表; 所述确定单元还用于在 所述服务端列表中确定所述能够提供通话记录的服务端。  With reference to the second aspect and the foregoing implementation manner, in a second implementation manner, the sending unit is further configured to send the call record invoking request to the registration center, so that the registry is configured according to the action field and the The type field determines a server list that can provide a call record calling service, the receiving unit is further configured to receive the server side list sent by the registration center, and the determining unit is further configured to determine, in the server side list, the A server that can provide call history.
结合第二方面及其上述实现方式, 在其第三种实现方式中, 所述确定单元 还用于: 在所述服务端列表中确定用户使用过的服务端为所述能够提供通话记 录的服务端; 或者根据用户的选择, 在所述服务端列表中或者用户使用过的服 务端中确定所述能够提供通话记录的服务端。  With reference to the second aspect and the foregoing implementation manner, in a third implementation manner, the determining unit is further configured to: determine, in the server list, that the server used by the user is the service that can provide the call record Or determining, according to the user's selection, the server capable of providing the call record in the server list or the server used by the user.
结合第二方面及其上述实现方式, 在其第四种实现方式中, 所述通话记录 调用请求还包含: 用于指示用户在客户端选定的一个或多个所述能够提供通话 记录的服务端的信息。  With reference to the second aspect, and the foregoing implementation manner, in the fourth implementation manner, the call record invoking request further includes: one or more services that are selected by the user to be selected by the client to provide a call record. Information on the side.
结合第二方面及其上述实现方式, 在其第五种实现方式中, 所述通话记录 获取请求包括附加请求条件, 其中所述附加请求条件包括以下至少一种: 用于 指示搜索对象的字符串; 用于指示通话记录返回数量限制的数值; 用于指示搜 索条件的字符串。  With reference to the second aspect and the foregoing implementation manner, in a fifth implementation manner, the call record acquisition request includes an additional request condition, where the additional request condition includes at least one of the following: a string for indicating a search object ; A numeric value used to indicate the limit on the number of call records returned; a string used to indicate the search criteria.
结合第二方面及其上述实现方式, 在其第六种实现方式中, 所述第二发送 单元还用于: 向所述客户端发送所述通话记录, 以便在所述客户端显示、 导入 或者存储所述通话记录。  With reference to the second aspect and the foregoing implementation manner, in the sixth implementation manner, the second sending unit is further configured to: send the call record to the client, to display, import, or Store the call record.
结合第二方面及其上述实现方式, 在其第七种实现方式中, 所述通话记录 的预定义格式包括以下至少一项: 本条通话记录的唯一标识; 通话用户的身份 标识; 通话用户的显示名称; 通话发生日期; 通话持续时间; 通话时的位置信 息; 通话过程中的附件; 通话过程中的截图; 通话过程的录音或录像; 电话会 议或视频会议信息。 本发明实施例提供的方法及用户设备在任意一个客户端调用其他服务端的 通话记录, 增强了通话记录的可操作性, 便于管理, 可以实现跨应用或网页的 通话记录调用。 附图说明 With reference to the second aspect and the foregoing implementation manner, in a seventh implementation manner, the predefined format of the call record includes at least one of the following: a unique identifier of the call record; an identity of the call user; and a display of the call user Name; call occurrence date; call duration; location information during the call; attachment during the call; screenshot during the call; recording or recording during the call; conference call or video conference information. The method provided by the embodiment of the present invention and the user equipment call the call records of other servers on any client, enhance the operability of the call record, facilitate management, and enable call record calling across applications or web pages. DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对本发明实施例中所 需要使用的附图作简单地介绍, 显而易见地, 下面所描述的附图仅仅是本发明 的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图 1是本发明一个实施例的通话记录调用方法的流程图。  1 is a flow chart of a call record calling method according to an embodiment of the present invention.
图 2是本发明一个实施例的通话记录调用方法的交互图。  2 is an interaction diagram of a call record calling method according to an embodiment of the present invention.
图 3是本发明另一实施例的通话记录调用方法的交互图。  3 is an interaction diagram of a call record calling method according to another embodiment of the present invention.
图 4是本发明一个实施例的用户设备的示意框图。  4 is a schematic block diagram of a user equipment according to an embodiment of the present invention.
图 5是本发明另一实施例的用户设备的示意框图。 具体实施方式  FIG. 5 is a schematic block diagram of a user equipment according to another embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不是全 部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳 动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, rather than 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 shall fall within the scope of the present invention.
图 1是本发明一个实施例的通话记录调用方法的流程图。 图 1的方法由用 户代理 (User Agent , UA) 执行。  1 is a flow chart of a call record calling method according to an embodiment of the present invention. The method of Figure 1 is performed by a User Agent (UA).
101, 接收客户端发送的通话记录调用请求, 该通话记录调用请求包含: 用 于指示调用操作的动作字段和用于指示数据类型为通话记录的类型字段。  101. Receive a call record call request sent by a client, where the call record call request includes: an action field for indicating a call operation and a type field for indicating that the data type is a call record.
102, 根据通话记录调用请求, 确定能够提供通话记录的服务端。  102. Determine, according to the call record call request, a server that can provide a call record.
103, 向服务端发送通话记录获取请求。  103. Send a call record acquisition request to the server.
104,接收服务端根据通话记录获取请求发送的响应消息,该响应消息包含: 符合预定义格式的通话记录, 或者, 指示错误类型的错误响应。  104. The receiving server sends a response message according to the call record acquisition request, where the response message includes: a call record that conforms to a predefined format, or an error response indicating an error type.
本发明实施例提供的方法在任意一个客户端调用其他服务端的通话记录, 增强了通话记录的可操作性, 便于管理, 可以实现跨应用或网页的通话记录调 用。 在本发明实施例中, 用户代理 (UA ) 是浏览器或操作系统的统称, 例如微 软的 Internet Explorer浏览器, 谷歌的 Google Chrome浏览器或者网络操作 系统 (Web-based Operating System ) 等等。 客户端指的是发起交互请求的应 用, 其中客户端可以是本地应用 ( Native Appl ications , Native Apps ) 或网 页应用 (Webpage Appl ications , Web Apps ), 例如用于网页实时通信(Web Real Time Communication , WebRTC) 的 WebRTC Apps。 更宽泛地, 客户端也可以仅仅 是发起交互请求的页面或网页, 例如 FaCeb00k、 人人网、 腾讯朋友网等社交类 网站的页面等等。 服务端指的是响应客户端请求或者为客户端提供服务的应用, 其中服务端可以是 Native Apps或 Web Apps , 例如 WebRTC Apps。 同样地, 服 务端也可以是以页面或网页形式存在的, 例如 FaCeb00k、 人人网、 腾讯朋友网 等社交类网站的页面等等。 The method provided by the embodiment of the invention invokes the call records of other servers on any client, enhances the operability of the call record, facilitates management, and can realize call record calling across applications or web pages. In the embodiment of the present invention, the user agent (UA) is a general term for a browser or an operating system, such as Microsoft Internet Explorer browser, Google's Google Chrome browser or Web-based Operating System, and the like. The client refers to an application that initiates an interactive request, where the client can be a local application ( Native Apps), or a web application (Web Apps), such as Web Real Time Communication (Web Real Time Communication). WebRTC) WebRTC Apps. More broadly, the client can also just be the page or web page that initiates the interactive request, such as pages of social networking sites such as Fa C eb 00 k, Renren.com, Tencent Friends.com, and so on. The server refers to an application that responds to a client request or provides services to a client. The server can be a Native Apps or a Web Apps, such as WebRTC Apps. Similarly, the server can also exist in the form of a page or a web page, such as a page of social networking websites such as Fa C eb 00 k, Renren.com, Tencent Friends.
为了方便描述, 本发明实施例以 Web Apps之间的通话记录调用为例进行说 明, 但本发明实施例不限于此, 网页应用与本地应用, 网页应用与网页, 网页 与网页, 本地应用与本地应用等组合也都落入本发明的保护范围。  For convenience of description, the embodiment of the present invention is described by taking a call record call between Web Apps as an example, but the embodiment of the present invention is not limited thereto, a web application and a local application, a web application and a webpage, a webpage and a webpage, a local application and a local Combinations of applications and the like also fall within the scope of protection of the present invention.
可选地, 作为一个实施例, 歩骤 101 之前还可以包括: 接收服务端发送的 注册请求; 向注册中心发送注册请求, 注册请求用于向注册中心指示服务端能 够提供通话记录调用服务。 也就是说, 在提供通话记录调用服务之前, 服务端 需要通过浏览器在注册中心进行注册, 当然服务端也可以不通过浏览器而直接 在注册中心进行注册。 其中, 注册请求可以包含: 用于指示调用操作的动作字 段,和用于指示数据类型为通话记录的类型字段。注册中心可以是应用商店(App Store ) 或第三方注册平台, 例如 webintents. org等, 本发明对此不做限定。  Optionally, as an embodiment, before step 101, the method further includes: receiving a registration request sent by the server; sending a registration request to the registration center, where the registration request is used to indicate to the registration center that the server can provide the call record calling service. That is to say, before providing the call record calling service, the server needs to register in the registration center through the browser. Of course, the server can also register directly in the registration center without using the browser. The registration request may include: an action field for indicating a call operation, and a type field for indicating that the data type is a call record. The registration center may be an application store (App Store) or a third-party registration platform, such as webintents.org, etc., which is not limited by the present invention.
可选地, 作为另一个实施例, 在歩骤 101 中, 通话记录调用请求包含: 用 于指示调用操作的动作字段以及用于指示数据类型为通话记录的类型字段。 其 中通话记录调用请求中的动作字段和类型字段需要与注册请求中的动作字段和 类型字段一致, 以便注册中心根据通话记录调用请求匹配已注册的能够提供通 话记录调用服务的服务端。 进一歩地, 通话记录调用请求还可以包含附加请求 条件, 其中附加请求条件可以包括以下至少一种: 用于指示搜索对象的字符串; 用于指示通话记录返回数量限制的数值; 用于指示搜索条件的字符串。  Optionally, as another embodiment, in step 101, the call record call request includes: an action field for indicating a call operation and a type field for indicating that the data type is a call record. The action field and the type field in the call record call request need to be consistent with the action field and the type field in the registration request, so that the registry matches the registered server capable of providing the call record calling service according to the call record call request. Further, the call record invocation request may further include an additional request condition, wherein the additional request condition may include at least one of the following: a character string for indicating the search object; a value indicating a limit number of the call record return; A string of conditions.
可选地, 作为另一个实施例, 歩骤 102 包括: 向注册中心发送通话记录调 用请求, 以便注册中心根据动作字段和类型字段确定能够提供通话记录调用服 务的服务端列表; 接收注册中心发送的服务端列表; 在服务端列表中确定能够 提供通话记录的服务端。 其中, 在服务端列表中确定能够提供通话记录的服务 端, 包括: 在服务端列表中确定用户使用过的服务端为能够提供通话记录的服 务端; 或者根据用户的选择, 在服务端列表中确定能够提供通话记录的服务端。 Optionally, as another embodiment, step 102 includes: sending a call record invocation request to the registration center, so that the registration center determines, according to the action field and the type field, a server list capable of providing a call record invoking service; receiving the sending by the registration center Server list; determine in the server list A server that provides call records. The server that can provide the call record in the server list includes: determining, in the server list, that the server used by the user is a server capable of providing a call record; or according to the user's selection, in the server list Identify the server that can provide call history.
可选地, 作为另一个实施例, 歩骤 101 中, 通话记录调用请求还包括: 用 于指示用户在客户端选定的一个或多个能够提供通话记录的服务端的信息。 也 就是说, 用户可以在客户端直接勾选某个或多个服务端, 从而无需通过浏览器 搜索注册中心来生成待选服务端列表以供用户选择。  Optionally, in another embodiment, in step 101, the call record invoking request further includes: information indicating one or more servers that the user selects at the client to provide the call record. That is to say, the user can directly select one or more servers on the client side, so that the registry is not required to be searched by the browser to generate a list of candidate servers for the user to select.
可选地, 作为另一个实施例, 在歩骤 103 中, 通话记录获取请求包含附加 请求条件, 其中附加请求条件可以包括以下至少一种: 用于指示搜索对象的字 符串; 用于指示通话记录返回数量限制的数值; 用于指示搜索条件的字符串。 也就是说, 在浏览器确定了能够提供通话记录的服务端后, 向该服务端发送从 上述通话记录调用请求中获取的附加请求条件, 来进行带有限定条件的通话记 录检索。  Optionally, as another embodiment, in step 103, the call record acquisition request includes an additional request condition, where the additional request condition may include at least one of the following: a character string used to indicate the search object; Returns the number of the limit; a string that indicates the search criteria. That is, after the browser determines the server that can provide the call record, it sends the additional request condition obtained from the call record invocation request to the server to perform the call record retrieval with the qualification condition.
可选地, 作为另一个实施例, 在歩骤 104 中, 响应消息包含: 匹配预定义 格式的通话记录, 或者, 指示错误类型的错误响应。 服务端能够根据客户端的 请求提供通话记录时, 该服务端可以将通话记录按照预定义的格式返回给浏览 器。 如果任何一种错误发生, 服务端可以返回一个错误的信息。 其中, 预定义 格式可以包括以下至少一项: 本条通话记录的唯一标识; 通话用户的身份标识; 通话用户的显示名称; 通话发生日期; 通话持续时间; 通话时的位置信息; 通 话过程中的附件; 通话过程中的截图; 通话过程的录音或录像; 电话会议或视 频会议信息。  Optionally, as another embodiment, in step 104, the response message includes: matching a call record in a predefined format, or an error response indicating an error type. When the server can provide a call record according to the client's request, the server can return the call record to the browser in a predefined format. If any kind of error occurs, the server can return an error message. The predefined format may include at least one of the following: a unique identifier of the call record; an identity of the call user; a display name of the call user; a date of the call; a duration of the call; location information during the call; an attachment during the call ; screenshots during the call; recording or recording of the call; conference call or video conference information.
可选地, 作为另一个实施例, 歩骤 104之后, 还包括: 向客户端发送通话 记录, 以便在客户端显示、 导入或者存储通话记录。 浏览器接收到服务端发送 的预定义格式的通话记录后, 可以将该预定义格式的通话记录在客户端页面上 显示, 并且可以根据用户的指令进行后续的导入或存储等操作, 也可以不经过 客户端页面的显示直接进行导入或者存储等操作。  Optionally, as another embodiment, after step 104, the method further includes: sending a call record to the client to display, import, or store the call record on the client. After receiving the call record in a predefined format sent by the server, the browser may display the call record in the predefined format on the client page, and may perform subsequent import or storage operations according to the user's instruction, or may not Directly import or store operations through the display of the client page.
本发明实施例提供的方法能够实现在任意一个客户端调用其他服务端的通 话记录, 增强了通话记录的可操作性, 便于管理, 可以实现跨应用或网页的通 话记录调用。  The method provided by the embodiment of the invention can implement the call record of other servers on any client, enhances the operability of the call record, facilitates management, and can realize call record calling across applications or web pages.
图 2是本发明一个实施例的通话记录调用方法的交互图。 图 2中, 用户代 理 (UA) 是浏览器或者操作系统的统称, 例如微软的 Internet Explorer 浏览 器, 谷歌的 Google Chrome 浏览器或者网络操作系统 (Web-based Operating System) 等等。 客户端指的是发起交互请求的应用, 其中客户端可以是 Nat ive Apps或 Web Apps , 例如 WebRTC Apps。 更宽泛地, 客户端也可以仅仅是发起交 互请求的页面或网页, 例如 FaCeb00k、 人人网、 腾讯朋友网等社交类网站的页 面等等。 服务端指的是响应客户端请求或者为客户端提供服务的应用, 其中服 务端可以是 Native Apps或 Web Apps , 例如 WebRTC Apps。 同样地, 服务端也 可以是以页面或网页形式存在的, 例如 FaCeb00k、 人人网、 腾讯朋友网等社交 类网站的页面等等。注册中心可以是应用商店(App Store )或第三方注册平台, 例如 webintents. org等, 本发明对此不做限定。 2 is an interaction diagram of a call record calling method according to an embodiment of the present invention. In Figure 2, the User Agent (UA) is a general term for a browser or operating system, such as Microsoft Internet Explorer. , Google's Google Chrome or Web-based Operating System, and more. A client refers to an application that initiates an interactive request, where the client can be a Nat ive Apps or a Web Apps, such as WebRTC Apps. More broadly, the client can also just be the page or web page that initiates the interactive request, such as pages of social networking sites such as Fa C eb 00 k, Renren.com, Tencent Friends.com, and so on. The server refers to an application that responds to a client request or provides services to a client. The server can be a Native Apps or a Web Apps, such as WebRTC Apps. Similarly, the server can also exist in the form of a page or a web page, such as a page of social networking websites such as Fa C eb 00 k, Renren.com, Tencent Friends. The registration center may be an application store (App Store) or a third-party registration platform, such as webintents.org, etc., which is not limited by the present invention.
201, 服务端向注册中心发送注册请求。  201. The server sends a registration request to the registration center.
服务端向浏览器发送注册请求, 并进一歩地由浏览器向注册中心转发该注 册请求, 也可以由注册中心直接接收服务端发送的注册请求, 以便该服务端将 其可提供的服务在注册中心进行注册。 该注册请求可以包含用于指示调用操作 的动作字段和用于指示数据类型为通话记录的类型字段。 例如, 定义动作字段 action : http : //webintents. org/pick ; 类 型 字 段 type: http:〃 w3. org/type/cal lLog, 其中 pick用于指示调用操作, cal lLog用于指 示通话记录。  The server sends a registration request to the browser, and further forwards the registration request to the registration center by the browser, or the registration center directly receives the registration request sent by the server, so that the server can provide the service it can provide in the registration center. Sign up. The registration request may include an action field for indicating a call operation and a type field for indicating that the data type is a call record. For example, define the action field action : http : //webintents. org/pick ; Type Field type: http:〃 w3. org/type/cal lLog, where pick is used to indicate the call operation and cal lLog is used to indicate the call record.
服务端在进行注册时, 发送的注册请求可以使用如下的语句:  When the server is registering, the registration request sent can use the following statement:
〈: intent action=//http: //webintents. org/pick〃 <: intent action =// http: //webintents. org/pick〃
type=〃http : //w3. org/ type/ cal lLog77 Type=〃http : //w3. org/ type/ cal lLog 77
encoding=//appl ication/ json〃 > Encoding =// appl ication/ json〃 >
</ intent)  </ intent)
以上是服务端的通话记录页在注册中心注册为一种上面定义的 action/type 的通话记录调用服务, 该通话记录页可以通过通用资源标识符 (Uniform Resource Identifier , URI ) 来标识禾口定位。  The above is the call record page of the server registered in the registration center as a call record calling service of the action/type defined above, and the call record page can be identified by a Uniform Resource Identifier (URI).
应理解, 通话记录可能来自多个源, 包括网络上的和用户设备本地的 (例 如, 用户设备上的通话记录) , 。 也就是说进行注册的服务端可以不仅仅是应 用或网页, 也可以是设备上的服务, 例如安卓系统提供的 Cal lLog. Cal ls 应用 禾呈序编禾呈接□ (Appl ication Programming Interface , API ) 。  It should be understood that the call log may come from multiple sources, including on the network and local to the user device (e.g., call logs on the user device). That is to say, the server to be registered can be not only an application or a webpage, but also a service on the device, for example, Cal lLog. Cal ls application provided by Android system (Appl ication Programming Interface, API) ).
此外, WebRTC apps除了可以注册为用于通话记录调用的服务, 还可以注册 为用于通话的服务, 例如, 定义 action为 cal l , 定义 type为 text/string。 这样如果客户端里有电话号码或电子邮件地址等有效账号, 点击 "拨打"按钮 可以通过浏览器和注册中心调出多个可以提供通话服务的服务端, 选择其中一 个, 拨出电话。 这种场景通常可以用于网络购物的应用或网页中联系卖家, 网 络游戏或网页游戏中联系队友等。 In addition, WebRTC apps can be registered as a service for call recording, and can also be registered as a service for calling. For example, define action as cal l and define type as text/string. In this way, if there is a valid account such as a phone number or an email address in the client, click the "dial" button to call up the server that can provide the call service through the browser and the registration center, select one of them, and dial out the call. This kind of scene can usually be used for online shopping applications or web pages to contact sellers, online games or web games to contact teammates.
上述在应用中心注册的过程可以在应用上架时执行, 也可以在应用更新时 执行, 也可以通过手动写入代码进行注册, 本发明对此不做限定。  The process of registering in the application center may be performed when the application is put on the shelf, or may be executed when the application is updated, or may be registered by manually writing the code, which is not limited by the present invention.
202, 客户端向 UA发送通话记录调用请求。  202. The client sends a call record invocation request to the UA.
当用户打开一个客户端, 可以是 WebRTC App或普通应用, 在该应用的页面 上点击用于触发通话记录调用的按钮, 例如 "通话记录" , "导入"等按钮, 以发起通话记录调用请求。 该通话记录调用请求可以包含上述歩骤 201 中注册 请求中通话记录调用服务对应的 action/type , 以便注册中心根据该 action/type匹配搜索有能力提供该服务的服务端。客户端向浏览器发送该通话 记录调用请求。  When the user opens a client, it can be a WebRTC App or a normal application, and a button for triggering a call record call, such as a "call record", an "import" button, is clicked on the page of the application to initiate a call record call request. The call record invocation request may include an action/type corresponding to the call record calling service in the registration request in the above step 201, so that the registration center searches for a server capable of providing the service according to the action/type matching. The client sends the call record call request to the browser.
此外, 客户端也可以不仅仅通过一个按钮来调用通话记录, 客户端还可以 通过让用户选择一些检索通话记录时的限定条件, 例如按号码, 人名等信息进 行检索, 或者只请求部分数据等等。 这样可以通过用户的选择和限定生成附加 请求条件, 由通话记录调用请求承载, 一并发送给浏览器。 例如可以根据用户 选择的限定条件生成如下代码:  In addition, the client can also call the call record not only through a button, but also allows the user to select some qualification conditions for retrieving the call record, such as searching by number, person name, etc., or requesting only partial data, etc. . In this way, an additional request condition can be generated by the user's selection and limitation, and the request bearer is called by the call record and sent to the browser. For example, the following code can be generated according to the qualification conditions selected by the user:
dictionary Cal lLoglntentExtras {  Dictionary Cal lLoglntentExtras {
DOMString search;  DOMString search;
unsigned long l imit;  Unsigned long l imit;
sequence<D0MString> fields; 其中, DOMString域下的 search字符串是提供给服务端的用于指示搜索对 象的限定条件, 例如可以将该字符串定义为人名 Al ice , 即指定搜索并返回与 Al ice相关的通话记录。 l imit可以为用于选定的一个数值, 以便服务端返回不 超过该数值的通话记录条目, 例如可以定义该数值为 10, 则符合条件的通话记 录条数大于 10条时, 只返回最大值 10条。 sequence 〈D0MString〉域下可以是 用于指示搜索条件的字符串数组, 用于在搜索时给服务端以提示, 例如指定搜 索域为人名, 则服务端只在人名一栏中进行搜索。  Sequence<D0MString> fields; where the search string in the DOMString field is a qualification condition for the search object to indicate to the search object. For example, the string can be defined as the person name Al ice , that is, the search is specified and returned related to Al ice. Call history. l imit can be used to select a value, so that the server can return a call record entry that does not exceed the value. For example, if the value is 10, if the number of eligible call records is greater than 10, only the maximum value is returned. 10 articles. The sequence <D0MString> field can be an array of strings used to indicate the search condition. It is used to prompt the server when searching. For example, if the search domain is a person name, the server only searches in the person name column.
应理解, 上述附加请求条件的代码仅为一个示例, 本发明实施例中附加请 求条件的域不限于上述代码中的三个域, 当然上述三个域也不是必须的, 本发 明对此不做限定。 如果客户端不通过设定额外限定条件而直接通过按钮触发通 话记录调用过程, 则上述附加请求条件可以在确定提供通话记录的服务端后进 行收集。 It should be understood that the code of the above additional request condition is only an example, and is added in the embodiment of the present invention. The domain of the condition is not limited to the three domains in the above code. Of course, the above three domains are not required, and the present invention does not limit this. If the client does not trigger the call record calling process directly by the button by setting an additional qualification condition, the above additional request condition may be collected after determining the server that provides the call record.
浏览器接收到通话记录调用请求后, 向注册中心发送该通话记录调用请求。 如果该通话记录调用请求除了包含最基本的 action/type ,还包含有附加请求条 件时, 浏览器可以选择只将 action/type发送给注册中心, 而将附加请求条件 缓存在本地, 以备后续选定提供通话记录的服务端之后再发送。 当然, 也可以 连同附加请求条件一并发送。  After receiving the call record invocation request, the browser sends the call record invocation request to the registration center. If the call record call request contains the most basic action/type and includes an additional request condition, the browser may choose to only send the action/type to the registry, and cache the additional request condition locally for later selection. Send the server that provides the call record before sending it. Of course, it can also be sent along with the additional request conditions.
203, 注册中心向 UA发送服务端列表。  203. The registration center sends a server list to the UA.
注册中心接受到通话记录调用请求后, 获取其中的 action/type字段, 根 据该 action/type字段在之前注册的应用的 action/type字段中进行匹配搜索 来确定注册为能够提供通话记录调用服务的服务端, 并生成列表。 将该列表返 回给浏览器以供选择。 其中, 能够提供通话记录调用服务的服务端列表可以包 括列表中每个服务端的通话记录页的 URI。  After receiving the call record invocation request, the registration center obtains the action/type field, and performs a matching search in the action/type field of the previously registered application according to the action/type field to determine that the registration is a service capable of providing the call record calling service. End, and generate a list. Return the list to the browser for selection. The server list capable of providing the call record calling service may include the URI of the call record page of each server in the list.
204, UA确定能够提供通话记录的服务端。  204. The UA determines a server that can provide a call record.
在接收到能够提供通话记录调用服务的服务端列表后, 浏览器需要确定能 够提供通话记录的服务端, 即真正进行通话记录调用的目标服务端, 这一确定 过程可以由多种实施方式:  After receiving the list of servers that can provide the call record calling service, the browser needs to determine the server that can provide the call record, that is, the target server that actually makes the call record call. This determination process can be implemented in various ways:
实施方式一, 浏览器可以在能够提供通话记录调用服务的服务端列表中直 接确定用户使用过的服务端作为目标服务端, 即能够提供通话记录的服务端, 其中目标服务端可以为一个或者多个。 具体地, 用户通过账号登陆浏览器, 浏 览器将此账号的历史记录、 历史设置以及该用户曾经使用过的服务端 (例如 WebRTC服务商) 等相关信息存在云端, 这样浏览器可以直接从云端获取该用户 使用过的服务端。 并且即使用户在不同的用户设备上使用浏览器时, 只要登录 浏览器账户, 同样能够确定该用户使用过的服务端。  In the first embodiment, the browser can directly determine the server used by the user as the target server in the server list capable of providing the call record calling service, that is, the server capable of providing the call record, wherein the target server can be one or more One. Specifically, the user logs in to the browser through the account, and the browser stores the history record, the historical setting of the account, and the related information (such as the WebRTC service provider) used by the user in the cloud, so that the browser can directly obtain from the cloud. The server that the user has used. And even if the user uses the browser on a different user device, as long as the browser account is logged in, it is also possible to determine the server that the user has used.
实施方式二, 浏览器可以在上述服务端列表中确定用户使用过的服务端, 具体方法与上述实时方式一相同, 将确定的用户使用过的服务端列表发送给客 户端, 或者在弹出的窗口中或直接在页面上显示用户使用过的服务端列表, 以 供用户选择。 根据用户的选择进一歩确定目标服务端, 即能够提供通话记录的 服务端, 其中用户可以选择一个或者多个服务端作为目标服务端。 实施方式三, 浏览器可以直接将上述服务端列表发送给客户端, 或者在弹 出的窗口中或直接在页面上显示, 以供用户选择。 之后根据用户的选择进一歩 确定目标服务端, 即能够提供通话记录的服务端, 其中用户可以选择一个或者 多个服务端作为目标服务端。 In the second embodiment, the browser may determine the server used by the user in the server list. The specific method is the same as the real-time mode described above, and the determined server list used by the user is sent to the client, or the pop-up window is displayed. The list of servers used by the user is displayed in the middle or directly on the page for the user to select. According to the user's selection, the target server is determined, that is, the server capable of providing the call record, wherein the user can select one or more servers as the target server. In the third embodiment, the browser can directly send the server list to the client, or display it in a pop-up window or directly on the page for the user to select. Then, according to the user's selection, the target server is determined, that is, the server capable of providing the call record, wherein the user can select one or more servers as the target server.
当然, 浏览器也可以列出安装在浏览器上和 App Store推荐的服务端以供 用户选择。  Of course, the browser can also list the servers installed on the browser and recommended by the App Store for users to choose.
在确定了目标服务端后, 浏览器可以提示用户输入账户密码以登陆目标服 务端, 浏览器也可以预先设定与特定服务端的信任关系, 不需要通过用户交互 而直接获得登陆授权, 例如用户曾授权浏览器记住输入的账户密码。 或者也可 以由所有的服务提供商整合用户标识, 只要用户登陆一次, 则对所有的同类应 用 (例如 WebRTC App ) 有效, 即单点登陆 ( Single Sign On, SSO) 。  After the target server is determined, the browser can prompt the user to input the account password to log in to the target server. The browser can also pre-set the trust relationship with the specific server, and does not need to directly obtain the login authorization through user interaction, for example, the user has The authorized browser remembers the account password entered. Alternatively, the user ID can be integrated by all service providers. As long as the user logs in once, it is valid for all similar applications (such as WebRTC App), namely Single Sign On (SSO).
205, UA向服务端发送通话记录获取请求。  205. The UA sends a call record acquisition request to the server.
浏览器在确定了能够提供通话记录的服务端, 并且验证成功后, 登陆能够 提供通话记录的服务端, 将通话记录获取请求发送给该服务端。 具体地, 可以 将歩骤 202 中, 浏览器将缓存的附加请求条件通过通话记录获取请求发送给该 服务端。 或者, 在浏览器没有缓存附加请求条件的情况下, 可以向用户获取与 上述附加请求条件相类似的检索条件, 并将该检索条件通过 Cal lLoglntentExtras传递给该服务端, 具体可参照上述歩骤 202。  After determining that the server can provide the call record, and the verification succeeds, the browser logs in to the server that can provide the call record, and sends a call record acquisition request to the server. Specifically, in step 202, the browser sends the cached additional request condition to the server by using a call record acquisition request. Alternatively, in the case that the browser does not cache the additional request condition, the search condition similar to the above-mentioned additional request condition may be obtained from the user, and the search condition is transmitted to the server through the Cal lLoglntentExtras. For details, refer to step 202 above. .
206, 服务端返回响应。  206, the server returns a response.
能够提供通话记录的服务端在接收到通话记录获取请求后, 根据其中的附 加请求条件或者新获取的检索条件, 将符合要求的通话记录按照预定义格式返 回给浏览器。 之后浏览器可以直接在客户端的页面上显示通话记录, 这种方法 服务端提供通话记录的页面运行但不打开, 避免了页面之间的跳转, 但是需要 postResult时间自动触发, 例如基于 onload事件来实现自动触发。 当然, 也可 以在新窗口或者标签页打开服务端提供通话记录的页面, 这种方法需要用户手 动触发 postResult事件, 例如点击按钮。 当上述过程有任何一种错误发生时, 浏览器可以返回一个错误信息 error , 例如使用 postFai lure来返回错误, 并指 示错误类型。 其中, 如果用户选择 0个服务端或者取消操作, 则不做错误处理。 此外, 除了在客户端的页面上显示通话记录外, 也可以根据用户选择, 直接在 客户端执行导入或存储等操作, 或者在页面上显示出通话记录后, 提供例如导 入或存储等操作的按钮以进行进一歩的操作。 将符合要求的通话记录处理为预定义格式, 可以使得不同应用或网页的不 同格式的通话记录在进行调用时处理为相同的格式。 也就是说, 通过预定义格 式来规范服务端提供给客户端数据的一致性。 例如, 调用成功时, 服务端可以 返回一个 Cal lLog对象的数组, 该 Cal lLog对象不仅可以包含通话记录, 还可 以包含文本, 附件, 录音, 图片, 视频等信息, 本发明对此不做限定。 例如, 通话记录格式可以如下: After receiving the call record acquisition request, the server capable of providing the call record returns the call record that meets the requirements to the browser according to the predefined format according to the additional request condition or the newly acquired search condition. Afterwards, the browser can directly display the call record on the client's page. In this way, the server provides the call record page to run but does not open, avoiding the jump between pages, but requires the postResult time to be triggered automatically, for example, based on the onload event. Implement automatic triggering. Of course, you can also open the page that provides the call record on the server in a new window or tab. This method requires the user to manually trigger a postResult event, such as clicking a button. When any of the above procedures occur, the browser can return an error message error, such as using postFai lure to return an error and indicating the type of error. If the user selects 0 servers or cancels the operation, no error processing is performed. In addition, in addition to displaying the call record on the client's page, it is also possible to perform an import or store operation directly on the client according to the user's selection, or to provide a button such as import or store after the call record is displayed on the page. Take a further look. The call records that meet the requirements are processed into a predefined format, so that call records of different formats of different applications or web pages can be processed into the same format when called. That is to say, the consistency of the data provided by the server to the client is standardized by a predefined format. For example, when the call is successful, the server may return an array of Cal lLog objects, which may include not only a call record, but also text, an attachment, a recording, a picture, a video, etc., which is not limited by the present invention. For example, the call record format can be as follows:
dictionary Cal lLog {  Dictionary Cal lLog {
DOMString id ;  DOMString id ;
DOMString cal l ld;  DOMString cal l ld;
DOMString displayName;  DOMString displayName;
Posit ion location;  Posit ion location;
DOMString type ;  DOMString type ;
Date date;  Date date;
unsigned long duration;  Unsigned long duration;
sequence<DOMString> styles;  Sequence<DOMString> styles;
sequence<Cal lLogField> screenshots;  Sequence<Cal lLogField> screenshots;
sequence<Cal lLogField> recordings;  Sequence<Cal lLogField> recordings;
sequence<Cal lLogField> attachments;  Sequence<Cal lLogField> attachments;
sequence<Cal lLogChat> chatLogs;  Sequence<Cal lLogChat> chatLogs;
sequence<Cal lLogMeeting> meet ingLogs 其中, DOMString 中的 id用于指示每条通话记录的唯一标识; cal l ld用 于指示使用与该条通话记录相关的 webRTC 业务的标识 (例如电话号码) ; displayName 用于指示对方的显示名称 (昵称) ; Posit ion 中的 location 用 于指示通话时的位置信息; DOMString中的 type用于指示通话的类型, 如未接, 拨出,拨入; date 用于指示通话发生的日期; duration用于指示通话持续时间; styles 用于指示风格, 如音频, 音 /视频, 文字等; screenshots 用于指示该 条通话记录相关的截屏图片; recordings用于指示与该条通话记录相关的一条 或多条录音; attachments 用于指示与该条通话记录相关的一条或多条附件; chatLogs 用于指示与该条通话记录相关的一条或多条文本聊天记录; meetingLogs 用于指示与该条通话记录相关的一条或多条电话会议记录。 作为一个具体的例子, WebRTC服务端可以使用预定义的通话记录格式创建 一个通话记录对象, 填充内容, 并且使用 postResultO返回结果: Sequence<Cal lLogMeeting> meet ingLogs where the id in the DOMString is used to indicate the unique identifier of each call record; cal l ld is used to indicate the identity (such as the phone number) of the webRTC service associated with the call record; displayName Indicates the other party's display name (nickname); the location in the Posit ion is used to indicate the location information during the call; the type in the DOMString is used to indicate the type of the call, such as missed, dialed out, dialed in; date is used to indicate the call The date of occurrence; duration is used to indicate the duration of the call; styles is used to indicate the style, such as audio, audio/video, text, etc.; screenshots is used to indicate the screen capture related to the call record; recordings is used to indicate the call record with the call One or more related recordings; attachments are used to indicate one or more attachments associated with the call record; chatLogs is used to indicate one or more text chats associated with the call record; meetingLogs is used to indicate One or more conference call records associated with the call history. As a specific example, the WebRTC server can create a call record object using a predefined call record format, populate the content, and use postResultO to return the result:
<script type=//text/ javascript77) <script type =// text/ javascript 77 )
if (window, intent) {  If (window, intent) {
var content = {};  Var content = {};
content, uri = /rhttp: //example. com/callLogs/^; Content, uri = /r http: //example. com/callLogs/^;
var callLogOb ject = new Object ();  Var callLogOb ject = new Object ();
callLogOb ject. Name = Alice;  callLogOb ject. Name = Alice;
callLogOb ject. Num_webrtc =1890000000;  callLogOb ject. Num_webrtc =1890000000;
callLogOb ject. Type=IN;  callLogOb ject. Type=IN;
callLogOb ject. State = yes;  callLogOb ject. State = yes;
callLogObject. Date. start= "20130209 12:12" ;  callLogObject. Date. start= "20130209 12:12" ;
var callLogOb jectArr ay = new Array ();  Var callLogOb jectArr ay = new Array ();
callLogOb jectArray [0] = callLogObject;  callLogOb jectArray [0] = callLogObject;
if (callLogOb jectArray) { window, intent. postResult (callLogOb jectAr ray); }  If (callLogOb jectArray) { window, intent. postResult (callLogOb jectAr ray); }
else {window, intent. postFai lure (errorMessage); } </ script)  Else {window, intent. postFai lure (errorMessage); } </ script)
上述代码承载了一条通话记录, 对方姓名 Alice, 电话号码 1890000000, 呼叫类型为拨入, 时间为 2013年 2月 9日 12点 12分。 并通过判断语句实现成 功的情况下返回通话记录 (postResult) , 错误的情况下返回错误消息 (postFailure) 。  The above code carries a call record, the other party's name Alice, the phone number is 1890000000, and the call type is dial-in. The time is February 12, 2013 at 12:12. The call record (postResult) is returned when the judgment statement is successful, and the error message (postFailure) is returned in case of an error.
另外作为客户端代码的一个例子:  Also as an example of client code:
var intent = new Intent ( { action: "http:// intents. w3. org/pick^, type: "http:// intents. w3. org/type/ callLog^,  Var intent = new Intent ( { action: "http:// intents. w3. org/pick^, type: "http:// intents. w3. org/type/ callLog^,
extras: { search: "Alice", limit: 10 navigator. startActivity (intent, callLogOK, callLogFai 1);  Extras: { search: "Alice", limit: 10 navigator. startActivity (intent, callLogOK, callLogFai 1);
function callLogOK (callLogOb jectArray) {  Function callLogOK (callLogOb jectArray) {
II do something useful with them} function cal lLogFai l (err) { II do something useful with them} Function cal lLogFai l (err) {
II display an error to the user}  II display an error to the user}
其中, act ion/type字段表明客户端请求调用通话记录, extras 列出一些 附加条件或搜索条件, 请求发出后, 通过回调函数 cal lLogOK和 cal lLogFai l 来获取响应, 接收需要的通话记录, 或者返回错误信息。  The act ion/type field indicates that the client requests to call the call record, and the extras lists some additional conditions or search conditions. After the request is sent, the callback functions cal lLogOK and cal lLogFai l are used to obtain the response, receive the required call record, or return. Error message.
本发明实施例提供的方法可以实现在任意一个客户端调用其他服务端的通 话记录, 增强了通话记录的可操作性, 便于管理, 可以实现跨应用或网页的通 话记录调用。  The method provided by the embodiment of the invention can implement the call record of other servers on any client, enhances the operability of the call record, facilitates management, and can realize call record calling across applications or web pages.
图 3是本发明另一个实施例的通话记录调用方法的交互图。 图 3中, 用户 代理 (UA ) 是浏览器或操作系统的统称, 例如微软的 Internet Explorer 浏览 器, 谷歌的 Google Chrome 浏览器或者网络操作系统 (Web-based Operating System) 等等。 客户端指的是发起交互请求的应用, 其中客户端可以是 Nat ive Apps或 Web Apps , 例如 WebRTC Apps。 更宽泛地, 客户端也可以仅仅是发起交 互请求的页面或网页, 例如 FaCeb00k、 人人网、 腾讯朋友网等社交类网站的页 面等等。 服务端指的是响应客户端请求或者为客户端提供服务的应用, 其中服 务端可以是 Native Apps或 Web Apps , 例如 WebRTC Apps。 同样地, 服务端也 可以是以页面或网页形式存在的, 例如 FaCeb00k、 人人网、 腾讯朋友网等社交 类网站的页面等等。注册中心可以是应用商店(App Store )或第三方注册平台, 例如 webintents. org等, 本发明对此不做限定。 3 is an interaction diagram of a call record calling method according to another embodiment of the present invention. In Figure 3, the User Agent (UA) is a generic term for a browser or operating system, such as Microsoft's Internet Explorer browser, Google's Google Chrome browser, or Web-based Operating System. A client refers to an application that initiates an interactive request, where the client can be a Nat ive Apps or a Web Apps, such as WebRTC Apps. More broadly, the client can also just be the page or web page that initiates the interactive request, such as pages of social networking sites such as Fa C eb 00 k, Renren.com, Tencent Friends.com, and so on. The server refers to an application that responds to a client request or provides services to a client. The server can be a Native Apps or a Web Apps, such as WebRTC Apps. Similarly, the server can also exist in the form of a page or a web page, such as a page of social networking websites such as Fa C eb 00 k, Renren.com, Tencent Friends. The registration center may be an application store (App Store) or a third-party registration platform, such as webintents.org, etc., which is not limited by the present invention.
图 3中实施例的服务端注册过程与上述图 2中歩骤 201相类似, 此处不再 赘述。  The server registration process of the embodiment in FIG. 3 is similar to step 201 in FIG. 2 above, and details are not described herein again.
301, 客户端选定能够提供通话记录的服务端。  301. The client selects a server that can provide a call record.
用户可以在客户端用户的页面上直接选定能够提供通话记录的服务端。 具 体地, 可以是客户端预置的多个服务端, 也可以是客户端从浏览器获取的用户 使用过的服务端以页面呈现出来以供用户选择, 用户可以在其中勾选一个或者 多个服务端最为能够提供通话记录的服务端。 应理解, 用户选择的过程不仅限 于勾选, 也可以通过用户手动输入客户端名称或 URI 等方法实现, 本发明实施 例不限于此。  The user can directly select the server that can provide the call record on the client user's page. Specifically, the server may be a plurality of servers preset by the client, or may be displayed by the server used by the client from the browser for the user to select, and the user may select one or more of the servers. The server is the server that can provide the call record. It should be understood that the process of user selection is not limited to the check, and may be implemented by a method such as manually inputting a client name or a URI by the user, and the embodiment of the present invention is not limited thereto.
302, 客户端向 UA发送通话记录调用请求。  302. The client sends a call record invocation request to the UA.
客户端获取到用户的选择后, 生成通话记录调用请求, 并发送给浏览器。 具体地, 用户选定服务端后点击用于指示确定的按钮, 则客户端根据用户的选 择来生成通话记录调用请求, 其中通话记录调用请求中的 action/type 以及可 选的附加请求条件与上述图 2中歩骤 202中相类似, 此处不再赘述, 不同点在 于, 本实施例中的通话记录调用请求还需要携带用户选定的一个或多个指定服 务端的信息, 例如携带指定服务端的 URI或名称等。 After the client obtains the user's selection, the client generates a call record invocation request and sends it to the browser. Specifically, after the user selects the server and clicks the button for indicating the determination, the client selects according to the user. The call record invoking request is generated, wherein the action/type and the optional additional request condition in the call record invoking request are similar to those in the above step 202 in FIG. 2, and are not described here again, the difference is that the embodiment The call record invoking request also needs to carry information of one or more specified servers selected by the user, for example, carrying a URI or a name of the specified server.
303, UA向服务端发送通话记录获取请求。  303. The UA sends a call record acquisition request to the server.
浏览器在接收到通话记录调用请求后, 根据其中携带的指定服务端的信息 直接向该指定服务端发送通话记录获取请求,其中通话记录获取请求与上述图 2 中歩骤 205相类似, 此处不再赘述。  After receiving the call record invocation request, the browser directly sends a call record acquisition request to the designated server according to the information of the specified server carried therein, wherein the call record acquisition request is similar to step 205 in FIG. 2 above, where Let me repeat.
304, 服务端返回响应。  304, the server returns a response.
指定服务端在接收到通话记录获取请求后, 根据其中的附加请求条件或者 新获取的检索条件, 将符合要求的通话记录按照预定义格式返回给浏览器。 之 后浏览器可以直接在客户端的页面上显示通话记录, 或者根据用户选择, 直接 在客户端执行导入或存储等操作, 或者在页面上显示出通话记录后, 提供例如 导入或存储等操作的按钮以进行进一歩的操作等等。 具体地可以参考上述图 2 中歩骤 206, 此处不再赘述。  After receiving the call record acquisition request, the designated server returns the matching call record to the browser according to the pre-defined format according to the additional request condition or the newly acquired search condition. Afterwards, the browser can display the call record directly on the client's page, or perform import or storage operations directly on the client according to the user's selection, or provide a button such as import or store after the call record is displayed on the page. Carry out further operations and so on. For details, refer to step 206 in Figure 2 above, and details are not described herein again.
本发明实施例提供的方法可以实现在任意一个客户端调用其他服务端的通 话记录, 增强了通话记录的可操作性, 便于管理, 可以实现跨应用或网页的通 话记录调用。  The method provided by the embodiment of the invention can implement the call record of other servers on any client, enhances the operability of the call record, facilitates management, and can realize call record calling across applications or web pages.
图 4是本发明一个实施例的用户设备的示意框图。 图 4的用户设备 400包 括第一接收单元 401、 确定单元 402、 发送单元 403和第二接收单元 404。  4 is a schematic block diagram of a user equipment according to an embodiment of the present invention. The user equipment 400 of FIG. 4 includes a first receiving unit 401, a determining unit 402, a transmitting unit 403, and a second receiving unit 404.
第一接收单元 401 接收客户端发送的通话记录调用请求, 该通话记录调用 请求包含: 用于指示调用操作的动作字段和用于指示数据类型为通话记录的类 型字段。 确定单元 402根据第一接收单元 401接收到的通话记录调用请求, 确 定能够提供通话记录的服务端。 发送单元 403向服务端发送通话记录获取请求。 第二接收单元 404接收服务端根据发送单元 403发送的通话记录获取请求发送 的响应消息, 该响应消息包含: 符合预定义格式的通话记录或者指示错误类型 的错误响应。  The first receiving unit 401 receives a call record invocation request sent by the client, and the call record invoking request includes: an action field for indicating a calling operation and a type field for indicating that the data type is a call record. The determining unit 402 determines the server capable of providing the call record based on the call record invocation request received by the first receiving unit 401. The sending unit 403 sends a call record acquisition request to the server. The second receiving unit 404 receives the response message sent by the server according to the call record acquisition request sent by the sending unit 403, and the response message includes: a call record conforming to a predefined format or an error response indicating an error type.
本发明实施例提供的用户设备可以实现跨应用或网页的通话记录调用。 可选地, 作为一个实施例, 第一接收单元 401 还用于: 接收服务端发送的 注册请求; 发送单元 403, 向注册中心发送注册请求, 注册请求用于向注册中心 指示服务端能够提供通话记录调用服务。 也就是说, 在提供通话记录调用服务 之前, 服务端需要通过浏览器在注册中心进行注册。 其中, 注册请求可以包含: 用于指示调用操作的动作字段; 和用于指示数据类型为通话记录的类型字段。 The user equipment provided by the embodiment of the present invention can implement call record calling across applications or web pages. Optionally, as an embodiment, the first receiving unit 401 is further configured to: receive a registration request sent by the server; the sending unit 403, send a registration request to the registration center, where the registration request is used to indicate to the registration center that the server can provide the call Record the calling service. That is, in the call record service Previously, the server needed to register at the registry through a browser. The registration request may include: an action field for indicating a call operation; and a type field for indicating that the data type is a call record.
可选地, 作为另一个实施例, 通话记录调用请求和注册请求包含: 用于指 示调用操作的动作字段; 用于指示数据类型为通话记录的类型字段。 其中通话 记录调用请求还可以包含附加请求条件, 其中附加请求条件包括以下至少一种: 用于指示搜索对象的字符串; 用于指示通话记录返回数量限制的数值; 用于指 示搜索条件的字符串。  Optionally, as another embodiment, the call record invocation request and the registration request include: an action field for indicating a call operation; and a type field for indicating that the data type is a call record. The call record invocation request may further include an additional request condition, wherein the additional request condition includes at least one of the following: a character string for indicating a search object; a value indicating a limit number of the call record return; a string indicating the search condition; .
可选地, 作为另一个实施例, 发送单元 403 还用于向注册中心发送通话记 录调用请求, 以便注册中心根据动作字段和类型字段确定能够提供通话记录调 用服务的服务端列表; 接收单元 401 还用于接收注册中心发送的服务端列表; 确定单元 402还用于在服务端列表中确定能够提供通话记录的服务端。  Optionally, as another embodiment, the sending unit 403 is further configured to send a call record invocation request to the registration center, so that the registration center determines, according to the action field and the type field, a server list that can provide a call record invoking service; the receiving unit 401 further For receiving the server list sent by the registration center; the determining unit 402 is further configured to determine, in the server list, a server that can provide the call record.
可选地, 作为另一个实施例, 确定单元 402 还用于: 在服务端列表中确定 用户使用过的服务端为能够提供通话记录的服务端; 或者根据用户的选择, 在 服务端列表中确定能够提供通话记录的服务端。 也就是说, 用户可以在客户端 直接勾选某个或多个服务端, 从而无需通过浏览器搜索注册中心来生成待选服 务端列表以供用户选择。  Optionally, in another embodiment, the determining unit 402 is further configured to: determine, in the server list, that the server used by the user is a server that can provide a call record; or determine, according to the user's selection, the server list. A server that can provide call history. That is to say, the user can directly select one or more servers on the client side, so that the browser is not required to search the registry to generate a list of candidate servers for the user to select.
可选地, 作为另一个实施例, 通话记录调用请求还包含: 用于指示用户在 客户端选定的一个或多个能够提供通话记录的服务端的信息。  Optionally, as another embodiment, the call record invoking request further includes: information indicating one or more servers that the user selects at the client to provide the call record.
可选地, 作为另一个实施例, 通话记录获取请求包含附加请求条件。 也就 是说, 在用户设备 400确定了能够提供通话记录的服务端后, 向该服务端发送 从上述通话记录调用请求中获取的附加请求条件, 来进行带有限定条件的通话 记录信息检索。  Optionally, as another embodiment, the call record acquisition request includes an additional request condition. That is to say, after the user equipment 400 determines the server that can provide the call record, the server requests the additional request condition obtained from the call record invocation request to perform the call record information retrieval with the qualified condition.
可选地, 作为另一个实施例, 响应消息包含: 符合预定义格式的通话记录; 或者指示错误类型的错误响应。 服务端能够根据客户端的请求提供通话记录时, 该服务端可以将通话记录按照预定义的格式返回给用户设备 400。如果任何一种 错误发生, 服务端可以返回一个错误的信息。 其中, 预定义格式可以包括以下 至少一项: 本条通话记录的唯一标识; 通话用户的身份标识; 通话用户的显示 名称; 通话发生日期; 通话持续时间; 通话时的位置信息; 通话过程中的附件; 通话过程中的截图; 通话过程的录音或录像; 电话会议或视频会议信息。  Optionally, as another embodiment, the response message includes: a call record that conforms to a predefined format; or an error response indicating an error type. When the server can provide a call record according to the request of the client, the server can return the call record to the user device 400 in a predefined format. If any kind of error occurs, the server can return an error message. The predefined format may include at least one of the following: a unique identifier of the call record; an identity of the call user; a display name of the call user; a date of the call; a duration of the call; location information during the call; an attachment during the call ; screenshots during the call; recording or recording of the call; conference call or video conference information.
可选地, 作为另一个实施例, 第二发送单元 404还用于: 向客户端发送通 话记录, 以便在客户端显示、 导入或者存储通话记录。 用户设备 400接收到服 务端发送的预定义格式的通话记录后, 可以将其在客户端页面上显示, 并且可 以根据用户的指令进行后续的导入或存储等操作, 也可以不经过客户端页面的 显示直接进行导入或者存储等操作。 Optionally, in another embodiment, the second sending unit 404 is further configured to: send a call record to the client, so as to display, import, or store the call record on the client. User equipment 400 receives the service After the call record of the predefined format sent by the server, it can be displayed on the client page, and subsequent import or storage operations can be performed according to the user's instruction, or can be directly imported without the display of the client page or Storage and other operations.
本发明实施例提供的用户设备 400 可以实现在任意一个客户端调用其他服 务端的通话记录, 增强了通话记录的可操作性, 便于管理, 可以实现跨应用或 网页的通话记录调用。  The user equipment 400 provided by the embodiment of the present invention can implement call records of other servers in any one client, enhance the operability of the call record, facilitate management, and can realize call record calling across applications or web pages.
图 5是本发明另一实施例的用户设备的示意框图。 图 5的用户设备 500包 括处理器 501和存储器 502。 处理器 501和存储器 502通过总线系统 503相连。  FIG. 5 is a schematic block diagram of a user equipment according to another embodiment of the present invention. The user equipment 500 of FIG. 5 includes a processor 501 and a memory 502. The processor 501 and the memory 502 are connected by a bus system 503.
存储器 502用于存储使得处理器 501执行以下操作的指令: 接收客户端发 送的通话记录调用请求, 该通话记录调用请求包含: 用于指示调用操作的动作 字段和用于指示数据类型为通话记录的类型字段; 根据通话记录调用请求, 确 定能够提供通话记录的服务端; 向服务端发送通话记录获取请求; 接收服务端 根据通话记录获取请求发送的响应消息, 该响应消息包含: 符合预定义格式的 通话记录; 或者指示错误类型的错误响应。  The memory 502 is configured to store an instruction that causes the processor 501 to: receive a call record call request sent by the client, where the call record call request includes: an action field for indicating a call operation and a data record indicating that the data type is a call record. a type field; determining, according to the call record calling request, a server that can provide a call record; sending a call record acquisition request to the server; and receiving a response message sent by the server according to the call record acquisition request, the response message includes: conforming to a predefined format Call log; or an error response indicating the type of error.
本发明实施例提供的用户设备在任意一个客户端调用其他服务端的通话记 录, 增强了通话记录的可操作性, 便于管理, 可以实现跨应用或网页的通话记 录调用。  The user equipment provided by the embodiment of the present invention invokes call records of other servers on any client, enhances the operability of the call record, facilitates management, and can realize call record calling across applications or web pages.
此外, 用户设备 500还可以包括发射电路 504、 接收电路 505等。 处理器 501控制用户设备 500的操作,处理器 501还可以称为 CPL Central Processing Unit , 中央处理单元) 。 存储器 502 可以包括只读存储器和随机存取存储器, 并向处理器 501提供指令和数据。 存储器 502的一部分还可以包括非易失性随 机存取存储器 (NVRAM) 。 具体的应用中, 用户设备 500的各个组件通过总线系 统 503耦合在一起, 其中总线系统 503除包括数据总线之外, 还可以包括电源 总线、 控制总线和状态信号总线等。 但是为了清楚说明起见, 在图中将各种总 线都标为总线系统 503。  In addition, the user equipment 500 may further include a transmitting circuit 504, a receiving circuit 505, and the like. The processor 501 controls the operation of the user equipment 500, which may also be referred to as a CPL Central Processing Unit, central processing unit. Memory 502 can include read only memory and random access memory and provides instructions and data to processor 501. A portion of memory 502 may also include non-volatile random access memory (NVRAM). In a specific application, the various components of the user equipment 500 are coupled together by a bus system 503, which may include, in addition to the data bus, a power bus, a control bus, a status signal bus, and the like. However, for clarity of description, various buses are labeled as bus system 503 in the figure.
上述本发明实施例揭示的方法可以应用于处理器 501中,或者由处理器 501 实现。 处理器 501 可能是一种集成电路芯片, 具有信号的处理能力。 在实现过 程中, 上述方法的各歩骤可以通过处理器 501 中的硬件的集成逻辑电路或者软 件形式的指令完成。 上述的处理器 501 可以是通用处理器、 数字信号处理器 ( DSP) 、 专用集成电路 (ASIC ) 、 现成可编程门阵列 (FPGA ) 或者其他可编程 逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件。 可以实现或者执行本 发明实施例中的公开的各方法、 歩骤及逻辑框图。 通用处理器可以是微处理器 或者该处理器也可以是任何常规的处理器等。 结合本发明实施例所公开的方法 的歩骤可以直接体现为硬件译码处理器执行完成, 或者用译码处理器中的硬件 及软件模块组合执行完成。 软件模块可以位于随机存储器, 闪存、 只读存储器, 可编程只读存储器或者电可擦写可编程存储器、 寄存器等本领域成熟的存储介 质中。 该存储介质位于存储器 502, 处理器 501读取存储器 502中的信息, 结合 其硬件完成上述方法的歩骤。 The method disclosed in the foregoing embodiments of the present invention may be applied to the processor 501 or implemented by the processor 501. Processor 501 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 501 or an instruction in a form of software. The processor 501 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware. Component. Can be implemented or executed Various methods, steps, and logic blocks disclosed in the embodiments of the invention. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor. The software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502, and completes the steps of the foregoing method in combination with hardware.
可选地, 作为一个实施例, 通过接收电路 505接收服务端发送的注册请求; 之后通过发射电路 504 向注册中心发送注册请求, 该注册请求用于向注册中心 指示服务端能够提供通话记录调用服务。 也就是说, 在提供通话记录调用服务 之前, 服务端需要通过浏览器在注册中心进行注册。 其中, 注册请求可以包含: 用于指示调用操作的动作字段; 和用于指示数据类型为通话记录的类型字段。  Optionally, as an embodiment, the registration request sent by the server is received by the receiving circuit 505. Then, the registration request is sent by the transmitting circuit 504 to the registration center, where the registration request is used to indicate to the registration center that the server can provide the call record calling service. . That is to say, before providing the call record calling service, the server needs to register in the registry through the browser. The registration request may include: an action field for indicating a call operation; and a type field for indicating that the data type is a call record.
可选地, 作为另一个实施例, 通话记录调用请求和注册请求包含: 用于指 示调用操作的动作字段; 用于指示数据类型为通话记录的类型字段。 其中通话 记录调用请求还可以包含附加请求条件, 其中附加请求条件包括以下至少一种: 用于指示搜索对象的字符串; 用于指示通话记录返回数量限制的数值; 用于指 示搜索条件的字符串。  Optionally, as another embodiment, the call record invocation request and the registration request include: an action field for indicating a call operation; and a type field for indicating that the data type is a call record. The call record invocation request may further include an additional request condition, wherein the additional request condition includes at least one of the following: a character string for indicating a search object; a value indicating a limit number of the call record return; a string indicating the search condition; .
可选地, 作为另一个实施例, 发射电路 504还用于向注册中心发送通话记 录调用请求, 以便注册中心根据动作字段和类型字段确定能够提供通话记录调 用服务的服务端列表; 接收电路 505 还用于接收注册中心发送的服务端列表; 处理器 501还用于在服务端列表中确定能够提供通话记录的服务端。  Optionally, as another embodiment, the transmitting circuit 504 is further configured to send a call record invoking request to the registration center, so that the registration center determines, according to the action field and the type field, a server list that can provide a call record invoking service; the receiving circuit 505 further For receiving the server list sent by the registration center; the processor 501 is further configured to determine, in the server list, a server that can provide a call record.
可选地, 作为另一个实施例, 处理器 501 还用于: 在服务端列表中确定用 户使用过的服务端为能够提供通话记录的服务端; 或者根据用户的选择, 在服 务端列表中确定能够提供通话记录的服务端。 也就是说, 用户可以在客户端直 接勾选某个或多个服务端, 从而无需通过浏览器搜索注册中心来生成待选服务 端列表以供用户选择。  Optionally, in another embodiment, the processor 501 is further configured to: determine, in the server list, that the server used by the user is a server that can provide a call record; or determine, in the server list, according to the user's selection. A server that can provide call history. That is to say, the user can directly check one or more servers on the client side, so that the browser is not required to search the registry to generate a list of candidate servers for the user to select.
可选地, 作为另一个实施例, 通话记录调用请求还包含: 用于指示用户在 客户端选定的一个或多个能够提供通话记录的服务端的信息。  Optionally, as another embodiment, the call record invoking request further includes: information indicating one or more servers that the user selects at the client to provide the call record.
可选地, 作为另一个实施例, 通话记录获取请求包含附加请求条件。 也就 是说, 在用户设备 500确定了能够提供通话记录的服务端后, 向该服务端发送 从上述通话记录调用请求中获取的附加请求条件, 来进行带有限定条件的通话 记录信息检索。 Optionally, as another embodiment, the call record acquisition request includes an additional request condition. That is, after the user equipment 500 determines the server that can provide the call record, the server sends the additional request condition obtained from the call record invoking request to the server to perform the call with the qualified condition. Record information retrieval.
可选地, 作为另一个实施例, 响应消息包含: 符合预定义格式的通话记录; 或者指示错误类型的错误响应。 服务端能够根据客户端的请求提供通话记录时, 该服务端可以将通话记录按照预定义的格式返回给用户设备 500。如果任何一种 错误发生, 服务端可以返回一个错误的信息。 其中, 预定义格式可以包括以下 至少一项: 本条通话记录的唯一标识; 通话用户的身份标识; 通话用户的显示 名称; 通话发生日期; 通话持续时间; 通话时的位置信息; 通话过程中的附件; 通话过程中的截图; 通话过程的录音或录像; 电话会议或视频会议信息。  Optionally, as another embodiment, the response message includes: a call record that conforms to a predefined format; or an error response indicating an error type. When the server can provide a call record according to the request of the client, the server can return the call record to the user equipment 500 in a predefined format. If any kind of error occurs, the server can return an error message. The predefined format may include at least one of the following: a unique identifier of the call record; an identity of the call user; a display name of the call user; a date of the call; a duration of the call; location information during the call; an attachment during the call ; screenshots during the call; recording or recording of the call; conference call or video conference information.
可选地, 作为另一个实施例, 通过发射电路 504 向客户端发送通话记录, 以便在客户端显示、 导入或者存储通话记录。 用户设备 500接收到服务端发送 的预定义格式的通话记录后, 可以将其在客户端页面上显示, 并且可以根据用 户的指令进行后续的导入或存储等操作, 也可以不经过客户端页面的显示直接 进行导入或者存储等操作。  Optionally, as another embodiment, the call record is sent to the client through the transmitting circuit 504 to display, import or store the call record on the client. After receiving the call record in a predefined format sent by the server, the user equipment 500 may display the call record on the client page, and may perform subsequent import or storage operations according to the user's instruction, or may not go through the client page. Display operations such as import or storage directly.
本领域普通技术人员可以意识到, 结合本文中所公开的实施例中描述的各 方法歩骤和单元, 能够以电子硬件、 计算机软件或者二者的结合来实现, 为了 清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一般性地描述 了各实施例的歩骤及组成。 这些功能究竟以硬件还是软件方式来执行, 取决于 技术方案的特定应用和设计约束条件。 本领域普通技术人员可以对每个特定的 应用来使用不同方法来实现所描述的功能, 但是这种实现不应认为超出本发明 的范围。  Those skilled in the art will appreciate that the various method steps and elements described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, for clarity of hardware and software. Interchangeability, The steps and compositions of the various embodiments have been described generally in terms of functionality in the foregoing description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. Different methods may be used to implement the described functionality for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法或歩骤可以用硬件、 处理器执行的 软件程序, 或者二者的结合来实施。 软件程序可以置于随机存储器 (RAM) 、 内 存、 只读存储器 (ROM) 、 电可编程 R0M、 电可擦除可编程 R0M、 寄存器、 硬盘、 可移动磁盘、 CD-R0M、 或技术领域内所公知的任意其它形式的存储介质中。  The methods or steps described in connection with the embodiments disclosed herein may be implemented in hardware, a software program executed by a processor, or a combination of both. Software programs can be placed in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field Any other form of storage medium known.
尽管通过参考附图并结合优选实施例的方式对本发明进行了详细描述, 但 本发明并不限于此。 在不脱离本发明的精神和实质的前提下, 本领域普通技术 人员可以对本发明的实施例进行各种等效的修改或替换, 而这些修改或替换都 应在本发明的涵盖范围内。  Although the present invention has been described in detail by reference to the accompanying drawings in the preferred embodiments, the invention is not limited thereto. Various equivalent modifications and alterations to the embodiments of the present invention may be made by those skilled in the art without departing from the spirit and scope of the invention.

Claims

权 利 要 求 Rights request
1. 一种通话记录调用方法, 其特征在于, 包括: 1. A call record invoking method, characterized by including:
接收客户端发送的通话记录调用请求, 所述通话记录调用请求包含: 用于 指示调用操作的动作字段和用于指示数据类型为通话记录的类型字段; Receive a call record calling request sent by the client, where the call record calling request includes: an action field used to indicate the calling operation and a type field used to indicate the data type is a call record;
根据所述通话记录调用请求, 确定能够提供通话记录的服务端; Determine a server that can provide call records according to the call record calling request;
向所述服务端发送通话记录获取请求; Send a call record acquisition request to the server;
接收所述服务端根据所述通话记录获取请求发送的响应消息, 所述响应消 息包含: 符合预定义格式的通话记录, 或者, 指示错误类型的错误响应。 Receive a response message sent by the server according to the call record acquisition request, where the response message includes: a call record that conforms to a predefined format, or an error response indicating an error type.
2. 根据权利要求 1所述的方法, 其特征在于, 所述通话记录调用请求还包 含附加请求条件, 其中所述附加请求条件包括以下至少一种: 2. The method according to claim 1, characterized in that the call record calling request also includes additional request conditions, wherein the additional request conditions include at least one of the following:
用于指示搜索对象的字符串; A string indicating the search object;
用于指示通话记录返回数量限制的数值; A value used to indicate the limit on the number of call records returned;
用于指示搜索条件的字符串。 A string indicating the search criteria.
3. 根据权利要求 1或 2所述的方法, 其特征在于, 所述根据所述通话记录调 用请求, 确定能够提供通话记录的服务端, 包括: 3. The method according to claim 1 or 2, characterized in that, determining a server capable of providing call records based on the call record calling request includes:
向注册中心发送所述通话记录调用请求, 以便所述注册中心根据所述动作 字段和所述类型字段确定能够提供通话记录调用服务的服务端列表; Send the call record calling request to the registration center, so that the registration center determines a list of servers that can provide call record calling services based on the action field and the type field;
接收所述注册中心发送的所述服务端列表; Receive the server list sent by the registration center;
在所述服务端列表中确定所述能够提供通话记录的服务端。 The server capable of providing call records is determined in the server list.
4. 根据权利要求 3所述的方法, 其特征在于, 所述在所述服务端列表中确 定所述能够提供通话记录的服务端, 包括: 4. The method according to claim 3, wherein determining the server capable of providing call records in the server list includes:
在所述服务端列表中确定用户使用过的服务端为所述能够提供通话记录的 服务端; 或者 Determine in the server list that the server that the user has used is the server that can provide call records; or
根据用户的选择, 在所述服务端列表中或者用户使用过的服务端中确定所 述能够提供通话记录的服务端。 According to the user's selection, the server capable of providing call records is determined in the server list or among the servers used by the user.
5. 根据权利要求 1或 2所述的方法, 其特征在于, 所述通话记录调用请求还 包含: 用于指示用户在所述客户端选定的一个或多个所述能够提供通话记录的 服务端的信息。 5. The method according to claim 1 or 2, characterized in that, the call record calling request further includes: used to indicate one or more services capable of providing call records selected by the user on the client. terminal information.
6. 根据权利要求 1至 5中任意一项所述的方法, 其特征在于, 所述通话记录 获取请求包含附加请求条件, 其中所述附加请求条件包括以下至少一种: 用于指示搜索对象的字符串; 6. The method according to any one of claims 1 to 5, characterized in that the call record acquisition request includes additional request conditions, wherein the additional request conditions include at least one of the following: A string indicating the search object;
用于指示通话记录返回数量限制的数值; A value used to indicate the limit on the number of call records returned;
用于指示搜索条件的字符串。 A string indicating the search criteria.
7. 根据权利要求 1至 6中任意一项所述的方法, 其特征在于, 所述接收所述 服务端根据所述通话记录获取请求发送的所述响应消息之后, 还包括: 向所述 客户端发送所述通话记录, 以便在所述客户端显示、 导入或者存储所述通话记 录。 7. The method according to any one of claims 1 to 6, characterized in that, after receiving the response message sent by the server according to the call record acquisition request, the method further includes: The call record is sent to the client so that the call record can be displayed, imported or stored on the client.
8. 根据权利要求 1至 7中任意一项所述的方法, 其特征在于, 所述通话记录 的预定义格式包括以下至少一项: 8. The method according to any one of claims 1 to 7, characterized in that the predefined format of the call record includes at least one of the following:
本条通话记录的唯一标识; The unique identifier of this call record;
通话用户的身份标识; The identity of the calling user;
通话用户的显示名称; The display name of the calling user;
通话发生日期; The date the call occurred;
通话持续时间; call duration;
通话时的位置信息; Location information during calls;
通话过程中的附件; Attachments during the call;
通话过程中的截图; Screenshots during the call;
通话过程的录音或录像; Audio or video recording of the call;
电话会议或视频会议信息。 Conference call or video conference information.
9. 一种用户设备, 其特征在于, 包括: 9. A user equipment, characterized in that it includes:
第一接收单元, 用于接收客户端发送的通话记录调用请求, 所述通话记录 调用请求包含: 用于指示调用操作的动作字段和用于指示数据类型为通话记录 的类型字段; The first receiving unit is configured to receive a call record calling request sent by the client, where the call record calling request includes: an action field used to indicate the calling operation and a type field used to indicate the data type is call record;
确定单元, 用于根据所述通话记录调用请求, 确定能够提供通话记录的服 务端, 其中所述客户端与所述服务端不同; A determining unit, configured to determine a server capable of providing call records based on the call record calling request, where the client is different from the server;
发送单元, 用于向所述服务端发送通话记录获取请求; A sending unit, configured to send a call record acquisition request to the server;
第二接收单元, 用于接收所述服务端根据所述通话记录获取请求发送的响 应消息, 所述响应消息包含: 符合预定义格式的所述通话记录, 或者, 指示错 误类型的错误响应。 The second receiving unit is configured to receive a response message sent by the server according to the call record acquisition request, where the response message includes: the call record conforming to a predefined format, or an error response indicating an error type.
10. 根据权利要求 9所述的用户设备, 其特征在于, 所述通话记录调用请求 还包含附加请求条件, 其中所述附加请求条件包括以下至少一种: 用于指示搜索对象的字符串; 10. The user equipment according to claim 9, characterized in that the call record invocation request also includes additional request conditions, wherein the additional request conditions include at least one of the following: A string indicating the search object;
用于指示通话记录返回数量限制的数值; A value used to indicate the limit on the number of call records returned;
用于指示搜索条件的字符串。 A string indicating the search criteria.
11. 根据权利要求 9或 10所述的用户设备, 其特征在于, 所述发送单元还用 于向注册中心发送所述通话记录调用请求, 以便所述注册中心根据所述动作字 段和所述类型字段确定能够提供通话记录调用服务的服务端列表; 11. The user equipment according to claim 9 or 10, characterized in that the sending unit is also configured to send the call record invocation request to a registration center, so that the registration center can call the call record according to the action field and the type. The field determines the list of servers that can provide call record calling services;
所述接收单元还用于接收所述注册中心发送的所述服务端列表; The receiving unit is also configured to receive the server list sent by the registration center;
所述确定单元还用于在所述服务端列表中确定所述能够提供通话记录的服 务¾。 The determining unit is also used to determine the service 2 that can provide call records in the server list.
12. 根据权利要求 12所述的用户设备, 其特征在于, 所述确定单元还用于: 在所述服务端列表中确定用户使用过的服务端为所述能够提供通话记录的 服务端; 或者 12. The user equipment according to claim 12, wherein the determining unit is further configured to: determine in the server list that the server used by the user is the server capable of providing call records; or
根据用户的选择, 在所述服务端列表中或者用户使用过的服务端中确定所 述能够提供通话记录的服务端。 According to the user's selection, the server capable of providing call records is determined in the server list or among the servers used by the user.
13. 根据权利要求 9或 10所述的用户设备, 其特征在于, 所述通话记录调用 请求还包含: 用于指示用户在客户端选定的一个或多个所述能够提供通话记录 的服务端的信息。 13. The user equipment according to claim 9 or 10, characterized in that, the call record calling request further includes: a message for instructing the user to select one or more servers capable of providing call records selected by the client. information.
14. 根据权利要求 9至 13中任意一项所述的用户设备, 其特征在于, 所述通 话记录获取请求包括附加请求条件, 其中所述附加请求条件包括以下至少一种: 用于指示搜索对象的字符串; 14. The user equipment according to any one of claims 9 to 13, characterized in that the call record acquisition request includes additional request conditions, wherein the additional request conditions include at least one of the following: used to indicate a search object String;
用于指示通话记录返回数量限制的数值; A value used to indicate the limit on the number of call records returned;
用于指示搜索条件的字符串。 A string indicating the search criteria.
15 根据权利要求 9至 14中任意一项所述的用户设备, 其特征在于, 所述第 二发送单元还用于: 向所述客户端发送所述通话记录, 以便在所述客户端显示、 导入或者存储所述通话记录。 15 The user equipment according to any one of claims 9 to 14, characterized in that the second sending unit is further configured to: send the call record to the client for display on the client. Import or store the call records.
16. 根据权利要求 9至 15中任意一项所述的用户设备, 其特征在于, 所述通 话记录的预定义格式包括以下至少一项: 16. The user equipment according to any one of claims 9 to 15, characterized in that the predefined format of the call record includes at least one of the following:
本条通话记录的唯一标识; The unique identifier of this call record;
通话用户的身份标识; The identity of the calling user;
通话用户的显示名称; The display name of the calling user;
通话发生日期; 通话持续时间; 通话时的位置信息; 通话过程中的附件; 通话过程中的截图; 通话过程的录音或录像; 电话会议或视频会议信息 The date the call occurred; Duration of the call; Location information during the call; Attachments during the call; Screenshots during the call; Audio or video recording of the call; Conference call or video conference information
PCT/CN2014/077754 2013-05-23 2014-05-19 Call log invoking method and device WO2014187288A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310196669.8A CN104184771B (en) 2013-05-23 2013-05-23 Message registration call method and equipment
CN201310196669.8 2013-05-23

Publications (1)

Publication Number Publication Date
WO2014187288A1 true WO2014187288A1 (en) 2014-11-27

Family

ID=51932857

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/077754 WO2014187288A1 (en) 2013-05-23 2014-05-19 Call log invoking method and device

Country Status (2)

Country Link
CN (1) CN104184771B (en)
WO (1) WO2014187288A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3264733A1 (en) 2016-06-29 2018-01-03 Unify Patente GmbH & Co. KG Method of providing a recent call list, software product, telecommunications device and system

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112668914A (en) * 2017-07-07 2021-04-16 山东御银智慧金融设备有限公司 Customer marketing management system based on cloud computing
CN111277996A (en) * 2018-12-05 2020-06-12 中国移动通信集团山东有限公司 Call record recovery method and system
CN112532509A (en) * 2019-09-18 2021-03-19 华为技术有限公司 Cross-application communication method and related device
CN113347233B (en) * 2021-05-20 2022-09-20 深圳软牛科技有限公司 Method, device, equipment and storage medium for extracting call and WIFI data from cloud

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101379785A (en) * 2005-12-09 2009-03-04 易巴迪控股公司 Contact list display system and method
CN101997964A (en) * 2009-08-13 2011-03-30 中国电信股份有限公司 Processing method of mobile communication terminal and contact records thereof
CN102130844A (en) * 2010-01-20 2011-07-20 腾讯科技(深圳)有限公司 Method and system for acquiring Web chat logs
CN102932521A (en) * 2011-08-11 2013-02-13 汉王科技股份有限公司 Method and terminal for displaying interaction records of contacts in mobile equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101360151B1 (en) * 2011-10-17 2014-02-11 텔코웨어 주식회사 Method of sip message transmission between gruu users in ims network, and device of the same
CN102883077B (en) * 2012-09-05 2016-03-16 北京讯鸟软件有限公司 A kind of collecting and distributing type recording system and recording querying method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101379785A (en) * 2005-12-09 2009-03-04 易巴迪控股公司 Contact list display system and method
CN101997964A (en) * 2009-08-13 2011-03-30 中国电信股份有限公司 Processing method of mobile communication terminal and contact records thereof
CN102130844A (en) * 2010-01-20 2011-07-20 腾讯科技(深圳)有限公司 Method and system for acquiring Web chat logs
CN102932521A (en) * 2011-08-11 2013-02-13 汉王科技股份有限公司 Method and terminal for displaying interaction records of contacts in mobile equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3264733A1 (en) 2016-06-29 2018-01-03 Unify Patente GmbH & Co. KG Method of providing a recent call list, software product, telecommunications device and system
US10148814B2 (en) 2016-06-29 2018-12-04 Unify Patente Gmbh & Co. Kg Method of providing a recent call list, software product, telecommunications device and system
US10419604B2 (en) 2016-06-29 2019-09-17 Unify Patente Gmbh & Co. Kg Method of providing a recent call list, software product, telecommunications device and system
US10694031B2 (en) 2016-06-29 2020-06-23 Unify Patent Gmbh & Co. Kg Method of providing a recent call list, software product, telecommunications device and system
US11050880B2 (en) 2016-06-29 2021-06-29 Unify Patente Gmbh & Co. Kg Method of providing a recent call list, software product, telecommunications device and system

Also Published As

Publication number Publication date
CN104184771A (en) 2014-12-03
CN104184771B (en) 2017-12-15

Similar Documents

Publication Publication Date Title
US10686778B2 (en) Account login method and apparatus
US10055742B2 (en) Call transfers for web-delivered calls
US9065817B2 (en) Authenticating linked accounts
JP6463463B2 (en) Service processing method, apparatus, and server
KR102531745B1 (en) Server, method for controlling server, and program
CN107251528B (en) Method and apparatus for providing data originating within a service provider network
US10050899B2 (en) Data processing method, apparatus, client, server and system
US20150172228A1 (en) Method and system for communicating information over a network
WO2017084290A1 (en) Public account two-dimensional code generation method and server, and public account following method, server and terminal
US8266533B2 (en) Method and system configured to assess a fee for communication facilitation regarding publication information
US7817792B2 (en) Hyperlink-based softphone call and management
US9197646B2 (en) Verifying source of email
WO2014187288A1 (en) Call log invoking method and device
CN104536890A (en) Testing system, method and device
US20160021255A1 (en) System and method for accessing telephony services via an application plug-in
US20150341499A1 (en) Method and system for managing voice calls in association with social media content
US10846658B2 (en) Establishing a communication event
KR20150043369A (en) Communications server apparatus, calling device and methods of operation thereof
KR20160008552A (en) Web platform with select-to-call functionality
JP6877343B2 (en) Handling unstructured messages
US10694343B2 (en) Transparent event and product-based social campaign participation via SMS
EP3923524A1 (en) Selecting a communication channel for omnichannel message delivery
TW200805972A (en) Context based navigation
CN112822089B (en) Method and device for adding friends
US20170346770A1 (en) Link-invoked omni-channel chat, voice and video

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

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

Country of ref document: EP

Kind code of ref document: A1