CN107733785A - A kind of multiple terminals chat message synchronization removal method and device - Google Patents
A kind of multiple terminals chat message synchronization removal method and device Download PDFInfo
- Publication number
- CN107733785A CN107733785A CN201710971897.6A CN201710971897A CN107733785A CN 107733785 A CN107733785 A CN 107733785A CN 201710971897 A CN201710971897 A CN 201710971897A CN 107733785 A CN107733785 A CN 107733785A
- Authority
- CN
- China
- Prior art keywords
- chat
- chat message
- message
- operation information
- information
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/043—Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of multiple terminals chat message synchronization removal method and device, by obtaining multiple terminals with instant association;Obtain the operation information of each terminal-pair history chat messages;Operation information is synchronized to other-end;In other-end interface display prompt message, the prompt message is used to identify operation of the other-end to historical information.The present invention also judges whether the date of the chat message and the phase first day obtained from index information are identical;When the date of the chat message is identical with the phase first day, increase the bar number of chat message in the index information, and store the chat message.The present invention can be such that terminal is operated respectively to each terminal in the synchronous operation to chat message of multiple terminals.And the present invention is additionally provided with prompting function, terminal user is allowed to obtain the operation information of other-end in time.
Description
Technical field
The present invention relates to Internet technology, more particularly to a kind of multiple terminals chat message synchronization removal method and device.
Background technology
With the development of information technology, network instant communication instrument based on browser (such as:WebQQ etc.) because it makes
With with the convenience in upgrading, liked by more and more users, its apply scope it is also more and more extensive.
Existing network instant communication instrument can realize the function of chat record roaming, i.e. user passes through network IMU
The information of letter instrument transmitting-receiving can store a period of time (such as seven days), during this period of time, Yong Huke on the webserver
With the logging in network JICQ on any machine, the chat message that server is its storage is checked.However, when storage
When chat message is excessive, the process performance of server can be influenceed, it is therefore desirable to expired chat message be deleted using a kind of method
Remove.
For prior art by the shell script of start by set date server, the chat message of traversal server storage can be by mistake
The chat message of phase is deleted.However, there is also following shortcoming for prior art:1) every time need by travel through all chat messages come
Expired chat record is deleted, resource is excessively consumed, loses time;2) shell script can not be handled merely in real time according to preset time
Its information, influence information processing effect;3) shell script is when handling chat message, it is impossible to synchronous vacations index information, influences
The efficiency of information processing.
The content of the invention
In order to solve the above-mentioned technical problem, the invention provides a kind of multiple terminals chat message synchronization removal method, including:
Obtain multiple terminals with instant association;
Obtain the operation information of each terminal-pair history chat messages;
Operation information is synchronized to other-end;
In other-end interface display prompt message, the prompt message is used to identify behaviour of the other-end to historical information
Make.
Further, in addition to:
Judge whether date and the phase first day obtained from index information of the chat message are identical;
When the date of the chat message is identical with the phase first day, increase the bar of chat message in the index information
Number, and store the chat message;
Judge whether current date and the difference on the tail date obtained from index information exceed intended duration;
When the difference exceedes intended duration, tail date described in the index information and corresponding chat message are deleted
Bar number, while chat message corresponding to deletion.
Further, the operation information to history chat messages includes deleting history chat message.
Further, the prompt message includes:
The time of user's operation information, the scope of deleting history chat record.
Present invention also offers a kind of multiple terminals chat message synchronization removal device, including:
First acquisition module, for obtaining multiple terminals with instant association;
Second acquisition module, for obtaining the operation information of each terminal-pair history chat messages;
Synchronization module, for operation information to be synchronized into other-end;
Reminding module, in other-end interface display prompt message, the prompt message to be used to identify other-end
Operation to historical information.
Further, the terminal includes one or more mobile terminals, PC ends.
Further, the operation information to history chat messages includes deleting history chat message.
Further, the prompt message includes:
The time of user's operation information, the scope of deleting history chat record.
A kind of mobile terminal, including said apparatus.
In summary, the invention provides a kind of multiple terminals chat message synchronization removal method and device, by obtain with
Multiple terminals of instant association;Obtain the operation information of each terminal-pair history chat messages;Operation information is synchronized to
Other-end;In other-end interface display prompt message, the prompt message is used to identify other-end to historical information
Operation.The present invention also judges whether the date of the chat message and the phase first day obtained from index information are identical;
When the date of the chat message is identical with the phase first day, increase the bar number of chat message in the index information, and store
The chat message.The present invention can make terminal need not be respectively to each in the synchronous operation to chat message of multiple terminals
Terminal is operated.And the present invention is additionally provided with prompting function, terminal user is allowed to obtain the operation information of other-end in time.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art and advantage, below will be to implementing
The required accompanying drawing used is briefly described in example or description of the prior art, it should be apparent that, drawings in the following description are only
Only it is some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of method provided by the invention;
Fig. 2 is the block diagram of terminal provided by the invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects
Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use
Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or
Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment
Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product
Or the intrinsic other steps of equipment or unit.
Embodiment:
As shown in figure 1, the invention provides a kind of multiple terminals chat message synchronization removal method, including:
S1, acquisition and multiple terminals of instant association;
S2, the operation information for obtaining each terminal-pair history chat messages;
S3, operation information is synchronized to other-end;
S4, in other-end interface display prompt message, the prompt message is used to identify other-end to historical information
Operation.
Further, in addition to:
Judge whether date and the phase first day obtained from index information of the chat message are identical;
When the date of the chat message is identical with the phase first day, increase the bar of chat message in the index information
Number, and store the chat message;
Judge whether current date and the difference on the tail date obtained from index information exceed intended duration;
When the difference exceedes intended duration, tail date described in the index information and corresponding chat message are deleted
Bar number, while chat message corresponding to deletion.
Further, the operation information to history chat messages includes deleting history chat message.
Further, the prompt message includes:
The time of user's operation information, the scope of deleting history chat record.
Present invention also offers a kind of multiple terminals chat message synchronization removal device, including:
First acquisition module, for obtaining multiple terminals with instant association;
Second acquisition module, for obtaining the operation information of each terminal-pair history chat messages;
Synchronization module, for operation information to be synchronized into other-end;
Reminding module, in other-end interface display prompt message, the prompt message to be used to identify other-end
Operation to historical information.
Further, the terminal includes one or more mobile terminals, PC ends.
Further, the operation information to history chat messages includes deleting history chat message.
Further, the prompt message includes:
The time of user's operation information, the scope of deleting history chat record.
A kind of mobile terminal, including said apparatus.
In summary, the invention provides a kind of multiple terminals chat message synchronization removal method and device, by obtain with
Multiple terminals of instant association;Obtain the operation information of each terminal-pair history chat messages;Operation information is synchronized to
Other-end;In other-end interface display prompt message, the prompt message is used to identify other-end to historical information
Operation.The present invention also judges whether the date of the chat message and the phase first day obtained from index information are identical;
When the date of the chat message is identical with the phase first day, increase the bar number of chat message in the index information, and store
The chat message.The present invention can make terminal need not be respectively to each in the synchronous operation to chat message of multiple terminals
Terminal is operated.And the present invention is additionally provided with prompting function, terminal user is allowed to obtain the operation information of other-end in time.
As shown in Fig. 2 present invention also offers a kind of terminal device, device described above is included.
The embodiment of the method that the embodiment of the present application one is provided can be in mobile terminal, terminal or similar fortune
Calculate and performed in device.Exemplified by running on computer terminals, Fig. 2 is the terminal of method according to embodiments of the present invention
Hardware block diagram.Handled as shown in Fig. 2 terminal 100 can include one or more (one is only shown in figure)
Device 102 (processor 102 can include but is not limited to Micro-processor MCV or PLD FPGA etc. processing unit),
Memory 104 for data storage and the transmitting device 106 for communication function.Those of ordinary skill in the art can be with
Understand, the structure shown in Fig. 2 is only to illustrate, and it does not cause to limit to the structure of above-mentioned electronic installation.For example, terminal
100 may also include more either less components than shown in Fig. 2 or have the configuration different from shown in Fig. 2.
Memory 104 can be used for the software program and module of storage application software, such as the short essay in the embodiment of the present invention
Programmed instruction/module corresponding to this sorting technique, processor 102 by operation be stored in software program in memory 104 with
And module, so as to perform various function application and data processing, that is, realize above-mentioned short text classification method.Memory 104
May include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory,
Or other non-volatile solid state memories.In some instances, memory 104 can further comprise relative to processor 102
Remotely located memory, these remote memories can pass through network connection to terminal 100.The example of above-mentioned network
Including but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network instantiation may include
The wireless network that the communication providerses of terminal 100 provide.In an example, transmitting device 106 includes a network
Adapter (Network Interface Controller, referred to as NIC), it can be connected by base station with other network equipments
So as to be communicated with internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, letter
Referred to as RF) module, it is used to wirelessly be communicated with internet.
Under above-mentioned running environment, this application provides short text classification method as shown in Figure 1.This method can be applied
In intelligent terminal, by the computing device in intelligent terminal, intelligent terminal can be smart mobile phone, flat board
Computer etc..At least one application program is installed, the kind of not defining application of the embodiment of the present invention in intelligent terminal
Class, can be system class application program, or software class application program.
It should be noted that:The method that above-described embodiment provides, only with the division of above-mentioned each functional module illustrate
It is bright, in practical application, it can be completed as needed and by above-mentioned function distribution by different functional modules, object will be searched
The internal structure of device is divided into different functional modules, to complete all or part of function described above.It is in addition, above-mentioned
The device for the lookup object that embodiment provides belongs to same design with searching the embodiment of the method for object, and it is detailed that it implements process
See embodiment of the method, repeat no more here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.
Claims (9)
- A kind of 1. multiple terminals chat message synchronization removal method, it is characterised in that including:Obtain multiple terminals with instant association;Obtain the operation information of each terminal-pair history chat messages;Operation information is synchronized to other-end;In other-end interface display prompt message, the prompt message is used to identify operation of the other-end to historical information.
- 2. according to the method for claim 1, it is characterised in that also include:Judge whether date and the phase first day obtained from index information of chat message are identical;When the date of chat message is identical with the phase first day, increase the bar number of chat message in index information, and store chat letter Breath;Whether the difference on the tail date for judging current date and being obtained from index information exceedes intended duration;When difference exceedes intended duration, tail date and corresponding chat message bar number in index information, while deletion pair are deleted The chat message answered.
- 3. according to the method for claim 1, it is characterised in thatThe operation information to history chat messages includes deleting history chat message.
- 4. according to the method for claim 1, it is characterised in that the prompt message includes:The time of user's operation information, the scope of deleting history chat record.
- A kind of 5. multiple terminals chat message synchronization removal device, it is characterised in that including:First acquisition module, for obtaining multiple terminals with instant association;Second acquisition module, for obtaining the operation information of each terminal-pair history chat messages;Synchronization module, for operation information to be synchronized into other-end;Reminding module, in other-end interface display prompt message, the prompt message to be used to identify other-end to going through The operation of history information.
- 6. device according to claim 5, it is characterised in thatThe terminal includes one or more mobile terminals, PC ends.
- 7. device according to claim 5, it is characterised in thatThe operation information to history chat messages includes deleting history chat message.
- 8. device according to claim 5, it is characterised in that the prompt message includes:The time of user's operation information, the scope of deleting history chat record.
- 9. a kind of mobile terminal, it is characterised in that including any described device in claim 5-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710971897.6A CN107733785A (en) | 2017-10-18 | 2017-10-18 | A kind of multiple terminals chat message synchronization removal method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710971897.6A CN107733785A (en) | 2017-10-18 | 2017-10-18 | A kind of multiple terminals chat message synchronization removal method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107733785A true CN107733785A (en) | 2018-02-23 |
Family
ID=61210632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710971897.6A Withdrawn CN107733785A (en) | 2017-10-18 | 2017-10-18 | A kind of multiple terminals chat message synchronization removal method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107733785A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112217714A (en) * | 2020-11-05 | 2021-01-12 | 上海云鱼智能科技有限公司 | Method, device, server, client, terminal and storage medium for deleting information in two directions in instant communication session |
CN112787910A (en) * | 2021-01-29 | 2021-05-11 | 联仁健康医疗大数据科技股份有限公司 | Message processing method and device, electronic equipment and storage medium |
CN113762997A (en) * | 2020-07-01 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Information generation method, device, system and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090106455A1 (en) * | 2006-12-31 | 2009-04-23 | Huawei Technologies Co., Ltd. | Method and apparatus for synchronizing messages between multiple terminals |
CN102685018A (en) * | 2011-03-07 | 2012-09-19 | 腾讯科技(深圳)有限公司 | Method and system for processing network instant messaging message and instant massaging equipment |
CN102821150A (en) * | 2012-08-03 | 2012-12-12 | 东莞宇龙通信科技有限公司 | Cloud server and application managing method based on same |
CN104811366A (en) * | 2014-01-26 | 2015-07-29 | 阿里巴巴集团控股有限公司 | Network communication message roaming method and device |
CN106657329A (en) * | 2016-12-21 | 2017-05-10 | 北京奇虎科技有限公司 | Mobile terminal as well as notification information control method and device |
-
2017
- 2017-10-18 CN CN201710971897.6A patent/CN107733785A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090106455A1 (en) * | 2006-12-31 | 2009-04-23 | Huawei Technologies Co., Ltd. | Method and apparatus for synchronizing messages between multiple terminals |
CN102685018A (en) * | 2011-03-07 | 2012-09-19 | 腾讯科技(深圳)有限公司 | Method and system for processing network instant messaging message and instant massaging equipment |
CN102821150A (en) * | 2012-08-03 | 2012-12-12 | 东莞宇龙通信科技有限公司 | Cloud server and application managing method based on same |
CN104811366A (en) * | 2014-01-26 | 2015-07-29 | 阿里巴巴集团控股有限公司 | Network communication message roaming method and device |
CN106657329A (en) * | 2016-12-21 | 2017-05-10 | 北京奇虎科技有限公司 | Mobile terminal as well as notification information control method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113762997A (en) * | 2020-07-01 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Information generation method, device, system and storage medium |
CN112217714A (en) * | 2020-11-05 | 2021-01-12 | 上海云鱼智能科技有限公司 | Method, device, server, client, terminal and storage medium for deleting information in two directions in instant communication session |
CN112217714B (en) * | 2020-11-05 | 2022-08-02 | 上海云鱼智能科技有限公司 | Method, device, server, client, terminal and storage medium for deleting information in two directions in instant communication session |
CN112787910A (en) * | 2021-01-29 | 2021-05-11 | 联仁健康医疗大数据科技股份有限公司 | Message processing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112995133B (en) | Analysis method, device and system based on modbus protocol | |
CN108363662A (en) | A kind of applied program testing method, storage medium and terminal device | |
CN105306495B (en) | user identification method and device | |
CN107404481B (en) | User information recognition methods and device | |
CN105871587A (en) | Log uploading method and device | |
CN107689982A (en) | Multi-data source method of data synchronization, application server and computer-readable recording medium | |
CN107438833A (en) | A kind of data-updating method, device, system and server | |
CN107809383A (en) | A kind of map paths method and device based on MVC | |
CN105306414A (en) | Port vulnerability detection method, device and system | |
CN107733785A (en) | A kind of multiple terminals chat message synchronization removal method and device | |
CN104283926A (en) | Data synchronization method, device and server | |
CN108268296A (en) | Loading method, the client and server of page layout | |
CN112580730B (en) | Terminal type identification method and device | |
CN104915306A (en) | Data operation control method and device manager | |
CN107426800A (en) | Reduce the method, apparatus and smart card of power consumption of terminal | |
CN108337739A (en) | Establish method and device, the data processing method of wireless debugging connection | |
CN108207012A (en) | A kind of flow control methods, device, terminal and system | |
CN112423322A (en) | Model information sending method, device, storage medium and electronic device | |
CN104717670A (en) | Business quality testing method, device and system | |
CN113660687A (en) | Network difference cell processing method, device, equipment and storage medium | |
CN107277163A (en) | A kind of long-range mapping method of equipment and device | |
CN105721392A (en) | Method, device and system for recommending applications | |
CN102075386B (en) | Identification method and device | |
CN107423446A (en) | New media based on cloud storage automates credible deployment system and method | |
CN109224451A (en) | Development of games method, equipment and storage medium based on block chain subchain |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180223 |