Data collection method, device, equipment and readable storage medium

A data collection and database technology, applied in the field of big data, can solve the problems of increasing performance loss, increasing database reading and writing pressure, and increasing business system interface time-consuming, so as to reduce the reading and writing pressure.

Pending Publication Date: 2020-09-04
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF10 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the user operation information and the business data before and after the change cannot be completely obtained, it is necessary to query the business database multiple times to obtain the business data, which increases the pressure of reading and writing of the database and increases the performance loss; moreover, the way of burying the log leads to inconsistency with the original business The logic is highly coupled, which reduces the readability and scalability of the code; at the same time, it increases the time consumption of the business system interface and affects the performance of the business system

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 collection method, device, equipment and readable storage medium
  • Data collection method, device, equipment and readable storage medium
  • Data collection method, device, equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0032] According to the embodiment of this application, Figure 1a It is a flowchart of the first data collection method in the embodiment of the present application, and the embodiment of the present application is applicable to the situation of collecting business data and user operation information before and after the change in the business system. The method is ...

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 collection method, a device, equipment and a readable storage medium, and relates to the technical field of big data and the technical field of cloud computing. According to the specific implementation scheme, the method comprises the steps of obtaining an operation request of a user, and extracting user operation information from the operation request; generating aninsertion statement for writing the user operation information into a service database; submitting the insertion statement and the business data change statement to the business database, so that thebusiness database writes the user operation information by executing the insertion statement and changes the business data by executing the business data change statement; and according to the binarylog of the service database, collecting the service data before and after the change and the user operation information. According to the embodiment of the invention, user operation information and service data before and after change are completely collected; meanwhile, data collection and service decoupling are achieved.

Description

technical field [0001] This application relates to computer technology, especially to the field of big data technology. Background technique [0002] The operating mode of the existing business system is generally to execute a series of operations in response to the user's operation request, and to change the corresponding business data in the business database. During this process, it is necessary to completely record user operation information and business data before and after the change, so as to carry out secondary development of functions such as security verification, user portrait analysis, data synchronization, and post-event backtracking, thereby improving product competitiveness. [0003] In the prior art, it is usually to find a specific code fragment in the business code and perform log burying. If the user operation information and the business data before and after the change cannot be completely obtained, it is necessary to query the business database multip...

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): G06F16/242G06F16/23G06F16/27G06F16/17G06F11/34G06F9/46
CPCG06F16/2433G06F16/23G06F16/27G06F16/1734G06F11/3438G06F9/466
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