CN112328740B - Chat record query method, device, equipment and storage medium - Google Patents

Chat record query method, device, equipment and storage medium Download PDF

Info

Publication number
CN112328740B
CN112328740B CN202011196910.3A CN202011196910A CN112328740B CN 112328740 B CN112328740 B CN 112328740B CN 202011196910 A CN202011196910 A CN 202011196910A CN 112328740 B CN112328740 B CN 112328740B
Authority
CN
China
Prior art keywords
keyword
time period
time
chat
sub
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
CN202011196910.3A
Other languages
Chinese (zh)
Other versions
CN112328740A (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.)
Zhejiang Tonghuashun Intelligent Technology Co Ltd
Original Assignee
Zhejiang Tonghuashun Intelligent Technology 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 Zhejiang Tonghuashun Intelligent Technology Co Ltd filed Critical Zhejiang Tonghuashun Intelligent Technology Co Ltd
Priority to CN202011196910.3A priority Critical patent/CN112328740B/en
Publication of CN112328740A publication Critical patent/CN112328740A/en
Application granted granted Critical
Publication of CN112328740B publication Critical patent/CN112328740B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3322Query formulation using system suggestions
    • G06F16/3323Query formulation using system suggestions using document space presentation or visualization, e.g. category, hierarchy or range presentation and selection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/3332Query translation
    • G06F16/3334Selection or weighting of terms from queries, including natural language queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/38Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention discloses a chat record query method, a chat record query device, chat record query equipment and a chat record storage medium. The method comprises the following steps: receiving a query instruction, wherein the query instruction comprises time information; acquiring chat record information corresponding to the time information, and determining at least one keyword corresponding to the chat record information, wherein the at least one keyword corresponds to at least one time period; and displaying the at least one keyword and the corresponding time period. The method and the device can determine the corresponding keywords based on the chat record information corresponding to the time information in the query instruction, display the keywords and the corresponding time periods, inspire the user, help the user to search the chat record, solve the problem that the chat record cannot be obtained quickly and effectively due to the fact that the search target is ambiguous in the prior art, and optimize the existing chat record query scheme.

Description

Chat record query method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of instant messaging, in particular to a chat record query method, a chat record query device, chat record query equipment and a chat record storage medium.
Background
With the development of the internet, instant Messaging (IM) technology is widely used, and more users use IM software to conduct social interaction.
In IM conversation systems, when a user wants to find a history, the user can only find the content of the relevant chat record by means of keyword searching. Referring to fig. 1, the specific flow is as follows: clicking a more button in an IM chat panel, and then entering a chat detail page to select a chat content searching mode; then entering a chat record search page, inputting keywords, and clicking to search; and finally, selecting a result and entering a corresponding chat module.
This way of finding chat records by keyword searching depends on whether the user has an exact keyword or not, and when the target is ambiguous, e.g. the user does not remember the keyword to be found, the chat records cannot be found by the above way.
Disclosure of Invention
The embodiment of the invention provides a chat record query method, a chat record query device, chat record query equipment and a chat record query storage medium, which can optimize the existing chat record query scheme.
In a first aspect, an embodiment of the present invention provides a chat log query method, including:
receiving a query instruction, wherein the query instruction comprises time information;
acquiring chat record information corresponding to the time information, and determining at least one keyword corresponding to the chat record information, wherein the at least one keyword corresponds to at least one time period;
and displaying the at least one keyword and the corresponding time period.
In a second aspect, an embodiment of the present invention further provides a chat record query apparatus, including:
the instruction receiving module is used for receiving a query instruction, wherein the query instruction comprises time information;
the keyword determining module is used for acquiring the chat record information corresponding to the time information and determining at least one keyword corresponding to the chat record information, wherein the at least one keyword corresponds to at least one time period;
and the display module is used for displaying the at least one keyword and the corresponding time period.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
a memory for storing one or more programs;
the display screen is used for displaying interface information;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the chat log query method as described in the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the chat-record querying method according to the first aspect.
The embodiment of the invention provides a chat record query method, a chat record query device, chat record query equipment and a chat record storage medium, wherein a query instruction is received, and the query instruction comprises time information; acquiring chat record information corresponding to the time information, and determining at least one keyword corresponding to the chat record information, wherein the at least one keyword corresponds to at least one time period; and displaying the at least one keyword and the corresponding time period. The method and the device can determine the corresponding keywords based on the chat record information corresponding to the time information in the query instruction, display the keywords and the corresponding time periods, inspire the user, help the user to search the chat record, solve the problem that the chat record cannot be obtained quickly and effectively due to the fact that the search target is ambiguous in the prior art, and optimize the existing chat record query scheme.
Drawings
FIG. 1 is a schematic diagram of a prior art chat log query process;
fig. 2 is a flowchart of a chat log query method according to an embodiment of the invention;
fig. 3 is a flowchart of a chat log query method according to a second embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a process for generating a keyword node interface according to an embodiment of the present invention;
fig. 5 is a schematic view showing a part of content of a first display window according to a second embodiment of the present invention;
fig. 6 is a schematic diagram of a display process of a first display window according to a second embodiment of the present invention;
fig. 7 is a block diagram of a chat log query apparatus according to a third embodiment of the present invention;
fig. 8 is a block diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like. Furthermore, embodiments of the invention and features of the embodiments may be combined with each other without conflict.
Example 1
Fig. 2 is a flowchart of a chat log query method according to an embodiment of the present invention, where the embodiment is applicable to a situation of querying a chat log in instant messaging software, and the method may be performed by a chat log query device, where the chat log query device may be implemented by software and/or hardware, and may be integrated in an electronic device, where the electronic device may be a mobile terminal such as a mobile phone, a tablet, a notebook, or a fixed terminal such as a desktop. The electronic equipment is provided with instant messaging software so as to conduct social contact through the instant messaging software. Embodiments are not limited to the type of instant messaging software, and may be, for example, weChat, QQ, web bubble, etc. Referring to fig. 2, the method may include the steps of:
s110, receiving a query instruction, wherein the query instruction comprises time information.
The query instruction is used for querying chat records in instant messaging software. Optionally, when the touch operation of the user on the electronic device is monitored, the query instruction is received, where the touch operation may be a control for querying chat record information in a touch instant messaging software interface. Alternatively, the query instruction may be received when a query statement sent by the user through the user terminal is received, where the user terminal may be an intelligent terminal such as a mobile phone or a computer. The time information may include a time period or a time point, and the size of the time period may be set according to the needs of the user. The time point may be a time when the user sends the query instruction, and considering that the time interval is short when the query instruction is sent to the electronic device, the embodiment may use the time when the query instruction is received as the sending time of the query instruction.
S120, obtaining chat record information corresponding to the time information, and determining at least one keyword corresponding to the chat record information, wherein the at least one keyword corresponds to at least one time period.
The keywords are used to find chat records. In one example, when the time information is a time period, chat-recording information corresponding to the time period may be obtained, and cluster analysis may be performed on the chat-recording information in the time period to obtain at least one keyword, where the keyword corresponds to the time period of the chat-recording information. When the time period is longer, in order to facilitate the user to find, the time period can be divided, the dividing mode can be determined according to the situation, for example, the time periods can be uniformly divided, namely, the time intervals of two adjacent sub-time periods obtained by dividing are the same, the number of the sub-time periods can be specified, and the time periods are randomly divided by the electronic equipment. In one example, when the time information is a time point, the preset time period before the current time may be divided according to a preset time interval with the current time point as a reference, to obtain a plurality of sub-time periods; and obtaining corresponding chat record information aiming at each sub-time period, and carrying out cluster analysis on the chat record information to obtain keywords corresponding to the sub-time period. The size of the preset time period may be set according to circumstances, and may be, for example, one week, one month, or the like.
S130, displaying the at least one keyword and the corresponding time period.
Optionally, the time periods can be arranged according to the sequence of the time periods, and the keywords corresponding to the time periods are displayed in an associated manner with the corresponding time periods, so that the user can find and position conveniently. The user can be inspired by displaying the time periods and the keywords corresponding to the time periods to the user, so that the user definitely needs the keywords to be queried, and further chat record information is rapidly acquired.
The first embodiment of the invention provides a chat record query method, which is characterized in that a query instruction is received, wherein the query instruction comprises time information; acquiring chat record information corresponding to the time information, and determining at least one keyword corresponding to the chat record information, wherein the at least one keyword corresponds to at least one time period; and displaying the at least one keyword and the corresponding time period. The method can determine the corresponding keywords based on the chat record information corresponding to the time information in the query instruction, display the keywords and the corresponding time periods, inspire the user, help the user find the chat record, solve the problem that the chat record cannot be obtained quickly and effectively due to the fact that the search target is ambiguous in the prior art, and optimize the existing chat record query scheme.
On the basis of the above embodiment, when the time information includes a time period, the corresponding S120 may include:
performing time division on the time period to obtain a sub-time period;
obtaining chat record information in each sub-time period;
and carrying out cluster analysis on the chat record information in each sub-time period respectively to obtain at least one keyword corresponding to each sub-time period.
The time period included in the query instruction may be a historical time period from the current time point or a historical time period from other time points except the current time point, and the length and the number of the time periods may be determined according to the actual situation of the user, which is not specifically limited in embodiments. Therefore, keywords of chat record information in a corresponding time period can be determined according to the requirements of users, and query efficiency is improved. Optionally, the chat record information in each sub-time period can be subjected to cluster analysis through a cluster algorithm to obtain corresponding keywords. The clustering algorithm can adopt a K-MEANS algorithm, a K-MEDOIDS algorithm or a CLARANS algorithm, etc.
On the basis of the above embodiment, when the time information includes a time point, the corresponding S120 may include:
determining a time period from the time point to a target time point, and performing time division on the time period to obtain a sub-time period;
obtaining chat record information in each sub-time period;
and carrying out cluster analysis on the chat record information in each sub-time period respectively to obtain at least one keyword corresponding to each sub-time period.
The target point in time may be determined randomly by the electronic device or may be set by default. Illustratively, assuming that the current point in time is XX: YY and the target point in time is XX: YY-t, the period of time is XX: YY to XX: YY-t. In this case, the user does not need to specify a time period, after receiving the query instruction, the electronic device may use the receiving time of the query instruction as a current time point, and use a time interval between the current time point and the target time point as the time period of the current query, and then execute a similar process as the above to obtain keywords corresponding to each sub-time period.
Example two
Fig. 3 is a flowchart of a chat log query method according to a second embodiment of the present invention, where the chat log query method is optimized based on the foregoing embodiment, and referring to fig. 3, the method may include the following steps:
s210, receiving a query instruction, wherein the query instruction comprises time information.
S220, acquiring chat record information corresponding to the time information, and determining at least one keyword corresponding to the chat record information, wherein the at least one keyword corresponds to at least one time period.
And S230, when the first touch operation of the user on the electronic equipment is monitored, the time period and the corresponding keyword association are displayed on a keyword node interface.
The keyword node interface is displayed on a first display window of the electronic device, and the keyword node interface comprises at least one time period and keywords corresponding to the time period.
The keyword node interface can be an interface capable of showing the association relation between keywords and corresponding nodes, and by showing the keyword node interface to a user, the user can be inspired to inquire about the needed chat record, so that the user can still search the chat record in a keyword mode even if the content of the chat record to be inquired is unclear. The corresponding node may be a sub-period as described in the above embodiment, and may also be a session participant. Accordingly, the keyword node interface may be generated based on the association of the keywords and the sub-time periods. The keyword node interface may be generated based on the association relationship between the keywords and the session participants, and in one example, chat records of different session participants may be obtained, the chat records of different session participants may be analyzed to obtain corresponding keywords, and the different session participants and the keywords may be associated to obtain the keyword node interface. Optionally, a keyword node interface may also be generated prior to S230.
Taking the generation of a keyword node interface based on the association relation between keywords and sub-time periods as an example, referring to fig. 4, taking the current time point as XX: YY and the target time point as XX: YY- (n-1) T as an example, for each sub-time period, chat records of all users in the sub-time period can be obtained, clustering analysis is performed on the chat records to obtain keywords, and each sub-time period is associated with the corresponding keywords to obtain the keyword node interface. 1, 2, 3 in fig. 4 represent keywords corresponding to the sub-time period, and the number of keywords may be increased or decreased in practical application. According to the embodiment, the keywords in different sub-time periods are displayed in the form of time slices through the keyword node interface, so that the user can conveniently find and position the keywords.
The first display window can be a window used for displaying the keyword node interface on the display screen, and can be displayed in a partial area of the display screen or in the whole area of the display screen. When the first display window is displayed in a partial area of the display screen, the area can be a fixed area of the display screen or a randomly selected area, and in this case, the first display window can move in the display area of the whole display screen according to requirements. Specifically, when the first touch operation of the user on the electronic device is monitored, a first display window can be popped up, and a keyword node interface is displayed in the first display window. In one example, the first touch operation may be an operation of a user logging in the instant messaging software, that is, the electronic device may automatically pop up the first display window after monitoring that the user logs in the instant messaging software, and display a keyword node interface on the first display window for the user to select. In an example, the first touch operation may also be a display window entry control in a chat interface of the touch instant messaging software, for example, after the user logs in the instant messaging software, if a chat record to be queried is not clear, the display window entry control in the chat page may be clicked, when the electronic device monitors that the display window entry control is triggered, the first display window is popped up, and a keyword node interface is displayed in the first display window for the user to select.
S240, receiving a target keyword selection signal.
Wherein the target keywords include at least one of the displayed keywords. Optionally, when a second touch operation of the user on the displayed keyword is received, a target keyword selection signal is obtained. The second touch operation may be an operation of selecting a target keyword. Optionally, a touch button may be set for each keyword in the keyword node interface, where the touch button has a unique mapping relationship with the corresponding keyword, and the user may touch one or more touch buttons in the keyword node interface according to personal needs, so as to use the keyword corresponding to the touch button as the target keyword. When the electronic equipment monitors that a certain touch button is activated, a target keyword selection signal is received.
Referring to fig. 5, fig. 5 is a schematic view illustrating a partial content display of a first display window according to a second embodiment of the present invention. Fig. 5 is an enlarged schematic diagram of a first sub-period before a current time point in the first display window, where each keyword corresponds to a touch button, and the touch button is clicked, that is, the keyword is selected as a target keyword. And when the electronic equipment monitors touch operation of a user on a certain touch button, a target keyword selection signal is obtained.
S250, responding to the target keyword selection signal, and displaying chat records corresponding to the target keywords in a second display window.
The second display window is another window on the display screen, can be used for displaying chat interface information of the user, and can be displayed in the whole area of the display screen. The first display window may be smaller than the second display window in this embodiment. The first display window may be suspended above the second display window. In one example, after receiving the target keyword signal, if no other actions of the user are detected within a set time, the electronic device may automatically close the first display window and display a chat record corresponding to the target keyword in the second display window. The setting time may be set according to circumstances, and may be set to 5s, for example. In one example, after receiving a confirmation signal of the user to the target keyword, the first display window may be closed, the second display window may be entered, and the chat record corresponding to the target keyword may be displayed. After the first display window pops up, if the operation of the user on the first display window is not monitored within the set time, the first display window can be automatically closed, and the second display window is returned. When the electronic device responds to the operation of the first display window, the electronic device does not respond to the operation of the second display window, and the second display window is in a locking state at this time, so that misoperation on the second display window can be prevented.
Referring to fig. 6, an exemplary illustration of a display process of a first display window provided in a second embodiment of the present invention is shown in fig. 6, a display window entry control 11 is provided in a chat interface corresponding to a second display window 1, and a first display window 2 can be popped up by clicking the display window entry control 11, where the first display window 2 is suspended above the second display window 1, and at this time, a user cannot operate the second display window 1, and each sub-time period and a keyword corresponding to the sub-time period are displayed in the first display window 2. When the user does not know the chat records to be queried, the keywords corresponding to each sub-time period can be queried, and the query time is saved. Wherein fig. 5 is an enlarged schematic view of a portion of fig. 6.
The second embodiment of the present invention provides a chat record query method, on the basis of the foregoing embodiment, performing time division on a time period between a current time point and a target time point or a preset time period to obtain sub-time periods, performing cluster analysis on all acquired chat records for each sub-time period, determining keywords, and associating the keywords with corresponding sub-time periods, and displaying the determined keywords on a first display window, thereby inspiring a user to determine keywords to be queried, and rapidly positioning the chat records.
Example III
Fig. 7 is a block diagram of a chat log query apparatus according to a third embodiment of the present invention, where the apparatus may execute the chat log query method described in the foregoing embodiment, and referring to fig. 7, the apparatus may include:
an instruction receiving module 31, configured to receive a query instruction, where the query instruction includes time information;
a keyword determining module 32, configured to obtain chat log information corresponding to the time information, and determine at least one keyword corresponding to the chat log information, where the at least one keyword corresponds to at least one time period;
and a display module 33, configured to display the at least one keyword and the corresponding time period.
The third embodiment of the invention provides a chat record query device, which is used for receiving a query instruction, wherein the query instruction comprises time information; acquiring chat record information corresponding to the time information, and determining at least one keyword corresponding to the chat record information, wherein the at least one keyword corresponds to at least one time period; and displaying the at least one keyword and the corresponding time period. The method can determine the corresponding keywords based on the chat record information corresponding to the time information in the query instruction, display the keywords and the corresponding time periods, inspire the user, help the user find the chat record, solve the problem that the chat record cannot be obtained quickly and effectively due to the fact that the search target is ambiguous in the prior art, and optimize the existing chat record query scheme.
On the basis of the above embodiment, the time information includes a time period;
the keyword determining module 32 is specifically configured to:
performing time division on the time period to obtain a sub-time period;
obtaining chat record information in each sub-time period;
and carrying out cluster analysis on the chat record information in each sub-time period respectively to obtain at least one keyword corresponding to each sub-time period.
On the basis of the above embodiment, the time information includes a time point;
the keyword determining module 32 is specifically configured to:
determining a time period from the time point to a target time point, and performing time division on the time period to obtain a sub-time period;
obtaining chat record information in each sub-time period;
and carrying out cluster analysis on the chat record information in each sub-time period respectively to obtain at least one keyword corresponding to each sub-time period.
On the basis of the above embodiment, the display module 33 is specifically configured to:
when the first touch operation of the user on the electronic equipment is monitored, the time period and the corresponding keyword are displayed in a keyword node interface in a related mode, the keyword node interface is displayed on a first display window of the electronic equipment, and the keyword node interface comprises at least one time period and keywords corresponding to the time period.
On the basis of the above embodiment, the apparatus may further include:
the signal receiving module is used for receiving a target keyword selection signal after the at least one keyword and the corresponding time period are displayed, wherein the target keyword comprises at least one of the displayed keywords;
and the response module is used for responding to the target keyword selection signal and displaying chat records corresponding to the target keywords in a second display window.
On the basis of the foregoing embodiment, the signal receiving module is specifically configured to:
and receiving a second touch operation of the user on the displayed keywords, and obtaining the target keyword selection signal.
The chat record query device provided by the embodiment of the invention can be used for executing the chat record query method provided by the embodiment, and has corresponding functions and beneficial effects.
Example IV
Fig. 8 is a block diagram of an electronic device according to a fourth embodiment of the present invention, where the electronic device may include a processor 41, a memory 42, an input device 43 and a display screen 44, and the number of the processors 41 in the electronic device may be one or more, and in fig. 8, one processor 41 is taken as an example, and the processor 41, the memory 42, the input device 43 and the display screen 44 in the electronic device may be connected by a bus or other manners, and in fig. 8, the connection by a bus is taken as an example.
The memory 42 is a computer readable storage medium, and may be used to store software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the chat-record query method in the embodiment of the present invention. The processor 41 executes various functional applications of the electronic device and data processing by executing software programs, instructions and modules stored in the memory 42, i.e., implements the chat-record inquiry method of the above-described embodiment.
The memory 42 mainly includes a memory program area and a memory data area, wherein the memory program area can store an operating system, at least one application program required for functions; the storage data area may store data created according to the use of the terminal, etc. In addition, memory 42 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 42 may further include memory located remotely from processor 41, which may be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 43 may be used for receiving entered numeric or character information and for generating key signal inputs related to user settings and function control of the electronic device. The display screen 44 may be used to display interface information that may include a first display window and keyword node interface information within the first display window, and may also include a second display window and chat interface information within the second display window.
The electronic device provided by the embodiment of the present invention belongs to the same inventive concept as the chat-record query method provided by the above embodiment, and technical details which are not described in detail in the present embodiment can be seen in the above embodiment, and the present embodiment has the same beneficial effects of executing the chat-record query method.
Example five
A fifth embodiment of the present invention provides a storage medium having stored thereon a computer program for executing a chat log query method when executed by a processor, the method comprising:
receiving a query instruction, wherein the query instruction comprises time information;
acquiring chat record information corresponding to the time information, and determining at least one keyword corresponding to the chat record information, wherein the at least one keyword corresponds to at least one time period;
and displaying the at least one keyword and the corresponding time period.
The storage media of embodiments of the present invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access Memory (Random Access Memory, RAM), a Read-Only Memory (ROM), an erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to: electromagnetic signals, optical signals, or any suitable combination of the preceding. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, radio Frequency (RF), and the like, or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (6)

1. A chat log query method, comprising:
receiving a query instruction, wherein the query instruction comprises time information;
acquiring chat record information corresponding to the time information, and determining at least one keyword corresponding to the chat record information, wherein the at least one keyword corresponds to at least one time period;
displaying the at least one keyword and the corresponding time period;
wherein the time information includes a time period;
the obtaining the chat log information corresponding to the time information and determining at least one keyword corresponding to the chat log information includes:
performing time division on the time period to obtain a sub-time period;
obtaining chat record information in each sub-time period;
performing cluster analysis on chat record information in each sub-time period respectively to obtain at least one keyword corresponding to each sub-time period;
wherein the time information includes a time point;
the obtaining the chat log information corresponding to the time information and determining at least one keyword corresponding to the chat log information includes:
determining a time period from the time point to a target time point, and performing time division on the time period to obtain a sub-time period;
obtaining chat record information in each sub-time period;
performing cluster analysis on chat record information in each sub-time period respectively to obtain at least one keyword corresponding to each sub-time period;
after displaying the at least one keyword and the corresponding time period, the method further comprises:
receiving a target keyword selection signal, the target keyword comprising at least one of the presented keywords;
responding to the target keyword selection signal, and displaying chat records corresponding to the target keywords in a second display window;
the determining of the target keyword comprises the following steps:
setting a touch button for each keyword in the keyword node interface, wherein the touch button and the corresponding keyword are in a unique mapping relation, and a user can touch one or more touch buttons in the keyword node interface according to requirements so as to take the keyword corresponding to the touch button as the target keyword;
the keyword node interface is generated based on the association relation between the keywords and the sub-time period and/or based on the association relation between the keywords and the session participants.
2. The method of claim 1, wherein the displaying the at least one keyword and the corresponding time period comprises:
when the first touch operation of the user on the electronic equipment is monitored, the time period and the corresponding keyword are displayed in a keyword node interface in a related mode, the keyword node interface is displayed on a first display window of the electronic equipment, and the keyword node interface comprises at least one time period and keywords corresponding to the time period.
3. The method of claim 1, wherein receiving the target keyword selection signal comprises:
and receiving a second touch operation of the user on the displayed keywords, and obtaining the target keyword selection signal.
4. A chat log query apparatus, comprising:
the instruction receiving module is used for receiving a query instruction, wherein the query instruction comprises time information;
the keyword determining module is used for acquiring the chat record information corresponding to the time information and determining at least one keyword corresponding to the chat record information, wherein the at least one keyword corresponds to at least one time period;
the display module is used for displaying the at least one keyword and the corresponding time period;
wherein the time information includes a time period;
the keyword determining module is specifically configured to:
performing time division on the time period to obtain a sub-time period;
obtaining chat record information in each sub-time period;
performing cluster analysis on chat record information in each sub-time period respectively to obtain at least one keyword corresponding to each sub-time period;
wherein the time information includes a time point;
the keyword determining module is specifically configured to:
determining a time period from the time point to a target time point, and performing time division on the time period to obtain a sub-time period;
obtaining chat record information in each sub-time period;
performing cluster analysis on chat record information in each sub-time period respectively to obtain at least one keyword corresponding to each sub-time period;
wherein the apparatus further comprises:
the signal receiving module is used for receiving a target keyword selection signal after the at least one keyword and the corresponding time period are displayed, wherein the target keyword comprises at least one of the displayed keywords;
the response module is used for responding to the target keyword selection signal and displaying chat records corresponding to the target keywords in a second display window;
the determining of the target keyword comprises the following steps:
setting a touch button for each keyword in the keyword node interface, wherein the touch button and the corresponding keyword are in a unique mapping relation, and a user can touch one or more touch buttons in the keyword node interface according to requirements so as to take the keyword corresponding to the touch button as the target keyword;
the keyword node interface is generated based on the association relation between the keywords and the sub-time period and/or based on the association relation between the keywords and the session participants.
5. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
the display screen is used for displaying interface information;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the chat log query method of any of claims 1-3.
6. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements a chat-record querying method as claimed in any of claims 1-3.
CN202011196910.3A 2020-10-30 2020-10-30 Chat record query method, device, equipment and storage medium Active CN112328740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011196910.3A CN112328740B (en) 2020-10-30 2020-10-30 Chat record query method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011196910.3A CN112328740B (en) 2020-10-30 2020-10-30 Chat record query method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112328740A CN112328740A (en) 2021-02-05
CN112328740B true CN112328740B (en) 2023-06-13

Family

ID=74323766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011196910.3A Active CN112328740B (en) 2020-10-30 2020-10-30 Chat record query method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112328740B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114559B (en) * 2021-04-07 2022-11-29 维沃移动通信有限公司 Information display method, device and equipment
CN113704399A (en) * 2021-08-06 2021-11-26 姜政毫 Intelligent identification and storage method, system and storage medium for big data financial information

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919635A (en) * 2016-06-13 2017-07-04 阿里巴巴集团控股有限公司 A kind of group chat record queries method, device and electronic equipment
CN107402748A (en) * 2016-07-01 2017-11-28 北京都在哪网讯科技有限公司 Information processing method and device for communications applications

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167172B (en) * 2013-02-08 2015-02-04 广州三星通信技术研究有限公司 Integration method and system for variety of chat records
US9305094B2 (en) * 2013-08-03 2016-04-05 International Business Machines Corporation Real-time shared web browsing among social network contacts
US20180332167A1 (en) * 2017-05-09 2018-11-15 Microsoft Technology Licensing, Llc Chat bot search results integration
CN108494573A (en) * 2018-03-29 2018-09-04 丁超 Group chat method, apparatus and information terminal
CN109039873A (en) * 2018-09-13 2018-12-18 广州达美智能科技有限公司 Chat record display methods, device and computer readable storage medium
US20200320168A1 (en) * 2019-04-03 2020-10-08 Google Llc Discovering Customer Support Chat Sessions
CN110830362B (en) * 2019-10-28 2022-04-22 维沃移动通信有限公司 Content generation method and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919635A (en) * 2016-06-13 2017-07-04 阿里巴巴集团控股有限公司 A kind of group chat record queries method, device and electronic equipment
CN107402748A (en) * 2016-07-01 2017-11-28 北京都在哪网讯科技有限公司 Information processing method and device for communications applications

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于LDA模型的交互式文本主题挖掘研究――以客服聊天记录为例;李莉;林雨蓝;姚瑞波;;情报科学(第10期);全文 *

Also Published As

Publication number Publication date
CN112328740A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
US10698777B2 (en) High availability scheduler for scheduling map-reduce searches based on a leader state
US11822640B1 (en) User credentials verification for search
US20130110992A1 (en) Electronic device management using interdomain profile-based inferences
US11870741B2 (en) Systems and methods for a metadata driven integration of chatbot systems into back-end application services
US20170371979A1 (en) Creating and testing a correlation search
CN112328740B (en) Chat record query method, device, equipment and storage medium
US20120246574A1 (en) Utilizing social relationship information to discover a relevant active meeting
CN105208015A (en) Application multi-account login processing method and device and terminal device
CN105589623A (en) Notification message checking method, apparatus and terminal
CN112540996B (en) Service data verification method and device, electronic equipment and storage medium
CN110781408A (en) Information display method and device
CN104679239B (en) A kind of terminal input method
US20170366641A1 (en) Social networking platform that provides universal profiles
CN111506376A (en) Feedback information display method and device, readable medium and electronic equipment
CN113434075A (en) Information display method and device and electronic equipment
CN111552521A (en) Application data reporting method, device, server and storage medium
CN108920085B (en) Information processing method and device for wearable device
CN104679506B (en) A kind of terminal
EP3387556A1 (en) Providing automated hashtag suggestions to categorize communication
CN110893616B (en) Remote control method and device, computer equipment and storage medium
CN115793911A (en) Data processing method and device, electronic equipment and storage medium
US20220374618A1 (en) Interaction information processing method and apparatus, device, and medium
CN105262829B (en) Geographical position monitoring method and system
CN113421565A (en) Search method, search device, electronic equipment and storage medium
CN110377654B (en) Data request processing method and device, electronic equipment and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant