Cache method suitable for publish-subscribe system in mobile environment

A publish-subscribe, mobile scene technology, applied in the transmission system, electrical components, wireless communication, etc., to achieve the effect of improving efficiency, reducing delay, and good adaptability

Active Publication Date: 2014-06-18
江阴逐日信息科技有限公司
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The problem of caching in the mobile scenario is how to cache the subscribed content during the mobile period of the subscriber, and at the same time ensure the availability of the cache and

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
  • Cache method suitable for publish-subscribe system in mobile environment
  • Cache method suitable for publish-subscribe system in mobile environment
  • Cache method suitable for publish-subscribe system in mobile environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] Such as figure 1 As shown, a caching method for a publish-subscribe system suitable for mobile scenarios includes the following steps:

[0035] Step S1, the cache startup step: when the subscriber s i Before disconnecting from a proxy node, send a disconnection message DCN(f i , i), the subscriber's subscription condition f i and the identifier i inform the border agent; the border agent performs the disconnect operation:

[0036] Reserve the entry corresponding to the subscription condition in the subscription table, record the identifier i, and create a record for the subscriber s i Set a Disconnect Flag DCN i , indicating the subscriber s i In the disconnected state; calculate the weighted average distance C of the current proxy node i and record the minimum The border agent then forwards the disconnection message DCN(f i , i) forwarded to all neighboring agents.

[0037] All neighbor agents repeat the above disconnection operation, and the disconnection me...

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 cache method suitable for a publish-subscribe system in a mobile environment. The method comprises the following steps: cache starting: before a subscriber is disconnected, publishing an interconnection message to an entire network, and starting cache; cache ending: when the subscriber reconnects the network, publishing a reconnection message to the entire network, and ending cache; cache subscribing and responding: when the subscriber sends a cache request, publishing the cache request to the entire network, and acquiring cache. The method has the beneficial effects that a proper cache position is selected under the comprehensive consideration of the mobility characteristic and network characteristic of the subscriber, and delay of event cache is reduced remarkably for the subscriber, so that the efficiency is increased; the method has high adaptability no matter the subscriber moves at equal probability among each position or moves frequently within a certain local range; a proper position cache event is selected in an event dispatching path, so that the network load is reduced, and the network performance is optimized.

Description

technical field [0001] The invention belongs to the technical field of publish-subscribe systems, and in particular relates to a caching method of a publish-subscribe system applicable to mobile scenarios. Background technique [0002] A publish-subscribe system consists of a distributed communication network, the event broker network, and a series of endpoints communicating with each other, namely subscribers and publishers. Subscribers and publishers are interconnected through an event proxy network, and an asynchronous publish-subscribe method is used to complete data exchange. Subscribers submit subscriptions by declaring a filter condition expression. When a publisher publishes an event that meets its subscription conditions, the event is routed to the subscriber through the proxy network. In terms of time, subscription and publication of content are asynchronous, and in terms of space, subscribers and publishers do not need to care about where each other is located. T...

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/06H04L29/08H04W8/18
Inventor 曹健于润胜徐钱元许文星
Owner 江阴逐日信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products