CN115309730A - Data auditing method and device, electronic equipment and storage medium - Google Patents

Data auditing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115309730A
CN115309730A CN202210962441.4A CN202210962441A CN115309730A CN 115309730 A CN115309730 A CN 115309730A CN 202210962441 A CN202210962441 A CN 202210962441A CN 115309730 A CN115309730 A CN 115309730A
Authority
CN
China
Prior art keywords
auditing
rule
data
package
audited
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210962441.4A
Other languages
Chinese (zh)
Inventor
刘崇辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lianren Healthcare Big Data Technology Co Ltd
Original Assignee
Lianren Healthcare Big Data Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lianren Healthcare Big Data Technology Co Ltd filed Critical Lianren Healthcare Big Data Technology Co Ltd
Priority to CN202210962441.4A priority Critical patent/CN115309730A/en
Publication of CN115309730A publication Critical patent/CN115309730A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24564Applying rules; Deductive queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a data auditing method and device, electronic equipment and a storage medium. The method comprises the following steps: in response to a data auditing instruction for auditing the data to be audited, loading a rule rack package for auditing the data in a data auditing engine; and auditing the data to be audited through the self-defined audit rule in the rule rack package to obtain a first audit result. The technical scheme of the embodiment of the invention solves the technical problems of lower auditing efficiency and lower accuracy rate of the existing data auditing, realizes more rapid and accurate data auditing of data to be audited, and further improves the efficiency of data auditing.

Description

Data auditing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data auditing method and apparatus, an electronic device, and a storage medium.
Background
For data auditing, in the related art, auditing of data to be audited is usually performed manually. However, the manual auditing of data not only has low auditing efficiency, but also has the technical problem of low auditing accuracy.
Disclosure of Invention
The invention provides a data auditing method and device, electronic equipment and a storage medium, which are used for more accurately and quickly auditing data to be audited and further improving the efficiency of data auditing.
According to an aspect of the present invention, a data auditing method is provided, and the method includes:
in response to a data auditing instruction for auditing the data to be audited, loading a rule rack package for auditing the data in a data auditing engine;
and auditing the data to be audited through the self-defined audit rule in the rule rack package to obtain a first audit result.
Optionally, the loading, in the data auditing engine, a rule rack package for auditing data includes:
acquiring a configuration file of a data auditing engine, and determining a storage position for storing a rule rack package for auditing data based on the configuration file;
and acquiring the rule frame package from the storage position, and introducing the rule frame package into the data auditing engine in a dynamic loading mode.
Optionally, the introducing the rule shelf package into the data auditing engine by using a dynamic loading manner includes:
loading the rule frame package into a preset dependence injection container in a dynamic loading mode, and establishing a reference relation between the rule frame package and a data auditing engine through the preset dependence injection container;
and introducing the rule shelf package into the data auditing engine based on the reference relation.
Optionally, the method further comprises:
acquiring a predefined custom auditing rule, and a predefined rule implementation class interface or a predefined rule abstract class;
and packaging the predefined self-defined auditing rule, the predefined rule implementation class interface or the predefined rule abstract class to obtain the rule rack package.
Optionally, the auditing the data to be audited according to the customized audit rule in the rule rack package includes:
establishing an access connection relation between the rule shelf package and the data auditing engine by calling a predefined rule realization class interface or a predefined rule abstract class in the rule shelf package;
and auditing the data to be audited by calling the predefined self-defined audit rule in the data audit engine based on the access connection relation.
Optionally, the method further comprises:
receiving a second auditing result uploaded by the user and used for auditing the data to be audited;
and if the first audit result and/or the second audit result are/is an abnormal audit result, generating prompt information for prompting the abnormality of the custom audit rule based on the custom audit rule for auditing the data to be audited, and displaying the prompt information.
Optionally, the method further comprises:
modifying the self-defined audit rule to obtain a modified self-defined audit rule which is used as a target audit rule;
replacing the custom audit rule in the rule rack package with the target audit rule;
the auditing the data to be audited through the self-defined audit rule in the rule rack package comprises the following steps:
and auditing the data to be audited according to the target auditing rule in the rule rack package.
According to another aspect of the invention, a data auditing apparatus is provided. The device includes:
the frame package loading module is used for responding to a data auditing instruction for auditing the data to be audited and loading a rule frame package for auditing the data in the data auditing engine;
and the data auditing module is used for auditing the data to be audited through the self-defined auditing rule in the rule frame package to obtain a first auditing result.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform a data auditing method according to any embodiment of the present invention.
According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for causing a processor to implement a data auditing method according to any embodiment of the present invention when executed.
According to the technical scheme of the embodiment of the invention, the rule rack package used for auditing the data is loaded in the data auditing engine by responding to the data auditing instruction for auditing the data to be audited. In the embodiment of the invention, the auditing rule in the rule frame package can be modified according to the actual data auditing requirement so as to improve the flexibility of data auditing. After the rule frame package is loaded to the data auditing engine, auditing is carried out on data to be audited through the self-defined auditing rule in the rule frame package, and then a first auditing result can be obtained. The technical scheme of the embodiment of the invention solves the technical problems of lower auditing efficiency and lower accuracy rate of the existing data auditing, realizes faster and more accurate auditing of data to be audited, and further improves the efficiency of data auditing.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present invention, nor are they intended to limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a data auditing method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a data auditing apparatus according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It is understood that before the technical solutions disclosed in the embodiments of the present disclosure are used, the type, the use range, the use scene, etc. of the personal information related to the present disclosure should be informed to the user and obtain the authorization of the user through a proper manner according to the relevant laws and regulations.
For example, in response to receiving an active request from a user, a prompt message is sent to the user to explicitly prompt the user that the requested operation to be performed would require the acquisition and use of personal information to the user. Thus, the user can autonomously select whether to provide personal information to software or hardware such as an electronic device, an application program, a server, or a storage medium that performs the operations of the technical solution of the present disclosure, according to the prompt information.
As an optional but non-limiting implementation manner, in response to receiving an active request from the user, the manner of sending the prompt information to the user may be, for example, a pop-up window, and the prompt information may be presented in a text manner in the pop-up window. In addition, a selection control for providing personal information to the electronic device by the user's selection of "agreeing" or "disagreeing" can be carried in the pop-up window.
It is understood that the above notification and user authorization process is only illustrative and not limiting, and other ways of satisfying relevant laws and regulations may be applied to the implementation of the present disclosure.
It will be appreciated that the data involved in the subject technology, including but not limited to the data itself, the acquisition or use of the data, should comply with the requirements of the corresponding laws and regulations and related regulations.
Example one
Fig. 1 is a schematic flow chart of a data auditing method according to an embodiment of the present invention, where the present embodiment is applicable to a scenario of auditing data, and the method may be executed by a data auditing apparatus, where the data auditing apparatus may be implemented in a form of hardware and/or software, and the data auditing apparatus may be configured in an electronic device such as a computer or a server.
As shown in fig. 1, the method of the present embodiment includes:
and S110, responding to a data auditing instruction for auditing the data to be audited, and loading a rule rack package for auditing the data in a data auditing engine.
The data to be audited can be understood as data which needs to be audited. The data to be audited can be one, two or more than two. Optionally, the data format of the data to be checked may be a text format. It should be noted that there are various acquisition manners of the to-be-checked data, and the acquisition manner is not specifically limited herein, for example, the to-be-checked data uploaded by the user is received to acquire the to-be-checked data; or receiving a to-be-audited data acquisition instruction, and acquiring to-be-audited data in a database based on the to-be-audited data acquisition instruction. The data auditing instruction can be understood as an instruction for auditing data to be audited, and can be used for auditing the data to be audited. The data auditing engine may be understood as an engine for auditing data to be audited. The rule shelf package may be derived based on at least one rule for auditing the data.
Specifically, a data auditing instruction for auditing the data to be audited is received, that is, a data auditing instruction for auditing the data to be audited, which is input by a user in a data auditing engine, is received. After the data auditing instruction is received, a rule rack package for auditing the data can be loaded in the data auditing engine. Compared with the prior art, the data to be audited needs to be audited through the data auditing rules built in the data auditing engine. According to the embodiment of the invention, the data auditing rule in the rule frame package can be configured independently, so that the data auditing rule in the rule frame package can be further optimized subsequently.
Receiving a data auditing instruction which is input by a user in a data auditing engine and used for auditing data to be audited can include: receiving to-be-audited data uploaded by a user in a data auditing engine; and receiving touch operation (such as clicking) of a preset control acted on the data auditing engine by a user, and generating a data auditing instruction for auditing uploaded data to be audited based on the touch operation. It should be noted that, an execution sequence between receiving the to-be-audited data uploaded by the user from the data auditing engine and receiving the touch operation of the user acting on the preset control of the data auditing engine is not specifically limited herein, or the execution sequence may be receiving the touch operation of the user acting on the preset control of the data auditing engine first and then receiving the to-be-audited data uploaded by the user from the data auditing engine; or, the touch operation of the user on the preset control of the data auditing engine and the to-be-audited data uploaded by the user in the data auditing engine can be received simultaneously.
In the embodiment of the invention, the rule frame package can be obtained by the following method: acquiring a predefined custom auditing rule, and a predefined rule implementation class interface or a predefined rule abstract class; and packaging the predefined self-defined auditing rule, the predefined rule implementation class interface or the predefined rule abstract class to obtain the rule rack package.
The custom audit rule can be a data audit rule defined according to actual data audit requirements. The number of the customized audit rules may be one, two, or more, and is not limited herein. The predefined rule implementation class interface may be understood as an interface having a function of accessing the custom audit rule to the data audit engine. A predefined rule abstract class may be understood as an abstract class that implements the functionality of accessing custom audit rules to a data audit engine.
Specifically, a custom audit rule, a rule implementation class interface, or a predefined rule abstract class is predefined. And further, the predefined self-defined auditing rule, the rule implementation class interface or the predefined rule abstract class can be packaged. So that a data packet can be obtained and the obtained data packet is used as a rule frame packet.
Optionally, after the rule frame package is obtained, the rule frame package can be uploaded to a pre-created storage space, so that not only can remote loading of the subsequent rule frame package be facilitated, but also the rule frame package can be upgraded more flexibly.
In an embodiment of the present invention, the loading, in the data auditing engine, the rule rack package for auditing data includes: acquiring a configuration file of a data auditing engine, and determining a storage position for storing a rule rack package for auditing data based on the configuration file; and acquiring the rule frame package from the storage position, and introducing the rule frame package into the data auditing engine in a dynamic loading mode.
The information stored in the configuration file may include, but is not limited to, storage location information of a rule rack package used for auditing data. In the embodiment of the present invention, the file format of the configuration file of the data auditing engine may be any file format, and is not specifically limited herein.
Specifically, a configuration file of the data auditing engine is obtained. After the configuration file is obtained, the configuration file may be read. And further determining the storage position information stored in the configuration file for storing the rule rack package used for auditing the data. Thereby determining a storage location for storing the rule shelf package for auditing the data. Thereby obtaining the rule rack package in the storage location. And after the rule frame package is obtained, loading the rule frame package into the data auditing engine in a dynamic loading mode.
Optionally, the introducing the rule shelf package into the data auditing engine by using a dynamic loading manner includes: loading the rule frame package into a preset dependence injection container in a dynamic loading mode, and establishing a reference relation between the rule frame package and a data auditing engine through the preset dependence injection container; and introducing the rule shelf package into the data auditing engine based on the reference relation. The preset dependent injection container can be understood as a container with a dependent injection function, and can be used for establishing a reference relationship between the rule shelf package and the data auditing engine. In the embodiment of the invention, the user-defined auditing rule and the rule implementation logic class in the rule frame package are loaded to the preset dependent injection container (ioc container of Spring) in a dynamic loading mode, so that the rule frame package can be flexibly used.
And S120, auditing the data to be audited through the self-defined auditing rule in the rule frame package to obtain a first auditing result.
The first audit result can be understood as an audit result obtained after auditing the data to be audited through the self-defined audit rule in the rule rack package.
Specifically, after the rule frame package is loaded to the data auditing engine, the data to be audited can be audited through the self-defined auditing rule in the rule frame package. And further obtaining an auditing result, namely a first auditing result.
In the embodiment of the present invention, the auditing data to be audited according to the customized audit rule in the rule rack package includes: establishing an access connection relation between the rule shelf package and the data auditing engine by calling a predefined rule realization class interface or a predefined rule abstract class in the rule shelf package; and auditing the data to be audited by calling the predefined self-defined audit rule in the data audit engine based on the access connection relation.
On the basis of the above embodiment, the method further includes: receiving a second auditing result uploaded by the user and used for auditing the data to be audited; and if the first audit result and/or the second audit result are/is an abnormal audit result, generating prompt information for prompting the abnormality of the custom audit rule based on the custom audit rule for auditing the data to be audited, and displaying the prompt information.
The second audit result can be obtained by auditing the data to be audited in a manual audit mode. The abnormal audit result can represent that the audit result obtained after the data to be audited is wrong. The prompt message may be a prompt message generated based on the customized audit rule with the exception, and is used to prompt that the customized audit rule is incorrect.
Specifically, a first audit result uploaded by a user and used for performing data audit on the data to be audited is received. And further determining the first and second checking results, and determining whether the first and/or second checking results are abnormal checking results. If the first audit result and/or the second audit result is an abnormal audit result, a customized audit rule corresponding to the abnormal audit result, that is, a customized audit rule corresponding to the abnormal audit result and used for auditing the to-be-audited data, can be determined. And further generating prompt information for prompting the abnormity of the custom audit rule based on the custom audit rule for auditing the to-be-audited data. After the prompt message is generated, the prompt message can be displayed.
It should be noted that the data to be audited corresponding to the first audit result and the second audit result are the same. In other words, the data to be audited corresponding to the first audit result is the same as the data to be audited corresponding to the second audit result.
On the basis of the above embodiment, the method further includes: modifying the self-defined audit rule to obtain a modified self-defined audit rule which is used as a target audit rule; and replacing the self-defined auditing rule in the rule rack package with the target auditing rule. The target audit rule can be understood as an audit rule obtained by modifying the self-defined audit rule. Correspondingly, the auditing the data to be audited according to the self-defined audit rule in the rule rack package includes: and auditing the data to be audited according to the target auditing rule in the rule rack package.
According to the technical scheme of the embodiment of the invention, the rule rack package used for auditing the data is loaded in the data auditing engine by responding to the data auditing instruction for auditing the data to be audited. In the embodiment of the invention, the auditing rule in the rule frame package can be modified according to the actual data auditing requirement so as to improve the flexibility of data auditing. After the rule frame package is loaded to the data auditing engine, auditing is carried out on data to be audited through the self-defined auditing rule in the rule frame package, and then a first auditing result can be obtained. The technical scheme of the embodiment of the invention solves the technical problems of lower auditing efficiency and lower accuracy rate of the existing data auditing, realizes faster and more accurate auditing of data to be audited, and further improves the efficiency of data auditing.
Example two
Fig. 2 is a schematic structural diagram of a data auditing apparatus according to a second embodiment of the present invention. As shown in fig. 2, the apparatus includes: a rack package loading module 210 and a data auditing module 220.
The shelf package loading module 210 is configured to respond to a data auditing instruction for auditing data to be audited, and load a rule shelf package for auditing the data in a data auditing engine; and the data auditing module 220 is configured to audit the data to be audited according to the customized auditing rule in the rule rack package to obtain a first auditing result.
According to the technical scheme of the embodiment of the invention, the rule rack package used for auditing the data is loaded in the data auditing engine by responding to the data auditing instruction for auditing the data to be audited. In the embodiment of the invention, the auditing rule in the rule frame package can be modified according to the actual data auditing requirement so as to improve the flexibility of data auditing. After the rule frame package is loaded to the data auditing engine, auditing is carried out on data to be audited through the self-defined auditing rule in the rule frame package, and then a first auditing result can be obtained. The technical scheme of the embodiment of the invention solves the technical problems of lower auditing efficiency and lower accuracy rate of the existing data auditing, realizes faster and more accurate auditing of data to be audited, and further improves the efficiency of data auditing.
Optionally, the rack and bag loading module 210 comprises: the system comprises an shelf package storage position determining unit and a shelf package dynamic loading unit, wherein the shelf package storage position determining unit is used for determining the storage position of a shelf package;
the shelf package storage position determining unit is used for acquiring a configuration file of a data auditing engine and determining a storage position for storing a regular shelf package for auditing data based on the configuration file;
and the shelf packet dynamic loading unit is used for acquiring the rule shelf packet from the storage position and introducing the rule shelf packet into the data auditing engine in a dynamic loading mode.
Optionally, the shelf package dynamic loading unit is specifically configured to load the rule shelf package into a preset dependency injection container in a dynamic loading manner, and establish a reference relationship between the rule shelf package and a data auditing engine through the preset dependency injection container; and introducing the rule shelf package into the data auditing engine based on the reference relation.
Optionally, the apparatus further comprises: a rule shelf package obtaining module to:
acquiring a predefined self-defined auditing rule and a predefined rule realization class interface or a predefined rule abstract class;
and packaging the predefined custom audit rule, the predefined rule implementation class interface or the predefined rule abstract class to obtain the rule rack package.
Optionally, the data auditing module 220 is configured to:
establishing an access connection relation between the rule shelf package and the data auditing engine by calling a predefined rule realization class interface or a predefined rule abstract class in the rule shelf package;
and auditing the data to be audited in the data auditing engine by calling the predefined self-defined auditing rule based on the access connection relation.
Optionally, the apparatus further comprises: the prompt message display module is used for:
receiving a second auditing result uploaded by the user and used for auditing the data to be audited;
and if the first audit result and/or the second audit result are/is an abnormal audit result, generating prompt information for prompting the abnormality of the custom audit rule based on the custom audit rule for auditing the data to be audited, and displaying the prompt information.
Optionally, the apparatus further comprises: the auditing rule modification module is used for modifying the self-defined auditing rule to obtain a modified self-defined auditing rule which is used as a target auditing rule; replacing the custom audit rule in the rule rack package with the target audit rule; correspondingly, the data auditing module 220 is configured to audit the data to be audited according to the target auditing rule in the rule rack package.
The data auditing device provided by the embodiment of the invention can execute the data auditing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the data auditing device are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
EXAMPLE III
FIG. 3 illustrates a schematic diagram of an electronic device 10 that may be used to implement an embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 3, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as a data auditing method.
In some embodiments, the data auditing method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the data auditing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the data auditing method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A data auditing method is characterized by comprising the following steps:
in response to a data auditing instruction for auditing the data to be audited, loading a rule rack package for auditing the data in a data auditing engine;
and auditing the data to be audited through the self-defined audit rule in the rule rack package to obtain a first audit result.
2. The method according to claim 1, wherein the loading, in the data auditing engine, a rule rack package for auditing data comprises:
acquiring a configuration file of a data auditing engine, and determining a storage position for storing a rule rack package for auditing data based on the configuration file;
and acquiring the rule frame package from the storage position, and introducing the rule frame package into the data auditing engine in a dynamic loading mode.
3. The method of claim 2, wherein the introducing the rule shelf package into the data auditing engine by means of dynamic loading comprises:
loading the rule frame package into a preset dependence injection container in a dynamic loading mode, and establishing a reference relation between the rule frame package and a data auditing engine through the preset dependence injection container;
and introducing the rule shelf package into the data auditing engine based on the reference relation.
4. The method of claim 1, further comprising:
acquiring a predefined self-defined auditing rule and a predefined rule realization class interface or a predefined rule abstract class;
and packaging the predefined self-defined auditing rule, the predefined rule implementation class interface or the predefined rule abstract class to obtain the rule rack package.
5. The method of claim 4, wherein the auditing the data to be audited according to the custom audit rule in the rule rack package comprises:
establishing an access connection relation between the rule shelf package and the data auditing engine by calling a predefined rule realization class interface or a predefined rule abstract class in the rule shelf package;
and auditing the data to be audited in the data auditing engine by calling the predefined self-defined auditing rule based on the access connection relation.
6. The method of claim 1, further comprising:
receiving a second auditing result uploaded by the user and used for auditing the data to be audited;
and if the first audit result and/or the second audit result are/is an abnormal audit result, generating prompt information for prompting the abnormality of the custom audit rule based on the custom audit rule for auditing the data to be audited, and displaying the prompt information.
7. The method of claim 1, further comprising:
modifying the self-defined audit rule to obtain a modified self-defined audit rule which is used as a target audit rule;
replacing the custom audit rule in the rule rack package with the target audit rule;
the auditing the data to be audited through the self-defined audit rule in the rule rack package comprises the following steps:
and auditing the data to be audited according to the target auditing rule in the rule rack package.
8. A data auditing apparatus, comprising:
the frame package loading module is used for responding to a data auditing instruction for auditing the data to be audited and loading a rule frame package for auditing the data in the data auditing engine;
and the data auditing module is used for auditing the data to be audited through the self-defined auditing rule in the rule frame package to obtain a first auditing result.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform a data auditing method according to any one of claims 1-7.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions for causing a processor to implement the data auditing method of any one of claims 1-7 when executed.
CN202210962441.4A 2022-08-11 2022-08-11 Data auditing method and device, electronic equipment and storage medium Pending CN115309730A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210962441.4A CN115309730A (en) 2022-08-11 2022-08-11 Data auditing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210962441.4A CN115309730A (en) 2022-08-11 2022-08-11 Data auditing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115309730A true CN115309730A (en) 2022-11-08

Family

ID=83861168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210962441.4A Pending CN115309730A (en) 2022-08-11 2022-08-11 Data auditing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115309730A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116861198A (en) * 2023-09-01 2023-10-10 北京瑞莱智慧科技有限公司 Data processing method, device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116861198A (en) * 2023-09-01 2023-10-10 北京瑞莱智慧科技有限公司 Data processing method, device and storage medium

Similar Documents

Publication Publication Date Title
CN115222444A (en) Method, apparatus, device, medium and product for outputting model information
CN114389969A (en) Client test method and device, electronic equipment and storage medium
CN115309730A (en) Data auditing method and device, electronic equipment and storage medium
CN114490126A (en) Page processing method and device, electronic equipment and storage medium
CN114417780A (en) State synchronization method and device, electronic equipment and storage medium
CN113515462A (en) Method, device, equipment and storage medium for testing
CN116545905A (en) Service health detection method and device, electronic equipment and storage medium
CN115269431A (en) Interface testing method and device, electronic equipment and storage medium
CN115408034A (en) Vehicle-mounted controller upgrading method and device, electronic equipment and storage medium
CN114706610A (en) Business flow chart generation method, device, equipment and storage medium
CN114138358A (en) Application program starting optimization method, device, equipment and storage medium
CN113535020A (en) Method, apparatus, device, medium and product for generating application icons
CN115455029A (en) Battery replacement data acquisition method and device, electronic equipment and storage medium
CN114756398A (en) Data processing method, device, equipment and medium
CN117081939A (en) Traffic data processing method, device, equipment and storage medium
CN115202791A (en) Method and device for determining first screen loading resource, server and storage medium
CN115951921A (en) Service processing method, device and storage medium
CN115983222A (en) EasyExcel-based file data reading method, device, equipment and medium
CN115373659A (en) Business system construction method and device, electronic equipment and storage medium
CN114996243A (en) Database operation method and device, electronic equipment and storage medium
CN114461963A (en) Interface access method and device, electronic equipment and storage medium
CN114416040A (en) Page construction method, device, equipment and storage medium
CN114238149A (en) Batch testing method of accounting system, electronic device and storage medium
CN115344801A (en) Method, device, equipment and medium for updating webpage link
CN115629690A (en) Method, device, equipment and storage medium for generating FIO working file

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination