CN109446311B - Chat enhancement method, device, storage medium and terminal - Google Patents

Chat enhancement method, device, storage medium and terminal Download PDF

Info

Publication number
CN109446311B
CN109446311B CN201811277283.9A CN201811277283A CN109446311B CN 109446311 B CN109446311 B CN 109446311B CN 201811277283 A CN201811277283 A CN 201811277283A CN 109446311 B CN109446311 B CN 109446311B
Authority
CN
China
Prior art keywords
chat
user
keywords
hit
client
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
Application number
CN201811277283.9A
Other languages
Chinese (zh)
Other versions
CN109446311A (en
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.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN201811277283.9A priority Critical patent/CN109446311B/en
Publication of CN109446311A publication Critical patent/CN109446311A/en
Application granted granted Critical
Publication of CN109446311B publication Critical patent/CN109446311B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a chat enhancement method, a chat enhancement device, a storage medium and a terminal, wherein the method comprises the following steps: sending the chat classification selected by the user to a server; receiving N key words determined by the server according to chat classification; detecting whether chat content input by a user hits any one of the N keywords; under the condition that the chat content input by the user hits any one of the N keywords, sending the hit keyword to a server; receiving M associated words determined by the server according to the hit keywords; and displaying the M associated words. According to the invention, the keywords and the associated words corresponding to the corresponding keywords are requested from the server to be displayed according to the chat orientation of the user, so that the user can carry out deeper chat according to the displayed associated words in the chat process, the user can obtain better chat experience, and the problems of single chat mode, non-deeper chat content and poorer user experience are solved.

Description

Chat enhancement method, device, storage medium and terminal
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a chat enhancement method, apparatus, storage medium, and terminal.
Background
The traditional chat interactive interface can only send information, voice, photos and the like normally, and a user can only ask questions of the other party by manually inputting questions in a dialog box, so that the chat mode is single. Moreover, when the user does not know some detailed situations of the current chat classification, the user cannot actively ask a problem in many detailed situations or in the situation associated with the current chat content without knowing the user, and further problems of not deep chat content and poor user experience may occur.
Disclosure of Invention
The invention provides a chat enhancement method, a chat enhancement device, a storage medium and a terminal, which are used for solving the problems that the chat mode in the prior art is single, and when a user does not know some detailed conditions of the current chat classification, the chat content is not deep and the user experience is poor.
In order to solve the above technical problem, in one aspect, the present invention provides a chat enhancing method applied to a client, including: sending the chat classification selected by the user to a server; receiving N keywords determined by the server according to the chat classification, wherein N is a positive integer greater than or equal to 1; detecting whether chat content input by a user hits any one of the N keywords; under the condition that chat content input by a user hits any one of the N keywords, sending the hit keyword to a server; receiving M associated words determined by the server according to the hit keywords, wherein M is a positive integer greater than or equal to 1; and displaying the M associated words.
Further, after detecting whether the chat content input by the user hits any one of the N keywords, the method further includes: searching whether a record containing the hit keyword exists in a local chat record or not when the chat content input by the user hits any one of the N keywords; and displaying the record containing the hit keyword under the condition that the record containing the hit keyword exists in the local chat record.
Further, after the displaying the M associated words, the method further includes: and automatically initiating a preset problem containing the selected relevant word under the condition that the user clicks any one of the M relevant words.
On the other hand, the invention also provides a chat enhancement method, which is applied to a server and comprises the following steps: receiving a chat classification selected by a user and sent by a client; determining N keywords of the chat classification selected by the user, wherein N is a positive integer greater than or equal to 1; sending the N keywords to the client; receiving a hit keyword sent by the client under the condition that chat content input by a user hits any one of the N keywords; determining M associated words of the hit keywords, wherein M is a positive integer greater than or equal to 1; and sending the M associated words to a client.
On the other hand, the invention also provides a chat enhancing device, which is installed at the client and comprises: the first sending module is used for sending the chat classification selected by the user to the server; the first receiving module is used for receiving N keywords determined by the server according to the chat classification, wherein N is a positive integer greater than or equal to 1; the detection module is used for detecting whether the chat content input by the user hits any one of the N keywords; the second sending module is used for sending the hit keywords to the server side under the condition that chat content input by a user hits any one of the N keywords; the second receiving module is used for receiving M associated words determined by the server according to the hit keywords, wherein M is a positive integer greater than or equal to 1; and the display module is used for displaying the M associated words.
Further, still include: the retrieval module is used for retrieving whether a local chat record contains a record containing the hit keyword or not under the condition that chat content input by a user hits any one of the N keywords; the display module is further configured to display the record including the hit keyword under the condition that the record including the hit keyword exists in the local chat record.
Further, still include: and the question asking module is used for automatically initiating a preset question containing the selected relevant words under the condition that the user clicks any one of the M relevant words.
On the other hand, the invention also provides a chat enhancing device, which is installed at the server and comprises: the third receiving module is used for receiving the chat classification selected by the user and sent by the client; the first determining module is used for determining N keywords of the chat classification selected by the user, wherein N is a positive integer greater than or equal to 1; a third sending module, configured to send the N keywords to the client; a fourth receiving module, configured to receive a hit keyword sent by the client when chat content input by a user hits any one of the N keywords; the second determining module is used for determining M associated words of the hit keywords, wherein M is a positive integer greater than or equal to 1; and the fourth sending module is used for sending the M associated words to the client.
In another aspect, the present invention further provides a storage medium storing a computer program, where the computer program is executed by a processor to implement the steps of the chat enhancing method.
In another aspect, the present invention further provides a terminal, which at least includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the chat enhancement method when executing the computer program on the memory.
According to the invention, the keywords and the associated words corresponding to the corresponding keywords are requested from the server to be displayed according to the chat orientation of the user, so that the user can carry out deeper chat according to the displayed associated words in the chat process, the user can obtain better chat experience, and the problems of single chat mode, non-deeper chat content and poorer user experience are solved.
Drawings
FIG. 1 is a flow chart of a chat enhancement method in a first embodiment of the invention;
FIG. 2 is a flow chart of a chat enhancement method in a second embodiment of the invention;
FIG. 3 is a flow chart of a chat enhancement method in a third embodiment of the invention;
FIG. 4 is a flow chart of a chat enhancement method in a fourth embodiment of the invention;
fig. 5 is a schematic structural diagram of a chat enhancement apparatus according to a fifth embodiment of the invention;
fig. 6 is a schematic structural diagram of a chat enhancement apparatus according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a chat enhancement apparatus according to a seventh embodiment of the present invention;
fig. 8 is a schematic structural diagram of a chat enhancement apparatus in an eighth embodiment of the invention.
Detailed Description
In order to solve the problems that the chat mode in the prior art is single, and when a user does not know some detailed situations of the current chat classification, the chat content is not deep, and the user experience is poor, the invention provides a chat enhancement method, a device, a storage medium and a terminal, and the invention is further described in detail with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
A first embodiment of the present invention provides a chat enhancement method, which is mainly applied to a client used by a user, and a flowchart thereof is shown in fig. 1, and includes steps S101 to S106:
and S101, sending the chat classification selected by the user to a server.
S102, receiving N keywords determined by the server according to chat classification.
In the process of using the application program, a user often needs to communicate with customer service or industry professionals, and after a chat interface is opened, the client acquires the chat classification selected by the user to know the chat orientation of the user in the chat. Specifically, after the user opens the chat interface, the user may be asked about a specific chat direction, such as "property", "recruitment", "travel", or the like, or the specific chat direction may be obtained by a page type when the user clicks to enter the chat interface, and if the user clicks from the property interface to enter the chat interface with the property broker, the currently selected chat by the user may be classified as "property" by default.
The client acquires the chat classification, sends the classification to the server, determines N keywords under the current chat classification by the server and sends the N keywords to the client, wherein N is a positive integer greater than or equal to 1, and the client stores the N keywords after receiving the N keywords, can establish a basic portrait of the current user based on the keywords and establish a basis for subsequently knowing the chat orientation of the user. It should be understood that the keyword is a word in the current chat category, which is most representative of the current chat category, or the most related words in the current category of other users, and the like, and for a chat category, the keyword may have different keywords at different times due to policy changes or different user requirements, for example, for a "travel" category, during a summer period, the keyword may be "outbound trip", "parent-child trip", "graduation trip", and the like, and during a weekend, the keyword may be "peripheral trip", "leisure trip", and the like.
S103, detecting whether the chat content input by the user hits any one of the N keywords, if so, executing the step S104, otherwise, repeatedly executing the step S103.
And S104, sending the hit keywords to a server.
And S105, receiving M associated words determined by the server according to the hit keywords.
In the process of continuous chatting, the client continuously detects whether the chatting content input by the user hits a keyword issued by the server, and proves that the current user has an interest in knowing the related information of the keyword under the condition of hit, and other content related to the currently hit keyword can be recommended to the user at the moment, so that the user can conveniently carry out deep chatting related to the keyword, and if the chatting content of the user does not hit the keyword all the time, other operations are not carried out, and the detection is continuously carried out.
When any one of N keywords is hit in the chat content of the user, the hit keyword is sent to the server, and the server determines M related words corresponding to the current hit keyword, wherein M is a positive integer greater than or equal to 1. Further, in order to facilitate the user to better understand the keyword so as to perform deeper chat, the client receives the related word information and the like corresponding to the related word on the basis of receiving the related word, and the client mainly includes detailed information such as a concept of the related word, so that the user can conveniently further understand the related word, and can perform deeper chat for the keyword.
S106, displaying the M relevant words.
And after receiving the associated words sent by the server, the client displays the M associated words to the user on the current chat page. When the relevant words are displayed, the relevant words can be displayed by arranging a floating window on the current page, or the relevant words can be displayed at a certain fixed position of the chat page. And moreover, the relevant words can be displayed while the relevant words are displayed, so that the user can conveniently check the relevant words.
According to the method and the device for displaying the associated words, the keywords are requested from the server and the associated words corresponding to the keywords are displayed according to the chat orientation of the user, so that the user can conduct deeper chat according to the displayed associated words in the chat process, the user can obtain better chat experience, and the problems of single chat mode, non-deeper chat content and poor user experience are solved.
A second embodiment of the present invention provides a chat enhancement method, which is mainly applied to a client used by a user, and a flowchart thereof is shown in fig. 2, and includes steps S201 to S205, where steps S201 and S202 are the same as steps S101 and S102 of the first embodiment of the present invention, and are not described again in detail here:
s203, detecting whether the chat content inputted by the user hits any one of the N keywords, if yes, executing step S204, otherwise, repeatedly executing step S203.
S204, when the chat content inputted by the user hits any one of the N keywords, searching whether there is a record containing the hit keyword in the local chat record, and if there is a record containing the hit keyword in the local chat record, executing step S205, otherwise, repeatedly executing step S203.
S205, showing the records containing the hit keywords.
In the process of continuous chatting, a client continuously detects whether the chatting content input by a user hits a keyword issued by a server, in the case of hit, in order to avoid the problem that the user has chatted the keyword in the previous chatting process and the same problem is repeatedly asked in the subsequent process, which causes low chatting efficiency, in the case that the chatting content of the user hits a certain keyword, whether a record containing the hit keyword exists in a local chatting record is searched correspondingly, which is convenient for the user to check, when the chatting record containing the hit keyword exists in the local chatting record, the chatting record containing the hit keyword is displayed to prompt the user, if the chatting content of the user does not hit the keyword all the time, or the record containing the hit keyword does not exist in the local chatting record, then, the hit detection of the keyword is continued without performing other operations.
It should be understood that the manner of retrieving the local chat history provided in the second embodiment of the present invention may be used simultaneously with the manner of displaying the associated word in the first embodiment of the present invention, that is, when the chat content of the user hits the keyword, the associated word and the chat history are displayed simultaneously, so as to provide a better chat enhancement function for the user, and enable the user to chat more conveniently and quickly.
According to the embodiment, the keywords are requested from the server according to the chat orientation of the user, the local chat records are retrieved when the user hits the keywords, and the related records are displayed when the records containing the hit keywords exist so as to achieve the effect of prompting the user, so that the problem of low communication efficiency caused by repeated question asking of related problems aiming at the same keyword by the user is prevented.
A third embodiment of the present invention provides a chat enhancement method, which is mainly applied to a client used by a user, and a flowchart thereof is shown in fig. 3, and includes steps S301 to S307, where steps S301 to S306 correspond to steps S101 to S106 in the first embodiment of the present invention, and details thereof are not repeated herein.
S307, under the condition that the user clicks any one of the M associated words, a preset problem containing the selected associated word is automatically initiated.
When the client displays the related word, if a user is interested in a related word, the user can send a question related to the related word to an automatic opposite side by clicking the related word. For example, when the user clicks the "volume rate", the client will automatically send to the other party, for example, "how much the volume rate of asking for a house and a cell? The problem of "can both satisfy the user and to the understanding demand of plot ratio, can reduce user's input time again, improve the efficiency of communicating.
According to the embodiment, the preset problem related to the associated word is automatically sent after the user clicks the associated word, so that the input time of the user is shortened and the communication efficiency is improved under the condition that the corresponding understanding requirement of the user on the associated word is met.
A fourth embodiment of the present invention provides a chat enhancing method, which is mainly applied to a server, and a flowchart thereof is shown in fig. 4, and mainly includes steps S401 to S406:
s401, receiving the chat classification selected by the user and sent by the client.
S402, determining N keywords of the chat classification selected by the user.
S403, sending the N keywords to the client.
The server is used as one end for transmitting and receiving information at the network side and is mainly used for processing feedback of the request of the client. When the chat starts, the client receives the chat classification selected by the user and sends the chat classification to the server, after the server receives the chat classification, the server determines N keywords under the classification, and sends the N keywords to the requesting client after the N keywords are determined, wherein N is a positive integer greater than or equal to 1. It should be understood that the keyword is a word in the current chat category, which is most representative of the current chat category, or the most related words in the current category of other users, and for a chat category, the keyword in the current category determined by the server may have different keywords at different times due to policy changes or different user requirements, for example, for a "travel" category, during a summer period, the keyword may be "outbound trip", "family trip", "graduation trip", and the like, and at a weekend, the keyword may be "peripheral trip", "leisure trip", and the like.
S404, receiving a hit keyword transmitted from the client when the chat content input by the user hits any one of the N keywords.
S405, determining M relevant words of the hit keywords.
S406, the M relevant words are sent to the client.
In the continuous chatting process of the user, the client continuously detects whether the chatting content input by the user hits the keyword issued by the server, and proves that the current user has an interest in knowing the related information of the keyword under the condition of hit, and other content related to the currently hit keyword can be recommended to the user, so that the user can conveniently carry out deep chatting related to the keyword. When the client detects that the chat content hits the keywords, the client sends the hit keywords to the server, and after receiving the hit keywords, the server determines M associated words associated with the keywords and sends the M associated words to the client so as to meet the further requirements of the user on the chat.
Further, in order to facilitate the user to better understand the keyword so as to perform deeper chat, the server may determine, on the basis of determining the associated words, associated word information corresponding to each associated word and send the associated word information to the client together, where the associated word information mainly includes detailed information such as concepts of the associated words, so that the user can conveniently further understand the associated words and perform deeper chat for the keyword.
It should be understood that the server side should update the corresponding keywords under the classification and the associated words corresponding to each keyword in time, so as to ensure that the client side can obtain the latest and correct recommendation and explanation when making a request.
The embodiment determines and issues the keywords and the associated words through the server, so that the user can obtain corresponding recommendation information in time in the chatting process, deeper chatting can be performed conveniently, the chatting effect is enhanced, the user can obtain better chatting experience, and the problems of single chatting mode, non-deeper chatting content and poor user experience are solved.
A fifth embodiment of the present invention provides a chat enhancing apparatus, which is mainly installed at a client end used by a user, and a schematic structural diagram of the apparatus is shown in fig. 5, and the apparatus mainly includes: a first sending module 10, configured to send the chat classification selected by the user to the server; a first receiving module 20, coupled to the first sending module 10, configured to receive N keywords determined by the server according to the chat classification, where N is a positive integer greater than or equal to 1; a detection module 30, coupled to the first receiving module 20, for detecting whether the chat content input by the user hits on any one of the N keywords; a second sending module 40, coupled to the detecting module 30, for sending the hit keyword to the server side when the chat content input by the user hits any one of the N keywords; a second receiving module 50, coupled to the second sending module 40, configured to receive M associated words determined by the server according to the hit keyword, where M is a positive integer greater than or equal to 1; and a display module 60 coupled to the second receiving module 50 for displaying the M associated words.
In the process of using the application program, a user often needs to communicate with customer service or industry professionals, and after a chat interface is opened, the client acquires the chat classification selected by the user to know the chat orientation of the user in the chat. Specifically, after the user opens the chat interface, the user may be asked about a specific chat direction, such as "property", "recruitment", "travel", or the like, or the specific chat direction may be obtained by a page type when the user clicks to enter the chat interface, and if the user clicks from the property interface to enter the chat interface with the property broker, the currently selected chat by the user may be classified as "property" by default.
After the client acquires the chat classification, the classification is sent to the server through the first sending module 10, the server determines N keywords under the current chat classification and sends the N keywords to the client, wherein N is a positive integer greater than or equal to 1, the first receiving module 20 receives the N keywords, stores the N keywords, and can establish a basic portrait of the current user based on the keywords and establish a basis for knowing the chat orientation of the user subsequently.
In the process of continuous chatting, the detection module 30 continuously detects whether the chat content input by the user hits the keyword issued by the server, and in case of hit, proves that the current user has an interest in understanding the related information of the keyword, at this time, other content related to the currently hit keyword can be recommended to the user, so that the user can conveniently perform deep chatting related to the keyword, and if the chat content of the user does not hit the keyword all the time, no other operation is performed, and the detection module 30 continuously performs detection.
When the chat content of the user hits any one of the N keywords, the second sending module 40 sends the hit keyword to the server, and the server determines M associated words corresponding to the currently hit keyword, and receives the M associated words by the second receiving module 50, where M is a positive integer greater than or equal to 1. Further, in order to facilitate the user to better understand the keyword so as to perform deeper chat, the second receiving module 50 receives related word information and the like corresponding to the related word on the basis of receiving the related word, and the related word information and the like mainly includes detailed information such as a concept of the related word, so that the user can conveniently further understand the related word, and can perform deeper chat on the keyword.
After receiving the relevant words sent by the server, the second receiving module 50 displays the M relevant words to the user on the current chat page through the display module 60. When the relevant words are displayed, the relevant words can be displayed by arranging a floating window on the current page, or the relevant words can be displayed at a certain fixed position of the chat page. And moreover, the relevant words can be displayed while the relevant words are displayed, so that the user can conveniently check the relevant words.
According to the method and the device for displaying the associated words, the keywords are requested from the server and the associated words corresponding to the keywords are displayed according to the chat orientation of the user, so that the user can conduct deeper chat according to the displayed associated words in the chat process, the user can obtain better chat experience, and the problems of single chat mode, non-deeper chat content and poor user experience are solved.
A sixth embodiment of the present invention provides a chat enhancing apparatus, which is mainly installed at a client end used by a user, and a schematic structural diagram of the apparatus is shown in fig. 6, and the apparatus mainly includes: a first sending module 10, configured to send the chat classification selected by the user to the server; a first receiving module 20, coupled to the first sending module 10, configured to receive N keywords determined by the server according to the chat classification, where N is a positive integer greater than or equal to 1; a detection module 30, coupled to the first receiving module 20, for detecting whether the chat content input by the user hits on any one of the N keywords; a retrieving module 70, coupled to the detecting module 30, for retrieving whether a record containing a hit keyword exists in the local chat records in the case that the chat content input by the user hits any one of the N keywords; and a presentation module 60, coupled to the retrieval module 70, for presenting the record containing the hit keyword if the record containing the hit keyword exists in the local chat records.
The first sending module 10 and the first receiving module 20 in this embodiment are the same as those in the fifth embodiment of the present invention, and are not described in detail herein.
In the process of continuous chatting, the detection module 30 continuously detects whether the chat content input by the user hits the keyword issued by the server, in the case of hit, in order to avoid the problem that the user has chatted the keyword in the previous chat process and the same problem repeatedly questions appear in the subsequent process, which causes low chat efficiency, when the chat content of the user hits a certain keyword, the retrieval module 70 correspondingly retrieves whether the local chat records contain the hit keyword, so as to facilitate the user to check, when the local chat records contain the hit keyword, the display module 60 displays the chat records containing the hit keyword to prompt the user, if the chat content of the user has not hit the keyword, or the local chat records do not contain the hit keyword, then no other operation is performed and the detection module 30 continues to perform the hit detection of the keyword.
It should be understood that the search module 70 included in this embodiment may be used simultaneously with the second sending module 40 and the second receiving module 50 in the fifth embodiment of the present invention, that is, when the chat content of the user hits the keyword, the display module 60 simultaneously displays the associated word and the chat history, so as to provide a better chat enhancement function for the user, and enable the user to chat more conveniently and quickly.
According to the embodiment, the keywords are requested from the server according to the chat orientation of the user, the local chat records are retrieved when the user hits the keywords, and the related records are displayed when the records containing the hit keywords exist so as to achieve the effect of prompting the user, so that the problem of low communication efficiency caused by repeated question asking of related problems aiming at the same keyword by the user is prevented.
A seventh embodiment of the present invention provides a chat enhancing apparatus, which is mainly installed at a client end used by a user, and a schematic structural diagram of the apparatus is shown in fig. 7, and the apparatus mainly includes: a first sending module 10, configured to send the chat classification selected by the user to the server; a first receiving module 20, coupled to the first sending module 10, configured to receive N keywords determined by the server according to the chat classification, where N is a positive integer greater than or equal to 1; a detection module 30, coupled to the first receiving module 20, for detecting whether the chat content input by the user hits on any one of the N keywords; a second sending module 40, coupled to the detecting module 30, for sending the hit keyword to the server side when the chat content input by the user hits any one of the N keywords; a second receiving module 50, coupled to the second sending module 40, configured to receive M associated words determined by the server according to the hit keyword, where M is a positive integer greater than or equal to 1; a display module 60, coupled to the second receiving module 50, for displaying the M associated words; and the questioning module 80 is coupled with the presentation module 60 and is configured to automatically initiate a preset question containing the selected related word when the user clicks any one of the M related words.
In this embodiment, the first sending module 10, the first receiving module 20, the detecting module 30, the second sending module 40, the second receiving module 50, and the displaying module 60 are the same as those in the fifth embodiment of the present invention, and are not described in detail herein.
When the presentation module 60 presents the related word, if a user is interested in a related word, the question module 80 sends a question related to the related word to an automatic opposite party by clicking the related word, specifically, the question related to the related word is preset, and the preset question can be automatically sent to the opposite party only by clicking the related word.
According to the embodiment, the preset problem related to the associated word is automatically sent after the user clicks the associated word, so that the input time of the user is shortened and the communication efficiency is improved under the condition that the corresponding understanding requirement of the user on the associated word is met.
An eighth embodiment of the present invention provides a chat enhancing apparatus, which is installed and applied to a server, and a schematic structural diagram of the apparatus is shown in fig. 8, and mainly includes: a third receiving module 100, configured to receive a chat category selected by a user and sent by a client; a first determining module 200, coupled to the third receiving module 100, for determining N keywords of the chat category selected by the user, where N is a positive integer greater than or equal to 1; a third sending module 300, coupled to the first determining module 200, for sending the N keywords to the client; a fourth receiving module 400, coupled to the third sending module 300, configured to receive a hit keyword sent by the client when the chat content input by the user hits any one of the N keywords; a second determining module 500, coupled to the fourth receiving module 400, configured to determine M associated words of the hit keyword, where M is a positive integer greater than or equal to 1; a fourth sending module 600, coupled to the second determining module 500, configured to send the M associated words to the client.
The server is used as one end for transmitting and receiving information at the network side and is mainly used for processing feedback of the request of the client. When a chat starts, a client receives a chat classification selected by a user and sends the chat classification to a server, and after receiving the chat classification, the third receiving module 100 determines N keywords in the classification through the first determining module 200, and sends the N keywords to a requesting client through the third sending module 300 after determining, where N is a positive integer greater than or equal to 1. It should be understood that the keywords are words in the current chat category that most represent the current chat category, or the most words that other users relate to in the current category, and for a chat category, the keywords in the current category determined by the server may have different keywords at different times due to policy changes or different user requirements.
In the continuous chatting process of the user, the client continuously detects whether the chatting content input by the user hits the keyword issued by the server, and proves that the current user has an interest in knowing the related information of the keyword under the condition of hit, and other content related to the currently hit keyword can be recommended to the user, so that the user can conveniently carry out deep chatting related to the keyword. When the client detects that the chat content hits the keyword, the client sends the hit keyword to the server, and after receiving the hit keyword, the fourth receiving module 400 determines M associated words associated with the keyword by the second determining module 500, and sends the M associated words to the client through the fourth sending module 600, so as to meet the further requirement of the user for chat.
Further, in order to facilitate the user to better understand the keyword so as to perform deeper chat, the second determining module 500 may further determine related word information corresponding to each related word on the basis of determining the related word, and send the related word information to the client together through the fourth sending module 600, where the related word information mainly includes detailed information such as a concept of the related word, so as to facilitate the user to further understand the related word, and perform deeper chat for the keyword.
It should be understood that the server side should update the corresponding keywords under the classification and the associated words corresponding to each keyword in time, so as to ensure that the client side can obtain the latest and correct recommendation and explanation when making a request.
The embodiment determines and issues the keywords and the associated words through the server, so that the user can obtain corresponding recommendation information in time in the chatting process, deeper chatting can be performed conveniently, the chatting effect is enhanced, the user can obtain better chatting experience, and the problems of single chatting mode, non-deeper chatting content and poor user experience are solved.
A ninth embodiment of the present invention provides a storage medium storing a computer program that realizes the following steps S11 to S16 when the computer program is executed by a processor:
s11, sending the chat classification selected by the user to the server;
s12, receiving N keywords determined by the server according to chat classification, wherein N is a positive integer greater than or equal to 1;
s13, detecting whether the chat content input by the user hits any one of the N keywords;
s14, when the chat content input by the user hits any one of the N keywords, the hit keyword is sent to the server;
s15, receiving M associated words determined by the server according to the hit keywords, wherein M is a positive integer greater than or equal to 1;
and S16, displaying the M related words.
In this embodiment, the storage medium may be installed in a client used by a user, such as a mobile phone, a tablet computer, and the like. Since the specific steps of the chat enhancement method have been described in detail in the first embodiment, no further description is given in this embodiment.
A tenth embodiment of the present invention provides a storage medium storing a computer program that when executed by a processor implements steps S21 to S26 as follows:
s21, receiving the chat classification selected by the user and sent by the client;
s22, determining N keywords of the chat classification selected by the user, wherein N is a positive integer greater than or equal to 1;
s23, sending the N keywords to the client;
s24, receiving the hit keyword sent by the client when the chat content input by the user hits any one of the N keywords;
s25, determining M associated words of the hit keywords, wherein M is a positive integer greater than or equal to 1;
and S26, sending the M relevant words to the client.
In this embodiment, the storage medium may be installed in a server, such as a server or the like. Since the specific steps of the chat enhancement method have been described in detail in the fourth embodiment, no further description is given in this embodiment.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes. Optionally, in this embodiment, the processor executes the method steps described in the above embodiments according to the program code stored in the storage medium. Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again. It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
An eleventh embodiment of the present invention provides a terminal including at least a memory having a computer program stored thereon, and a processor that implements the following steps S31 to S36 when executing the computer program on the memory:
s31, sending the chat classification selected by the user to the server;
s32, receiving N keywords determined by the server according to chat classification, wherein N is a positive integer greater than or equal to 1;
s33, detecting whether the chat content input by the user hits any one of the N keywords;
s34, when the chat content input by the user hits any one of the N keywords, the hit keyword is sent to the server;
s35, receiving M associated words determined by the server according to the hit keywords, wherein M is a positive integer greater than or equal to 1;
and S36, displaying the M related words.
In this embodiment, the terminal may be a device such as a mobile phone or a tablet computer used by the user. Since the specific steps of the chat enhancement method have been described in detail in the first embodiment, no further description is given in this embodiment.
A twelfth embodiment of the present invention provides a terminal including at least a memory having a computer program stored thereon, and a processor that implements the following steps S41 to S46 when executing the computer program on the memory:
s41, receiving the chat classification selected by the user and sent by the client;
s42, determining N keywords of the chat classification selected by the user, wherein N is a positive integer greater than or equal to 1;
s43, sending the N keywords to the client;
s44, receiving the hit keyword sent by the client when the chat content input by the user hits any one of the N keywords;
s45, determining M associated words of the hit keywords, wherein M is a positive integer greater than or equal to 1;
and S46, sending the M relevant words to the client.
In this embodiment, the terminal may be a device such as a server. Since the specific steps of the chat enhancement method have been described in detail in the fourth embodiment, no further description is given in this embodiment.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.

Claims (12)

1. A chat enhancement method is applied to a client and is characterized by comprising the following steps:
sending the chat classification selected by the user to a server;
receiving N keywords determined by the server according to the chat classification, wherein N is a positive integer greater than or equal to 1;
detecting whether chat content input by a user hits any one of the N keywords;
under the condition that chat content input by a user hits any one of the N keywords, sending the hit keyword to a server;
receiving M associated words determined by the server according to the hit keywords, wherein M is a positive integer greater than or equal to 1;
and displaying the M associated words.
2. The chat enhancement method of claim 1, wherein after detecting whether the chat content inputted by the user hits any of the N keywords, further comprising:
searching whether a record containing the hit keyword exists in a local chat record or not when the chat content input by the user hits any one of the N keywords;
and displaying the record containing the hit keyword under the condition that the record containing the hit keyword exists in the local chat record.
3. The chat enhancement method of claim 1, wherein after presenting the M associated words, further comprising:
and automatically initiating a preset problem containing the selected relevant word under the condition that the user clicks any one of the M relevant words.
4. A chat enhancement method is applied to a server side and is characterized by comprising the following steps:
receiving a chat classification selected by a user and sent by a client;
determining N keywords of the chat classification selected by the user, wherein N is a positive integer greater than or equal to 1;
sending the N keywords to the client;
receiving a hit keyword sent by the client under the condition that chat content input by a user hits any one of the N keywords;
determining M associated words of the hit keywords, wherein M is a positive integer greater than or equal to 1;
and sending the M associated words to a client.
5. A chat enhancement device installed at a client, comprising:
the first sending module is used for sending the chat classification selected by the user to the server;
the first receiving module is used for receiving N keywords determined by the server according to the chat classification, wherein N is a positive integer greater than or equal to 1;
the detection module is used for detecting whether the chat content input by the user hits any one of the N keywords;
the second sending module is used for sending the hit keywords to the server side under the condition that chat content input by a user hits any one of the N keywords;
the second receiving module is used for receiving M associated words determined by the server according to the hit keywords, wherein M is a positive integer greater than or equal to 1;
and the display module is used for displaying the M associated words.
6. The chat enhancing apparatus of claim 5, further comprising:
the retrieval module is used for retrieving whether a local chat record contains a record containing the hit keyword or not under the condition that chat content input by a user hits any one of the N keywords;
the display module is further configured to display the record including the hit keyword under the condition that the record including the hit keyword exists in the local chat record.
7. The chat enhancing apparatus of claim 5, further comprising:
and the question asking module is used for automatically initiating a preset question containing the selected relevant words under the condition that the user clicks any one of the M relevant words.
8. A chat enhancement device installed on a server side comprises:
the third receiving module is used for receiving the chat classification selected by the user and sent by the client;
the first determining module is used for determining N keywords of the chat classification selected by the user, wherein N is a positive integer greater than or equal to 1;
a third sending module, configured to send the N keywords to the client;
a fourth receiving module, configured to receive a hit keyword sent by the client when chat content input by a user hits any one of the N keywords;
the second determining module is used for determining M associated words of the hit keywords, wherein M is a positive integer greater than or equal to 1;
and the fourth sending module is used for sending the M associated words to the client.
9. A storage medium storing a computer program, characterized in that the computer program, when being executed by a processor, carries out the steps of the chat enhancement method of any one of claims 1 to 3.
10. A storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the steps of the chat enhancement method of claim 4.
11. A terminal comprising at least a memory, a processor, said memory having a computer program stored thereon, characterized in that said processor, when executing the computer program on said memory, is adapted to carry out the steps of the chat enhancement method according to any of claims 1 to 3.
12. A terminal comprising at least a memory, a processor, said memory having a computer program stored thereon, wherein said processor when executing the computer program on said memory performs the steps of the chat enhancement method of claim 4.
CN201811277283.9A 2018-10-30 2018-10-30 Chat enhancement method, device, storage medium and terminal Active CN109446311B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811277283.9A CN109446311B (en) 2018-10-30 2018-10-30 Chat enhancement method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811277283.9A CN109446311B (en) 2018-10-30 2018-10-30 Chat enhancement method, device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN109446311A CN109446311A (en) 2019-03-08
CN109446311B true CN109446311B (en) 2022-04-05

Family

ID=65549879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811277283.9A Active CN109446311B (en) 2018-10-30 2018-10-30 Chat enhancement method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN109446311B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111125307A (en) * 2019-12-16 2020-05-08 维沃移动通信有限公司 Chat record query method and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891874A (en) * 2011-07-21 2013-01-23 腾讯科技(深圳)有限公司 Method, device and system for providing search prompt message based on conversation
CN104836720A (en) * 2014-02-12 2015-08-12 北京三星通信技术研究有限公司 Method for performing information recommendation in interactive communication, and device
CN105607756A (en) * 2015-12-24 2016-05-25 百度在线网络技术(北京)有限公司 Information recommendation method and device
CN105843962A (en) * 2016-04-18 2016-08-10 百度在线网络技术(北京)有限公司 Information processing and displaying methods, information processing and displaying devices as well as information processing and displaying system
CN105989040A (en) * 2015-02-03 2016-10-05 阿里巴巴集团控股有限公司 Intelligent question-answer method, device and system
CN106789551A (en) * 2016-11-14 2017-05-31 北京小米移动软件有限公司 Conversation message methods of exhibiting and device
CN107453980A (en) * 2017-07-26 2017-12-08 北京小米移动软件有限公司 Problem response method and device in instant messaging
CN108306814A (en) * 2017-08-11 2018-07-20 腾讯科技(深圳)有限公司 Information-pushing method, device, terminal based on instant messaging and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891874A (en) * 2011-07-21 2013-01-23 腾讯科技(深圳)有限公司 Method, device and system for providing search prompt message based on conversation
CN104836720A (en) * 2014-02-12 2015-08-12 北京三星通信技术研究有限公司 Method for performing information recommendation in interactive communication, and device
CN105989040A (en) * 2015-02-03 2016-10-05 阿里巴巴集团控股有限公司 Intelligent question-answer method, device and system
CN105607756A (en) * 2015-12-24 2016-05-25 百度在线网络技术(北京)有限公司 Information recommendation method and device
CN105843962A (en) * 2016-04-18 2016-08-10 百度在线网络技术(北京)有限公司 Information processing and displaying methods, information processing and displaying devices as well as information processing and displaying system
CN106789551A (en) * 2016-11-14 2017-05-31 北京小米移动软件有限公司 Conversation message methods of exhibiting and device
CN107453980A (en) * 2017-07-26 2017-12-08 北京小米移动软件有限公司 Problem response method and device in instant messaging
CN108306814A (en) * 2017-08-11 2018-07-20 腾讯科技(深圳)有限公司 Information-pushing method, device, terminal based on instant messaging and storage medium

Also Published As

Publication number Publication date
CN109446311A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
US11349991B2 (en) Systems and methods to present voice message information to a user of a computing device
US9444878B1 (en) Systems and methods for device emulation on mobile channel
US8326829B2 (en) System and method for displaying publication dates for search results
US10861023B2 (en) Method and system for question prioritization based on analysis of the question content and predicted asker engagement before answer content is generated
US11528240B2 (en) Real-time integration of machine intelligence into client messaging platforms
US20100324961A1 (en) Method and system of providing service assistance using a hierarchical order of communication channels
US20090310768A1 (en) Social network based call management
US10484298B2 (en) Optimization of network resources
US9665640B2 (en) System and method for collapsing search results
CN102999513B (en) Based on information displaying method and the device of geographic position service search
US20100114873A1 (en) System and method for communicating search results
US20160364453A1 (en) Method, system and apparatus for managing contact data
CN113923175A (en) Communication session management method and device
CN103986746A (en) Method and device enabling user to establish communication with third party
CN109446311B (en) Chat enhancement method, device, storage medium and terminal
CN103379022B (en) A kind of instant communication method based on Internet map search and system
US9736297B2 (en) Phone number canonicalization and information discoverability
CN113542506B (en) Outbound method, device, equipment and medium
CN112822089B (en) Method and device for adding friends
US20230177418A1 (en) System for Matching People Based on an Event
JP4171400B2 (en) Access system, telephone terminal and server

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
GR01 Patent grant
GR01 Patent grant