CN104348707A - Method, device and system for searching conversation message - Google Patents

Method, device and system for searching conversation message Download PDF

Info

Publication number
CN104348707A
CN104348707A CN201310344416.0A CN201310344416A CN104348707A CN 104348707 A CN104348707 A CN 104348707A CN 201310344416 A CN201310344416 A CN 201310344416A CN 104348707 A CN104348707 A CN 104348707A
Authority
CN
China
Prior art keywords
message
session
search
conversation
target
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
CN201310344416.0A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310344416.0A priority Critical patent/CN104348707A/en
Publication of CN104348707A publication Critical patent/CN104348707A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a method for searching a conversation message. The method comprises the following steps of a setting step, i.e. setting a search condition of a backup conversation record, wherein the backup conversation record corresponds to a current logging user and a conversation target of an instant messaging tool; a sending step. i.e. according to the search condition, generating a research request of the backup conversation record, sending the research request to a server, and after the server receives the research request, searching one or more target conversation messages in accordance with the search condition from the backup conversation record; a displaying step, i.e. acquiring and displaying the target conversation messages. The invention also provides a device and a system for searching the conversation message. By the method, the device and the system, the hit rate of searching for the required conversation message can be improved, and data traffic is saved.

Description

A kind of conversation message lookup method, Apparatus and system
Technical field
The specific embodiment of the invention relates to technical field of network communication, particularly a kind of conversation message lookup method, Apparatus and system.
Background technology
Along with the development of network communications technology, various instant messaging (IM, Instant Messenger) instrument, such as QQ, micro-letter etc. become the requisite Software tool of people gradually, make the information interchange of people more convenient and quick.In the important component part that the conversation recording using immediate communication tool to carry out producing in the process exchanged is immediate communication tool.User can find out and certain session object from being kept at local conversation recording according to the search criterion preset, some important conversation messages that such as certain contact person or discussion group, group produce, good friend's contact method that such as session object provides, or with the agreement etc. of session object about time place.
If the message roaming function of immediate communication tool is not opened, be then kept at the conversation message only having user to produce with session object on local terminal in local conversation recording, and do not comprise the conversation message that user produces with session object on other-end.If the conversation message that user really needs produces on other-end, then cannot find from being kept at local conversation recording, thus the hit rate finding required conversation message is reduced.
If the message roaming function of immediate communication tool is unlocked, then the conversation message that produces with session object on which station terminal of user is all by the backup session record in uploading onto the server.When user uses immediate communication tool in this locality, the backup session record described in can downloading from server, makes to be kept at local conversation recording and this backup session recording synchronism.In this case, user can find from being kept at local conversation recording the conversation message produced at any station terminal.But, synchronously be kept at local conversation recording from server download backup session record and may expend more data traffic, and small part conversation message in the backup session record downloaded, also may be only had to be that user needs, thus cause the waste of data traffic.
Summary of the invention
In view of this, be necessary to provide a kind of conversation message lookup method, Apparatus and system, not only can improve the hit rate of searching required conversation message, can also data traffic be saved.
A kind of conversation message lookup method, comprises the following steps: setting procedure: set the search criterion to backup session record, and this backup session record corresponds to current login user and a session object of immediate communication tool; Forwarding step: generate the search request to this backup session record according to this search criterion, and this search request is sent to server, after this server receives this search request, the one or more target session message conformed to this search criterion will be found out from described backup session record; Step display: obtain and show this target session message.
A kind of conversation message searches device, comprising: setting module, and for setting the search criterion to backup session record, this backup session record corresponds to current login user and a session object of immediate communication tool; Sending module, for generating the search request to this backup session record according to this search criterion, and this search request is sent to server, after this server receives this search request, the one or more target session message conformed to this search criterion will be found out from described backup session record; Display module, for obtaining and showing this target session message.
A kind of conversation message seeking system, comprises terminal and server; Described terminal is for setting the search criterion to backup session record, and this backup session record corresponds to current login user and a session object of immediate communication tool; This search request also for generating the search request to this backup session record according to this search criterion, and is sent to described server by described terminal; Described server for receiving this search request, and finds out the one or more target session message conformed to this search criterion from described backup session record; Described terminal is also for obtaining and showing this target session message.
A kind of conversation message lookup method, comprises the following steps; Terminal profile is to the search criterion of backup session record, and this backup session record corresponds to current login user and a session object of immediate communication tool; Described terminal generates the search request to this backup session record according to this search criterion, and this search request is sent to server; Described server receives this search request, and from described backup session record, find out the one or more target session message conformed to this search criterion; Described terminal obtains and shows this target session message.
Compared to prior art, conversation message lookup method of the present invention, Apparatus and system, by the search request carrying search criterion is sent to server, request server finds out the target session message conformed to this search criterion in preserved backup session record, and obtain and show this target session message, not only can improve the hit rate of searching required conversation message, can also data traffic be saved.
For above and other object of the present invention, feature and advantage can be become apparent, preferred embodiment cited below particularly, and coordinate institute's accompanying drawings, be described in detail below.
Accompanying drawing explanation
Fig. 1 is a kind of structured flowchart of terminal.
Environment schematic during the conversation message lookup method application that Fig. 2 provides for the embodiment of the present invention.
The flow chart of the conversation message lookup method that Fig. 3 provides for first embodiment of the invention.
Fig. 4 is the schematic diagram setting search criterion in session window.
Fig. 5 is the schematic diagram of display-object conversation message in session window.
The flow chart of the conversation message lookup method that Fig. 6 provides for second embodiment of the invention.
The flow chart of the conversation message lookup method that Fig. 7 provides for third embodiment of the invention.
Fig. 8 searches the block diagram of device for conversation message that fourth embodiment of the invention provides.
Fig. 9 searches the block diagram of device for conversation message that fifth embodiment of the invention provides.
The block diagram of the conversation message seeking system that Figure 10 provides for sixth embodiment of the invention and the 7th embodiment.
The flow chart of the conversation message lookup method that Figure 11 provides for eighth embodiment of the invention.
The flow chart of the conversation message lookup method that Figure 12 provides for ninth embodiment of the invention.
Embodiment
For further setting forth the present invention for the technological means that realizes predetermined goal of the invention and take and effect, below in conjunction with accompanying drawing and preferred embodiment, to according to the specific embodiment of the present invention, structure, feature and effect thereof, be described in detail as follows.
Fig. 1 shows a kind of structured flowchart of terminal.As shown in Figure 1, terminal 1 comprises one or more (only illustrating one in figure) memory 11, processor 12, storage control 13, Peripheral Interface 14, communication module 15, input unit 16 and display unit 17.These assemblies are by the mutual communication of one or more communication bus/holding wire.
One of ordinary skill in the art will appreciate that, the structure shown in Fig. 1 is only signal, and it does not cause restriction to the structure of terminal 1.Such as, terminal 1 also can comprise than assembly more or less shown in Fig. 1, or has the configuration different from shown in Fig. 1.Each assembly shown in Fig. 1 can adopt hardware, software or its combination to realize.
Memory 11 can be used for storing software program and module, as the conversation message lookup method in the embodiment of the present invention and program command/module corresponding to device, processor 12 is by running the software program and module that are stored in memory 11, thus perform the application of various function and data processing, namely realize above-mentioned conversation message lookup method.
Memory 11 can comprise high speed random asccess memory, also can comprise nonvolatile memory, as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memory 11 can comprise the memory relative to the long-range setting of processor 12 further, and the memory of these long-range settings can be connected to terminal 1 by network.The example of above-mentioned network includes but not limited to the Internet, intranet, local area network (LAN), mobile radio communication and combination thereof.Processor 12 and other possible assemblies can carry out the access of memory 11 under the control of storage control 13.
Various input/output device is coupled to processor 12 and memory 11 by Peripheral Interface 14.Various softwares in processor 12 run memory 11, instruction and perform terminal 1 various function and carry out data processing.
Communication module 15 is for communicating with communication network or other equipment.Particularly, communication module 15 can be such as network interface card 151 or RF(Radio Frequency, radio frequency) module 152.Network interface card 151 is as the interface connecting computer and transmission medium in local area network (LAN), mate with the signal of telecommunication for the physical connection realized between local network transport medium, thus set up local area network (LAN) and be connected to internet (Internet), with various network as local area network (LAN), metropolitan area network, wide area network communicate.Network interface card 151 can comprise the various existing circuit element for performing above-mentioned functions, such as processor and memory (comprising ROM and RAM) etc.RF module 152, for receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and the signal of telecommunication, thus communicates with communication network or other equipment.RF module 152 can comprise the various existing circuit element for performing these functions, such as, and antenna, radio-frequency (RF) transceiver, digital signal processor, encrypt/decrypt chip, subscriber identity module (SIM) card, memory etc.RF module 152 can with various network as the Internet, intranet, wireless network carry out communicating or being communicated with other equipment by wireless network.Above-mentioned wireless network can comprise cellular telephone networks, WLAN (wireless local area network) or metropolitan area network.Above-mentioned wireless network can use various communication standard, agreement and technology, include, but are not limited to global system for mobile communications (Global System for Mobile Communication, GSM), enhancement mode mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code division multiple access, W-CDMA), CDMA (Code Division Multiple Access) (Code division access, CDMA), tdma (time division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (as IEEE-USA standard IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and/or IEEE 802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave access (Worldwide Interoperability for Microwave Access, Wi-Max), other are for mail, the agreement of instant messaging and short message, and any other suitable communication protocol, even can comprise those current agreements be developed not yet.
Input unit 16 can be used for the character information receiving input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Particularly, input unit 16 can comprise button 161 and touch-control surface 162.Button 161 such as can comprise the character keys for input character, and for the control button of trigging control function.The example controlling button comprises " returning main screen " button, start/shutdown button, key etc. of taking pictures.Touch-control surface 162 can collect user or neighbouring touch operation (such as user uses any applicable object or the operations of annex in touch-control surface 162 or near touch-control surface 162 such as finger, stylus) thereon, and according to the corresponding jockey of the driven by program preset.Optionally, touch-control surface 162 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 12, and the order that energy receiving processor 12 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize touch-control surface 162.Except touch-control surface 162, input unit 16 can also comprise other input equipments.Other above-mentioned input equipments include but not limited in physical keyboard, trace ball, mouse, action bars etc. one or more.
Display unit 17 is for showing the various graphic interfaces of the information inputted by user, the information being supplied to user and terminal 1.These graphical user interface can be made up of figure, text, icon, video and its combination in any.In an example, display unit 17 comprises a display floater 171.This display floater 171 such as can be a display panels (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode Display, OLED) display floater, electrophoretic display panel (Electro-Phoretic Display, EPD) etc.Further, touch-control surface 162 can be arranged on display floater 171 thus to form an entirety with display floater 171.
Consult shown in Fig. 2, the environment schematic during conversation message lookup method application provided for the embodiment of the present invention.In the present embodiment, this conversation message lookup method is applied in above-mentioned terminal 1, for finding out required conversation message in the current login user of an immediate communication tool from terminal 1 and the backup session record of a certain session object, i.e. target session message.This backup session record is kept in server 3.This terminal 1 and other terminal (for terminal 40 in Fig. 2) carry out network service by network 2 and this server 3.The instantiation of this terminal 1 includes, but are not limited to desktop computer, portable computer, smart mobile phone, panel computer, PDA(Personal Digital Assistant, personal digital assistant) or other similar arithmetic units.Other described terminal can have the configuration identical with terminal 1.This server 3 can comprise one or more server, and this server 3 also can be that virtual cloud calculates module certainly.This network 2 can be arbitrary internetwork connection mode, such as the Internet (Internet), mobile Internet (as 2G, 3G network that telecom operators provide), local area network (LAN) (wired or wireless) etc.
First embodiment
Consult shown in Fig. 3, first embodiment of the invention provides a kind of conversation message lookup method, and this conversation message lookup method comprises the following steps:
Step S1, sets the search criterion to backup session record, and this backup session record corresponds to current login user and a session object of immediate communication tool;
Step S2, the search request to this backup session record is generated according to this search criterion, and this search request is sent to server 3, after this server 3 receives this search request, the one or more target session message conformed to this search criterion will be found out from described backup session record;
Step S3, obtains and shows this target session message.
According to above-mentioned conversation message lookup method, by the search request carrying search criterion is sent to server 3, request server 3 finds out the target session message conformed to this search criterion in preserved backup session record, and obtain and show this target session message, not only can improve the hit rate of searching required conversation message, can also data traffic be saved.
In some instances, said method each step to realize details as follows:
Immediate communication tool described in step S1 is such as QQ, micro-letter etc.This immediate communication tool is erected in server 3, and the client of immediate communication tool is then installed and run in described terminal 1.Specifically, before step S1, also comprise the login process of this current login user to this immediate communication tool: current login user is to the client input login account of this immediate communication tool, and this login account can be the user name and password of applying in advance; This login account is delivered to server 3 and is verified its validity by the client of immediate communication tool; When server 3 verifies that this login account is effective, this current this immediate communication tool of login user Successful login, thus can in the client of immediate communication tool, select one or more session object to conversate.This session object such as comprises contact person corresponding to this login account, the group added or discussion group etc.
Described backup session record corresponds to this current login user and one of them selected session object, and this backup session record is kept in server 3.Specifically, the conversation message that current login user is produced by the client of immediate communication tool and this session object in terminal 1 will be stored in local session record, and this local session record such as can be stored in the described memory 11 of terminal 1.Meanwhile, current login user terminal 1 or the conversation message produced by the client of immediate communication tool and this session object in other terminal (such as terminal 40) all by by synchronized upload in this backup session record in server 3.Therefore, all conversation messages of current login user and this session object are preserved in this backup session record.
Each conversation message in described backup session record and local session record all comprises some index informations, the generation time etc. of the ID of such as conversation message, the type (such as text, picture, voice etc.) of conversation message, conversation message.Wherein, the ID of this conversation message can be set by server 3, such as, when server 3 forwards conversation message between current login user and session object, can set unique ID for this conversation message.Therefore backup session record is consistent with the ID of the same conversation message in local session record, can identify different conversation messages by the ID of conversation message.
It should be noted that different from existing message roaming function, after current this immediate communication tool of login user Successful login, the client of immediate communication tool carrys out synchronous local session record not by downloading this backup session record from server 3.Therefore, the described local session record in terminal 1 still only preserves current login user in terminal 1 by conversation message that the client of immediate communication tool and this session object produce.
Step S1 can set described search criterion according to the operation of user.This user can be described current login user, also can for deserving the 3rd people beyond front login user.Specifically, such as, this user first can select the mark of this session object, such as, some good friend's head portraits in QQ buddy list.Receive user to after the selection operation of this session object, call session window administration module and utilize Windows window related application DLL (dynamic link library) (API, Application Programming Interface) create one to should the session window of session object, and this session window is presented on the described display unit 17 of terminal 1.
This session window comprises various menu item for this session object and input frame, such as, the menu item 601 searching described local session record shown in Fig. 4, the menu item 602 searching described backup session record, the input frame setting the search criterion of this local session record or this backup session record or menu item 603 to 606 etc.This search criterion such as can comprise search key, based on this search key fuzzy search or accurately search, search time range etc.Continue for Fig. 4, when the keyword receiving input in keyword input frame 603 " is liked ", and to when searching the menu item 602 of backup session record, fuzzy search menu item 605 and search the selection operation of " nearest one month " option in time range menu item 606, step S1 setting to the search criterion of backup session record is: within nearest one month ,+fuzzy search " liked " in generation+keyword.
This search criterion is carried in the search request to this backup session record described in step S2.In addition, this search request also comprises the mark (No. QQ of such as current login user) of such as current login user, the mark (No. QQ of such as session object) of this session object, the device identification of terminal 1, the network interface card MAC(Media Access Control of such as terminal 1, medium access control) information such as address.The described mark of current login user can navigate to the current login user described backup session record corresponding with this session object with the mark of this session object for making server 3.The device identification of described terminal 1 is used for making server 3 can navigate to terminal 1, thus data are turned back to terminal 1.
This search request is used for request server 3 and finds out the target session message conformed to this search criterion from this preserved backup session record.If this search criterion comprises search key, then this target session message of finding out of server 3 and described search key fuzzy matching or exact matching.Continue a upper example, fuzzy matching " liked " in described target session message and described keyword, and produce in nearest one month.Be appreciated that the target session message that can find out text type based on this search key.After server 3 finds out target session message from this backup session record, this target session message is returned terminal 1.
This target session message that acquisition server 3 returns by step S3, and this target session message is shown in the described session window of display unit 17, as shown in Figure 5.Because the size of this display unit 17 and this session window is limited, this target session message obtained can be divided into multiple page to be presented in this session window one by one, such as, and according to the page turning option set, the option 607 in Fig. 5 makes this target session message page turning in session window show.This target session message obtained can be temporarily stored in terminal 1, waits to terminate this target session message of display, or after one section of Preset Time, by this kept in target session message erasing, thus can save the memory space of terminal 1.
In sum, according to the conversation message lookup method of the present embodiment, without the need to the backup session record in download server 3 with the local session record in synchronous terminal 1, the target session message conformed to the search criterion preset can be found out equally from this backup session record.While the hit rate of required conversation message is searched in raising, data traffic can also be saved.
Second embodiment
According to the conversation message lookup method of the first embodiment, after the target session message conformed to this search criterion that acquisition server 3 returns, just this target session message is temporarily stored in terminal 1, and removes in time.But the target session message conformed to this search criterion more may meet the demand of user to a certain extent, therefore user needs the probability of again searching this target session message also larger.If desired again search this target session message, then still need server 3 from this backup session record, find out this target session message conformed to this search criterion, and this target session message is back to terminal 1.This process repeats and loaded down with trivial details, and needs again to consume data traffic corresponding to this target session message.
In order to solve the problem further, consult shown in Fig. 6, second embodiment of the invention provides a kind of conversation message lookup method, and it is compared to the conversation message lookup method of the first embodiment, and described step S3 comprises further:
Step S3.1, judges whether this target session message is present in the local session record of this current login user and this session object.Specifically, because the ID of conversation message has uniqueness, therefore can judge whether be present in this local session record with this target session message according to the ID with this target session message.If this target session message comprises many, then need the ID judging each objective conversation message successively whether consistent with the ID of a certain bar conversation message in local session record, if, then judge that this objective conversation message is present in local session record, if not, then judge that this objective conversation message is not present in local session record.
Step S3.2, if this target session message is not present in local session record, then by this target session message stored in described local session record.Specifically, the target session message not being present in local session record can be inserted in local session record according to the order of generation time.If be appreciated that, this target session message comprises many, then only by the target session message that is not wherein present in this local session record stored in local session record, avoid repeated storage.
In sum, according to the conversation message lookup method of the present embodiment, by obtained target session message, be not present in the target session message of local session record stored in local session record.When user needs again to search this target session message, directly can find this target session message in local session record, thus avoid loaded down with trivial details download flow process, save data traffic further.
3rd embodiment
According to the conversation message lookup method of the first embodiment, target session message described in find from backup session record one or more is all returned terminal 1 and shows by server 3.But the part in this target session message may Already in described local session record, and there is no need to download from server 3.If the data volume of the partial target conversation message Already in local session record is comparatively large, then download from server 3 waste that this partial target conversation message Already in local session record also can cause data traffic.
In order to solve the problem further, consult shown in Fig. 7, third embodiment of the invention provides a kind of conversation message lookup method, and it is compared to the conversation message lookup method of the first embodiment, and taking a step forward of described step S2 comprises:
Step S2.1, finds out with the local session record of this session object the local session message conformed to this search criterion from this current login user, and obtains the ID of this local session message.This local session message conformed to this search criterion as do not existed in local session record, then flow process terminates.
Correspondingly, described step S2 comprises:
Generate the search request to this backup session record according to the ID of this search criterion and this local session message, and this search request is sent to server 3.
After server 3 receives this search request, the one or more target session message conformed to this search criterion will be found out from described backup session record, and get rid of the partial target conversation message corresponding with the ID of this local session message from this target session message, thus obtain BlueDrama message.Then, this BlueDrama message is returned terminal 1 by server 3.This BlueDrama message refers to and is only kept in backup session record, and is not kept at the target session message in local session record.
Correspondingly, described step S3 comprises:
Obtain this BlueDrama message that server 3 returns, the described local session message this BlueDrama message and step S2.1 found out is integrated into described target session message, then in described session window, shows this target session message.Specifically, this BlueDrama message can be become this target session message with this local session message according to the sequence integration of generation time by step S3.
In sum, in the conversation message lookup method of the present embodiment, server 3 is only by the target session message that conforms to this search criterion, and be not present in the partial target conversation message in local session record, namely described BlueDrama message is back to terminal 1.After terminal 1 finds out the local session message conformed to this search criterion in local session record, this local session message and this BlueDrama message are integrated into described target session message and show, data traffic can be saved further.
4th embodiment
Consult shown in Fig. 8, fourth embodiment of the invention provides a kind of conversation message to search device 100, and it comprises setting module 101, sending module 102 and display module 103.Be appreciated that above-mentioned each module refers to computer program or program segment, for performing certain one or more specific function.In addition, the differentiation of above-mentioned each module does not represent actual program code and must separate yet.
Setting module 101, for setting the search criterion to backup session record, this backup session record corresponds to current login user and a session object of immediate communication tool.This search criterion comprises search key, and based on this search key fuzzy search or accurately search.
Sending module 102, for generating the search request to this backup session record according to this search criterion, and this search request is sent to server 3, after this server 3 receives this search request, the one or more target session message conformed to this search criterion will be found out from described backup session record.This target session message and this search key fuzzy matching or exact matching.
Display module 103, for obtaining and showing this target session message.In an example, display module 103 will keep in this target session message, until end display this target session message or after one section of Preset Time, then remove this target session message of keeping in, thus the memory space of terminal 1 can be saved.
In another example, display module 103 also for judging whether this target session message is present in the local session record of this current login user and this session object, if not, then by this target session message stored in described local session record.When user needs again to search this target session message, directly can find this target session message in local session record, thus avoid loaded down with trivial details download flow process, save data traffic further.
For the specific works process of above each module, the conversation message lookup method that can provide with further reference to first embodiment of the invention or the second embodiment, no longer repeats at this.
In sum, the conversation message of the present embodiment searches device 100, by the search request carrying search criterion is sent to server 3, request server 3 finds out the target session message conformed to this search criterion in preserved backup session record, and obtain and show this target session message, not only can improve the hit rate of searching required conversation message, can also data traffic be saved.
5th embodiment
Consult shown in Fig. 9, fifth embodiment of the invention provides a kind of conversation message to search device 200, and its conversation message compared to the 4th embodiment searches device 100, comprises further and searches module 104, and this is searched module 104 and performs after described setting module 101.
Describedly searching module 104, for finding out with the local session record of this session object the local session message conformed to this search criterion from this current login user, and obtaining the ID of this local session message.
Correspondingly, described sending module 102, for generating the search request to this backup session record according to the ID of this search criterion and this local session message, and is sent to server 3 by this search request.After server 3 receives this search request, the one or more target session message conformed to this search criterion will be found out from described backup session record, and get rid of the partial target conversation message corresponding with the ID of this local session message from this target session message, thus obtain BlueDrama message.Then, this BlueDrama message is returned terminal 1 by server 3.
Correspondingly, described display module 103, for obtaining this BlueDrama message, being integrated into described target session message by this BlueDrama message and described local session message, then showing this target session message.
For the specific works process of above each module, the conversation message lookup method that can provide with further reference to third embodiment of the invention, no longer repeats at this.
In sum, the conversation message of the present embodiment searches device 200, the local session message conformed to this search criterion is found out in local session record, and the BlueDrama message that this local session message and server 3 return is integrated into this target session message shows, data traffic can be saved further.
6th embodiment
Consult shown in Figure 10, sixth embodiment of the invention provides a kind of conversation message seeking system 300, and this conversation message seeking system 300 comprises described terminal 1 and server 3.
Described terminal 1 is for setting the search criterion to backup session record, and this backup session record corresponds to current login user and a session object of immediate communication tool.This search criterion comprises search key, and based on this search key fuzzy search or accurately search.
This search request also for generating the search request to this backup session record according to this search criterion, and is sent to described server 3 by described terminal 1.
Described server 3 for receiving this search request, and finds out the one or more target session message conformed to this search criterion from described backup session record.This target session message and this search key fuzzy matching or exact matching.
Described terminal 1 is also for obtaining and showing this target session message.In an example, described terminal 1 will keep in this target session message, until end display this target session message or after one section of Preset Time, then remove this target session message of keeping in, thus the memory space of terminal 1 can be saved.
In another example, described terminal 1 also for judging whether this target session message is present in the local session record of this current login user and this session object, if not, then by this target session message stored in described local session record.When user needs again to search this target session message, directly can find this target session message in local session record, thus avoid loaded down with trivial details download flow process, save data traffic further.
For the specific works process of terminal 1 and server 3, the conversation message lookup method that can provide with further reference to first embodiment of the invention or the second embodiment, no longer repeats at this.
In sum, in the conversation message seeking system 300 of the present embodiment, the search request carrying search criterion is sent to server 3 by terminal 1, server 3 finds out the target session message conformed to this search criterion in preserved backup session record, terminal 1 then obtains and shows this target session message, not only can improve the hit rate of searching required conversation message, can also data traffic be saved.
7th embodiment
Continue to consult shown in Figure 10, seventh embodiment of the invention provides a kind of conversation message seeking system 400, it is compared to the conversation message seeking system 300 of the 6th embodiment, described terminal 1 is after this search criterion of setting, find out with the local session record of this session object the local session message conformed to this search criterion from this current login user by being further used for, and obtain the ID of this local session message.Then, terminal 1 generates the search request to this backup session record according to the ID of this search criterion and this local session message, and this search request is sent to described server 3.
Correspondingly, after described server 3 finds out the one or more target session message conformed to this search criterion from described backup session record, from this target session message, getting rid of the partial target conversation message corresponding with the ID of this local session message by being further used for, obtaining BlueDrama message.
Correspondingly, this BlueDrama message and described local session message, before this target session message of display, by this BlueDrama message of acquisition, are integrated into described target session message by described terminal 1.
For the specific works process of terminal 1 and server 3, the conversation message lookup method that can provide with further reference to third embodiment of the invention, no longer repeats at this.
In sum, in the conversation message seeking system 400 of the present embodiment, terminal 1 finds out the local session message conformed to this search criterion in local session record, and the BlueDrama message in target session message is back to terminal 1 by server 3, then this local session message and this BlueDrama message are integrated into this target session message and show by terminal 1, can save data traffic further.
8th embodiment
Consult shown in Figure 11, eighth embodiment of the invention provides a kind of conversation message lookup method, and this conversation message lookup method comprises the following steps:
Step S11, terminal 1 sets the search criterion to backup session record, and this backup session record corresponds to current login user and a session object of immediate communication tool.This search criterion comprises search key, and based on this search key fuzzy search or accurately search.
Step S12, described terminal 1 generates the search request to this backup session record according to this search criterion, and this search request is sent to server 3.
Step S13, described server 3 receives this search request, and from described backup session record, find out the one or more target session message conformed to this search criterion.This target session message and this search key fuzzy matching or exact matching.
Step S14, described terminal 1 obtains and shows this target session message.In an example, terminal 1 will keep in this target session message, until end display this target session message or after one section of Preset Time, then remove this target session message of keeping in, thus the memory space of terminal 1 can be saved.
In another example, terminal 1 also judges whether this target session message is present in the local session record of this current login user and this session object, if not, then by this target session message stored in described local session record.When user needs again to search this target session message, directly can find this target session message in local session record, thus avoid loaded down with trivial details download flow process, save data traffic further.
In sum, in the conversation message lookup method of the present embodiment, the search request carrying search criterion is sent to server 3 by terminal 1, server 3 finds out the target session message conformed to this search criterion in preserved backup session record, terminal 1 then obtains and shows this target session message, not only can improve the hit rate of searching required conversation message, can also data traffic be saved.
9th embodiment
Consult shown in Figure 12, ninth embodiment of the invention provides a kind of conversation message lookup method, and it, compared to the conversation message lookup method of the 8th embodiment, comprises taking a step forward of described step S12:
Step S121, terminal 1 finds out with the local session record of this session object the local session message conformed to this search criterion from this current login user, and obtains the ID of this local session message.
Correspondingly, described step S12 comprises further:
Terminal 1 generates the search request to this backup session record according to the ID of this search criterion and this local session message, and this search request is sent to described server 3.
Described step S13 comprises further:
Server 3 receives this search request, the one or more target session message conformed to this search criterion is found out from described backup session record, and the partial target conversation message corresponding with the ID of this local session message is got rid of from this target session message, obtain BlueDrama message.
Described step S14 comprises further:
Terminal 1 obtains this BlueDrama message, this BlueDrama message and described local session message is integrated into described target session message, and shows this target session message.
In sum, in the conversation message lookup method of the present embodiment, terminal 1 finds out the local session message conformed to this search criterion in local session record, and the BlueDrama message in target session message is back to terminal 1 by server 3, then this local session message and this BlueDrama message are integrated into this target session message and show by terminal 1, can save data traffic further.
In addition, the embodiment of the present invention also provides a kind of computer-readable recording medium, is stored with computer executable instructions, and above-mentioned computer-readable recording medium is such as nonvolatile memory such as CD, hard disk or flash memory.Above-mentioned computer executable instructions completes various operations in above-mentioned conversation message lookup method for allowing computer or similar arithmetic unit.
The above, it is only preferred embodiment of the present invention, not any pro forma restriction is done to the present invention, although the present invention discloses as above with preferred embodiment, but and be not used to limit the present invention, any those skilled in the art, do not departing within the scope of technical solution of the present invention, make a little change when the technology contents of above-mentioned announcement can be utilized or be modified to the Equivalent embodiments of equivalent variations, in every case be do not depart from technical solution of the present invention content, according to any brief introduction amendment that technical spirit of the present invention is done above embodiment, equivalent variations and modification, all still belong in the scope of technical solution of the present invention.

Claims (22)

1. a conversation message lookup method, is characterized in that, the method comprises the following steps:
Setting procedure: set the search criterion to backup session record, this backup session record corresponds to current login user and a session object of immediate communication tool;
Forwarding step: generate the search request to this backup session record according to this search criterion, and this search request is sent to server, after this server receives this search request, the one or more target session message conformed to this search criterion will be found out from described backup session record;
Step display: obtain and show this target session message.
2. conversation message lookup method as claimed in claim 1, it is characterized in that, described search criterion comprises search key.
3. conversation message lookup method as claimed in claim 2, it is characterized in that, described search criterion also comprises based on this search key fuzzy search or accurately searches.
4. conversation message lookup method as claimed in claim 2 or claim 3, is characterized in that, described target session message and this search key fuzzy matching or exact matching.
5. conversation message lookup method as claimed in claim 1, it is characterized in that, described step display also comprises:
Judge whether this target session message is present in the local session record of this current login user and this session object, if not, then by this target session message stored in described local session record.
6. conversation message lookup method as claimed in claim 1, is characterized in that, also comprise before described forwarding step:
Finding step: find out with the local session record of this session object the local session message conformed to this search criterion from this current login user, and obtain the ID of this local session message.
7. conversation message lookup method as claimed in claim 6, it is characterized in that, described forwarding step comprises:
Generate the search request to this backup session record according to the ID of this search criterion and this local session message, and this search request is sent to server;
After server receives this search request, the one or more target session message conformed to this search criterion will be found out from described backup session record, and the partial target conversation message corresponding with the ID of this local session message is got rid of from this target session message, obtain BlueDrama message.
8. conversation message lookup method as claimed in claim 7, it is characterized in that, described step display comprises:
Obtain this BlueDrama message, this BlueDrama message and described local session message are integrated into described target session message, and show this target session message.
9. conversation message searches a device, it is characterized in that, this device comprises:
Setting module, for setting the search criterion to backup session record, this backup session record corresponds to current login user and a session object of immediate communication tool;
Sending module, for generating the search request to this backup session record according to this search criterion, and this search request is sent to server, after this server receives this search request, the one or more target session message conformed to this search criterion will be found out from described backup session record;
Display module, for obtaining and showing this target session message.
10. conversation message as claimed in claim 9 searches device, and it is characterized in that, described search criterion comprises search key.
11. conversation messages as claimed in claim 10 search device, it is characterized in that, described search criterion also comprises based on this search key fuzzy search or accurately searches.
12. conversation messages as described in claim 10 or 11 search device, it is characterized in that, described target session message and this search key fuzzy matching or exact matching.
13. conversation messages as claimed in claim 9 search device, it is characterized in that, described display module also for:
Judge whether this target session message is present in the local session record of this current login user and this session object, if not, then by this target session message stored in described local session record.
14. conversation messages as claimed in claim 9 search device, it is characterized in that, also comprise:
Searching module, for finding out with the local session record of this session object the local session message conformed to this search criterion from this current login user before the described sending module of execution, and obtaining the ID of this local session message.
15. conversation messages as claimed in claim 14 search device, and it is characterized in that, described sending module is used for:
Generate the search request to this backup session record according to the ID of this search criterion and this local session message, and this search request is sent to server;
After server receives this search request, the one or more target session message conformed to this search criterion will be found out from described backup session record, and the partial target conversation message corresponding with the ID of this local session message is got rid of from this target session message, obtain BlueDrama message.
16. conversation messages as claimed in claim 15 search device, and it is characterized in that, described display module is used for:
Obtain this BlueDrama message, this BlueDrama message and described local session message are integrated into described target session message, and show this target session message.
17. 1 kinds of conversation message seeking systems, is characterized in that, this system comprises terminal and server;
Described terminal is for setting the search criterion to backup session record, and this backup session record corresponds to current login user and a session object of immediate communication tool;
This search request also for generating the search request to this backup session record according to this search criterion, and is sent to described server by described terminal;
Described server for receiving this search request, and finds out the one or more target session message conformed to this search criterion from described backup session record;
Described terminal is also for obtaining and showing this target session message.
18. conversation message seeking systems as claimed in claim 17, is characterized in that, described terminal acquisition this target session message after, also for:
Judge whether this target session message is present in the local session record of this current login user and this session object, if not, then by this target session message stored in described local session record.
19. conversation message seeking systems as claimed in claim 17, is characterized in that, described terminal setting this search criterion after, also for:
Find out with the local session record of this session object the local session message conformed to this search criterion from this current login user, and obtain the ID of this local session message;
Generate the search request to this backup session record according to the ID of this search criterion and this local session message, and this search request is sent to described server.
20. conversation message seeking systems as claimed in claim 19, is characterized in that, after described server finds out the one or more target session message conformed to this search criterion from described backup session record, also for:
From this target session message, get rid of the partial target conversation message corresponding with the ID of this local session message, obtain BlueDrama message.
21. conversation message seeking systems as claimed in claim 20, is characterized in that, described terminal display this target session message before, also for:
Obtain this BlueDrama message, this BlueDrama message and described local session message are integrated into described target session message.
22. 1 kinds of conversation message lookup methods, it is characterized in that, the method comprises the following steps;
Terminal profile is to the search criterion of backup session record, and this backup session record corresponds to current login user and a session object of immediate communication tool;
Described terminal generates the search request to this backup session record according to this search criterion, and this search request is sent to server;
Described server receives this search request, and from described backup session record, find out the one or more target session message conformed to this search criterion;
Described terminal obtains and shows this target session message.
CN201310344416.0A 2013-08-08 2013-08-08 Method, device and system for searching conversation message Pending CN104348707A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310344416.0A CN104348707A (en) 2013-08-08 2013-08-08 Method, device and system for searching conversation message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310344416.0A CN104348707A (en) 2013-08-08 2013-08-08 Method, device and system for searching conversation message

Publications (1)

Publication Number Publication Date
CN104348707A true CN104348707A (en) 2015-02-11

Family

ID=52503563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310344416.0A Pending CN104348707A (en) 2013-08-08 2013-08-08 Method, device and system for searching conversation message

Country Status (1)

Country Link
CN (1) CN104348707A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105589625A (en) * 2015-12-21 2016-05-18 惠州Tcl移动通信有限公司 Method and device for processing social media message and communication terminal
CN105933202A (en) * 2016-04-13 2016-09-07 郑州悉知信息科技股份有限公司 Message processing method and device
CN106161651A (en) * 2016-08-30 2016-11-23 成都科来软件有限公司 A kind of data screening method based on BlueDrama
CN107666434A (en) * 2017-10-23 2018-02-06 林楚莲 A kind of querying method and system of instant messaging content
CN109347973A (en) * 2018-11-15 2019-02-15 北京酷我科技有限公司 A kind of client instant communication method and system
CN109842544A (en) * 2017-11-29 2019-06-04 腾讯科技(深圳)有限公司 A kind of method and relevant device of information processing
CN109873745A (en) * 2017-12-01 2019-06-11 腾讯科技(深圳)有限公司 Communication control method, device and storage medium
CN109885604A (en) * 2019-01-22 2019-06-14 平安科技(深圳)有限公司 Chat messages methods of exhibiting, electronic device and computer readable storage medium
CN109992179A (en) * 2018-12-25 2019-07-09 阿里巴巴集团控股有限公司 Conversation recording lookup method and device
CN112559553A (en) * 2020-12-24 2021-03-26 上海明略人工智能(集团)有限公司 Method, system, electronic device and storage medium for viewing session content

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1443424A (en) * 2000-07-21 2003-09-17 艾利森电话股份有限公司 Method and apparatus for enhanced short message service
CN101047520A (en) * 2006-03-28 2007-10-03 腾讯科技(深圳)有限公司 Message recording merging method and user terminal
CN101437000A (en) * 2007-11-16 2009-05-20 国际商业机器公司 System and method for keeping and copying chat records
CN101540735A (en) * 2008-03-17 2009-09-23 北京亿企通信息技术有限公司 Method for acquiring single chat session historic records from instant communication device by user
CN103139259A (en) * 2011-11-30 2013-06-05 百度在线网络技术(北京)有限公司 Method and server of achieving low-flux synchronous message logging

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1443424A (en) * 2000-07-21 2003-09-17 艾利森电话股份有限公司 Method and apparatus for enhanced short message service
CN101047520A (en) * 2006-03-28 2007-10-03 腾讯科技(深圳)有限公司 Message recording merging method and user terminal
CN101437000A (en) * 2007-11-16 2009-05-20 国际商业机器公司 System and method for keeping and copying chat records
CN101540735A (en) * 2008-03-17 2009-09-23 北京亿企通信息技术有限公司 Method for acquiring single chat session historic records from instant communication device by user
CN103139259A (en) * 2011-11-30 2013-06-05 百度在线网络技术(北京)有限公司 Method and server of achieving low-flux synchronous message logging

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105589625B (en) * 2015-12-21 2020-06-02 惠州Tcl移动通信有限公司 Processing method and device of social media message and communication terminal
CN105589625A (en) * 2015-12-21 2016-05-18 惠州Tcl移动通信有限公司 Method and device for processing social media message and communication terminal
CN105933202A (en) * 2016-04-13 2016-09-07 郑州悉知信息科技股份有限公司 Message processing method and device
CN106161651A (en) * 2016-08-30 2016-11-23 成都科来软件有限公司 A kind of data screening method based on BlueDrama
CN107666434A (en) * 2017-10-23 2018-02-06 林楚莲 A kind of querying method and system of instant messaging content
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
CN109873745A (en) * 2017-12-01 2019-06-11 腾讯科技(深圳)有限公司 Communication control method, device and storage medium
CN109873745B (en) * 2017-12-01 2021-08-24 腾讯科技(深圳)有限公司 Communication control method, communication control device and storage medium
CN109347973A (en) * 2018-11-15 2019-02-15 北京酷我科技有限公司 A kind of client instant communication method and system
CN109347973B (en) * 2018-11-15 2022-04-26 北京酷我科技有限公司 Client instant messaging method and system
CN109992179A (en) * 2018-12-25 2019-07-09 阿里巴巴集团控股有限公司 Conversation recording lookup method and device
CN109992179B (en) * 2018-12-25 2022-03-15 创新先进技术有限公司 Session record searching method and device
CN109885604A (en) * 2019-01-22 2019-06-14 平安科技(深圳)有限公司 Chat messages methods of exhibiting, electronic device and computer readable storage medium
CN112559553A (en) * 2020-12-24 2021-03-26 上海明略人工智能(集团)有限公司 Method, system, electronic device and storage medium for viewing session content

Similar Documents

Publication Publication Date Title
CN104348707A (en) Method, device and system for searching conversation message
US20180046726A1 (en) Method and apparatus for displaying contents of group chat
CN104243517A (en) Content sharing method and device used between different terminals
WO2015169188A1 (en) Method, apparatus, and system for loading webpage application program
JP6535815B2 (en) Information push method, device and system, and computer storage medium
CN105337844B (en) Method and device for displaying message and electronic equipment
CN105260301A (en) Visual effect comparison test device of user interfaces and realization method of visual effect comparison test device of user interfaces
CN103414628A (en) Method and device for looking up session records
CN111670571A (en) Method and terminal for viewing information content
CN105100141A (en) Multimedia content network sharing method, multimedia content network sharing device and multimedia content network sharing system
CN104426963A (en) Terminal associating method and terminal
CN104243429A (en) Method, device and system for achieving browser bookmark synchronization
CN104615414A (en) Channel packet customization method and device
CN104717414A (en) Photo processing method and device
CN104092596A (en) Music user group management method, device and system
CN104836778A (en) Method, device and system for realizing identifying code
CN112162802A (en) Message reply method and device and electronic equipment
CN104426960A (en) Paid application trying method and device thereof
CN104424224A (en) File index storage method and device
CN104901871A (en) Instant messaging method, device and system
CN112235412B (en) Message processing method and device
CN108958854B (en) Window display method and device and terminal
CN105553718A (en) Method and device for displaying guidance information
CN104298668A (en) Electronic book acquisition method and device
CN106453200B (en) Data service access method and terminal

Legal Events

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

Application publication date: 20150211

RJ01 Rejection of invention patent application after publication