CN109951380B - Method, electronic device, and computer-readable medium for finding conversation messages - Google Patents

Method, electronic device, and computer-readable medium for finding conversation messages Download PDF

Info

Publication number
CN109951380B
CN109951380B CN201910249549.7A CN201910249549A CN109951380B CN 109951380 B CN109951380 B CN 109951380B CN 201910249549 A CN201910249549 A CN 201910249549A CN 109951380 B CN109951380 B CN 109951380B
Authority
CN
China
Prior art keywords
conversation
content
message
input box
user
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
CN201910249549.7A
Other languages
Chinese (zh)
Other versions
CN109951380A (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.)
Shanghai Lianshang Network Technology Co Ltd
Original Assignee
Shanghai Lianshang Network 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 Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN201910249549.7A priority Critical patent/CN109951380B/en
Publication of CN109951380A publication Critical patent/CN109951380A/en
Application granted granted Critical
Publication of CN109951380B publication Critical patent/CN109951380B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a method, electronic equipment and a computer readable medium for searching conversation messages. One embodiment of the method comprises: displaying a preset mark in the conversation window during the period that the user inputs content into an input box of the conversation window, wherein the preset mark is used for prompting the user to perform message searching operation; if the fact that the user executes message searching operation when the conversation window is presented is detected, obtaining historical conversation messages matched with the content in the input box; and displaying the conversation message set matched with the content in the input box. The embodiment can quickly search the historical conversation messages without switching the conversation window.

Description

Method, electronic device, and computer-readable medium for finding conversation messages
Technical Field
The present application relates to the field of computer technology, and in particular, to a method, an electronic device, and a computer-readable medium for finding a conversation message.
Background
Instant Messaging (IM) is a real-time communication system that allows two or more people to communicate using a network to communicate text messages, files, voice, video, etc. in real time.
In the current instant messaging software, in the scene of multi-person conversation, when the number of messages is large, the messages sent previously can be quickly submerged by the rolling of the messages in the next time.
Disclosure of Invention
The embodiment of the application provides a method, electronic equipment and a computer readable medium for searching conversation messages.
In a first aspect, some embodiments of the present application provide a method for searching for a session message, where the method is applied to a terminal device, and the method includes: displaying a preset mark in the conversation window during the period that the user inputs content into an input box of the conversation window, wherein the preset mark is used for prompting the user to perform message searching operation; if the fact that the user executes message searching operation when the conversation window is presented is detected, obtaining historical conversation messages matched with the content in the input box; and displaying the conversation message set matched with the content in the input box.
In a second aspect, some embodiments of the present application provide a method for searching for a session message, which is applied to a server, and the method includes: receiving content transmitted by the terminal device, wherein the content is content which is input by a user of the terminal device in an input box of a conversation window and is triggered to be transmitted by executing a message searching operation when the conversation window is presented at the terminal device, and the message searching operation is prompted by a preset mark displayed in the conversation window during the content input to the input box by the user; acquiring historical conversation information matched with the content; returning a historical session message to the terminal device, wherein the terminal device is configured to: and displaying the conversation message set matched with the content.
In a third aspect, some embodiments of the present application provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon which, when executed by one or more processors, cause the one or more processors to implement the method as described in the first or second aspect.
In a fourth aspect, some embodiments of the present application provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements a method as described in the first or second aspect.
According to the method, the electronic device and the computer-readable medium for searching the conversation message, the preset mark prompting the message searching operation is displayed during the process that the user inputs the content into the input box of the conversation window, then the history conversation message matched with the content of the input box is obtained when the message searching operation performed by the user is detected during the process that the conversation window is presented, and finally the conversation message set matched with the content of the input box is displayed, so that the history conversation message can be quickly searched without switching the conversation window.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for finding conversation messages in accordance with the present application;
FIG. 3 is a schematic diagram of an application scenario of a method for finding a conversation message according to the present application;
FIG. 4 is a flow diagram of another embodiment of a method for finding conversation messages in accordance with the present application;
FIG. 5 is a block diagram illustrating an embodiment of an apparatus for locating conversation messages in accordance with the present application;
FIG. 6 is a schematic block diagram of an electronic device suitable for use in implementing some embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which some embodiments of the method for finding conversation messages of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as a wireless local area network, a mobile network, and so on.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as an instant messaging tool, a browser application, a shopping-like application, a search-like application, a mailbox client, social platform software, and the like.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, Personal Digital Assistants (PDAs), laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for instant messaging applications running on the terminal devices 101, 102, 103. The backend server may analyze and otherwise process the received data such as the input content, and feed back a processing result (e.g., a set of session messages matching the input content) to the terminal devices 101, 102, and 103.
The server 105 may be hardware or software. When the server 105 is hardware, it may be implemented as a distributed server cluster composed of multiple servers, or may be implemented as a single server. When the server 105 is software, it may be implemented as multiple pieces of software or software modules (e.g., software or software modules for providing distributed services) or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the method for searching for the session message provided in the embodiment of the present application may be executed by the terminal devices 101, 102, and 103, and may also be executed by the server 105.
It should be noted that the system architecture 100 may not include the server 105. When the system architecture 100 does not include the server 105, the terminal devices 101, 102, 103 may obtain locally a set of session messages that match the input content.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any suitable number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for finding conversation messages in accordance with the present application is shown. The method for searching the session message can be applied to the terminal equipment, and can comprise the following steps 201-203:
step 201, displaying a preset mark in the conversation window during the period that the user inputs content into the input box of the conversation window.
In the present embodiment, the execution subject (e.g., terminal devices 101, 102, 103 shown in fig. 1) of the method for finding a conversation message may display a preset mark in a conversation window (also referred to as a chat window) during a user inputs content to an input box of the conversation window. The preset mark can be used for prompting a user to perform message searching operation. The preset mark may be a mark containing prompt information (a prompt symbol such as an arrow, or prompt content such as text), or may be a mark not containing prompt information (for example, a key that can trigger a message search operation).
Here, the period in which the user inputs contents into the input box of the conversation window may refer to a period in which the input box of the conversation window is triggered to be in an input state (which may include a period in which the user is performing an input operation, and may also include a period in which the user stops inputting but does not send a message).
In this embodiment, the position of the preset mark displayed in the conversation window may be fixed or variable. For example, the preset mark may be displayed at a fixed position of the conversation window, or may be continuously moved following the position of the input cursor.
Preferably, the preset mark may be displayed at a preset position of the input box. For example, a preset mark is displayed above the input box, so that the user can be prompted more prominently.
Although the present embodiment describes that the preset mark is displayed during the user's input of the content to the input box, the present application is not limited thereto. It will be appreciated by those skilled in the art that the preset mark may also be displayed during non-input content. For example, the preset mark is always displayed in the conversation window as a virtual key of the conversation window.
In some optional implementation manners of this embodiment, step 201 may specifically include: during a period in which the user inputs contents to the input box of the conversation window and the input contents do not exceed a preset number of characters (for example, 10 characters), a preset mark is displayed in the conversation window. The user typically uses fewer characters when conducting a search, e.g., three characters, five characters, seven characters, etc. Here, the number of characters triggering the display of the preset mark may be determined based on an empirical value and big data statistics.
Corresponding to the implementation manner, the method for searching for the session message may further include: and if the content input into the input box by the user exceeds the preset number of characters, hiding the preset mark. When the user inputs more contents (for example, more than 10 characters), it means that the user does not need to perform a search operation, and the preset mark may not be displayed at this time (thereby avoiding the user's dislike caused by always displaying the preset mark).
In some optional implementation manners of this embodiment, step 201 may specifically include: and if the situation that the user inputs content into the input frame of the conversation window is detected, and the configuration related to the display of the preset mark indicates that the display of the preset mark is started, displaying the preset mark in the conversation window. Here, the configuration related to displaying the preset mark may be a configuration set by the user on the terminal device (for example, a configuration for turning on or off the display of the preset mark), or may be a configuration adjusted according to a history of the display of the preset mark (for example, if the preset mark is not displayed, the configuration is to display the preset mark, and if the preset mark is displayed and the user clicks a prompt such as "i know" indicating that the user has read, the configuration is to not display the preset mark during the input of the content).
In some optional implementation manners of this embodiment, step 201 may specifically include: and if the content input into the input box of the conversation window by the user is detected to contain characters in a preset format, displaying a preset mark in the conversation window.
Alternatively, the characters of the preset format may include specific symbols and/or specific combinations of characters. For example, the characters in the preset format may be "# F", "/F", etc., or may be a combination of a character + space + "F".
Step 202, if it is detected that the user performs a message search operation when the conversation window is presented, obtaining a history conversation message matched with the content in the input box.
In the present embodiment, the execution subject of the method for finding a conversation message (e.g., the terminal devices 101, 102, 103 shown in fig. 1) may detect whether the user performs a message finding operation during the presentation of the conversation window. If it is detected during the presentation of the conversation window that the user performs a message lookup operation, then historical conversation messages that match the content in the input box may be retrieved. As an example, the preset flag is a key that can trigger a message search operation, and after the user clicks the preset flag, the execution body may obtain a history session message matching the input content.
Preferably, the history session message matched with the inputted content may be a history session message associated with the current session window. The implementation may ensure that the session messages are looked up from the historical session messages associated with the current session window.
In some optional implementations of this embodiment, the message lookup operation may include: sliding from the input box in a preset direction. For example, sliding up from the input cursor position of the input box.
In some optional implementations of this embodiment, the historical session messages are stored locally at the terminal device. Corresponding to this implementation, step 202 may specifically include: and searching the history session messages matched with the content in the input box from the locally stored history session messages.
In some optional implementations of this embodiment, the historical session message is stored at the server (e.g., server 105 in fig. 1). Corresponding to this implementation, step 202 may specifically include: firstly, sending the content in an input box to a server; and then, receiving the history session message which is fed back by the server and matched with the content in the input box.
Step 203, displaying the conversation message set matched with the content in the input box.
In the present embodiment, the execution subject (e.g., terminal apparatuses 101, 102, 103 shown in fig. 1) of the method for finding a conversation message may display a set of conversation messages that match the content input in the input box. As an example, a set of session messages may be generated by searching for session messages matching the input content from the historical session messages obtained in step 202, and then displaying each session message in the set of session messages in a list (or in another suitable manner).
In some optional implementations of this embodiment, the method for finding a session message may further include step 204.
And step 204, if the fact that the session message in the session message set is selected is detected, jumping the session message displayed in the session window to the position of the selected session message.
In this implementation, the executing body (e.g., terminal devices 101, 102, 103 shown in fig. 1) of the method for finding a conversation message may detect whether a conversation message in a set of conversation messages is selected. And if a certain conversation message in the conversation message set is selected, jumping the conversation message displayed in the conversation window to the position of the selected conversation message, so that the conversation messages before and after the selected conversation message can be viewed.
Alternatively, whether any conversation message is selected may be determined by detecting whether a conversation message in the set of conversation messages is clicked (e.g., by a mouse click or by a finger click).
Alternatively, the conversation message displayed in the conversation window can be jumped to the position of the selected conversation message by a transition manner such as scrolling or sliding.
In some optional implementations of this embodiment, the conversation window may be a multi-person conversation window. In a multi-person conversation scenario, the number of conversation messages is usually large, and a conversation message sent previously is easily refreshed by a conversation message sent later, so that it is not beneficial for a user to find a specific conversation message. The method for searching the session message is applied to the multi-person session window, and the advantage of quickly searching the historical session message is more obvious.
With continued reference to fig. 3, one application scenario of a method for finding a conversation message in accordance with the present application is shown. In the application scenario 300 of fig. 3, the user "zhang san" uses the instant messaging application installed on the smartphone 301 to chat with multiple people in the "X city property communication group". During the text input by the user "zhang san" into the input box 304 of the chat window 302, a mark 303 containing a finger, an upward sliding arrow, and a prompt message "pull-up search" is displayed above the input box 304 to prompt the user to perform a search for a message through a pull-up operation. After detecting that the user "zhang san" performed the pull-up operation, the chat records associated with the current chat window 302 are locally obtained, and the messages matching the content "kitchen" input in the input box 304 by the user "zhang san" are searched from the obtained chat records, and a message set is generated. The individual messages in the message collection are then displayed in a list in a pop-up page 305.
According to the method for searching the session message, the preset mark prompting the message searching operation is displayed during the period that the user inputs the content into the input box of the session window, then the history session message matched with the content of the input box is obtained when the message searching operation executed by the user is detected during the period that the session window is presented, and finally the session message set matched with the content of the input box is displayed, so that the history session message can be quickly searched without switching the session window.
With further reference to fig. 4, a flow 400 of another embodiment of a method for looking up a conversation message is shown. The method for searching the session message can be applied to a server, and can comprise the following steps 401-403:
step 401, receiving the content sent by the terminal device.
In this embodiment, an execution subject (e.g., the server 105 in fig. 1) of the method for finding a session message may receive content sent by a terminal device (e.g., the terminal devices 101, 102, 103 in fig. 1). The content may be content that is input by a user of the terminal device in an input box of the conversation window and is triggered to be sent by performing a message search operation during presentation of the conversation window. The message lookup operation may be prompted by a preset indicia displayed in the conversation window during the input of content to the input box by the user. That is, the preset flag may be used to prompt the user for a message lookup operation. Here, the message lookup operation may include: the session message containing the received content is looked up from the historical session messages.
Step 402, obtaining the history conversation information matched with the content.
In this embodiment, an execution subject (e.g., the server 105 in fig. 1) of the method for finding a conversation message may obtain a history conversation message matching the content received in step 401. Here, the history session message matched with the received content may be a history session message associated with a session window presented on the terminal device.
And step 403, returning the history session message to the terminal equipment.
In this embodiment, an executing entity (e.g., the server 105 in fig. 1) of the method for searching for a session message may return the historical session message acquired in step 402 to the terminal device. Wherein the terminal device may be configured to: and displaying the conversation message set matched with the content. For example, each of the set of session messages is displayed in a list (or in other suitable manner).
In some optional implementation manners of this embodiment, the terminal device may be further configured to: if it is detected that a conversation message in the set of conversation messages is selected (e.g., clicked), the conversation message displayed in the conversation window is jumped to the position of the selected conversation message.
According to the method for searching the session message, the content which is sent by the terminal equipment and input by the user in the input frame of the session window is received, then the history session message matched with the content is obtained, and the history session message is returned to the terminal equipment, so that the terminal equipment can display the session message set matched with the content, and the history session message can be quickly searched without switching the session window.
With further reference to fig. 5, a schematic structural diagram of an embodiment of an apparatus 500 for finding a conversation message according to the present application is shown.
As shown in fig. 5, the apparatus 500 of the present embodiment may include a mark display unit 501, a message acquisition unit 502, and a message display unit 503. Wherein, the mark display unit 501 may be configured to: during the user's input of content into the input box of the conversation window, a preset mark is displayed in the conversation window. The preset flag may be used to prompt the user to perform a message lookup operation. The message acquisition unit 502 may be configured to: and if the fact that the user executes message searching operation when the conversation window is presented is detected, obtaining the historical conversation message matched with the content in the input box. The message display unit 503 may be configured to display a set of conversation messages matching the content in the input box.
In the present embodiment, the above-described mark display unit 501 of the terminal device 500 may display a preset mark in a conversation window (may also be referred to as a chat window) during a period in which a user inputs content to an input box of the conversation window. The preset mark can be used for prompting a user to perform message searching operation. The preset mark may be a mark containing prompt information (a prompt symbol such as an arrow, or prompt content such as text), or may be a mark not containing prompt information (for example, a key that can trigger a message search operation).
In some optional implementations of this embodiment, the mark display unit 501 may be specifically configured to: during a period in which the user inputs contents to the input box of the conversation window and the input contents do not exceed a preset number of characters (for example, 10 characters), a preset mark is displayed in the conversation window. The user typically uses fewer characters when conducting a search, e.g., three characters, five characters, seven characters, etc. Here, the number of characters triggering the display of the preset mark may be determined based on an empirical value and big data statistics.
Corresponding to this implementation, the apparatus 500 may further include a mark hiding unit. Wherein the mark hiding unit may be configured to: and if the content input into the input box by the user exceeds the preset number of characters, hiding the preset mark. When the user inputs more contents (for example, more than 10 characters), it means that the user does not need to perform a search operation, and the preset mark may not be displayed at this time (thereby avoiding the user's dislike caused by always displaying the preset mark).
In some optional implementations of this embodiment, the mark display unit 501 may be specifically configured to: and if the situation that the user inputs content into the input frame of the conversation window is detected, and the configuration related to the display of the preset mark indicates that the display of the preset mark is started, displaying the preset mark in the conversation window. Here, the configuration related to displaying the preset mark may be a configuration set by the user on the terminal device (for example, a configuration for turning on or off the display of the preset mark), or may be a configuration adjusted according to a history of the display of the preset mark (for example, if the preset mark is not displayed, the configuration is to display the preset mark, and if the preset mark is displayed and the user clicks a prompt such as "i know" indicating that the user has read, the configuration is to not display the preset mark during the input of the content).
In some optional implementations of this embodiment, the mark display unit 501 may be specifically configured to: and if the content input into the input box of the conversation window by the user is detected to contain characters in a preset format, displaying a preset mark in the conversation window.
Alternatively, the characters of the preset format may include specific symbols and/or specific combinations of characters. For example, the characters in the preset format may be "# F", "/F", etc., or may be a combination of a character + space + "F".
In this embodiment, the message obtaining unit 502 may detect whether the user performs a message search operation during presentation of the session window. If it is detected during the presentation of the conversation window that the user performs a message lookup operation, then historical conversation messages that match the content in the input box may be retrieved. As an example, the preset flag is a key that can trigger a message search operation, and after the user clicks the preset flag, the execution body may obtain a history session message matching the input content.
Preferably, the history session message matched with the inputted content may be a history session message associated with the current session window. The implementation may ensure that the session messages are looked up from the historical session messages associated with the current session window.
In some optional implementations of this embodiment, the message lookup operation may include: sliding from the input box in a preset direction. For example, sliding up from the input cursor position of the input box.
In some optional implementations of this embodiment, the historical session messages are stored locally at the terminal device. Corresponding to this implementation, the message obtaining unit 502 may be specifically configured to: and searching the history session messages matched with the content in the input box from the locally stored history session messages.
In some optional implementations of this embodiment, the historical session message is stored at the server (e.g., server 105 in fig. 1). Corresponding to this implementation, the message obtaining unit 502 may be specifically configured to: firstly, sending the content in an input box to a server; and then, receiving the history session message which is fed back by the server and matched with the content in the input box.
In this embodiment, the message display unit 503 may display a set of conversation messages matching the content input in the input box. As an example, a set of session messages may be generated by searching for session messages matching the input content from the history session messages acquired by the message acquisition unit 502, and then displaying each session message in the set of session messages in a list form (or in another suitable manner).
In some optional implementations of this embodiment, the apparatus 500 may further include a message jumping unit 504. Wherein the message skipping unit 504 may be configured to: and if the conversation message in the conversation message set is detected to be selected, jumping the conversation message displayed in the conversation window to the position of the selected conversation message.
Alternatively, the message skipping unit 504 may determine whether any session message in the set of session messages is selected by detecting whether the session message is clicked (for example, by mouse clicking or finger clicking).
Alternatively, the message jumping unit 504 may jump the conversation message displayed in the conversation window to the position of the selected conversation message in a transitional manner such as scrolling or sliding.
In some optional implementations of this embodiment, the conversation window may be a multi-person conversation window. In a multi-person conversation scenario, the number of conversation messages is usually large, and a conversation message sent previously is easily refreshed by a conversation message sent later, so that it is not beneficial for a user to find a specific conversation message. The method for searching the session message is applied to the multi-person session window, and the advantage of quickly searching the historical session message is more obvious.
According to the device for searching the session message, the preset mark prompting the message searching operation is displayed during the period that the user inputs the content into the input box of the session window, then the history session message matched with the content of the input box is acquired when the message searching operation performed by the user is detected during the period that the session window is presented, and finally the session message set matched with the content of the input box is displayed, so that the history session message can be quickly searched without switching the session window.
Referring now to fig. 6, a schematic diagram of an electronic device (e.g., the terminal device 101, 102, 103 or the server 105 shown in fig. 1) 600 suitable for implementing embodiments of the present application is shown. The electronic device 600 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following devices may be connected to the I/O interface 605 in general: input devices 606 including, for example, a touch screen or mouse, keyboard, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of embodiments of the present disclosure. It should be noted that the computer readable medium in the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the disclosure, 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. In embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be included in the terminal device or the server; or may exist separately without being assembled into the terminal device or the server. The computer readable medium carries one or more programs which, when executed by the terminal device, cause the terminal device to: displaying a preset mark in the conversation window during the period that the user inputs content into an input box of the conversation window, wherein the preset mark is used for prompting the user to perform message searching operation; if the fact that the user executes message searching operation when the conversation window is presented is detected, obtaining historical conversation messages matched with the content in the input box; and displaying the conversation message set matched with the content in the input box. When the one or more programs are executed by the server, the server is enabled to: displaying a preset mark in the conversation window during the period that the user inputs content into an input box of the conversation window, wherein the preset mark is used for prompting the user to perform message searching operation; if the fact that the user executes message searching operation when the conversation window is presented is detected, obtaining historical conversation messages matched with the content in the input box; and displaying the conversation message set matched with the content in the input box.
Computer program code for carrying out operations for embodiments of the present disclosure 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept as defined above. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (13)

1. A method for searching session messages is applied to a terminal device, and the method comprises the following steps:
displaying a preset mark in a conversation window during the input of content into an input box of the conversation window by a user, wherein the preset mark comprises: displaying a preset mark in a conversation window when a user inputs content into an input box of the conversation window and the content does not exceed a preset number of characters, wherein the preset mark is used for prompting the user to perform message searching operation;
if the message searching operation is executed when the user is detected to be presented in the conversation window, acquiring historical conversation messages matched with the content in the input box;
and displaying the conversation message set matched with the content in the input box.
2. The method of claim 1, wherein the method further comprises:
and if the fact that the conversation message in the conversation message set is selected is detected, jumping the conversation message displayed in the conversation window to the position of the selected conversation message.
3. The method of claim 1, wherein the method further comprises:
and if the content input to the input box by the user exceeds the preset number of characters, hiding the preset mark.
4. The method of claim 1, wherein displaying a preset mark in a conversation window during a user's input of content to an input box of the conversation window comprises:
and if the situation that the user inputs content into the input frame of the conversation window is detected, and the configuration related to the display of the preset mark indicates that the display of the preset mark is started, displaying the preset mark in the conversation window.
5. The method of claim 1, wherein displaying a preset mark in a conversation window during a user's input of content to an input box of the conversation window comprises:
and if the situation that the content input into the input box of the conversation window by the user contains characters in a preset format is detected, displaying a preset mark in the conversation window.
6. The method of claim 5, wherein the characters of the preset format comprise specific symbols and/or specific combinations of characters.
7. The method of claim 1, wherein the message lookup operation comprises sliding from the input box in a preset direction.
8. The method of claim 1, wherein obtaining historical conversation messages that match the content in the input box comprises:
and searching the history session messages matched with the content in the input box from the locally stored history session messages.
9. The method of claim 1, wherein obtaining historical conversation messages that match the content in the input box comprises:
sending the content in the input box to a server;
and receiving the history session message which is fed back by the server and matched with the content in the input box.
10. The method of any of claims 1-9, wherein the conversation window is a multi-person conversation window.
11. A method for searching session messages is applied to a server side, and the method comprises the following steps:
receiving content sent by a terminal device, wherein the content is content which is input by a user of the terminal device in an input box of a conversation window and is triggered to be sent by executing a message search operation when the conversation window is presented at the terminal device, the message search operation is prompted by a preset mark displayed in the conversation window during the content input period of the user to the input box, and the preset mark is displayed during the content input period of the user to the input box of the conversation window and the content does not exceed a preset number of characters;
acquiring historical conversation information matched with the content;
returning the historical session message to the terminal device, wherein the terminal device is configured to: and displaying the conversation message set matched with the content.
12. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-11.
13. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1 to 11.
CN201910249549.7A 2019-03-29 2019-03-29 Method, electronic device, and computer-readable medium for finding conversation messages Active CN109951380B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910249549.7A CN109951380B (en) 2019-03-29 2019-03-29 Method, electronic device, and computer-readable medium for finding conversation messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910249549.7A CN109951380B (en) 2019-03-29 2019-03-29 Method, electronic device, and computer-readable medium for finding conversation messages

Publications (2)

Publication Number Publication Date
CN109951380A CN109951380A (en) 2019-06-28
CN109951380B true CN109951380B (en) 2021-11-09

Family

ID=67012927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910249549.7A Active CN109951380B (en) 2019-03-29 2019-03-29 Method, electronic device, and computer-readable medium for finding conversation messages

Country Status (1)

Country Link
CN (1) CN109951380B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112532511B (en) * 2020-11-30 2023-12-22 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for processing multimedia interaction information
CN112612391B (en) * 2020-12-28 2022-06-10 维沃移动通信有限公司 Message processing method and device and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101060502A (en) * 2007-05-25 2007-10-24 北京金山软件有限公司 A method and device for simultaneous viewing the chat record and the latest news
CN102663071A (en) * 2012-03-31 2012-09-12 奇智软件(北京)有限公司 Searching method and device in browser
CN104113470A (en) * 2014-07-04 2014-10-22 南京航空航天大学 Method for multi-subject parallel dialogues
CN106293317A (en) * 2015-06-03 2017-01-04 阿里巴巴集团控股有限公司 Method, device and the electronic equipment of a kind of hiding Message Record
CN106470148A (en) * 2015-08-19 2017-03-01 腾讯科技(深圳)有限公司 Group chatting content display method and device
CN106980681A (en) * 2017-03-30 2017-07-25 携程计算机技术(上海)有限公司 The switching method and system of mobile terminal page browsing function and function of search
CN107168599A (en) * 2016-03-07 2017-09-15 阿里巴巴集团控股有限公司 A kind of instant communicating method and device
CN107229513A (en) * 2017-05-27 2017-10-03 努比亚技术有限公司 A kind of many applicating cooperation method of works, device and computer-readable recording medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006011819A1 (en) * 2004-07-30 2006-02-02 Eurekster, Inc. Adaptive search engine
KR20160085614A (en) * 2015-01-08 2016-07-18 엘지전자 주식회사 Mobile terminal and method for controlling the same

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101060502A (en) * 2007-05-25 2007-10-24 北京金山软件有限公司 A method and device for simultaneous viewing the chat record and the latest news
CN102663071A (en) * 2012-03-31 2012-09-12 奇智软件(北京)有限公司 Searching method and device in browser
CN104113470A (en) * 2014-07-04 2014-10-22 南京航空航天大学 Method for multi-subject parallel dialogues
CN106293317A (en) * 2015-06-03 2017-01-04 阿里巴巴集团控股有限公司 Method, device and the electronic equipment of a kind of hiding Message Record
CN106470148A (en) * 2015-08-19 2017-03-01 腾讯科技(深圳)有限公司 Group chatting content display method and device
CN107168599A (en) * 2016-03-07 2017-09-15 阿里巴巴集团控股有限公司 A kind of instant communicating method and device
CN106980681A (en) * 2017-03-30 2017-07-25 携程计算机技术(上海)有限公司 The switching method and system of mobile terminal page browsing function and function of search
CN107229513A (en) * 2017-05-27 2017-10-03 努比亚技术有限公司 A kind of many applicating cooperation method of works, device and computer-readable recording medium

Also Published As

Publication number Publication date
CN109951380A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN109460513B (en) Method and apparatus for generating click rate prediction model
US9772750B2 (en) Linking selected messages in electronic message threads
CN111756917B (en) Information interaction method, electronic device and computer readable medium
US9043412B2 (en) Computer device for reading e-book and server for being connected with the same
US10585566B2 (en) Reproducing state of source environment when image was screen captured on a different computing device using resource location, resource navigation and positional metadata embedded in image
CN110781408B (en) Information display method and device
US10664516B2 (en) Search system, method and apparatus
CN111597467A (en) Display method and device and electronic equipment
US11706172B2 (en) Method and device for sending information
CN110658960A (en) Message processing method and device and electronic equipment
CN105094603B (en) Method and device for associated input
CN109547335B (en) Session message processing method and device
US20180248830A1 (en) Methods for generating message notifications
CN112532507B (en) Method and device for presenting an emoticon, and for transmitting an emoticon
CN109951380B (en) Method, electronic device, and computer-readable medium for finding conversation messages
CN116126447A (en) Information processing method, device, electronic equipment and computer readable medium
CN109947528B (en) Information processing method and device
CN108768823B (en) Method and equipment for processing message and displaying message
CN110519373B (en) Method and device for pushing information
CN110069186B (en) Method and equipment for displaying operation interface of application
CN115563134A (en) Interaction method, interaction device, electronic equipment and computer readable medium
CN112822089B (en) Method and device for adding friends
CN115314456B (en) Interaction method and device and electronic equipment
CN113010064B (en) Information prompting method and device and electronic equipment
CN110517089B (en) Method, terminal device and computer-readable medium for presenting information

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