Function analysis method and device and electronic equipment

An analysis method and function technology, applied in the database field, can solve problems such as cumbersome users, error-prone, and difficulty in configuring black and white lists

Pending Publication Date: 2021-01-15
北京人大金仓信息技术股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This scheme of separately configuring the black and white lists of functions is very cumbersome for users, especially when the appl

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
  • Function analysis method and device and electronic equipment
  • Function analysis method and device and electronic equipment
  • Function analysis method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] This embodiment provides a function analysis method, refer to figure 1 , the method may include the following steps:

[0027] Step S102, after the program is started, obtain functions and check the blacklist; wherein, the functions include system functions and user-defined functions; the blacklist is used to record functions written into the database among the functions.

[0028] In some possible implementation manners, the above-mentioned program may be a driver program added in the host server, or may be a designed proxy (Proxy) program or the like. Functions can include system functions that come with the database system when it is initialized, and user-defined functions pre-created by users to meet actual needs; at the same time, according to the operation type of the function is a read operation or a write operation, the function can be divided into write to the database function (namely write function) and read database function (namely read function); wherein, w...

Embodiment 2

[0059] refer to figure 2 , the present embodiment provides a function analysis device, the device includes:

[0060] The checking module 202 is used to check the blacklist after the program starts; wherein, the blacklist is used to record and write the database function;

[0061] The first determination module 204 is used to determine the first write-in database function from a pre-established database table if the write-in database function recorded in the blacklist is empty; wherein, the database table is used to store system functions of the database system;

[0062] The second determination module 206 is used to execute the user-defined function based on the blacklist, and determine the second write-in database function in the user-defined function according to the execution result if there is a function written into the database recorded in the blacklist;

[0063] Adding to a blacklist module 208, configured to add the first writing function to the database and the seco...

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 function analysis method and device and electronic equipment, and relates to the technical field of databases, and the method comprises the steps: obtaining a function and checking a blacklist after a program is started, wherein the functions comprise a user-defined function and a system function of the database system, the blacklist is used for recording a write-in database function in the function; if the write-in database function recorded in the blacklist is empty, determining a first write-in database function from the system functions according to the read-writeattribute; if the write-in database function is recorded in the blacklist, executing the user-defined function based on the blacklist, and determining a second write-in database function in the user-defined function according to an execution result; and adding the first write-in database function and the second write-in database function into the blacklist. The working difficulty of configuring the black list and the white list can be obviously simplified.

Description

technical field [0001] The present disclosure relates to the technical field of databases, in particular to a function analysis method, device and electronic equipment. Background technique [0002] Read-write separation means that the host server handles transactional addition, modification, and deletion operations, while the standby server handles SELECT query operations. [0003] In the process of processing functions, the existing read-write separation scheme usually requires the user to configure the black and white list of functions separately to identify the read-write type of the function, and then achieve the read database function (called read function) distributed to the standby server, write The database entry function (which may be called a write function) is sent to the host server to improve the overall processing capacity of the cluster. Such a scheme of separately configuring the black and white lists of functions is very cumbersome for users, especially wh...

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): G06F16/21G06F16/23G06F16/242
CPCG06F16/21G06F16/235G06F16/2433
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