Method and system for event broker

An event processor and event technology, applied in the Internet field, can solve problems such as redundant code, unfavorable code update and maintenance, etc., and achieve the effect of improving processing efficiency, improving update efficiency and maintenance efficiency, and reducing workload

Active Publication Date: 2013-03-20
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF2 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When a sub-element responds to an event handler, it needs the support of multiple execution data. Therefore, in order to save the execution data, multiple attributes need to be set to save the execution data, which makes the code in the front-end page lengthy, which is not conducive to code update and maintenance.

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 and system for event broker
  • Method and system for event broker

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0051] There are more than one collection tags on the front-end page. When clicking any of the tags, a dialog box will pop up to let the user decide whether to save the product. If the collection is confirmed, the corresponding logo of the product will be passed to the background. After the response is successful, the Add a red style to the label to indicate that it has been favorited, and the same operation as above is also performed for unfavorite labels.

[0052] The specific settings corresponding to favorites are as follows:

[0053]

[0054] collection

[0055] collection

[0056] collection

[0057] Favorite

[0058] The specific settings for canceling favorites are as follows:

[0059]

[0060] Cancel collection

[0061] Cancel collection

[0062] Cancel collection

[0063] Cancel collection

[0064] In order to realize the above method, the present invention also provides an event agent system, figure 2 is a schematic structural diagram of a preferred em...

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 and a system for an event broker. The method for the event broker includes that an event processor is bound with a parent element of a daughter element or another element in a higher grade than the parent element in advance, when the event processor is triggered, all the daughter elements bound with the event processor are traversed and the daughter element responding to the event is found according to identity properties preset for the daughter elements, and the event processor acquires implementation data from preset memory attribute of the found daughter element and operates according to the implementation data. According to the technical scheme of the method and the system for the event broker, front-end page processing efficiency is increased.

Description

【Technical field】 [0001] The invention relates to front-end page development technology in the Internet field, in particular to an event agent method and system. 【Background technique】 [0002] In the development process of the front-end page of the merchant center, the traditional event handling method is to bind an event handler for each sub-element according to the requirements, and there are usually many sub-elements in the front-end page, so it is necessary to bind multiple event handlers, However, when there are many bound event handlers, if multiple event handlers need to be triggered continuously or simultaneously, the sub-elements bound by these event handlers need to be triggered continuously or simultaneously, which will lead to low efficiency of the front-end page. This can cause memory leaks or browser crashes. [0003] In addition, when each sub-element responds to the same event handler, the execution data that needs to be used in many cases is different, so ...

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): G06F9/44
Inventor 林静
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
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