Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data verification method and device, medium and electronic equipment

A technology for data verification and field verification, which is applied in the field of data verification and can solve the problems of reduced system stability and high system cost

Pending Publication Date: 2020-06-09
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional uniqueness constraints can satisfy most simple scenarios, but for complex business systems, it is difficult to meet business needs by only providing data uniqueness constraints at the data level, requiring constant code modification and re-launching of new system
Frequent modification and upgrade of the system will lead to high cost of developing and maintaining the system; in addition, frequent modification of the code will reduce the stability of the 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 verification method and device, medium and electronic equipment
  • Data verification method and device, medium and electronic equipment
  • Data verification method and device, medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] like figure 1 As shown, according to the specific implementation manner of the present disclosure, in the first aspect, the present invention provides a method for data verification, which specifically includes the following method steps:

[0033] S102: Obtain the attribute of at least one verification field for data verification;

[0034] In this step, the acquired attribute of at least one verification field for data verification includes at least one of the following:

[0035] The content of each verification field, the attribute characteristics of each verification field, the corresponding relationship between each verification field and the object entity of the data to be verified, and the corresponding relationship between each verification field and the first business uniqueness rule.

[0036] In practical applications, the properties of each check field used to configure the corresponding business uniqueness rules can be obtained according to different business...

Embodiment 2

[0086] This embodiment follows embodiment 1, and is used to implement the method steps described in embodiment 1. The explanation based on the same name and meaning is the same as embodiment 1, and has the same technical effect as embodiment 1, which will not be repeated here. combined with figure 2 As shown, according to the specific implementation manner of the present invention, in the second aspect, the present invention provides a device for data verification, which specifically includes an acquisition unit 202, a configuration unit 204, and a verification unit 206, specifically as follows:

[0087] An acquisition unit 202, configured to acquire at least one attribute of a verification field for data verification;

[0088] The configuration unit 204 is configured to configure the first business uniqueness rule for data verification according to the attribute of at least one verification field acquired by the acquisition unit 202;

[0089] The verification unit 206 is co...

Embodiment 3

[0108] like image 3 As shown, this embodiment provides an electronic device, which is used for a data verification method. The electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein,

[0109] The memory stores instructions that can be executed by the one processor, and the instructions are executed by the at least one processor, so that the at least one processor can: by configuring a general service uniqueness check rule, The logic of the unique verification rule is defined as a general service, and the rule verification is automatically implemented in the underlying framework of the system without intrusion into the business code.

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 data verification method and device, a medium and electronic equipment, and the method comprises the steps: obtaining the attribute of at least one verification field for dataverification; configuring a first service uniqueness rule for data verification according to the attribute configuration of the at least one verification field; and performing data verification on the to-be-verified data according to the first service uniqueness rule to obtain a corresponding verification result. According to the invention, the universal service uniqueness verification rule is configured, the logic of the uniqueness verification rule is defined as the universal service, the verification of the rule is automatically realized in the system bottom layer framework, and no invasion is caused to the service code.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular, to a data verification method, device, medium and electronic equipment. Background technique [0002] In the business system, a large amount of data is stored in the database. When developing the system, it is necessary to define the database table and the fields in the table before storing the data in the defined table. Each data table generally defines a primary key primary key field, which is generally defined as a unique coded field. The value of the unique coded field is unique in the table. No matter how many pieces of data are stored in the table, the unique codes of all data are different. Duplication is allowed, this is the uniqueness of data in the business system. [0003] In addition to the data uniqueness of a single field such as defining a unique code, it is also allowed to combine multiple fields to define data uniqueness, which means that the value of ea...

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/215
CPCG06F16/215
Inventor 郑海波
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products