Data event pushing method and device

An event, data technology

Active Publication Date: 2016-06-15
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF7 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, the transaction system includes links such as order placement, payment, and refund. In each order link, more than 10 API interfaces of downstream systems need to be called to notify the change of the order status, which leads to strong coupling between systems and poor process flow. Bloated and poorly maintained
At the same time, the average time-consuming of the API interface calls of each downstream system is 50ms, and the API interface calls of many downstream systems increase the time-consuming of the system, resulting in slow client response, thereby reducing user experience

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
  • Data event pushing method and device
  • Data event pushing method and device
  • Data event pushing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] figure 1 It is a flow chart of a data event push method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where multiple systems are connected in series required for synchronizing data change events between systems. This method can be implemented by a data event push device To execute, the device may be implemented by means of hardware and / or software, specifically including:

[0024] S110. Real-time monitoring the operation of the upstream system on the database, and generating a database change event;

[0025] Among them, the upstream system refers to the system that performs operations on the database. The operations performed on the database can be order submission, order payment, and order export, etc. The upstream system can be any system that performs operations on the database; the change event is An event where the state of the data changes.

[0026] Further, the real-time monitoring of the operation of the upst...

Embodiment 2

[0046] Figure 4 It is a flow chart of a data event push method provided by Embodiment 2 of the present invention. This embodiment provides a preferred example on the basis of Embodiment 1 above. The transaction system is used as the upstream system, and the user system is used as the downstream system. Taking the payment operation event as a change event as an example for illustration, the method specifically includes:

[0047] S210, analyze the transaction system binary operation log of the order table in the transaction database in real time, and if it is captured that the order status changes from "unpaid" to "paid", generate a payment operation event as a database change event;

[0048] S220. Using a topic matcher, match the payment operation event with at least one preset topic based on at least one of the following attributes:

[0049] The database name is transaction database, the table name is order table, the event type is update event, and the field rule is order s...

Embodiment 3

[0060] Figure 5 It is a schematic structural diagram of a data event push device provided in Embodiment 3 of the present invention. This embodiment proposes a data event push device based on the data event push method described in the above embodiment. This device is suitable for data event push situation, the device includes: a change event module 10 , a theme matching module 20 , a view message module 30 and a push module 40 .

[0061] Wherein, the change event module 10 is used to monitor the operation of the database by the upstream system in real time, and generates a database change event; the theme matching module 20 is used to match the change event with at least one pre-defined set theme through a theme matcher; The message module 30 is configured to generate a view message for the change event of the topic through the view message generator if a corresponding topic is matched; the push module 40 is used to push the view message to a downstream system subscribing to ...

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 data event pushing method and device. The data event pushing method comprises that operation of an upstream system to a database is monitored in real time, and a database change event is generated; the change event is matched to at least one predefined set theme through a theme adapter; if the change event is matched to a corresponding theme, a view message of the change event of the theme is generated through a view message generator; and the view message is pushed to a downstream system which subscribes to the theme. By employing the data event pushing method and device, strong coupling between systems can be effectively released, the transaction process is simplified, and the system operation speed is increased, and the user experience is improved.

Description

technical field [0001] Embodiments of the present invention relate to data processing technologies, and in particular, to a method and device for pushing data events. Background technique [0002] With the development of the times and the rapid development of information technology, the Internet has become the best medium for carrying and transmitting information data, and the push of information data through the network has also become an important method of information dissemination. [0003] In the prior art, an upstream system often connects multiple downstream systems in series, and the data change events between the systems are synchronized through application program interface (Application Program Interface, API) calls between the systems, so as to realize the push of information data events among the systems. For example, the transaction system includes links such as order placement, payment, and refund. In each order link, more than 10 API interfaces of downstream s...

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 BAIDU ONLINE NETWORK TECH (BEIJIBG) 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