CN114818645B - 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 PDF

Info

Publication number
CN114818645B
CN114818645B CN202210745176.4A CN202210745176A CN114818645B CN 114818645 B CN114818645 B CN 114818645B CN 202210745176 A CN202210745176 A CN 202210745176A CN 114818645 B CN114818645 B CN 114818645B
Authority
CN
China
Prior art keywords
data
information
field
link
main body
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.)
Active
Application number
CN202210745176.4A
Other languages
Chinese (zh)
Other versions
CN114818645A (en
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.)
Shenzhen Hongtu Technology Co ltd
Original Assignee
Shenzhen Hongtu 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 Shenzhen Hongtu Technology Co ltd filed Critical Shenzhen Hongtu Technology Co ltd
Priority to CN202210745176.4A priority Critical patent/CN114818645B/en
Publication of CN114818645A publication Critical patent/CN114818645A/en
Application granted granted Critical
Publication of CN114818645B publication Critical patent/CN114818645B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (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 data main body filled personal information according to a data identification strategy set in the data identification engine to obtain the 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

Automatic report generation method, device, equipment and medium based on data body
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;
setting a link tracking strategy in a link tracking engine according to the field position information to perform link tracking 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 data main body filling personal information according to a preset data main body filling instruction if the preset data main body filling instruction is received, 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;
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 through an automatic report generating template according to the personal information, the field position information and the field link information.
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 filling personal information according to a preset data main body filling instruction, and identifies 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; 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 this specification 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 position 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 automatic 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 flowchart of an automated report generation method based on 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 simultaneously loaded, after the business system is started, when a user reports data body information in the business system, the sending of a preset data body filling instruction is triggered, the business system acquires personal information of data body filling according to the preset data body filling instruction, and performs 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 manner or a combination of multiple collection manners 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 application, it is assumed that LinkID1 includes NodeID1, nodeID2, nodeID3, nodeID4, nodeID5, nodeID6 and NodeID7, while NodeID4 calls NodeID3, nodeID2 and NodeID6 calls NodeID5 in turn, and the results of the sequential access are NodeID1, nodeID4, nodeID3, nodeID2, nodeID6, nodeID5 and NodeID7. 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 that NodeID1 in LinkID1 includes interface 1, nodeID4 includes interface 4, nodeID3 includes interface 31 and interface 32, nodeID2 includes interface 2, nodeID6 includes interface 61, interface 62 and interface 63, nodeID5 includes interface 5 and NodeID7 includes 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, 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 automatic report to a server so that the server analyzes the automatic 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 data-body-based automated report generation apparatus 300 includes an identification unit 301, an acquisition unit 302, a link tracking unit 303, and a generation 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 generating apparatus 400 includes a unit for performing the above-described data-body-based automated report generating method, and 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 the query result from the 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 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.
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 automated report generation method based on data bodies as 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 embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. 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 stand-alone 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 specific embodiments, it will be understood by those skilled in the art that various changes and modifications may be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
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 (6)

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 personal information filled in the data main body according to the preset data main body filling instruction, and performing multi-mode combination according to a regular expression, keywords and dictionary identification rules of specific types of the personal information defined in a data identification engine to obtain a data identification strategy;
identifying the data main body filled personal information according to the data identification strategy to obtain personal information;
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;
marking the link information in the field position information according to the node defined in the link tracking engine and the link ID;
setting a context calling relationship of the node, and taking the context calling relationship and the link information as 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 through an automatic report generating template according to the personal information, the field position information and the field link information.
2. 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;
uploading the automation report to a server so that the server analyzes the automation report to obtain a data main body field and a data main body field value, and storing the data main body field and the data main body field value to a database;
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.
3. 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 combination unit is used for acquiring personal information filled in by the data main body according to a preset data main body filling instruction if the preset data main body filling instruction is received, and performing multi-mode combination according to a regular expression, keywords and dictionary identification rules of specific types of the personal information defined in the data identification engine to obtain a data identification strategy;
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;
the acquisition subunit is used for acquiring the personal information through one acquisition mode or a combination of multiple 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;
the marking unit is used for marking the link information in the field position information according to the node and the link ID defined in the link tracking engine;
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;
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 through an automatic report generating template according to the personal information, the field position information and the field link information.
4. 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 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;
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 main body field and a data main body field value, and stores the data main body field and the data main body field value to a database;
the device comprises an acquisition unit, a query unit and a query unit, wherein the acquisition unit is used for acquiring query contents according to a preset query instruction if the preset query instruction is received;
and the acquisition and display unit is used for acquiring the query result from the database of the server in an HTTPS/HTTP mode according to the query content and displaying the query result.
5. A computer device, characterized in that the computer device comprises a memory, on which a computer program is stored, and a processor, which when executing the computer program performs the method as claimed in claim 1 or performs the method as claimed in claim 2.
6. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when being executed by a processor, carries out the method as claimed in claim 1 or carries out the method as claimed in claim 2.
CN202210745176.4A 2022-06-29 2022-06-29 Automatic report generation method, device, equipment and medium based on data body Active CN114818645B (en)

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 CN114818645A (en) 2022-07-29
CN114818645B true 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552822A (en) * 2020-04-27 2020-08-18 深圳壹账通智能科技有限公司 User information report generation method based on block chain node communication
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
CN114626352A (en) * 2022-03-11 2022-06-14 平安科技(深圳)有限公司 Report automatic generation method and device, computer equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6516324B1 (en) * 2000-06-01 2003-02-04 Ge Medical Technology Services, Inc. Web-based report functionality and layout for diagnostic imaging decision support
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
CN112346872B (en) * 2020-11-24 2023-09-26 中国工商银行股份有限公司 Cloud computing capacity expansion method and device based on service call link
CN112667630B (en) * 2020-12-24 2023-06-02 平安科技(深圳)有限公司 Method, device, equipment and storage medium for integrating business report
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552822A (en) * 2020-04-27 2020-08-18 深圳壹账通智能科技有限公司 User information report generation method based on block chain node communication
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
CN114626352A (en) * 2022-03-11 2022-06-14 平安科技(深圳)有限公司 Report automatic generation method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114818645A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
CN109474578B (en) Message checking method, device, computer equipment and storage medium
WO2020186786A1 (en) File processing method and apparatus, computer device and storage medium
CN109992601B (en) To-do information pushing method and device and computer equipment
CN110135590B (en) Information processing method, information processing apparatus, information processing medium, and electronic device
CN111475694B (en) Data processing method, device, terminal and storage medium
CN109740129B (en) Report generation method, device and equipment based on blockchain and readable storage medium
CN110956269A (en) Data model generation method, device, equipment and computer storage medium
CN110532107B (en) Interface calling method, device, computer equipment and storage medium
CN111190551B (en) Redis data migration system, migration method, migration device and terminal
CN108415998B (en) Application dependency relationship updating method, terminal, device and storage medium
CN110019444B (en) Operation request processing method, device, equipment and system
CN112671878B (en) Block chain information subscription method, device, server and storage medium
CN112256672B (en) Database change approval method and device
CN117493309A (en) Standard model generation method, device, equipment and storage medium
CN114817340B (en) Data tracing method and device, computer equipment and storage medium
CN114818645B (en) Automatic report generation method, device, equipment and medium based on data body
CN113704114A (en) Automatic testing method, device, equipment and medium for functional interface
CN112631905A (en) Execution process data management method and device, computer equipment and storage medium
CN113626387A (en) Task data export method and device, electronic equipment and storage medium
CN113448985A (en) API (application program interface) interface generation method, calling method and device and electronic equipment
CN115145810A (en) Method, device, equipment, medium and product for obtaining test data
CN117149541A (en) Automated testing method, apparatus, electronic device, and readable storage medium
CN116483849A (en) SQL file updating method and device and electronic equipment
CN116431463A (en) Interface automatic test method and device, storage medium and electronic equipment
CN116737535A (en) Interface test method, device, computer equipment and storage medium

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