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

In-App Lightweight Push Method

A lightweight, in-app technology, applied in the direction of electrical components, transmission systems, etc., can solve the problems of untimely server data push, failure to push, no connection, etc., and achieve the effect of reducing data processing overhead and reducing memory space overhead

Inactive Publication Date: 2016-10-19
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to propose an in-app lightweight push method for the problem that the server cannot actively establish a connection with the client in the prior art, which causes the server data to be pushed not in time or due to no connection.

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
  • In-App Lightweight Push Method
  • In-App Lightweight Push Method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The present invention will be further elaborated below in conjunction with the accompanying drawings and specific embodiments.

[0018] Such as figure 1 Shown is a flowchart of an in-app lightweight push method according to an embodiment of the present invention, which specifically includes:

[0019] Step 1. The client sends an HTTP connection request and user identification information to the server. After receiving the request, the server starts counting down the time stamp on the server side. The time length of the time stamp is the preset period T. When the time stamp counts down, the remaining When the time is equal to the preset time t, the server actively sends a signal to the client. After receiving the signal, the client immediately sends an HTTP connection request to the server again to establish a connection;

[0020] Described step 1 specifically is, at first between client and server periodically establishes HTTP connection, and described periodicity can b...

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 an in-application lightweight push method, which realizes periodic sending of connection requests by the client by setting a time stamp on the server side, and uses a time tag mechanism on the server side and the database to record data updates Time, through the comparison of time, only the updated data is stored in the cache table on the server side. If the data in the cache table has different types of messages from the same user, all the data will be pushed to the client at one time through the packaging mechanism. After the push, the cache table is cleared, and the updated data can be pushed to the client in time to be displayed to the user, and the data processing overhead and the memory space overhead of the server can be reduced while meeting the needs of the user.

Description

technical field [0001] The invention belongs to the technical field of wireless communication, and in particular relates to the design of an in-application lightweight push method. Background technique [0002] Since HTTP will actively release the connection after each request, to keep the client program online, it is necessary to continuously initiate connection requests to the server. The usual practice in the prior art is that even if there is no need to obtain any data, the client also keeps sending a "keep-alive" request to the server at regular intervals, and the server replies to the client after receiving the request, indicating that it knows The client is "online". If the server cannot receive the client's request for a long time, the client is considered "offline", and if the client cannot receive the server's reply for a long time, it is considered that the network has been disconnected. [0003] This connection request is actively sent by the client, but the cl...

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 Patents(China)
IPC IPC(8): H04L29/06
Inventor 李龙江刘社平李永刚
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA
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