CN105279154A - Query method and device for instant messages - Google Patents

Query method and device for instant messages Download PDF

Info

Publication number
CN105279154A
CN105279154A CN201410227912.2A CN201410227912A CN105279154A CN 105279154 A CN105279154 A CN 105279154A CN 201410227912 A CN201410227912 A CN 201410227912A CN 105279154 A CN105279154 A CN 105279154A
Authority
CN
China
Prior art keywords
query
keyword
instant message
message
instant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410227912.2A
Other languages
Chinese (zh)
Inventor
卢艳
尚国强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410227912.2A priority Critical patent/CN105279154A/en
Priority to PCT/CN2014/086862 priority patent/WO2015180306A1/en
Publication of CN105279154A publication Critical patent/CN105279154A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of invention discloses a query method and device for instant messages. The query method for instant messages comprises following steps: acquiring query conditions; and searching for saved instant messages according to the query conditions and obtaining instant message content matching the query condition.

Description

Instant message query method and device
Technical Field
The invention relates to an information query technology, in particular to an instant message query method and an instant message query device.
Background
With the development of internet technology, instant message services are more and more popular, and more people are used to communicate information with friends by using instant messages.
When a user chats with a friend by using the instant message service, the chatting record of the friend is stored at the terminal equipment side or the network server side, and the user can check the chatting record. However, if a long-time previous chat record is desired to be searched, especially when a group-type instant messaging service of multiple users is used, when a chat record of a friend in a group is desired to be searched, continuous searching on a page-by-page basis is required, which is very unfavorable for user experience. In the prior art, no effective solution is available for the query of instant messages.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide an instant message query method and apparatus, which can implement searching for an instant message and improve user experience.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides an instant message query method, which comprises the following steps:
acquiring a query condition;
searching the stored instant message according to the query condition, and acquiring the instant message content matched with the query condition.
In the above scheme, the query condition includes: a target identifier and a first keyword; the querying the stored instant message according to the query condition comprises the following steps:
inquiring a folder matched with the target identification according to the target identification;
in the searched folder, searching the instant messages in the folder according to the first keyword to obtain the instant messages matched with the first keyword;
wherein the first keyword comprises at least one of the following information: query object, query time, query subject.
In the above scheme, after querying the folder, the method includes:
extracting summary information of the instant messages in the folder as second keyword information;
wherein the second keyword comprises at least one of the following information: target object, target time, topic.
In the above scheme, the querying the instant messages in the folder according to the first keyword to obtain the instant messages matched with the first keyword includes:
and inquiring the extracted second keyword information according to the first keyword to obtain second keyword information matched with the first keyword, determining the position of the instant message matched with the first keyword according to the second keyword information, and acquiring the instant message based on the position of the instant message.
In the foregoing scheme, the obtaining the query condition includes:
and acquiring input operation, and acquiring query conditions according to the input operation.
In the foregoing scheme, the obtaining the query condition includes:
and receiving a first message, analyzing the first message, and acquiring the query condition carried by the first message.
In the above scheme, after the instant message content matched with the query condition is obtained, the method includes:
and sending a first response message, wherein the first response message comprises the instant message content matched with the query condition.
The embodiment of the invention also provides an instant message inquiry device, which comprises: an acquisition unit and a query unit; wherein,
the acquisition unit is used for acquiring the query conditions and sending the query conditions to the query unit;
the query unit is used for searching the stored instant messages according to the query conditions acquired by the acquisition unit and acquiring the instant message contents matched with the query conditions.
In the above scheme, the query condition includes: a target identifier and a first keyword; wherein the first keyword comprises at least one of the following information: query object, query time and query subject;
the query unit is used for querying the folders matched with the target identifiers according to the target identifiers; and in the searched folder, searching the instant messages in the folder according to the first keyword to obtain the instant messages matched with the first keyword.
In the above scheme, the query unit is further configured to extract summary information of the instant message in the folder as second keyword information after the folder is queried; wherein the second keyword comprises at least one of the following information: target object, target time, topic.
In the above scheme, the query unit is configured to query the extracted second keyword information according to the first keyword, obtain second keyword information matched with the first keyword, determine a location of an instant message matched with the first keyword according to the second keyword information, and obtain the instant message based on the location of the instant message.
In the foregoing scheme, the obtaining unit is configured to obtain an input operation, and obtain a query condition according to the input operation.
In the above scheme, the obtaining unit is configured to receive a first message, analyze the first message, and obtain the query condition carried by the first message.
In the above solution, the apparatus further includes a sending unit, configured to send a first response message, where the first response message includes an instant message content matching the query condition.
According to the instant message query method and device provided by the embodiment of the invention, query conditions are obtained; searching the stored instant message according to the query condition, and acquiring the instant message content matched with the query condition. Therefore, the instant message is searched, the user can quickly search the desired instant message in the huge number of instant message records, the searching time of the user is greatly saved, and the user experience is greatly improved.
Drawings
FIG. 1 is a flowchart illustrating an instant message query method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an embodiment of a storage manner of an instant message;
FIG. 3 is a flowchart illustrating an example I of an instant message query method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating an example two of an instant message query method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an instant message query device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
FIG. 1 is a flowchart illustrating an instant message query method according to an embodiment of the present invention; as shown in fig. 1, the method includes:
step 101: and acquiring a query condition.
The instant message query method described in this embodiment is applied to a terminal or a server. The instant message is unformatted data and is stored in a storage medium of a terminal or a server in a file form; the terminal can be a mobile phone, a computer or a tablet computer; the server may be a server operating the instant messaging service.
Here, when the instant message is stored in the terminal, the obtaining of the query condition includes: and acquiring input operation, and acquiring query conditions according to the input operation.
In this case, when the user wants to query an instant message, the input operation may be an input operation performed by the user through a mobile phone keyboard or a computer keyboard, for example, inputting a contact name or a contact identifier, or inputting a certain day of a month, and using the input content as a query condition in the retrieval interface of the instant message service.
Here, when the instant message is stored in the server, the obtaining of the query condition includes: receiving a first message, wherein the first message comprises a query condition; and analyzing the first message to obtain the query condition in the first message.
In this case, when the user wants to search for an instant message, the user performs an input operation, such as inputting a contact name or a contact identifier, or inputting a certain day of the month, through a mobile phone keyboard or a computer keyboard under the retrieval interface of the instant message service; after the mobile phone or the computer obtains the input operation, packaging the input information into a first message and sending the first message to a server; after receiving the first message, the server analyzes the first message to obtain information carried in the first message, such as contact names or contact identifiers, or certain day of a month, and takes the information as a query condition.
Step 102: searching the stored instant message according to the query condition, and acquiring the instant message content matched with the search condition.
Here, the query condition includes: a target identifier and a first keyword; the querying the stored instant message according to the query condition comprises the following steps:
inquiring a folder matched with the target identification according to the target identification;
in the searched folder, searching the instant messages in the folder according to the first keyword to obtain the instant messages matched with the first keyword;
wherein the first keyword comprises at least one of the following information: query object, query time, query subject.
Specifically, taking the instant message as a session message as an example, the session message may be a one-to-one session message or a group session message among multiple persons. When the session message is a one-to-one session message, the instant message with the session object may be stored in a folder, and the name, nickname, or number of the session object may be used as the folder name. When the session message is a group session message among multiple persons, the session message in the group can be stored in a folder, and the name or number of the group is used as the folder name. FIG. 2 is a diagram illustrating an embodiment of a storage manner of an instant message; as shown in fig. 2, instant messages of the same conversation object or instant messages of the same group are stored in the folder 001 and the folder 002, respectively; such as instant message bundle 1 and instant message bundle 2 stored in folder 001 and instant message bundle 1, instant message bundle 2 and instant message bundle 3 stored in folder 002. The identifiers 001 and 002 of the folders may also be names, nicknames or numbers of session objects, or names, numbers or the like of groups, and are not limited to the above identifiers. Thus, the target identification in the query condition may be an identification of a target object, such as a name, or a nickname, or a number of a contact; the identification of the target object may also be the name, or number, of the group.
The query object is the name, the nickname or the number of the contact to be queried; the query time is the time to be queried or a time period; the query topic is some keywords to be queried.
In this embodiment, after querying the folder, the method includes:
extracting summary information of the instant messages in the folder as second keyword information;
wherein the second keyword comprises at least one of the following information: target object, target time, topic.
In the embodiment of the present invention, the instant messages in the folder may be stored in a Multipurpose Internet Mail Extensions (MIME) format; when the instant message is stored in a MIME format, the summary information of the instant message is stored in the head part of the MIME format message; the extracting of the summary information of the instant message in the folder described in this embodiment is to extract the header of the instant message in the folder, and obtain the summary information stored in the header of the instant message as the second keyword information.
In order to realize the quick positioning of the query process, abstract information in each instant message is extracted as a second keyword, and the second keyword is stored in a preset field of the head of the instant message; the second keyword includes at least one of the following information: target object, target time, topic; wherein the target object is the name, nickname or number of the contact of the instant message; the target time is the time generated by the instant message; the subject is some keywords in the instant message, and may be words with the most occurrence times, words of a bingo structure in the instant message, or numbers appearing in the instant message, and may be specifically realized according to the setting of the actual situation.
Specifically, the querying the instant messages in the folder according to the first keyword to obtain the instant messages matched with the first keyword includes:
and inquiring the extracted second keyword information according to the first keyword to obtain second keyword information matched with the first keyword, and determining the instant message matched with the first keyword according to the second keyword information.
Here, the first keyword is keyword information determined according to the obtained query condition, and includes at least one of the following information: query object, query time and query subject; the second keyword is keyword information extracted from an instant message header, and the keyword information comprises at least one of the following information: target object, target time, topic. Specifically, taking the first keyword as query time as an example, querying information matched with the query time in the extracted second keyword information, determining a head of an instant message matched with the query time, determining a position of the instant message according to the head of the instant message, and determining and acquiring the instant message matched with the query time based on the position of the instant message.
According to the technical scheme provided by the embodiment of the invention, the instant message content matched with the query condition is searched, so that the instant message is searched, a user can quickly search the desired instant message in a large number of instant message records, the search time of the user is greatly saved, and the user experience is greatly improved.
In another embodiment of the present invention, the query condition may also include only keyword information; specifically, the instant message matched with the keyword information is obtained by retrieving data in a folder in which the instant message is stored; therefore, when the user forgets the name of the target object and the time of the instant message to be searched, the search of any instant message is realized by means of searching the keywords, the search time of the user is greatly saved, and the experience of the user is improved.
The embodiments of the present invention are described in further detail below with specific examples.
Example 1
The instant message is taken as a session message in the present example, and the instant message record is stored in the terminal as an example for explanation; the terminal can be a mobile phone, a computer or a tablet computer. FIG. 3 is a flowchart illustrating an example I of an instant message query method according to an embodiment of the present invention; as shown in fig. 3, the instant message query method includes:
step 201: acquiring a query condition input by a user; wherein the query condition comprises: a target identification and a first keyword.
Here, the user may input the query condition in a query interface provided by the instant message service client.
Step 202: and inquiring the folder matched with the target identification according to the target identification.
The instant message in this embodiment is a session message, which may be a one-to-one session message or a group session message among multiple persons. When the session message is a one-to-one session message, the instant message with the session object may be stored in a folder, and the name, nickname, or number of the session object may be used as the folder name. When the session message is a group session message among multiple persons, the session message in the group can be stored in a folder, and the name or number of the group is used as the folder name. Thus, the target identification in the query condition may be an identification of a target object, such as a name, or a nickname, or a number of a contact; the identification of the target object may also be the name, or number, of the group.
Here, the terminal may query the folder name according to the target identifier in the obtained query condition, and obtain the folder matched with the target identifier.
Step 203: importing the data in the folder into a memory, extracting the head of the instant message in the folder, and obtaining second keyword information stored in the head of the instant message; wherein the second keyword comprises at least one of the following information: target object, target time, topic.
In this embodiment, in order to realize quick positioning in the query process, the summary information in each instant message is extracted as a second keyword, and the second keyword is stored in a preset field of the header of the instant message; the second keyword includes at least one of the following information: target object, target time, topic; wherein the target object is the name, nickname or number of the contact of the instant message; the target time is the time generated by the instant message; the subject is some keywords in the instant message, and may be words with the most occurrence times, words of a bingo structure in the instant message, or numbers appearing in the instant message, and may be specifically realized according to the setting of the actual situation.
Specifically, the instant messages in the folder are stored in a MIME format.
Step 204 to step 205: inquiring the extracted second keyword information according to the first keyword to obtain the head of the instant message matched with the first keyword; and determining the position of the instant message matched with the first keyword according to the information of the head of the instant message, and acquiring the instant message based on the position of the instant message.
In this embodiment, the first keyword includes at least one of the following information: query object, query time, query subject. The query object is the name, the nickname or the number of the contact to be queried; the query time is the time to be queried or a time period; the query topic is some keywords to be queried. The second keyword is keyword information extracted from an instant message header, and the keyword information comprises at least one of the following information: target object, target time, topic. Wherein the target object is the name, nickname or number of the contact of the instant message; the target time is the time generated by the instant message; the subject is some keywords in the instant message, and may be words with the most occurrence times, words of a bingo structure in the instant message, or numbers appearing in the instant message, and may be specifically realized according to the setting of the actual situation.
Specifically, taking the first keyword as query time as an example, querying information matched with the query time in the extracted second keyword information, determining a header of an instant message matched with the query time, determining a position of the instant message according to the header of the instant message, and determining and acquiring the instant message matched with the query time based on the position of the instant message.
Example two
The instant message is taken as a session message in the present example, and the instant message record is stored in the server as an example for explanation; the server may be a server operating the instant messaging service. Fig. 4 is a flowchart illustrating an example two of an instant message query method according to an embodiment of the present invention; as shown in fig. 4, the instant message query method includes:
step 301: the server receives a first message, analyzes the first message and obtains a query condition carried by the first message; wherein the query condition comprises: a target identification and a first keyword.
In this embodiment, the first message may be sent by a terminal device. Specifically, a user can input a query condition in a query interface provided by the instant message service client; the method comprises the steps that terminal equipment obtains an input query condition of a user, packages the query condition into a first message and sends the first message to a server.
Step 302: and inquiring the folder matched with the target identification according to the target identification.
The instant message in this embodiment is a session message, which may be a one-to-one session message or a group session message among multiple persons. When the session message is a one-to-one session message, the instant message with the session object may be stored in a folder, and the name, nickname, or number of the session object may be used as the folder name. When the session message is a group session message among multiple persons, the session message in the group can be stored in a folder, and the name or number of the group is used as the folder name. Thus, the target identification in the query condition may be an identification of a target object, such as a name, or a nickname, or a number of a contact; the identification of the target object may also be the name, or number, of the group.
Here, the terminal may query the folder name according to the target identifier in the obtained query condition, and obtain the folder matched with the target identifier.
Step 303: importing the data in the folder into a memory, extracting the head of the instant message in the folder, and obtaining second keyword information stored in the head of the instant message; wherein the second keyword comprises at least one of the following information: target object, target time, topic.
In this embodiment, in order to realize quick positioning in the query process, the summary information in each instant message is extracted as a second keyword, and the second keyword is stored in a preset field of the header of the instant message; the second keyword includes at least one of the following information: target object, target time, topic; wherein the target object is the name, nickname or number of the contact of the instant message; the target time is the time generated by the instant message; the subject is some keywords in the instant message, and may be words with the most occurrence times, words of a bingo structure in the instant message, or numbers appearing in the instant message, and may be specifically realized according to the setting of the actual situation.
Specifically, the instant messages in the folder are stored in a MIME format.
Step 304 to step 305: inquiring the extracted second keyword information according to the first keyword to obtain the head of the instant message matched with the first keyword; and determining the position of the instant message matched with the first keyword according to the information of the head of the instant message, and acquiring the instant message based on the position of the instant message.
In this embodiment, the first keyword includes at least one of the following information: query object, query time, query subject. The query object is the name, the nickname or the number of the contact to be queried; the query time is the time to be queried or a time period; the query topic is some keywords to be queried. The second keyword is keyword information extracted from an instant message header, and the keyword information comprises at least one of the following information: target object, target time, topic. Wherein the target object is the name, nickname or number of the contact of the instant message; the target time is the time generated by the instant message; the subject is some keywords in the instant message, and may be words with the most occurrence times, words of a bingo structure in the instant message, or numbers appearing in the instant message, and may be specifically realized according to the setting of the actual situation.
Specifically, taking the first keyword as query time as an example, querying information matched with the query time in the extracted second keyword information, determining a header of an instant message matched with the query time, determining a position of the instant message according to the header of the instant message, and determining and acquiring the instant message matched with the query time based on the position of the instant message.
Step 306: constructing a first response message and sending the first response message; the first response message includes instant message content matching the query condition.
Here, the constructing the first response message is: and encapsulating the acquired instant message content matched with the query condition in a preset field in the first response message, and further sending the first response message to the terminal.
The embodiment of the invention also provides an instant message inquiry device which can be applied to terminal equipment or a server. Fig. 5 is a schematic diagram of a structure of an instant message query device according to an embodiment of the present invention, and as shown in fig. 5, the instant message query device includes: an acquisition unit 41 and an inquiry unit 42; wherein,
the acquiring unit 41 is configured to acquire a query condition and send the query condition to the querying unit;
the query unit 42 is configured to search the stored instant messages according to the query conditions obtained by the obtaining unit 41, and obtain the content of the instant messages matched with the query conditions.
Specifically, the query condition includes: a target identifier and a first keyword; wherein the first keyword comprises at least one of the following information: query object, query time and query subject;
the query unit 42 is configured to query the folders matched with the target identifiers according to the target identifiers; and in the searched folder, searching the instant messages in the folder according to the first keyword to obtain the instant messages matched with the first keyword.
The querying unit 42 is further configured to, after querying the folder, extract summary information of the instant messages in the folder as second keyword information; wherein the second keyword comprises at least one of the following information: target object, target time, topic.
Specifically, the querying unit 42 is configured to query the extracted second keyword information according to the first keyword, obtain second keyword information matched with the first keyword, determine a location of an instant message matched with the first keyword according to the second keyword information, and obtain the instant message based on the location of the instant message.
In this embodiment, when the instant message query apparatus is applied to a terminal device, the obtaining unit 41 is configured to obtain an input operation, and obtain a query condition according to the input operation.
In another embodiment, when the instant message query device is applied to a server, the obtaining unit 41 is configured to receive a first message, analyze the first message, and obtain a query condition carried by the first message.
Further, the device further comprises a sending unit, configured to send a first response message, where the first response message includes instant message content matching the query condition.
It should be understood by those skilled in the art that the functions of each processing unit in the instant message query apparatus according to the embodiment of the present invention may be understood by referring to the related description of the foregoing instant message query method, and each processing unit in the instant message query apparatus according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
The instant message query device can be realized through terminal equipment or a server in practical application, wherein the terminal equipment can be equipment such as a mobile phone, a computer or a tablet personal computer; in practical applications, the query unit 42 in the instant message query device may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a programmable gate array (FPGA); when the instant message query device is applied to a terminal device, the obtaining unit 41 in the instant message query device can be implemented by combining an input device in the terminal device with a CPU, a DSP or an FPGA; when the instant message query device is applied in a server, the obtaining unit 41 and the sending unit in the instant message query device may be implemented by a transceiver or a transceiver in the server.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (14)

1. An instant message query method, the method comprising:
acquiring a query condition;
searching the stored instant message according to the query condition, and acquiring the instant message content matched with the query condition.
2. The method of claim 1, wherein the query condition comprises: a target identifier and a first keyword; the querying the stored instant message according to the query condition comprises the following steps:
inquiring a folder matched with the target identification according to the target identification;
in the searched folder, searching the instant messages in the folder according to the first keyword to obtain the instant messages matched with the first keyword;
wherein the first keyword comprises at least one of the following information: query object, query time, query subject.
3. The method of claim 2, wherein after querying the folder, the method comprises:
extracting summary information of the instant messages in the folder as second keyword information;
wherein the second keyword comprises at least one of the following information: target object, target time, topic.
4. The method of claim 3, wherein the querying the instant messages in the folder according to the first keyword to obtain the instant messages matching the first keyword comprises:
and inquiring the extracted second keyword information according to the first keyword to obtain second keyword information matched with the first keyword, determining the position of the instant message matched with the first keyword according to the second keyword information, and acquiring the instant message based on the position of the instant message.
5. The method of claim 1, wherein obtaining the query condition comprises:
and acquiring input operation, and acquiring query conditions according to the input operation.
6. The method of claim 1, wherein obtaining the query condition comprises:
and receiving a first message, analyzing the first message, and acquiring the query condition carried by the first message.
7. The method of claim 6, wherein after obtaining the instant message content matching the query condition, the method comprises:
and sending a first response message, wherein the first response message comprises the instant message content matched with the query condition.
8. An instant messaging query device, the device comprising: an acquisition unit and a query unit; wherein,
the acquisition unit is used for acquiring the query conditions and sending the query conditions to the query unit;
the query unit is used for searching the stored instant messages according to the query conditions acquired by the acquisition unit and acquiring the instant message contents matched with the query conditions.
9. The apparatus of claim 8, wherein the query condition comprises: a target identifier and a first keyword; wherein the first keyword comprises at least one of the following information: query object, query time and query subject;
the query unit is used for querying the folders matched with the target identifiers according to the target identifiers; and in the searched folder, searching the instant messages in the folder according to the first keyword to obtain the instant messages matched with the first keyword.
10. The apparatus according to claim 9, wherein the querying unit is further configured to extract summary information of the instant messages in the folder as second keyword information after querying the folder; wherein the second keyword comprises at least one of the following information: target object, target time, topic.
11. The apparatus according to claim 10, wherein the querying unit is configured to query the extracted second keyword information according to the first keyword, obtain second keyword information that matches the first keyword, determine a location of an instant message that matches the first keyword according to the second keyword information, and obtain the instant message based on the location of the instant message.
12. The apparatus according to claim 8, wherein the obtaining unit is configured to obtain an input operation, and obtain the query condition according to the input operation.
13. The apparatus according to claim 8, wherein the obtaining unit is configured to receive a first message, parse the first message, and obtain the query condition carried in the first message.
14. The apparatus of claim 13, further comprising a sending unit configured to send a first response message, wherein the first response message comprises instant message content matching the query condition.
CN201410227912.2A 2014-05-27 2014-05-27 Query method and device for instant messages Pending CN105279154A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410227912.2A CN105279154A (en) 2014-05-27 2014-05-27 Query method and device for instant messages
PCT/CN2014/086862 WO2015180306A1 (en) 2014-05-27 2014-09-18 Method and device for querying instant message, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410227912.2A CN105279154A (en) 2014-05-27 2014-05-27 Query method and device for instant messages

Publications (1)

Publication Number Publication Date
CN105279154A true CN105279154A (en) 2016-01-27

Family

ID=54697992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410227912.2A Pending CN105279154A (en) 2014-05-27 2014-05-27 Query method and device for instant messages

Country Status (2)

Country Link
CN (1) CN105279154A (en)
WO (1) WO2015180306A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660447A (en) * 2018-11-08 2019-04-19 厦门快商通信息技术有限公司 Information orientation grasping means and information management system based on chat data
CN109842544A (en) * 2017-11-29 2019-06-04 腾讯科技(深圳)有限公司 A kind of method and relevant device of information processing

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109873757A (en) * 2019-03-29 2019-06-11 上海连尚网络科技有限公司 Message display method, electronic equipment and readable medium for multi-conference

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102655481A (en) * 2011-03-04 2012-09-05 腾讯科技(深圳)有限公司 Webpape-based instant messaging chat content looking-up method and system
CN102685018A (en) * 2011-03-07 2012-09-19 腾讯科技(深圳)有限公司 Method and system for processing network instant messaging message and instant massaging equipment
CN103309998A (en) * 2013-06-25 2013-09-18 腾讯科技(深圳)有限公司 Message query method, message query device and terminal equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070226295A1 (en) * 2006-03-23 2007-09-27 Nokia Corporation Method and apparatuses for retrieving messages
CN101605109A (en) * 2009-07-15 2009-12-16 腾讯科技(深圳)有限公司 The management method of group message and device
CN103744857A (en) * 2013-12-10 2014-04-23 厦门亿联网络技术股份有限公司 Method for searching instant messaging chatting records for keywords

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102655481A (en) * 2011-03-04 2012-09-05 腾讯科技(深圳)有限公司 Webpape-based instant messaging chat content looking-up method and system
CN102685018A (en) * 2011-03-07 2012-09-19 腾讯科技(深圳)有限公司 Method and system for processing network instant messaging message and instant massaging equipment
CN103309998A (en) * 2013-06-25 2013-09-18 腾讯科技(深圳)有限公司 Message query method, message query device and terminal equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109842544A (en) * 2017-11-29 2019-06-04 腾讯科技(深圳)有限公司 A kind of method and relevant device of information processing
CN109842544B (en) * 2017-11-29 2021-08-27 腾讯科技(深圳)有限公司 Information processing method and related equipment
CN109660447A (en) * 2018-11-08 2019-04-19 厦门快商通信息技术有限公司 Information orientation grasping means and information management system based on chat data

Also Published As

Publication number Publication date
WO2015180306A1 (en) 2015-12-03

Similar Documents

Publication Publication Date Title
KR101728122B1 (en) Method for recommending users in social network and the system thereof
EP2783501B1 (en) Contact information synchronization system and method
CN107770229B (en) Cloud file sharing method and system and cloud server
KR20140037268A (en) Method, apparatus and storage medium for adding friends in social network
CN105701096A (en) Index generation method, data inquiry method, index generation device, data inquiry device and system
CN101937547A (en) Software and/or software information pushing method, system, acquisition device, software shop service system and mobile terminal
WO2012155602A1 (en) Method, device and system for pushing information
CN102750346B (en) Method, system and terminal device for recommending software
CN103970793A (en) Information inquiry method, client side and server
WO2013026325A1 (en) Person search method, device, and storage medium
CN103117914B (en) Friend recommendation method and system based on JICQ
CN107634897B (en) Group recommendation method and device
CN106470110B (en) Method and device for sending messages to multiple users in user list in group mode
TW201733313A (en) Reference Notification Method and Apparatus
CN101031101A (en) Method and device for reminding SMS split
CN109905873B (en) Network account correlation method based on characteristic identification information
CN106528688B (en) Analysis evidence obtaining method aiming at Twitter
CN107168599B (en) Instant messaging method and device
CN110598103A (en) Content aggregation method and device, computer equipment and storage medium
CN104935496B (en) Instant communicating method, system, device and instant communication terminal
CN105279154A (en) Query method and device for instant messages
CN102810103A (en) Search result sharing method and system
CN107453977A (en) The method and server of a kind of session management
WO2016037489A1 (en) Method, device and system for monitoring rcs spam messages
CN107545039B (en) Keyword index acquisition method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160127

RJ01 Rejection of invention patent application after publication