CN109194565A - A kind of message read states reminding method and device - Google Patents
A kind of message read states reminding method and device Download PDFInfo
- Publication number
- CN109194565A CN109194565A CN201810971861.2A CN201810971861A CN109194565A CN 109194565 A CN109194565 A CN 109194565A CN 201810971861 A CN201810971861 A CN 201810971861A CN 109194565 A CN109194565 A CN 109194565A
- Authority
- CN
- China
- Prior art keywords
- message
- receiving end
- current
- read
- reading
- 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
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/21—Monitoring or handling of messages
- H04L51/23—Reliability checks, e.g. acknowledgments or fault reporting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1813—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
-
- 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]
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)
Abstract
This application discloses a kind of message read states reminding method and devices.This method are as follows: server-side receives setting that current receiving end is sent read request;Server-side is according to the read states information that message in the current group chat of information update that read request has included is arranged;The updated information of read states is sent to message sending end by server-side.It by the above method, solves the problems, such as that read states feedback efficiency is low to message in the related technology, and then has achieved the effect that improve message read states feedback efficiency.
Description
Technical field
This application involves instant messaging field, in particular to a kind of message read states reminding method and device.
Background technique
Universal with immediate communication tool, people's exchanging in routine work and in living is more and more convenient.Especially
When needing more people chat, people can establish group chat by immediate communication tool, so can more people hand over simultaneously
Stream.In group chat, when user needs to send message or notice to other multiple users, it is only necessary to which message or notice are sent out
It is sent in group, other multiple users can receive, and individually send message or notice to each user without user.So
And under special scenes, the notice that user sends needs whether other users feedback in group chat has read the notice.Other users
By replying whether text can have been read to feed back to notice, but above method inefficiency.
For to the message low problem of read states feedback efficiency, not yet proposing effective solution at present in the related technology
Scheme.
Summary of the invention
This application provides a kind of message read states reminding methods, and to solve, to message, read states are anti-in the related technology
The problem of presenting inefficiency.
According to the one aspect of the application, a kind of message read states reminding method is provided.This method comprises: server-side
Receive setting that current receiving end is sent read request;Server-side is according to the setting current group chat of information update that read request has included
The read states information of middle message;The updated information of read states is sent to message sending end by server-side.
Further, setting has included the message id of current message, the User ID of current receiving end in read request and has worked as
The group ID of preceding group chat;Server-side is according to the read states information that message in the current group chat of information update that read request has included is arranged
It include: the reading message id that current receiving end is inquired according to the User ID and group ID of current receiving end, wherein read message id only
It is updated by server-side according to the message id of the message of the newest reading in receiving end, is connect according to the message id of current message and currently
The message id of reading of receiving end determines unread message set, wherein unread message collection is combined into current group chat current receiving end and is readding
The set for reading the entire message that do not read before current message composition, is updated the message id of reading of current receiving end, according to
The each read in situation update unread message set to message in unread message set of receiving end in current group chat
The read states information of message;Server-side by the updated information of read states be sent to message sending end include: will be after update
The information of read states be sent to the corresponding message sending end of each message in unread message set.
Further, unread message set is determined according to the message id of reading of the message id of current message and current receiving end
It include: the latest news for obtaining default number of branches in current group chat;By disappearing for each message in the latest news of default number of branches
Breath ID is compared with the message id of reading of the message id of current message and current receiving end;It will be in the latest news of default number of branches
The set that message id is greater than the message for the message id of current receiving end read message id and be less than or equal to current message is determined as
Unread message set.
Further, it is updated not according to the situation of reading to message in unread message set of the receiving end in current group chat
In the information of read states for reading each message in massage set, the reading to any a piece of news in unread message set
State information updating includes: that the receiving end by unread message ID in current group chat greater than target message ID is determined as target message
Receiving end is read, wherein target message is any a piece of news in unread message set;By unread message ID in current group chat
What the receiving end less than or equal to target message ID was determined as target message does not read receiving end;Statistics has been read receiving end and/or has not been read
Read states information of the quantity and corresponding user information of receiving end as target message.
According to the another aspect of the application, a kind of message read states suggestion device is provided.The device device includes clothes
It is engaged in end, server-side includes: receiving unit, for receiving setting that current receiving end is sent read request;Updating unit is used for root
According to the read states information of message in the setting current group chat of information update that read request has included;Transmission unit, for that will update
The information of read states afterwards is sent to message sending end.
Further, setting has included the message id of current message, the User ID of current receiving end in read request and has worked as
The group ID of preceding group chat;Updating unit includes: enquiry module, for currently being connect according to the inquiry of the User ID and group ID of current receiving end
The reading message id of receiving end, wherein read message id only by server-side according to the message id of the message of the newest reading in receiving end into
Row updates, determining module, for determining unread message according to the message id of current message and the message id of reading of current receiving end
Set, wherein unread message collection is combined into the entire message that current receiving end is not read before reading current message in current group chat
The set of composition, the first update module are updated, the second update module for the message id of reading to current receiving end, are used
In updating in unread message set to the situation of having read of message in unread message set according to the receiving end in current group chat
The read states information of each message;Transmission unit includes: sending module, for sending the updated information of read states
The corresponding message sending end of each message into unread message set.
Further, it is determined that module includes: acquisition submodule, disappear for obtaining the newest of default number of branches in current group chat
Breath;Comparative sub-module, for the message id of each message in the latest news by default number of branches and the message of current message
ID and the message id of reading of current receiving end are compared;First determines submodule, in the latest news by default number of branches
The set that message id is greater than the message for the message id of current receiving end read message id and be less than or equal to current message is determined as
Unread message set.
Further, the second update module includes: the second determining submodule, for unread message ID in current group chat is big
It is determined as the reading receiving end of target message in the receiving end of target message ID, wherein target message is in unread message set
Any a piece of news;Third determines submodule, for unread message ID in current group chat to be less than or equal to target message ID's
What receiving end was determined as target message does not read receiving end;Statistic submodule has read receiving end for statistics and/or has not read receiving end
Read states information as target message of quantity and corresponding user information.
According to the another aspect of the application, a kind of storage medium is provided, above-mentioned storage medium includes the program of storage,
In, program executes the message of above-mentioned any one read states reminding method.
According to the another aspect of the application, a kind of processor is provided, above-mentioned processor is for running program, wherein journey
The message of above-mentioned any one read states reminding method is executed when sort run.
The application is by the following method: server-side receives setting that current receiving end is sent read request;Server-side according to
The read states information of message in the current group chat of information update that read request has included is set;Server-side has read shape for updated
State information is sent to message sending end, solves the problems, such as that read states feedback efficiency is low to message in the related technology, in turn
Achieve the effect that improve message read states feedback efficiency.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present application, the schematic reality of the application
Example and its explanation are applied for explaining the application, is not constituted an undue limitation on the present application.In the accompanying drawings:
Fig. 1 is the flow chart according to message provided by the embodiments of the present application read states reminding method;And
Fig. 2 is the schematic diagram according to message provided by the embodiments of the present application read states suggestion device.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein.In addition, term " includes " and " tool
Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units
Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear
Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
In order to be easier to understand the technical solution of the application, following technical characteristic is illustrated:
Message id, every message sent has an one's own ID, and the ID of the message sent afterwards is eternal
Greater than the ID of the message sent before it.
Message id is read, each receiving end sends setting read request after reading a piece of news, to server-side, should
Be arranged in read request including above-mentioned reading message message id, when go to server-side update read message id step when,
Above-mentioned message id is saved as the reading message id of above-mentioned receiving end by server-side.
One identical with the ID of the message to have read message id, and this to have read message id only corresponding with the receiving end.If
Server-side has read the operation of message id without generating, then receiving end will not possess and be somebody's turn to do after having read a piece of news
Message is corresponding has read message id.
Embodiment 1
According to an embodiment of the present application, a kind of message read states reminding method is provided.
Fig. 1 is the flow chart according to the message of the embodiment of the present application read states reminding method.As shown in Figure 1, this method
The following steps are included:
Step S101, server-side receive setting that current receiving end is sent read request.
It should be noted that current receiving end sends the trigger condition that read request is arranged are as follows: receiving end performs opening
The chat window operation of current group chat or the message that other users transmission is received when chat window is in the open state.
Under above-mentioned two trigger condition, current receiving end can change to the situation of reading of the message in current group chat, and upper
State current receiving end when two triggering items reach and send setting read request, server-side start according to the setting read request to working as
The read states of message in preceding group chat are updated.
By above embodiment, so that server-side sends out the operation that the read states of message in current group chat are updated
It is raw when any one receiving end can change to the situation of reading of the message in current group chat in the group chat, i.e., every time
When the read states of message change in current group chat, and then avoids server-side and do not needing to update in current group chat
It is executed when the read states of message and updates operation, avoid the additional occupancy to computing resource.
Step S102, server-side is according to the read states that message in the current group chat of information update that read request has included is arranged
Information.
The updated information of read states is sent to message sending end by step S103, server-side.
Optionally, setting includes the message id of current message, the User ID of current receiving end and current in read request
The group ID of group chat;Server-side is according to the read states packet that message in the current group chat of information update that read request has included is arranged
Include: inquiring the reading message id of current receiving end according to the User ID of current receiving end and group ID, wherein read message id only by
Server-side is updated according to the message id of the message of the newest reading in receiving end, according to the message id of current message and current reception
The message id of reading at end determines unread message set, wherein unread message collection is combined into current group chat current receiving end and is reading
The set for the entire message composition that do not read before current message, is updated the message id of reading of current receiving end, according to working as
Receiving end in preceding group chat updates each in unread message set and disappears to the situation of having read of message in unread message set
The read states information of breath;Server-side by the updated information of read states be sent to message sending end include: will be updated
Read states information is sent to the corresponding message sending end of each message in unread message set.
It should be noted that in above embodiment, according to the User ID of current receiving end and the current reception of group ID inquiry
End reading message id, specifically include: inquiring the group member list of current group chat according to group ID, according to User ID from the group at
The reading message id of the current receiving end user is inquired in member's list.
It should be noted that currently being connect in above embodiment according to the inquiry of the User ID and group ID of current receiving end
After the message id of reading of receiving end, which has read message id and without server-side according to the newest reading in receiving end
The message id of message is updated, and therefore, the corresponding message id of reading of the current receiving end is that current receiving end is somebody's turn to do in reading
The message id for the nearest a piece of news read before current message.For example, message m l is being read in current receiving end, and in ml
Later, the other users of current group chat have sent 4 message, then current receiving end is again turned on chat window and sends setting
After read request, server-side is inquired according to the User ID of current receiving end and the group ID of current group chat that are arranged in read request
Current receiving end has read that message id is corresponding to be the message id of message m l, and is not the message of latest news in current group chat
ID。
Optionally, unread message set packet is determined according to the message id of reading of the message id of current message and current receiving end
It includes: obtaining the latest news of default number of branches in current group chat;By the message of each message in the latest news of default number of branches
ID is compared with the message id of reading of the message id of current message and current receiving end;It will disappear in the latest news of default number of branches
The set that breath ID is greater than the message for the message id of current receiving end read message id and be less than or equal to current message is determined as not
Read massage set.
It should be noted that the ID of the message sent afterwards is always larger than the ID of the message sent before it, and pass through clothes
Be engaged in after end updates, receiving end to have read message id identical with the message id of its newest reading, therefore, when message id is greater than receiving end
The message id of reading when, can determine whether not yet to read this message for the receiving end.
It should be noted that default number of branches in above-mentioned " latest news of default number of branches " be it is preset, setting should
The purpose of default number of branches are as follows: be each in the latest news by default number of branches when unread message set above-mentioned due to determination
The message id of message is compared with the message id of current message, it is therefore desirable to a reasonable item number is set, so that this is default
It include whole unread messages of the current receiving end before reading current message in the latest news of item number;Due to needs pair
Whether each message in the latest news of default number of branches is read by current receiving end, therefore the default number of branches can not mistake
It is more, in order to avoid cause calculation amount excessive.Preferably, which is arranged between 50-100 item, highly preferred, this is preset
Item number is set as 100.
It should be noted that the reading due to current receiving end to current message, change is that it is reading current message
The read states for the entire message not yet read before, therefore the timing really of above-mentioned unread message set, the ID with every message
What is be compared is current receiving end after reading nearest a piece of news before reading current message, the reading message id of update.
Therefore, in above-described embodiment, operation that message id is updated has been read in the message according to current message to current receiving end
ID and the message id of having read of current receiving end determine that the operation of unread message set executes later.There are multiple messages in current receiving end
When not reading, after it reads above-mentioned multiple messages, server-side updates it and has read message id, is disappearing for the latest news read
ID, which is ceased, as it has read message id.
For example, current receiving end has read message m l, the message id of reading of current receiving end is updated to by server-side later
The message id of message m l: mid1, it is all big to have sent successively four message m 2-m5, the message id of message m 2-m5 for other users later
In mid1.The chat window of current group chat is opened in current receiving end, then has read message m 2-m5, and current receiving end has been at this time
Reading message id is still mid1;The message of 100 newest transmissions is obtained, which includes message m 2-m5, by 100 newest transmissions
Message message id and current receiving end reading message id, i.e. mid1 is compared, and the message id for obtaining message m 2-m5 is big
It is determined as above-mentioned unread message set in mid1, therefore by message m 2-m5.Later, server-side disappears the reading of current receiving end
Breath ID is updated to the message id of message m 5.
Optionally, the situation of the reading update of message in unread message set is not read according to the receiving end in current group chat
In the information of read states of each message in massage set, to the reading shape of any a piece of news in unread message set
State information update includes: that the receiving end by unread message ID in current group chat greater than target message ID has been determined as target message
Read receiving end, wherein target message is any a piece of news in unread message set;Unread message ID in current group chat is small
Receiving end is not read in what the receiving end equal to target message ID was determined as target message;Statistics has read receiving end and/or has not read to connect
Read states information of the quantity and corresponding user information of receiving end as target message.
Optionally, information transmitting terminal is after receiving the information of read states of message of its transmission, in its display interface
The read states of upper its message sent of display.Optionally, this read states include the user of reading of message and/or do not read user
Number and user information.
Message provided by the embodiments of the present application read states reminding method receives what current receiving end was sent by server-side
Read request is set;Server-side is believed according to the read states of message in the setting current group chat of information update that read request has included
Breath;The updated information of read states is sent to message sending end by server-side, is solved and has been read shape to message in the related technology
The low problem of state feedback efficiency, and then achieved the effect that improve message read states feedback efficiency.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions
It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not
The sequence being same as herein executes shown or described step.
The embodiment of the present application also provides a kind of message read states suggestion devices, it should be noted that the application is implemented
Read states suggestion device can be used for executing provided by the embodiment of the present application for message read states prompt the message of example
Method.To message provided by the embodiments of the present application, read states suggestion device is introduced below.
Embodiment 2
Fig. 2 is the schematic diagram according to the message of the embodiment of the present application read states suggestion device.As shown in Fig. 2, the device
It include: receiving unit 10, updating unit 20, transmission unit 30.
Specifically, receiving unit, for receiving setting that current receiving end is sent read request;Updating unit is used for root
According to the read states information of message in the setting current group chat of information update that read request has included;Transmission unit, for that will update
The information of read states afterwards is sent to message sending end.
Optionally, setting includes the message id of current message, the User ID of current receiving end and current in read request
The group ID of group chat;Updating unit includes: enquiry module, for inquiring current receive according to the User ID and group ID of current receiving end
The reading message id at end, wherein read message id and only carried out by server-side according to the message id of the message of the newest reading in receiving end
It updates, determining module, for determining unread message collection according to the message id of current message and the message id of reading of current receiving end
It closes, wherein unread message collection is combined into the entire message group that current receiving end is not read before reading current message in current group chat
At set, the first update module is updated for the message id of reading to current receiving end, and the second update module is used for
According to the receiving end in current group chat in unread message set message read situation update it is every in unread message set
The read states information of a piece of news;Transmission unit includes: sending module, for the updated information of read states to be sent to
The corresponding message sending end of each message in unread message set.
Optionally, determining module includes: acquisition submodule, for obtaining the latest news of default number of branches in current group chat;
Comparative sub-module, in the latest news by default number of branches the message id of each message and the message id of current message and
The message id of reading of current receiving end is compared;First determines submodule, for message in the latest news by default number of branches
The set that ID is greater than the message for the message id of current receiving end read message id and be less than or equal to current message is determined as not reading
Massage set.
Optionally, the second update module includes: the second determining submodule, for unread message ID in current group chat to be greater than
The receiving end of target message ID is determined as the reading receiving end of target message, wherein target message is in unread message set
Any a piece of news;Third determines submodule, for the connecing less than or equal to target message ID by unread message ID in current group chat
What receiving end was determined as target message does not read receiving end;Statistic submodule has read receiving end and/or does not read receiving end for counting
The read states information of quantity and corresponding user information as target message.
Message provided by the embodiments of the present application read states suggestion device receives current receiving end by receiving unit and sends
Setting read request;Updating unit is according to the read states that message in the current group chat of information update that read request has included is arranged
Information;The updated information of read states is sent to message sending end by transmission unit, solve in the related technology to message
The low problem of read states feedback efficiency, and then achieved the effect that improve message read states feedback efficiency.
Read states suggestion device includes processor and memory to message, and above-mentioned receiving unit 10, is sent updating unit 20
Units 30 etc. store in memory as program unit, execute above procedure unit stored in memory by processor
To realize corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one
Or more, make to improve message read states feedback efficiency by adjusting kernel parameter.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited
Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor
Show message read states reminding method.
The embodiment of the invention provides a kind of processor, processor is for running program, wherein executes and disappears when program is run
Cease read states reminding method.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can
The program run on a processor, processor realize the step in above-described embodiment 1 when executing program.Equipment herein can be with
It is server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just
Beginningization has the program of the step in above-described embodiment 1.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application be referring to according to the method, apparatus of the embodiment of the present application and the flow chart of computer program product and/or
Block diagram describes.It should be understood that each process that can be realized by computer program instructions in flowchart and/or the block diagram and/or
The combination of process and/or box in box and flowchart and/or the block diagram.It can provide these computer program instructions to arrive
General purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor to generate one
Machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for realizing flowing
The device for the function of being specified in journey figure one process or multiple processes and/or block diagrams one box or multiple boxes.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,
Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of the claims of this application.
Claims (10)
1. a kind of message read states reminding method, which is characterized in that the described method includes:
Server-side receives setting that current receiving end is sent read request;
The server-side is according to the read states information that message in the current group chat of information update that read request has included is arranged;
The updated information of read states is sent to message sending end by the server-side.
2. the method according to claim 1, wherein described be arranged includes the current message in read request
The group ID of message id, the User ID of the current receiving end and current group chat;The server-side has been read to ask according to the setting
Ask including the current group chat of information update in the information of read states of message include:
The reading message id of the current receiving end is inquired according to the User ID of the current receiving end and the group ID, wherein
The message id of having read only is updated by server-side according to the message id of the message of the newest reading in receiving end,
Unread message set is determined according to the message id of reading of the message id of the current message and the current receiving end,
In, the unread message collection is combined into what current receiving end described in the current group chat was not read before reading the current message
The set of entire message composition,
The message id of reading of the current receiving end is updated,
It is described not according to the situation of the reading update to message in the unread message set of the receiving end in the current group chat
Read the read states information of each message in massage set;
The updated information of read states is sent to message sending end by the server-side
The updated information of read states is sent to the corresponding message of each message in the unread message set
Transmitting terminal.
3. according to the method described in claim 2, it is characterized in that, described connecing according to the message id of the current message and currently
The message id of reading of receiving end determines that unread message set includes:
Obtain the latest news of default number of branches in the current group chat;
By the message id and institute of the message id of each message in the latest news of the default number of branches and the current message
The message id of reading for stating current receiving end is compared;
Message id in the latest news of the default number of branches is greater than the message id of reading of the current receiving end and is less than or equal to
The set of the message of the message id of the current message is determined as the unread message set.
4. according to the method described in claim 2, it is characterized in that, according to receiving end in the current group chat to it is described not
The situation of having read for reading message in massage set updates in the information of read states of each message in the unread message set,
The information update of read states to any a piece of news in the unread message set includes:
Receiving end by unread message ID in the current group chat greater than target message ID is determined as the reading of the target message
Receiving end, wherein the target message is any a piece of news in the unread message set;
Receiving end by unread message ID in the current group chat less than or equal to the target message ID is determined as the target and disappears
Breath does not read receiving end;
Statistics is described to have read receiving end and/or the quantity for not reading receiving end and corresponding user information as the target message
Read states information.
5. a kind of message read states suggestion device, which is characterized in that described device includes server-side, and the server-side includes:
Receiving unit, for receiving setting that current receiving end is sent read request;
Updating unit, for being believed according to the read states of message in the setting current group chat of information update that read request has included
Breath;
Transmission unit, for the updated information of read states to be sent to message sending end.
6. device according to claim 5, which is characterized in that described be arranged includes the current message in read request
The group ID of message id, the User ID of the current receiving end and current group chat;The updating unit includes:
Enquiry module inquires the reading of the current receiving end for the User ID and the group ID according to the current receiving end
Message id, wherein the message id of having read only is updated by server-side according to the message id of the message of the newest reading in receiving end,
Determining module, for not read according to the message id of the current message and the message id of the reading determination of the current receiving end
Massage set, wherein the unread message collection is combined into current receiving end described in the current group chat and described currently disappears reading
The set for the entire message composition that do not read before breath,
First update module is updated for the message id of reading to the current receiving end,
Second update module, for according to the receiving end in the current group chat to message in the unread message set
Read the read states information that situation updates each message in the unread message set;
The transmission unit includes:
Sending module, each for the updated information of read states to be sent in the unread message set disappear
Cease corresponding message sending end.
7. device according to claim 6, which is characterized in that the determining module includes:
Acquisition submodule, for obtaining the latest news of default number of branches in the current group chat;
Comparative sub-module, for the message id of each message in the latest news of the default number of branches currently to disappear with described
The message id of breath and the message id of reading of the current receiving end are compared;
First determines submodule, for message id in the latest news of the default number of branches to be greater than the current receiving end
It reads message id and the set for being less than or equal to the message of the message id of the current message is determined as the unread message set.
8. device according to claim 6, which is characterized in that second update module includes:
Second determines submodule, is determined as the receiving end by unread message ID in the current group chat greater than target message ID
The reading receiving end of the target message, wherein the target message is any a piece of news in the unread message set;
Third determines submodule, for unread message ID in the current group chat to be less than or equal to the reception of the target message ID
What end was determined as the target message does not read receiving end;
Statistic submodule has read receiving end and/or the quantity and corresponding user information for not reading receiving end for counting described
Read states information as the target message.
9. a kind of storage medium, which is characterized in that storage medium include storage program, wherein program execution benefit require 1 to
Any one of 4 message read states reminding method.
10. a kind of processor, which is characterized in that processor is for running program, wherein perform claim requires 1 when program is run
To any one of 4 message read states reminding method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810971861.2A CN109194565A (en) | 2018-08-23 | 2018-08-23 | A kind of message read states reminding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810971861.2A CN109194565A (en) | 2018-08-23 | 2018-08-23 | A kind of message read states reminding method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109194565A true CN109194565A (en) | 2019-01-11 |
Family
ID=64919548
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810971861.2A Pending CN109194565A (en) | 2018-08-23 | 2018-08-23 | A kind of message read states reminding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109194565A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112118173A (en) * | 2020-09-21 | 2020-12-22 | 维沃移动通信(杭州)有限公司 | Message feedback reminding setting method and device and electronic equipment |
CN112714055A (en) * | 2019-10-25 | 2021-04-27 | 成都鼎桥通信技术有限公司 | Point-to-point short message reading confirmation method, device and system for broadband trunking communication |
CN113014470A (en) * | 2021-01-07 | 2021-06-22 | 腾讯科技(深圳)有限公司 | Receipt processing method and device for session message in instant messaging application |
CN113132122A (en) * | 2021-04-16 | 2021-07-16 | 网易(杭州)网络有限公司 | Group information processing method and device, storage medium and electronic equipment |
CN114301885A (en) * | 2021-12-13 | 2022-04-08 | 天翼爱音乐文化科技有限公司 | Data transmission method, device and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040054646A1 (en) * | 2002-09-17 | 2004-03-18 | Daniell W. Todd | Address book for integrating email and instant messaging (IM) |
CN101686141A (en) * | 2008-09-28 | 2010-03-31 | 华为技术有限公司 | Method and equipment for synchronizing read states |
CN104270301A (en) * | 2014-09-15 | 2015-01-07 | 倪敏俊 | Method for issuing notification information in unit |
CN105376137A (en) * | 2014-08-27 | 2016-03-02 | 阿里巴巴集团控股有限公司 | Instant messaging method and device |
CN107948050A (en) * | 2017-11-08 | 2018-04-20 | 用友网络科技股份有限公司 | A kind of device and method that group message read states are provided |
-
2018
- 2018-08-23 CN CN201810971861.2A patent/CN109194565A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040054646A1 (en) * | 2002-09-17 | 2004-03-18 | Daniell W. Todd | Address book for integrating email and instant messaging (IM) |
CN101686141A (en) * | 2008-09-28 | 2010-03-31 | 华为技术有限公司 | Method and equipment for synchronizing read states |
CN105376137A (en) * | 2014-08-27 | 2016-03-02 | 阿里巴巴集团控股有限公司 | Instant messaging method and device |
CN104270301A (en) * | 2014-09-15 | 2015-01-07 | 倪敏俊 | Method for issuing notification information in unit |
CN107948050A (en) * | 2017-11-08 | 2018-04-20 | 用友网络科技股份有限公司 | A kind of device and method that group message read states are provided |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112714055A (en) * | 2019-10-25 | 2021-04-27 | 成都鼎桥通信技术有限公司 | Point-to-point short message reading confirmation method, device and system for broadband trunking communication |
CN112714055B (en) * | 2019-10-25 | 2022-10-25 | 成都鼎桥通信技术有限公司 | Point-to-point short message reading confirmation method, device and system for broadband trunking communication |
CN112118173A (en) * | 2020-09-21 | 2020-12-22 | 维沃移动通信(杭州)有限公司 | Message feedback reminding setting method and device and electronic equipment |
CN112118173B (en) * | 2020-09-21 | 2023-02-21 | 维沃移动通信(杭州)有限公司 | Message feedback reminding setting method and device and electronic equipment |
CN113014470A (en) * | 2021-01-07 | 2021-06-22 | 腾讯科技(深圳)有限公司 | Receipt processing method and device for session message in instant messaging application |
CN113132122A (en) * | 2021-04-16 | 2021-07-16 | 网易(杭州)网络有限公司 | Group information processing method and device, storage medium and electronic equipment |
CN114301885A (en) * | 2021-12-13 | 2022-04-08 | 天翼爱音乐文化科技有限公司 | Data transmission method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109194565A (en) | A kind of message read states reminding method and device | |
US11184151B2 (en) | Devices for providing a set of cryptographically secured and filtered and sorted transaction data sets of a block of a blockchain | |
CN110162292A (en) | Voice broadcast method and device | |
CN107395697A (en) | Push Channel Selection, information push method, device and equipment, computer-readable recording medium | |
CN105022832B (en) | Method, mobile terminal and the download server that APP application securities are downloaded | |
CN104519545A (en) | Relay apparatus and method of selecting relay node based on learning in wireless network | |
CN106326062B (en) | The operating status control method and device of application program | |
CN109040230A (en) | Method for down loading, device, equipment/terminal/server and the storage medium of file | |
CN107171955A (en) | The system of selection of data link and system in network | |
CN111431730B (en) | Service processing method, system, computer equipment and readable medium | |
CN109729049A (en) | The sharing method and device of information | |
CN106255963A (en) | Network system, server, communication equipment, information processing method and program | |
CN108520077A (en) | A kind of method and apparatus avoiding repeated downloads | |
CN110728558A (en) | Virtual article package sending method, device, equipment and storage medium | |
CN110209132A (en) | Production data processing method and device in production manufacturing system | |
CN109995787A (en) | A kind of data processing method and relevant device | |
CN106850707B (en) | Method, device and system for batch uploading materials | |
CN103248627B (en) | Method, forward proxy server and system for visiting website resources | |
CN110119429A (en) | Data processing method, device, computer equipment and storage medium | |
CN110020070A (en) | Webpage circle selects data processing method, apparatus and system | |
CN112396511A (en) | Distributed wind control variable data processing method, device and system | |
CN104601452B (en) | A kind of method and device for configuring post time | |
US9477736B2 (en) | Apparatus and method for active and passive data gathering using stochastic model in control network | |
CN111835570B (en) | Global state persistence decentralized blockchain network node device and working method | |
CN108551418A (en) | A kind of message desk management method, device, equipment and storage medium |
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 | ||
CB02 | Change of applicant information |
Address after: 514000 Fifth Floor, World Business Center, Meizhou City, Guangdong Province Applicant after: GUANGDONG 115 TECHNOLOGY CO., LTD. Address before: 523808 6th Floor, Building 17, Songkeyuan, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province Applicant before: GUANGDONG 115 TECHNOLOGY CO., LTD. |
|
CB02 | Change of applicant information | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190111 |
|
WD01 | Invention patent application deemed withdrawn after publication |