CN106487655B - Message interaction method and device and processing server - Google Patents
Message interaction method and device and processing server Download PDFInfo
- Publication number
- CN106487655B CN106487655B CN201610868006.XA CN201610868006A CN106487655B CN 106487655 B CN106487655 B CN 106487655B CN 201610868006 A CN201610868006 A CN 201610868006A CN 106487655 B CN106487655 B CN 106487655B
- Authority
- CN
- China
- Prior art keywords
- message
- question
- reply
- reply message
- search key
- 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.)
- Active
Links
- 230000003993 interaction Effects 0.000 title claims abstract description 51
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000003997 social interaction Effects 0.000 claims description 7
- 238000004458 analytical method Methods 0.000 claims description 6
- 230000006399 behavior Effects 0.000 description 16
- 230000008569 process Effects 0.000 description 9
- 230000004044 response Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect 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]
- H04L51/046—Interoperability with other network applications or services
-
- 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/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/18—Commands or executable codes
-
- 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/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a message interaction method, a message interaction device and a message interaction processing server, wherein the method comprises the following steps: when a problem message which is sent by a terminal and input by a user aiming at a public service account is received, searching whether a reply message corresponding to the problem message exists in a preset question bank corresponding to the public service account; if not, forwarding the problem message to a registration server of the public service account; if the reply message returned by the registration server is not received within the preset time, analyzing the problem message to obtain a search key element; and inquiring the reply message from the Internet according to the search key elements, and sending the reply message to the terminal to enable the terminal to output the reply message. The invention can realize the message interaction between the user and the public service account number, and provides convenient and fast self-adaptive question-answering message service for the user.
Description
Technical Field
The invention relates to the technical field of internet, in particular to the technical field of public service accounts, and particularly relates to a message interaction method, a message interaction device and a message interaction processing server.
Background
The public service account refers to a service account registered by a developer in the internet application, and the developer can provide services including message pushing, message subscription and the like for one or more users in the internet application through the public service account. The public service account can provide question answering service for the user, namely the user can input question information in a service page of the public service account, and the public service account gives corresponding reply. However, in the process of interacting the existing public service account with the question and answer message of the user, the user is usually required to input a preset keyword, such as a 'menu', and the public service account automatically pops up a menu list; if the problem message input by the user is not the preset keyword, the public service account cannot be effectively replied, so that the problem message input by the user cannot be replied in time, the interaction effectiveness between the user and the public service account is reduced, and the use experience of the user is also reduced.
Disclosure of Invention
The embodiment of the invention provides a message interaction method, a message interaction device and a processing server, which can realize the message interaction between a user and a public service account, improve the response efficiency and provide convenient and fast self-adaptive question-answering message service for the user.
A first aspect of an embodiment of the present invention provides a message interaction method, which may include:
when a problem message which is sent by a terminal and input by a user aiming at a public service account is received, searching whether a reply message corresponding to the problem message exists in a preset question bank corresponding to the public service account;
if not, forwarding the problem message to a registration server of the public service account;
if a reply message corresponding to the problem message returned by the registration server is not received within a preset time, analyzing the problem message to obtain a search key element;
and inquiring a reply message of the question message from the Internet according to the search key element, and sending the inquired reply message to the terminal so as to enable the terminal to output the reply message.
Preferably, before sending the queried reply message to the terminal, the method includes:
acquiring attribute data of the user, wherein the attribute data comprises any one or more of basic user data, social data and network behavior data;
and performing personalized editing on the inquired reply message according to the attribute data.
Preferably, the basic user data comprises at least one of: nickname, gender, interests, specialty, job, age;
the social data includes: friend relationship chains and/or social interaction data;
the network behavior data includes: e-commerce behaviour data and/or payment behaviour data;
the question message includes at least one of: characters, pictures, audio and video;
the reply message includes at least one of: characters, pictures, audio and video.
Preferably, if the number of the question messages is greater than or equal to two, the parsing the question messages to obtain the search key elements includes:
analyzing each question message in the at least two question messages respectively to obtain at least two groups of search key elements, wherein one question message corresponds to one group of search key elements; or,
selecting one problem message with the earliest input time from the at least two problem messages, and analyzing to obtain a group of search key elements; or,
and selecting one question message with the latest input time from the at least two question messages to analyze to obtain a group of search key elements.
Preferably, if the number of reply messages queried from the internet according to a group of search key elements corresponding to a question message is greater than or equal to two, sending the queried reply messages to the terminal includes:
acquiring a source website of each reply message in the at least two reply messages;
respectively carrying out weighting processing on each reply message according to the credibility of the source website of each reply message;
and selecting at least one reply message from the at least two reply messages according to the sequence of the weights from high to low, and sending the reply message to the terminal.
A second aspect of the embodiments of the present invention provides a message interaction apparatus, which may include:
the search unit is used for searching whether a reply message corresponding to the problem message exists in a preset question bank corresponding to a public service account when the problem message input by a user aiming at the public service account and sent by a terminal is received;
the forwarding unit is used for forwarding the problem message to a registration server of the public service account if the problem message does not exist;
the analysis unit is used for analyzing the problem message to obtain a search key element if a reply message corresponding to the problem message returned by the registration server is not received within preset time;
the query unit is used for querying the reply message of the question message from the Internet according to the search key element;
and the feedback unit is used for sending the inquired reply message to the terminal so as to enable the terminal to output the reply message.
Preferably, the apparatus further comprises:
the data acquisition unit is used for acquiring attribute data of the user, wherein the attribute data comprises any one or more of basic user data, social data and network behavior data;
and the editing unit is used for carrying out personalized editing on the inquired reply message according to the attribute data.
Preferably, the basic user data comprises at least one of: nickname, gender, interests, specialty, job, age;
the social data includes: friend relationship chains and/or social interaction data;
the network behavior data includes: e-commerce behaviour data and/or payment behaviour data;
the question message includes at least one of: characters, pictures, audio and video;
the reply message includes at least one of: characters, pictures, audio and video.
Preferably, if the number of the question messages is greater than or equal to two, the parsing unit is specifically configured to parse each question message of the at least two question messages respectively to obtain at least two groups of search key elements, where one question message corresponds to one group of search key elements; or, the method is specifically configured to select one of the at least two question messages with the earliest input time to analyze to obtain a group of search key elements; or, the method is specifically configured to select one question message with the latest input time from the at least two question messages, and analyze the selected question message to obtain a group of search key elements.
Preferably, if the number of reply messages queried from the internet according to a group of search key elements corresponding to a question message is greater than or equal to two, the feedback unit includes:
a website acquisition unit, configured to acquire a source website of each reply message in the at least two reply messages;
the weighting processing unit is used for respectively carrying out weighting processing on each reply message according to the credibility of the source website of each reply message;
and the selecting and sending unit is used for selecting at least one reply message from the at least two reply messages according to the sequence of the weights from high to low and sending the at least one reply message to the terminal.
A third aspect of an embodiment of the present invention provides a processing server, which may include the message interaction apparatus according to the second aspect.
When receiving a problem message input by a user aiming at a public service account and sent by a terminal, if a reply message corresponding to the problem message does not exist in a preset question bank corresponding to the public service account and a reply message corresponding to the problem message returned by a registration server is not received within a preset time, a search key element can be obtained by analyzing the problem message, the reply message of the problem message is inquired from the internet according to the search key element and is fed back to the terminal for output, so that the message interaction between the user and the public service account is realized, the problem proposed by the user can be replied in time by the public service account, the reply response efficiency is improved, the interaction timeliness and effectiveness between the user and the public service account are improved, and convenience are provided for the user, Convenient self-adaptive question answering message service.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a message interaction system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a service page of a public service account according to an embodiment of the present invention;
fig. 3 is a flowchart of a message interaction method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a processing server according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a message interaction apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the embodiment of the invention, the public service account refers to a service account registered by a developer in the internet application, and the developer can provide services including message pushing, message subscription and the like for one or more users in the internet application through the public service account. The internet applications herein may include, but are not limited to: social applications, gaming applications, e-commerce applications, and the like; the social application refers to an application program capable of realizing a social function; the social applications may include, but are not limited to: an instant messaging application, an SNS (Social Networking Services) application, and the like. It should be noted that, a developer may configure a registration server for providing a service specifically for a user in an internet application in a registration process of a public service account; the registration server of the public service account may be an application server, for example: a developer of an e-commerce application registers a public service account identified as xx in a social application, a registration server of the public service account xx can be an application server of the e-commerce application, and the developer of the e-commerce application can provide services for a user in the social application through the registration server of the public service account xx. The registration server of the public service account may also be a web server, for example: a developer of a certain game website registers a public service account identified as yy in the social application, and a developer of the game website provides services for users in the social application through a registration server of the public service account yy. The registration server of the public service account may also be a third party platform server, for example: a game developer registers a public service account identified as zz in the social application, but the developer has no development strength, the game developer can authorize a third platform to be developed instead, an authorized third-party platform server is a registration server of the public service account zz, and the developer provides services for users in the social application through the registration server of the public service account zz.
Based on the above description, an embodiment of the present invention provides a message interaction system, please refer to fig. 1, which may include a processing server, at least one terminal, and at least one registration server for public service accounts.
The processing server refers to background service equipment of the internet application, is used for processing various requirements of the internet application in the process of realizing corresponding functions, and can be used for managing related data of users in the internet application and related data users of public service accounts. Here, the relevant data of the user may include basic user data such as nickname, gender, hobby, speciality, work, age, etc.; social data such as account identification, friend relationship chains, social interaction data, etc., may also be included, as may: e.g., browsing an e-commerce website, ordering e-commerce activity data for favorite goods, etc., and purchasing payment activity data for goods or services, etc. The relevant data of the public service account herein may include but is not limited to: account identification, address of the registration server, interactive data with the user, etc. Terminals may include, but are not limited to: the system comprises a notebook computer, a mobile phone, a PAD (PAD computer), a vehicle-mounted terminal, intelligent wearable equipment and other equipment, wherein the terminal can run the Internet application. The registration server of the public service account is a device configured in the social application by the developer of the public service account and used for providing services for the user in the social application.
The system shown in fig. 1 can implement message interaction between a user and a public service account, and specifically, the processing server pushes a service page of the public service account to the terminal for display, where the service page of the public service account refers to an interface for message interaction between the public service account and the user, and in the service page of the public service account, the public service account can push a service message for the user, receive a problem message input by the user, feed back a reply message for the user, and the like. Specifically, the user may enter a question message in a service page of the public service account, such as: "menu", "how to charge and pay? "," where the XX brand was produced? "etc., the terminal sends these question messages to the processing server; the processing server obtains the reply message by means of inquiring a local storage space, a registration server of the public service account or the internet, and the like, returns the reply message to the terminal, and displays the reply message in a service page of the public service account by the terminal so as to be provided for the user to view, thereby finishing the message interaction process between the user and the public service account; referring to fig. 2 together, fig. 2 shows a service page of a public service account xx displayed on a terminal screen, in which a question message "how to charge and pay? A first step.. a second step.. a. In the system shown in fig. 1, through the interaction among the terminal, the processing server and the registration server, the message interaction between the user and the public service account can be realized, so that the public service account can timely reply the questions provided by the user, the reply response efficiency is improved, the timeliness and effectiveness of the interaction between the user and the public service account are improved, and a convenient and fast self-adaptive question-answering message service is provided for the user.
Based on the above description, the embodiment of the present invention provides a message interaction method, where the flow of the method may be executed by a processing server in the system shown in fig. 1, specifically, the processing server is internally provided with a message interaction device, and the method flow of the embodiment is implemented by operating the message interaction device internally provided with the processing server. Referring to fig. 3, the method may include the following steps S101 to S105.
S101, when a problem message which is sent by a terminal and input by a user aiming at a public service account is received, whether a reply message corresponding to the problem message exists in a preset question bank corresponding to the public service account or not is searched.
Wherein, the preset question bank comprises: at least one question message and a reply message corresponding to each question message. The preset question bank can be stored in the storage space of the processing server, in a feasible implementation mode, the preset question bank can be a general question bank, and each public service account in the internet application can share the preset question bank; for example: the public service account xx, the public service account yy and the public service account zz all correspond to a preset question bank M. In another possible implementation manner, each public service account in the internet application corresponds to a respective preset topic database, for example: the public service account xx corresponds to the preset question bank M1, the public service account yy corresponds to the preset question bank M2, and the public service account zz corresponds to the preset question bank M3. In a specific implementation, after the user enters a service page of a public service account, a problem message may be input in the service page, for example: "who is a certain person? "," menu "," how to charge and pay? "and the like; the terminal sends the problem message input by the user to a processing server; in this step, the processing server may search a preset question bank corresponding to the public service account from the storage space according to the identifier of the public service account, and determine whether the preset question bank corresponding to the public service account has the problem message input by the user; if the answer information exists, the answer information corresponding to the question information is directly acquired from the preset question bank corresponding to the public service account, and the acquired answer information is returned to the terminal, and the terminal displays the answer information in the service page of the public service account so as to be provided for the user to view.
And S102, if the problem message does not exist, forwarding the problem message to a registration server of the public service account.
If the problem message does not exist in the preset question bank corresponding to the public service account, indicating that the problem message and the corresponding reply message input by the user are not included in the preset question bank corresponding to the public service account, executing step S102, and the processing server forwards the problem message to the registration server of the public service account. It should be noted that, according to the normal processing flow, after the problem message is forwarded to the registration server of the public service account, the registration server of the public service account may locally search the reply message corresponding to the problem message, or the developer of the public service account manually edits the reply message corresponding to the problem message, and finally, the registration server of the public service account feeds back the reply message to the processing server; however, in an actual processing flow, due to limitation of problem information included in a local storage space of a registration server of a public service account, or due to consideration of manual reply cost by a developer of the public service account, most of the problem information is not effectively fed back after being forwarded to the registration server of the public service account, so that the problem information input by a user is not replied in time, the interaction effectiveness between the user and the public service account is reduced, and the use experience of the user is also reduced. Based on this, after the processing server of this embodiment forwards the problem message to the registration server of the public service account, it is determined whether a reply message corresponding to the problem message returned by the registration server is received within a preset time; if the reply message is received, the received reply message can be directly returned to the terminal, and the terminal displays the reply message in a service page of the public service account to provide the user for viewing.
S103, if the reply message corresponding to the question message returned by the registration server is not received within the preset time, analyzing the question message to obtain the search key element.
If the reply message corresponding to the question message returned by the registration server is not received within the preset time, in order to respond to the user' S request in time, the processing server needs to execute step S103, and analyze the question message to obtain the search key element. Wherein the question message may include at least one of: characters, pictures, audio and video; therefore, in practical applications, the processing server may analyze the problem message input by the user by using a text recognition technology, an image recognition technology and/or an audio/video recognition technology, specifically: the problem message is subjected to text recognition and analyzed to obtain search keywords, words, sentences and the like which can be interpreted by a computer; extracting search keywords, words, sentences and the like which describe the main content of the picture by carrying out image recognition on the problem message; by performing audio and video analysis and recognition on the problem message, for example, converting audio and video into words, search keywords, words, sentences and the like describing the main content of the audio and video are obtained. It is understood that through the parsing process of step S103, each question message can obtain a set of search key elements.
In a possible embodiment of the present invention, if the user only inputs one question message, after obtaining a set of search key elements by parsing in step S103, the execution of step S104 may be switched to.
In another possible implementation manner of the present invention, if the number of the question messages input by the user is greater than or equal to two, of course, the at least two question messages here may be input in a continuous input manner, or may be input in a discontinuous input manner; the continuous input mode refers to that the input time interval between any two adjacent question messages in the at least two question messages is smaller than a preset time threshold. The discontinuous input mode refers to that the input time interval between any two adjacent problem messages in the at least two problem messages is larger than or equal to a preset time threshold; the preset time threshold can be set according to actual needs, and can be set to 5s, 10s, 15s, and the like, for example. In this embodiment, when the processing server executes the parsing process of step S103, the following methods can be adopted:
(1) and analyzing each question message in the at least two question messages respectively to obtain at least two groups of search key elements, wherein one question message corresponds to one group of search key elements.
(2) And selecting one problem message with the earliest input time from the at least two problem messages to analyze to obtain a group of search key elements.
(3) And selecting one question message with the latest input time from the at least two question messages to analyze to obtain a group of search key elements.
The above several analytic methods show that: aiming at least two question messages, the processing server can analyze each question message and respectively obtain a search key element corresponding to each question message; or the former input question message can be abandoned and only the last input question message can be analyzed; it is also possible to parse only the first entered challenge message and ignore the subsequently entered challenge messages. In practical application, the several analysis methods may be flexibly selected according to actual situations, and after the search key element corresponding to each question message is obtained through the several analysis methods, the step S104 may be executed.
And S104, inquiring the reply message of the question message from the Internet according to the search key element. In this step, the reply message of the question message can be queried from various websites (such as forums, personal social spaces, etc.) on the internet.
S105, sending the inquired reply message to the terminal so that the terminal outputs the reply message.
In a possible embodiment of the present invention, if only one reply message is queried from the internet using a set of search key elements corresponding to one question message, step S105 may be directly performed to send the queried reply message to the terminal.
In another possible embodiment of the present invention, if the number of reply messages queried from the internet by using a set of search key elements corresponding to a question message is greater than or equal to two, that is, at least two reply messages are queried by a question message, in this embodiment, the processing server executing step S105 may specifically include the following steps S11-S13:
s11, obtaining a source website of each reply message of the at least two reply messages.
s12, weighting each reply message according to the credibility of the source website of each reply message.
s13, selecting at least one reply message from the at least two reply messages according to the sequence of the weights from high to low, and sending the reply message to the terminal.
In steps s11-s13, the source website of the reply message refers to the location where the reply message is obtained, for example: assuming that the reply message a1 is queried from website a1, website a1 is the source website for the reply message a 1; similarly, assuming that the reply message a2 is queried from website A2, website a2 is the source website for the reply message a 2. The trustworthiness of the source web site can be considered from several aspects, such as: whether the source website is an official website; or whether an official authority evaluates or rates the source website; or the number of member users of the source website and public praise; and so on. The higher the credibility of the source website is, the higher the reliability of the reply message from the source website is; conversely, a lower confidence level of a source website indicates a lower reliability of the reply message from the source website. In a specific implementation, the processing server may set a priority level and a weighting rule for a source website of each reply message according to the confidence level, for example: if the confidence level of the source website a1 is greater than the first predetermined credit threshold, the source website a1 may be set to AAA level, and the weight value of the reply message a1 from the source website a1 may be set to 5; similarly, the confidence level of the source website a2 is less than the first predetermined credit threshold and greater than or equal to the second predetermined credit threshold, the source website a2 may be set to AA level, and the weight value of the reply message a2 from the source website a2 may be set to 4; by analogy, it can be understood that both the first preset credit threshold and the second preset credit threshold can be set according to actual needs, and the first preset credit threshold is greater than the second preset credit threshold. Then at least one reply message may be selected to be sent to the terminal in order of highest to lowest weight for each reply message in step s 13.
Optionally, before executing step S105, the processing server may further execute the following steps S21-S22:
s21, obtaining attribute data of the user, wherein the attribute data comprises any one or more of basic user data, social data and network behavior data.
Wherein the basic user data comprises at least one of: nickname, gender, interests, specialty, job, age. The social data includes: a friend relationship chain and/or social interaction data. The network behavior data includes: e-commerce behavior data and/or payment behavior data.
s22, according to the attribute data, performing personalized editing to the inquired reply message.
In steps s21-s22, the reply message is edited individually according to the attribute data of the user, so that the reply message is more targeted and can cause resonance of the user, for example: by analyzing the attribute data of the user, the user is very fond of online shopping, and a name such as "shopping Daihan, you! Is.. what you ask; and so on.
It should be noted that, in the embodiment of the present invention, the reply message may include at least one of the following: characters, pictures, audio and video. The corresponding manner of the question message input by the user and the reply message output by the public service account may include, but is not limited to: text-text, picture-text, audio-video-text, text-picture, picture-picture, audio-video-picture, text-audio-video, picture-audio-video, audio-video-audio-video, and the like.
As can be seen from the steps S101 to S105, the processing server has the function similar to a chat robot, and can reply the question message input by the user in time, thereby implementing the message interaction between the user and the public service account, and providing the self-adaptive question-answering service of the public service account for the user.
In the message interaction method provided by the embodiment of the invention, when a problem message input by a user aiming at a public service account and sent by a terminal is received, if a reply message corresponding to the problem message does not exist in a preset question bank corresponding to the public service account and a reply message corresponding to the problem message returned by a registration server is not received within a preset time, a search key element can be obtained by analyzing the problem message, the reply message of the problem message is inquired from the internet according to the search key element and is fed back to the terminal for output, so that the message interaction between the user and the public service account is realized, the problem proposed by the user can be replied in time by the public service account, the reply response efficiency is improved, and the interaction timeliness and effectiveness between the user and the public service account are improved, and a convenient and fast self-adaptive question-answering message service is provided for the user.
Based on the message interaction method shown in the foregoing embodiment, an embodiment of the present invention further provides a processing server, and in practical application, the processing server may be a processing server in the system shown in fig. 1. Referring to fig. 4, the internal structure of the processing server may include, but is not limited to: a processor, a network interface, and a memory. The processor, the network interface and the memory in the processing server may be connected by a bus or other means, and fig. 4 shows an example of the connection by a bus in the embodiment of the present invention.
The processor (or CPU) is a computing core and a control core of the Processing server. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI, mobile communication interface, etc.). The Memory (Memory) is a Memory device in the processing server for storing programs and data. It is understood that the memory herein may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory; optionally, at least one memory device located remotely from the processor. The memory provides storage space that stores the operating system of the processing server, which may include, but is not limited to: windows system (an operating system), Linux system (an operating system), etc., which are not limited in this regard. The memory space of the memory also stores the message interaction device.
In the embodiment of the present invention, the processing server executes the corresponding steps of the method flows shown in fig. 2 to fig. 3 by operating the message interaction device in the memory. Referring to fig. 5, the message interaction apparatus operates as follows:
the searching unit 101 is configured to, when a problem message sent by a terminal and input by a user for a public service account is received, search whether a reply message corresponding to the problem message exists in a preset question bank corresponding to the public service account.
A forwarding unit 102, configured to forward the problem message to a registration server of the public service account if the problem message does not exist.
And the analyzing unit 103 is configured to analyze the question message to obtain a search key element if a reply message corresponding to the question message returned by the registration server is not received within a preset time.
In a specific implementation, if the number of the question messages is greater than or equal to two, the parsing unit 103 is specifically configured to parse each question message of the at least two question messages respectively to obtain at least two groups of search key elements, where one question message corresponds to one group of search key elements; or, the method is specifically configured to select one of the at least two question messages with the earliest input time to analyze to obtain a group of search key elements; or, the method is specifically configured to select one question message with the latest input time from the at least two question messages, and analyze the selected question message to obtain a group of search key elements.
And the query unit 104 is configured to query a reply message of the question message from the internet according to the search key element.
A feedback unit 105, configured to send the queried reply message to the terminal, so that the terminal outputs the reply message.
Optionally in specific implementation, the apparatus further operates the following units:
a data obtaining unit 106, configured to obtain attribute data of the user, where the attribute data includes any one or more of basic user data, social data, and network behavior data;
and the editing unit 107 is configured to perform personalized editing on the queried reply message according to the attribute data.
Wherein the basic user data comprises at least one of: nickname, gender, interests, specialty, job, age; the social data includes: friend relationship chains and/or social interaction data; the network behavior data includes: e-commerce behaviour data and/or payment behaviour data; the question message includes at least one of: characters, pictures, audio and video; the reply message includes at least one of: characters, pictures, audio and video.
In a specific implementation, if the number of reply messages queried from the internet according to a group of search key elements corresponding to a question message is greater than or equal to two, the apparatus specifically operates the following units in the process of operating the feedback unit 105:
a website obtaining unit 1001, configured to obtain a source website of each reply message in the at least two reply messages.
The weighting processing unit 1002 is configured to perform weighting processing on each reply message according to the credibility of the source website of each reply message.
A selecting and sending unit 1003, configured to select at least one reply message from the at least two reply messages according to an order from high weight to low weight, and send the selected at least one reply message to the terminal.
Since the processing server executes the message interaction method shown in fig. 2-3 by operating the message interaction apparatus shown in fig. 5, the functions of each unit of the message interaction apparatus shown in fig. 5 can refer to the related description of each step of the message interaction method shown in fig. 1-2, and are not described herein again.
The processing server and the message interaction device provided by the embodiment of the invention, when receiving the problem message input by the user aiming at the public service account from the terminal, if the preset question bank corresponding to the public service account has no reply message corresponding to the problem message and does not receive the reply message corresponding to the problem message returned by the registration server within the preset time, can obtain the search key element by analyzing the problem message, and query the reply message of the problem message from the internet according to the search key element and feed the reply message back to the terminal for output, thereby realizing the message interaction between the user and the public service account, leading the public service account to reply the problem proposed by the user in time, improving the reply response efficiency, and simultaneously improving the interaction timeliness and effectiveness between the user and the public service account, and a convenient and fast self-adaptive question-answering message service is provided for the user.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.
Claims (10)
1. A message interaction method, comprising:
when a problem message which is sent by a terminal and input by a user aiming at a public service account is received, searching whether a reply message corresponding to the problem message exists in a preset question bank corresponding to the public service account;
if not, forwarding the problem message to a registration server of the public service account;
if a reply message corresponding to the problem message returned by the registration server is not received within a preset time, analyzing the problem message to obtain a search key element; a question message corresponds to a set of search key elements;
inquiring reply messages of the question messages from the Internet according to the search key elements;
if the number of the reply messages inquired from the Internet according to a group of search key elements corresponding to one question message is more than or equal to two, acquiring a source website of each reply message in the at least two reply messages;
respectively carrying out weighting processing on each reply message according to the credibility of the source website of each reply message; the consideration standard of the public credibility of the source website comprises at least one of the following aspects: whether the source website is an official website or not, whether an official authority evaluates or rates the source website or not, and the number of member users and public praise of the source website;
and selecting at least one reply message from the at least two reply messages according to the sequence of the weights from high to low, and sending the at least one reply message to the terminal so that the terminal outputs the reply message.
2. The method of claim 1, wherein before sending the queried reply message to the terminal, the method comprises:
acquiring attribute data of the user, wherein the attribute data comprises any one or more of basic user data, social data and network behavior data;
and performing personalized editing on the inquired reply message according to the attribute data.
3. The method of claim 2, wherein the basic user data comprises at least one of: nickname, gender, interests, specialty, job, age;
the social data includes: friend relationship chains and/or social interaction data;
the network behavior data includes: e-commerce behaviour data and/or payment behaviour data;
the question message includes at least one of: characters, pictures, audio and video;
the reply message includes at least one of: characters, pictures, audio and video.
4. The method according to any one of claims 1 to 3, wherein if the number of the question messages is greater than or equal to two, the parsing the question messages to obtain search key elements comprises:
analyzing each question message in the at least two question messages respectively to obtain at least two groups of search key elements; or,
selecting one problem message with the earliest input time from the at least two problem messages, and analyzing to obtain a group of search key elements; or,
and selecting one question message with the latest input time from the at least two question messages to analyze to obtain a group of search key elements.
5. A message interaction apparatus, comprising:
the search unit is used for searching whether a reply message corresponding to the problem message exists in a preset question bank corresponding to a public service account when the problem message input by a user aiming at the public service account and sent by a terminal is received;
the forwarding unit is used for forwarding the problem message to a registration server of the public service account if the problem message does not exist;
the analysis unit is used for analyzing the problem message to obtain a search key element if a reply message corresponding to the problem message returned by the registration server is not received within preset time; a question message corresponds to a set of search key elements;
the query unit is used for querying the reply message of the question message from the Internet according to the search key element;
the feedback unit is used for sending the inquired reply message to the terminal so as to enable the terminal to output the reply message;
if the number of reply messages inquired from the internet according to a group of search key elements corresponding to a question message is more than or equal to two, the feedback unit comprises:
a website acquisition unit, configured to acquire a source website of each reply message in the at least two reply messages;
the weighting processing unit is used for respectively carrying out weighting processing on each reply message according to the credibility of the source website of each reply message; the consideration standard of the public credibility of the source website comprises at least one of the following aspects: whether the source website is an official website or not, whether an official authority evaluates or rates the source website or not, and the number of member users and public praise of the source website;
and the selecting and sending unit is used for selecting at least one reply message from the at least two reply messages according to the sequence of the weights from high to low and sending the at least one reply message to the terminal.
6. The apparatus of claim 5, further comprising:
the data acquisition unit is used for acquiring attribute data of the user, wherein the attribute data comprises any one or more of basic user data, social data and network behavior data;
and the editing unit is used for carrying out personalized editing on the inquired reply message according to the attribute data.
7. The apparatus of claim 6, wherein the basic user data comprises at least one of: nickname, gender, interests, specialty, job, age;
the social data includes: friend relationship chains and/or social interaction data;
the network behavior data includes: e-commerce behaviour data and/or payment behaviour data;
the question message includes at least one of: characters, pictures, audio and video;
the reply message includes at least one of: characters, pictures, audio and video.
8. The apparatus according to any one of claims 5 to 7, wherein if the number of the question messages is greater than or equal to two, the parsing unit is specifically configured to parse each question message of the at least two question messages, respectively, to obtain at least two groups of search key elements; or, the method is specifically configured to select one of the at least two question messages with the earliest input time to analyze to obtain a group of search key elements; or, the method is specifically configured to select one question message with the latest input time from the at least two question messages, and analyze the selected question message to obtain a group of search key elements.
9. A processing server, characterized in that it comprises a message interaction device according to any one of claims 5-8.
10. A computer-readable storage medium containing a program for executing the message interaction method according to any one of claims 1 to 4.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610868006.XA CN106487655B (en) | 2016-09-28 | 2016-09-28 | Message interaction method and device and processing server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610868006.XA CN106487655B (en) | 2016-09-28 | 2016-09-28 | Message interaction method and device and processing server |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106487655A CN106487655A (en) | 2017-03-08 |
| CN106487655B true CN106487655B (en) | 2020-02-18 |
Family
ID=58269063
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610868006.XA Active CN106487655B (en) | 2016-09-28 | 2016-09-28 | Message interaction method and device and processing server |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106487655B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108667713A (en) * | 2018-03-16 | 2018-10-16 | 平安科技(深圳)有限公司 | Public platform is attended a banquet overtime based reminding method, device, equipment and storage medium |
| CN109067643B (en) * | 2018-09-26 | 2022-07-29 | 中国平安财产保险股份有限公司 | Reply method and device based on keywords, computer equipment and storage medium |
| CN109324861B (en) * | 2018-09-27 | 2020-02-21 | 北京三快在线科技有限公司 | Message display processing method, device, medium and electronic equipment |
| CN109616220A (en) * | 2018-11-21 | 2019-04-12 | 北京春雨天下软件有限公司 | A kind of online answer distributing method of doctor and system |
| CN113392335A (en) * | 2021-06-30 | 2021-09-14 | 深圳本地宝新媒体技术有限公司 | Method and device for message reply through social platform public number interface |
| CN115238043A (en) * | 2022-08-11 | 2022-10-25 | 中国工商银行股份有限公司 | problem management system |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1783627A1 (en) * | 2005-11-03 | 2007-05-09 | Research In Motion Limited | Method and system for generating template replies to electronic mail messages |
| CN101521589A (en) * | 2009-04-03 | 2009-09-02 | 腾讯科技(深圳)有限公司 | Question method, answer method and interactive knowledge question-answer system |
| US8996639B1 (en) * | 2013-10-15 | 2015-03-31 | Google Inc. | Predictive responses to incoming communications |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10162884B2 (en) * | 2013-07-23 | 2018-12-25 | Conduent Business Services, Llc | System and method for auto-suggesting responses based on social conversational contents in customer care services |
-
2016
- 2016-09-28 CN CN201610868006.XA patent/CN106487655B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1783627A1 (en) * | 2005-11-03 | 2007-05-09 | Research In Motion Limited | Method and system for generating template replies to electronic mail messages |
| CN101521589A (en) * | 2009-04-03 | 2009-09-02 | 腾讯科技(深圳)有限公司 | Question method, answer method and interactive knowledge question-answer system |
| US8996639B1 (en) * | 2013-10-15 | 2015-03-31 | Google Inc. | Predictive responses to incoming communications |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106487655A (en) | 2017-03-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105530175B (en) | Message processing method, device and system | |
| US10326715B2 (en) | System and method for updating information in an instant messaging application | |
| KR102277300B1 (en) | Message service providing method for message service linking search service and message server and user device for performing the method | |
| TWI683272B (en) | Information acquisition method, providing method, device, system, and storage medium | |
| CN106487655B (en) | Message interaction method and device and processing server | |
| CN107087235B (en) | Media content recommendation method, server and client | |
| US9396264B2 (en) | Methods and systems for information matching | |
| US10430804B2 (en) | System and method for accessing a hub | |
| JP2021182397A (en) | Dynamic code management | |
| US20110202606A1 (en) | Selective communication of messages | |
| WO2014198132A1 (en) | Methods and systems for information matching | |
| US20160307172A1 (en) | Method, apparatus and system for processing information | |
| US9369536B1 (en) | Event-based user behavior timeline, predictions, and recommendations | |
| KR101783431B1 (en) | Method for providing funding and consulting information related with entertainment by crowd funding system | |
| US9569465B2 (en) | Image processing | |
| CN112260933A (en) | Communication method, communication device, electronic equipment and medium | |
| WO2014176896A1 (en) | System and method for updating information in an instant messaging application | |
| KR20200087016A (en) | Method for providing lbs based placing order placement processing service using chatting agent and chatbot | |
| CN105512208B (en) | Information publishing method, device and system | |
| WO2024255459A1 (en) | Information content processing method and apparatus, and device and storage medium | |
| US20230308431A1 (en) | Certification system | |
| KR20250059054A (en) | Method, computer device, and computer program for generating and displaying chat room message summary | |
| KR101612895B1 (en) | Apparatus and method for providing social network service | |
| US20080262896A1 (en) | Demand-driven, collaborative systems and processes for collecting structured information | |
| CN109768921B (en) | Data transparent transmission method and corresponding instant communication terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |