Netted multilevel index matching method for publishing and subscribing

A publish, subscribe and index technology, applied in the field of information technology processing, can solve the problems of high complexity, low efficiency, repeated matching process, etc., and achieve the effect of solving repetition, avoiding repetition and improving matching efficiency.

Active Publication Date: 2016-08-24
HOHAI UNIV
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Purpose of the invention: Aiming at the problem that the existing publish-subscribe index matching algorithm has duplication of matching process and low efficiency when deleting, the present invention proposes a publish-subscribe-oriented mesh multi-level index matching method, in which the same subscription The different attribute nodes of the entry are connected through the linked list, which significantly improves the indexing efficiency when the subscription entry is deleted in the publish-subscribe system
However, when a multi-level index deletes a subscription entry, because the multiple predicate attributes of a subscription entry are scattered in multiple index linked lists, it requires a full index scan when deleting. The algorithm complexity is high

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
  • Netted multilevel index matching method for publishing and subscribing
  • Netted multilevel index matching method for publishing and subscribing
  • Netted multilevel index matching method for publishing and subscribing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Below in conjunction with specific embodiment, further illustrate the present invention, should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention, after having read the present invention, those skilled in the art will understand various equivalent forms of the present invention All modifications fall within the scope defined by the appended claims of the present application.

[0038] figure 1 A processing flowchart of a publish-subscribe-oriented mesh multi-level index matching method according to an embodiment of the present invention is shown. Such as figure 1 As shown, a publish-subscribe-oriented mesh multi-level index matching method includes the following steps: Step S1: Define the data structure of the mesh multi-level index, the data structure includes a linked list and nodes, and the nodes are used to store attributes of subscription entries Information; Step...

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 netted multilevel index matching method for publishing and subscribing, and belongs to the field of information technology processing. According to the method, an improved netted multilevel index structure is proposed for the problem that full-table scanning is needed when subscribed items of a user are deleted in an existing multilevel index matching algorithm, the subscribed items can be locked with link table header pointers of the subscribed items and then deleted under the condition that the indexing efficiency is ensured, full-table scanning of multilevel indexes in the deleting process is omitted, and thus the index deleting efficiency is improved; multiple subscribed items corresponding to subscribed item attributes are defined with a doubly-linked table, identical subscribed items in the indexes are connected, and thus the index maintaining efficiency is improved; indexes are established in levels for operate operators and attribute subscribed items respectively, querying conditions can be rapidly pruned and filtered, and thus the index querying and matching efficiency is improved.

Description

technical field [0001] The invention relates to the field of information technology processing, in particular to a publish-subscribe-oriented mesh multi-level index matching method. Background technique [0002] The message subscription / publishing mode can effectively reduce the coupling between the communication parties, completely decouple the publisher and the subscriber in time, space and synchronization, and reduce the dependence of the communication parties. It is an effective asynchronous communication mode. It has been widely used in large-scale distributed networks. In the message publishing / subscribing mode, the data is published and subscribed in the form of messages, and the subscribers indicate the type of events they are interested in and notify the proxy server; when the publisher publishes a new event, the server will use the matching algorithm to subscribe Events are sent to subscribers. Among them, the matching algorithm is responsible for efficiently fin...

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): G06F17/30
CPCG06F16/951
Inventor 冯钧张立霞王冲陆佳民徐维纲张进孔胜球刘艺徐欢陈志飞
Owner HOHAI UNIV
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