CN105848291A - System message processing method and server - Google Patents
System message processing method and server Download PDFInfo
- Publication number
- CN105848291A CN105848291A CN201610356163.2A CN201610356163A CN105848291A CN 105848291 A CN105848291 A CN 105848291A CN 201610356163 A CN201610356163 A CN 201610356163A CN 105848291 A CN105848291 A CN 105848291A
- Authority
- CN
- China
- Prior art keywords
- system message
- server
- terminal
- message
- sequence 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W68/00—User notification, e.g. alerting and paging, for incoming communication, change of service or the like
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/08—Load balancing or load distribution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W68/00—User notification, e.g. alerting and paging, for incoming communication, change of service or the like
- H04W68/02—Arrangements for increasing efficiency of notification or paging channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W68/00—User notification, e.g. alerting and paging, for incoming communication, change of service or the like
- H04W68/04—User notification, e.g. alerting and paging, for incoming communication, change of service or the like multi-step notification using statistical or historical mobility data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a system message processing method, which comprises the steps of generating a sequence identifier for a system message in an incrementally continuous mode when a server releases the system message, receiving a request of a terminal for acquiring the number of unread system messages, using the total number of system messages in a specified period to act as the number of unread system messages and sending the total number of the system messages to the terminal which requests to acquire the number of unread system messages for the first time, or using a difference value of a sequence identifier of a latest released system message at present and a sequence identifier of a system message read by the corresponding user last time to act as the number of unread system message to send to the terminal. The scheme provided by the invention can reduce the system message processing pressure of the server.
Description
Technical field
The application relates to, but are not limited to the communications field, the processing method of a kind of system message and service
Device.
Background technology
In Mobile solution, often there are notifications or broadcast.Need to go to judge the number of user of unread
List with output user of unread.When system manager is after backstage sends a broadcast, and user App (should
With software) on message icon display small red dot, when user click on icon enter broadcast lists check message
After content, small red dot eliminates.
The propelling movement mode used at present, is directly pushed to client, and after client is read, message just lost,
User cannot check again, affects Consumer's Experience.The realization of this technical scheme there is problems in that
Not reading to calculate when, server needs to use SQL (Structured Query mostly
Language, SQL) in statistical function remove the non-reading of counting user.Owing to obtaining
The request do not read is poll (general 5 minutes polls 1 time) for client, and this data are again
Can not cache, rely only on real-time calculating, database server is caused bigger pressure.
Summary of the invention
In order to solve above-mentioned technical problem, embodiments provide the processing method of a kind of system message
And server, it is possible to alleviate the pressure of server handles systems message.
In order to reach the object of the invention, the invention provides a kind of server, including:
Release module, when delivery system message, is that described system message is raw certainly to increase continuous print mode
Become a sequence identifier;
Transport module, after the request of the non-reading of acquisition system message receiving terminal, when will specify
The sum of the system message in the phase is sent to first as the non-reading of system message that acquisition request system message is not
The terminal of reading, or by the sequence identifier of the system message of current up-to-date issue with corresponding user last time
The difference of the sequence identifier of the system message read is sent to described terminal as the non-reading of system message.
The server of the present embodiment passes through continuous print id, by simple id phase calculating non-reading when
Subtract the non-reading that just can draw user, decrease server in the burden processing non-read apparatus message.
Alternatively, described server also includes logging modle,
Described transport module, after being additionally operable to receive the request of the acquisition non-read apparatus message of described terminal,
By the maximum of the sequence identifier of current recent systems message and the described system message being sent to described terminal
System message between sequence identifier is sent to described terminal;
Described logging modle, is additionally operable to record the sequence identifier of described current recent systems message.
The system message of the issue between during the system message that current and terminal last are only obtained by the present embodiment
It is sent to terminal, so can avoid repeating to repeat to send system message to terminal.The service of the present embodiment
The non-reading of system message that device record terminal has obtained, can facilitate calculate system message non-reading next time.
Alternatively, described server also includes: check module and removing module,
Described inspection module, for the login time of terminal described in regular check, determines that described terminal is last
Login time away from check time exceed the appointment time time, notify described removing module;
Described removing module, for exceeding described appointment time, corresponding user by cache in time checking
The sequence identifier of the system message obtained is deleted.
The server of the present embodiment deletes the sequence identifier that inactive terminal exceedes the system message of designated period of time
Storage, to save memory space.
Alternatively, described transport module, after being additionally operable to receive the logging request of described terminal, will be away from institute
The message count information of the system message of the issue stated when terminal logs in the appointment time is sent to described terminal.
The method of the present embodiment only sends the system message in the regular period to sluggish client, so
The burden of server can be reduced.
The embodiment of the present invention also provides for the processing method of a kind of system message, including:
During server delivery system message, it is that described system message generates a sequence certainly to increase continuous print mode
Mark;
After described server receives the request of the non-reading of acquisition system message of terminal, by designated period of time
The sum of system message be sent to the non-reading of acquisition request system message first as the non-reading of system message
Terminal, or the sequence identifier of the system message of current up-to-date issue read with corresponding user last time
The difference of the sequence identifier of system message is sent to described terminal as the non-reading of system message.
The method of the present embodiment passes through continuous print id, is subtracted each other by simple id calculating non-reading when
Just can draw the non-reading of user, decrease server in the burden processing non-read apparatus message.
Alternatively, described server is during issuing a described system message, and not accepting other is
The release processing of system message.
So can ensure that the sequence identifier of the system message of generation is continuously from increasing.
Alternatively, after non-for system message reading is sent to described terminal by described server, also include:
Described server record is sent to the maximum sequence identifier of the system message of described terminal.This enforcement
The non-reading of system message that the method record terminal of example has obtained, can facilitate calculate system message not next time
Reading.
Alternatively, described server record is sent to the maximum sequence identifier of system message of described terminal
After, also include:
After described server receives the request of acquisition non-read apparatus message of described terminal, will be the most up-to-date
The maximum sequence identifier of the sequence identifier of system message and the described system message being sent to described terminal it
Between system message be sent to described terminal, and record the sequence identifier of described current recent systems message.
Issue between during the system message that current and terminal last is only obtained by the method for the present embodiment be
System message is sent to terminal, so can avoid repeating to repeat to send system message to terminal.
Alternatively, described processing method can also include:
The login time of terminal described in described server regular check, when determining the last login of described terminal
When spacing exceedes the appointment time when checking, in time checking, exceed described appointment time, correspondence by cache
The sequence identifier of the system message that user obtained is deleted.
The inactive terminal of method deletion of the present embodiment exceedes the sequence identifier of the system message of designated period of time
Storage, to save memory space.
Alternatively, described processing method can also include:
After receiving the logging request of described terminal, by the issue in the appointment time when described terminal logs in
The message count information of system message be sent to described terminal.
The method of the present embodiment only sends the system message in the regular period to sluggish client, so
The burden of server can be reduced.
To sum up, the embodiment of the present invention provides processing method and the server of a kind of system message, it is possible to substantially
Alleviate the pressure of server handles systems message.
Accompanying drawing explanation
Accompanying drawing is used for providing being further appreciated by technical solution of the present invention, and constitutes one of description
Point, it is used for explaining technical scheme together with embodiments herein, is not intended that the present invention
The restriction of technical scheme.
Fig. 1 is the hardware architecture diagram of the optional server realizing each embodiment of the present invention;
Fig. 2 is the flow chart of the processing method of a kind of system message of the embodiment of the present invention;
Fig. 3 is the schematic diagram of the server of the embodiment of the present invention;
Fig. 4 is the flow chart of the embodiment of the present invention one;
Fig. 5 is the flow chart of the embodiment of the present invention two;
Fig. 6 is the flow chart of the embodiment of the present invention three.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further
Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit
Determine the present invention.
Fig. 1 is the hardware architecture diagram of the optional server realizing each embodiment of the present invention.
Server 100 can include radio communication unit 110, memorizer 120, controller 130 and power supply
Unit 140 etc.;Described radio communication unit 110, memorizer 120, controller 130 and power subsystem
140 are all connected by bus 150.Fig. 1 shows the server with various assembly, it should be understood that
It is, it is not required that implement all assemblies illustrated can alternatively to implement more or less of assembly, will
It is discussed in more detail below the element of server.
Radio communication unit 110 generally includes one or more assembly, and it allows server 100 and terminal
Or radio communication between other servers in network.Radio communication unit 110 is used for server with outer
Communication between the electronic equipment in portion.
Memorizer 120 can store the process performed by controller 130 and control the software program etc. of operation
Deng, or can temporarily store the data (such as, user profile etc.) that oneself maybe will export through output.
Memorizer 120 can include that the storage medium of at least one type, described storage medium include flash memory, hard
Dish, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM),
Static random-access memory (SRAM), read only memory (ROM), electrically erasable are only
Read memorizer (EEPROM), programmable read only memory (PROM), magnetic storage, disk,
CD etc..And, server 100 can be connected the storage merit performing memorizer 120 with by network
The network storage device cooperation of energy.
Controller 130 generally controls the overall operation of server.Power subsystem 140 is at controller 130
Control lower reception external power or internal power and the suitable electricity operated needed for each element and assembly is provided
Power.
Needing exist for explanation, the server 100 shown in Fig. 1 is to use bus (Bus) structure,
For a person skilled in the art, server can also use other structure, if power subsystem
140 can be the suitable electric power needed for each element and assembly offer operation, and controller 130 can control nothing
Line communication unit 110 communicates with outside electronic equipment, and memorizer 120 is for storage control
The objects such as 130 executable program codes, it is seen then that server is not made more by the embodiment of the present invention
Many restrictions.
Various embodiment described herein can be to use such as computer software, hardware or its any group
The computer-readable medium closed is implemented.Implementing for hardware, embodiment described herein can pass through
Use application-specific IC (ASIC), digital signal processor (DSP), Digital Signal Processing
Device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA),
Processor, controller, microcontroller, microprocessor, it is designed to perform the electricity of function described herein
At least one in subelement is implemented, and in some cases, such embodiment can be at controller
Implement in 130.Implementing for software, the embodiment of such as process or function can perform at least with permission
The single software module of a kind of function or operation is implemented.Software code can be by with any suitable volume
The software application (or program) that Cheng Yuyan writes is implemented, and software code can be stored in memorizer
Perform in 120 and by controller 130.
Based on above-mentioned server hardware structure and communication system, each embodiment of the inventive method is proposed.
Fig. 2 is the flow chart of the processing method of a kind of system message of the embodiment of the present invention, such as Fig. 2 institute
Showing, the method for the present embodiment includes:
When step 11, server delivery system message, it is that described system message is raw certainly to increase continuous print mode
Become a sequence identifier;
After step 12, described server receive the request of the non-reading of acquisition system message of terminal, will refer to
Regularly the sum of the system message in the phase is sent to acquisition request system first as the non-reading of system message and disappears
Cease the terminal of non-reading, or by the sequence identifier of the system message of current up-to-date issue with on corresponding user
The difference of the sequence identifier of the secondary system message read is sent to described terminal as the non-reading of system message.
The method of the present embodiment passes through continuous print id, is subtracted each other by simple id calculating non-reading when
Just can draw the non-reading of user, decrease server in the burden processing non-read apparatus message.
In one embodiment of the invention, described server is issuing the process of a described system message
In, do not accept the release processing of other system message.I.e. one user's another one operation when is used
Family cannot operate.
The method of the present embodiment, utilizes notifications and broadcast to need not high concurrent characteristic, uses and lock
Mechanism be that system message generates from increasing id, locking mechanisms uses mutual exclusion lock, and i.e. one user is behaviour
The when of work, another one user cannot operate, until the complete lock that just can discharge of this user operation, at this time
Another one user could operate, and this mechanism ensure that the id of generation is unique and continuous print.Due to
Notifications and broadcast are just sent out several in general one day, concurrent operations of less than nothing high, use this mechanism also
Systematic function will not be impacted.
In one embodiment of the invention, non-for system message reading is sent to described end by described server
After end, also include: described server record is sent to the maximum sequence mark of the system message of described terminal
Know.The non-reading of system message that i.e. record terminal has obtained, can facilitate calculating next time system message not read
Number.
In one embodiment of the invention, described server record is sent to the system message of described terminal
Maximum sequence identifier after, also include:
After described server receives the request of acquisition non-read apparatus message of described terminal, will be the most up-to-date
The maximum sequence identifier of the sequence identifier of system message and the described system message being sent to described terminal it
Between system message be sent to described terminal, and record the sequence identifier of described current recent systems message.
The system message of the issue between during the system message that current and terminal last are only obtained by the present embodiment sends
To terminal, so can avoid repeating to repeat to send system message to terminal.
In one embodiment of the invention, the method for the present embodiment also includes:
The login time of terminal described in described server regular check, when determining the last login of described terminal
When spacing exceedes the appointment time when checking, in time checking, exceed described appointment time, correspondence by cache
The sequence identifier of the system message that user obtained is deleted.So can save memory space.
In one embodiment of the invention, the method for the present embodiment also includes:
After receiving the logging request of described terminal, by the issue in the appointment time when described terminal logs in
The message count information of system message be sent to described terminal.The method of the present embodiment is only to sluggish visitor
Family end sends the system message in the regular period, so can reduce the burden of server.
If the restriction do not read of user being identified (id) be stored in client, it is delivered to server the most again
End processes, it appears that plausible, but user once unloads this APP or at an other hands
Logging on machine, all of information of having read can become again people of unread information, cause the Consumer's Experience of extreme difference.
If the restriction id of user of unread is stored in server end, substantial amounts of memory space can be wasted again,
Because Internet user, silent user accounting exceedes half, is equivalent to deposit for user's waste of this half
Storage space.
The method of the present embodiment only store any active ues do not read indicate id, if user exceedes the appointment time
(such as one month) no longer logs in, and that just deletes this user does not reads mark, saves memory space.When this
Data are not read in only representing one month for him the when that user reaching the standard grade again.
Fig. 3 is the schematic diagram of the server of the embodiment of the present invention, as it is shown on figure 3, the service of the present embodiment
Device 400 includes:
Generation module 401, when delivery system message, is that described system disappears certainly to increase continuous print mode
Breath generates a sequence identifier;
Transport module 402, after the request of the non-reading of acquisition system message receiving terminal, will refer to
Regularly the sum of the system message in the phase is sent to acquisition request system first as the non-reading of system message and disappears
Cease the terminal of non-reading, or by the sequence identifier of the system message of current up-to-date issue with on corresponding user
The difference of the sequence identifier of the secondary system message read is sent to described terminal as the non-reading of system message.
The server 400 of the present embodiment is by continuous print id, by simple calculating non-reading when
Id subtracts each other the non-reading that just can draw user, decreases server 400 and is processing non-read apparatus message
Burden.
In one embodiment of the invention, server 400 can also include:
Logging modle 403, is sent to the maximum sequence mark of the system message of described terminal for record
Know.
The server 400 of the present embodiment records the non-reading of system message that terminal has obtained, under can facilitating
The secondary non-reading of calculating system message.
Alternatively, transport module 402, it is additionally operable to receive the acquisition non-read apparatus message of described terminal
After request, by the sequence identifier of current recent systems message and the described system message being sent to described terminal
Maximum sequence identifier between system message be sent to described terminal;
Logging modle 403, is additionally operable to record the sequence identifier of described current recent systems message.
Sending out between during the system message that current and terminal last are only obtained by the server 400 of the present embodiment
The system message of cloth is sent to terminal, so can avoid repeating to repeat to send system message to terminal.
In one embodiment of the invention, server 400 also includes: checks module 404 and deletes mould
Block 405,
Check module 404, for the login time of terminal described in regular check, determine that described terminal is last
Login time away from check time exceed the appointment time time, notify removing module 405;
Removing module 405, for exceeding described appointment time, corresponding user by cache in time checking
The sequence identifier of the system message obtained is deleted.
The server of the present embodiment deletes the sequence identifier that inactive terminal exceedes the system message of designated period of time
Storage, to save memory space.
In one embodiment of the invention, transport module 402, it may also be used for receive described terminal
After logging request, the message count of the system message of the issue in the appointment time when described terminal logs in is believed
Breath is sent to described terminal.
The server of the present embodiment only sends the system message in the regular period to sluggish client, this
Sample can reduce the burden of server.
Should be understood that each module shown in Fig. 3 is placed in the controller 130 of the server shown in Fig. 1,
To realize corresponding function.
With several embodiments, the present processes is described in detail below.
Embodiment one
The present embodiment is that client obtains system message people of unread information, first as shown in Figure 4, including following
Step:
Step 1001, during server 400 delivery system message, is described system certainly to increase continuous print mode
Message generates a sequence identifier;
The when of server 400 delivery system message, identification generator is that this system message generates one only
Certainly increasing continuous print sequence identifier (id) (such as, sequence id of system message is 1,2,3,4,5) of.
While server 400 records message, and sequence id of current maximum system message be recorded
In caching.
Step 1002, client obtains the non-reading of system message to server 400 first;
Step 1003, after server 400 receives request, by the sum of the system message in designated period of time
It is sent to client.
The message sum that server 400 obtains in designated period of time (such as month) returns to client.
Server 400 will record user and this time refresh the id obtained, and is recorded in caching.
Step 1004, obtains system message with user orientation server 400 and does not reads list.
User see on the client have do not read counting, click on check do not read counting.
Step 1005, the system message data of user of unread is sent to client by server 400.
Sequence id of the system message that user is finally checked by server 400 is to the system message of up-to-date issue
Sequence id between message data export to client, the system that the new record user that lays equal stress on finally reads disappears
System id of breath.
Embodiment two
The present embodiment be client non-first obtain system message people of unread information, as it is shown in figure 5, include with
Lower step:
Step 2001, during server 400 delivery system message, is described system certainly to increase continuous print mode
Message generates a sequence identifier;
The when of server 400 delivery system message, identification generator is that this system message generates one only
Certainly increasing continuous print sequence identifier (id) (such as, sequence id of system message is 1,2,3,4,5) of.
While server 400 records message, and sequence id of current maximum system message be recorded
In caching.
Step 2002, client is follow-up obtains the non-reading of system message to server 400.
Step 2003, after server 400 receives request, by the sequence of the system message of current up-to-date issue
The difference of the sequence identifier of the system message that row mark was read with corresponding user last time is not read as system message
Number is sent to client.
Client obtained up-to-date renewal number every five minutes to server 400, and server 400 gets
The id that last time, correspondence user checked is searched in the buffer, by system message maximum (i.e. the when of client identity
Up-to-date) id and the id that finally checks of user subtract each other, i.e. may know that user of unread number.
As: the up-to-date id user of message has read the non-reading of id=the most.
Calculated the non-reading that can calculate user accurately by side-play amount, whole process is purely
Subtraction, server handling capacity is the strongest.
Step 2004, obtains system message with user orientation server 400 and does not reads list.
User see on the client have do not read counting, click on check do not read counting.
Step 2005, the system message data of user of unread is sent to client by server 400.
Sequence id of the system message that user is finally checked by server 400 is to the system message of up-to-date issue
Sequence id between message data export to client, the system that the new record user that lays equal stress on finally reads disappears
System id of breath.
Embodiment three
In the present embodiment, server 400 deletes sequence id of the system message read of inactive user.
As shown in Figure 6, comprise the following steps:
Step 3001, the login time of server 400 regular check user;
Step 3002, server 400 judge whether the last login time of user and current contrast exceed appointment
Time, as being less than, do not deal with;As exceeded, then go to step 2002;
Step 3003, server 400 delete sequence id of the system message that this user finally checks;
Such as, server 400 starts a timed task last login time of inspection user with current every day
Whether contrast exceedes the appointment time (such as 30 days), finally looks into if it exceeds within 30 days, then delete this user
See the storage of sequence id of system message, occupied to reduce the resource of server 400.
Step 3004, server 400 detect when described user reaches the standard grade again, send away from working as to client
The non-reading information of the system message issued in the front appointment time;
If this user reaches the standard grade again, already more than 30 days because this user is inactive, be only this user's exhibition
System message in existing 30 days, by calculating the current on-line time of this user, then calculates this on-line time 30
Time before it, the system message data obtained between the two time difference returns to visitor by the arrangement of id inverted order
Family end.
Step 3005, obtains system message with user orientation server 400 and does not reads list.
User see on the client have do not read counting, click on check do not read counting.
Step 3006, the system message data of user of unread is sent to client by server 400.
Sequence id of the system message that user is finally checked by server 400 is to the system message of up-to-date issue
Sequence id between message data export to client, the system that the new record user that lays equal stress on finally reads disappears
System id of breath.
It should be noted that in this article, term " includes ", " comprising " or its any other variant are intended to
Contain comprising of nonexcludability, so that include the process of a series of key element, method, article or dress
Put and not only include those key elements, but also include other key elements being not expressly set out, or also include
The key element intrinsic for this process, method, article or device.In the case of there is no more restriction,
The key element limited by statement " including ... ", it is not excluded that including the process of this key element, method, thing
Product or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned
Embodiment method can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical
Cross hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the present invention's
The part that prior art is contributed by technical scheme the most in other words can be with the form body of software product
Revealing to come, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light
Dish) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service
Device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every
Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or
Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.
Claims (10)
1. a server, it is characterised in that including:
Release module, when delivery system message, is that described system message is raw certainly to increase continuous print mode
Become a sequence identifier;
Transport module, after the request of the non-reading of acquisition system message receiving terminal, when will specify
The sum of the system message in the phase is sent to first as the non-reading of system message that acquisition request system message is not
The terminal of reading, or by the sequence identifier of the system message of current up-to-date issue with corresponding user last time
The difference of the sequence identifier of the system message read is sent to described terminal as the non-reading of system message.
Server the most according to claim 1, it is characterised in that described server also includes record
Module,
Described transport module, after being additionally operable to receive the request of the acquisition non-read apparatus message of described terminal,
By the maximum of the sequence identifier of current recent systems message and the described system message being sent to described terminal
System message between sequence identifier is sent to described terminal;
Described logging modle, for recording the sequence identifier of described current recent systems message.
Server the most according to claim 1 and 2, it is characterised in that described server also wraps
Include: check module and removing module,
Described inspection module, for the login time of terminal described in regular check, determines that described terminal is last
Login time away from check time exceed the appointment time time, notify described removing module;
Described removing module, for exceeding described appointment time, corresponding user by cache in time checking
The sequence identifier of the system message obtained is deleted.
Server the most according to claim 3, it is characterised in that
Described transport module, after being additionally operable to receive the logging request of described terminal, will step on away from described terminal
During record, the message count information of the system message of the issue in the appointment time is sent to described terminal.
5. the processing method of a system message, it is characterised in that including:
During server delivery system message, it is that described system message generates a sequence certainly to increase continuous print mode
Mark;
After described server receives the request of the non-reading of acquisition system message of terminal, by designated period of time
The sum of system message be sent to the non-reading of acquisition request system message first as the non-reading of system message
Terminal, or the sequence identifier of the system message of current up-to-date issue read with corresponding user last time
The difference of the sequence identifier of system message is sent to described terminal as the non-reading of system message.
Processing method the most according to claim 5, it is characterised in that
Described server, during issuing a described system message, does not accept other system message
Release processing.
Processing method the most according to claim 6, it is characterised in that system is disappeared by described server
Cease after non-reading is sent to described terminal, also include:
Described server record is sent to the maximum sequence identifier of the system message of described terminal.
Processing method the most according to claim 7, it is characterised in that described server record sends
After the maximum sequence identifier of the system message of described terminal, also include:
After described server receives the request of acquisition non-read apparatus message of described terminal, will be the most up-to-date
The maximum sequence identifier of the sequence identifier of system message and the described system message being sent to described terminal it
Between system message be sent to described terminal, and record the sequence identifier of described current recent systems message.
9. according to the processing method described in any one of claim 6-8, it is characterised in that also include:
The login time of terminal described in described server regular check, when determining the last login of described terminal
When spacing exceedes the appointment time when checking, in time checking, exceed described appointment time, correspondence by cache
The sequence identifier of the system message that user obtained is deleted.
Processing method the most according to claim 9, it is characterised in that also include:
After receiving the logging request of described terminal, by the issue in the appointment time when described terminal logs in
The message count information of system message be sent to described terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610356163.2A CN105848291A (en) | 2016-05-25 | 2016-05-25 | System message processing method and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610356163.2A CN105848291A (en) | 2016-05-25 | 2016-05-25 | System message processing method and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105848291A true CN105848291A (en) | 2016-08-10 |
Family
ID=56594441
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610356163.2A Pending CN105848291A (en) | 2016-05-25 | 2016-05-25 | System message processing method and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105848291A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110430124A (en) * | 2019-08-05 | 2019-11-08 | 腾讯科技(深圳)有限公司 | Non- read flag processing method, device, system, storage medium and computer equipment |
CN110935168A (en) * | 2019-11-26 | 2020-03-31 | 上海莉莉丝科技股份有限公司 | Distributed ID generation method, device and equipment for global uniform architecture |
CN113545015A (en) * | 2019-03-12 | 2021-10-22 | 微软技术许可有限责任公司 | Merge message store data structure |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103890808A (en) * | 2011-09-22 | 2014-06-25 | 可可株式会社 | Method for operating interactive messaging service providing reception confirmation |
CN103929353A (en) * | 2014-04-25 | 2014-07-16 | 百度在线网络技术(北京)有限公司 | Instant message processing method and device |
CN103944799A (en) * | 2013-01-18 | 2014-07-23 | 阿里巴巴集团控股有限公司 | Message processing method and system |
-
2016
- 2016-05-25 CN CN201610356163.2A patent/CN105848291A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103890808A (en) * | 2011-09-22 | 2014-06-25 | 可可株式会社 | Method for operating interactive messaging service providing reception confirmation |
CN103944799A (en) * | 2013-01-18 | 2014-07-23 | 阿里巴巴集团控股有限公司 | Message processing method and system |
CN103929353A (en) * | 2014-04-25 | 2014-07-16 | 百度在线网络技术(北京)有限公司 | Instant message processing method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113545015A (en) * | 2019-03-12 | 2021-10-22 | 微软技术许可有限责任公司 | Merge message store data structure |
CN110430124A (en) * | 2019-08-05 | 2019-11-08 | 腾讯科技(深圳)有限公司 | Non- read flag processing method, device, system, storage medium and computer equipment |
CN110935168A (en) * | 2019-11-26 | 2020-03-31 | 上海莉莉丝科技股份有限公司 | Distributed ID generation method, device and equipment for global uniform architecture |
CN110935168B (en) * | 2019-11-26 | 2023-09-01 | 上海莉莉丝科技股份有限公司 | Distributed ID generation method, device and equipment for global uniform architecture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2019422590B2 (en) | Pickup reminding method and apparatus, device, and storage medium | |
CN105848291A (en) | System message processing method and server | |
CN110196847A (en) | Data processing method and device, storage medium and electronic device | |
WO2019095670A1 (en) | Sales performance tracking method, application server and computer-readable storage medium | |
CN107346270B (en) | Method and system for real-time computation based radix estimation | |
CN109740129B (en) | Report generation method, device and equipment based on blockchain and readable storage medium | |
CN112150203A (en) | Real estate client visit identification method and device, electronic equipment and storage medium | |
CN106940643A (en) | Logical APP systems between the police and the people | |
CN103490978A (en) | Terminal, server and message monitoring method | |
CN114757639A (en) | Data processing method, device, equipment and storage medium | |
CN107742179B (en) | User reminding method and device in ERP system, storage medium and computer equipment | |
WO2014128064A1 (en) | A time and attendance processing system | |
CN104167026A (en) | Attendance method utilizing handheld device | |
CN106971446B (en) | Electronic voting method | |
CN114791914A (en) | User behavior statistical method, device, equipment and medium based on Bitmap | |
CN114357082A (en) | Cloud computing-based big data analysis method and system | |
CN114205424A (en) | Bill file decompression method and device, computer equipment and storage medium | |
CN111131393B (en) | User activity data statistical method, electronic device and storage medium | |
CN114265845A (en) | Processing method and device of delay task and electronic equipment | |
CN108256839B (en) | Numerical resource rollback method, device, server and storage medium | |
CN110309176B (en) | Data processing method and data transfer station | |
CN116132528B (en) | Flight management message pushing method and device and electronic equipment | |
CN109543788A (en) | A kind of battery information management method, device, storage medium and system | |
CN112580089A (en) | Information leakage early warning method, device and system, storage medium and electronic device | |
CN112560789B (en) | Image object detection method, device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160810 |