CN113590785A - Message reply method and device, electronic equipment and storage medium - Google Patents

Message reply method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113590785A
CN113590785A CN202110866714.0A CN202110866714A CN113590785A CN 113590785 A CN113590785 A CN 113590785A CN 202110866714 A CN202110866714 A CN 202110866714A CN 113590785 A CN113590785 A CN 113590785A
Authority
CN
China
Prior art keywords
message
current user
reply
message processing
processing equipment
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
Application number
CN202110866714.0A
Other languages
Chinese (zh)
Inventor
李金华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Original Assignee
Baidu Online Network Technology Beijing Co Ltd
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 Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Priority to CN202110866714.0A priority Critical patent/CN113590785A/en
Publication of CN113590785A publication Critical patent/CN113590785A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/335Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/01Customer relationship services

Abstract

The disclosure provides a message reply method, a message reply device, electronic equipment and a storage medium, and relates to the field of artificial intelligence, in particular to the field of cloud mobile phone customer service. The specific implementation scheme is as follows: the message routing equipment acquires a message which is sent by the customer service equipment and replied to the current user; searching the message processing equipment corresponding to the current user in the registration center based on the corresponding relation between the predetermined message processing equipment and the user; if the message processing equipment corresponding to the current user is found in the registration center, the message replied to the current user is sent to the message processing equipment corresponding to the current user, so that the message processing equipment corresponding to the current user forwards the message replied to the current user. By adopting the technical scheme provided by the disclosure, the reply message does not need to be sent by the customer service equipment in a group manner, the forwarding efficiency of the message processing equipment can be obviously improved, the network resource can be saved, and the network communication overhead can be reduced.

Description

Message reply method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of artificial intelligence, and further relates to the field of cloud mobile phone customer service, in particular to a message reply method, a message reply device, electronic equipment and a storage medium.
Background
In the cloud mobile phone customer service system, an interaction process between a user and customer service equipment may include: the method comprises a process of sending a request to a customer service system by a user and a process of replying a message to the user by customer service equipment. Specifically, in the process of sending a request to the customer service device by a user, the message processing device may first receive a request message sent by the current user; then the message processing device sends the request message to a pre-constructed message queue, so that the customer service device can acquire the request message in the message queue. In the process that the customer service equipment replies the message to the user, the customer service equipment can firstly send the message replied to the current user to the message queue, and send the reply message replied to the current user to each message processing equipment in a group through the message queue; when each message processing device receives the reply message, the identifier of the current user needs to be extracted from the reply message; then matching the identification of the current user with the identification of each user connected in advance; if the identification of the current user is successfully matched with the identification of one user, forwarding the reply message to the one user; and if the identification of the current user is not successfully matched with the identification of each user, discarding the reply message.
Disclosure of Invention
The disclosure provides a message reply method, a message reply device, electronic equipment and a storage medium.
In a first aspect, the present disclosure provides a message reply method, applied to a message routing device, where the method includes:
acquiring a message which is sent by customer service equipment and replied to a current user;
searching the message processing equipment corresponding to the current user in a registration center based on the corresponding relation between the predetermined message processing equipment and the user;
if the message processing equipment corresponding to the current user is found in the registration center, sending the message replied to the current user to the message processing equipment corresponding to the current user, so that the message processing equipment corresponding to the current user forwards the message replied to the current user.
In a second aspect, the present disclosure further provides a message reply method applied to a message processing device, where the method includes:
receiving a message sent by the message routing equipment and replied to the current user;
extracting the identification of the current user from the message replied to the current user;
and forwarding the message replied to the current user based on the identification of the current user.
In a third aspect, the present disclosure also provides a message replying apparatus, including:
the acquisition module is used for acquiring a message which is sent by the customer service equipment and replied to the current user;
the searching module is used for searching the message processing equipment corresponding to the current user in the registration center based on the predetermined corresponding relation between the message processing equipment and the user;
and the sending module is used for sending the message replied to the current user to the message processing equipment corresponding to the current user if the message processing equipment corresponding to the current user is found in the registration center, so that the message processing equipment corresponding to the current user forwards the message replied to the current user.
In a fourth aspect, the present disclosure also provides a message reply apparatus, including:
the receiving module is used for receiving the message which is sent by the message routing equipment and replied to the current user;
the extracting module is used for extracting the identification of the current user from the message replied to the current user;
and the forwarding module is used for forwarding the message replied to the current user based on the identification of the current user.
In a fifth aspect, an embodiment of the present disclosure provides an electronic device, including:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the message reply method of any embodiment of the present disclosure.
In a sixth aspect, the embodiments of the present disclosure provide a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the message reply method according to any embodiment of the present disclosure.
In a seventh aspect, a computer program product is provided, which when executed by a computer device implements the message reply method according to any embodiment of the present disclosure.
According to the technical scheme provided by the disclosure, the technical problems that in the prior art, the forwarding efficiency of the message processing equipment is low, network resources are seriously wasted and the network communication overhead is increased because the customer service equipment needs to send the reply message replied to each user to each message processing equipment in a group mode are solved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a first flowchart of a message reply method according to an embodiment of the present disclosure;
fig. 2 is a second flowchart of a message reply method according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a third flow of a message reply method according to an embodiment of the present disclosure;
fig. 4 is a fourth flowchart illustrating a message reply method according to an embodiment of the disclosure;
FIG. 5 is an architectural diagram of a customer service system provided by an embodiment of the disclosure;
fig. 6 is a schematic diagram of a first structure of a message reply device according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a second structure of a message reply device according to an embodiment of the present disclosure;
fig. 8 is a block diagram of an electronic device for implementing a message reply method according to an embodiment of the present disclosure.
Detailed Description
By adopting the existing message reply mode, the customer service equipment needs to send the reply message corresponding to each user to each message processing equipment in a group, so that the forwarding efficiency of the message processing equipment is inevitably low, network resources are seriously wasted, and the network communication overhead is increased.
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Example one
Fig. 1 is a flowchart of a message reply method provided by an embodiment of the present disclosure, where the method may be performed by a message reply apparatus or a message routing device, where the apparatus or the message routing device may be implemented by software and/or hardware, and the apparatus or the electronic device may be integrated in any intelligent device with a network communication function. As shown in fig. 1, the message reply method may include the steps of:
s101, obtaining a message sent by the customer service equipment and replied to the current user.
In this step, the message routing device may obtain the message sent by the customer service device and replied to the current user. Specifically, the message routing device may monitor a reply message sent by the customer service device in the message queue; if the message routing equipment monitors at least one reply message sent by the customer service equipment in the message queue, one reply message is extracted from the at least one reply message and used as a message replied to the current user. The method can buffer the reply message sent by the customer service equipment through the message queue, and relieve the distribution and processing pressure of the message routing equipment. Preferably, the electronic device may extract any one reply message from the at least one reply message, and use any one reply message as a message to reply to the current user; or, the electronic device may further extract one reply message from the at least one reply message as a message to be replied to the current user based on a predetermined topic corresponding to each reply message in the at least one reply message. The extraction mode based on the theme can obviously shorten the query time and improve the query efficiency. For example, suppose that the customer service device sends three reply messages in the message queue, which are: reply message 1, reply message 2, and reply message 3; wherein, the reply message 1 is a message which is replied to the user 1 by the customer service equipment; the reply message 2 is a message which is replied to the user 2 by the customer service equipment; the reply message 3 is a message that the customer service device replies to the user 3. At this time, the message routing device may extract one reply message from the three reply messages as a message to reply to the current user. Assuming that the message routing device extracts the reply message 1, so that the user 1 is the current user, the message routing device only needs to send the reply message 1 to the message processing device corresponding to the user 1, and does not need to send the reply message 1 to each message processing device in a group.
S102, searching the information processing equipment corresponding to the current user in the registration center based on the predetermined corresponding relation between the information processing equipment and the user.
In this step, based on the predetermined correspondence between the message processing device and the user, the message routing device may search for the message processing device corresponding to the current user in the registry. Specifically, the message routing device may send a query request to the registry, so that the registry searches for the message processing device corresponding to the current user based on a predetermined correspondence between the message processing device and the user; wherein, the query request comprises the identification of the current user; then receiving a query result returned by the registration center; wherein, the query result comprises: and finding the message processing equipment corresponding to the current user and not finding the message processing equipment corresponding to the current user.
S103, if the message processing equipment corresponding to the current user is found in the registration center, sending the message replied to the current user to the message processing equipment corresponding to the current user, and enabling the message processing equipment corresponding to the current user to forward the message replied to the current user.
In this step, if the message routing device finds the message processing device corresponding to the current user in the registry, the message routing device may send the message replied to the current user to the message processing device corresponding to the current user, so that the message processing device corresponding to the current user forwards the message replied to the current user. For example, after the message routing device acquires the reply message 1, the message routing device may send an inquiry request to the registry, so that the registry searches for the message processing device corresponding to the user 1 based on a predetermined correspondence between the message processing device and the user; wherein, the query request includes the identifier of the user 1; and then receiving a query result returned by the registry. If the message routing device finds the message processing device corresponding to the user 1 in the registration center, the reply message 1 is sent to the message processing device corresponding to the user 1, so that the message processing device corresponding to the user 1 forwards the reply message 1 to the user 1.
In the message reply method provided by the embodiment of the disclosure, the message routing device firstly acquires the message which is sent by the customer service device and replied to the current user; then based on the corresponding relation between the predetermined message processing equipment and the user, searching the message processing equipment corresponding to the current user in the registration center; if the message processing equipment corresponding to the current user is found in the registration center, the message replied to the current user is sent to the message processing equipment corresponding to the current user, so that the message processing equipment corresponding to the current user forwards the message replied to the current user. That is to say, the present disclosure may accurately find the message processing device corresponding to the current user through the message routing device, so that only the message replied to the current user needs to be sent to the message processing device corresponding to the current user, and the message replied to the current user does not need to be sent to each message processing device. In the existing message reply method, the customer service device needs to send the reply message corresponding to each user to each message processing device in a group. Because the technical means that the message routing equipment searches the message processing equipment corresponding to the current user in the registration center is adopted, the technical problems that in the prior art, the forwarding efficiency of the message processing equipment is low, network resources are seriously wasted and the network communication overhead is increased because the customer service equipment needs to send the reply message replied to each user to each message processing equipment in a group mode are solved. According to the technical scheme provided by the disclosure, the reply message does not need to be sent by the customer service equipment in a group manner, the forwarding efficiency of the message processing equipment can be obviously improved, the network resources can be saved, and the network communication overhead can be reduced; moreover, the technical scheme of the embodiment of the disclosure is simple and convenient to implement, convenient to popularize and wide in application range.
Example two
Fig. 2 is a second flowchart of a message reply method according to an embodiment of the present disclosure. Further optimization and expansion are performed based on the technical scheme, and the method can be combined with the various optional embodiments. As shown in fig. 2, the message reply method may include the steps of:
s201, obtaining a message sent by the customer service equipment and replied to the current user.
S202, sending a query request to a registry, and enabling the registry to search the message processing equipment corresponding to the current user based on the corresponding relation between the predetermined message processing equipment and the user; wherein, the query request includes the identification of the current user.
In this step, the message routing device may send a query request to the registry; after receiving a query request sent by message routing equipment, the registry searches message processing equipment corresponding to the current user based on the corresponding relation between the predetermined message processing equipment and the user; wherein, the query request includes the identification of the current user. For example, after acquiring the message replied to the user 1 by the customer service device, the message routing device may send an inquiry request to the registry; after receiving the query request, the registry searches the message processing equipment corresponding to the user 1 based on the predetermined corresponding relationship between the message processing equipment and the user; wherein, the query request includes the identifier of the user 1.
S203, receiving a query result returned by the registration center; wherein, the query result comprises: and finding the message processing equipment corresponding to the current user and not finding the message processing equipment corresponding to the current user.
In this step, the message routing device may receive a query result returned by the registry; wherein, the query result comprises: and finding the message processing equipment corresponding to the current user and not finding the message processing equipment corresponding to the current user. For example, after receiving an inquiry request including the identifier of the user 1 sent by the message routing device, the registry searches for the message processing device corresponding to the user 1 based on the predetermined correspondence between the message processing device and the user; assuming that the registry finds the message processing device corresponding to the user 1, the registry may return an inquiry result to the message routing device, indicating that the message processing device corresponding to the user 1 has been found. If the registration center does not find the message processing device corresponding to the user 1, the registration center may also return an inquiry result to the message routing device, indicating that the message processing device corresponding to the user 1 is not found.
And S204, if the message processing equipment corresponding to the current user is found in the registration center, sending the message replied to the current user to the message processing equipment corresponding to the current user, so that the message processing equipment corresponding to the current user forwards the message replied to the current user.
In this step, if the message processing device corresponding to the current user is found in the registration center, the message routing device may send the message replied to the current user to the message processing device corresponding to the current user, so that the message processing device corresponding to the current user forwards the message replied to the current user. For example, after receiving an inquiry request including the identifier of the user 1 sent by the message routing device, the registry searches for the message processing device corresponding to the user 1 based on the predetermined correspondence between the message processing device and the user; if the message processing device corresponding to the user 1 is found in the registry, the message routing device may send the message replied to the user 1 to the message processing device corresponding to the user 1, so that the message processing device corresponding to the user 1 may forward the message replied to the user 1.
In the message reply method provided by the embodiment of the disclosure, the message routing device firstly acquires the message which is sent by the customer service device and replied to the current user; then based on the corresponding relation between the predetermined message processing equipment and the user, searching the message processing equipment corresponding to the current user in the registration center; if the message processing equipment corresponding to the current user is found in the registration center, the message replied to the current user is sent to the message processing equipment corresponding to the current user, so that the message processing equipment corresponding to the current user forwards the message replied to the current user. That is to say, the present disclosure may accurately find the message processing device corresponding to the current user through the message routing device, so that only the message replied to the current user needs to be sent to the message processing device corresponding to the current user, and the message replied to the current user does not need to be sent to each message processing device. In the existing message reply method, the customer service device needs to send the reply message corresponding to each user to each message processing device in a group. Because the technical means that the message routing equipment searches the message processing equipment corresponding to the current user in the registration center is adopted, the technical problems that in the prior art, the forwarding efficiency of the message processing equipment is low, network resources are seriously wasted and the network communication overhead is increased because the customer service equipment needs to send the reply message replied to each user to each message processing equipment in a group mode are solved. According to the technical scheme provided by the disclosure, the reply message does not need to be sent by the customer service equipment in a group manner, the forwarding efficiency of the message processing equipment can be obviously improved, the network resources can be saved, and the network communication overhead can be reduced; moreover, the technical scheme of the embodiment of the disclosure is simple and convenient to implement, convenient to popularize and wide in application range.
EXAMPLE III
Fig. 3 is a schematic diagram of a third flow of a message reply method according to an embodiment of the present disclosure. Further optimization and expansion are performed based on the technical scheme, and the method can be combined with the various optional embodiments. As shown in fig. 3, the message reply method may include the steps of:
s301, receiving the message sent by the message routing equipment and replied to the current user.
In this step, the message processing device receives the message sent by the message routing device and replied to the current user. Specifically, the customer service device may send a message replied to the current user to the message queue; then the message routing equipment can acquire a message replied to the current user by the customer service equipment through the message queue; then the message routing equipment searches the message processing equipment corresponding to the current user in the registration center; if the message routing equipment finds the message processing equipment corresponding to the current user in the registration center, the message routing equipment can send the message replied to the current user to the message processing equipment corresponding to the current user; therefore, the message processing device can receive the message which is sent by the message routing device and replied to the current user.
S302, extracting the identification of the current user from the message replied to the current user.
In this step, the message processing device may extract the identifier of the current user from the message replied to the current user. Specifically, the message processing device may analyze a message replied to the current user to obtain a message analysis result; then, the identification of the current user is extracted from the message analysis result. For example, the message processing device may extract the identifier of the current user from the message parsing result based on a preset message format.
And S303, forwarding the message replied to the current user based on the identification of the current user.
In this step, the message processing device may forward the message replied to the current user based on the identification of the current user. Specifically, the message processing device may match the identifier of the current user with the identifiers of the users connected in advance; and if the identification of the current user is successfully matched with the identification of one user, forwarding the reply message to the one user. For example, assuming that the identity of the current user is that of user 1, the message processing device may forward the message that replied to user 1.
In the message reply method provided by the embodiment of the disclosure, the message routing device firstly acquires the message which is sent by the customer service device and replied to the current user; then based on the corresponding relation between the predetermined message processing equipment and the user, searching the message processing equipment corresponding to the current user in the registration center; if the message processing equipment corresponding to the current user is found in the registration center, the message replied to the current user is sent to the message processing equipment corresponding to the current user, so that the message processing equipment corresponding to the current user forwards the message replied to the current user. That is to say, the present disclosure may accurately find the message processing device corresponding to the current user through the message routing device, so that only the message replied to the current user needs to be sent to the message processing device corresponding to the current user, and the message replied to the current user does not need to be sent to each message processing device. In the existing message reply method, the customer service device needs to send the reply message corresponding to each user to each message processing device in a group. Because the technical means that the message routing equipment searches the message processing equipment corresponding to the current user in the registration center is adopted, the technical problems that in the prior art, the forwarding efficiency of the message processing equipment is low, network resources are seriously wasted and the network communication overhead is increased because the customer service equipment needs to send the reply message replied to each user to each message processing equipment in a group mode are solved. According to the technical scheme provided by the disclosure, the reply message does not need to be sent by the customer service equipment in a group manner, the forwarding efficiency of the message processing equipment can be obviously improved, the network resources can be saved, and the network communication overhead can be reduced; moreover, the technical scheme of the embodiment of the disclosure is simple and convenient to implement, convenient to popularize and wide in application range.
Example four
Fig. 4 is a fourth flowchart illustrating a message reply method according to an embodiment of the disclosure. Further optimization and expansion are performed based on the technical scheme, and the method can be combined with the various optional embodiments. As shown in fig. 4, the message reply method may include the steps of:
s401, sending a registration request message to a registration center, so that the registration center responds to the registration request message to store the corresponding relation between the message processing equipment and the current user; wherein the registration request message includes: an identification of the message handling device and an identification of the current user.
In this step, before receiving the message replied to the current user and sent by the message routing device, the message processing device may send a registration request message to the registry, so that the registry stores the corresponding relationship between the message processing device and the current user in response to the registration request message; wherein the registration request message includes: an identification of the message handling device and an identification of the current user. Specifically, when a new user establishes a connection with the message processing device, the message processing device may send a registration request message to the registry, so that the registry stores the corresponding relationship between the message processing device and the new user in response to the registration request message. Alternatively, when a certain user is disconnected from the message processing, the message processing apparatus may send a deregistration message to the registry, so that the registry deletes the correspondence between the message processing apparatus and the user in response to the deregistration message.
Fig. 5 is an architectural diagram of a customer service system provided by an embodiment of the disclosure. As shown in fig. 5, it is assumed that the customer service system includes three message processing apparatuses, respectively: a message processing apparatus 1, a message processing apparatus 2, and a message processing apparatus 3; assume that the message processing apparatus 1 connects three users, respectively: user 1, user 2, user 3; the message processing device 2 is connected to four users, which are respectively: user 4, user 5, user 6, user 7; the message processing device 3 connects three users, respectively: user 8, user 9, user 10. When the customer service equipment needs to reply a message to a certain user, the customer service equipment can send the message to a message queue on the assumption that the customer service equipment needs to reply the message to the user 1; the message routing equipment can monitor the reply message sent by the customer service equipment in the message queue; if the message routing device monitors the reply message sent by the customer service device in the message queue, the message routing device may search for the message processing device corresponding to the user 1 in the registry, and if the message routing device searches for the message processing device corresponding to the user 1 in the registry, the message routing device only needs to send the reply message to the message processing device corresponding to the user 1, and does not need to send the reply message to each message processing device in a group.
S402, receiving a registration feedback message returned by the registration center, wherein the registration feedback message comprises: the correspondence between the message processing device and the current user is saved or the correspondence between the message processing device and the current user is not saved.
In this step, the message processing device may receive a registration feedback message returned by the registration center, where the registration feedback message includes: the correspondence between the message processing device and the current user is saved or the correspondence between the message processing device and the current user is not saved. Specifically, after receiving a registration request message sent by a message processing device, a registration center may first determine whether a current user registered in the present disclosure meets a preset registration condition; if the current user meets the preset registration condition, the registration center can store the corresponding relation between the message processing equipment and the current user; and simultaneously returning a registration feedback message to the message processing equipment, which indicates that the registration center stores the corresponding relationship between the message processing equipment and the current user. If the current user does not meet the preset registration condition, the registration center does not store the corresponding relation between the message processing equipment and the current user; and simultaneously returning a registration feedback message to the message processing equipment, which indicates that the corresponding relation between the message processing equipment and the current user is not stored in the registration center.
S403, receiving the message sent by the message routing device and replied to the current user.
S404, extracting the identification of the current user from the message replied to the current user.
S405, based on the identification of the current user, the message replied to the current user is forwarded to the current user.
In the message reply method provided by the embodiment of the disclosure, the message routing device firstly acquires the message which is sent by the customer service device and replied to the current user; then based on the corresponding relation between the predetermined message processing equipment and the user, searching the message processing equipment corresponding to the current user in the registration center; if the message processing equipment corresponding to the current user is found in the registration center, the message replied to the current user is sent to the message processing equipment corresponding to the current user, so that the message processing equipment corresponding to the current user forwards the message replied to the current user. That is to say, the present disclosure may accurately find the message processing device corresponding to the current user through the message routing device, so that only the message replied to the current user needs to be sent to the message processing device corresponding to the current user, and the message replied to the current user does not need to be sent to each message processing device. In the existing message reply method, the customer service device needs to send the reply message corresponding to each user to each message processing device in a group. Because the technical means that the message routing equipment searches the message processing equipment corresponding to the current user in the registration center is adopted, the technical problems that in the prior art, the forwarding efficiency of the message processing equipment is low, network resources are seriously wasted and the network communication overhead is increased because the customer service equipment needs to send the reply message replied to each user to each message processing equipment in a group mode are solved. According to the technical scheme provided by the disclosure, the reply message does not need to be sent by the customer service equipment in a group manner, the forwarding efficiency of the message processing equipment can be obviously improved, the network resources can be saved, and the network communication overhead can be reduced; moreover, the technical scheme of the embodiment of the disclosure is simple and convenient to implement, convenient to popularize and wide in application range.
EXAMPLE five
Fig. 6 is a schematic diagram of a first structure of a message reply device according to an embodiment of the present disclosure. As shown in fig. 6, the apparatus 600 includes:
an obtaining module 601, configured to obtain a message sent by a customer service device and replied to a current user;
a searching module 602, configured to search, based on a predetermined correspondence between a message processing device and a user, a message processing device corresponding to the current user in a registry;
a sending module 603, configured to send, if the message processing device corresponding to the current user is found in the registry, the message replied to the current user to the message processing device corresponding to the current user, so that the message processing device corresponding to the current user forwards the message replied to the current user.
Further, the obtaining module 601 is specifically configured to: monitoring a reply message sent by the customer service equipment in the message queue; and if at least one reply message sent by the customer service equipment is monitored in the message queue, extracting one reply message from the at least one reply message as a message replied to the current user.
Further, the obtaining module 601 is specifically configured to: extracting any one reply message from the at least one reply message, and using the any one reply message as a message for replying to the current user; or, based on a predetermined theme corresponding to each reply message in the at least one reply message, extracting one reply message from the at least one reply message as a message replied to the current user.
Further, the search module 602 is specifically configured to: sending a query request to the registry, so that the registry searches the message processing equipment corresponding to the current user based on the corresponding relation between the predetermined message processing equipment and the user; wherein, the query request includes the identifier of the current user; receiving a query result returned by the registration center; wherein the query result comprises: and finding the message processing equipment corresponding to the current user and not finding the message processing equipment corresponding to the current user.
The message reply device can execute the methods provided by the first embodiment and the second embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method. For details of the message reply method provided in the first embodiment and the second embodiment of the present disclosure, reference may be made to the technical details not described in detail in this embodiment.
EXAMPLE six
Fig. 7 is a schematic diagram of a second structure of a message reply device according to an embodiment of the present disclosure. As shown in fig. 7, the apparatus 700 includes:
a receiving module 701, configured to receive a message sent by the message routing device and replied to the current user;
an extracting module 702, configured to extract an identifier of the current user from a message replied to the current user;
a forwarding module 703, configured to forward, to the current user, the message replied to the current user based on the identifier of the current user.
Further, the apparatus further comprises: a registration module 704 (not shown in the figure) configured to send a registration request message to a registration center, so that the registration center stores a correspondence between the message processing apparatus and the current user in response to the registration request message; wherein the registration request message includes: an identity of the message processing device and an identity of the current user; receiving a registration feedback message returned by the registration center, wherein the registration feedback message comprises: the corresponding relationship between the message processing device and the current user is saved or not saved.
The message reply device can execute the methods provided by the third embodiment and the fourth embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution methods. For details of the message reply method provided in the third embodiment and the fourth embodiment of the present disclosure, reference may be made to the technical details not described in detail in this embodiment.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the good customs of the public order.
EXAMPLE seven
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 8 illustrates a schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the apparatus 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The calculation unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
A number of components in the device 800 are connected to the I/O interface 805, including: an input unit 806, such as a keyboard, a mouse, or the like; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, or the like; and a communication unit 809 such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Computing unit 801 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and the like. The calculation unit 801 executes the respective methods and processes described above, such as the message reply method. For example, in some embodiments, the message reply method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program can be loaded and/or installed onto device 800 via ROM 802 and/or communications unit 809. When loaded into RAM 803 and executed by computing unit 801, may perform one or more of the steps of the message reply method described above. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the message reply method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (15)

1. A message reply method is applied to message routing equipment, and comprises the following steps:
acquiring a message which is sent by customer service equipment and replied to a current user;
searching the message processing equipment corresponding to the current user in a registration center based on the corresponding relation between the predetermined message processing equipment and the user;
if the message processing equipment corresponding to the current user is found in the registration center, sending the message replied to the current user to the message processing equipment corresponding to the current user, so that the message processing equipment corresponding to the current user forwards the message replied to the current user.
2. The method of claim 1, wherein the obtaining of the message sent by the customer service device in reply to the current user comprises:
monitoring a reply message sent by the customer service equipment in the message queue;
and if at least one reply message sent by the customer service equipment is monitored in the message queue, extracting one reply message from the at least one reply message as a message replied to the current user.
3. The method of claim 2, wherein said extracting one reply message from said at least one reply message as a message in reply to said current user comprises:
extracting any one reply message from the at least one reply message, and using the any one reply message as a message for replying to the current user;
or, based on a predetermined theme corresponding to each reply message in the at least one reply message, extracting one reply message from the at least one reply message as a message replied to the current user.
4. The method of claim 1, wherein the searching for the message processing device corresponding to the current user in the registry based on the predetermined correspondence between the message processing device and the user comprises:
sending a query request to the registry, so that the registry searches the message processing equipment corresponding to the current user based on the corresponding relation between the predetermined message processing equipment and the user; wherein, the query request includes the identifier of the current user;
receiving a query result returned by the registration center; wherein the query result comprises: and finding the message processing equipment corresponding to the current user and not finding the message processing equipment corresponding to the current user.
5. A message reply method is applied to a message processing device, and comprises the following steps:
receiving a message sent by the message routing equipment and replied to the current user;
extracting the identification of the current user from the message replied to the current user;
and forwarding the message replied to the current user based on the identification of the current user.
6. The method of claim 5, further comprising:
sending a registration request message to a registry, so that the registry responds to the registration request message to store the corresponding relation between the message processing equipment and the current user; wherein the registration request message includes: an identity of the message processing device and an identity of the current user;
receiving a registration feedback message returned by the registration center, wherein the registration feedback message comprises: the corresponding relationship between the message processing device and the current user is saved or not saved.
7. A message reply device, comprising:
the acquisition module is used for acquiring a message which is sent by the customer service equipment and replied to the current user;
the searching module is used for searching the message processing equipment corresponding to the current user in the registration center based on the predetermined corresponding relation between the message processing equipment and the user;
and the sending module is used for sending the message replied to the current user to the message processing equipment corresponding to the current user if the message processing equipment corresponding to the current user is found in the registration center, so that the message processing equipment corresponding to the current user forwards the message replied to the current user.
8. The apparatus of claim 7, wherein the acquisition module is specifically configured to: monitoring a reply message sent by the customer service equipment in the message queue; and if at least one reply message sent by the customer service equipment is monitored in the message queue, extracting one reply message from the at least one reply message as a message replied to the current user.
9. The apparatus of claim 8, wherein the acquisition module is specifically configured to: extracting any one reply message from the at least one reply message, and using the any one reply message as a message for replying to the current user; or, based on a predetermined theme corresponding to each reply message in the at least one reply message, extracting one reply message from the at least one reply message as a message replied to the current user.
10. The apparatus of claim 7, wherein the lookup module is specifically configured to: sending a query request to the registry, so that the registry searches the message processing equipment corresponding to the current user based on the corresponding relation between the predetermined message processing equipment and the user; wherein, the query request includes the identifier of the current user; receiving a query result returned by the registration center; wherein the query result comprises: and finding the message processing equipment corresponding to the current user and not finding the message processing equipment corresponding to the current user.
11. A message reply device, comprising:
the receiving module is used for receiving the message which is sent by the message routing equipment and replied to the current user;
the extracting module is used for extracting the identification of the current user from the message replied to the current user;
and the forwarding module is used for forwarding the message replied to the current user based on the identification of the current user.
12. The apparatus of claim 11, further comprising: the registration module is used for sending a registration request message to a registration center so that the registration center responds to the registration request message to store the corresponding relation between the message processing equipment and the current user; wherein the registration request message includes: an identity of the message processing device and an identity of the current user; receiving a registration feedback message returned by the registration center, wherein the registration feedback message comprises: the corresponding relationship between the message processing device and the current user is saved or not saved.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4 or 5-6.
14. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any of claims 1-4 or 5-6.
15. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-4 or 5-6.
CN202110866714.0A 2021-07-29 2021-07-29 Message reply method and device, electronic equipment and storage medium Pending CN113590785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110866714.0A CN113590785A (en) 2021-07-29 2021-07-29 Message reply method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110866714.0A CN113590785A (en) 2021-07-29 2021-07-29 Message reply method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113590785A true CN113590785A (en) 2021-11-02

Family

ID=78252082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110866714.0A Pending CN113590785A (en) 2021-07-29 2021-07-29 Message reply method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113590785A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070202894A1 (en) * 2006-02-24 2007-08-30 Pratik Mahesh Dhebri Replying to an SMS broadcast message
US20100088302A1 (en) * 2008-10-02 2010-04-08 Avaya Inc. Associating system requests with sms user responses
US20150026274A1 (en) * 2012-06-26 2015-01-22 International Business Machines Corporation Method and apparatus for routing a message
US9247066B1 (en) * 2013-08-22 2016-01-26 West Corporation User input drivent short message service (SMS) applications
CN107612920A (en) * 2017-09-30 2018-01-19 深圳市艾特智能科技有限公司 Intercommunication method, intercom system, readable storage medium storing program for executing and computer equipment
CN108282525A (en) * 2018-01-22 2018-07-13 浙江省公众信息产业有限公司 Video resource based on peer-to-peer network manages system and method
CN109067844A (en) * 2018-07-09 2018-12-21 上海瀚银信息技术有限公司 A kind of message communication system
CN111711663A (en) * 2020-05-26 2020-09-25 北京金山云网络技术有限公司 Processing method and device for publishing and subscribing services and electronic equipment
CN111709232A (en) * 2020-05-22 2020-09-25 湖南映客互娱网络信息有限公司 Live broadcast customer service queue type consultation processing method and system
CN111865764A (en) * 2020-07-16 2020-10-30 郑州信大捷安信息技术股份有限公司 Customer service message processing system and method based on third-party public platform
CN111917878A (en) * 2020-08-03 2020-11-10 腾讯科技(深圳)有限公司 Message processing method, device, equipment and storage medium
CN112532673A (en) * 2019-09-19 2021-03-19 北京京东振世信息技术有限公司 Message sending method and device, computer readable storage medium and electronic equipment
CN112583931A (en) * 2020-12-25 2021-03-30 北京百度网讯科技有限公司 Message processing method, message middleware, electronic device and storage medium
CN112988417A (en) * 2021-03-04 2021-06-18 长沙市到家悠享网络科技有限公司 Message processing method and device, electronic equipment and computer readable medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070202894A1 (en) * 2006-02-24 2007-08-30 Pratik Mahesh Dhebri Replying to an SMS broadcast message
US20100088302A1 (en) * 2008-10-02 2010-04-08 Avaya Inc. Associating system requests with sms user responses
US20150026274A1 (en) * 2012-06-26 2015-01-22 International Business Machines Corporation Method and apparatus for routing a message
US9247066B1 (en) * 2013-08-22 2016-01-26 West Corporation User input drivent short message service (SMS) applications
CN107612920A (en) * 2017-09-30 2018-01-19 深圳市艾特智能科技有限公司 Intercommunication method, intercom system, readable storage medium storing program for executing and computer equipment
CN108282525A (en) * 2018-01-22 2018-07-13 浙江省公众信息产业有限公司 Video resource based on peer-to-peer network manages system and method
CN109067844A (en) * 2018-07-09 2018-12-21 上海瀚银信息技术有限公司 A kind of message communication system
CN112532673A (en) * 2019-09-19 2021-03-19 北京京东振世信息技术有限公司 Message sending method and device, computer readable storage medium and electronic equipment
CN111709232A (en) * 2020-05-22 2020-09-25 湖南映客互娱网络信息有限公司 Live broadcast customer service queue type consultation processing method and system
CN111711663A (en) * 2020-05-26 2020-09-25 北京金山云网络技术有限公司 Processing method and device for publishing and subscribing services and electronic equipment
CN111865764A (en) * 2020-07-16 2020-10-30 郑州信大捷安信息技术股份有限公司 Customer service message processing system and method based on third-party public platform
CN111917878A (en) * 2020-08-03 2020-11-10 腾讯科技(深圳)有限公司 Message processing method, device, equipment and storage medium
CN112583931A (en) * 2020-12-25 2021-03-30 北京百度网讯科技有限公司 Message processing method, message middleware, electronic device and storage medium
CN112988417A (en) * 2021-03-04 2021-06-18 长沙市到家悠享网络科技有限公司 Message processing method and device, electronic equipment and computer readable medium

Similar Documents

Publication Publication Date Title
CN112866391A (en) Message pushing method and device, electronic equipment and storage medium
CN114697391A (en) Data processing method, device, equipment and storage medium
CN113778644A (en) Task processing method, device, equipment and storage medium
CN113590785A (en) Message reply method and device, electronic equipment and storage medium
CN113660635B (en) Connection method, connection device, electronic device, and storage medium
CN114579311A (en) Method, apparatus, device and storage medium for executing distributed computing task
CN114706774A (en) Interface test method, device, equipment and storage medium
CN113722037A (en) User interface refreshing method and device, electronic equipment and storage medium
CN113055523A (en) Crank call interception method and device, electronic equipment and storage medium
CN112559632A (en) Method, device, electronic equipment and medium for synchronizing state of distributed graph database
CN113726872B (en) Method, device, equipment and medium for filtering promotion information
CN114025037B (en) Cloud mobile phone overhaul method and device, electronic equipment and storage medium
CN117499224A (en) Internet of things equipment edge gateway access method, device, equipment and medium
CN117041191A (en) Task execution method and device in instant messaging and electronic equipment
CN117914819A (en) Chat robot menu display method, device and system
CN116939228A (en) Distributed processing method, device and equipment for remote sensing image and storage medium
CN117632824A (en) Communication method, communication device, electronic equipment and storage medium
CN115103019A (en) Access request forwarding method and device, electronic equipment and readable storage medium
CN115438005A (en) Log query method and device, electronic equipment and storage medium
CN115752496A (en) Path searching method and device, electronic equipment and storage medium
CN116668258A (en) Alarm information processing method and device and electronic equipment
CN114661755A (en) Display mode, device and electronic equipment
CN116192945A (en) Intranet-extranet communication method, device, equipment and storage medium
CN115766168A (en) Resource acquisition method, device, equipment and storage medium
CN116339745A (en) Method, device, equipment and storage medium for analyzing communication data between equipment

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