System and method for generating electronic document layout file across internal and external networks in power enterprise
By building an electronic document layout file generation system across internal and external networks, using online data to generate electronic documents and introducing digital certificates and electronic signature technology, the problem of using paper documents between power companies and suppliers is solved, and efficient and safe electronic document processing is achieved.
Patent Information
- Application Number
- CN202411684214.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-02-25
AI Technical Summary
Business cooperation between power companies and suppliers is still mainly based on paper documents, resulting in high labor costs, low efficiency, and risks of errors and tampering.
By building an electronic document layout file generation system across internal and external networks, online data is used to generate electronic document layout files, reducing manual entry and paper document transmission, and introducing digital certificates and electronic signature technology to ensure the security and legality of the documents.
It realizes efficient generation and approval of electronic documents, reduces labor costs and error risks, improves business processing efficiency and security, and reduces the use of paper documents.
Smart Images

Figure CN119514514A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of file generation, and in particular to a system and method for realizing cross-internet and external network electronic document format file generation for electric power enterprises. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] When conducting business cooperation and financial settlement between enterprises, a series of documents need to be provided. The documents need to be reviewed by external suppliers and internal parties. Paper documents need to be scanned and uploaded to the internal system software of each enterprise, and the original documents need to be handed over offline and finally filed together with other vouchers. In this way, labor costs are high, business processing efficiency is low, and the transfer of internal and external voucher information is inconvenient.
[0004] Taking power companies as an example, the cooperation between power companies and suppliers uses external vouchers such as value-added tax invoices as purchase settlement payments. The power companies have gradually completed digital upgrades for processing documents such as value-added tax invoices internally, but business cooperation with suppliers is still mainly based on paper documents. Paper documents need to be filled out manually and then uploaded to the power companies, which is inefficient and prone to errors. Summary of the invention
[0005] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides a system and method for electric power enterprises to realize the generation of electronic document format files across internal and external networks. By building a system platform, establishing an online business process, and using online data to generate electronic document format files, it not only reduces the error risks caused by manual entry and calculation, but also reduces the travel and time costs caused by the offline paper document delivery in each link.
[0006] In order to achieve the above object, the present invention adopts the following technical solution:
[0007] The first aspect of the present invention provides a method for a power enterprise to generate a cross-internet and intranet electronic document format file, comprising the following steps:
[0008] Obtaining basic document information according to contract data, selecting static text and format of a preset document template according to the obtained basic document information, modifying preset global parameters corresponding to the static text and format according to the content of the basic document information, and obtaining a modified document template;
[0009] According to the filled-in document information, assign values to the dynamic parameters in the document template to determine the border, fill color, font size, font name and content of the text area in the document;
[0010] Call the Textobject class provided by the OFDWriter library to create a text object, add the created text object to the OFD document based on the add method, and obtain the generated electronic document layout file.
[0011] The second aspect of the present invention provides a system for a power enterprise to realize the generation of electronic document format files across internal and external networks, including:
[0012] Internal business system, used to accept business processes initiated by the security isolation network gate and push internal business data to the security isolation network gate;
[0013] The security isolation network gate receives electronic documents and invoices pushed from internal and external joint signing systems through the external network processing unit, initiates business processes to the internal business system through the internal network processing unit, and receives internal business data pushed from the internal business system;
[0014] The internal and external joint signing system is used to push electronic documents and invoices to the security isolation network gate, including electronic document components, invoice identification components, electronic signature components and RPA components; the electronic document layout files are generated through the layout file generation component in the electronic document component.
[0015] The generated electronic document format file uses the electronic signature component to execute approval. By calling the electronic seal with set permissions, the digital certificate is injected into the generated electronic document format file to achieve approval and encryption.
[0016] Furthermore, the electronic signature component is used to receive the intention authentication instruction from the client of the approver / unit / company according to the set approval process, to ensure that the electronic signature currently used is authenticated by the approver, or the electronic official seal is authenticated by the legal person or other authorized person.
[0017] Furthermore, the client where the approver / unit / company is located has a digital certificate, and an electronic seal is bound to the digital certificate. Each approver / unit / company calls the electronic seal with set permissions when approving, and injects the digital certificate into the generated electronic document format file to achieve approval and encryption.
[0018] Furthermore, the intention authentication is as follows: the approver / unit / company uses the electronic signature to implement the real-name authentication during the approval process through any one or more forms of face, fingerprint, password or dynamic verification code, and the authentication results are identified and compared by the artificial intelligence platform.
[0019] Furthermore, during the approval process, the approver / unit / company invokes the electronic signature to obtain the preset authentication method of the electronic signature. If the preset authentication method is a dynamic verification code, a verification SMS is sent to the owner of the electronic signature, and the authentication result is determined based on the verification SMS.
[0020] Furthermore, during the approval process, the approver / unit / company uses the electronic signature to obtain the preset authentication method of the electronic signature. If the preset method is face, the camera is called to obtain the dynamic image of the face, and the authentication result is identified and compared through the artificial intelligence platform.
[0021] Furthermore, an isolation chip is provided between the external network processing unit and the internal network processing unit. The isolation chip only allows structured data to be transmitted between the external network processing unit and the internal network processing unit by loading a preset algorithm.
[0022] Furthermore, the invoice recognition component extracts the invoice information through the trained recognition model and pushes the extracted invoice information to the external network processing unit. The internal network processing unit verifies the invoice information based on the generated electronic document data and the pre-saved contract data.
[0023] Furthermore, the RPA component communicates with the national tax invoice verification website and uploads the invoice information extracted by the invoice recognition component to the national tax invoice verification website for invoice verification.
[0024] Compared with the prior art, one or more of the above technical solutions have the following beneficial effects:
[0025] 1. Fill in the basic information of the document according to the pushed contract data. External suppliers only need to fill in the single settlement percentage to automatically generate complete document data to form an electronic document format file. Compared with the commonly used word to generate PDF format files, directly generating OFD format files is less complex in implementation methods and has a smaller file size. It has excellent support for Chinese typesetting and data exchange. It adopts a strict file structure and data encryption mechanism, which can better protect the security of document content and prevent documents from being illegally tampered with or copied.
[0026] 2. Through the coordination and cooperation of various components, the system realizes efficient collaboration among internal and external entities based on digital space, replacing the traditional business model of paper carrier circulation and manual offline approval, reducing cost occupation, and using online collaboration methods to greatly reduce the time cost of each entity and shorten the business processing cycle.
[0027] 3. Achieve safe and efficient connection between external suppliers and internal business processes through a secure isolation gateway; use digital certificates to electronically sign electronic documents to ensure that the signatures and approvals of internal and external entities are authentic and reliable, and to ensure that electronic documents are compliant and legal; through RPA automation technology and business information system research and development iterations, replace manual operations with data-driven, effectively improving the accurate flow of business data and the efficient operation of business processes. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0029] Figure 1 It is a schematic diagram of the architecture of a system for generating electronic document format files across intranets and extranets for a power enterprise provided by one or more embodiments of the present invention;
[0030] Figure 2 It is a schematic diagram of a generated electronic document format file provided by one or more embodiments of the present invention. DETAILED DESCRIPTION
[0031] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0032] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0033] As introduced in the background technology, power companies have gradually completed digital upgrades in the processing of VAT invoices and other documents, but business cooperation with suppliers is still mainly based on paper documents. Paper documents need to be filled out manually and then uploaded to the power company, which has the following defects:
[0034] Paper documents need to be filled out, reviewed and delivered manually, which is not only inefficient and costly, but also has a certain risk of loss and tampering.
[0035] To ensure the security of power grid data, the business systems of power companies are physically isolated from the external Internet. After the online platform is established, external suppliers can access the online platform on the Internet and initiate business documents. Power companies conduct office audits on the intranet, and data interaction between the intranet and the external Internet still requires manual import and export.
[0036] Value-added tax invoices have been gradually digitized, but there are still a certain number of paper invoices. Paper invoices need to undergo information verification to ensure the reliability of the invoice before they can be uploaded to the system within the power company, which is inefficient. If there are errors in the verified paper invoices, they need to be returned to the place of issuance and reissued, resulting in a waste of time.
[0037] When paper invoices are uploaded to the system within the power company, the amount part is prone to be filled in incorrectly. If you want to modify the amount that has been filled in incorrectly, the operation is cumbersome.
[0038] By analyzing the current situation, the following problems need to be solved when the internal system of the enterprise is connected with the external supplier to realize document processing:
[0039] Question 1. How to change paper documents into online electronic documents?
[0040] Question 2: How can we ensure that electronic documents cannot be tampered with?
[0041] Question 3. How to ensure that the actual reviewer is not imitated or replaced?
[0042] Question 4. How to solve the data interaction between the external network platform and the internal network business system?
[0043] Question 5. How can we check the invoice information and verify the authenticity of the invoice when the supplier uploads the invoice?
[0044] Question 6. How to automatically complete business initiation operations based on online electronic invoice and electronic document data to simplify the work of business personnel and improve accuracy?
[0045] Therefore, the following embodiments propose that power companies implement a system and method for generating electronic document format files across internal and external networks. By building a system platform, establishing an online business process, and using online data to generate electronic document format files, it not only reduces the risk of errors caused by manual input calculations, but also reduces the travel and time costs caused by the offline delivery of paper documents in each link; introduces digital certificate and electronic signature technology, and adopts a real-time intention authentication method to ensure that the reviewers in each link perform electronic signatures in real time with their real names, and the generated format files have tamper-proof capabilities; applies a security isolation network gateway to achieve real-time and secure interaction of internal and external network data; develops an OCR recognition component for all types of invoices to obtain important information on the invoice, and applies RPA technology to complete verification in real time; finally, develops an automatic business document creation function in the existing business system to automatically initiate business processes based on invoice information and electronic document information.
[0046] Embodiment 1:
[0047] like Figure 1 As shown in the figure, the power enterprise realizes the cross-internal and external network electronic document format file generation system, including:
[0048] Internal business system, used to accept business processes automatically initiated from the security isolation network gate and push internal business data to the security isolation network gate;
[0049] The security isolation network gate has a dedicated isolation chip, an intranet processing unit, and an extranet processing unit. It is used to receive electronic documents and invoices pushed from internal and external joint signing systems, automatically initiate business processes to the internal business system, and receive internal business data pushed from the internal business system;
[0050] The internal and external joint signing system includes an electronic document component, an invoice recognition component, an electronic signature component and an RPA component; the electronic signature component is used to communicate with the client where the actual approver / unit / company is located, and is used for intention authentication during the approval period, and the RPA component is used to communicate with the national tax verification website to realize invoice verification.
[0051] The above system can achieve the following functions:
[0052] (1) Change the circulation of printed paper documents to online electronic document approval
[0053] The front-end document filling interface is built through mainstream development languages, and the basic document information is automatically filled in according to the contract data pushed by the internal business system. The supplier only needs to fill in the single settlement percentage, and the system can automatically generate complete document data. Through the layout file generation component in the electronic document component, the OFD layout file is generated according to the business standard template, which can be previewed and downloaded at the front desk.
[0054] The OFD layout file generation component is implemented as follows:
[0055] The first step, such as Figure 2 As shown, select static text and format according to the preset template of the business document, for example, convert the fixed clause "Project Name" into a preset global parameter;
[0056] The second step is to assign the data filled in the interface to the dynamic parameters in the template to achieve the relevant settings of text border, fill color, font size, font name and content;
[0057] The third step is to develop a layout document OFD library according to GB / T 33190-2016 Electronic Document Storage and Exchange Format Layout Document. Create a text object through the Textobject class provided by the OFD library. Since the text border, fill color, font size, font name and content have been set in the code of the preset template, use the add method of the ofdDocument object to add the text object to the OFD document.
[0058] Compared with the commonly used word-based PDF layout file generation, the direct generation of OFD layout files is less complex in implementation and has a smaller file size. It has excellent support for Chinese typesetting and data exchange, and uses a strict file structure and data encryption mechanism to better protect the security of document content and prevent documents from being illegally tampered with or copied.
[0059] (2) Develop an electronic signature component based on digital certificate encryption
[0060] Develop approval process engine components to adapt various documents to compliance processes according to business specifications, and automatically match approvers at each stage according to contract data and job roles. Based on the standard approval process, apply for CA digital certificates for each approver and internal and external entities, and bind electronic seals to the digital certificates. Each approver calls the seal with authority during approval, and stamps the electronic seal in the corresponding field in the document OFD layout file. The electronic signature component automatically injects the CA digital certificate into the layout file and generates a digital signature based on the current file hash value. When the layout file is modified or cracked, the hash value changes accordingly, causing the original electronic seal to automatically disappear or display invalid when the digital signature is verified later, thereby achieving anti-tampering capabilities; at the same time, any recognized CA organization can verify the validity of the digital certificate through the digital certificate public key to ensure that the layout file has legal effect.
[0061] (3) Embedding real-time intention authentication function in the electronic signature component
[0062] When approvers at all levels call up the electronic seal, an intention authentication is initiated in real time to the certificate owner corresponding to the electronic seal. Real-name authentication can be completed through face, fingerprint, password or dynamic verification code, ensuring that the electronic signature currently used is authenticated by the person himself, or the electronic official seal is authenticated by the legal person or other authorized person.
[0063] Add the intention authentication configuration and activation function to the electronic signature component. When the approver calls a specific electronic signature on the approval interface, the current electronic signature owner is automatically obtained, and the preset authentication method of the electronic signature is obtained. If the preset authentication method is a dynamic verification code, a verification SMS is sent to the owner. The approver fills in the dynamic verification code on the approval interface and can use the current electronic signature within 3 minutes or other time limits. Re-verification is required after the timeout. If the preset method is face, the camera is called to obtain the face dynamic image, and the comparison result is sent back after recognition and comparison by the artificial intelligence platform. Multiple intention authentication methods can adapt to multiple application scenarios, and real-time intention authentication also further strengthens the legal effect of the formatted document, ensuring that the electronic signature is consistent with the actual operator, and avoiding the legal risks caused by subsequent theft or unauthorized use.
[0064] (4) Application security isolation network gate and internal business system integration
[0065] Due to the need for enterprise information security, core business systems are deployed in the intranet environment and are physically isolated from the external Internet. However, this also prevents suppliers from accessing internal business processes, requiring external business personnel to frequently enter data or import files. By deploying this solution on the Internet, suppliers can log in through websites or mobile applications, and apply a logical security isolation network gate between the internal and external joint signing systems and the internal business system. The security isolation network gate physically cuts off the direct connection between the intranet and the external network, and uses a solid-state switch read-write medium with multiple control functions to connect two independent network systems. This physical isolation ensures that even if one network is attacked, it will not directly affect the other network, thereby achieving secure real-time interaction of business data between the external Internet and the internal information intranet of the enterprise, effectively ensuring the security of the internal information system of the enterprise, and also realizing the return of necessary data such as electronic format files and digital invoice files stamped by suppliers, so that business personnel no longer need to import files and enter data.
[0066] The security isolation network gate is a mature existing technology. The security isolation network gate in this embodiment does not limit the specific hardware structure and software algorithm.
[0067] (5) Develop OCR recognition components and RPA components for all ticket types
[0068] We develop OCR recognition functions and model training for all types of invoices involved in current legal electronic general invoices, electronic special invoices, digital invoices, paper invoices, etc., to achieve real-time information extraction of various invoices. We combine electronic document data and contract data to verify the invoice face information, discover errors or non-compliant information in advance, improve audit efficiency, and avoid risks in advance.
[0069] At the same time, RPA components are developed to automatically fill in the identified invoice element information into the relevant pages of the national tax invoice verification website in sequence, obtain the verification results in real time, and further prevent the risk of counterfeit invoices.
[0070] (6) Iterate and develop internal business systems to add automation functions
[0071] The original internal business system is usually manually initiated by internal business personnel. In the overall system of this solution, the system is iteratively developed to automatically fill in business documents, automatically initiate business processes, and automatically connect electronic files through external invoice information, document settlement information and other data, thereby reducing the cost wasted by manual repeated entry and uploading, improving the level of business process automation, reducing erroneous data, and shortening the business processing cycle.
[0072] This solution aims to build an online collaboration system through digital technology, and to achieve safe and efficient connection between external suppliers and internal business processes through a secure isolation gateway; to electronically sign electronic documents through digital certificates to ensure that the signatures and approvals of internal and external entities are authentic and reliable, and to ensure that electronic documents are compliant and legal; to replace manual operations with data-driven operations through RPA automation technology and business information system research and development iterations, effectively improving the accurate flow of business data and the efficient operation of business processes.
[0073] Through the research and development and integration of a series of technologies, this solution has achieved efficient collaboration among internal and external entities based on digital space, replacing the traditional business model of paper carrier circulation and manual offline approval, saving transportation costs, labor costs, express delivery costs, etc. incurred in business handling. More importantly, online collaboration across geographical locations has greatly reduced the time cost of each entity and shortened the business processing cycle. The use of digital carriers directly reduces paper printing and storage costs, and promotes green and low-carbon economic and social development.
[0074] Embodiment 2:
[0075] The method for generating electronic document format files across internal and external networks by a power enterprise includes the following steps:
[0076] Obtaining basic document information according to contract data, selecting static text and format of a preset document template according to the obtained basic document information, modifying preset global parameters corresponding to the static text and format according to the content of the basic document information, and obtaining a modified document template;
[0077] According to the filled-in document information, assign values to the dynamic parameters in the document template to determine the border, fill color, font size, font name and content of the text area in the document;
[0078] Call the Textobject class provided by the OFDWriter library to create a text object, add the created text object to the OFD document based on the add method, and obtain the generated electronic document layout file.
[0079] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for generating electronic document format files across internal and external networks by a power enterprise, characterized in that: The following steps are involved: Obtaining basic document information according to contract data, selecting static text and format of a preset document template according to the obtained basic document information, modifying preset global parameters corresponding to the static text and format according to the content of the basic document information, and obtaining a modified document template; According to the filled-in document information, assign values to the dynamic parameters in the document template to determine the border, fill color, font size, font name and content of the text area in the document; Call the Textobject class provided by the OFDWriter library to create a text object, add the created text object to the OFD document based on the add method, and obtain the generated electronic document layout file.
2. A system for realizing the method for generating electronic document format files across internal and external networks for electric power enterprises as described in claim 1, comprising: Internal business system, used to accept business processes initiated by the security isolation network gate and push internal business data to the security isolation network gate; The security isolation network gate receives electronic documents and invoices pushed from internal and external joint signing systems through the external network processing unit, initiates business processes to the internal business system through the internal network processing unit, and receives internal business data pushed from the internal business system; The internal and external joint signing system is used to push electronic documents and invoices to the security isolation network gate, including electronic document components, invoice identification components, electronic signature components and RPA components; the electronic document layout files are generated through the layout file generation component in the electronic document component.
3. The system for generating electronic document format files across intranet and extranet networks for electric power enterprises as claimed in claim 2, characterized in that: The electronic signature component is used to receive the intention authentication instruction from the client of the approver / unit / company according to the set approval process, to ensure that the electronic signature currently used is authenticated by the approver, or the electronic official seal is authenticated by the legal person or other authorized person.
4. The system for generating electronic document format files across intranet and extranet networks for electric power enterprises as claimed in claim 3, characterized in that: The client of the approver / unit / company has a digital certificate, and the electronic seal is bound to the digital certificate. Each approver / unit / company calls the electronic seal with set permissions during approval, and injects the digital certificate into the generated electronic document format file to achieve approval and encryption.
5. The system for generating electronic document format files across intranet and extranet networks for electric power enterprises as claimed in claim 2, characterized in that: Intention authentication, specifically: the approver / unit / company uses the electronic signature to implement real-name authentication during the approval process through any one or more forms of face, fingerprint, password or dynamic verification code, and the authentication results are identified and compared by the artificial intelligence platform.
6. The system for generating electronic document format files across intranet and extranet networks for electric power enterprises as claimed in claim 5, characterized in that: When the approver / unit / company uses the electronic signature to implement the approval process, the preset authentication method of the electronic signature is obtained. If the preset authentication method is a dynamic verification code, a verification SMS is sent to the owner of the electronic signature, and the authentication result is determined based on the verification SMS.
7. The system for generating electronic document format files across intranet and extranet networks for electric power enterprises as claimed in claim 5, characterized in that: During the approval process, the approver / unit / company uses the electronic signature to obtain the preset authentication method of the electronic signature. If the preset method is face, the camera is called to obtain the dynamic image of the face, and the authentication result is identified and compared through the artificial intelligence platform.
8. The system for generating electronic document format files across intranet and extranet networks for electric power enterprises as claimed in claim 2, characterized in that: An isolation chip is provided between the external network processing unit and the internal network processing unit. The isolation chip only allows structured data to be transmitted between the external network processing unit and the internal network processing unit by loading a preset algorithm.
9. The system for generating electronic document format files across intranet and extranet networks for electric power enterprises as claimed in claim 2, characterized in that: The invoice recognition component extracts invoice information through the trained recognition model and pushes the extracted invoice information to the external network processing unit. The internal network processing unit verifies the invoice information based on the generated electronic document data and the pre-saved contract data.
10. The system for generating electronic document format files across intranet and extranet networks for electric power enterprises as claimed in claim 2, characterized in that: The RPA component communicates with the national tax invoice verification website and uploads the invoice information extracted by the invoice recognition component to the national tax invoice verification website for invoice verification.