CN114818645A - Automatic report generation method, device, equipment and medium based on data body - Google Patents
Automatic report generation method, device, equipment and medium based on data body Download PDFInfo
- Publication number
- CN114818645A CN114818645A CN202210745176.4A CN202210745176A CN114818645A CN 114818645 A CN114818645 A CN 114818645A CN 202210745176 A CN202210745176 A CN 202210745176A CN 114818645 A CN114818645 A CN 114818645A
- Authority
- CN
- China
- Prior art keywords
- data
- information
- field
- link
- personal information
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses a method, a device, equipment and a medium for generating an automatic report based on a data body. The invention relates to the technical field of data processing, which comprises the following steps: the business system identifies the acquired personal information filled in the data main body according to a data identification strategy set in the data identification engine to obtain personal information; acquiring personal information through a data acquisition strategy set in a data acquisition engine to obtain field position information; according to the field position information, a link tracking strategy is set in a link tracking engine to track the link to obtain field link information; the data report system is used for receiving the personal information, the field position information and the field link information sent by the service system, integrating the personal information, the field position information and the field link information to generate an automatic report, and uploading the automatic report to the server so that the server can analyze and store the automatic report. The embodiment of the application can improve the real-time performance and the accuracy of the generation of the automatic report.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a medium for generating an automated report based on a data body.
Background
In the prior art, an automatic report generated according to personal information is generated only by paying attention to data and generating the report according to preset time, so that on one hand, the problem that enterprises find and locate personal data in time is difficult to meet, even when the personal data problem is found, the traceability of the personal data is poor, namely the accuracy of the automatic report is low; on the other hand, the automatic report cannot be generated in time according to the operations of the user on the personal data, such as operations of deleting the personal data, modifying the personal data, limiting the personal data processing, and acquiring a copy of the personal data, so that the efficiency of generating the automatic report is low.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a medium for generating an automatic report based on a data main body, and aims to solve the problem that the existing automatic report is low in real-time performance and accuracy.
In a first aspect, an embodiment of the present invention provides an automated report generation method based on a data body, which is applied to a business system, and includes:
if a preset data main body filling instruction is received, acquiring data main body filling personal information according to the preset data main body filling instruction, and identifying the data main body filling personal information according to a data identification strategy set in a data identification engine to obtain personal information;
acquiring the personal information through a data acquisition strategy set in a data acquisition engine to obtain field position information;
according to the field position information, a link tracking strategy is set in a link tracking engine to track a link to obtain field link information;
and sending the personal information, the field position information and the field link information to a data reporting system so that the data reporting system generates an automatic report according to the personal information, the field position information and the field link information through an automatic report generating template.
In a second aspect, an embodiment of the present invention provides an automated report generating method based on a data body, which is applied to a data reporting system, and includes:
receiving data main body information uploaded by a service system, wherein the data main body information comprises personal information, field position information and field link information;
extracting nodes with the same link ID from the field link information as target nodes, and sequencing the access sequence of the target nodes according to the context call relation corresponding to the target nodes to obtain access sequencing results;
acquiring interface information of a request and a response according to the field position information, and generating an automatic report through an automatic report generation template according to the interface information, the access sequencing result and the personal information;
and uploading the automation report to a server so that the server analyzes the automation report to obtain a data body field and a data body field value, and storing the data body field and the data body field value to a database.
In a third aspect, an embodiment of the present invention further provides an automatic report generation apparatus based on a data body, which is applied to a business system, and includes:
the identification unit is used for acquiring the personal information of the data main body filling according to a preset data main body filling instruction and identifying the personal information of the data main body filling according to a data identification strategy set in a data identification engine to obtain the personal information if the preset data main body filling instruction is received;
the acquisition unit is used for acquiring the personal information through a data acquisition strategy set in a data acquisition engine to obtain field position information;
the link tracking unit is used for carrying out link tracking through a link tracking strategy set in a link tracking engine according to the field position information to obtain field link information;
and the generating unit is used for sending the personal information, the field position information and the field link information to a data reporting system so that the data reporting system generates an automatic report according to the personal information, the field position information and the field link information through an automatic report generating template.
In a fourth aspect, an embodiment of the present invention further provides an automatic report generation apparatus based on a data body, which is applied to a data reporting system, and includes:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving data main body information uploaded by a service system, and the data main body information comprises personal information, field position information and field link information;
the sequencing unit is used for extracting nodes with the same link ID from the field link information as target nodes, and sequencing the access sequence of the target nodes according to the context calling relationship corresponding to the target nodes to obtain access sequencing results;
the acquisition generating unit is used for acquiring interface information of a request and a response according to the field position information and generating an automatic report through an automatic report generating template according to the interface information, the access sequencing result and the personal information;
and the uploading unit is used for uploading the automation report to a server so that the server analyzes the automation report to obtain a data body field and a data body field value, and stores the data body field and the data body field value to a database.
In a fifth aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the method of the first aspect or the second aspect when executing the computer program.
In a sixth aspect, the present invention further provides a computer-readable storage medium, which stores a computer program, and the computer program can implement the method of the first aspect or the second aspect when executed by a processor.
The embodiment of the invention provides a method, a device, equipment and a medium for generating an automatic report based on a data body. Wherein the method comprises the following steps: the business system acquires data main body filled personal information according to a preset data main body filled instruction, and identifies the data main body filled personal information according to a data identification strategy set in a data identification engine to obtain personal information; acquiring the personal information through a data acquisition strategy set in a data acquisition engine to obtain field position information; according to the field position information, a link tracking strategy is set in a link tracking engine to track a link to obtain field link information; sending the personal information, the field position information and the field link information to a data reporting system; the data report system generates an automatic report by integrating the personal information, the field position information and the field link information, and uploads the automatic report to a server so that the server can analyze and store the automatic report. According to the technical scheme of the embodiment of the invention, in the automatic report generation process, due to the integration of the personal information, the field position information and the field link information, the data is prevented from being considered only, so that the real-time performance and the accuracy of the automatic report generation can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are 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 diagram of a scenario of an automated report generation system based on data subject according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method for generating an automated report based on a data body according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a method for generating an automated report based on a data subject according to another embodiment of the present invention;
FIG. 4 is a schematic block diagram of an automated report generation apparatus based on data subject according to an embodiment of the present invention;
FIG. 5 is a schematic block diagram of an automated report generation apparatus based on data subject according to another embodiment of the present invention; and
fig. 6 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
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 some, not all, embodiments of the present invention. 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 will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Fig. 1 is a schematic view of a scenario of an automated report generation system based on a data body according to an embodiment of the present invention. The automatic report generation system based on the data body comprises a business system, a data report system and a server, wherein the business system is communicated with the data report system so as to upload personal information, field position information and field link information to the data report system, and the data report system generates an automatic report according to the personal information, the field position information and the field link information; and the data report system is communicated with the server and uploads the generated automatic report to the server for storage. It should be noted that, in the embodiment, in the process of generating the automatic report, since the personal information, the field location information, and the field link information are integrated, it is avoided that only the data itself is considered, and thus the real-time performance and the accuracy of generating the automatic report can be improved.
The steps of the automated report generation method based on data body are described in detail below in the perspective of a business system and a data reporting system, respectively.
Fig. 2 is a schematic flow chart of an automated report generation method based on a data body according to an embodiment of the present invention. The method is applied to a service system. The method comprises the following steps S100-S130.
S100, if a preset data main body filling instruction is received, acquiring data main body filling personal information according to the preset data main body filling instruction, and identifying the data main body filling personal information according to a data identification strategy set in a data identification engine to obtain personal information.
In the embodiment of the invention, when a business system is started, a data recognition engine, a data acquisition engine and a link tracking engine are loaded at the same time, after the business system is started, when a user reports data main body information in the business system, the sending of a preset data main body filling instruction is triggered, the business system acquires the personal information filled in by the data main body according to the preset data main body filling instruction, and carries out multi-mode combination according to a regular expression, a keyword and a dictionary recognition rule of specific types of the personal information defined in the data recognition engine to obtain a data recognition strategy; and then, the data main body is identified according to the data identification strategy to obtain personal information. Understandably, regular expressions, keywords and dictionary identification rules of personal information such as identity cards, mobile phone numbers, home addresses, bank account numbers, social security numbers and the like are defined in the data identification engine, and the data identification policy includes one or more identification rules or all identification rules in the identification rules.
And S110, acquiring the personal information through a data acquisition strategy set in a data acquisition engine to obtain field position information.
In the embodiment of the present invention, the data collection policy includes one collection method or a combination of multiple collection methods based on the user identifier, the interface field, and the service configuration. In practical application, the personal information to be acquired needs to be intercepted based on a byte code enhancement technology, and then the intercepted personal information is acquired through the acquisition strategy to obtain field position information, wherein the field position information comprises interface and interface field information such as a mobile phone number, a home address, a bank account number, a social security number and the like.
And S120, carrying out link tracking by setting a link tracking strategy in a link tracking engine according to the field position information to obtain field link information.
In the embodiment of the invention, the link information in the field position information is labeled according to the node and the link ID defined in the link tracking engine, and after the labeling is finished, the context calling relationship of the node is set, wherein the context calling relationship is the parent-child relationship of the node, the path flow direction of information access is represented, and the context calling relationship and the link information are used as the field link information. Understandably, different information access paths may correspond to different link IDs, but the same node may exist on different link IDs. It should be noted that, in the embodiment of the present invention, the link information in the field position information is labeled by a preset link identifier and a preset node identifier, where the preset link identifier is a LinkID + number; the preset node identifier is NodeID + number.
S130, sending the personal information, the field position information and the field link information to a data reporting system, so that the data reporting system generates an automatic report through an automatic report generating template according to the personal information, the field position information and the field link information.
In the embodiment of the invention, after the personal information, the field position information and the field link information are obtained, the personal information, the field position information and the field link information are sent to a data reporting system, so that the data reporting system generates an automatic report through an automatic report generating template according to the received information. Understandably, the personal information, the field position information and the field link information can also be distributed to the data reporting system one by one, which is determined according to the actual situation. The specific process of the data reporting system generating the automated report according to the received personal information, the field position information and the field link information will be described in detail below, and will not be described in detail herein.
Fig. 3 is a flowchart illustrating a method for generating an automated report based on a data body according to another embodiment of the present invention. The method is applied to a data reporting system. The method comprises the following steps S200-S230.
S200, receiving data body information uploaded by a service system, wherein the data body information comprises personal information, field position information and field link information.
In the embodiment of the invention, a data reporting system receives data main body information uploaded by a service system through HTTP/HTTPS, wherein the data main body information comprises personal information, field position information and field link information.
S210, extracting nodes with the same link ID from the field link information as target nodes, and sequencing the access sequence of the target nodes according to the context calling relationship corresponding to the target nodes to obtain access sequencing results.
In the embodiment of the present invention, after the field link information is obtained, a node with the same link ID is extracted from the field link information and used as a target node to obtain a plurality of target node groups, and for each target node group, the target nodes are ordered in an access order according to a context call relationship corresponding to the target node to obtain an access ordering result. In practical applications, it is assumed that LinkID1 includes NodeID1, NodeID2, NodeID3, NodeID4, NodeID5, NodeID6 and NodeID7, while NodeID4 calls NodeID3, NodeID2 and NodeID6 calls NodeID5, and the sequencing results are sequentially visited to NodeID1, NodeID4, NodeID3, NodeID2, NodeID6, NodeID5 and NodeID 7. And analogizing in turn to obtain the access sequencing results of all the link IDs.
S220, acquiring interface information of the request and the response according to the field position information, and generating an automatic report through an automatic report generating template according to the interface information, the access sequencing result and the personal information.
In the embodiment of the invention, after the access sequencing results of all link IDs are obtained, the interface information of the request and the response is obtained according to the field position information, wherein the interface information comprises information such as an interface name, an interface number, an interface input parameter, interface output information and the like. In practical application, the personal information is filled into an automatic report generation template, and then the interface information and the access ranking result corresponding to the personal information are stored in corresponding positions of the template, for example, assuming that the personal information is social security information, and the corresponding interface information and the access ranking result are node id1 in LinkID1 including interface 1, node id4 including interface 4, node id3 including interface 31 and interface 32, node id2 including interface 2, node id6 including interface 61, interface 62 and interface 63, node id5 including interface 5 and node id7 including interface 7, the above information is stored in a column of social security information, and so on until an automatic report is generated, and the automatic report is stored in a preset format, for example, in a csv format. It should be noted that, in the embodiment of the present invention, the automatic report generating template is a template dedicated to generating a data body request report, and the data body request report is an automatic report. It should be further noted that, in the embodiment of the present invention, before the application of the automatic report generation template, the template is also tested through a test case, and the final automatic report generation template is obtained by analyzing a test result and continuously optimizing the template. The automatic report generation module can clearly show all information circulation paths involved in data body filling.
And S230, uploading the automation report to a server so that the server analyzes the automation report to obtain a data body field and a data body field value, and storing the data body field and the data body field value to a database.
In the embodiment of the present invention, the automation report is uploaded to a server, and after receiving the automation report, the server parses the automation report to obtain a data body field and a data body field value, for example, the data body field is an id card, and the data body field value is a corresponding id number, and stores the data body field and the data body field value in a database. When a user inquires the contents of the automatic report through an inquiry interface of the data report system, the inquiry contents can be obtained according to a preset inquiry instruction, inquiry results are obtained from a database of the server through an HTTPS/HTTP mode according to the inquiry contents, and the inquiry results are displayed for the user to check. In addition, in the embodiment of the present invention, the content of the automation report is also saved in the server, so that the loss of the content of the automation report can be prevented, and a backup function can be performed.
Fig. 4 is a schematic block diagram of an automated report generation apparatus 300 based on data body according to an embodiment of the present invention. As shown in fig. 4, the present invention also provides an automatic report generating device 300 based on data body, corresponding to the above automatic report generating method based on data body. The data-body-based automated report generation apparatus 300 includes means for performing the above-described data-body-based automated report generation method, and may be configured in a business system. Specifically, referring to fig. 4, the automated report generating apparatus 300 based on data body includes an identifying unit 301, an acquiring unit 302, a link tracking unit 303, and a generating unit 304.
The identification unit 301 is configured to, if a preset data main body filling instruction is received, obtain data main body filling personal information according to the preset data main body filling instruction, and identify the data main body filling personal information according to a data identification policy set in a data identification engine to obtain personal information; the acquisition unit 302 is configured to acquire the personal information through a data acquisition policy set in a data acquisition engine to obtain field location information; the link tracking unit 303 is configured to perform link tracking through a link tracking policy set in a link tracking engine according to the field location information to obtain field link information; the generating unit 304 is configured to send the personal information, the field position information, and the field link information to a data reporting system, so that the data reporting system generates an automated report according to the personal information, the field position information, and the field link information through an automated report generating template.
In some embodiments, such as the present embodiment, the identification unit 301 includes a combination unit and an identification subunit.
The combination unit is used for carrying out multi-mode combination on the recognition rules according to regular expressions, keywords and dictionary recognition rules of specific types of personal information defined in the data recognition engine to obtain a data recognition strategy; and the identification subunit is used for identifying the personal information filled in the data main body according to the data identification strategy to obtain the personal information.
In some embodiments, such as the present embodiment, the acquisition unit 302 includes an acquisition subunit.
The acquisition subunit is configured to acquire the personal information by using one or a combination of multiple acquisition modes defined in the data acquisition engine and based on the user identifier, the interface field, and the service configuration, so as to obtain field position information.
In some embodiments, such as the present embodiment, the link tracking unit 303 includes a labeling unit and a setting unit.
The marking unit is used for marking the link information in the field position information according to the node defined in the link tracking engine and the link ID; the setting unit is used for setting the context calling relationship of the node and taking the context calling relationship and the link information as field link information.
Fig. 5 is a schematic block diagram of an automated report generation apparatus 400 based on data body according to an embodiment of the present invention. As shown in fig. 5, the present invention also provides an automatic report generating device 400 based on data body, corresponding to the above automatic report generating method based on data body. The data-body-based automated report generation apparatus 400, which includes means for performing the above-described data-body-based automated report generation method, may be configured in a data reporting system. Specifically, referring to fig. 5, the data-body-based automated report generating apparatus 400 includes a receiving unit 401, a sorting unit 402, an obtaining generating unit 403, and an uploading unit 404.
The receiving unit 401 is configured to receive data body information uploaded by a service system, where the data body information includes personal information, field location information, and field link information; the sorting unit 402 is configured to extract nodes with the same link ID from the field link information as target nodes, and sort access orders of the target nodes according to context call relationships corresponding to the target nodes to obtain access sorting results; the acquiring and generating unit 403 is configured to acquire interface information of a request and a response according to the field position information, and generate an automated report through an automated report generating template according to the interface information, the access sorting result, and the personal information; the uploading unit 404 is configured to upload the automation report to a server, so that the server parses the automation report to obtain a data body field and a data body field value, and stores the data body field and the data body field value in a database.
In certain embodiments, such as this embodiment, the device 400 also includes an acquisition unit and an acquisition presentation unit.
The acquisition unit is used for acquiring query contents according to a preset query instruction if the preset query instruction is received; the acquisition and display unit is used for acquiring a query result from a database of the server in an HTTPS/HTTP mode according to the query content and displaying the query result.
The above-described automated report generation based on data body and automated report generation based on data body may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 6.
Referring to fig. 6, fig. 6 is a schematic block diagram of a computer device according to an embodiment of the present invention. The computer device 900 is a business system or a data reporting system.
Referring to fig. 6, the computer device 900 includes a processor 902, memory, and a network interface 905 connected by a system bus 901, where the memory may include a storage medium 903 and an internal memory 904.
The storage medium 903 may store an operating system 9031 and a computer program 9032. The computer program 9032 when executed may cause the processor 902 to perform a method for automated report generation based on a data body.
The processor 902 is used to provide computing and control capabilities to support the operation of the overall computer device 900.
The internal memory 904 provides an environment for the execution of a computer program 9032 in the storage medium 903, which computer program 9032, when executed by the processor 902, causes the processor 902 to perform a method for automated report generation based on a data body.
The network interface 905 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 6 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing device 900 to which aspects of the present invention may be applied, and that a particular computing device 900 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 902 is configured to run a computer program 9032 stored in the memory to implement the following steps: if a preset data main body filling instruction is received, acquiring data main body filling personal information according to the preset data main body filling instruction, and identifying the data main body filling personal information according to a data identification strategy set in a data identification engine to obtain personal information; acquiring the personal information through a data acquisition strategy set in a data acquisition engine to obtain field position information; according to the field position information, a link tracking strategy is set in a link tracking engine to track a link to obtain field link information; and sending the personal information, the field position information and the field link information to a data reporting system so that the data reporting system generates an automatic report according to the personal information, the field position information and the field link information through an automatic report generating template.
In some embodiments, for example, in this embodiment, when implementing the step of identifying the personal information obtained by filling the personal information in the data main body according to the data identification policy set in the data identification engine, the processor 902 specifically implements the following steps: according to a regular expression, keywords and dictionary identification rules of specific types of personal information defined in a data identification engine, performing multi-mode combination on the identification rules to obtain a data identification strategy; and identifying the data main body filled personal information according to the data identification strategy to obtain the personal information.
In some embodiments, for example, in this embodiment, when the processor 902 implements the step of acquiring the personal information by using the data acquisition policy set in the data acquisition engine to obtain the field position information, the following steps are implemented: and acquiring the personal information through one acquisition mode or a combination of multiple acquisition modes defined in a data acquisition engine and based on user identification, an interface field and service configuration to obtain field position information.
In some embodiments, for example, in this embodiment, when implementing the step of obtaining the field link information by performing link tracking through setting a link tracking policy in the link tracking engine according to the field position information, the processor 902 specifically implements the following steps: marking the link information in the field position information according to the node defined in the link tracking engine and the link ID; setting the context calling relationship of the node, and taking the context calling relationship and the link information as field link information.
Wherein the processor 902 is configured to run a computer program 9032 stored in the memory to implement the following steps: receiving data main body information uploaded by a service system, wherein the data main body information comprises personal information, field position information and field link information; extracting nodes with the same link ID from the field link information as target nodes, and sequencing the access sequence of the target nodes according to the context call relation corresponding to the target nodes to obtain access sequencing results; acquiring interface information of a request and a response according to the field position information, and generating an automatic report through an automatic report generation template according to the interface information, the access sequencing result and the personal information; and uploading the automation report to a server so that the server analyzes the automation report to obtain a data body field and a data body field value, and storing the data body field and the data body field value to a database.
In some embodiments, for example, in this embodiment, after the processor 902 implements the steps of uploading the automation report to the server, so that the server parses the automation report to obtain the data body field and the data body field value, and stores the data body field and the data body field value in the database, the implementation further includes the following steps: if a preset query instruction is received, acquiring query content according to the preset query instruction; and acquiring a query result from a database of the server in an HTTPS/HTTP mode according to the query content, and displaying the query result.
It should be understood that, in the embodiment of the present invention, the Processor 902 may be a Central Processing Unit (CPU), and the Processor 902 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. The computer program, when executed by a processor, causes the processor to perform any of the embodiments of the data-body-based automated report generation method described above.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, while the invention has been described with respect to the above-described embodiments, it will be understood that the invention is not limited thereto but may be embodied with various modifications and changes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. An automatic report generation method based on data body is applied to a business system, and is characterized by comprising the following steps:
if a preset data main body filling instruction is received, acquiring data main body filling personal information according to the preset data main body filling instruction, and identifying the data main body filling personal information according to a data identification strategy set in a data identification engine to obtain personal information;
acquiring the personal information through a data acquisition strategy set in a data acquisition engine to obtain field position information;
according to the field position information, a link tracking strategy is set in a link tracking engine to track a link to obtain field link information;
and sending the personal information, the field position information and the field link information to a data reporting system so that the data reporting system generates an automatic report according to the personal information, the field position information and the field link information through an automatic report generating template.
2. The method according to claim 1, wherein the identifying the data body filled personal information according to the data identification policy set in the data identification engine to obtain the personal information comprises:
performing multi-mode combination according to a regular expression, keywords and dictionary identification rules of specific types of personal information defined in a data identification engine to obtain a data identification strategy;
and identifying the data main body filled personal information according to the data identification strategy to obtain the personal information.
3. The method of claim 1, wherein collecting the personal information through a data collection policy set in a data collection engine obtains field location information, comprising:
and acquiring the personal information through one acquisition mode or a combination of a plurality of acquisition modes defined in the data acquisition engine and based on the user identification, the interface field and the service configuration to obtain field position information.
4. The method according to claim 1, wherein the obtaining of the field link information through link tracing by setting a link tracing policy in a link tracing engine according to the field location information comprises:
marking the link information in the field position information according to the node defined in the link tracking engine and the link ID;
setting the context calling relationship of the node, and taking the context calling relationship and the link information as field link information.
5. An automatic report generation method based on data body is applied to a data report system, and is characterized by comprising the following steps:
receiving data main body information uploaded by a service system, wherein the data main body information comprises personal information, field position information and field link information;
extracting nodes with the same link ID from the field link information as target nodes, and sequencing the access sequence of the target nodes according to the context call relation corresponding to the target nodes to obtain access sequencing results;
acquiring interface information of a request and a response according to the field position information, and generating an automatic report through an automatic report generation template according to the interface information, the access sequencing result and the personal information;
and uploading the automation report to a server so that the server analyzes the automation report to obtain a data body field and a data body field value, and storing the data body field and the data body field value to a database.
6. The method of claim 5, further comprising:
if a preset query instruction is received, acquiring query content according to the preset query instruction;
and acquiring a query result from a database of the server in an HTTPS/HTTP mode according to the query content, and displaying the query result.
7. An automatic report generating device based on data body, which is applied to a business system and is characterized in that,
the method comprises the following steps:
the identification unit is used for acquiring the personal information of the data main body filling according to a preset data main body filling instruction and identifying the personal information of the data main body filling according to a data identification strategy set in a data identification engine to obtain the personal information if the preset data main body filling instruction is received;
the acquisition unit is used for acquiring the personal information through a data acquisition strategy set in a data acquisition engine to obtain field position information;
the link tracking unit is used for carrying out link tracking through a link tracking strategy set in a link tracking engine according to the field position information to obtain field link information;
and the generating unit is used for sending the personal information, the field position information and the field link information to a data reporting system so that the data reporting system generates an automatic report according to the personal information, the field position information and the field link information through an automatic report generating template.
8. An automatic report generating device based on data body is applied to a data report system, and is characterized by comprising:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving data main body information uploaded by a service system, and the data main body information comprises personal information, field position information and field link information;
the sequencing unit is used for extracting nodes with the same link ID from the field link information as target nodes, and sequencing the access sequence of the target nodes according to the context calling relationship corresponding to the target nodes to obtain access sequencing results;
the acquisition and generation unit is used for acquiring interface information of a request and a response according to the field position information and generating an automatic report through an automatic report generation template according to the interface information, the access sequencing result and the personal information;
and the uploading unit is used for uploading the automation report to a server so that the server analyzes the automation report to obtain a data body field and a data body field value, and stores the data body field and the data body field value to a database.
9. A computer arrangement, characterized in that the computer arrangement comprises a memory, on which a computer program is stored, and a processor, which when executing the computer program implements the method according to any of claims 1-4 or performs the method according to any of claims 5-6.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, may implement the method of any of claims 1-4 or perform the method of any of claims 5-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210745176.4A CN114818645B (en) | 2022-06-29 | 2022-06-29 | Automatic report generation method, device, equipment and medium based on data body |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210745176.4A CN114818645B (en) | 2022-06-29 | 2022-06-29 | Automatic report generation method, device, equipment and medium based on data body |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114818645A true CN114818645A (en) | 2022-07-29 |
CN114818645B CN114818645B (en) | 2022-10-28 |
Family
ID=82522827
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210745176.4A Active CN114818645B (en) | 2022-06-29 | 2022-06-29 | Automatic report generation method, device, equipment and medium based on data body |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114818645B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10126570A1 (en) * | 2000-06-01 | 2001-12-06 | Ge Medical Tech Serv | Web-based report functionality and design for diagnostic imaging decision support e.g. for health care equipment, provides value for first report content parameter by selecting from list via interaction with GUI |
CN104408068A (en) * | 2014-10-29 | 2015-03-11 | 中国建设银行股份有限公司 | Report form data processing method and related equipment |
CN110262870A (en) * | 2019-05-15 | 2019-09-20 | 平安科技(深圳)有限公司 | Utilize method, apparatus, computer equipment and the storage medium of dump document alignment exception |
CN111552822A (en) * | 2020-04-27 | 2020-08-18 | 深圳壹账通智能科技有限公司 | User information report generation method based on block chain node communication |
CN112346872A (en) * | 2020-11-24 | 2021-02-09 | 中国工商银行股份有限公司 | Cloud computing capacity expansion method and device based on service call link |
CN112667630A (en) * | 2020-12-24 | 2021-04-16 | 平安科技(深圳)有限公司 | Method, device, equipment and storage medium for integrating business report |
CN112863506A (en) * | 2020-12-30 | 2021-05-28 | 平安普惠企业管理有限公司 | Service information acquisition method and device, computer equipment and readable storage medium |
CN112882699A (en) * | 2021-02-09 | 2021-06-01 | 成都新希望金融信息有限公司 | Business processing method, device, equipment and medium based on process configuration engine |
CN113067886A (en) * | 2021-03-30 | 2021-07-02 | 深圳红途创程科技有限公司 | Database three-layer correlation auditing method and device, computer equipment and storage medium |
CN114185708A (en) * | 2021-12-15 | 2022-03-15 | 中国农业银行股份有限公司 | Data analysis method and device based on distributed link tracking and electronic equipment |
CN114297713A (en) * | 2021-12-29 | 2022-04-08 | 深圳红途科技有限公司 | Private data acquisition and comparison method and device, computer equipment and storage medium |
CN114626352A (en) * | 2022-03-11 | 2022-06-14 | 平安科技(深圳)有限公司 | Report automatic generation method and device, computer equipment and storage medium |
-
2022
- 2022-06-29 CN CN202210745176.4A patent/CN114818645B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10126570A1 (en) * | 2000-06-01 | 2001-12-06 | Ge Medical Tech Serv | Web-based report functionality and design for diagnostic imaging decision support e.g. for health care equipment, provides value for first report content parameter by selecting from list via interaction with GUI |
CN104408068A (en) * | 2014-10-29 | 2015-03-11 | 中国建设银行股份有限公司 | Report form data processing method and related equipment |
CN110262870A (en) * | 2019-05-15 | 2019-09-20 | 平安科技(深圳)有限公司 | Utilize method, apparatus, computer equipment and the storage medium of dump document alignment exception |
CN111552822A (en) * | 2020-04-27 | 2020-08-18 | 深圳壹账通智能科技有限公司 | User information report generation method based on block chain node communication |
CN112346872A (en) * | 2020-11-24 | 2021-02-09 | 中国工商银行股份有限公司 | Cloud computing capacity expansion method and device based on service call link |
CN112667630A (en) * | 2020-12-24 | 2021-04-16 | 平安科技(深圳)有限公司 | Method, device, equipment and storage medium for integrating business report |
CN112863506A (en) * | 2020-12-30 | 2021-05-28 | 平安普惠企业管理有限公司 | Service information acquisition method and device, computer equipment and readable storage medium |
CN112882699A (en) * | 2021-02-09 | 2021-06-01 | 成都新希望金融信息有限公司 | Business processing method, device, equipment and medium based on process configuration engine |
CN113067886A (en) * | 2021-03-30 | 2021-07-02 | 深圳红途创程科技有限公司 | Database three-layer correlation auditing method and device, computer equipment and storage medium |
CN114185708A (en) * | 2021-12-15 | 2022-03-15 | 中国农业银行股份有限公司 | Data analysis method and device based on distributed link tracking and electronic equipment |
CN114297713A (en) * | 2021-12-29 | 2022-04-08 | 深圳红途科技有限公司 | Private data acquisition and comparison method and device, computer equipment and storage medium |
CN114626352A (en) * | 2022-03-11 | 2022-06-14 | 平安科技(深圳)有限公司 | Report automatic generation method and device, computer equipment and storage medium |
Non-Patent Citations (4)
Title |
---|
FISCHER MICHAEL 等: "Analyzing and relating bug report data for feature tracking", 《WCRE》 * |
HUI SIU CHEUNG 等: "A web-based intelligent fault diagnosis system for customer service support", 《ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE》 * |
尤存钎: "基于BS结构的动态办公表格***的设计与实现", 《计算机时代》 * |
程栋: "基于BI的数据中心报表***的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Also Published As
Publication number | Publication date |
---|---|
CN114818645B (en) | 2022-10-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109474578B (en) | Message checking method, device, computer equipment and storage medium | |
CN108427705B (en) | Electronic device, distributed system log query method and storage medium | |
CN107453960B (en) | Method, device and system for processing test data in service test | |
CN110135590B (en) | Information processing method, information processing apparatus, information processing medium, and electronic device | |
CN109740129B (en) | Report generation method, device and equipment based on blockchain and readable storage medium | |
CN113360519B (en) | Data processing method, device, equipment and storage medium | |
CN110956269A (en) | Data model generation method, device, equipment and computer storage medium | |
CN110580189A (en) | method and device for generating front-end page, computer equipment and storage medium | |
CN111475694A (en) | Data processing method, device, terminal and storage medium | |
CN108564462A (en) | Acquisition methods, terminal device and the medium of collage-credit data | |
CN114817340B (en) | Data tracing method and device, computer equipment and storage medium | |
CN115827084A (en) | Data processing method, device, equipment and storage medium | |
CN112671878B (en) | Block chain information subscription method, device, server and storage medium | |
CN114116801A (en) | Data list checking method and device | |
CN112256672B (en) | Database change approval method and device | |
CN113377791A (en) | Data processing method, system and computing equipment | |
CN114818645B (en) | Automatic report generation method, device, equipment and medium based on data body | |
CN116303320A (en) | Real-time task management method, device, equipment and medium based on log file | |
CN113704114A (en) | Automatic testing method, device, equipment and medium for functional interface | |
CN113626387A (en) | Task data export method and device, electronic equipment and storage medium | |
CN114372479A (en) | Text recognition method and device, electronic equipment and computer readable storage medium | |
CN112597119A (en) | Method and device for generating processing log and storage medium | |
CN112612817A (en) | Data processing method and device, terminal equipment and computer readable storage medium | |
CN114547184A (en) | Personnel information synchronization method, terminal device and storage medium | |
CN111143377A (en) | Automatic driving simulation data collection method, device and system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |