Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for generating the report document can be applied to the application environment shown in FIG. 1. The application environment includes a user terminal 110 and a report document generating device 120, where the report document generating device 120 includes a task processing server 122, a cloud server 124, and at least one document processing server 126. The user terminal 110 communicates with the task processing server 122 through a network, and transmits a report document generation request to the task processing server 122. The task processing server 122 processes the report document generation request, and uploads the processed report document generation request to the cloud server 124 through the network. The cloud server 124 obtains the processed report document generation request, generates the processed report document generation request into a task queue, and meanwhile, the cloud server 124 distributes the report document generation request in the task queue according to a first-in first-out principle, so that at least one document processing server 126 continuously obtains the distributed report document generation request. After acquiring the distributed report document generation request, at least one document processing server 126 performs distributed processing on the report document generation request, and finally generates a corresponding report document. The user terminal 110 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the task processing server 122, the cloud server 124, and the document processing server 126 may be implemented by independent servers or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a report document generating method is provided, which is exemplified by the method applied to the document processing server in fig. 1, and includes the following steps:
step 210, obtaining a report document generation request.
The report document refers to a document of a report nature generated by integrating one or more kinds of information disclosed on the internet. In this embodiment, when a user needs a report document, a report document generation request may be sent by the user terminal, so that the document processing server can acquire the report document generation request.
Specifically, when a report document generation request is distributed to the document processing server via the internet, the report document generation request can be acquired by the document processing server. Meanwhile, the document processing server also acquires the information carried in the report document generation request.
Step 220, obtaining the report type corresponding to the report document generation request according to the report document generation request.
The report type refers to a classification mode of the report documents, and according to the classification mode, the report documents containing all the common characteristic information are of the same report type. In the present embodiment, the report types may be various, and thus, the user may request different types of report documents as needed.
Specifically, after the document processing server obtains the report document generation request, the document processing server analyzes the information carried in the report document generation request, where the analyzed information includes a report type corresponding to the report document generation request.
And step 230, acquiring configuration data corresponding to the pre-stored report type according to the report type.
The configuration data refers to data used for generating a report document, and may specifically include process node information and a report template corresponding to a report type. The process node information refers to steps required to be executed in the process of generating the report document, and the report template refers to a fixed typesetting format required in the process of generating the report document.
In the present embodiment, the configuration data is generally stored in the database in advance. The database may be on the document processing server or on another server. Specifically, after the document processing server obtains the report type corresponding to the report document generation request, the configuration data corresponding to the report type may be obtained from the database according to the report type, and further, the process node information and the report template corresponding to the report type in the configuration data are obtained.
And 240, generating a corresponding report document according to the process node information and the report template in the configuration data.
Specifically, the document processing server may perform step-by-step processing on the report template according to the process steps recorded in the process node information, and finally generate a report document corresponding to the report document generation request on the document processing server.
According to the report document generation method, the report type corresponding to the report document generation request is obtained through the report document generation request, the process node information and the report template corresponding to the report type are further obtained through the report type, and finally, the report documents of different types and different process processing steps are flexibly generated according to the obtained process node information and the obtained report template, so that the whole system has strong compatibility.
In one embodiment, as shown in fig. 3, for the example of the method applied to the report document generating device in fig. 1, the method for obtaining the report document generation request further includes the following steps:
step 310, acquiring a report document generation request sent by at least one information platform.
The information platform refers to a webpage or an application program of the user terminal. Specifically, the report document generation request is sent by a certain web page of the user terminal or a data transmission port in a certain application program, and is acquired by the task processing server through network transmission.
And step 320, generating a task queue according to the report document generation request sent by at least one information platform.
The task queue refers to a series of report document generation requests which are acquired by the task processing server and uploaded to the cloud server, and the report document generation requests are arranged one by one according to the sequence and are stored on the cloud server. Specifically, after the task processing server receives a report document generation request sent from at least one information platform, the obtained report document generation request is processed and uploaded to the cloud server through the network, and after the cloud server receives the report document generation request, the report document generation requests are sequenced according to the receiving sequence to generate a task queue.
Step 330, a report document generation request is obtained from the task queue.
Specifically, the cloud server distributes the report document generation requests in the task queue according to a first-in first-out principle, so that at least one document processing server continuously acquires the distributed report document generation requests. And after acquiring the distributed report document generation request, at least one document processing server performs distributed processing on the report document generation request.
According to the method for acquiring the report document generation request, the report document generation request is uploaded to the cloud server to form the task queue, and then the report document generation requests in the task queue are distributed according to a certain sequence, so that at least one document processing server can simultaneously process the report document generation request in a distributed mode, and the computing processing capacity of the system is greatly enhanced.
In one embodiment, the configuration data further includes a list of data interfaces corresponding to the report type. As shown in fig. 4, generating a corresponding report document according to the process node information and the report template includes the following steps:
and step 410, acquiring corresponding data according to the data interface list.
The data interface refers to a group of data transmission protocols between different components in the software system, and the data interface list refers to a set of multiple groups of data interfaces. Specifically, the document processing server may obtain data required in a series of report document generation processes through the data interface list.
And step 420, importing corresponding data according to the report template.
In this embodiment, the data interface list is arranged according to the typesetting order in the report template. That is, a series of data acquired by the document processing server through the data interface list corresponds to information to be filled in the report template one by one, and through the correspondence, the document processing server can import the series of data into the corresponding report template.
Step 430, the corresponding data in the report template is processed to generate a corresponding report document.
Specifically, the document processing server performs a series of processes on the populated data. For example, the document processing server may remove some redundant and display-incorrect data from the report template and then perform font, size, and color conversion on the populated data. The document template after data processing is the generated report document.
The method for generating the report document can be called as an automatic report document generation method, the execution steps of the automatic report document generation method are recorded in the process node information corresponding to the report type, and the system can automatically acquire data and automatically process the data according to the steps recorded in the process node information and generate the corresponding report document. According to the report document automatic generation method, the report document with very standardized content and form can be generated, and meanwhile, the labor is saved.
In one embodiment, the configuration data further includes a list of data interfaces corresponding to the report type. As shown in fig. 5, generating a corresponding report document according to the process node information and the report template includes the following steps:
and step 510, acquiring corresponding data according to the data interface list.
Specifically, the document processing server may obtain data required in a series of report document generation processes through the data interface list.
And step 520, importing corresponding data according to the report template.
In this embodiment, the data interface list is arranged according to the typesetting order in the report template. That is, a series of data acquired by the document processing server through the data interface list corresponds to information to be filled in the report template one by one, and through the correspondence, the document processing server can import the series of data into the corresponding report template.
Step 530, the corresponding data in the report template is processed.
Specifically, the document processing server performs a series of processes on the populated data. For example, the document processing server may remove some redundant and display-incorrect data from the report template and then perform font, size, and color conversion on the populated data.
And 540, editing the processed report template.
Specifically, the document processing server may edit the report template after the data processing. In this embodiment, the editing means that both the report template and the data in the report template can be edited, for example, some unfilled data in the report template can be supplemented, and the filled data can be re-edited or modified; the typesetting format in the report template can be added or deleted, and the typesetting format of the report template can be adjusted by some sizes, colors and line thicknesses.
And step 550, auditing the edited report template to generate a corresponding report document.
Specifically, the document processing server may audit the edited report template. In this embodiment, the review refers to performing a comprehensive review on the report template and the data in the report template, for example, the review needs to perform a review on the correctness and the data format of the data in the report template, and also needs to perform a review on the typesetting format of the report template. And if the audit cannot pass, returning to the edited node again for re-editing, and then, re-auditing the re-edited report document until the audit passes, so that a corresponding report document can be generated.
The method for generating the report document can be called a report document semi-automatic generation method, the execution steps of the report document semi-automatic generation method are also recorded in the process node information corresponding to the report type, and the system can automatically acquire data, automatically process the data, edit and verify the data and generate the corresponding report document only according to the steps recorded in the process node information. The report document with the customized generation content and form higher than the general standard can be generated according to the semi-automatic generation method of the report document.
In one embodiment, as shown in fig. 6, generating a corresponding report document according to the process node information and the report template includes the following steps:
and step 610, acquiring corresponding data according to the report template.
Specifically, the document processing server may fill information that needs to be filled in the report template according to the report template.
And step 620, editing the report template after the corresponding data is acquired.
Specifically, the document processing server may edit the data-populated report template. In this embodiment, editing means that both the report template and the data in the report template can be edited, for example, manual editing may supplement some unfilled data in the report template, and re-edit or modify the filled data; the typesetting format in the report template can be added or deleted, and the typesetting format of the report template can be adjusted by some sizes, colors and line thicknesses.
In step 630, the edited report template is reviewed to generate a corresponding report document.
Specifically, the document processing server may audit the edited report template. In this embodiment, the review refers to performing a comprehensive review on the report template and the data in the report template, for example, the review needs to perform a review on the correctness and the data format of the data in the report template, and also needs to perform a review on the typesetting format of the report template. And if the audit cannot pass, returning to the edited node again for re-editing, and then, re-auditing the re-edited report document until the audit passes, so that a corresponding report document can be generated.
The report document generation method can also be called a report document manual generation method, the execution steps of the report document manual generation method are also recorded in the process node information corresponding to the report type, and the system can edit and audit only according to the steps recorded in the process node information and generate a corresponding report document. The report document with completely customized content and form can be generated according to the manual report document generation method.
In one embodiment, the report document format is further included in the report document generation request, and as shown in fig. 7, the report document generation method further includes the following steps:
step 750, according to the report document format, converting the format of the generated report document.
The document formats refer to special encoding modes of information used by a computer for storing information, and each document format can be identified by one or more extension names, such as a word document, an Excel document and an html document. In the present embodiment, the report document format refers to a document format specified by the user and saved in the report document generation request, and the report document format includes, but is not limited to, a word document, an Excel document, an html document, a pdf document, and a picture document.
Specifically, the document processing server may perform format conversion on the generated report document according to a document format specified by the user, so as to convert the generated report document into the document format specified by the user. For example, if the report document generated by the document processing server is a word document and the report document format specified by the user is a pdf document, the document processing server converts the generated word document into the pdf document and uses the converted pdf document as the final generated document.
The report document generation method can convert the generated report document into any file format according to the actual requirements of the user, and improves the compatibility of the system while meeting the requirements of the user.
In one embodiment, the report document generation request further includes a receiving address of the report document, and as shown in fig. 8, the report document generation method further includes the following steps:
step 850, sending the generated report document to the receiving address.
Wherein the reception address refers to an email address specified by the user saved in the report document generation request. In the present embodiment, this mail address is mainly used for receiving the generated report document. Specifically, after the report document is generated, the document processing server may send the corresponding report document to the receiving address.
Further, the configuration data may further include a mail template corresponding to the report type, where the mail template refers to a mail containing specific information and a specific layout format, and in this embodiment, the specific information includes, but is not limited to, a report name, a report type, a generation date, and a report document itself of the report document. Specifically, the report document generating method may further include sending the generated report document to the receiving address according to the mail template.
The report document generation method can enable the user to receive the generated report document more quickly, and enable the user to view the generated report document more conveniently through the setting of the mail template.
In a specific embodiment, as shown in fig. 9, there is provided a report document generating method including the steps of:
step 910, obtaining a report document generation request sent by at least one information platform.
Specifically, the report document generation request is sent by a certain web page of the user terminal or a data transmission port in a certain application program, and is acquired by the task processing server through network transmission. In this embodiment, the report document may specifically be a business credit report, a hong kong business credit report, or the like.
Step 920, generating a task queue according to a report document generation request sent by at least one information platform.
Specifically, after the task processing server receives a report document generation request sent from at least one information platform, the obtained report document generation request is processed and uploaded to the cloud server through the network, and after the cloud server receives the report document generation request, the report document generation requests are sequenced according to the receiving sequence to generate a task queue.
Step 930, obtaining report document generation request from the task queue.
Specifically, the cloud server distributes the report document generation requests in the task queue according to a first-in first-out principle, so that at least one document processing server continuously acquires the distributed report document generation requests. And after acquiring the distributed report document generation request, at least one document processing server performs distributed processing on the report document generation request.
And 940, acquiring a report type corresponding to the report document generation request according to the report document generation request.
Specifically, the method is applied to a document processing server in fig. 1 as an example. When a document processing server acquires a report document generation request, analyzing information carried in the report document generation request, wherein the analyzed information comprises a report type corresponding to the report document generation request. For example, a business credit report and a hong kong business credit report are two different report types of report documents.
And step 950, acquiring configuration data corresponding to the pre-stored report type according to the report type.
In the present embodiment, the configuration data is generally stored in the database in advance. The database may be on the document processing server or on another server. Specifically, after the document processing server obtains the report type corresponding to the report document generation request, the configuration data corresponding to the report type may be obtained from the database according to the report type, and further, the process node information and the report template corresponding to the report type in the configuration data are obtained.
In the embodiment, the word document is selected as the document format of the report template, and the report document is easier to edit and audit in subsequent processing through the setting.
Step 960, generating a corresponding report document according to the process node information and the report template in the configuration data.
Specifically, the steps in the process node information may be summarized into three different report document generation methods according to the difference in the process node information in the configuration data. Step 961 is an automatic generation method of report document; step 962 is a semi-automatic generation method of report document; step 963 is a manual generation method for the report document. In this embodiment, each report type is executed corresponding to only one method step:
step 961, a corresponding report document is generated by adopting a report document automatic generation method.
In this implementation, the configuration data further includes a data interface list, and specifically, the document processing server may obtain, through the data interface list, a series of data required in the report document generation process, where the data correspond to information to be filled in the report template one to one, and through the correspondence, the document processing server may import the series of data into the corresponding report template. The document processing server then performs a series of processes on the populated data. For example, the document processing server may remove some redundant and display-incorrect data from the report template and then perform font, size, and color conversion on the populated data. The document template after data processing is the generated report document.
And 962, generating a corresponding report document by adopting a report document semi-automatic generation method.
In this implementation, the configuration data further includes a data interface list, and specifically, the document processing server may obtain, through the data interface list, a series of data required in the report document generation process, where the data correspond to information to be filled in the report template one to one, and through the correspondence, the document processing server may import the series of data into the corresponding report template. The document processing server then performs a series of processes on the populated data. For example, the document processing server may remove some redundant and display-incorrect data from the report template and then perform font, size, and color conversion on the populated data. After the data processing, the document processing server may edit the report template and the data in the report template, for example, some unfilled data in the report template may be supplemented, and the data that has been filled may be re-edited or modified; the typesetting format in the report template can be added or deleted, and the typesetting format of the report template can be adjusted by some sizes, colors and line thicknesses. Finally, the document processing server can perform comprehensive examination on the edited report template and the data in the report template. For example, the audit needs to audit the correctness and data format of the data in the report template, and also needs to audit the layout format of the report template. And if the audit cannot pass, returning to the edited node again for re-editing, and then, re-auditing the re-edited report document until the audit passes, so that a corresponding report document can be generated.
And 963, generating a corresponding report document by adopting a report document manual generation method.
Specifically, the document processing server may fill information to be filled in the report template according to the report template, and then, the document processing server may edit the report template and data filled in the report template, for example, some data not filled in the report template may be supplemented, and data already filled in the report template may be re-edited or modified; the typesetting format in the report template can be added or deleted, and the typesetting format of the report template can be adjusted by some sizes, colors and line thicknesses. Finally, the document processing server can perform comprehensive examination on the edited report template and the data in the report template. For example, the audit needs to audit the correctness and data format of the data in the report template, and also needs to audit the layout format of the report template. And if the audit cannot pass, returning to the edited node again for re-editing, and then, re-auditing the re-edited report document until the audit passes, so that a corresponding report document can be generated.
In this embodiment, the report document generation method of steps 961, 962, and 963 is only an abstraction of three specific situations of the process node information, and the process node information may be flexibly changed based on the three methods, referring to fig. 10, a plurality of nodes are usually recorded in the process node information, such as node 1, node 2, and node 3 in fig. 10, and the process node information may also be inserted into other nodes based on the three nodes, all the nodes are recorded in the process node information, and corresponding executable nodes are different for different report document types, and the document processing server only needs to perform step-by-step processing according to the executable nodes recorded in the process node information, and through such an arrangement, the compatibility of the entire system is greatly enhanced.
Step 970, according to the report document format, the format conversion is carried out to the generated report document.
Specifically, the document processing server may perform format conversion on the generated report document according to a document format specified by the user, so as to convert the generated report document into the document format specified by the user. For example, if the report document generated by the document processing server is a word document and the report document format specified by the user is a pdf document, the document processing server converts the generated word document into the pdf document and uses the converted pdf document as the final generated document. In the present embodiment, the report document format includes, but is not limited to, word documents, Excel documents, html documents, pdf documents, and picture documents.
Step 980, the generated report document is sent to the receiving address.
Specifically, after the report document is generated, the document processing server may send the corresponding report document to the receiving address. Further, the configuration data may further include a mail template corresponding to the report type, where the mail template refers to a mail containing specific information and a specific layout format, and in this embodiment, the specific information includes, but is not limited to, a report name, a report type, a generation date, and a report document itself of the report document. Specifically, the report document generating method may further include sending the generated report document to the receiving address according to the mail template.
The report document generating method described above is further described with reference to fig. 1 and 11. In this embodiment, the report document generation device 120 obtains the report document generation requests sent by the web pages and the application programs through the task processing server 122, sorts the obtained report document generation requests in sequence on the cloud server 124 to generate a task queue, and then distributes the report document generation requests in the task queue, so that the report document generation requests in the task queue are processed in a distributed manner on at least one document processing server 126, that is, the report document generation device 120 may process multiple report document generation requests and generate multiple report documents at the same time, such as report document 1, report document 2 … … and report document n in fig. 11, and finally the report document generation device 120 performs format conversion on the generated report documents and sends the generated report documents to the designated receiving addresses. Through the series of processing, the report document generating device can flexibly generate report documents with different formats, different contents and different flow processing steps, so that the whole system has strong compatibility, and meanwhile, the distributed processing also enables the report document generating device to have strong computing processing capacity.
In one embodiment, as shown in FIG. 12, a report document configuration data extension method is provided. Specifically, the report document generating device may further extend the configuration data in the report document automatic generating method, so that the system may extend more types of report documents according to the newly added configuration data, where the configuration data is generally stored in a database, and the database may be on a document processing server or other servers.
Specifically, referring to fig. 12, when a report document of one report type is newly added to the system, a report type may be configured for the newly added report document, then a corresponding process node, a report template, a data interface list and a mail template may be configured for the report type, and finally code conversion is performed to generate configuration data in a standard format, and the configuration data is stored in the database. The report template adopts a word document, so that the report template is convenient to make and modify, and what you see is what you get is; at the same time, subsequent edits to the report document are also visualized. In this embodiment, when there is a report document request corresponding to the new type of report document, the new type of report document may be generated according to the method steps in the above embodiments.
The report document configuration data expanding method can effectively add report documents of different report types to the system, enables the report documents of various types to be processed simultaneously and not to interfere with each other, and further enhances the compatibility and the expansibility of the system.
It should be understood that, although the steps in the flowcharts of fig. 2 to 9 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-9 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 13, there is provided a report document generating apparatus 1300 including: a request obtaining module 1301, an information obtaining module 1302, a data obtaining module 1303 and a report generating module 1304, wherein:
a request obtaining module 1301, configured to obtain a report document generation request;
an information obtaining module 1302, configured to obtain, according to the report document generation request, a report type corresponding to the report document generation request;
a data obtaining module 1303, configured to obtain, according to the report type, configuration data corresponding to the pre-stored report type, where the configuration data includes process node information and a report template corresponding to the report type;
and a report generating module 1304, configured to generate a corresponding report document according to the process node information and the report template.
In one embodiment, the configuration data further comprises a list of data interfaces corresponding to the report type; generating a corresponding report document according to the process node information and the report template, wherein the report document comprises: acquiring corresponding data according to the data interface list; importing corresponding data according to the report template; corresponding data in the report template is processed to generate a corresponding report document.
In one embodiment, the configuration data further comprises a list of data interfaces corresponding to the report type; generating a corresponding report document according to the process node information and the report template, wherein the report document comprises: acquiring corresponding data according to the data interface list; importing corresponding data according to the report template; processing corresponding data in the report template; editing the processed report template; and auditing the edited report template to generate a corresponding report document.
In one embodiment, generating a corresponding report document according to the process node information and the report template includes: acquiring corresponding data according to the report template; editing the report template after acquiring the corresponding data; and auditing the edited report template to generate a corresponding report document.
In one embodiment, the report document format is also included in the report document generation request; the report document generation method further includes: and converting the format of the generated report document according to the format of the report document.
In one embodiment, the report document generation request further includes a receiving address of the report document; the report document generation method further includes: and sending the generated report document to the receiving address.
In one embodiment, obtaining the report document generation request comprises: acquiring a report document generation request sent by at least one information platform; generating a task queue according to a report document generation request sent by at least one information platform; and acquiring a report document generation request from the task queue.
For the specific definition of the report document generation apparatus, the above definition of the report document generation method can be referred to, and details are not repeated here. The respective modules in the report document generating apparatus described above may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 14. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store the generated report document. The network interface of the computer device is used for communicating with an external terminal through a network connection. Which computer program is executed by a processor to carry out the method steps in the embodiments described above.
Those skilled in the art will appreciate that the architecture shown in fig. 14 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the method steps in the embodiments described above when executing the computer program.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring a report document generation request;
acquiring a report type corresponding to the report document generation request according to the report document generation request;
according to the report type, obtaining pre-stored configuration data corresponding to the report type, wherein the configuration data comprises process node information corresponding to the report type and a report template;
and generating a corresponding report document according to the process node information and the report template.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
in this embodiment, the configuration data further includes a data interface list corresponding to the report type; generating a corresponding report document according to the process node information and the report template, wherein the report document comprises: acquiring corresponding data according to the data interface list; importing corresponding data according to the report template; corresponding data in the report template is processed to generate a corresponding report document.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
in this embodiment, the configuration data further includes a data interface list corresponding to the report type; generating a corresponding report document according to the process node information and the report template, wherein the report document comprises: acquiring corresponding data according to the data interface list; importing corresponding data according to the report template; corresponding data in the report template is processed to generate a corresponding report document.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
in this embodiment, generating a corresponding report document according to the process node information and the report template includes: acquiring corresponding data according to the report template; editing the report template after acquiring the corresponding data; and auditing the edited report template to generate a corresponding report document.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the report document generation request also comprises a report document format; the report document generation method further includes: and converting the format of the generated report document according to the format of the report document.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the report document generation request also comprises a receiving address of the report document; the report document generation method further includes: and sending the generated report document to the receiving address.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the acquiring a report document generation request includes: acquiring a report document generation request sent by at least one information platform; generating a task queue according to a report document generation request sent by at least one information platform; and acquiring a report document generation request from the task queue.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a report document generation request;
acquiring a report type corresponding to the report document generation request according to the report document generation request;
according to the report type, obtaining pre-stored configuration data corresponding to the report type, wherein the configuration data comprises process node information corresponding to the report type and a report template;
and generating a corresponding report document according to the process node information and the report template.
In one embodiment, the computer program when executed by the processor further performs the steps of:
in this embodiment, the configuration data further includes a data interface list corresponding to the report type; generating a corresponding report document according to the process node information and the report template, wherein the report document comprises: acquiring corresponding data according to the data interface list; importing corresponding data according to the report template; corresponding data in the report template is processed to generate a corresponding report document.
In one embodiment, the computer program when executed by the processor further performs the steps of:
in this embodiment, the configuration data further includes a data interface list corresponding to the report type; generating a corresponding report document according to the process node information and the report template, wherein the report document comprises: acquiring corresponding data according to the data interface list; importing corresponding data according to the report template; corresponding data in the report template is processed to generate a corresponding report document.
In one embodiment, the computer program when executed by the processor further performs the steps of:
in this embodiment, generating a corresponding report document according to the process node information and the report template includes: acquiring corresponding data according to the report template; editing the report template after acquiring the corresponding data; and auditing the edited report template to generate a corresponding report document.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the report document generation request also comprises a report document format; the report document generation method further includes: and converting the format of the generated report document according to the format of the report document.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the report document generation request also comprises a receiving address of the report document; the report document generation method further includes: and sending the generated report document to the receiving address.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the acquiring a report document generation request includes: acquiring a report document generation request sent by at least one information platform; generating a task queue according to a report document generation request sent by at least one information platform; and acquiring a report document generation request from the task queue.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.