Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for solving push data loss

A data loss and relationship technology, applied in the Internet field, can solve problems such as message loss, lower user experience, and inability to continue, so as to improve the experience and reduce the possibility

Pending Publication Date: 2019-11-12
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, if the access server is restarted due to an upgrade or other circumstances, all long connections to the access server will be disconnected, and at the same time, all messages being sent and received on the client connected to the access server will be Lost or unable to continue, reducing user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for solving push data loss
  • Method and system for solving push data loss

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] Please refer to figure 1 , Embodiment 1 of the present invention is:

[0052] A method for solving push data loss, including steps:

[0053] S1. Before restarting, the first access server sends restart command messages to all clients that have established long connection relationships with it. Specifically, before restarting, the first access server obtains a list of long connections and sends All clients in the list send restart command messages;

[0054] S2. The client receives the restart command message, disconnects the long-term connection relationship with the first access server, and establishes a long-term connection relationship with the second access server, and the second access server is not currently restarting;

[0055] S3. The client judges whether all the first messages sent have received the successful response message from the first access server. If there is a first message that has not received the successful response message from the first access ...

Embodiment 2

[0057] Please refer to figure 2 , the second embodiment of the present invention is:

[0058] A system 1 for solving push data loss, including a first access server 2 and a client 5, the first access server 2 includes a first memory 4, a first processor 3 and stored in the first memory 4 and A first computer program that can run on the first processor 3, the client 5 includes a second memory 7, a second processor 6, and a second computer program that is stored on the second memory 7 and can run on the second processor 6. The computer program, when the first processor 3 executes the first computer program, implements step S1 in the first embodiment above, and when the second processor 6 executes the second computer program, implements step S2 and step S3 in the first embodiment above.

[0059] To sum up, the present invention provides a method and system for solving push data loss. Before the first access server restarts, it sends restart command messages to all clients that ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a system for solving push data loss. The method comprises the steps: enabling a first access server to send a restart command message to all clients building a long connection relation with the first access server before the first access server is restarted; receiving the restart command message by the client and disconnecting the long connection relationship with the first access server. According to the invention, before the first access server is restarted, the first access server is restarted. A restart command message is sent to all clients establishing a long connection relationship with the client. Through adoption of the method, the clients disconnect the long connection relationship with the first access server. Therefore, the situation that the message sending of the clients fails or the message receiving of the clients fails due to the restart of the access server can be avoided. The possibility of loss of push data is lowered, and the user experience is improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and system for solving the loss of pushed data. Background technique [0002] Today, with the booming mobile Internet, most mobile APPs provide message push functions, such as hot news recommendations in news clients, chat message reminders in IM tools, e-commerce product promotion information, enterprise application notifications and approval processes, etc. Message push plays an important role in increasing product activity, increasing the utilization rate of functional modules, increasing user stickiness, and improving user retention. [0003] Now, many push applications have an access server deployed in multiple clusters. The client establishes a long-term connection with an access server in this cluster every time. After the establishment, the server and the client will maintain There is a long connection, and all messages are sent and received through this lo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/14H04L67/55
Inventor 刘德建林伟郭玉湖
Owner FUJIAN TIANQUAN EDUCATION TECH LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products