[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2017133054A1 - 即时通信服务调用方法及企业服务总线服务器 - Google Patents

即时通信服务调用方法及企业服务总线服务器 Download PDF

Info

Publication number
WO2017133054A1
WO2017133054A1 PCT/CN2016/075866 CN2016075866W WO2017133054A1 WO 2017133054 A1 WO2017133054 A1 WO 2017133054A1 CN 2016075866 W CN2016075866 W CN 2016075866W WO 2017133054 A1 WO2017133054 A1 WO 2017133054A1
Authority
WO
WIPO (PCT)
Prior art keywords
instant messaging
service
instant
server
request message
Prior art date
Application number
PCT/CN2016/075866
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 邦彦技术股份有限公司
Publication of WO2017133054A1 publication Critical patent/WO2017133054A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an instant messaging service calling method and an enterprise service bus server.
  • ESB is called Enterprise Service Bus, the enterprise service bus. It is the product of the combination of traditional middleware technology and XML, Web services and other technologies.
  • the ESB provides the most basic connectivity hub in the network and is an essential element in building the enterprise's nervous system.
  • the existing enterprise service bus is mainly used for managing data and file data services, and cannot provide instant communication services such as instant voice, instant video, instant conference, etc., thereby bringing great inconvenience to users. Therefore, the existing enterprise service bus cannot provide the problem of instant communication service, and the problem in this aspect needs to be solved by the inventor.
  • the main object of the present invention is to solve the problem that the existing enterprise service bus cannot provide instant communication services.
  • the present invention provides an instant messaging service calling method, and the instant messaging service calling method includes the following steps:
  • the enterprise service bus receives the request message sent by the instant messaging client, and the request message is used to invoke the instant messaging service provided by the instant messaging server;
  • the enterprise service bus When receiving the request message, the enterprise service bus converts the request message into a protocol format adapted by the instant communication server according to a preset protocol conversion policy;
  • the enterprise service bus converts the processing result into a protocol format adapted by the instant messaging client according to the protocol conversion policy, and forwards the result to the instant communication client for service presentation.
  • the step of converting the request message into a protocol format adapted by the instant messaging server according to a preset protocol conversion policy includes:
  • the enterprise service bus converts the request message into a protocol format adapted by the instant messaging server according to the determined protocol conversion policy.
  • the protocol format that the instant messaging client adapts includes a WebService/XML protocol format or a UDP/TCP/XML protocol format
  • the protocol format adapted by the instant messaging server includes a UDP/SIP protocol format or WebSocket/SIP protocol format.
  • the enterprise service bus converts the processing result into a protocol format adapted by the instant messaging client according to the protocol conversion policy, and forwards the method to the instant communication client for service presentation, and further include:
  • the enterprise service bus receives a push message from the instant messaging server
  • the enterprise service bus sends the converted push message to the instant messaging client.
  • the instant messaging service provided by the instant messaging server comprises an instant voice service, an instant video service, or an instant meeting service.
  • the present invention further provides an enterprise service bus server, where the enterprise service bus server is respectively connected to an instant communication client and an instant communication server, and the enterprise service bus server includes:
  • a monitoring module configured to receive a request message sent by an instant messaging client, where the request message is used to invoke an instant messaging service provided by the instant messaging server;
  • a conversion module configured to convert the request message into a protocol format adapted by the instant messaging server according to a preset protocol conversion policy when receiving the request message;
  • a forwarding module configured to send the converted request message to the instant messaging server, where the instant messaging server performs corresponding service processing and returns a processing result
  • the conversion module is further configured to convert the processing result into a protocol format adapted by the instant messaging client according to the protocol conversion policy, and forward the data to the instant communication client for service presentation.
  • the conversion module includes a routing unit, an adaptation unit, and a conversion unit;
  • the routing unit is configured to determine, according to a preset routing policy, an instant communication server corresponding to the request message when receiving the request message;
  • the adapting unit is configured to determine a protocol conversion policy that is adapted by the instant messaging server;
  • the converting unit is configured to convert the request message into a protocol format adapted by the instant messaging server according to the determined protocol conversion policy.
  • the protocol format that the instant messaging client adapts includes a WebService/XML protocol format or a UDP/TCP/XML protocol format
  • the protocol format adapted by the instant messaging server includes a UDP/SIP protocol format or WebSocket/SIP protocol format.
  • the monitoring module is further configured to receive a push message from the instant messaging server;
  • the conversion module is further configured to convert the push message into a message protocol format adapted by each instant communication client according to the message protocol conversion policy;
  • the forwarding module is further configured to send the converted push message to each instant messaging client.
  • the instant messaging service provided by the instant messaging server comprises an instant voice service, an instant video service, or an instant meeting service.
  • the invention converts the request message sent by the instant messaging client into a protocol format adapted by the instant communication server through a preset protocol conversion strategy, so that the instant communication client can invoke the instant communication server to provide the format provided by the instant communication server.
  • Instant messaging service meanwhile, the instant messaging server can also access the enterprise service bus to publish instant messaging services through multiple protocol formats.
  • the instant messaging service is realized through the enterprise service bus, which improves the user experience.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for calling an instant messaging service according to the present invention
  • FIG. 2 is a schematic diagram of a message flow of an embodiment of an instant messaging service calling process according to the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for invoking an instant messaging service according to the present invention.
  • FIG. 4 is a schematic flowchart diagram of a third embodiment of an instant messaging service calling method according to the present invention.
  • FIG. 5 is a schematic diagram of connection between an enterprise service bus server, an instant messaging client, and an instant messaging server in the present invention
  • FIG. 6 is a schematic diagram of functional modules of a first embodiment of an enterprise service bus server according to the present invention.
  • FIG. 7 is a schematic diagram of functional modules of a second embodiment of an enterprise service bus server according to the present invention.
  • the main solution of the embodiment of the present invention is that the enterprise service bus receives the request message sent by the instant messaging client, and the request message is used to invoke the instant messaging service provided by the instant messaging server; the enterprise service bus receives the message And the request message is converted into a protocol format adapted by the instant messaging server according to a preset protocol conversion policy; the enterprise service bus sends the converted request message to the instant messaging server And the instant messaging server performs corresponding service processing and returns a processing result; the enterprise service bus converts the processing result into a protocol format adapted by the instant communication client according to the protocol conversion policy, and forwards Performing a service presentation to the instant messaging client.
  • the present invention provides an instant messaging service calling method.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for calling an instant messaging service according to the present invention.
  • the instant messaging service calling method includes:
  • Step S10 The enterprise service bus receives a request message sent by the instant messaging client, where the request message is used to invoke an instant communication service provided by the instant messaging server;
  • the enterprise service bus can call the corresponding instant messaging service by issuing an instant messaging service interface for the instant messaging client to send a request message by calling the interface.
  • the request message is used to invoke an instant communication service provided by the instant messaging server, and the instant communication server performs corresponding instant communication service processing and returns a processing result to the client for service presentation when receiving the request message,
  • the instant messaging service provided by the instant messaging server includes an instant voice service, an instant video service or an instant meeting service.
  • the enterprise service bus can implement monitoring of instant communication service calls through an internal service monitoring management module.
  • the instant messaging client as a consumer of the instant messaging service, may be a terminal device such as a web terminal, a PC terminal, an Android terminal, or an EDT terminal;
  • the instant communication server is a provider of an instant communication service, and may be an instant Communication system or instant messaging server.
  • the instant messaging server may send service initialization registration information to the enterprise service bus at startup, the enterprise service bus returns a registration result to the instant communication server, and presents the service status on the management interface to implement instant Registration of communication services.
  • Step S20 when receiving the request message, the enterprise service bus converts the request message into a protocol format adapted by the instant communication server according to a preset protocol conversion policy;
  • the enterprise service bus When receiving the request message for calling the instant messaging service sent by the instant messaging client, the enterprise service bus converts the request message into a protocol format adapted by the instant communication server according to a preset protocol conversion policy.
  • the protocol format of the request message sent by the instant messaging client may be a WebService/XML protocol format or a UDP/TCP/XML protocol format, and the protocol format adapted by the instant messaging server includes a UDP/SIP protocol format or a WebSocket. /SIP protocol format.
  • the enterprise service bus may provide a visual interface through an internal management tool for the user to configure the protocol conversion policy, and save the configured protocol conversion policy in the enterprise service bus.
  • the enterprise service bus may perform permission identification on the request message according to a permission code in the request message, and perform protocol conversion processing when the authentication is passed.
  • the enterprise service bus can implement authorization or identity authentication of the request message through an authentication module of the internal data bus.
  • Step S30 the enterprise service bus sends the converted request message to the instant communication server, so that the instant communication server performs corresponding service processing and returns a processing result;
  • the enterprise service bus sends the converted request message to the instant messaging server, so that the instant messaging server performs corresponding instant messaging service processing and returns a processing result.
  • the instant messaging server performs corresponding service processing according to the received request information, for example, when receiving a point-to-point call request, the instant communication server finds the address information of the target client by using an internal routing policy, and Sending the address information to the enterprise service bus, and sending the call information to the target client through the enterprise service bus; or, in the point-to-point voice communication process, the instant communication server forwards the media stream through the media negotiation information After the code is processed, it is sent to the target client via the enterprise service bus.
  • FIG. 2 is a schematic diagram of a message flow of an embodiment of an instant messaging service calling process according to the present invention, where the instant messaging server can synchronously send the processing result to an enterprise service bus, and Returning the enterprise service bus to the corresponding instant messaging client; or the instant messaging server may first return a response message to the enterprise service bus, and then asynchronously return the processing result to the enterprise service bus, via the enterprise service The bus is sent to the corresponding instant messaging client.
  • Step S40 The enterprise service bus converts the processing result into a protocol format adapted by the instant messaging client according to the protocol conversion policy, and forwards the result to the instant communication client for service presentation.
  • the enterprise service bus converts the processing result into a protocol format adapted by the instant messaging client according to the protocol conversion policy, and forwards the result to the instant communication client for service presentation.
  • the service presentation can be implemented in a plurality of manners. Specifically, the corresponding service interface can be displayed by the instant messaging client; or a voice or video can be output through the instant messaging client to complete the corresponding service presentation. For example, during a point-to-point video call, a video is displayed through an instant messaging client to implement a service presentation.
  • the enterprise service bus may further provide a visual management interface by the internal service management tool for the user to trigger a control instruction based on the management interface, where the enterprise service bus detects the user-triggered control instruction The control command is sent to the instant messaging server to control to stop or start the corresponding instant messaging service.
  • the request message sent by the instant messaging client is converted into a protocol format adapted by the instant communication server by using a preset protocol conversion policy, so that the instant communication client can invoke the instant communication server through multiple formats.
  • the instant messaging service meanwhile, the instant messaging server can also access the instant messaging service by accessing the enterprise service bus through multiple protocol formats.
  • the instant messaging service is realized through the enterprise service bus, which improves the user experience.
  • FIG. 3 is a schematic flowchart diagram of a second embodiment of an instant messaging service calling method according to the present invention. Based on the first embodiment of the instant messaging service calling method, the step S20 includes:
  • Step S21 the enterprise service bus determines the instant communication server corresponding to the request message according to a preset routing policy when receiving the request message;
  • Step S22 the enterprise service bus determines a protocol conversion policy adapted by the instant messaging server
  • Step S23 the enterprise service bus converts the request message into a protocol format adapted by the instant messaging server according to the determined protocol conversion policy.
  • the enterprise service bus determines the instant communication server corresponding to the request message according to the preset routing policy, and can quickly find the server corresponding to the request message, thereby improving the operation efficiency.
  • the enterprise service bus may determine, by an internal protocol adapter, a protocol conversion policy adapted by the instant messaging server.
  • the enterprise service bus converts the request message into a protocol format adapted by the instant messaging server according to the determined protocol conversion policy.
  • the enterprise service bus may be configured by an internal data processing module.
  • the request message is converted to a protocol format adapted by the instant messaging server.
  • the enterprise service bus may provide a visual management interface through an internal management tool for the user to configure the routing policy based on the management interface, and save the configured routing policy to the enterprise service bus.
  • the request message sent by the instant messaging client is converted into a protocol format adapted by the instant communication server by using a preset protocol conversion policy, so that the instant communication client can invoke the instant communication server through multiple formats.
  • the instant messaging service meanwhile, the instant messaging server can also access the instant messaging service by accessing the enterprise service bus through multiple protocol formats.
  • the corresponding instant messaging server is found through the preset routing policy, which greatly improves the operating efficiency.
  • FIG. 4 is a schematic flowchart diagram of a third embodiment of an instant messaging service calling method according to the present invention. Based on the first embodiment of the instant messaging service calling method, after the step S40, the method further includes:
  • Step S41 the enterprise service bus receives a push message from the instant messaging server
  • Step S42 the enterprise service bus converts the push message into a message protocol format adapted by the instant messaging client according to the message protocol conversion policy
  • Step S43 the enterprise service bus sends the converted push message to the instant messaging client.
  • the instant messaging server sends a push message to the enterprise service bus, the enterprise service bus receives a push message from the instant messaging server, and the enterprise service bus converts the push message into the message according to the message protocol conversion policy
  • the message protocol format adapted by the instant messaging client, the enterprise service bus sending the converted push message to the instant messaging client for the instant messaging client to perform message push.
  • the protocol conversion policy is used to convert the push message provided by the instant communication server into a protocol format adapted by the instant communication client, so that the server actively pushes the message to the client for presentation.
  • the execution bodies of the instant messaging service calling methods of the above first to third embodiments may each be an enterprise service bus program or a server device carrying an enterprise service bus.
  • the invention further provides an enterprise service bus server.
  • FIG. 5 is a schematic diagram of a connection between an enterprise service bus server, an instant messaging client, and an instant messaging server according to the present invention
  • FIG. 6 is a schematic diagram of functional modules of the first embodiment of the enterprise service bus server according to the present invention.
  • the enterprise service bus server is respectively connected to an instant messaging client and an instant messaging server, and the enterprise service bus server includes a monitoring module 10, a conversion module 20, and a forwarding module 30;
  • the monitoring module 10 is configured to receive a request message sent by an instant messaging client, where the request message is used to invoke an instant messaging service provided by an instant messaging server;
  • the enterprise service bus can call the corresponding instant messaging service by issuing an instant messaging service interface for the instant messaging client to send a request message by calling the interface.
  • the request message is used to invoke an instant communication service provided by the instant messaging server, and the instant communication server performs corresponding instant communication service processing and returns a processing result to the client for service presentation when receiving the request message,
  • the instant messaging service provided by the instant messaging server includes an instant voice service, an instant video service or an instant meeting service.
  • the enterprise service bus can implement monitoring of instant communication service calls through an internal service monitoring management module.
  • the instant messaging client as a consumer of the instant messaging service, may be a terminal device such as a web terminal, a PC terminal, an Android terminal, or an EDT terminal;
  • the instant communication server is a provider of an instant communication service, and may be an instant Communication system or instant messaging server.
  • the instant messaging server may send service initialization registration information to the enterprise service bus at startup, the enterprise service bus returns a registration result to the instant communication server, and presents the service status on the management interface to implement instant Registration of communication services.
  • the conversion module 20 is configured to convert the request message into a protocol format adapted by the instant communication server according to a preset protocol conversion policy when receiving the request message;
  • the enterprise service bus When receiving the request message for calling the instant messaging service sent by the instant messaging client, the enterprise service bus converts the request message into a protocol format adapted by the instant communication server according to a preset protocol conversion policy.
  • the protocol format of the request message sent by the instant messaging client may be a WebService/XML protocol format or a UDP/TCP/XML protocol format, and the protocol format adapted by the instant messaging server includes a UDP/SIP protocol format or a WebSocket. /SIP protocol format.
  • the enterprise service bus may provide a visual interface through an internal management tool for the user to configure the protocol conversion policy, and save the configured protocol conversion policy in the enterprise service bus.
  • the enterprise service bus may perform permission identification on the request message according to a permission code in the request message, and perform protocol conversion processing when the authentication is passed.
  • the enterprise service bus can implement authorization or identity authentication of the request message through an authentication module of the internal data bus.
  • the forwarding module 30 is configured to send the converted request message to the instant messaging server, so that the instant messaging server performs corresponding service processing and returns a processing result;
  • the enterprise service bus sends the converted request message to the instant messaging server, so that the instant messaging server performs corresponding instant messaging service processing and returns a processing result.
  • the instant messaging server performs corresponding service processing according to the received request information, for example, when receiving a point-to-point call request, the instant communication server finds the address information of the target client by using an internal routing policy, and Sending the address information to the enterprise service bus, and sending the call information to the target client through the enterprise service bus; or, in the point-to-point voice communication process, the instant communication server forwards the media stream through the media negotiation information After the code is processed, it is sent to the target client via the enterprise service bus.
  • FIG. 2 is a schematic diagram of a message flow of an embodiment of an instant messaging service calling process according to the present invention, where the instant messaging server can synchronously send the processing result to an enterprise service bus, and Returning the enterprise service bus to the corresponding instant messaging client; or the instant messaging server may first return a response message to the enterprise service bus, and then asynchronously return the processing result to the enterprise service bus, via the enterprise service The bus is sent to the corresponding instant messaging client.
  • the conversion module 20 is further configured to convert the processing result into a protocol format adapted by the instant messaging client according to the protocol conversion policy, and forward the data to the instant communication client for service presentation.
  • the enterprise service bus converts the processing result into a protocol format adapted by the instant messaging client according to the protocol conversion policy, and forwards the result to the instant communication client for service presentation.
  • the service presentation can be implemented in a plurality of manners. Specifically, the corresponding service interface can be displayed by the instant messaging client; or a voice or video can be output through the instant messaging client to complete the corresponding service presentation. For example, during a point-to-point video call, a video is displayed through an instant messaging client to implement a service presentation.
  • the enterprise service bus may further provide a visual management interface by the internal service management tool for the user to trigger a control instruction based on the management interface, where the enterprise service bus detects the user-triggered control instruction The control command is sent to the instant messaging server to control to stop or start the corresponding instant messaging service.
  • the request message sent by the instant messaging client is converted into a protocol format adapted by the instant communication server by using a preset protocol conversion policy, so that the instant communication client can invoke the instant communication server through multiple formats.
  • the instant messaging service meanwhile, the instant messaging server can also access the instant messaging service by accessing the enterprise service bus through multiple protocol formats.
  • the instant messaging service is realized through the enterprise service bus, which improves the user experience.
  • FIG. 7 is a schematic diagram of functional modules of a second embodiment of an enterprise service bus server according to the present invention.
  • the conversion module 20 includes a routing unit 21, an adaptation unit 22, and a conversion unit 23;
  • the routing unit 21 is configured to: when receiving the request message, determine an instant communication server corresponding to the request message according to a preset routing policy;
  • the adapting unit 22 is configured to determine a protocol conversion policy that is adapted by the instant messaging server;
  • the converting unit 23 is configured to convert the request message into a protocol format adapted by the instant messaging server according to the determined protocol conversion policy.
  • the enterprise service bus determines the instant communication server corresponding to the request message according to the preset routing policy, and can quickly find the server corresponding to the request message, thereby improving the operation efficiency.
  • the enterprise service bus may determine, by an internal protocol adapter, a protocol conversion policy adapted by the instant messaging server.
  • the enterprise service bus converts the request message into a protocol format adapted by the instant messaging server according to the determined protocol conversion policy.
  • the enterprise service bus may be configured by an internal data processing module.
  • the request message is converted to a protocol format adapted by the instant messaging server.
  • the enterprise service bus may provide a visual management interface through an internal management tool for the user to configure the routing policy based on the management interface, and save the configured routing policy to the enterprise service bus.
  • the request message sent by the instant messaging client is converted into a protocol format adapted by the instant communication server by using a preset protocol conversion policy, so that the instant communication client can invoke the instant communication server through multiple formats.
  • the instant messaging service meanwhile, the instant messaging server can also access the instant messaging service by accessing the enterprise service bus through multiple protocol formats.
  • the corresponding instant messaging server is found through the preset routing policy, which greatly improves the operating efficiency.
  • the monitoring module 10 is further configured to receive a push message from the instant messaging server;
  • the conversion module 20 is further configured to convert the push message into a message protocol format adapted by each instant communication client according to the message protocol conversion policy;
  • the forwarding module 30 is further configured to send the converted push message to each instant messaging client.
  • the instant messaging server sends a push message to the enterprise service bus, the enterprise service bus receives a push message from the instant messaging server, and the enterprise service bus converts the push message into the message according to the message protocol conversion policy
  • the message protocol format adapted by the instant messaging client, the enterprise service bus sending the converted push message to the instant messaging client for the instant messaging client to perform message push.
  • the protocol conversion policy is used to convert the push message provided by the instant communication server into a protocol format adapted by the instant communication client, so that the server actively pushes the message to the client for presentation.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种即时通信服务调用方法,包括以下步骤:企业服务总线接收即时通信客户端所发送的请求消息,所述请求消息用于调用即时通信服务端所提供的即时通信服务;企业服务总线在接收到请求消息时,按照预设的协议转换策略将请求消息转换为即时通信服务端所适配的协议格式;企业服务总线将转换后的请求消息发送至即时通信服务端,以供即时通信服务端进行对应的业务处理并返回处理结果;企业服务总线按照所述协议转换策略将处理结果转换为即时通信客户端所适配的协议格式,并转发至即时通信客户端进行业务呈现。本发明还公开了一种企业服务总线服务器。本发明通过企业服务总线实现了即时通信服务,提高了用户体验。

Description

即时通信服务调用方法及企业服务总线服务器
技术领域
本发明涉及通信技术领域,尤其涉及一种即时通信服务调用方法及企业服务总线服务器。
背景技术
ESB全称为Enterprise Service Bus,即企业服务总线。它是传统中间件技术与XML、Web服务等技术结合的产物。ESB提供了网络中最基本的连接中枢,是构筑企业神经系统的必要元素。现有的企业服务总线主要用于管理数据、文件数据服务,无法提供即时语音、即时视频、即时会议等即时通信服务,由此给用户的使用带来了极大的不便。因此,现有的企业服务总线无法提供即时通信服务的问题,此方面的问题亟待发明人解决。
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。
发明内容
本发明的主要目的在于解决现有的企业服务总线无法提供即时通信服务的问题。
为实现上述目的,本发明提供一种即时通信服务调用方法,所述即时通信服务调用方法包括以下步骤:
企业服务总线接收即时通信客户端所发送的请求消息,所述请求消息用于调用即时通信服务端所提供的即时通信服务;
所述企业服务总线在接收到所述请求消息时,按照预设的协议转换策略将所述请求消息转换为即时通信服务端所适配的协议格式;
所述企业服务总线将转换后的请求消息发送至所述即时通信服务端,以供所述即时通信服务端进行对应的业务处理并返回处理结果;
所述企业服务总线按照所述协议转换策略将所述处理结果转换为即时通信客户端所适配的协议格式,并转发至所述即时通信客户端进行业务呈现。
可选的,所述企业服务总线在接收到所述请求消息时,按照预设的协议转换策略将所述请求消息转换为即时通信服务端所适配的协议格式的步骤包括:
所述企业服务总线在接收到所述请求消息时,按照预设的路由策略确定所述请求消息对应的即时通信服务端;
所述企业服务总线确定所述即时通信服务端所适配的协议转换策略;
所述企业服务总线按照所确定的协议转换策略将所述请求消息转换为所述即时通信服务端所适配的协议格式。
可选的,所述即时通信客户端所适配的协议格式包括WebService/XML协议格式或UDP/TCP/XML协议格式,所述即时通信服务端所适配的协议格式包括UDP/SIP协议格式或WebSocket/SIP协议格式。
可选的,所述企业服务总线按照所述协议转换策略将所述处理结果转换为即时通信客户端所适配的协议格式,并转发至所述即时通信客户端进行业务呈现的步骤之后,还包括:
所述企业服务总线接收来自所述即时通信服务端的推送消息;
所述企业服务总线根据所述消息协议转换策略将所述推送消息转换为所述即时通信客户端所适配的消息协议格式;
所述企业服务总线将转换后的推送消息发送至所述即时通信客户端。
可选的,所述即时通信服务端所提供的即时通信服务包括即时语音服务、即时视频服务或者即时会议服务。
此外,为实现上述目的,本发明还提供一种企业服务总线服务器,所述企业服务总线服务器分别与即时通信客户端、即时通信服务端连接,所述企业服务总线服务器包括:
监控模块,用于接收即时通信客户端所发送的请求消息,所述请求消息用于调用即时通信服务端所提供的即时通信服务;
转换模块,用于在接收到所述请求消息时,按照预设的协议转换策略将所述请求消息转换为即时通信服务端所适配的协议格式;
转发模块,用于将转换后的请求消息发送至所述即时通信服务端,以供所述即时通信服务端进行对应的业务处理并返回处理结果;
所述转换模块,还用于按照所述协议转换策略将所述处理结果转换为即时通信客户端所适配的协议格式,并转发至所述即时通信客户端进行业务呈现。
可选的,所述转换模块包括路由单元、适配单元和转换单元;
所述路由单元,用于在接收到所述请求消息时,按照预设的路由策略确定所述请求消息对应的即时通信服务端;
所述适配单元,用于确定所述即时通信服务端所适配的协议转换策略;
所述转换单元,用于按照所确定的协议转换策略将所述请求消息转换为所述即时通信服务端所适配的协议格式。
可选的,所述即时通信客户端所适配的协议格式包括WebService/XML协议格式或UDP/TCP/XML协议格式,所述即时通信服务端所适配的协议格式包括UDP/SIP协议格式或WebSocket/SIP协议格式。
可选的,所述监控模块,还用于接收来自所述即时通信服务端的推送消息;
所述转换模块,还用于根据所述消息协议转换策略将所述推送消息转换为各个即时通信客户端所适配的消息协议格式;
所述转发模块,还用于将转换后的推送消息发送至各个即时通信客户端。
可选的,所述即时通信服务端所提供的即时通信服务包括即时语音服务、即时视频服务或者即时会议服务。
本发明通过预设的协议转换策略,将即时通信客户端发送的请求消息转换为即时通信服务端所适配的协议格式,使得即时通信客户端可以通过多种格式调用即时通信服务端所提供的即时通信服务,同时,即时通信服务端也可以通过多种协议格式接入到企业服务总线中发布即时通信服务。通过企业服务总线实现了即时通信服务,提高了用户体验。
附图说明
图1为本发明即时通信服务调用方法的第一实施例的流程示意图;
图2为本发明中即时通信服务调用过程的一实施例的消息流程示意图;
图3为本发明即时通信服务调用方法的第二实施例的流程示意图;
图4为本发明即时通信服务调用方法的第三实施例的流程示意图;
图5为本发明中企业服务总线服务器与即时通信客户端、即时通信服务端的连接示意图;
图6为本发明中企业服务总线服务器的第一实施例的功能模块示意图;
图7为本发明中企业服务总线服务器的第二实施例的功能模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明实施例的主要解决方案是:企业服务总线接收即时通信客户端所发送的请求消息,所述请求消息用于调用即时通信服务端所提供的即时通信服务;所述企业服务总线在接收到所述请求消息时,按照预设的协议转换策略将所述请求消息转换为即时通信服务端所适配的协议格式;所述企业服务总线将转换后的请求消息发送至所述即时通信服务端,以供所述即时通信服务端进行对应的业务处理并返回处理结果;所述企业服务总线按照所述协议转换策略将所述处理结果转换为即时通信客户端所适配的协议格式,并转发至所述即时通信客户端进行业务呈现。
现有的企业服务总线无法提供即时通信服务的问题。
基于上述问题,本发明提供一种即时通信服务调用方法。
参照图1,图1为本发明即时通信服务调用方法的第一实施例的流程示意图。
在本实施例中,所述即时通信服务调用方法包括:
步骤S10,企业服务总线接收即时通信客户端所发送的请求消息,所述请求消息用于调用即时通信服务端所提供的即时通信服务;
本发明中,企业服务总线可以通过发布即时通信服务接口,以供即时通信客户端通过调用该接口发送请求消息调用对应的即时通信服务。所述请求消息用于调用即时通信服务端所提供的即时通信服务,即时通信服务端在接收到该请求消息时,进行对应的即时通信业务处理并返回处理结果至客户端进行业务呈现,所述即时通信服务端所提供的即时通信服务包括即时语音服务、即时视频服务或者即时会议服务。
所述企业服务总线可以通过内部的服务监控管理模块实现对即时通信服务调用的监控。所述即时通信客户端作为即时通信服务的消费者,可以是Web终端、PC终端、Android终端或EDT终端等等的终端设备;所述即时通信服务端为即时通信服务的提供者,可以是即时通信系统或者即时通信服务器。
所述即时通信服务端可以在启动时,向所述企业服务总线发送服务初始化注册信息,所述企业服务总线返回注册结果至所述即时通信服务端,并将服务状态呈现在管理界面,实现即时通信服务的注册。
步骤S20,所述企业服务总线在接收到所述请求消息时,按照预设的协议转换策略将所述请求消息转换为即时通信服务端所适配的协议格式;
所述企业服务总线在接收到即时通信客户端所发送的用于调用即时通信服务的请求消息时,按照预设的协议转换策略将所述请求消息转换为即时通信服务端所适配的协议格式。所述即时通信客户端所发送的请求消息的协议格式可以为WebService/XML协议格式或UDP/TCP/XML协议格式,所述即时通信服务端所适配的协议格式包括UDP/SIP协议格式或WebSocket/SIP协议格式。
所述企业服务总线可以通过内部的管理工具提供可视化界面以供用户配置所述协议转换策略,并将配置的协议转换策略保存在所述企业服务总线内。
进一步的,所述企业服务总线可以在接收到所述请求消息时,根据所述请求消息内的权限码对所述请求消息进行权限鉴定,在鉴权通过时进行协议的转换处理。具体的,所述企业服务总线可以通过内部的数据总线的鉴权模块实现对所述请求消息的权限鉴定或身份认证。
步骤S30,所述企业服务总线将转换后的请求消息发送至所述即时通信服务端,以供所述即时通信服务端进行对应的业务处理并返回处理结果;
所述企业服务总线将转换后的请求消息发送至所述即时通信服务端,以供所述即时通信服务端进行对应的即时通信业务处理并返回处理结果。所述即时通信服务端根据所接收到的请求信息进行对应的业务处理,例如:在接收到点对点呼叫请求时,所述即时通信服务端通过内部的路由策略查找到目标客户端的地址信息,并将所述地址信息发送至企业服务总线,通过所述企业服务总线发送呼叫信息至所述目标客户端;或者,在点对点语音通信过程中,所述即时通信服务端通过媒体协商信息将媒体流进行转码处理后,经由所述企业服务总线发送至目标客户端。
进一步的,参照图2,图2为本发明中即时通信服务调用过程的一实施例的消息流程示意图,所述即时通信服务端可以同步将所述处理结果发送至企业服务总线,并经由所述企业服务总线返回至对应的即时通信客户端;或者,所述即时通信服务端也可以先返回响应消息至所述企业服务总线,再异步返回处理结果至所述企业服务总线,经由所述企业服务总线发送至对应的即时通信客户端。
步骤S40,所述企业服务总线按照所述协议转换策略将所述处理结果转换为即时通信客户端所适配的协议格式,并转发至所述即时通信客户端进行业务呈现。
所述企业服务总线按照所述协议转换策略将所述处理结果转换为即时通信客户端所适配的协议格式,并转发至所述即时通信客户端进行业务呈现。所述业务呈现可以通过多种方式进行实施,具体的,可以通过所述即时通信客户端显示对应的服务界面;或者可以通过所述即时通信客户端输出一段语音或者视频来完成对应的业务呈现。例如:在点对点视频通话过程中,通过即时通信客户端显示一段视频实现业务呈现。
进一步的,所述企业服务总线还可以通过内部的服务管理工具提供可视化的管理界面以供用户基于所述管理界面触发控制指令,所述企业服务总线在侦测到用户触发的控制指令时,将所述控制指令发送至即时通信服务端,以控制停止或启动对应的即时通信服务。
本实施例通过预设的协议转换策略,将即时通信客户端发送的请求消息转换为即时通信服务端所适配的协议格式,使得即时通信客户端可以通过多种格式调用即时通信服务端所提供的即时通信服务,同时,即时通信服务端也可以通过多种协议格式接入到企业服务总线中发布即时通信服务。通过企业服务总线实现了即时通信服务,提高了用户体验。
参照图3,图3为本发明即时通信服务调用方法的第二实施例的流程示意图。基于上述即时通信服务调用方法的第一实施例,所述步骤S20包括:
步骤S21,所述企业服务总线在接收到所述请求消息时,按照预设的路由策略确定所述请求消息对应的即时通信服务端;
步骤S22,所述企业服务总线确定所述即时通信服务端所适配的协议转换策略;
步骤S23,所述企业服务总线按照所确定的协议转换策略将所述请求消息转换为所述即时通信服务端所适配的协议格式。
所述企业服务总线按照预设的路由策略确定所述请求消息对应的即时通信服务端,能够快速查找到所述请求消息对应的服务端,提高了运行效率。所述企业服务总线可以通过内部的协议适配器确定所述即时通信服务端所适配的协议转换策略。所述企业服务总线按照所确定的协议转换策略将所述请求消息转换为所述即时通信服务端所适配的协议格式,具体的,所述企业服务总线可以通过内部的数据处理模块将所述请求消息转换为所述即时通信服务端所适配的协议格式。
所述企业服务总线可以通过内部的管理工具提供可视化管理界面以供用户基于所述管理界面配置所述路由策略,并将配置完成的路由策略保存至所述企业服务总线。
本实施例通过预设的协议转换策略,将即时通信客户端发送的请求消息转换为即时通信服务端所适配的协议格式,使得即时通信客户端可以通过多种格式调用即时通信服务端所提供的即时通信服务,同时,即时通信服务端也可以通过多种协议格式接入到企业服务总线中发布即时通信服务。同时,通过预设的路由策略查找到对应的即时通信服务端,极大的提高了运行效率。
参照图4,图4为本发明即时通信服务调用方法的第三实施例的流程示意图。基于上述即时通信服务调用方法的第一实施例,所述步骤S40之后,还包括:
步骤S41,所述企业服务总线接收来自所述即时通信服务端的推送消息;
步骤S42,所述企业服务总线根据所述消息协议转换策略将所述推送消息转换为所述即时通信客户端所适配的消息协议格式;
步骤S43,所述企业服务总线将转换后的推送消息发送至所述即时通信客户端。
即时通信服务端发送推送消息至企业服务总线,所述企业服务总线接收到来自所述即时通信服务端的推送消息,所述企业服务总线根据所述消息协议转换策略将所述推送消息转换为所述即时通信客户端所适配的消息协议格式,所述企业服务总线将转换后的推送消息发送至所述即时通信客户端,以供所述即时通信客户端进行消息推送。
本实施例通过协议转换策略将即时通信服务端提供的推送消息转换为即时通信客户端所适配的协议格式,实现服务端主动推送消息至客户端进行呈现。极大的加强了企业服务总线的健壮性,提高了用户体验。
上述第一至第三实施例的即时通信服务调用方法的执行主体均可以为企业服务总线程序或者承载企业服务总线的服务器设备。
本发明进一步提供一种企业服务总线服务器。
参照图5及图6,图5为本发明中企业服务总线服务器与即时通信客户端、即时通信服务端的连接示意图;图6为本发明中企业服务总线服务器的第一实施例的功能模块示意图。
在本实施例中,所述企业服务总线服务器分别与即时通信客户端、即时通信服务端连接,所述企业服务总线服务器包括监控模块10、转换模块20和转发模块30;
所述监控模块10,用于接收即时通信客户端所发送的请求消息,所述请求消息用于调用即时通信服务端所提供的即时通信服务;
本发明中,企业服务总线可以通过发布即时通信服务接口,以供即时通信客户端通过调用该接口发送请求消息调用对应的即时通信服务。所述请求消息用于调用即时通信服务端所提供的即时通信服务,即时通信服务端在接收到该请求消息时,进行对应的即时通信业务处理并返回处理结果至客户端进行业务呈现,所述即时通信服务端所提供的即时通信服务包括即时语音服务、即时视频服务或者即时会议服务。
所述企业服务总线可以通过内部的服务监控管理模块实现对即时通信服务调用的监控。所述即时通信客户端作为即时通信服务的消费者,可以是Web终端、PC终端、Android终端或EDT终端等等的终端设备;所述即时通信服务端为即时通信服务的提供者,可以是即时通信系统或者即时通信服务器。
所述即时通信服务端可以在启动时,向所述企业服务总线发送服务初始化注册信息,所述企业服务总线返回注册结果至所述即时通信服务端,并将服务状态呈现在管理界面,实现即时通信服务的注册。
所述转换模块20,用于在接收到所述请求消息时,按照预设的协议转换策略将所述请求消息转换为即时通信服务端所适配的协议格式;
所述企业服务总线在接收到即时通信客户端所发送的用于调用即时通信服务的请求消息时,按照预设的协议转换策略将所述请求消息转换为即时通信服务端所适配的协议格式。所述即时通信客户端所发送的请求消息的协议格式可以为WebService/XML协议格式或UDP/TCP/XML协议格式,所述即时通信服务端所适配的协议格式包括UDP/SIP协议格式或WebSocket/SIP协议格式。
所述企业服务总线可以通过内部的管理工具提供可视化界面以供用户配置所述协议转换策略,并将配置的协议转换策略保存在所述企业服务总线内。
进一步的,所述企业服务总线可以在接收到所述请求消息时,根据所述请求消息内的权限码对所述请求消息进行权限鉴定,在鉴权通过时进行协议的转换处理。具体的,所述企业服务总线可以通过内部的数据总线的鉴权模块实现对所述请求消息的权限鉴定或身份认证。
所述转发模块30,用于将转换后的请求消息发送至所述即时通信服务端,以供所述即时通信服务端进行对应的业务处理并返回处理结果;
所述企业服务总线将转换后的请求消息发送至所述即时通信服务端,以供所述即时通信服务端进行对应的即时通信业务处理并返回处理结果。所述即时通信服务端根据所接收到的请求信息进行对应的业务处理,例如:在接收到点对点呼叫请求时,所述即时通信服务端通过内部的路由策略查找到目标客户端的地址信息,并将所述地址信息发送至企业服务总线,通过所述企业服务总线发送呼叫信息至所述目标客户端;或者,在点对点语音通信过程中,所述即时通信服务端通过媒体协商信息将媒体流进行转码处理后,经由所述企业服务总线发送至目标客户端。
进一步的,参照图2,图2为本发明中即时通信服务调用过程的一实施例的消息流程示意图,所述即时通信服务端可以同步将所述处理结果发送至企业服务总线,并经由所述企业服务总线返回至对应的即时通信客户端;或者,所述即时通信服务端也可以先返回响应消息至所述企业服务总线,再异步返回处理结果至所述企业服务总线,经由所述企业服务总线发送至对应的即时通信客户端。
所述转换模块20,还用于按照所述协议转换策略将所述处理结果转换为即时通信客户端所适配的协议格式,并转发至所述即时通信客户端进行业务呈现。
所述企业服务总线按照所述协议转换策略将所述处理结果转换为即时通信客户端所适配的协议格式,并转发至所述即时通信客户端进行业务呈现。所述业务呈现可以通过多种方式进行实施,具体的,可以通过所述即时通信客户端显示对应的服务界面;或者可以通过所述即时通信客户端输出一段语音或者视频来完成对应的业务呈现。例如:在点对点视频通话过程中,通过即时通信客户端显示一段视频实现业务呈现。
进一步的,所述企业服务总线还可以通过内部的服务管理工具提供可视化的管理界面以供用户基于所述管理界面触发控制指令,所述企业服务总线在侦测到用户触发的控制指令时,将所述控制指令发送至即时通信服务端,以控制停止或启动对应的即时通信服务。
本实施例通过预设的协议转换策略,将即时通信客户端发送的请求消息转换为即时通信服务端所适配的协议格式,使得即时通信客户端可以通过多种格式调用即时通信服务端所提供的即时通信服务,同时,即时通信服务端也可以通过多种协议格式接入到企业服务总线中发布即时通信服务。通过企业服务总线实现了即时通信服务,提高了用户体验。
参照图7,图7为本发明企业服务总线服务器的第二实施例的功能模块示意图。基于上述企业服务总线服务器的第一实施例,所述转换模块20包括路由单元21、适配单元22和转换单元23;
所述路由单元21,用于在接收到所述请求消息时,按照预设的路由策略确定所述请求消息对应的即时通信服务端;
所述适配单元22,用于确定所述即时通信服务端所适配的协议转换策略;
所述转换单元23,用于按照所确定的协议转换策略将所述请求消息转换为所述即时通信服务端所适配的协议格式。
所述企业服务总线按照预设的路由策略确定所述请求消息对应的即时通信服务端,能够快速查找到所述请求消息对应的服务端,提高了运行效率。所述企业服务总线可以通过内部的协议适配器确定所述即时通信服务端所适配的协议转换策略。所述企业服务总线按照所确定的协议转换策略将所述请求消息转换为所述即时通信服务端所适配的协议格式,具体的,所述企业服务总线可以通过内部的数据处理模块将所述请求消息转换为所述即时通信服务端所适配的协议格式。
所述企业服务总线可以通过内部的管理工具提供可视化管理界面以供用户基于所述管理界面配置所述路由策略,并将配置完成的路由策略保存至所述企业服务总线。
本实施例通过预设的协议转换策略,将即时通信客户端发送的请求消息转换为即时通信服务端所适配的协议格式,使得即时通信客户端可以通过多种格式调用即时通信服务端所提供的即时通信服务,同时,即时通信服务端也可以通过多种协议格式接入到企业服务总线中发布即时通信服务。同时,通过预设的路由策略查找到对应的即时通信服务端,极大的提高了运行效率。
进一步的,基于上述企业服务总线服务器的第一实施例,所述监控模块10,还用于接收来自所述即时通信服务端的推送消息;
所述转换模块20,还用于根据所述消息协议转换策略将所述推送消息转换为各个即时通信客户端所适配的消息协议格式;
所述转发模块30,还用于将转换后的推送消息发送至各个即时通信客户端。
即时通信服务端发送推送消息至企业服务总线,所述企业服务总线接收到来自所述即时通信服务端的推送消息,所述企业服务总线根据所述消息协议转换策略将所述推送消息转换为所述即时通信客户端所适配的消息协议格式,所述企业服务总线将转换后的推送消息发送至所述即时通信客户端,以供所述即时通信客户端进行消息推送。
本实施例通过协议转换策略将即时通信服务端提供的推送消息转换为即时通信客户端所适配的协议格式,实现服务端主动推送消息至客户端进行呈现。极大的加强了企业服务总线的健壮性,提高了用户体验。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (16)

  1. 一种即时通信服务调用方法,其特征在于,所述即时通信服务调用方法包括以下步骤:
    企业服务总线接收即时通信客户端所发送的请求消息,所述请求消息用于调用即时通信服务端所提供的即时通信服务;
    所述企业服务总线在接收到所述请求消息时,按照预设的协议转换策略将所述请求消息转换为即时通信服务端所适配的协议格式;
    所述企业服务总线将转换后的请求消息发送至所述即时通信服务端,以供所述即时通信服务端进行对应的业务处理并返回处理结果;
    所述企业服务总线按照所述协议转换策略将所述处理结果转换为即时通信客户端所适配的协议格式,并转发至所述即时通信客户端进行业务呈现。
  2. 如权利要求1所述的即时通信服务调用方法,其特征在于,所述企业服务总线在接收到所述请求消息时,按照预设的协议转换策略将所述请求消息转换为即时通信服务端所适配的协议格式的步骤包括:
    所述企业服务总线在接收到所述请求消息时,按照预设的路由策略确定所述请求消息对应的即时通信服务端;
    所述企业服务总线确定所述即时通信服务端所适配的协议转换策略;
    所述企业服务总线按照所确定的协议转换策略将所述请求消息转换为所述即时通信服务端所适配的协议格式。
  3. 如权利要求1所述的即时通信服务调用方法,其特征在于,所述即时通信客户端所适配的协议格式包括WebService/XML协议格式或UDP/TCP/XML协议格式,所述即时通信服务端所适配的协议格式包括UDP/SIP协议格式或WebSocket/SIP协议格式。
  4. 如权利要求1所述的即时通信服务调用方法,其特征在于,所述企业服务总线按照所述协议转换策略将所述处理结果转换为即时通信客户端所适配的协议格式,并转发至所述即时通信客户端进行业务呈现的步骤之后,还包括:
    所述企业服务总线接收来自所述即时通信服务端的推送消息;
    所述企业服务总线根据所述消息协议转换策略将所述推送消息转换为所述即时通信客户端所适配的消息协议格式;
    所述企业服务总线将转换后的推送消息发送至所述即时通信客户端。
  5. 如权利要求1所述的即时通信服务调用方法,其特征在于,所述即时通信服务端所提供的即时通信服务包括即时语音服务、即时视频服务或者即时会议服务。
  6. 如权利要求2所述的即时通信服务调用方法,其特征在于,所述即时通信服务端所提供的即时通信服务包括即时语音服务、即时视频服务或者即时会议服务。
  7. 如权利要求3所述的即时通信服务调用方法,其特征在于,所述即时通信服务端所提供的即时通信服务包括即时语音服务、即时视频服务或者即时会议服务。
  8. 如权利要求4所述的即时通信服务调用方法,其特征在于,所述即时通信服务端所提供的即时通信服务包括即时语音服务、即时视频服务或者即时会议服务。
  9. 一种企业服务总线服务器,其特征在于,所述企业服务总线服务器分别与即时通信客户端、即时通信服务端连接,所述企业服务总线服务器包括:
    监控模块,用于接收即时通信客户端所发送的请求消息,所述请求消息用于调用即时通信服务端所提供的即时通信服务;
    转换模块,用于在接收到所述请求消息时,按照预设的协议转换策略将所述请求消息转换为即时通信服务端所适配的协议格式;
    转发模块,用于将转换后的请求消息发送至所述即时通信服务端,以供所述即时通信服务端进行对应的业务处理并返回处理结果;
    所述转换模块,还用于按照所述协议转换策略将所述处理结果转换为即时通信客户端所适配的协议格式,并转发至所述即时通信客户端进行业务呈现。
  10. 如权利要求9所述的企业服务总线服务器,其特征在于,所述转换模块包括路由单元、适配单元和转换单元;
    所述路由单元,用于在接收到所述请求消息时,按照预设的路由策略确定所述请求消息对应的即时通信服务端;
    所述适配单元,用于确定所述即时通信服务端所适配的协议转换策略;
    所述转换单元,用于按照所确定的协议转换策略将所述请求消息转换为所述即时通信服务端所适配的协议格式。
  11. 如权利要求9所述的企业服务总线服务器,其特征在于,所述即时通信客户端所适配的协议格式包括WebService/XML协议格式或UDP/TCP/XML协议格式,所述即时通信服务端所适配的协议格式包括UDP/SIP协议格式或WebSocket/SIP协议格式。
  12. 如权利要求9所述的企业服务总线服务器,其特征在于,所述监控模块,还用于接收来自所述即时通信服务端的推送消息;
    所述转换模块,还用于根据所述消息协议转换策略将所述推送消息转换为各个即时通信客户端所适配的消息协议格式;
    所述转发模块,还用于将转换后的推送消息发送至各个即时通信客户端。
  13. 如权利要求9所述的企业服务总线服务器,其特征在于,所述即时通信服务端所提供的即时通信服务包括即时语音服务、即时视频服务或者即时会议服务。
  14. 如权利要求10所述的企业服务总线服务器,其特征在于,所述即时通信服务端所提供的即时通信服务包括即时语音服务、即时视频服务或者即时会议服务。
  15. 如权利要求11所述的企业服务总线服务器,其特征在于,所述即时通信服务端所提供的即时通信服务包括即时语音服务、即时视频服务或者即时会议服务。
  16. 如权利要求12所述的企业服务总线服务器,其特征在于,所述即时通信服务端所提供的即时通信服务包括即时语音服务、即时视频服务或者即时会议服务。
PCT/CN2016/075866 2016-02-02 2016-03-08 即时通信服务调用方法及企业服务总线服务器 WO2017133054A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610073142.X 2016-02-02
CN201610073142.XA CN105763419A (zh) 2016-02-02 2016-02-02 即时通信服务调用方法及企业服务总线服务器

Publications (1)

Publication Number Publication Date
WO2017133054A1 true WO2017133054A1 (zh) 2017-08-10

Family

ID=56329915

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/075866 WO2017133054A1 (zh) 2016-02-02 2016-03-08 即时通信服务调用方法及企业服务总线服务器

Country Status (2)

Country Link
CN (1) CN105763419A (zh)
WO (1) WO2017133054A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106993039A (zh) * 2017-03-31 2017-07-28 深圳市金溢科技股份有限公司 通信方法、信息管理子系统、云平台及停车场管理系统
CN109062848B (zh) * 2018-08-01 2021-01-26 武汉索雅信息技术有限公司 基于esb总线平台的采购管理方法、装置及总线平台
CN109120684B (zh) * 2018-08-01 2021-10-01 武汉索雅信息技术有限公司 信息化管理方法、装置、esb总线平台以及存储介质
CN109684111A (zh) * 2018-12-28 2019-04-26 安徽同徽网络技术有限公司 消息推送方法、消息推送系统和计算机可读存储介质
CN113486629A (zh) * 2020-12-31 2021-10-08 易百信息技术(上海)股份有限公司 用于对接第三方系统的企业服务总线的应用方法和系统
CN113067885B (zh) * 2021-03-31 2024-02-27 中国建设银行股份有限公司 应用系统、请求处理方法、电子设备及存储介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103384276A (zh) * 2013-07-22 2013-11-06 海南电网公司 企业信息门户系统
US8977673B2 (en) * 2008-08-29 2015-03-10 Red Hat, Inc. Information on availability of services provided by publish-subscribe service

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8977673B2 (en) * 2008-08-29 2015-03-10 Red Hat, Inc. Information on availability of services provided by publish-subscribe service
CN103384276A (zh) * 2013-07-22 2013-11-06 海南电网公司 企业信息门户系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WANG, PENG: "Integrated Framework of Unified Communication Platform and Its Application", CHINA MASTER'S THESES FULL-TEXT DATABASE, INFORMATION TECHNOLOGY, 16 November 2014 (2014-11-16), ISSN: 1674-0246 *

Also Published As

Publication number Publication date
CN105763419A (zh) 2016-07-13

Similar Documents

Publication Publication Date Title
WO2017133054A1 (zh) 即时通信服务调用方法及企业服务总线服务器
WO2011153714A1 (zh) 支持多imsi的方法、装置和系统
WO2016101745A1 (zh) 一种激活移动终端令牌的方法
WO2017000729A1 (zh) 音视频播放控制方法和装置
WO2020133741A1 (zh) 控制外设的方法、电视及可读存储介质
WO2018094950A1 (zh) 无人机及基于无人机的通信方法
WO2019128174A1 (zh) 音频播放方法、智能电视及计算机可读存储介质
WO2017036209A1 (zh) 基于智能电视的音频数据播放方法、智能电视及系统
WO2017012417A1 (zh) 多屏互动设备之间的控制方法、多屏互动设备及系统
WO2018166099A1 (zh) 信息泄露检测方法及装置、服务器及计算机可读存储介质
WO2018166091A1 (zh) 贷款面签方法、系统、终端及计算机可读存储介质
WO2017186018A1 (zh) 机器人通讯方法及系统
WO2019161597A1 (zh) 基于即时通讯的信息发送方法、装置、设备和存储介质
WO2021012481A1 (zh) 系统性能监控方法、装置、设备及存储介质
WO2017092498A1 (zh) 一种信息管理方法及用户终端
WO2016058258A1 (zh) 终端远程控制方法和系统
WO2018010218A1 (zh) 一种接处警方法及终端
WO2018034491A1 (en) A primary device, an accessory device, and methods for processing operations on the primary device and the accessory device
WO2016206223A1 (zh) 截图的方法及系统
WO2017206880A1 (zh) 终端数据处理方法、装置、存储介质及电子设备
WO2019227564A1 (zh) 通讯信息的展示方法、用户设备、存储介质及装置
WO2019085301A1 (zh) 座机未接来电的反馈方法、装置、设备及可读存储介质
WO2020114333A1 (zh) 基于视频的ar教育方法、智能电视、存储介质及设备
WO2017219636A1 (zh) 数据交互方法、云端服务器以及智能终端
WO2019114255A1 (zh) 语音采集方法、遥控器及计算机可读存储介质

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

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

Country of ref document: EP

Kind code of ref document: A1