Message push method and system
A message push and message technology, which is applied in the field of network communication, can solve problems such as no guarantee, users push dynamic messages, and "webcasting" is not targeted, and achieve the effects of saving data transmission resources, solving low efficiency, and ensuring arrival rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] Such as figure 1 , shown in 2 and 3, the message pushing method of the present invention comprises the following steps:
[0038] 1) The server obtains the message, and saves the message in the cache after the server obtains the message. The function of the cache is to record the message, and then number the message according to the time sequence to obtain the numbered message (for example, according to the sequence of time, the number is 100 , 101, 102, 103, ..., N), numbered messages ensure the order of messages, and the same process is adopted in the group sending mode;
[0039] 2) The server obtains the client from the pre-stored client list. Specifically, the server acquires client information (such as IP, mobile token, etc.) in the pre-stored client list. The client list is generally obtained when the client is initially installed, and the client list will be updated when the client changes. 3) The client monitors the local port (such as port 12010 or port 12011...
Embodiment 2
[0049] Such as Figure 4 As shown, when the client is offline and then online again, the steps of the message push method are as follows:
[0050] 1) The server obtains the message, and saves the message in the cache after the server obtains the message. The function of the cache is to record the message, and then number the message according to the time sequence to obtain the numbered message (for example, according to the sequence of time, the number is 100 , 101, 102, 103, ..., N), numbered messages ensure the order of messages, and the same process is adopted in the group sending mode;
[0051] 2) The server obtains the client from the pre-stored client list;
[0052]3) The server sends the first message in the numbered message to the client;
[0053] 4) The client does not respond, indicating that the client is not online, and the server marks the numbered message as an offline message;
[0054] 5) When the client connects to the server again, it obtains the local time...
Embodiment 3
[0064] Another aspect of the present invention provides a message push system, including: a server and a client; the server communicates with the client; the server obtains the message, saves the message in the cache, and sequentially numbering the messages to obtain numbered messages; the server acquires clients from a pre-stored client list; the server sends the numbered messages to the clients according to the numbers; the client receives the When the client receives multiple messages, the client responds to the first message and the last message.
[0065] Preferably, the client includes a time stamp recording unit configured to record the time stamp of receiving the numbered message.
[0066] Preferably, the server includes a message sending recording unit, and the message sending recording unit is used to record the response status of the client after the server sends the numbered message to the client according to the number; If the client does not respond, the server m...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com