CN115460165A - Multi-channel service access method, device, equipment and readable storage medium - Google Patents
Multi-channel service access method, device, equipment and readable storage medium Download PDFInfo
- Publication number
- CN115460165A CN115460165A CN202110628458.1A CN202110628458A CN115460165A CN 115460165 A CN115460165 A CN 115460165A CN 202110628458 A CN202110628458 A CN 202110628458A CN 115460165 A CN115460165 A CN 115460165A
- Authority
- CN
- China
- Prior art keywords
- session
- information
- user
- channel
- acquiring
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000003780 insertion Methods 0.000 claims description 7
- 230000037431 insertion Effects 0.000 claims description 7
- 238000012544 monitoring process Methods 0.000 claims description 7
- 230000003993 interaction Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 4
- 230000002457 bidirectional effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/02—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
本发明公开了一种多渠道服务的接入方法、装置、设备以及可读存储介质,所述方法包括:接收到用户端发送的会话请求后,获取会话请求对应的用户渠道的接口信息,并根据所述接口信息获取对应的协议信息;获取用户选择的会话模式;根据所述协议信息以及所述会话模式创建与所述用户端的会话连接;获取会话信息,并通过所述会话连接将所述会话信息发送至用户端。本发明实现不同用户渠道的会话的统一管理。
The invention discloses a multi-channel service access method, device, device and readable storage medium. The method includes: after receiving a session request sent by a user end, acquiring interface information of a user channel corresponding to the session request, and Obtain corresponding protocol information according to the interface information; obtain the session mode selected by the user; create a session connection with the client according to the protocol information and the session mode; obtain session information, and connect the session through the session connection Session information is sent to the client. The invention realizes unified management of conversations of different user channels.
Description
技术领域technical field
本发明涉及多渠道处理技术领域,尤其涉及一种多渠道服务的接入方法、装置、设备以及可读存储介质。The present invention relates to the technical field of multi-channel processing, in particular to an access method, device, equipment and readable storage medium for multi-channel services.
背景技术Background technique
在线客服系统是一种以互联网应用客户端或者网站为媒介,为来自互联网的访客与企业客户服务人员提供即时通讯服务的在线业务支撑系统。The online customer service system is an online business support system that uses the Internet application client or website as the medium to provide instant messaging services for visitors from the Internet and enterprise customer service personnel.
企业的客户分散在各个平台,客户服务人员需要登录不同平台服务该渠道客户,客服人员需要主动学习适应不同平台操作方式,无法与内部知识库有效协同,服务交互数据分散在各个渠道平台,需要登录不同的渠道平台进行会话的交互。The customers of the enterprise are scattered on various platforms. Customer service personnel need to log in to different platforms to serve customers of this channel. Customer service personnel need to actively learn and adapt to the operation methods of different platforms, which cannot effectively coordinate with the internal knowledge base. Service interaction data is scattered across various channel platforms and requires login Different channel platforms conduct conversational interactions.
发明内容Contents of the invention
本发明的主要目的在于提供一种多渠道服务的接入方法、装置、设备以及可读存储介质,旨在解决如何管理不同渠道平台会话的问题。The main purpose of the present invention is to provide a multi-channel service access method, device, equipment and readable storage medium, aiming at solving the problem of how to manage sessions on different channel platforms.
为实现上述目的,本发明提供的一种多渠道服务的接入方法,所述多渠道服务的接入方法包括以下步骤:In order to achieve the above object, the present invention provides a multi-channel service access method, the multi-channel service access method includes the following steps:
接收到用户端发送的会话请求后,获取会话请求对应的用户渠道的接口信息,并根据所述接口信息获取对应的协议信息;After receiving the session request sent by the client, acquire the interface information of the user channel corresponding to the session request, and acquire the corresponding protocol information according to the interface information;
获取用户选择的会话模式;Obtain the session mode selected by the user;
根据所述协议信息以及所述会话模式创建与所述用户端的会话连接;Create a session connection with the client according to the protocol information and the session mode;
获取会话信息,并通过所述会话连接将所述会话信息发送至用户端。Obtain session information, and send the session information to the client through the session connection.
在一实施例中,所述获取会话信息,并通过所述会话连接将所述会话信息发送至用户端的步骤之后,还包括:In one embodiment, after the step of acquiring session information and sending the session information to the client through the session connection, it further includes:
检测到所述用户端离开所述会话连接,删除所述会话连接的路由信息以及接入的用户端的参数信息,生成所述用户端的离线日志。It is detected that the user end leaves the session connection, deletes the routing information of the session connection and the parameter information of the accessed user end, and generates an offline log of the user end.
在一实施例中,所述获取会话信息的步骤包括:In one embodiment, the step of obtaining session information includes:
若所述会话模式为人工会话时,获取用户的排队信息;If the conversation mode is a manual conversation, obtaining the queuing information of the user;
当所述排队信息满足预设的排队策略,则获取客服端的会话信息;When the queuing information satisfies the preset queuing policy, then obtain the session information of the customer service end;
根据所述客服端的会话信息生成预设格式的会话信息。Generate session information in a preset format according to the session information of the customer service terminal.
在一实施例中,所述获取会话信息的步骤包括:In one embodiment, the step of obtaining session information includes:
若所述会话模式为自助会话时,获取机器人自助回复的会话信息。If the conversation mode is a self-service conversation, obtain the conversation information of the robot self-reply.
在一实施例中,所述通过所述会话连接将所述会话信息发送至用户的步骤包括:In one embodiment, the step of sending the session information to the user through the session connection includes:
确定当前会话连接的集群节点;Determine the cluster node to which the current session is connected;
将所述会话信息通过客服端的集群节点路由至用户端对应的所述集群节点,以使所述用户端对应的集群节点将所述会话信息发送至对应的用户端。Routing the session information to the cluster node corresponding to the client through the cluster node of the customer service terminal, so that the cluster node corresponding to the client sends the session information to the corresponding client.
在一实施例中,所述根据所述协议信息以及所述会话模式创建会话连接的步骤之前,还包括:In one embodiment, before the step of creating a session connection according to the protocol information and the session mode, it further includes:
判断所述用户渠道接入的用户端的参数信息是否满足预设条件,所述预设条件包括最大接入数限制、黑名单限制、渠道开关控制以及工作时间控制中的至少一个;Judging whether the parameter information of the user terminal accessed by the user channel satisfies a preset condition, and the preset condition includes at least one of a maximum number of access restrictions, a blacklist restriction, channel switch control, and working time control;
若所述用户渠道接入的用户的参数信息满足预设条件,则执行所述根据所述协议信息以及所述会话模式创建会话连接的步骤。If the parameter information of the user accessed through the user channel satisfies a preset condition, the step of creating a session connection according to the protocol information and the session mode is executed.
在一实施例中,所述通过所述会话连接将所述会话信息发送至用户端的步骤之前,还包括:In one embodiment, before the step of sending the session information to the client through the session connection, it further includes:
获取管理端输入的管理操作,所述管理操作包括会话监控,会话插入以及会话拦截中的至少一个;Acquire management operations input by the management terminal, where the management operations include at least one of session monitoring, session insertion, and session interception;
根据所述管理端的管理操作管理会话信息。The session information is managed according to the management operation of the management terminal.
为实现上述目的,本发明还提供一种多渠道服务的接入装置,所述多渠道服务的接入装置包括:In order to achieve the above purpose, the present invention also provides an access device for multi-channel services, the access device for multi-channel services includes:
获取模块,用于接收到用户端发送的会话请求后,获取会话请求对应的用户渠道的接口信息,并根据所述接口信息获取对应的协议信息;The obtaining module is used to obtain the interface information of the user channel corresponding to the session request after receiving the session request sent by the client, and obtain corresponding protocol information according to the interface information;
确定模块,用于获取用户选择的会话模式;A determination module is used to obtain the session mode selected by the user;
创建模块,用于根据所述协议信息以及所述会话模式创建与所述用户端的会话连接;A creating module, configured to create a session connection with the client according to the protocol information and the session mode;
会话模块,用于获取会话信息,并通过所述会话连接将所述会话信息发送至用户端。The session module is used to obtain session information, and send the session information to the client through the session connection.
为实现上述目的,本发明还提供一种多渠道服务的接入设备,所述多渠道服务的接入设备包括存储器、处理器以及存储在所述存储器并可在所述处理器上执行的多渠道服务的接入程序,所述多渠道服务的接入程序被所述处理器执行时实现如上所述的多渠道服务的接入方法的各个步骤。To achieve the above object, the present invention also provides an access device for multi-channel services, the access device for multi-channel services includes a memory, a processor, and a multi-channel program stored in the memory and executable on the processor. A channel service access program, when the multi-channel service access program is executed by the processor, each step of the above-mentioned multi-channel service access method is implemented.
为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质存储有多渠道服务的接入程序,所述多渠道服务的接入程序被处理器执行时实现如上所述的多渠道服务的接入方法的各个步骤。In order to achieve the above object, the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores the access program of the multi-channel service, and when the access program of the multi-channel service is executed by the processor, the above Various steps of the multi-channel service access method.
本发明提供的一种多渠道服务的接入方法、装置、设备以及可读存储介质,接收到用户端发送的会话请求后,获取会话请求对应的用户渠道的接口信息,根据接口信息获取对应的协议信息;获取用户选择的会话模式;根据协议信息以及会话模式创建与用户端的会话连接;获取会话信息,并通过会话连接将会话信息发送至用户端。通过与不同用户渠道的用户端创建会话连接,实现了与接入的不同用户渠道进行会话交互,避免需要在用户渠道对应的平台进行操作的情况,实现不同用户渠道的会话的统一管理,提高了会话交互效率。The access method, device, equipment and readable storage medium of a multi-channel service provided by the present invention, after receiving the session request sent by the user terminal, obtain the interface information of the user channel corresponding to the session request, and obtain the corresponding interface information according to the interface information Protocol information; obtain the session mode selected by the user; create a session connection with the client according to the protocol information and session mode; obtain session information, and send the session information to the client through the session connection. By creating session connections with different user channels, session interaction with different user channels is realized, avoiding the need to operate on the platform corresponding to the user channel, realizing unified management of session sessions of different user channels, and improving Conversational interaction efficiency.
附图说明Description of drawings
图1为本发明实施例涉及的多渠道服务的接入设备的硬件结构示意图;FIG. 1 is a schematic diagram of a hardware structure of an access device for a multi-channel service according to an embodiment of the present invention;
图2为本发明多渠道服务的接入方法的第一实施例的流程示意图;FIG. 2 is a schematic flowchart of a first embodiment of a method for accessing a multi-channel service according to the present invention;
图3为本发明多渠道服务的接入方法的第二实施例的流程示意图;FIG. 3 is a schematic flowchart of a second embodiment of the method for accessing multi-channel services in the present invention;
图4为本发明多渠道服务的接入方法的第三实施例的流程示意图;FIG. 4 is a schematic flowchart of a third embodiment of a method for accessing a multi-channel service according to the present invention;
图5为本发明多渠道服务的接入装置的逻辑结构示意图。FIG. 5 is a schematic diagram of a logical structure of an access device for a multi-channel service according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
本发明实施例的主要解决方案是:接收到用户端发送的会话请求后,获取会话请求对应的用户渠道的接口信息,根据接口信息获取对应的协议信息;获取用户选择的会话模式;根据协议信息以及会话模式创建与用户端的会话连接;获取会话信息,并通过会话连接将会话信息发送至用户端。The main solution of the embodiment of the present invention is: after receiving the session request sent by the client, obtain the interface information of the user channel corresponding to the session request, and obtain the corresponding protocol information according to the interface information; obtain the session mode selected by the user; And the session mode creates a session connection with the client; obtains the session information, and sends the session information to the client through the session connection.
通过与不同用户渠道的用户端创建会话连接,实现了与接入的不同用户渠道进行会话交互,避免需要在用户渠道对应的平台进行操作的情况,实现不同用户渠道的会话的统一管理,提高了会话交互效率。By creating session connections with different user channels, session interaction with different user channels is realized, avoiding the need to operate on the platform corresponding to the user channel, realizing unified management of session sessions of different user channels, and improving Conversational interaction efficiency.
作为一种实现方案,多渠道服务的接入设备可以如图1所示。As an implementation solution, an access device for a multi-channel service may be as shown in FIG. 1 .
本发明实施例方案涉及的是多渠道服务的接入设备,多渠道服务的接入设备包括:处理器101,例如CPU,存储器102,通信总线103。其中,通信总线103用于实现这些组件之间的连接通信。The solution of the embodiment of the present invention relates to an access device for a multi-channel service, and the access device for a multi-channel service includes: a
存储器102可以是高速RAM存储器,也可以是稳定的存储器 (non-volatilememory),例如磁盘存储器。如图1所示,作为一种计算机可读存储介质的存储器102中可以包括多渠道服务的接入程序;而处理器101可以用于调用存储器102中存储的多渠道服务的接入程序,并执行以下操作:The
接收到用户端发送的会话请求后,获取会话请求对应的用户渠道的接口信息,并根据所述接口信息获取对应的协议信息;After receiving the session request sent by the client, acquire the interface information of the user channel corresponding to the session request, and acquire the corresponding protocol information according to the interface information;
获取用户选择的会话模式;Obtain the session mode selected by the user;
根据所述协议信息以及所述会话模式创建与所述用户端的会话连接;Create a session connection with the client according to the protocol information and the session mode;
获取会话信息,并通过所述会话连接将所述会话信息发送至用户端。Obtain session information, and send the session information to the client through the session connection.
在一实施例中,处理器101可以用于调用存储器102中存储的多渠道服务的接入程序,并执行以下操作:In an embodiment, the
检测到所述用户端离开所述会话连接,删除所述会话连接的路由信息以及接入的用户端的参数信息,生成所述用户端的离线日志。It is detected that the user end leaves the session connection, deletes the routing information of the session connection and the parameter information of the accessed user end, and generates an offline log of the user end.
在一实施例中,处理器101可以用于调用存储器102中存储的多渠道服务的接入程序,并执行以下操作:In an embodiment, the
若所述会话模式为人工会话时,获取用户的排队信息;If the conversation mode is a manual conversation, obtaining the queuing information of the user;
当所述排队信息满足预设的排队策略,则获取客服端的会话信息;When the queuing information satisfies the preset queuing policy, then obtain the session information of the customer service end;
根据所述客服端的会话信息生成预设格式的会话信息。Generate session information in a preset format according to the session information of the customer service terminal.
在一实施例中,处理器101可以用于调用存储器102中存储的多渠道服务的接入程序,并执行以下操作:In an embodiment, the
若所述会话模式为自助会话时,获取机器人自助回复的会话信息。If the conversation mode is a self-service conversation, obtain the conversation information of the robot self-reply.
在一实施例中,处理器101可以用于调用存储器102中存储的多渠道服务的接入程序,并执行以下操作:In an embodiment, the
确定当前会话连接的集群节点;Determine the cluster node to which the current session is connected;
将所述会话信息通过客服端的集群节点路由至用户端对应的所述集群节点,以使所述用户端对应的集群节点将所述会话信息发送至对应的用户端。Routing the session information to the cluster node corresponding to the client through the cluster node of the customer service terminal, so that the cluster node corresponding to the client sends the session information to the corresponding client.
在一实施例中,处理器101可以用于调用存储器102中存储的多渠道服务的接入程序,并执行以下操作:In an embodiment, the
判断所述用户渠道接入的用户端的参数信息是否满足预设条件,所述预设条件包括最大接入数限制、黑名单限制、渠道开关控制以及工作时间控制中的至少一个;Judging whether the parameter information of the user terminal accessed by the user channel satisfies a preset condition, and the preset condition includes at least one of a maximum number of access restrictions, a blacklist restriction, channel switch control, and working time control;
若所述用户渠道接入的用户的参数信息满足预设条件,则执行所述根据所述协议信息以及所述会话模式创建会话连接的步骤。If the parameter information of the user accessed through the user channel satisfies a preset condition, the step of creating a session connection according to the protocol information and the session mode is executed.
在一实施例中,处理器101可以用于调用存储器102中存储的多渠道服务的接入程序,并执行以下操作:In an embodiment, the
获取管理端输入的管理操作,所述管理操作包括会话监控,会话插入以及会话拦截中的至少一个;Acquire management operations input by the management terminal, where the management operations include at least one of session monitoring, session insertion, and session interception;
根据所述管理端的管理操作管理会话信息。The session information is managed according to the management operation of the management terminal.
基于上述多渠道服务的接入设备的硬件构架,提出本发明多渠道服务的接入方法的实施例。Based on the above hardware architecture of the access device for multi-channel service, an embodiment of the method for accessing multi-channel service of the present invention is proposed.
参照图2,图2为本发明多渠道服务的接入方法的第一实施例,所述多渠道服务的接入方法包括以下步骤:Referring to FIG. 2 , FIG. 2 is a first embodiment of a method for accessing multi-channel services of the present invention, and the method for accessing multi-channel services includes the following steps:
步骤S10,接收到用户端发送的会话请求后,获取会话请求对应的用户渠道的接口信息,并根据所述接口信息获取对应的协议信息。Step S10, after receiving the session request sent by the client, acquire the interface information of the user channel corresponding to the session request, and acquire the corresponding protocol information according to the interface information.
具体的,接收到用户端发送的会话请求后,获取会话请求对应的用户渠道的接口信息,其中,用户渠道包括微信、微博以及邮件等渠道;用户渠道的接口信息可以是HTTP接口、MQ Message接口或者Web service接口等接口信息,根据接口信息获取对应的通讯协议信息。Specifically, after receiving the session request sent by the client, the interface information of the user channel corresponding to the session request is obtained, wherein the user channel includes channels such as WeChat, Weibo, and email; the interface information of the user channel can be HTTP interface, MQ Message Interface information such as an interface or a Web service interface, and obtain corresponding communication protocol information according to the interface information.
步骤S20,获取用户选择的会话模式。Step S20, acquiring the conversation mode selected by the user.
具体的,用户可以选择自由切换的会话模式包括自助模式和人工模式。在自助模式下,通过调用调用智能机器人HTTP接口进行对话交互,以使得智能机器人与用户端进行多轮对话交互。在人工模式下,需要向融合路由申请人工客服,融合路由按照排队策略、路由策略分配最合适客服端,分配的客户端用于服务发起会话请求的用户。Specifically, the conversation mode that the user can choose to switch freely includes a self-service mode and a manual mode. In the self-service mode, the dialogue interaction is performed by invoking the HTTP interface of the intelligent robot, so that the intelligent robot can perform multiple rounds of dialogue interaction with the client. In the manual mode, you need to apply for manual customer service from the integrated routing. The integrated routing allocates the most suitable customer service terminal according to the queuing policy and routing policy, and the allocated client is used to serve the user who initiates the session request.
步骤S30,根据所述协议信息以及所述会话模式创建与所述用户端的会话连接。Step S30, creating a session connection with the client according to the protocol information and the session mode.
具体的,根据接口的协议信息以及会话模式创建与用户端的会话连接,示例性的,在人工模式下,会话连接用于连接客户端与用户端。Specifically, a session connection with the client is created according to the protocol information of the interface and the session mode. Exemplarily, in the manual mode, the session connection is used to connect the client and the client.
步骤S40,获取会话信息,并通过所述会话连接将所述会话信息发送至用户端。Step S40, acquiring session information, and sending the session information to the client through the session connection.
具体的,若会话模式为人工会话时,获取用户的排队信息;当排队信息满足预设的排队策略,则获取客服端的会话信息;排队策略可以根据工作负荷最小优先、应答次数最少优先以及最长等待时间优先等策略分配客服端,也可以按实际业务场景分配客服端,示例性的,分别根据售前、售中以及售后分配客服端。根据客服端的会话信息生成预设格式的会话信息。其中,预设格式的会话信息是抽取渠道共性,不同渠道支持的消息交互类型会渠道适配,将会话消息封装成统一消息类型,预设格式的会话信息可以是文本消息、表情消息、图片消息、文件消息等消息类型。预设格式的会话信息使得会话信息在整个系统中全局流转,并可以按照统一规则解析展示会话信息。通过会话连接将会话信息发送至用户端,可以确定当前会话连接的集群节点;将会话信息通过客服端的集群节点路由至用户端对应的集群节点,以使集群节点将会话信息发送至对应的用户端。Specifically, if the session mode is a manual session, the user's queuing information is obtained; when the queuing information meets the preset queuing policy, the session information of the customer service terminal is obtained; the queuing policy can be based on the minimum workload priority, the least number of responses priority and the longest Waiting time priority and other strategies are used to allocate customer service terminals, and customer service terminals can also be allocated according to actual business scenarios. For example, customer service terminals are allocated according to pre-sales, sales, and after-sales. Generate session information in a preset format according to the session information of the customer service terminal. Among them, the session information in the preset format is to extract the commonality of the channels. The message interaction types supported by different channels will be adapted to the channel, and the session messages will be packaged into a unified message type. The session information in the preset format can be text messages, emoticon messages, and picture messages. , file messages and other message types. The session information in the preset format allows the session information to flow globally in the entire system, and can analyze and display the session information according to uniform rules. The session information is sent to the client through the session connection, and the cluster node connected to the current session can be determined; the session information is routed to the corresponding cluster node of the client through the cluster node of the client, so that the cluster node sends the session information to the corresponding client .
若所述会话模式为自助会话时,调用智能机器人HTTP接口交互,并获取智能机器人回复的会话信息。If the conversation mode is a self-service conversation, call the intelligent robot HTTP interface for interaction, and obtain the conversation information replied by the intelligent robot.
检测到用户端离开会话连接,删除会话连接的路由信息以及接入的用户端的参数信息,生成用户端的离线日志。其中,离线日志可以是将客服端和用户端双向发送的消息通过数据总线异步记录的消息日志,也可以是智能机器人与用户端双向发送的消息通过数据总线异步记录的消息日志。It detects that the user end leaves the session connection, deletes the routing information of the session connection and the parameter information of the connected user end, and generates an offline log of the user end. Wherein, the offline log can be a message log that asynchronously records the bidirectional messages sent by the customer service terminal and the user terminal through the data bus, or can be a message log that asynchronously records the bidirectional messages sent by the intelligent robot and the user terminal via the data bus.
在本实施例的技术方案中,接收到用户端发送的会话请求后,获取会话请求对应的用户渠道的接口信息,根据接口信息获取对应的协议信息;获取用户选择的会话模式;根据协议信息以及会话模式创建与用户端的会话连接;获取会话信息,并通过会话连接将会话信息发送至用户端。通过与不同用户渠道的用户端创建会话连接,实现了与接入的不同用户渠道进行会话交互,避免需要在用户渠道对应的平台进行操作的情况,实现不同用户渠道的会话的统一管理,提高了会话交互效率。In the technical solution of this embodiment, after receiving the session request sent by the client, the interface information of the user channel corresponding to the session request is obtained, and the corresponding protocol information is obtained according to the interface information; the session mode selected by the user is obtained; according to the protocol information and Session mode creates a session connection with the client; obtains session information and sends the session information to the client through the session connection. By creating session connections with different user channels, session interaction with different user channels is realized, avoiding the need to operate on the platform corresponding to the user channel, realizing unified management of session sessions of different user channels, and improving Conversational interaction efficiency.
参照图3,图3为本发明多渠道服务的接入方法的第二实施例,基于第一实施例,所述步骤S30之前,还包括:Referring to Fig. 3, Fig. 3 is the second embodiment of the access method of the multi-channel service of the present invention, based on the first embodiment, before the step S30, it also includes:
步骤S40,判断所述用户渠道接入的用户端的参数信息是否满足预设条件,所述预设条件包括最大接入数限制、黑名单限制、渠道开关控制以及工作时间控制中的至少一个;Step S40, judging whether the parameter information of the user terminal accessed by the user channel satisfies a preset condition, and the preset condition includes at least one of the maximum number of access restrictions, blacklist restrictions, channel switch control, and working time control;
步骤S50,若所述用户渠道接入的用户的参数信息满足预设条件,则执行所述根据所述协议信息以及所述会话模式创建会话连接的步骤。Step S50, if the parameter information of the user accessed through the user channel satisfies a preset condition, execute the step of creating a session connection according to the protocol information and the session mode.
具体的,判断用户渠道接入的用户端的参数信息,其中,参数信息包括用户的唯一标识、运营渠道的标识以及消息类型等。Specifically, determine the parameter information of the user terminal accessed through the user channel, where the parameter information includes the unique identifier of the user, the identifier of the operation channel, and the message type.
判断所述用户渠道接入的用户端的参数信息是否满足预设条件,首先判断服务器当前接入的用户端数量是否达到最大接入数限制,若大于最大接入数限制,则不允许用户端接入,输出提醒“当前接入用户过多,请稍后再试!”。当接入的用户端的数量小于最大接入数限制时,判断待接入的用户端是否为黑名单限制,若是待接入的用户端在黑名单限制中,则提醒当前用户端“系统故障,请联系管理员!”。当待接入的用户端为正常用户,判断渠道开关控制中当前用户端对应的用户渠道是否被设置关闭,若当前用户端对应的用户渠道已关闭,提醒当前客户“当前渠道人工客户服务暂时关闭,请通过自助服务尝试解决问题,如需人工客服请通过其他渠道联系!”。若当前用户端对应的用户渠道未关闭,则在工作时间控制中判断当前时间是否是工作时间,如果不属于工作时间则提醒当前客户“当前非工作时间,请稍后再试!”如当前时间为工作时间,则根据协议信息以及会话模式创建会话连接。Judging whether the parameter information of the client terminal accessed by the user channel satisfies the preset condition, first of all, it is judged whether the number of client terminals currently accessed by the server reaches the maximum access limit, and if it is greater than the maximum access limit, the user terminal is not allowed to connect input, and the output prompts "there are too many users currently connected, please try again later!". When the number of connected clients is less than the maximum access limit, it is judged whether the client to be connected is restricted by the blacklist. Please contact the administrator!". When the user terminal to be accessed is a normal user, judge whether the user channel corresponding to the current user terminal is set to be closed in the channel switch control, if the user channel corresponding to the current user terminal is closed, remind the current customer that "the manual customer service of the current channel is temporarily closed , please try to solve the problem through self-service, if you need manual customer service, please contact through other channels!". If the user channel corresponding to the current client is not closed, then judge whether the current time is a working time in the working time control, and if it is not a working time, remind the current customer "Currently non-working time, please try again later!" Such as the current time If it is working time, create a session connection according to the protocol information and session mode.
判断所述用户渠道接入的用户端的参数信息是否满足预设条件,也可以分别根据最大接入数限制、黑名单限制、渠道开关控制以及工作时间控制等进行对用户渠道接入的用户的参数信息进行筛选,在分别满足最大接入数限制、黑名单限制、渠道开关控制以及工作时间控制等条件之后,根据协议信息以及会话模式创建会话连接。服务器支持智能检测用户端与客服端双向发送的消息内容。Judging whether the parameter information of the user terminal accessed through the user channel satisfies the preset conditions, or according to the maximum number of access restrictions, blacklist restrictions, channel switch control, and working time control, etc. Information is screened, and a session connection is created according to the protocol information and session mode after meeting the conditions of the maximum access limit, blacklist limit, channel switch control, and working time control. The server supports intelligent detection of the content of messages sent in both directions between the client and the customer service.
在本实施例的技术方案中,判断用户渠道接入的用户端的参数信息是否满足预设条件,若用户渠道接入的用户的参数信息满足预设条件,则根据协议信息以及会话模式创建会话连接。在用户端的参数信息满足预设条件后创建会话连接,避免了用户端不符合会话条件还创建会话连接的情况,提高了会话创建效率。In the technical solution of this embodiment, it is judged whether the parameter information of the user terminal accessed by the user channel satisfies the preset condition, and if the parameter information of the user accessed by the user channel satisfies the preset condition, a session connection is created according to the protocol information and the session mode . The session connection is created after the parameter information of the user end satisfies the preset condition, which avoids the situation that the user end does not meet the session condition and still creates the session connection, and improves the session creation efficiency.
参照图4,图4为本发明多渠道服务的接入方法的第三实施例,基于第一或第二实施例,所述步骤S40之前,还包括:Referring to FIG. 4, FIG. 4 is a third embodiment of the multi-channel service access method of the present invention. Based on the first or second embodiment, before the step S40, it also includes:
步骤S60,获取管理端输入的管理操作,所述管理操作包括会话监控,会话插入以及会话拦截中的至少一个;Step S60, acquiring management operations input by the management terminal, where the management operations include at least one of session monitoring, session insertion and session interception;
步骤S70,根据所述管理端的管理操作管理会话信息。Step S70, managing session information according to the management operation of the management terminal.
具体的,管理端支持对会话监听、会话插入以及会话拦截等操作,使得管理端的管理员可以实时干预当前会话。在会话监控操作下,用户端发送的全部消息都会同时路由至管理员侧并展示,客服端发送的全部消息也会同时路由至管理员侧并展示,但管理员无法发送消息,只能接收、查看消息。在会话插入操作下,用户端发送的全部消息都会同时路由至管理员侧并展示,客服端发送的全部消息也会同时路由至管理员侧并展示,管理员也支持发送消息,管理员发送的消息会同时路由至客户和座席并展示。在会话拦截操作下,用户端发送的全部消息都会同时路由至管理员侧并展示,客服端只能够接受消息并展示,无法发送消息,管理员支持接受用户端发送的消息,也支持向用户端发送消息,管理员发送的消息同时会路由至客服端并展示。Specifically, the management terminal supports operations such as session monitoring, session insertion, and session interception, so that the administrator of the management terminal can intervene in the current session in real time. Under the session monitoring operation, all messages sent by the user end will be routed to the administrator side and displayed at the same time, and all messages sent by the customer service end will also be routed to the administrator side and displayed at the same time, but the administrator cannot send messages, only receive, View messages. Under the session insertion operation, all messages sent by the user end will be routed to the administrator side and displayed at the same time, and all messages sent by the customer service end will also be routed to the administrator side and displayed at the same time. The administrator also supports sending messages. Messages are routed and displayed to both customers and agents. Under the session interception operation, all messages sent by the user end will be routed to the administrator side and displayed at the same time. The customer service end can only accept messages and display them, but cannot send messages. The administrator supports accepting messages sent by the user end, and also supports sending messages to the user end. Send a message, and the message sent by the administrator will be routed to the customer service terminal and displayed at the same time.
在本实施例的技术方案中,获取管理端输入的管理操作;根据管理端的管理操作管理会话信息。通过管理端对会话的管理操作,对会话进行监控或者纠正,提升了对用户端的服务水平,保证用户端的会话体验。In the technical solution of this embodiment, the management operation input by the management terminal is acquired; and the session information is managed according to the management operation of the management terminal. Through the session management operation of the management terminal, the session is monitored or corrected, the service level for the user terminal is improved, and the session experience of the user terminal is guaranteed.
参考图5,本发明还提供一种多渠道服务的接入装置,所述多渠道服务的接入装置包括:Referring to FIG. 5, the present invention also provides an access device for multi-channel services, the access device for multi-channel services includes:
获取模块100,用于接收到用户端发送的会话请求后,获取会话请求对应的用户渠道的接口信息,并根据所述接口信息获取对应的协议信息;The obtaining
确定模块200,用于获取用户选择的会话模式;A
创建模块300,用于根据所述协议信息以及所述会话模式创建与所述用户端的会话连接;A creating
会话模块400,用于获取会话信息,并通过所述会话连接将所述会话信息发送至用户端。The
在一实施例中,在获取会话信息,并通过所述会话连接将所述会话信息发送至用户端方面,所述会话模块400具体用于:In an embodiment, in obtaining session information and sending the session information to the client through the session connection, the
检测到所述用户端离开所述会话连接,删除所述会话连接的路由信息以及接入的用户端的参数信息,生成所述用户端的离线日志。It is detected that the user end leaves the session connection, deletes the routing information of the session connection and the parameter information of the accessed user end, and generates an offline log of the user end.
在一实施例中,在获取会话信息方面,所述会话模块400具体用于:In an embodiment, in terms of obtaining session information, the
若所述会话模式为人工会话时,获取用户的排队信息;If the conversation mode is a manual conversation, obtaining the queuing information of the user;
当所述排队信息满足预设的排队策略,则获取客服端的会话信息;When the queuing information satisfies the preset queuing policy, then obtain the session information of the customer service end;
根据所述客服端的会话信息生成预设格式的会话信息。Generate session information in a preset format according to the session information of the customer service terminal.
在一实施例中,在获取会话信息方面,所述会话模块400具体用于:In an embodiment, in terms of obtaining session information, the
若所述会话模式为自助会话时,获取机器人自助回复的会话信息。If the conversation mode is a self-service conversation, obtain the conversation information of the robot self-reply.
在一实施例中,在通过所述会话连接将所述会话信息发送至用户方面,所述会话模块400具体用于:In an embodiment, in terms of sending the session information to the user through the session connection, the
确定当前会话连接的集群节点;Determine the cluster node to which the current session is connected;
将所述会话信息通过客服端的集群节点路由至用户端对应的所述集群节点,以使所述用户端对应的集群节点将所述会话信息发送至对应的用户端。Routing the session information to the cluster node corresponding to the client through the cluster node of the customer service terminal, so that the cluster node corresponding to the client sends the session information to the corresponding client.
在一实施例中,在根据所述协议信息以及所述会话模式创建会话连接的方面,所述创建模块300具体用于:In an embodiment, in terms of creating a session connection according to the protocol information and the session mode, the
判断所述用户渠道接入的用户端的参数信息是否满足预设条件,所述预设条件包括最大接入数限制、黑名单限制、渠道开关控制以及工作时间控制中的至少一个;Judging whether the parameter information of the user terminal accessed by the user channel satisfies a preset condition, and the preset condition includes at least one of a maximum number of access restrictions, a blacklist restriction, channel switch control, and working time control;
若所述用户渠道接入的用户的参数信息满足预设条件,则执行所述根据所述协议信息以及所述会话模式创建会话连接的步骤。If the parameter information of the user accessed through the user channel satisfies a preset condition, the step of creating a session connection according to the protocol information and the session mode is executed.
在一实施例中,在通过所述会话连接将所述会话信息发送至用户端方面,所述会话模块400具体用于:In an embodiment, in terms of sending the session information to the client through the session connection, the
获取管理端输入的管理操作,所述管理操作包括会话监控,会话插入以及会话拦截中的至少一个;Acquire management operations input by the management terminal, where the management operations include at least one of session monitoring, session insertion, and session interception;
根据所述管理端的管理操作管理会话信息。The session information is managed according to the management operation of the management terminal.
本发明还提供一种多渠道服务的接入设备,所述多渠道服务的接入设备包括存储器、处理器以及存储在所述存储器并可在所述处理器上执行的多渠道服务的接入程序,所述多渠道服务的接入程序被所述处理器执行时实现如上实施例所述的多渠道服务的接入方法的各个步骤。The present invention also provides an access device for multi-channel services. The access device for multi-channel services includes a memory, a processor, and a multi-channel service access device stored in the memory and executable on the processor. When the multi-channel service access program is executed by the processor, each step of the multi-channel service access method described in the above embodiment is implemented.
本发明还提供一种计算机可读存储介质,所述计算机可读存储介质存储有多渠道服务的接入程序,所述多渠道服务的接入程序被处理器执行时实现如上实施例所述的多渠道服务的接入方法的各个步骤。The present invention also provides a computer-readable storage medium, where the computer-readable storage medium stores an access program for multi-channel services, and when the access program for multi-channel services is executed by a processor, the above-mentioned embodiment Each step of the access method of the multi-channel service.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、系统、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、系统、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、系统、物品或者装置中还存在另外的相同要素。It should be noted that, as used herein, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, system, article or device comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in such a process, system, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, system, article or device comprising the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例系统可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个计算机可读存储介质(如 ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,停车管理设备,空调器,或者网络设备等)执行本发明各个实施例所述的系统。Through the description of the above embodiments, those skilled in the art can clearly understand that the system of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, of course, it can also be realized by hardware, but in many cases the former is better implementation. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a computer-readable storage medium as described above (such as ROM/RAM, magnetic disk, optical disk), including several instructions to make a terminal device (which can be a mobile phone, a computer, a parking management device, an air conditioner, or a network device, etc.) execute the system described in each embodiment of the present invention .
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process conversion made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields , are all included in the scope of patent protection of the present invention in the same way.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110628458.1A CN115460165A (en) | 2021-06-07 | 2021-06-07 | Multi-channel service access method, device, equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110628458.1A CN115460165A (en) | 2021-06-07 | 2021-06-07 | Multi-channel service access method, device, equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115460165A true CN115460165A (en) | 2022-12-09 |
Family
ID=84294960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110628458.1A Pending CN115460165A (en) | 2021-06-07 | 2021-06-07 | Multi-channel service access method, device, equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115460165A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118972432A (en) * | 2024-10-21 | 2024-11-15 | 太平金融科技服务(上海)有限公司 | A method, device, equipment and medium for processing session services |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106060107A (en) * | 2016-05-05 | 2016-10-26 | 北京思特奇信息技术股份有限公司 | Multi-channel service request uniform accessing method and system |
CN106685795A (en) * | 2015-11-10 | 2017-05-17 | 深圳市云软信息技术有限公司 | Multichannel instant messaging system and session method |
CN108063766A (en) * | 2017-12-19 | 2018-05-22 | 甜新科技(上海)有限公司 | A kind of communication means and system of more client's channel incorporation service platforms |
CN209233910U (en) * | 2019-01-15 | 2019-08-09 | 华戎信息产业有限公司 | A kind of a variety of access channel devices in call center |
CN110740217A (en) * | 2019-09-12 | 2020-01-31 | 平安科技(深圳)有限公司 | multi-channel data integration interaction method, device, equipment and storage medium |
CN110995944A (en) * | 2019-12-19 | 2020-04-10 | 易谷网络科技股份有限公司 | Customer service seat recommendation method and device, customer service equipment and storage medium |
CN112153226A (en) * | 2020-09-27 | 2020-12-29 | 中国建设银行股份有限公司 | Customer service virtualization unified access system, method and device and electronic equipment |
-
2021
- 2021-06-07 CN CN202110628458.1A patent/CN115460165A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106685795A (en) * | 2015-11-10 | 2017-05-17 | 深圳市云软信息技术有限公司 | Multichannel instant messaging system and session method |
CN106060107A (en) * | 2016-05-05 | 2016-10-26 | 北京思特奇信息技术股份有限公司 | Multi-channel service request uniform accessing method and system |
CN108063766A (en) * | 2017-12-19 | 2018-05-22 | 甜新科技(上海)有限公司 | A kind of communication means and system of more client's channel incorporation service platforms |
CN209233910U (en) * | 2019-01-15 | 2019-08-09 | 华戎信息产业有限公司 | A kind of a variety of access channel devices in call center |
CN110740217A (en) * | 2019-09-12 | 2020-01-31 | 平安科技(深圳)有限公司 | multi-channel data integration interaction method, device, equipment and storage medium |
CN110995944A (en) * | 2019-12-19 | 2020-04-10 | 易谷网络科技股份有限公司 | Customer service seat recommendation method and device, customer service equipment and storage medium |
CN112153226A (en) * | 2020-09-27 | 2020-12-29 | 中国建设银行股份有限公司 | Customer service virtualization unified access system, method and device and electronic equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118972432A (en) * | 2024-10-21 | 2024-11-15 | 太平金融科技服务(上海)有限公司 | A method, device, equipment and medium for processing session services |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7941495B2 (en) | Management capabilities for real-time messaging networks | |
US8190705B2 (en) | Communication capability coupons | |
CN104253686B (en) | Method, equipment and the system that account logs in | |
CN108476165B (en) | An information interaction method, client and device | |
US9282157B2 (en) | Intermediary API for providing presence data to requesting clients | |
CN110430205B (en) | Single sign-on method, device, equipment and computer readable storage medium | |
CN111010527B (en) | Method and related device for establishing video call through short message link | |
US9961125B2 (en) | Messaging API over HTTP protocol to establish context for data exchange | |
CN107979520B (en) | Message processing method and message processing device | |
EP1463250A2 (en) | Instant messaging to service bureau | |
AU2004254997A1 (en) | Context sensitive transfer with active listening and active alerts | |
CN106357609A (en) | User creation method and system, public network server and private cloud equipment | |
US8559616B2 (en) | Method and system for controlling establishment of communication channels in a contact center | |
CN107800901A (en) | User's call processing method, device, computer equipment and storage medium | |
CN113727288B (en) | Silence customer service robot based on 5G message | |
CN115460165A (en) | Multi-channel service access method, device, equipment and readable storage medium | |
CN117135580A (en) | 5G message universal access system and method | |
US10757259B1 (en) | Custom calling using a messaging system | |
US12034885B2 (en) | Method for processing a request from a communication terminal | |
CN108076119B (en) | A kind of pre-service processing method and system | |
KR102598919B1 (en) | Method and apparatus for providing counseling service | |
US8645547B1 (en) | Methods and systems for providing a messaging service | |
Gao et al. | A study on jabber-based instant messaging system for mobile networks | |
WO2025017639A1 (en) | System and method for managing instant click-to-call service | |
CN114513761A (en) | Message interaction method, system, terminal device and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20221209 |