CN109379200A - Message treatment method, device, electronic equipment and storage medium - Google Patents

Message treatment method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109379200A
CN109379200A CN201811037899.9A CN201811037899A CN109379200A CN 109379200 A CN109379200 A CN 109379200A CN 201811037899 A CN201811037899 A CN 201811037899A CN 109379200 A CN109379200 A CN 109379200A
Authority
CN
China
Prior art keywords
user
message
session
massage set
identifier
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.)
Granted
Application number
CN201811037899.9A
Other languages
Chinese (zh)
Other versions
CN109379200B (en
Inventor
李明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201811037899.9A priority Critical patent/CN109379200B/en
Publication of CN109379200A publication Critical patent/CN109379200A/en
Application granted granted Critical
Publication of CN109379200B publication Critical patent/CN109379200B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1859Arrangements for providing special services to substations for broadcast or conference, e.g. multicast adapted to provide push services, e.g. data channels

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Present application illustrates a kind of message treatment method, device, electronic equipment and storage mediums.In this application, group is a session, server is not necessarily to use one unread message list of maintenance per family for each of participation session, only a massage set need to be safeguarded for the session, when a certain user sends a piece of news in a session, the primary message need to be only stored in the massage set, without being stored in the message in the unread message list of each not online user, to which compared to the relevant technologies, the application can save the memory space of server.Later, when the user for participating in session is online, the massage set for storing the history message of the session is obtained;Search whether there is the legacy information not being transmitted across to the user in the massage set;If there is the legacy information, the legacy information is sent to the user, equally it is also possible that the user can obtain all history messages in the session.

Description

Message treatment method, device, electronic equipment and storage medium
Technical field
This application involves field of computer technology more particularly to a kind of message treatment method, device, electronic equipment and storages Medium.
Background technique
Currently, the demand communicated with each other between user is increasing, in order to improve communication efficiency, more and more users' group It is mutually exchanged at group, and in group.In the user that group is added, when a user needs to send message in group When, server can be transmitted the message to, then server forwards that message to other each users in group, thus real Now mutually exchange.
In general, the user being added in group is not all the time online.Not online user can not receive service The message of device forwarding, therefore, in order to enable not online user can also receive the message later, server needs to be every in advance One, with a unread message list is safeguarded per family, needs the message being respectively stored in each of group not online at this time The corresponding unread message list of user in, later, when not online user is online, then from its corresponding unread message list Middle acquisition message, and it is sent to it the message.
However, multiple users are frequently included in a group, when a user sends message in group, if group In not online user it is more, then server need by the message be stored in each not online user unread message arrange In table, the biggish memory space of server can be so occupied.
Summary of the invention
To overcome the problems in correlation technique, the application provide a kind of message treatment method, device, electronic equipment and Storage medium.
According to a first aspect of the present application, a kind of message treatment method is provided, which comprises
When the user for participating in session is online, the massage set for storing the history message of the session is obtained;
Search whether there is the legacy information not being transmitted across to the user in the massage set;
If there is the legacy information, then the legacy information is sent to the user.
In an optional implementation, the massage set obtained for storing the history message of the session, Include:
In the first corresponding relationship between the session identification and massage set of session, the session mark with the session is searched Sensible corresponding massage set.
It is described to search whether to exist in the massage set to user hair in an optional implementation The legacy information passed through, comprising:
The session is corresponding, the second corresponding relationship between user identifier and the message identifier for the message being transmitted across In, search message identifier corresponding with the user identifier of the user;
Message in addition to searching the message corresponding to the message identifier in the massage set, and as the something lost Stay message.
In an optional implementation, after the legacy information to user transmission, further includes:
The user identifier of the user and the message identifier of the legacy information are formed into corresponding table item, and are stored in described In second relationship.
In an optional implementation, the method also includes:
It detects whether to receive the feedback information that the user sends according to the legacy information, the feedback information is used for Indicate that the user has received the legacy information;
When receiving the feedback information, the execution user identifier by the user disappears with the legacy information Breath mark composition corresponding table item, and the step being stored in second relationship.
According to a second aspect of the present application, a kind of message processing apparatus is provided, described device includes:
Module is obtained, is configured as when the user for participating in session is online, acquisition is configured as storing going through for the session The massage set of history message;
Searching module is configured as searching whether to exist in the massage set not leaving to what the user was transmitted across Message;
Sending module is configured as when there are the legacy information, sends the legacy information to the user.
In an optional implementation, the acquisition module is specifically configured to: the session identification of session with disappear In the first corresponding relationship between breath set, massage set corresponding with the session identification of the session is searched.
In an optional implementation, the searching module includes:
First searching unit is configured as the session is corresponding, the message of user identifier and the message being transmitted across In the second corresponding relationship between mark, message identifier corresponding with the user identifier of the user is searched;
Second searching unit, be configured as searching in the massage set except message corresponding to the message identifier with Outer message, and as the legacy information.
In an optional implementation, the searching module further include:
First storage unit is configured as forming the user identifier of the user and the message identifier of the legacy information Corresponding table item, and be stored in second relationship.
In an optional implementation, the searching module further include:
Detection unit is configured as detecting whether to receive the feedback letter that the user sends according to the legacy information Breath, the feedback information are configured as indicating that the user has received the legacy information;
Second storage unit is configured as when receiving the feedback information, by the user identifier of the user and institute The message identifier composition corresponding table item of legacy information is stated, and is stored in second relationship.
According to the third aspect of the application, a kind of electronic equipment is provided, the electronic equipment includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing message treatment method as described in relation to the first aspect.
According to the fourth aspect of the application, a kind of non-transitorycomputer readable storage medium is provided, when the storage is situated between When instruction in matter is executed by the processor of electronic equipment, so that electronic equipment is able to carry out at message as described in relation to the first aspect Reason method.
According to the 5th of the application the aspect, a kind of computer program product is provided, when in the computer program product When instruction is executed by the processor of electronic equipment, so that electronic equipment is able to carry out message processing as described in relation to the first aspect Method.
Technical solution provided by the present application can include the following benefits:
In the related art, when a certain user sends a piece of news in group, if existed currently not in the group Online user, then the message is stored in the unread message list of each not online user by server needs, then should Have several not online users in group, server needs to store the message several times, when user not online in the group very When more, then the number for storing the message is very more, so that very more memory spaces of server can be occupied.
And in this application, group is a session, server be not necessarily to for participate in session each with safeguarding per family One unread message list only need to safeguard a massage set for the session, when a certain user sends one in a session When message, the primary message need to be only stored in the massage set, it is not online it is not necessary that the message is stored in each In the unread message list of user, so that the application can save the memory space of server compared to the relevant technologies.Later, When the user for participating in session is online, the massage set for storing the history message of the session is obtained;In the massage set Search whether there is the legacy information not being transmitted across to the user;If there is the legacy information, this is sent to the user and is left Message, equally it is also possible that the user can obtain all history messages in the session.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The application can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application Example, and together with specification it is used to explain the principle of the application.
Fig. 1 is a kind of flow chart of message treatment method shown in the application.
Fig. 2 is a kind of block diagram of message processing apparatus shown in the application.
Fig. 3 is the block diagram of a kind of electronic equipment shown in the application.
Fig. 4 is the block diagram of a kind of electronic equipment device shown in the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
Fig. 1 is a kind of flow chart of message treatment method shown in the application, as shown in Figure 1, this method includes following step Suddenly.
In step s101, when the user for participating in session is online, disappearing for the history message for storing the session is obtained Breath set;
In the embodiment of the present application, at least two users can form a session, for example, point-to-point between two users Session, alternatively, three or more users form a group, each of group user can send in group to disappear Breath, and each user can see the message that other users are sent in group, at this point, the group is a session.
For any one session, when a certain user for participating in the session needs to send message in the session, the use Family sends the message and the session identification of the session firstly the need of to server, and server again disappears this according to the session identification Breath is transmitted to the other users for participating in the session, however, if the certain customers in other users are not online, the certain customers The message can not be just received, in order to enable can receive the message after the certain customers are online, server is needed the message It is stored in the massage set of the history message for storing the session.Wherein it is possible in the session identification and message set of session In the first corresponding relationship between conjunction, massage set corresponding with the session identification of the session is searched, and as storing Then the message is stored in the massage set by the massage set of the history message of the session.
Later, when a certain user in the certain customers is online, server is available for storing going through for the session The massage set of history message;For example, in the first corresponding relationship between the session identification and massage set of session, search and should The corresponding massage set of the session identification of session, and the massage set as the history message for storing the session, then Execute step S102.
Wherein, in this application, the session identification of unused session is different.
In step s 102, search whether there is the legacy information not being transmitted across to the user in the massage set;
In this application, the message in the massage set may be transmitted across to the user, it is also possible to the message Part messages in set are not transmitted across to the user.If there is part messages not to the user send, then need at this time to The user sends the partial data, to enable the user to receive the partial data.
Wherein, this step can be realized by following process, comprising:
1021, the session is corresponding, user identifier is corresponding with second between the message identifier for the message being transmitted across In relationship, message identifier corresponding with the user identifier of the user is searched;
Wherein, in the session, after sending a certain message to the user for participating in the session, so that it may record to The user sends the message, for example, the message identifier of the user identifier of the user and the message is formed corresponding table item, and stores The session is corresponding, in the second corresponding relationship between user identifier and the message identifier for the message being transmitted across.
Therefore, in this step, can be searched corresponding with the user identifier of the user in the second corresponding relationship Message identifier, obtain the message identifier of the message into the session that the user is transmitted across, then execute step 1022.
1022, the message in addition to searching the message corresponding to the message identifier in the massage set, and as leaving Message.
Wherein it is possible to search message corresponding to the message identifier in the massage set, the message found is should The message being transmitted across to the user in massage set, the remaining message in the massage set are not send to the user The message crossed also is the legacy information.
If there is the legacy information, in step s 103, the legacy information is sent to the user.
So that the user can receive the legacy information not being transmitted across to the user in the session, so that The user can view the legacy information in the session.
In the related art, when a certain user sends a piece of news in group, if existed currently not in the group Online user, then the message is stored in the unread message list of each not online user by server needs, then should Have several not online users in group, server needs to store the message several times, when user not online in the group very When more, then the number for storing the message is very more, so that very more memory spaces of server can be occupied.
And in this application, group is a session, server be not necessarily to for participate in session each with safeguarding per family One unread message list only need to safeguard a massage set for the session, when a certain user sends one in a session When message, the primary message need to be only stored in the massage set, it is not online it is not necessary that the message is stored in each In the unread message list of user, so that the application can save the memory space of server compared to the relevant technologies.Later, When the user for participating in session is online, the massage set for storing the history message of the session is obtained;In the massage set Search whether there is the legacy information not being transmitted across to the user;If there is the legacy information, this is sent to the user and is left Message, equally it is also possible that the user can obtain all history messages in the session.
Further, after sending the legacy information to the user, record is needed to be transmitted across the something lost to the user Message is stayed, for example, the user identifier of the user and the message identifier of the legacy information are formed corresponding table item, and is stored in second In relationship, so as to will not repeat to send the legacy information later to the user again, to achieve the purpose that save Internet resources.
However, the legacy information may be lost during transmission after sending the legacy information to the user, Such user still can not receive the legacy information, but server here but has recorded and is transmitted across this to the user Legacy information would not also be repeated to send the legacy information later to the user again, can not all be connect always so as to cause the user Receive the legacy information.
Therefore, it in order to avoid above situation generation, if the user receives the legacy information, needs to send out to server Feedback information is sent, which is used to indicate the user and has received the legacy information, and server is receiving the feedback letter After breath, that is, it can determine that the user has received the legacy information, then again by the user identifier of the user and the legacy information Message identifier form corresponding table item, and be stored in the second relationship.
Further, it is likely that server does not connect always in the preset duration after sending the legacy information to the user Receive the user transmission feedback information, if do not receive always the user transmission feedback information and the user exist always Line then can send the legacy information to the user again, up to the user offline or until receive user transmission Until the feedback information.
Fig. 2 is a kind of block diagram of message processing apparatus shown in the application.Referring to Fig. 2, which includes:
Module 11 is obtained, is configured as when the user for participating in session is online, acquisition is configured as storing the session The massage set of history message;
Searching module 12 is configured as searching whether there is the something lost not being transmitted across to the user in the massage set Stay message;
Sending module 13 is configured as when there are the legacy information, sends the legacy information to the user.
In an optional implementation, the acquisition module is specifically configured to: the session identification of session with disappear In the first corresponding relationship between breath set, massage set corresponding with the session identification of the session is searched.
In an optional implementation, the searching module includes:
First searching unit is configured as the session is corresponding, the message of user identifier and the message being transmitted across In the second corresponding relationship between mark, message identifier corresponding with the user identifier of the user is searched;
Second searching unit, be configured as searching in the massage set except message corresponding to the message identifier with Outer message, and as the legacy information.
In an optional implementation, the searching module further include:
First storage unit is configured as forming the user identifier of the user and the message identifier of the legacy information Corresponding table item, and be stored in second relationship.
In an optional implementation, the searching module further include:
Detection unit is configured as detecting whether to receive the feedback letter that the user sends according to the legacy information Breath, the feedback information are configured as indicating that the user has received the legacy information;
Second storage unit is configured as when receiving the feedback information, by the user identifier of the user and institute The message identifier composition corresponding table item of legacy information is stated, and is stored in second relationship.
In the related art, when a certain user sends a piece of news in group, if existed currently not in the group Online user, then the message is stored in the unread message list of each not online user by server needs, then should Have several not online users in group, server needs to store the message several times, when user not online in the group very When more, then the number for storing the message is very more, so that very more memory spaces of server can be occupied.
And in this application, group is a session, server be not necessarily to for participate in session each with safeguarding per family One unread message list only need to safeguard a massage set for the session, when a certain user sends one in a session When message, the primary message need to be only stored in the massage set, it is not online it is not necessary that the message is stored in each In the unread message list of user, so that the application can save the memory space of server compared to the relevant technologies.Later, When the user for participating in session is online, the massage set for storing the history message of the session is obtained;In the massage set Search whether there is the legacy information not being transmitted across to the user;If there is the legacy information, this is sent to the user and is left Message, equally it is also possible that the user can obtain all history messages in the session.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 3 is the block diagram of a kind of electronic equipment 800 shown in the application.For example, electronic equipment 800 can be mobile electricity Words, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building equipment are a Personal digital assistant etc..
Referring to Fig. 3, electronic equipment 800 may include following one or more components: processing component 802, memory 804, Electric power assembly 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, And communication component 816.
The integrated operation of the usual controlling electronic devices 800 of processing component 802, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing component 802 may include one or more processors 820 to hold Row instruction, to complete all or part of the steps of above-mentioned message treatment method as shown in Figure 1.In addition, processing component 802 can be with Including one or more modules, convenient for the interaction between processing component 802 and other assemblies.For example, processing component 802 can wrap Multi-media module is included, to facilitate the interaction between multimedia component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown Example includes the instruction of any application or method for operating on electronic equipment 800, contact data, telephone directory number According to, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or they Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, quick flashing Memory, disk or CD.
Power supply module 806 provides electric power for the various assemblies of electronic equipment 800.Power supply module 806 may include power supply pipe Reason system, one or more power supplys and other with for electronic equipment 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between the electronic equipment 800 and user. In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, Multimedia component 808 includes a front camera and/or rear camera.When equipment 800 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when electronic equipment 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 804 or via logical Believe that component 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, for providing the state of various aspects for electronic equipment 800 Assessment.For example, sensor module 814 can detecte the state that opens/closes of equipment 800, the relative positioning of component, such as institute The display and keypad that component is electronic equipment 800 are stated, sensor module 814 can also detect electronic equipment 800 or electronics The position change of 800 1 components of equipment, the existence or non-existence that user contacts with electronic equipment 800,800 orientation of electronic equipment Or the temperature change of acceleration/deceleration and electronic equipment 800.Sensor module 814 may include proximity sensor, be configured to It detects the presence of nearby objects without any physical contact.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which can be with Including acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between electronic equipment 800 and other equipment. Electronic equipment 800 can access the wireless network based on communication standard, such as WiFi, carrier network (such as 2G, 3G, 4G or 5G), Or their combination.In one exemplary embodiment, communication component 816 receives via broadcast channel and comes from external broadcasting management The broadcast singal or broadcast related information of system.In one exemplary embodiment, the communication component 816 further includes that near field is logical (NFC) module is believed, to promote short range communication.For example, radio frequency identification (RFID) technology, infrared data association can be based in NFC module Meeting (IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 800 can be by one or more application specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned message as shown in Figure 1 Processing method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be executed above-mentioned such as Fig. 1 institute to complete by the processor 820 of electronic equipment 800 The message treatment method shown.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Fig. 4 is the block diagram of a kind of electronic equipment 1900 shown in the application.For example, electronic equipment 1900 may be provided as One server.
Referring to Fig. 4, it further comprises one or more processors that electronic equipment 1900, which includes processing component 1922, with And memory resource represented by a memory 1932, it can be by the instruction of the execution of processing component 1922 for storing, such as answer Use program.The application program stored in memory 1932 may include it is one or more each correspond to one group of instruction Module.In addition, processing component 1922 is configured as executing instruction, to execute above-mentioned message treatment method as described in Figure 1.
Electronic equipment 1900 can also include that a power supply module 1926 is configured as executing the power supply of electronic equipment 1900 Management, a wired or wireless network interface 1950 is configured as electronic equipment 1900 being connected to network and an input is defeated (I/O) interface 1958 out.Electronic equipment 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the application Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following Claim is pointed out.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.
A1, a kind of message processing apparatus, described device include:
Module is obtained, is configured as when the user for participating in session is online, acquisition is configured as storing going through for the session The massage set of history message;
Searching module is configured as searching whether to exist in the massage set not leaving to what the user was transmitted across Message;
Sending module is configured as when there are the legacy information, sends the legacy information to the user.
A2, device according to a1, the acquisition module are specifically configured to: in the session identification and message set of session In the first corresponding relationship between conjunction, massage set corresponding with the session identification of the session is searched.
A3, device according to a1, the searching module include:
First searching unit is configured as the session is corresponding, the message of user identifier and the message being transmitted across In the second corresponding relationship between mark, message identifier corresponding with the user identifier of the user is searched;
Second searching unit, be configured as searching in the massage set except message corresponding to the message identifier with Outer message, and as the legacy information.
A4, device according to a3, the searching module further include:
First storage unit is configured as forming the user identifier of the user and the message identifier of the legacy information Corresponding table item, and be stored in second relationship.
A5, device according to a4, the searching module further include:
Detection unit is configured as detecting whether to receive the feedback letter that the user sends according to the legacy information Breath, the feedback information are configured as indicating that the user has received the legacy information;
Second storage unit is configured as when receiving the feedback information, by the user identifier of the user and institute The message identifier composition corresponding table item of legacy information is stated, and is stored in second relationship.

Claims (10)

1. a kind of message treatment method, which is characterized in that the described method includes:
When the user for participating in session is online, the massage set for storing the history message of the session is obtained;
Search whether there is the legacy information not being transmitted across to the user in the massage set;
If there is the legacy information, then the legacy information is sent to the user.
2. the method according to claim 1, wherein the history message obtained for storing the session Massage set, comprising:
In the first corresponding relationship between the session identification and massage set of session, the session identification phase with the session is searched Corresponding massage set.
3. the method according to claim 1, wherein it is described searched whether in the massage set exist not to The legacy information that the user is transmitted across, comprising:
The session is corresponding, in the second corresponding relationship between user identifier and the message identifier for the message being transmitted across, Search message identifier corresponding with the user identifier of the user;
Message in addition to searching the message corresponding to the message identifier in the massage set, and disappear as described leave Breath.
4. according to the method described in claim 3, it is characterized in that, it is described send the legacy information to the user after, Further include:
The user identifier of the user and the message identifier of the legacy information are formed into corresponding table item, and are stored in described second In relationship.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
It detects whether to receive the feedback information that the user sends according to the legacy information, the feedback information is used to indicate The user has received the legacy information;
When receiving the feedback information, the message mark of the user identifier by the user and the legacy information is executed Know composition corresponding table item, and the step being stored in second relationship.
6. a kind of message processing apparatus, which is characterized in that described device includes:
Module is obtained, is configured as when the user for participating in session is online, the history that acquisition is configured as storing the session disappears The massage set of breath;
Searching module is configured as searching whether existing leaving of not being transmitted across to the user in the massage set and disappears Breath;
Sending module is configured as when there are the legacy information, sends the legacy information to the user.
7. device according to claim 6, which is characterized in that the acquisition module is specifically configured to: in the meeting of session In the first corresponding relationship between words mark and massage set, message set corresponding with the session identification of the session is searched It closes.
8. device according to claim 6, which is characterized in that the searching module includes:
First searching unit is configured as the session is corresponding, the message identifier of user identifier and the message being transmitted across Between the second corresponding relationship in, search corresponding with the user identifier of user message identifier;
Second searching unit is configured as in addition to searching the message corresponding to the message identifier in the massage set Message, and as the legacy information.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing message treatment method as described in any one in claim 1-5.
10. a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of electronic equipment When device executes, so that electronic equipment is able to carry out message treatment method as described in any one in claim 1-5.
CN201811037899.9A 2018-09-06 2018-09-06 Message treatment method, device, electronic equipment and storage medium Active CN109379200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811037899.9A CN109379200B (en) 2018-09-06 2018-09-06 Message treatment method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811037899.9A CN109379200B (en) 2018-09-06 2018-09-06 Message treatment method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109379200A true CN109379200A (en) 2019-02-22
CN109379200B CN109379200B (en) 2019-08-20

Family

ID=65405193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811037899.9A Active CN109379200B (en) 2018-09-06 2018-09-06 Message treatment method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109379200B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311650A (en) * 2019-07-23 2021-02-02 腾讯科技(深圳)有限公司 Session information loading method, device and storage medium
CN113545015A (en) * 2019-03-12 2021-10-22 微软技术许可有限责任公司 Merge message store data structure

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120149342A1 (en) * 2010-12-08 2012-06-14 Gabriel Cohen Priority Inbox Notifications and Synchronization for Mobile Messaging Application
CN103051520A (en) * 2013-01-05 2013-04-17 北京小米科技有限责任公司 Method and device for synchronizing offline session messages in instant messaging tool
CN105072019A (en) * 2015-07-24 2015-11-18 北京元心科技有限公司 Processing method and processing system for instant communication messages
CN106059894A (en) * 2016-05-24 2016-10-26 腾讯科技(深圳)有限公司 Message processing method and message processing device
CN106130883A (en) * 2016-07-14 2016-11-16 北京元心科技有限公司 Instant messaging message pushing method and pushing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120149342A1 (en) * 2010-12-08 2012-06-14 Gabriel Cohen Priority Inbox Notifications and Synchronization for Mobile Messaging Application
CN103051520A (en) * 2013-01-05 2013-04-17 北京小米科技有限责任公司 Method and device for synchronizing offline session messages in instant messaging tool
CN105072019A (en) * 2015-07-24 2015-11-18 北京元心科技有限公司 Processing method and processing system for instant communication messages
CN106059894A (en) * 2016-05-24 2016-10-26 腾讯科技(深圳)有限公司 Message processing method and message processing device
CN106130883A (en) * 2016-07-14 2016-11-16 北京元心科技有限公司 Instant messaging message pushing method and pushing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113545015A (en) * 2019-03-12 2021-10-22 微软技术许可有限责任公司 Merge message store data structure
CN112311650A (en) * 2019-07-23 2021-02-02 腾讯科技(深圳)有限公司 Session information loading method, device and storage medium
CN112311650B (en) * 2019-07-23 2022-04-19 腾讯科技(深圳)有限公司 Session information loading method, device and storage medium

Also Published As

Publication number Publication date
CN109379200B (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN109658927A (en) Wake-up processing method, device and the management equipment of smart machine
CN109729414A (en) A kind of transmission, display methods, device, server and terminal for commenting on message
CN105530165B (en) Method and device for instant chat
US20170279898A1 (en) Method for Accessing Virtual Desktop and Mobile Terminal
CN109039877A (en) A kind of method, apparatus, electronic equipment and storage medium showing unread message quantity
CN106453528B (en) The method and device of PUSH message
CN109274510A (en) Message treatment method, device, client, server and storage medium
CN109521918A (en) A kind of information sharing method, device, electronic equipment and storage medium
CN104301308B (en) Call control method and device
CN113365153B (en) Data sharing method and device, storage medium and electronic equipment
CN106254192A (en) Reminding method, suggestion device and prompt system
CN113382270B (en) Virtual resource processing method and device, electronic equipment and storage medium
CN106096009A (en) Method for generating message and device
CN105515871B (en) The method and device of record log
CN106231137A (en) Processing method and processing device based on electricity
CN109379200B (en) Message treatment method, device, electronic equipment and storage medium
CN104918253B (en) Recognition methods, device and the terminal device of false base station
CN109413157A (en) Message screening method and device
CN105491518A (en) Method and device for social reminding based on wearable devices
CN109951701A (en) Monitor fault handling method and device
CN106255075A (en) The processing method and processing device of communication event, electronic equipment
CN109450894A (en) Information interacting method, device, system, server user's terminal and storage medium
CN109639561A (en) Sharing method, device, electronic equipment and storage medium based on information feedback
CN104363166A (en) Instant messaging method and device and intelligent terminal
CN105634928B (en) Social based reminding method and device based on wearable device

Legal Events

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