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

Method for implementing notification through cache

A caching and notification technology, applied in electrical components, transmission systems, etc., can solve the problems of high pressure on the server side and poor real-time performance.

Inactive Publication Date: 2009-06-10
北京闻言科技有限公司
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] On the wireless Internet, it is not easy for the server to actively push information to the client. Most of the technical solutions are either not real-time, or cause too much pressure on the server. This solution focuses on saving server resources as much as possible. Under the premise, the server pushes information to the client through the notification method.

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 for implementing notification through cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] see figure 1 , the system obtains the latest news list according to the ID number of the client user (a long integer number less than 19 digits) and the client type (enumerated constant, possibly Mobile, PC, Web), and these messages are objects ( The basic structure of these objects is a list of operations, which are prioritized, because the client will respond to these messages in order of priority), if the message is included

[0017] Property / Method Description

[0018] The message ID is not repeated, you can use guid, or you can implement other algorithms by yourself

[0019] Priority can be represented by 0, 1, 2..., the smaller the value, the higher the priority;

[0020] Uncertain priority level

[0021] Parent message Since some messages depend on other messages for execution, it is documented here

[0022] The id of Lai's parent message, there may be multiple parent messages

[0023] List of operations Each operation inc...

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 provides a method for realizing notice through cache. Firstly, a client sends heartbeat signals to a server every 5 minutes; the server reads memory cache information of an application server according to the ID number and type provided by the client, the application server caches data through a Dictionary, and the ID and the client terminal type only determine a message; the client terminal acquires information returned by the server; the client terminal transfers actual server interfaces of the server from high priority to low priority according to the priority of each step of operation in the information; the queue cache of the memory information provides an information updating interface to make information stored in the database updated to the memory cache; and the function for greatly providing concurrent information notice for users can provide individual information notice for each user.

Description

technical field [0001] The invention relates to a method for realizing notification through cache, in particular to a method for providing a message notification function for a large number of concurrent users by caching a large number of messages in the memory of an application server, and providing each user with a personalized message notification method. Background technique [0002] On the wireless Internet, it is not easy for the server to actively push information to the client. Most of the technical solutions are either not real-time, or cause too much pressure on the server. This solution focuses on saving server resources as much as possible. Under the premise, the server pushes information to the client through the notification method. Contents of the invention [0003] The main purpose of the present invention is to provide a method for implementing notification through caching. In particular, it relates to a method for providing a message notification functio...

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
IPC IPC(8): H04L29/08H04L29/06
Inventor 刘立军
Owner 北京闻言科技有限公司
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