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

Lightweight push method in application

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

Inactive Publication Date: 2014-05-07
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF5 Cites 5 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
  • Lightweight push method in application
  • Lightweight push method in application

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 a lightweight push method in an application. According to the method of the invention, a periodical connection transmitting request of a client is realized through setting a time clamp at a server end. Furthermore a time label mechanism is adopted at the server end and a database for recording data updating time. Through time comparison, only data updated at this time are stored in a cache table of the server end. If different types of information of a same user exist in the data in the cache table, all data can be pushed to the client through a packaging mechanism. The cache table after pushing is emptied. The updated data can be pushed to the client for displaying to the user in time. Furthermore while user requirement is satisfied, data processing expenditure of the server end and expenditure of the memory space are reduced.

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 Applications(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