WO2016000127A1 - 一种通信方法和信令服务器 - Google Patents

一种通信方法和信令服务器 Download PDF

Info

Publication number
WO2016000127A1
WO2016000127A1 PCT/CN2014/081158 CN2014081158W WO2016000127A1 WO 2016000127 A1 WO2016000127 A1 WO 2016000127A1 CN 2014081158 W CN2014081158 W CN 2014081158W WO 2016000127 A1 WO2016000127 A1 WO 2016000127A1
Authority
WO
WIPO (PCT)
Prior art keywords
capability
client
response
media server
invitation
Prior art date
Application number
PCT/CN2014/081158
Other languages
English (en)
French (fr)
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 北京新媒传信科技有限公司
Priority to PCT/CN2014/081158 priority Critical patent/WO2016000127A1/zh
Priority to CN201480064011.4A priority patent/CN105765937B/zh
Publication of WO2016000127A1 publication Critical patent/WO2016000127A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • 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

Definitions

  • the present invention relates to the field of multimedia technologies, and in particular, to a communication method and a signaling server.
  • client A's invitation request When client A sends an invitation request to client B, client A's invitation request carries its own codec capability.
  • client B receives client A's invitation request client A carries its own codec. The capability matches the codec capability of the client B. If the match is successful, the response information is sent, and the client A and the client B are successfully handshaked, and the two can perform subsequent data communication.
  • the present invention provides a communication method and a signaling server to improve communication efficiency of a client.
  • an embodiment of the present invention provides a communication method, including: receiving a first invitation request from a requesting client, where the first invitation request carries a capability of requesting a client;
  • the invitation response is forwarded to the requesting client to cause the requesting client to perform data communication in accordance with the invitation response.
  • the capability is a codec capability.
  • the method before the collecting and processing the capability of the media server and the capability of the requesting client, the method further includes:
  • the collecting and processing the capability of the media server and the capability of the requesting client includes:
  • the aggregated processed capability is recorded in a capability collection list in which the capability attribution of each capability is recorded, wherein the capability attribution includes the capability of the requesting client and the ability of the media server to assist in the expansion.
  • the method further includes:
  • the capabilities of the requesting client are preferentially listed in the capability collection list.
  • the invitation response carries the indication that the matching is successful
  • the invitation response carries the capability of responding to the client matching success, wherein the ability of the response client to match successfully is sorted and filtered according to the capability collection list.
  • the method further includes:
  • the media server is notified to relay data requested by the client to the responding client.
  • the method before the notifying the media server to relay the data that is sent by the requesting client to the responding client, the method further includes:
  • an embodiment of the present invention provides a signaling server, including: a request receiving unit, configured to receive a first invitation request of a requesting client, where the first invitation request carries a capability of requesting a client;
  • a collection processing unit configured to combine the capabilities of the media server with the capabilities of the requesting client Set processing
  • a request sending unit configured to send a second invitation request to the responding client, so that the responding client matches the capability of the responding client according to the second invitation request to the capability of the collection processing, where the The ability to carry the collection process in the invitation request;
  • the response receiving unit is configured to receive an invitation response of the response client, where the invitation response carries an indication that the matching success or the matching failure is obtained by matching the capability of the responding client with the capability of the collection processing;
  • the response forwarding unit is configured to forward the invitation response to the requesting client, so that the requesting client performs data communication according to the invitation response.
  • the capability is a codec capability.
  • the signaling server further includes: an information synchronization unit, configured to synchronize information with the media server to obtain codec capability supported by the media server, before the combining the capability of the media server and the capability of the requesting client .
  • an information synchronization unit configured to synchronize information with the media server to obtain codec capability supported by the media server, before the combining the capability of the media server and the capability of the requesting client .
  • the collection processing unit is further configured to record the collected processing capability in the capability collection list, and record the capability attribution of each capability in the capability collection list, where the capability attribution includes requesting the client The ability to have the ability to assist with media server expansion.
  • the signaling server further includes: a sorting unit, configured to: after the collecting the processed capability in the capability collection list, prioritize the capabilities of the requesting client in the capability collection list.
  • a sorting unit configured to: after the collecting the processed capability in the capability collection list, prioritize the capabilities of the requesting client in the capability collection list.
  • the invitation response carries the indication that the matching is successful
  • the invitation response carries the capability of responding to the client matching success, wherein the ability of the response client to match successfully is sorted and filtered according to the capability collection list.
  • the signaling server further includes:
  • a capability matching unit configured to match a capability of the response client to be successfully matched with a capability of the requesting client
  • a transparent notification unit configured to: if the capability of the response client matching is matched with the capability of the requesting client, notify the media server to transparently transmit data requested by the client to the responding client; If the ability of the response client to match successfully does not match the capability of the requesting client, the media server is notified to relay data requested by the client to the responding client.
  • the signaling server further includes:
  • a capability negotiation obtaining unit configured to: the notification media server relays a request client to send a response Before the data of the client is obtained, the capability negotiation result of the communication between the requesting client and the responding client is obtained; the capability negotiation notifying unit is configured to notify the media server of the capability negotiation result, and the media server performs data according to the capability negotiation result.
  • Figure 1 shows a flow chart of one embodiment of a communication method in accordance with the present invention
  • Figure 2 is a flow chart showing a practical application of the communication method according to the present invention.
  • Figure 3 shows a block diagram of the structure of one embodiment of a signaling server in accordance with the present invention. Mode for Carrying Out the Invention Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the embodiments of the present invention have been shown in the drawings, the embodiments Rather, these embodiments are provided so that this disclosure will be more fully understood, and the scope of the disclosure may be fully disclosed to those skilled in the art.
  • the technical idea of the present invention is mainly to make the capabilities of the media server and the capabilities of the requesting client.
  • the collection process in response to the client's ability to match the capabilities of the collection process, can increase the success rate of the capability matching, thereby improving communication efficiency.
  • Figure 1 shows a flow chart of one embodiment of a communication method in accordance with the present invention.
  • the invention provides a communication method, and the method comprises the following steps:
  • S110 Receive a first invitation request sent by the requesting client to the responding client, where the first invitation request carries the capability of requesting the client.
  • the signaling server receives the first request request sent by the requesting client to the responding client, where the first request may carry the capability of the requesting client, and the specific capability may be the encoding and decoding of the requesting client.
  • the first request may carry the capability of the requesting client, and the specific capability may be the encoding and decoding of the requesting client.
  • Ability but not limited to this.
  • S120 Collect the capability of the media server and the capability of the requesting client.
  • support for various codec capabilities and support for conversion between codecs can be completed in the media server.
  • the signaling server synchronizes the information with the media server to obtain all the codec capabilities supported by the media server.
  • the signaling server after receiving the first invitation request, obtains the codec capability of the requesting client from the first invitation request, and obtains the codec capability of the obtained media server and the requesting client.
  • the decoding capability is done in a collection process.
  • the signaling server collects the capability of the media server and the capability carried by the requesting client in the capability support, and records the In the capacity collection list.
  • the capability attribution of each capability is recorded in the capability collection list, wherein the capability attribution includes the capability of the requesting client and the capability of the media server to assist the expansion; that is, according to the capability attribution, it is known that each capability is merged before The requesting client has a media server-assisted extension.
  • the capability of the requesting client is preferentially listed in the capability collection list, so that the responding client can preferentially match the capability shared with the requesting client when the matching capability is sequentially matched. Therefore, it is possible to increase the probability of subsequent media server transparent transmission of communication data, and better P low media server pressure.
  • the second invitation request is generated according to the capability of the collection processing, where the second invitation request carries the collection processing After the ability.
  • the signaling server sends a second invitation request carrying the capability of the collection processing to the response client, which is equivalent to enhancing the capability of the carried request client in the second invitation request.
  • S140 Receive an invitation response of the response client, where the response client carries an indication of a matching success or a matching failure obtained by matching the capability of the responding client with the capability of the collection processing.
  • the response client When the response client receives the second invitation request sent by the requesting client, the capability of the collection processing is obtained from the second invitation request, and the responding client will process the aggregated processing capability and the response client according to the priority order.
  • the capability of the user performs capability matching, and then returns the result of the matching to the signaling server; wherein the result of the matching is a matching success or a matching failure.
  • the response client can preferentially match the capability shared with the requesting client when the matching capability is prioritized.
  • the response client generates an invitation response according to the indication of matching success or matching failure, and sends the response to the signaling server.
  • the signaling server After receiving the invitation response sent by the response client, the signaling server forwards the invitation response to the requesting client.
  • the requesting client and the responding client shake hands successfully, and the two establish a communication connection;
  • the requesting client fails to handshake with the responding client, and the two cannot communicate.
  • the first invitation request and the second invitation request in the embodiment are used to request the client to request to respond to the client for data communication, but the content included is slightly different, wherein the first invitation request includes the capability of requesting the client, and the second The invitation request contains the ability to process the collection.
  • the foregoing communication method in the embodiment of the present invention by collecting the capability of the media server and the capability of the requesting client, and sending the invitation request carrying the capability of the collection processing to the response client, is equivalent to enhancing the request in the invitation request.
  • the capability carried by the client so that when the client receives the invitation request and matches the capability of the client itself with the enhanced capability of the requesting client, the probability of successful matching of the capability can be increased, so that the request is
  • the pass rate is greatly improved, which reduces the inability to communicate between the requesting client and the responding client due to the capability mismatch in the prior art. Shape, has achieved the beneficial effect of improving communication efficiency.
  • the communication method of the embodiment of the present invention further includes:
  • the invitation response carries an indication of successful matching, the invitation response also carries the ability to respond to the client's success.
  • the ability of the response client to be successfully matched in the invitation response is sorted and filtered according to the capability collection list.
  • client 1 sends an invitation request to client 2:
  • Case 2 If client 1 has BC capability, client 2 has AC capability, the media server has ABCDE capability, and the media server synchronizes with the signaling server. Then, the capability collection list carried by the signaling server when sending the second invitation request to the client 2 is BCADE, and the capability collection list preferentially lists the BC capability possessed by the client 1.
  • the invitation response returned by client 2 carries the indication of successful matching and the capability CA of client 2 matching success.
  • the capability of the client 2 to match the success is obtained by sorting the capabilities of the client 2 by the power collection list.
  • the media server transparently processes the communication data before the client 1 and the client 2.
  • Case 3 If client 1 has BC capability, client 2 has EF capability, the media server has ABCDE capability, and the media server synchronizes with the signaling server. 11 ⁇ 2 Signaling Server
  • the list of capability collections carried when sending an invitation request to Client 2 is BCADE. This capability collection list preferentially lists the BC capabilities that Client 1 has.
  • the invitation response returned by client 2 carries the indication of successful matching and the ability of client 2 to match successfully.
  • the ability of the client 2 to match the success E is to filter the capability EF of the client 2 according to the capability collection list, and the capability collection list filters out the F capability that is not matched in the client 2.
  • the communication method of the embodiment of the present invention further includes:
  • the media server is notified to transparently transmit data requested by the client to the responding client;
  • the media server is notified to perform data relaying on the data that the requesting client sends to the responding client.
  • the signaling server after receiving the matching result fed back by the client, the signaling server matches the capability list when the requesting client sends the first invitation request, and the notification that the sending capability matches successfully or the capability matching fails to the media server, by the media
  • the server controls subsequent data transfers based on the notification.
  • the signaling server sends a notification that the capability match is successful to the media server, informing the media server that the capability conversion is not required, and only the requesting client is transparently transmitted to the client. Respond to the client's data.
  • the signaling server sends a notification of the capability matching failure to the media server, informing the media server to relay Request data from the client to the responding client.
  • the notification media server relays the requesting client to the responding client.
  • the method of the embodiment of the present invention further includes: the signaling server acquires a capability negotiation result of requesting communication between the client and the responding client; the signaling server notifies the media server of the capability negotiation result, according to the media server The result of the capability negotiation is to perform data relay.
  • the media server When the media server performs data relay, it needs to perform codec conversion according to the capability negotiation result of both the requesting client and the responding client. After the requesting client and the responding client negotiate, the signaling server communicates with the media server to tell the media server how to perform data relay.
  • the client 1 sends an invitation request to the client 2
  • the client 1 has an AC. Capability
  • the client 2 matches successfully is the BD capability.
  • the two determine that the A->B codec conversion is performed by the media server when the client 1 sends the data to the client 2, and is sent to the client at the client 2.
  • 1 data B->C codec conversion by the media server.
  • the media server performs corresponding codec conversion when performing data relay.
  • Fig. 2 shows a flow chart of a practical application of the communication method according to the invention.
  • the signaling server synchronizes information with the media server to obtain encoding and decoding capabilities supported by the media server.
  • the signaling server receives the first invitation request sent by the client 1 to the client 2, where the first invitation request carries the codec capability of the client 1.
  • the signaling server collects the codec capability supported by the media server and the codec capability of the client 1 to obtain a capability collection list.
  • the codec capability of client 1 is BD
  • the codec capability ABCDE supported by the media server is obtained by the capability collection list BDACE.
  • the codec capability BD that the client 1 has is preferentially listed in the capability aggregation list.
  • the signaling server sends a second invitation request to the client 2, where the second invitation request carries the capability collection list.
  • the client 2 performs a capability matching response after receiving the second invitation request.
  • the client 2 matches its codec and capability collection list in order, giving an indication of a successful match or a match failure. If an indication of a successful match is given, the ability to match is further given. The ability to match successfully is sorted and filtered according to the capability collection list.
  • the codec capability of client 1 is BD, the codec capability ABCDE supported by the media server, and the capability collection list BDACE.
  • BD codec capability
  • the codec capability of client 2 is BD
  • the codec capability ABCDE supported by the media server is DA
  • the capability collection list BDACE BDACE
  • the codec capability of client 2 is AC
  • an indication of successful matching is given, and the ability to match the success is AC.
  • the codec capability of the client 2 is FG, an indication of a match failure is given, and there is no ability to match successfully.
  • the client 2 returns an invitation response to the signaling server, and carries a capability matching response in the invitation response.
  • the capability matching response includes two scenarios: Case 1, only the indication of the matching failure; Case 2, the package Contains the indication of successful matching and the ability to match successfully.
  • the signaling server forwards the response to the client 1 and carries the capability matching response in the invitation response.
  • the client 1 and the client 2 fail to communicate, and the two cannot communicate; if the capability matching response is in the above case 2, the client 1 and the client 2 can successfully handshake, and the two can be performed. Communication. For the sake of brevity, the following process only illustrates scenario 2.
  • the S208 Signaling Server matches the ability of Client 2 to match successfully with the capabilities of Client 1.
  • Capability matching result 21 the ability of the client 2 to match the success matches the capability of the client 1; the capability matching result 22, the ability of the client 2 to match the success does not match the capability of the client 1.
  • the codec capability of client 1 is BD, the codec capability ABCDE supported by the media server, and the capability collection list BDACE.
  • the codec capability of client 2 is AD, the ability to match successfully is DA, and the ability of client 2 to match successfully DA and the capability of client 1 BD have the same capability D, and the capabilities of the two match.
  • the client 2 has a codec capability of AC, and the ability to match successfully is AC, and the ability of the client 2 to match the success of the AC and the capability of the client 1 BD does not have the same capability, and the capabilities of the two do not match.
  • the signaling server notifies the media server of the capability matching result.
  • the capability matching result includes the capability matching success and the capability matching failure.
  • the media server is notified to transparently transmit the data sent by the client 1 to the client 2.
  • the media server is notified to relay the data sent by client 1 to client 2.
  • the media server transparently transmits the data sent by the client 1 to the client 2, and does not perform data encoding and decoding conversion.
  • the media server relays the data sent by the client 1 to the client 2, and performs code conversion according to the capability negotiation result between the client 1 and the client 2.
  • FIG. 3 shows a block diagram of an embodiment of a signaling server in accordance with the present invention.
  • the signaling server 300 of the embodiment of the present invention includes:
  • the request receiving unit 310 is configured to receive a first invitation request of the requesting client, where the first invitation request carries the capability of requesting the client;
  • the capability is a codec capability.
  • a collection processing unit 320 configured to perform a collection process on the capability of the media server and the capability of the requesting client;
  • the request sending unit 330 is configured to send a second invitation request to the response client, so that the responding client matches the capability of the responding client according to the second invitation request to the capability of the collection process, where the The second invitation request carries the capability after the collection processing;
  • the response receiving unit 340 is configured to receive an invitation response of the response client, where the invitation response carries an indication that the matching success or the matching failure is obtained by matching the capability of the client with the capability of the collection process;
  • the response forwarding unit 350 is configured to forward the invitation response to the requesting client, so that the requesting client performs data communication according to the invitation response.
  • the signaling server further includes:
  • the information synchronization unit is configured to perform information synchronization with the media server to obtain the codec capability supported by the media server before the combining the capability of the media server with the capability of the requesting client.
  • the collection processing unit 320 is further configured to record the capability of the collection process in the capability collection list, and record the capability attribution of each capability in the capability collection list, where the capability attribution includes Request the capabilities of the client and the ability of the media server to assist in the expansion.
  • the signaling server further includes:
  • a sorting unit after the capability of collecting the collected processing is recorded in the capability collection list, and prior to the capability collection list, the capabilities of the requesting client are preferentially listed.
  • the invitation response if the invitation response carries the indication that the matching is successful, the invitation response carries the capability of responding to the client matching success, wherein the ability of the response client to match successfully is sorted according to the capability collection list. Filtered out;
  • the signaling server further includes:
  • a capability matching unit configured to match a capability of the response client to be successfully matched with a capability of the requesting client
  • a transparent notification unit configured to: if the capability of the response client matching is matched with the capability of the requesting client, notify the media server to transparently transmit data requested by the client to the responding client; If the ability of the response client to match successfully does not match the capability of the requesting client, the media server is notified to relay data requested by the client to the responding client.
  • the signaling server further includes:
  • a capability negotiation obtaining unit configured to: before the notification media server relays the data sent by the requesting client to the responding client, obtain a capability negotiation result of the communication between the requesting client and the responding client; and the capability negotiation notification unit is configured to The capability negotiation result is notified to the media server, and the media server performs data relay according to the capability negotiation result.
  • the signaling server provided by the embodiment of the present invention and the above communication method of the embodiment of the present invention are based on the same inventive concept. The description of each unit in the signaling server embodiment will not be repeated here.
  • the communication method and the signaling server according to the present invention collect and process the capability of the media server and the capability of the requesting client, and send an invitation request carrying the capability of the collection processing to the response client, which is equivalent to The capability of the requesting client is enhanced in the invitation request, so that the response client can increase the capability matching when receiving the invitation request and matching the capability of the responding client with the capability of the enhanced requesting client.
  • the probability of success makes the pass rate of the invitation request greatly improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开一种通信方法和信令服务器,该方法包括:接收请求客户端的第一邀请请求,第一邀请请求中携带请求客户端的能力;将媒体服务器的能力与请求客户端的能力进行合集处理;发送第二邀请请求至响应客户端,以使响应客户端根据第二邀请请求对响应客户端的能力与合集处理后的能力进行匹配,其中第二邀请请求中携带所述合集处理后的能力;接收响应客户端的邀请响应,邀请响应中携带有响应客户端的能力与合集处理后的能力进行匹配得出的匹配成功或匹配失败的指示;向请求客户端转发邀请响应,以使请求客户端根据邀请响应进行数据通信。本发明能够降低现有技术中请求客户端和响应客户端由于能力不匹配造成的无法通信的情形,提升通信效率。

Description

一种通信方法和信令服务器
技术领域 本发明涉及多媒体技术领域, 特别涉及一种通信方法和信令服务器。 发明背景 目前, 随着互联网业务的不断成熟, 以及终端设备性能和网络覆盖的提升, 多媒体技术发展迅速。
当客户端 A给客户端 B发邀请请求时,客户端 A的邀请请求中携带着自身 的编解码能力, 客户端 B接收客户端 A的邀请请求时, 将客户端 A携带的自身 的编解码能力与客户端 B 自身的编解码能力进行匹配, 如果匹配成功, 反馈响 应信息, 客户端 A和客户端 B握手成功, 二者可以进行后续的数据通信。
但是艮多情况下 ,客户端 A和客户端 B各自自身的编解码能力是不一样的, 因此就会匹配失败, 使得客户端 A和客户端 B握手失败, 从而客户端 A和客户 端 B不能进行通信, 因而降低了客户端的通信效率。 发明内容 鉴于上述问题, 本发明提供一种通信方法和信令服务器, 以提升客户端的 通信效率。
依据本发明的一个方面, 本发明实施例提供了一种通信方法, 包括: 接收请求客户端的第一邀请请求, 所述第一邀请请求中携带请求客户端的 能力;
将媒体服务器的能力与所述请求客户端的能力进行合集处理;
发送第二邀请请求至响应客户端, 以使所述响应客户端根据所述第二邀请 请求对响应客户端的能力与所述合集处理后的能力进行匹配, 其中所述第二邀 请请求中携带所述合集处理后的能力;
接收响应客户端的邀请响应, 所述邀请响应中携带有响应客户端的能力与 所述合集处理后的能力进行匹配得出的匹配成功或匹配失败的指示;
向请求客户端转发所述邀请响应, 以使所述请求客户端根据所述邀请响应 进行数据通信。
可选地, 所述能力为编解码能力。 可选地, 所述将媒体服务器的能力与所述请求客户端的能力进行合集处理 之前, 所述方法还包括:
与媒体服务器进行信息同步, 获取媒体服务器支持的编解码能力。
可选地, 所述将媒体服务器的能力与所述请求客户端的能力进行合集处理 包括:
将合集处理后的能力记录在能力合集列表中, 在所述能力合集列表中记录 每种能力的能力归属, 其中所述能力归属包括请求客户端具有的能力和媒体服 务器辅助扩充的能力。
可选地, 所述将合集处理后的能力记录在能力合集列表中之后, 所述方法 还包括:
在所述能力合集列表中优先列出所述请求客户端具有的能力。
可选地, 如果邀请响应中携带匹配成功的指示, 所述邀请响应中携带响应 客户端匹配成功的能力, 其中所述响应客户端匹配成功的能力是依照所述能力 合集列表经过排序和过滤得到;
所述方法还包括:
将所述响应客户端匹配成功的能力与所述请求客户端的能力进行能力匹 配;
如果所述响应客户端匹配成功的能力与所述请求客户端的能力相匹配, 则 通知媒体服务器透传请求客户端发送给响应客户端的数据;
如果所述响应客户端匹配成功的能力与所述请求客户端的能力不匹配, 则 通知媒体服务器中继请求客户端发送给响应客户端的数据。
可选地, 所述通知媒体服务器中继请求客户端发送给响应客户端的数据之 前, 所述方法还包括:
获取请求客户端与响应客户端之间通信的能力协商结果;
将所述能力协商结果通知媒体服务器, 由媒体服务器根据所述能力协商结 果做数据中继。 根据本发明的另一方面, 本发明实施例提供了一种信令服务器, 包括: 请求接收单元, 用于接收请求客户端的第一邀请请求 , 所述第一邀请请求 中携带请求客户端的能力;
合集处理单元, 用于将媒体服务器的能力与所述请求客户端的能力进行合 集处理;
请求发送单元, 用于发送第二邀请请求至响应客户端, 以使所述响应客户 端根据所述第二邀请请求对响应客户端的能力与所述合集处理后的能力进行匹 配, 其中所述第二邀请请求中携带所述合集处理后的能力;
响应接收单元, 用于接收响应客户端的邀请响应, 所述邀请响应中携带有 响应客户端的能力与所述合集处理后的能力进行匹配得出的匹配成功或匹配失 败的指示;
响应转发单元, 用于向请求客户端转发所述邀请响应, 以使所述请求客户 端根据所述邀请响应进行数据通信。
可选的, 所述能力为编解码能力。
可选地, 信令服务器还包括: 信息同步单元, 用于所述将媒体服务器的能 力与所述请求客户端的能力进行合集处理之前, 与媒体服务器进行信息同步, 获取媒体服务器支持的编解码能力。
可选地, 所述合集处理单元, 还用于将合集处理后的能力记录在能力合集 列表中, 在所述能力合集列表中记录每种能力的能力归属, 其中所述能力归属 包括请求客户端具有的能力和媒体服务器辅助扩充的能力。
可选的, 信令服务器还包括: 排序单元, 用于所述将合集处理后的能力记 录在能力合集列表中之后, 在所述能力合集列表中优先列出所述请求客户端具 有的能力。
可选地, 如果邀请响应中携带匹配成功的指示, 所述邀请响应中携带响应 客户端匹配成功的能力, 其中所述响应客户端匹配成功的能力是依照所述能力 合集列表经过排序和过滤得到;
所述信令服务器, 还包括:
能力匹配单元, 用于将所述响应客户端匹配成功的能力与所述请求客户端 的能力进行能力匹配;
透传通知单元, 用于如果所述响应客户端匹配成功的能力与所述请求客户 端的能力相匹配, 则通知媒体服务器透传请求客户端发送给响应客户端的数据; 中继通知单元, 用于如果所述响应客户端匹配成功的能力与所述请求客户 端的能力不匹配, 则通知媒体服务器中继请求客户端发送给响应客户端的数据。
可选地, 信令服务器还包括:
能力协商获取单元, 用于所述通知媒体服务器中继请求客户端发送给响应 客户端的数据之前, 获取请求客户端与响应客户端之间通信的能力协商结果; 能力协商通知单元, 用于将所述能力协商结果通知媒体服务器, 由媒体服 务器根据所述能力协商结果做数据中继。 本发明的有益效果为: 本发明实施例的通信方法和信令服务器, 通过将媒 体服务器的能力与请求客户端的能力做合集处理, 并将携带有合集处理后能力 的邀请请求发送给响应客户端, 相当于在邀请请求中增强了请求客户端所携带 的能力, 这样响应客户端接收到该邀请请求, 将响应客户端自身的能力与该增 强后的请求客户端的能力进行匹配时, 能够增大了能力匹配成功的机率, 使得 邀请请求的通过率大幅度提升, P 低了现有技术中请求客户端和响应客户端由 于能力不匹配造成的无法通信的情形, 取得了提升通信效率的有益效果。
上述说明仅是本发明技术方案的概述, 为了能够更清楚了解本发明的技术 手段, 而可依照说明书的内容予以实施, 并且为了让本发明的上述和其它目的、 特征和优点能够更明显易懂, 以下特举本发明的具体实施方式。 附图简要说明 通过阅读下文优选实施方式的详细描述, 各种其他的优点和益处对于本领 域普通技术人员将变得清楚明了。 附图仅用于示出优选实施方式的目的, 而并 不认为是对本发明的限制。 而且在整个附图中, 用相同的参考符号表示相同的 部件。 在附图中:
图 1示出了根据本发明的通信方法的一个实施例的流程图;
图 2示出了根据本发明的通信方法的一个实际应用的流程图;
图 3示出了根据本发明的信令服务器的一个实施例的结构框图。 实施本发明的方式 下面将参照附图更详细地描述本公开的示例性实施例。 虽然附图中显示了 本公开的示例性实施例, 然而应当理解, 可以以各种形式实现本公开而不应被 这里阐述的实施例所限制。 相反, 提供这些实施例是为了能够更透彻地理解本 公开, 并且能够将本公开的范围完整的传达给本领域的技术人员。 本发明的技术构思主要在于, 将媒体服务器的能力与请求客户端的能力做 合集处理, 响应客户端在将自身的能力与该合集处理后的能力进行匹配时, 能 够增大能力匹配成功的通过率, 从而提升通信效率。 图 1 示出了根据本发明的通信方法的一个实施例的流程图。 本发明提供的 一种通信方法, 该方法包括如下步骤:
S110、 接收请求客户端发送给响应客户端的第一邀请请求, 所述第一邀请 请求中携带有请求客户端的能力。
本发明实施例中 , 信令服务器接收请求客户端发送给响应客户端的第一邀 请请求, 其中, 该第一邀请请求中可以携带该请求客户端的能力, 具体的该能 力可以是请求客户端的编解码能力 , 但是并不局限于此。
S 120、 将媒体服务器的能力与请求客户端的能力做合集处理。
本发明实施例中, 在媒体服务器中可以完成各种编解码能力的支持以及编 解码之间转换能力的支持。 对于媒体服务器所有支持的编解码能力, 信令服务 器会与媒体服务器进行信息同步, 从而获取该媒体服务器所有支持的编解码能 力。
在本发明实施例中, 信令服务器接收该第一邀请请求后, 从该第一邀请请 求中获取该请求客户端的编解码能力, 并将获取到的媒体服务器的编解码能力 与请求客户端的编解码能力做合集处理。
当请求客户端携带自身能力经过信令服务器向响应客户端发送第一邀请请 求时, 信令服务器会在能力支持中, 将媒体服务器的能力与请求客户端携带的 能力做合集处理, 并且记录在能力合集列表中。 其中, 在能力合集列表中记录 了每种能力的能力归属, 其中该能力归属包括请求客户端具有的能力和媒体服 务器辅助扩充的能力; 也就是说根据能力归属就知道每种能力合并之前到底是 请求客户端具有的还是媒体服务器辅助扩充的。
优选地, 在能力合集列表中优先列出请求客户端具备的能力, 这样响应客 户端在按顺序匹配能力时, 可以优先匹配出与请求客户端共有的能力。 从而能 够增大后续媒体服务器透传通信数据的机率, 更好的 P 低媒体服务器压力。
S 130、 向响应客户端发送第二邀请请求, 所述第二邀请请求中携带有合集 处理后的能力。
本发明实施例中, 信令服务器执行完上述的能力合集处理后, 根据该合集 处理后的能力生成第二邀请请求, 其中, 该第二邀请请求中携带有该合集处理 后的能力。
信令服务器将携带有合集处理后的能力的第二邀请请求发送给响应客户 端, 相当于在第二邀请请求中增强了所携带的请求客户端的能力。
S140、 接收响应客户端的邀请响应, 所述响应客户端中携带有响应客户端 的能力与所述合集处理后的能力进行匹配得到的匹配成功或匹配失败的指示。
当响应客户端收到请求客户端发送的第二邀请请求时, 从该第二邀请请求 中获取该合集处理后的能力, 响应客户端会按照优先顺序将该合集处理后的能 力与响应客户端自身的能力进行能力匹配, 然后将匹配的结果返回给信令服务 器; 其中所述匹配的结果为匹配成功或匹配失败。
由于该合集处理后的能力对应的能力合集列表中优先列出请求客户端具备 的能力, 这样响应客户端在按优先顺序匹配能力时, 可以优先匹配出与请求客 户端共有的能力。
响应客户端根据匹配成功或匹配失败的指示生成邀请响应 , 发送给信令服 务器。
S150、 向请求客户端转发响应客户端的邀请响应, 所述邀请响应中携带有 所述匹配成功或匹配失败的指示。
信令服务器接收到响应客户端发送的该邀请响应后 , 转发该邀请响应至请 求客户端。
如果邀请响应中携带有匹配成功的指示, 则请求客户端与响应客户端握手 成功, 二者建立通信连接;
如果邀请响应中携带有匹配失败的指示, 则请求客户端与响应客户端握手 失败, 二者不能进行通信。
本实施例中的第一邀请请求和第二邀请请求均用于请求客户端请求响应客 户端进行数据通信, 只是包含的内容稍有差异, 其中第一邀请请求中包含请求 客户端的能力, 第二邀请请求中包含合集处理后的能力。
本发明实施例的上述通信方法, 通过将媒体服务器的能力与请求客户端的 能力做合集处理 , 并将携带有合集处理后能力的邀请请求发送给响应客户端 , 相当于在邀请请求中增强了请求客户端所携带的能力, 这样响应客户端接收到 该邀请请求, 将响应客户端自身的能力与该增强后的请求客户端的能力进行匹 配时, 能够增大能力匹配成功的机率, 使得邀请请求的通过率大幅度提升, 降 低了现有技术中请求客户端和响应客户端由于能力不匹配造成的无法通信的情 形, 取得了提升通信效率的有益效果。 进一步的, 本发明实施例的通信方法还包括:
如果邀请响应中携带的是匹配成功的指示, 则邀请响应中还携带有响应客 户端匹配成功的能力。
在本发明的一个实施例中 , 邀请响应中携带的响应客户端匹配成功的能力 是依照能力合集列表经过排序和过滤得到的。
例如, 客户端 1向客户端 2发送邀请请求:
情形一, 如果客户端 1具备 AC能力, 客户端 2具备 BD能力, 媒体服务器 具备 ABCDE能力,且媒体服务器与信令服务器进行信息同步。 1½信令服务器 向客户端 2发送第二邀请请求时携带的能力合集列表是 ACBDE,该能力合集列 表优先列出了客户端 1具备的 AC能力。客户端 2返回的邀请响应中携带有匹配 成功的指示和客户端 2匹配成功的能力 BD。 此时客户端 2匹配成功的能力 BD 是与客户端 2的能力是一致的。
情形二, 如果客户端 1具备 BC能力, 客户端 2具备 AC能力, 媒体服务器 具备 ABCDE能力,且媒体服务器与信令服务器进行信息同步。那么信令服务器 向客户端 2发送第二邀请请求时携带的能力合集列表是 BCADE,该能力合集列 表优先列出了客户端 1具备的 BC能力。客户端 2返回的邀请响应中携带有匹配 成功的指示和客户端 2匹配成功的能力 CA。
此时,该客户端 2匹配成功的能力 CA是将客户端 2的能力 AC依照能力合 集列表经过排序得到。 这样客户端 1与客户端 2通信时, 将优先釆用二者都具 有的能力 C进行通信, 由媒体服务器对客户端 1与客户端 2之前的通信数据进 行透传处理。
情形三, 如果客户端 1具备 BC能力, 客户端 2具备 EF能力, 媒体服务器 具备 ABCDE能力,且媒体服务器与信令服务器进行信息同步。 1½信令服务器 向客户端 2发送邀请请求时携带的能力合集列表是 BCADE,该能力合集列表优 先列出了客户端 1具备的 BC能力。客户端 2返回的邀请响应中携带有匹配成功 的指示和客户端 2匹配成功的能力 E。
该客户端 2匹配成功的能力 E是将客户端 2的能力 EF依照能力合集列表经 过过滤得到, 能力合集列表过滤掉客户端 2中不匹配的 F能力。
情形四, 如果客户端 1具备 DE能力, 客户端 2具备 FG能力, 媒体服务器 具备 ABCD能力, 且媒体服务器与信令服务器进行信息同步。 那么信令服务器 向客户端 2发送邀请请求时携带的能力合集列表是 DEABC,该能力合集列表优 先列出了客户端 1具备的 DE能力。客户端 2返回的邀请响应中携带有匹配失败 的指示。 此时客户端 2的能力 FG与能力合集列表 DEABC没有交集, 未匹配成 功, 全部被能力合集列表过滤掉。
再进一步地, 如果邀请响应中携带有响应客户端匹配成功的能力, 本发明 实施例的通信方法还包括:
将响应客户端匹配成功的能力与请求客户端的能力做能力匹配;
如果响应客户端匹配成功的能力与请求客户端的能力相匹配, 则通知媒体 服务器透传请求客户端发送给响应客户端的数据;
如果响应客户端匹配成功的能力与请求客户端的能力不匹配, 则通知媒体 服务器对请求客户端发送给响应客户端的数据做数据中继。
具体的, 信令服务器接收到响应客户端反馈的匹配结果之后, 会与请求客 户端发送第一邀请请求时的能力列表做匹配, 发送能力匹配成功或能力匹配失 败的通知至媒体服务器, 由媒体服务器根据该通知对后续数据传输进行控制。
如果响应客户端反馈的匹配成功的能力在请求客户端支持的能力范围内, 则信令服务器发送能力匹配成功的通知至媒体服务器, 告知媒体服务器无需做 能力转换, 只需透传请求客户端至响应客户端的数据即可。
如果响应客户端反馈的匹配成功的能力不在请求客户端支持的能力范围 内, 而是在媒体服务器扩充的能力范围内, 则信令服务器发送能力匹配失败的 通知至媒体服务器, 告知媒体服务器中继请求客户端至响应客户端的数据。
如果响应客户端匹配成功的能力不在请求客户端支持的能力范围内, 即响 应客户端匹配成功的能力与请求客户端的能力不匹配, 则在该通知媒体服务器 中继请求客户端发送给响应客户端的数据之前, 本发明实施例的方法还包括: 信令服务器获取请求客户端与响应客户端之间通信的能力协商结果; 信令服务器将所述能力协商结果通知媒体服务器, 由媒体服务器根据所述 能力协商结果做数据中继。
媒体服务器在做数据中继时, 需要根据请求客户端和响应客户端双方的能 力协商结果进行编解码的转换。 请求客户端和响应客户端协商完, 信令服务器 会与媒体服务器进行一次通讯, 告诉媒体服务器该如何做数据中继。
例如, 上述客户端 1向客户端 2发送邀请请求的情形一, 客户端 1具备 AC 能力, 客户端 2匹配成功的是 BD能力, 二者经过协商, 确定在客户端 1发送给 客户端 2数据时, 由媒体服务器进行 A->B编解码转换, 在客户端 2发送给客户 端 1数据时, 由媒体服务器进行 B->C编解码转换。 根据客户端 1与客户端 2之 间的能力协商结果, 媒体服务器在做数据中继时进行相应的编解码的转换。 图 2示出了根据本发明的通信方法的一个实际应用的流程图。
5201、 信令服务器与媒体服务器进行信息同步, 获取媒体服务器支持的编 解码能力。
5202、 信令服务器接收到客户端 1发送给客户端 2的第一邀请请求, 第一 邀请请求中携带有客户端 1的编解码能力。
5203、 信令服务器将媒体服务器支持的编解码能力与客户端 1 的编解码能 力做合集处理, 得到能力合集列表。
例如,客户端 1的编解码能力 BD,媒体服务器支持的编解码能力 ABCDE, 则得到能力合集列表 BDACE。 在该能力合集列表中记录有: 客户端 1具有的编 解码能力是 BD,媒体服务器辅助扩充的编解码能力是 ACE。并且在能力合集列 表中优先列出客户端 1具有的编解码能力 BD。
5204、信令服务器发送第二邀请请求给客户端 2, 第二邀请请求中携带有该 能力合集列表。
5205、 客户端 2收到第二邀请请求后进行能力匹配应答。
客户端 2将自身的编解码能力与能力合集列表按顺序进行匹配, 给出匹配 成功或匹配失败的指示。 如果给出匹配成功的指示, 还进一步给出匹配成功的 能力。 该匹配成功的能力是依照能力合集列表经过排序和过滤得到的。
继续上述具体示例, 客户端 1的编解码能力 BD, 媒体服务器支持的编解码 能力 ABCDE, 得到能力合集列表 BDACE。 例如, 如果客户端 2具有的编解码 能力是 AD, 则给出匹配成功的指示, 并给出匹配成功的能力为 DA。 再如, 如 果客户端 2具有的编解码能力是 AC, 则给出匹配成功的指示, 并给出匹配成功 的能力为 AC。 还再如, 如果客户端 2具有的编解码能力是 FG, 则给出匹配失 败的指示, 此时未有匹配成功的能力。
5206、 客户端 2向信令服务器返回邀请响应, 在邀请响应中携带能力匹配 应答。
能力匹配应答包括两种情形: 情形 1 , 仅包含匹配失败的指示; 情形 2, 包 含匹配成功的指示和匹配成功的能力。
S207、信令服务器将邀请响应转发客户端 1 ,在邀请响应中携带上述能力匹 配应答。
能力匹配应答如果是上述情形 1 , 则客户端 1与客户端 2握手失败, 二者无 法进行通信;能力匹配应答如果是上述情形 2,则客户端 1与客户端 2握手成功, 二者可以进行通信。 为简明起见, 下面流程仅对情形 2做说明。
S208 信令服务器将客户端 2 匹配成功的能力与客户端 1的能力做能力匹 配。
做能力匹配后有两种能力匹配结果:
能力匹配结果 21 , 客户端 2匹配成功的能力与客户端 1的能力相匹配; 能力匹配结果 22, 客户端 2匹配成功的能力与客户端 1的能力不匹配。 继续上述具体示例, 客户端 1的编解码能力 BD, 媒体服务器支持的编解码 能力 ABCDE, 得到能力合集列表 BDACE。 例如, 客户端 2具有的编解码能力 是 AD, 匹配成功的能力为 DA, 则客户端 2匹配成功的能力 DA与客户端 1的 能力 BD, 具有相同的能力 D, 二者能力相匹配。 再例如, 客户端 2具有的编解 码能力是 AC, 匹配成功的能力为 AC, 则客户端 2匹配成功的能力 AC与客户 端 1的能力 BD, 不具有相同的能力, 二者能力不匹配。
5209、 信令服务器将能力匹配结果通知媒体服务器。
其中, 能力匹配结果包括能力匹配成功和能力匹配失败的
如果能力匹配成功, 则通知媒体服务器透传客户端 1发送给客户端 2的数 据。
如果能力匹配失败, 则通知媒体服务器中继客户端 1发送给客户端 2的数 据。
5210、 若能力匹配成功, 媒体服务器透传客户端 1发送给客户端 2的数据, 不做数据编解码的转换。
5211、 若能力匹配失败, 媒体服务器中继客户端 1发送给客户端 2的数据, 按照客户端 1与客户端 2双方的能力协商结果进行编解码的转换。
本发明实施例的通信方法的上述实际应用 , 通过将媒体服务器的能力与客 户端 1的能力做合集处理, 对客户端 1 的编解码能力提供辅助扩充支持, 相当 于在邀请请求中增强了客户端 1的编解码能力, 可以有效地解决客户端 1和客 户端 2由于能力差异造成的无法通信的问题, 提升了客户端 1和客户端 2之间 的邀请请求的通过率, 另外还通过对客户端 1和客户端 2的能力差异提供中继 补偿, 增大了通信效率。 图 3 示出了根据本发明的信令服务器的一个实施例的结构框图。 本发明实 施例的信令服务器 300, 包括:
请求接收单元 310, 用于接收请求客户端的第一邀请请求, 所述第一邀请请 求中携带请求客户端的能力;
优选的, 所述能力为编解码能力。
合集处理单元 320,用于将媒体服务器的能力与所述请求客户端的能力进行 合集处理;
请求发送单元 330, 用于发送第二邀请请求至响应客户端, 以使所述响应客 户端根据所述第二邀请请求对响应客户端的能力与所述合集处理后的能力进行 匹配, 其中所述第二邀请请求中携带所述合集处理后的能力;
响应接收单元 340, 用于接收响应客户端的邀请响应, 所述邀请响应中携带 有响应客户端的能力与所述合集处理后的能力进行匹配得出的匹配成功或匹配 失败的指示;
响应转发单元 350, 用于向请求客户端转发所述邀请响应, 以使所述请求客 户端根据所述邀请响应进行数据通信。
进一步地, 所述信令服务器还包括:
信息同步单元, 用于所述将媒体服务器的能力与所述请求客户端的能力进 行合集处理之前, 与媒体服务器进行信息同步, 获取媒体服务器支持的编解码 能力。
另一实施方式中, 所述合集处理单元 320, 还用于将合集处理后的能力记录 在能力合集列表中, 在所述能力合集列表中记录每种能力的能力归属, 其中所 述能力归属包括请求客户端具有的能力和媒体服务器辅助扩充的能力。
进一步优选的, 所述信令服务器还包括:
排序单元, 用于所述将合集处理后的能力记录在能力合集列表中之后, 在 所述能力合集列表中优先列出所述请求客户端具有的能力。
再一实施方式中, 如果邀请响应中携带匹配成功的指示, 所述邀请响应中 携带响应客户端匹配成功的能力, 其中所述响应客户端匹配成功的能力是依照 所述能力合集列表经过排序和过滤得到; 所述信令服务器, 还包括:
能力匹配单元, 用于将所述响应客户端匹配成功的能力与所述请求客户端 的能力进行能力匹配;
透传通知单元, 用于如果所述响应客户端匹配成功的能力与所述请求客户 端的能力相匹配, 则通知媒体服务器透传请求客户端发送给响应客户端的数据; 中继通知单元 , 用于如果所述响应客户端匹配成功的能力与所述请求客户 端的能力不匹配, 则通知媒体服务器中继请求客户端发送给响应客户端的数据。
进一步优选地, 所述信令服务器还包括:
能力协商获取单元, 用于所述通知媒体服务器中继请求客户端发送给响应 客户端的数据之前, 获取请求客户端与响应客户端之间通信的能力协商结果; 能力协商通知单元, 用于将所述能力协商结果通知媒体服务器, 由媒体服 务器根据所述能力协商结果做数据中继。
本发明实施例提供的信令服务器与本发明实施例的上述通信方法基于同样 的发明构思。 在此对信令服务器实施例中的各单元不再展开说明。 综上所述, 根据本发明的通信方法和信令服务器, 通过将媒体服务器的能 力与请求客户端的能力做合集处理, 并将携带有合集处理后能力的邀请请求发 送给响应客户端, 相当于在邀请请求中增强了请求客户端所携带的能力, 这样 响应客户端接收到该邀请请求, 将响应客户端自身的能力与该增强后的请求客 户端的能力进行匹配时, 能够增大了能力匹配成功的机率, 使得邀请请求的通 过率大幅度提升, P 低了现有技术中请求客户端和响应客户端由于能力不匹配 导致无法通信的情形, 取得了提升通信效率的有益效果。 在此处所提供的说明书中, 说明了大量具体细节。 然而, 能够理解, 本发 明的实施例可以在没有这些具体细节的情况下被实践。 在一些实例中, 并未详 细示出公知的方法、 结构和技术, 以便不模糊对本说明书的理解。
此外, 还应当注意, 本说明书中使用的语言主要是为了可读性和教导的目 的而选择的, 而不是为了解释或者限定本发明的主题而选择的。 因此, 在不偏 离所附权利要求书的范围和精神的情况下, 对于本技术领域的普通技术人员来 说许多修改和变更都是显而易见的。 对于本发明的范围, 对本发明所做的公开 是说明性的, 而非限制性的, 本发明的范围由所附权利要求书限定。

Claims

权利要求书
1、 一种通信方法, 其特征在于, 包括:
接收请求客户端的第一邀请请求, 所述第一邀请请求中携带请求客户端的 能力;
将媒体服务器的能力与所述请求客户端的能力进行合集处理;
发送第二邀请请求至响应客户端, 以使所述响应客户端根据所述第二邀请 请求对响应客户端的能力与所述合集处理后的能力进行匹配, 其中所述第二邀 请请求中携带所述合集处理后的能力;
接收响应客户端的邀请响应, 所述邀请响应中携带有响应客户端的能力与 所述合集处理后的能力进行匹配得出的匹配成功或匹配失败的指示;
向请求客户端转发所述邀请响应, 以使所述请求客户端根据所述邀请响应 进行数据通信。
2、 根据权利要求 1所述的方法, 其特征在于, 所述能力为编解码能力。
3、 根据权利要求 2所述的方法, 其特征在于, 所述将媒体服务器的能力与 所述请求客户端的能力进行合集处理之前, 所述方法还包括:
与媒体服务器进行信息同步, 获取媒体服务器支持的编解码能力。
4、 根据权利要求 2所述的方法, 其特征在于, 所述将媒体服务器的能力与 所述请求客户端的能力进行合集处理包括:
将合集处理后的能力记录在能力合集列表中, 在所述能力合集列表中记录 每种能力的能力归属, 其中所述能力归属包括请求客户端具有的能力和媒体服 务器辅助扩充的能力。
5、 根据权利要求 4所述的方法, 其特征在于, 所述将合集处理后的能力记 录在能力合集列表中之后, 所述方法还包括:
在所述能力合集列表中优先列出所述请求客户端具有的能力。
6、 根据权利要求 4或 5所述的方法, 其特征在于, 如果邀请响应中携带匹 配成功的指示, 所述邀请响应中携带响应客户端匹配成功的能力, 其中所述响 应客户端匹配成功的能力是依照所述能力合集列表经过排序和过滤得到;
所述方法还包括:
将所述响应客户端匹配成功的能力与所述请求客户端的能力进行能力匹 配;
如果所述响应客户端匹配成功的能力与所述请求客户端的能力相匹配, 则 通知媒体服务器透传请求客户端发送给响应客户端的数据;
如果所述响应客户端匹配成功的能力与所述请求客户端的能力不匹配, 则 通知媒体服务器中继请求客户端发送给响应客户端的数据。
7、 根据权利要求 6所述的方法, 其特征在于, 所述通知媒体服务器中继请 求客户端发送给响应客户端的数据之前, 所述方法还包括:
获取请求客户端与响应客户端之间通信的能力协商结果;
将所述能力协商结果通知媒体服务器, 由媒体服务器根据所述能力协商结 果做数据中继。
8、 一种信令服务器, 其特征在于, 包括:
请求接收单元, 用于接收请求客户端的第一邀请请求 , 所述第一邀请请求 中携带请求客户端的能力;
合集处理单元, 用于将媒体服务器的能力与所述请求客户端的能力进行合 集处理;
请求发送单元, 用于发送第二邀请请求至响应客户端, 以使所述响应客户 端根据所述第二邀请请求对响应客户端的能力与所述合集处理后的能力进行匹 配, 其中所述第二邀请请求中携带所述合集处理后的能力;
响应接收单元, 用于接收响应客户端的邀请响应, 所述邀请响应中携带有 响应客户端的能力与所述合集处理后的能力进行匹配得出的匹配成功或匹配失 败的指示;
响应转发单元, 用于向请求客户端转发所述邀请响应, 以使所述请求客户 端根据所述邀请响应进行数据通信。
9、 根据权利要求 8所述的信令服务器, 其特征在于, 所述能力为编解码能 力。
10、 根据权利要求 9所述的信令服务器, 其特征在于, 还包括:
信息同步单元, 用于所述将媒体服务器的能力与所述请求客户端的能力进 行合集处理之前, 与媒体服务器进行信息同步, 获取媒体服务器支持的编解码 能力。
11、 根据权利要求 9所述的信令服务器, 其特征在于,
所述合集处理单元, 还用于将合集处理后的能力记录在能力合集列表中, 在所述能力合集列表中记录每种能力的能力归属, 其中所述能力归属包括请求 客户端具有的能力和媒体服务器辅助扩充的能力。
12、 根据权利要求 11所述的信令服务器, 其特征在于, 还包括:
排序单元, 用于所述将合集处理后的能力记录在能力合集列表中之后, 在 所述能力合集列表中优先列出所述请求客户端具有的能力。
13、 根据权利要求 11或 12所述的信令服务器, 其特征在于, 如果邀请响 应中携带匹配成功的指示, 所述邀请响应中携带响应客户端匹配成功的能力, 其中所述响应客户端匹配成功的能力是依照所述能力合集列表经过排序和过滤 得到;
所述信令服务器, 还包括:
能力匹配单元, 用于将所述响应客户端匹配成功的能力与所述请求客户端 的能力进行能力匹配;
透传通知单元, 用于如果所述响应客户端匹配成功的能力与所述请求客户 端的能力相匹配, 则通知媒体服务器透传请求客户端发送给响应客户端的数据; 中继通知单元 , 用于如果所述响应客户端匹配成功的能力与所述请求客户 端的能力不匹配, 则通知媒体服务器中继请求客户端发送给响应客户端的数据。
14、 根据权利要求 13所述的信令服务器, 其特征在于, 还包括:
能力协商获取单元, 用于所述通知媒体服务器中继请求客户端发送给响应 客户端的数据之前, 获取请求客户端与响应客户端之间通信的能力协商结果; 能力协商通知单元, 用于将所述能力协商结果通知媒体服务器, 由媒体服 务器根据所述能力协商结果做数据中继。
PCT/CN2014/081158 2014-06-30 2014-06-30 一种通信方法和信令服务器 WO2016000127A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2014/081158 WO2016000127A1 (zh) 2014-06-30 2014-06-30 一种通信方法和信令服务器
CN201480064011.4A CN105765937B (zh) 2014-06-30 2014-06-30 一种通信方法和信令服务器

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/081158 WO2016000127A1 (zh) 2014-06-30 2014-06-30 一种通信方法和信令服务器

Publications (1)

Publication Number Publication Date
WO2016000127A1 true WO2016000127A1 (zh) 2016-01-07

Family

ID=55018222

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/081158 WO2016000127A1 (zh) 2014-06-30 2014-06-30 一种通信方法和信令服务器

Country Status (2)

Country Link
CN (1) CN105765937B (zh)
WO (1) WO2016000127A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889565A (zh) * 2005-08-16 2007-01-03 华为技术有限公司 会话建立方法
CN101052161A (zh) * 2007-03-28 2007-10-10 华为技术有限公司 一种实现ims业务互通的方法和系统
CN101282339A (zh) * 2008-05-16 2008-10-08 华为技术有限公司 流媒体系统的能力协商方法、数据传输方法及相关设备
CN101515857A (zh) * 2008-02-20 2009-08-26 华为技术有限公司 一种多媒体能力管理的方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215210A (zh) * 2010-04-02 2011-10-12 中兴通讯股份有限公司 在ip多媒体子系统中建立会话的方法和装置
CN102025715B (zh) * 2010-05-17 2014-01-01 华中科技大学 一种基于sip协议的多媒体网络通信方法
KR20120139574A (ko) * 2011-06-17 2012-12-27 삼성전자주식회사 UPnP 기반 디바이스 간 데이터 교환 장치 및 방법
CN104320403B (zh) * 2014-10-31 2018-03-16 新华三技术有限公司 通信方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889565A (zh) * 2005-08-16 2007-01-03 华为技术有限公司 会话建立方法
CN101052161A (zh) * 2007-03-28 2007-10-10 华为技术有限公司 一种实现ims业务互通的方法和系统
CN101515857A (zh) * 2008-02-20 2009-08-26 华为技术有限公司 一种多媒体能力管理的方法及装置
CN101282339A (zh) * 2008-05-16 2008-10-08 华为技术有限公司 流媒体系统的能力协商方法、数据传输方法及相关设备

Also Published As

Publication number Publication date
CN105765937B (zh) 2019-11-08
CN105765937A (zh) 2016-07-13

Similar Documents

Publication Publication Date Title
CN109936512B (zh) 流量分析方法、公共服务流量归属方法及相应的计算机系统
WO2019084972A1 (zh) 流媒体直播方法及系统
US9680881B2 (en) Transmission apparatus, receiving apparatus, transmission method, receiving method, and storage medium for transmitting and/or receiving metadata indicating address information for each of a plurality of segments corresponding to divided content
WO2022105730A1 (zh) 一种保障sctp协议多归属报文同源同宿的方法和装置
WO2015100638A1 (zh) 一种业务处理的方法和设备
WO2014205827A1 (zh) 一种连接恢复的方法、装置及系统
WO2015195239A1 (en) Media processing services on an access node
CN106600275A (zh) 一种风险识别方法及装置
US9826282B2 (en) Reception apparatus, reception method, and recording medium
WO2014183533A1 (zh) 一种图像处理方法、用户终端、图像处理终端及系统
CN111131755A (zh) 加入音视频会议的方法、流媒体协转服务器
KR101999237B1 (ko) 게이트웨이, 방법, 컴퓨터 프로그램, 및 대응하는 저장 수단
WO2021184879A1 (zh) 在区块链共识处理时进行处理消息同步的方法及装置
WO2016000127A1 (zh) 一种通信方法和信令服务器
CN102999626B (zh) 一种数据压缩/解压缩装置及其方法、系统
CN103856489A (zh) 一种防止重放攻击的实现方法和设备
CN111092783B (zh) 探测多层数据的方法及装置
CN102238157A (zh) 网络流媒体播放系统及网络流媒体播放的断点续播方法
US20130258120A1 (en) Imaging apparatus that transmits media data to reception apparatus, method of processing information, and storage medium
CN103034702B (zh) 用于数据压缩/解压缩的装置、方法和系统
CN103107952A (zh) 一种抗rtp媒体包网络丢包的方法
WO2019165789A1 (zh) 一种视频数据的传输方法、装置及介质
JP2010092411A (ja) サービス提供システム、サーバ、サービス提供方法およびプログラム
US9706232B2 (en) Method and device for sending media data
US10135888B2 (en) Information processing method and device

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

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

Country of ref document: EP

Kind code of ref document: A1