Electronic document processing method and related device, computer storage medium

By encrypting and decrypting electronic document compression packets on a secure file transfer server and analyzing data using the sender's rules, the error problems caused by the differences in integrity and format in electronic document processing are solved, and fast and accurate data transmission and processing are achieved. .

CN112286883BActive Publication Date: 2024-11-01CHINA POWER FINANCE CO LTD +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202011215907.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-04
Publication Date
2024-11-01
Estimated Expiration
2040-11-04

AI Technical Summary

Technical Problem

In the prior art, the processing of electronic documents cannot guarantee integrity, resulting in slow data transmission speed and prone to errors and omissions. Especially because the electronic documents generated by each bank are different in format, it is difficult to accurately determine the missing data during manual reconciliation.

Method used

By encrypting and decrypting electronic document compression packets on the secure file transfer server, verifying their integrity, and using the sender's rules to parse the data in the specified fields, ensuring the integrity and accuracy of the data, and finally distributing the processed documents. to the receiver.

Benefits of technology

It realizes the fast and accurate processing of electronic documents, ensures data integrity, avoids extraction errors or omissions, and improves processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112286883B_ABST
    Figure CN112286883B_ABST
Patent Text Reader

Abstract

The present application provides a method for processing electronic documents and related devices and computer storage media, the method comprising: downloading the electronic document compression package uploaded by the sender from a secure file transfer server; encrypting the electronic document compression package with a specified encryption algorithm and uploading it to the secure file transfer server; using the specified encryption algorithm to verify whether the electronic document compression package is complete; if the electronic document compression package is verified to be complete, then decompressing the electronic document compression package to obtain the electronic document; using the rule of the sender to generate the electronic document, verifying whether the data in the electronic document is complete; if the data in the electronic document is verified to be complete, then using the parsing rule corresponding to the sender to parse the data in the specified field of the electronic document to obtain parsed data; distributing the electronic document to each recipient indicated by the parsed data. A method for the aggregation and concurrency of online electronic documents is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method for processing an electronic document and related devices and computer storage media. Background Art

[0002] A company usually has multiple subsidiaries or multiple branches, so in order to meet business needs, it is usually necessary to register accounts with multiple banks so that transactions can be conducted through multiple banks. When a transaction occurs, each bank will generate an electronic receipt for the transaction and issue it to the corresponding customer.

[0003] Specifically, after completing the daily cut, each bank's system will send the electronic documents directly to the subsidiary corresponding to the account based on the account corresponding to the electronic documents, so that each subsidiary can conduct reconciliation business.

[0004] However, since each bank needs to distribute electronic documents to each subsidiary separately through the system, the speed at which each subsidiary receives the electronic documents is relatively slow, and the reconciliation business cannot be completed in time. In addition, the formats of the electronic documents generated by each bank are different. Therefore, the existing manual reconciliation method cannot accurately determine whether there is data missing in the electronic documents, and it is very easy to get confused when extracting data from electronic documents of different formats, resulting in errors or omissions in the extracted data. Summary of the invention

[0005] Based on the above-mentioned deficiencies of the prior art, the present application provides a method for processing electronic documents and related devices and computer storage media to solve the problem that the processing of electronic documents in the prior art cannot guarantee the integrity of electronic documents and is prone to errors.

[0006] In order to achieve the above objectives, this application provides the following technical solutions:

[0007] The first aspect of the present application provides a method for processing an electronic document, comprising:

[0008] Downloading the electronic document compressed package uploaded by the sender from the secure file transfer server; wherein the electronic document compressed package is encrypted by a specified encryption algorithm and then uploaded to the secure file transfer server;

[0009] Using the specified encryption algorithm to verify whether the electronic document compression package is complete;

[0010] If it is verified that the electronic document compressed package is complete, the electronic document compressed package is decompressed to obtain the electronic document;

[0011] Verifying whether the data in the electronic document is complete by using the rule used by the sender to generate the electronic document;

[0012] If the data in the electronic document is verified to be complete, the data in the designated field in the electronic document is parsed using the parsing rules corresponding to the sender to obtain parsed data;

[0013] The electronic document is distributed to each recipient indicated by the parsed data.

[0014] Optionally, in the above-mentioned method for processing electronic documents, the downloading of the electronic document compressed package uploaded by the sender from the secure file transfer server includes:

[0015] Log into the secure file transfer server corresponding to each sender respectively by using a preset security key at regular intervals;

[0016] Scan the upload file directories in the secure file transfer server corresponding to each of the senders respectively;

[0017] If new file information is found in the uploaded file directory after scanning, the electronic document compressed package corresponding to the new file information is downloaded.

[0018] Optionally, in the above-mentioned method for processing electronic documents, after distributing the electronic documents to the respective recipients indicated by the parsed data, the method further comprises:

[0019] Start the scheduled deletion task to delete the downloaded compressed electronic document package.

[0020] Optionally, in the above-mentioned method for processing electronic documents, after the parsing rule corresponding to the sender is used to parse the data in the designated field of the electronic document to obtain the parsed data, the method further comprises:

[0021] storing the electronic document and the parsed data, and establishing an association relationship between the electronic document and the parsed data;

[0022] The electronic document and the parsed data are added to the data query service for query by the upstream business system.

[0023] Optionally, in the above-mentioned electronic document processing method, it also includes:

[0024] The processing status of the electronic document is monitored in real time, and the processing status of the electronic document is displayed on a user interface.

[0025] A second aspect of the present application provides an electronic document processing device, comprising:

[0026] An acquisition unit is used to download the electronic document compressed package uploaded by the sender from the secure file transmission server; wherein the electronic document compressed package is encrypted by a specified encryption algorithm and then uploaded to the secure file transmission server;

[0027] A first verification unit, used to verify whether the electronic document compression package is complete using the specified encryption algorithm;

[0028] a decompression unit, configured to decompress the electronic document compressed package to obtain an electronic document when the first verification unit verifies that the electronic document compressed package is complete;

[0029] A second verification unit, configured to verify whether the data in the electronic document is complete by using the rule used by the sender to generate the electronic document;

[0030] a parsing unit, configured to parse the data in a specified field in the electronic document using a parsing rule corresponding to the sender to obtain parsed data when the second verification unit verifies that the data in the electronic document is complete;

[0031] A distribution unit is used to distribute the electronic document to each recipient indicated by the parsed data.

[0032] Optionally, in the above-mentioned electronic document processing device, the acquisition unit includes:

[0033] A login unit, used to log in to the secure file transfer server corresponding to each sender respectively by using a preset security key at a fixed time;

[0034] A scanning unit, used to scan the upload file directory in the secure file transfer server corresponding to each sender respectively;

[0035] The downloading unit is used to download the electronic document compression package corresponding to the new file information when the scanning unit scans that new file information is recorded in the uploaded file directory.

[0036] Optionally, the electronic document processing device further includes:

[0037] The deleting unit is used to start a scheduled deletion task to delete the downloaded electronic document compression package.

[0038] Optionally, the electronic document processing device further includes:

[0039] A storage unit, used to store the electronic document and the parsed data, and to establish an association relationship between the electronic document and the parsed data;

[0040] The query unit is used to add the electronic document and the parsed data to the data query service for query by the upstream business system.

[0041] Optionally, the electronic document processing device further includes:

[0042] The monitoring unit is used to monitor the processing status of the electronic document in real time and display the processing status of the electronic document on a user interface.

[0043] A third aspect of the present application provides an electronic device, including:

[0044] Memory and processor;

[0045] Wherein, the memory is used to store programs;

[0046] The processor is used to execute the program, and when the program is executed, it is specifically used to implement the electronic document processing method as described in any one of the above.

[0047] A fourth aspect of the present application provides a computer storage medium for storing a computer program, which, when executed, is used to implement a method for processing an electronic document as described in any one of the above.

[0048] The present application provides a method for processing electronic documents. Each sender encrypts the electronic document compressed package with a specified encryption algorithm and then uploads it to a secure file transfer server, thereby realizing the aggregation of electronic documents. Then, the electronic document compressed package uploaded by the sender is downloaded from the secure file transfer server, and when the electronic document compressed package is verified to be complete by using the specified encryption algorithm, the electronic document compressed package is decompressed to obtain the electronic document, thereby ensuring the security and integrity of the data. Then, the sender further uses the rules for generating electronic documents to verify whether the data in the electronic document is complete, and after verifying that the data in the electronic document is complete, the corresponding parsing rules of the sender are used to parse the data in the specified field of the electronic document to obtain parsed data, and finally the electronic document is distributed to each recipient indicated by the parsed data. Therefore, by uniformly processing the electronic documents, it is accurately verified whether the data is complete, and it also avoids errors or omissions in extracting data, thereby improving the processing efficiency of electronic documents. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0050] Figure 1 A schematic diagram of the structure of a funds settlement system provided in an embodiment of the present application;

[0051] Figure 2 A flowchart of a method for processing an electronic document provided in another embodiment of the present application;

[0052] Figure 3 A flowchart of a method for obtaining a compressed electronic document package provided in another embodiment of the present application;

[0053] Figure 4 A schematic diagram of the structure of an electronic document processing device provided in another embodiment of the present application;

[0054] Figure 5 A schematic diagram of the structure of an acquisition unit provided in another embodiment of the present application;

[0055] Figure 6 A schematic diagram of the structure of an electronic device provided in another embodiment of the present application. DETAILED DESCRIPTION

[0056] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0057] In this application, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0058] The present application provides a method for processing electronic documents to solve the problem that the processing of electronic documents in the prior art cannot ensure the integrity of the electronic documents and is prone to errors.

[0059] Optionally, in order to implement the electronic document processing method provided in the present application, the present application embodiment provides a fund settlement system, such as Figure 1As shown, it includes: multiple secure file transfer servers and a processing subsystem.

[0060] Among them, the secure file transfer server can be a server built based on the secure file transfer protocol (Secret File Transfer Protocol, SFTP). And specifically, a secure file transfer server is built for each sender. For example, a secure file transfer server is built for each bank. Each secure file transfer server can be logged in through a pre-generated corresponding security key. Therefore, it can be provided to the sender as a third party, and the sender logs in to the secure file transfer server through the security key, and uploads the generated electronic document compression package to the secure file transfer server. Of course, this is just one of the optional construction methods, and it can be that only one or several secure file transfer servers are built, and all senders share the one or several secure file transfer servers.

[0061] The processing subsystem is mainly used to obtain electronic documents, and after uniform processing of the electronic documents, distribute them to the corresponding recipients. Specifically, it is used to download the compressed electronic document package uploaded by the sender from the secure file transfer server, and after verifying the integrity of the compressed electronic document package through the specified encryption algorithm, decompress the compressed package to obtain the electronic document. Then, the integrity of the data in the electronic document is verified, and after verifying that the data in the electronic document is complete, the parsing rules corresponding to the sender are used to parse the data in the specified field of the electronic document to obtain the parsed data, and finally the electronic document is distributed to the recipients indicated by the parsed data.

[0062] It should be noted that in the embodiment of the present application, setting up multiple secure file transfer servers and processing subsystems in the same funds settlement system is only one optional method. It is also possible to deploy multiple secure file transfer servers separately, and the funds settlement system only includes a processing subsystem, and then combine multiple secure file transfer servers and funds settlement systems to implement the electronic document processing method provided in this application.

[0063] Based on the funds settlement system provided above, another embodiment of the present application provides a method for processing electronic documents, such as Figure 2 As shown, the specific steps include:

[0064] S201. Download the compressed electronic document package uploaded by the sender from the secure file transfer server. The compressed electronic document package is encrypted using a specified encryption algorithm and then uploaded to the secure file transfer server.

[0065] Specifically, the sender can log in to the secure file transfer server by means of a security key, and then package the daily electronic documents to obtain an electronic document compression package, and use a specified encryption algorithm to encrypt the electronic document compression package, that is, use the specified encryption algorithm to calculate the electronic document compression package to obtain the corresponding calculation value. Specifically, it can be encrypted by a hash algorithm to obtain a hash value. Then, the electronic document compression package and the calculation value calculated by the specified encryption algorithm are uploaded to the secure file transfer server corresponding to the sender, so that the electronic document compression package and the calculation value are securely transmitted to the secure file transfer server through the SFTP protocol. Of course, in addition to the electronic document compression package and the calculation value calculated by the specified confidentiality algorithm, the sender can also upload the file information of the electronic document and its own user information, such as the file name, sender account, etc.

[0066] Similarly, the processing subsystem logs in to the secure file transfer server through the security key, and then downloads the electronic document compressed package uploaded by the sender from the secure file transfer server, and also needs to obtain the calculated value uploaded by the sender corresponding to the electronic document compressed package, as well as other information. Optionally, after downloading the electronic document compressed package from the secure file transfer server, the downloaded data can also be backed up in the secure file transfer server.

[0067] Among them, electronic documents can include one of the receipt and electronic statement, or both. The electronic receipt not only records the detailed information of the customer's payment and collection transactions, but also has a special electronic receipt stamp of the proposal bank, and is marked with a special electronic receipt verification code to ensure the authenticity, reliability, uniqueness and verifiability of the electronic receipt. Electronic statement: a record of account verification in the form of electronic information.

[0068] Alternatively, if Figure 3 FIG. 2 shows a specific implementation of step S201. Figure 3 , specifically including the following steps:

[0069] S301. Log in to the secure file transfer server corresponding to each sender respectively by using a preset security key at regular intervals.

[0070] In the embodiment of the present application, a corresponding secure file transfer server is constructed for each sender, and the processing subsystem periodically logs into the secure file transfer server through the preset security key of each secure file transfer server.

[0071] S302: Scan the upload file directories in the secure file transfer servers corresponding to the senders respectively.

[0072] After the sender uploads the electronic document compressed package to the corresponding secure file transfer server, the secure file transfer server will record the file information of the electronic document compressed package in the uploaded file directory. The file information may include but is not limited to the file name, upload date, etc.

[0073] S303: Determine whether new file information is recorded in the scanned uploaded file directory.

[0074] It should be noted that, for the processing subsystem, new file information refers to file information that did not exist in the last scan, or file information whose corresponding electronic document compressed package has not been downloaded before. If the scan shows that new file information is recorded in the upload file directory, step S304 is executed.

[0075] S304: Download the electronic document compression package corresponding to the new file information.

[0076] S202. Use a specified encryption algorithm to verify whether the electronic document compression package is complete.

[0077] Specifically, the downloaded electronic document compressed package is calculated using the same designated encryption algorithm as that used by the sender to encrypt the electronic document compressed package to obtain a calculated value. Then, the calculated value currently calculated is compared with the calculated value previously calculated by the sender using the designated encryption algorithm to see if they are consistent. If the two are consistent, it means that the electronic document compressed package has not been modified during the transmission process and the electronic document compressed package is complete.

[0078] If the electronic document compression package is verified to be complete, step S203 is executed. Optionally, if the electronic document compression package is verified to be incomplete, the verification result can be fed back to the corresponding sender to prompt the sender to upload the electronic document compression package again.

[0079] S203, decompress the compressed electronic document package to obtain the electronic document.

[0080] S204: Use the rules for generating the electronic document by the sender to verify whether the data in the electronic document is complete.

[0081] Since the data and formats of the electronic documents of each sender may be different, in the embodiment of the present application, the rules for each sender to generate electronic documents are pre-stored, which may specifically include the type of data, data format, and layout contained in the electronic document. When the electronic document is obtained, the rules for generating the electronic document of the sender who uploaded the electronic document are matched, and then the rules for generating the electronic document of the sender are used to verify whether the data in the electronic document is complete.

[0082] If the data in the electronic document is verified to be complete, step S205 is executed. Optionally, if the electronic document is verified to have any missing data, the verification result is fed back to the sender to inform the sender to supplement the missing data and re-upload the electronic document.

[0083] S205. parse the data in the designated field of the electronic document using the parsing rules corresponding to the sender to obtain parsed data.

[0084] Optionally, the parsed data may specifically include information such as the account that generated the recorded transaction, the transaction serial number, the file name, the unit to which the sender belongs, etc.

[0085] Since the formats and fields of the data in the electronic documents generated by each sender are different, it is necessary to use the parsing rules corresponding to the sender to parse the data to obtain the parsed data, which also shields the differences in the data in the electronic documents of each sender.

[0086] Optionally, in another embodiment of the present application, after executing step S205 to parse and obtain the parsed data, the following steps may be further performed: storing the electronic document and the parsed data, establishing an association relationship between the electronic document and the parsed data, and then adding the electronic document and the parsed data to the data query service for query by the upstream business system.

[0087] Optionally, an additional unstructured platform can be set up, so that the "add document" interface of the unstructured platform can be called through a web service (Webservice), and the user name, password, file name, file attachment, affiliated unit and other parsing information can be sent, and then the electronic document can be uploaded to the unstructured platform for storage. The unstructured platform stores the electronic document and the parsed data, and returns the unique file identifier corresponding to the electronic document on the platform, so as to generate a detailed reconciliation table for the user to query later.

[0088] S206. Distribute the electronic document to each recipient indicated by the parsed data.

[0089] Specifically, the recipient holding the account can be determined based on the account in the parsed data, and then the electronic document can be distributed to each recipient holding the account. For example, multiple network provincial companies share one account, and when an electronic document related to the account is received, the electronic document is distributed to these network provincial companies.

[0090] It should be noted that while distributing the electronic document, the parsed data and other data uploaded by the sender may also be sent to the recipient.

[0091] Optionally, after executing step S206 to distribute the electronic document to each recipient indicated by the parsed data, the process may further include: starting a scheduled deletion task to delete the downloaded electronic document compression package.

[0092] Since the electronic documents are distributed to the various recipients indicated by the parsed data, and if the electronic documents are needed later, they can be obtained from the secure file transfer server. Therefore, the distributed electronic documents no longer have any meaning. In order to avoid electronic documents occupying storage space, the downloaded electronic document compression packages are deleted periodically in the embodiment of the present application.

[0093] Optionally, in order to enable the recipient and the sender to understand the processing request of the document in real time, in another embodiment of the present application, the process of processing the electronic document further includes: real-time monitoring of the processing status of the electronic document, and displaying the processing status of the electronic document on the user interface.

[0094] Specifically, the processing status of the electronic document may include the processing status of each process from the last electronic document compression package to the distribution of the electronic document to the final deletion of the electronic document.

[0095] The embodiment of the present application provides a method for processing electronic documents, wherein each sender encrypts the electronic document compressed package with a specified encryption algorithm and then uploads it to a secure file transfer server in a unified manner, thereby realizing the aggregation of electronic documents. Then, the electronic document compressed package uploaded by the sender is downloaded from the secure file transfer server, and when the electronic document compressed package is verified to be complete by using the specified encryption algorithm, the electronic document compressed package is decompressed to obtain the electronic document, thereby ensuring the security and integrity of the data. Then, the sender further uses the rules for generating electronic documents to verify whether the data in the electronic document is complete, and after verifying that the data in the electronic document is complete, the corresponding parsing rules of the sender are used to parse the data in the specified field of the electronic document to obtain parsed data, and finally the electronic document is distributed to each recipient indicated by the parsed data. Thus, by uniformly processing the electronic documents, it is accurately verified whether the data is complete, and it is also avoided to extract data errors or omissions, thereby improving the processing efficiency of electronic documents.

[0096] Another embodiment of the present application provides an electronic document processing device, such as Figure 4 As shown, it specifically includes the following units:

[0097] The acquisition unit 401 is used to download the compressed electronic document package uploaded by the sender from the secure file transfer server.

[0098] The electronic document compression package is encrypted by a specified encryption algorithm and then uploaded to the secure file transfer server.

[0099] The first verification unit 402 is used to verify whether the electronic document compression package is complete by using the specified encryption algorithm.

[0100] The decompression unit 403 is used to decompress the electronic document compression package to obtain the electronic document when the first verification unit 402 verifies that the electronic document compression package is complete.

[0101] A second verification unit 404, configured to verify whether the data in the electronic document is complete by using the rule used by the sender to generate the electronic document;

[0102] A parsing unit 405, configured to parse the data in a specified field in the electronic document using a parsing rule corresponding to the sender to obtain parsed data when the second verification unit 404 verifies that the data in the electronic document is complete;

[0103] The distribution unit 406 is used to distribute the electronic document to each recipient indicated by the parsed data.

[0104] Another embodiment of the present application provides an acquisition unit in an electronic document processing device, such as Figure 5 As shown, it includes the following units:

[0105] The login unit 501 is used to log in to the secure file transfer server corresponding to each sender respectively by using a preset security key at a regular interval.

[0106] The scanning unit 502 is used to scan the upload file directory in the secure file transfer server corresponding to each sender respectively.

[0107] The downloading unit 503 is used to download the electronic document compression package corresponding to the new file information when the scanning unit scans that new file information is recorded in the uploaded file directory.

[0108] In another embodiment of the present application, the electronic document processing device further includes:

[0109] The deleting unit is used to start a scheduled deletion task to delete the downloaded electronic document compression package.

[0110] In another embodiment of the present application, the electronic document processing device further includes:

[0111] The storage unit is used to store the electronic document and the parsed data, and to establish an association relationship between the electronic document and the parsed data.

[0112] The query unit is used to add the electronic document and the parsed data to the data query service for query by the upstream business system.

[0113] In another embodiment of the present application, the electronic document processing device further includes:

[0114] The monitoring unit is used to monitor the processing status of the electronic document in real time and display the processing status of the electronic document on a user interface.

[0115] It should be noted that the specific working process of each unit disclosed in the above embodiments of the present application can refer to the corresponding steps in the above method embodiments, and will not be repeated here.

[0116] The embodiment of the present application provides a device for processing electronic documents, wherein the acquisition unit downloads the electronic document compression package uploaded by the sender from the secure file transfer server. The electronic document compression package is encrypted by a specified encryption algorithm and then uploaded to the secure file transfer server. Then, when the first verification unit verifies that the electronic document compression package is complete using the specified encryption algorithm, the decompression unit decompresses the electronic document compression package to obtain the electronic document, thereby ensuring the security and integrity of the data. Further, the second verification unit verifies whether the data in the electronic document is complete using the rules for generating the electronic document by the sender, and after verifying that the data in the electronic document is complete, the parsing unit parses the data in the specified field in the electronic document using the parsing rules corresponding to the sender to obtain the parsed data, and finally the distribution unit distributes the electronic document to each recipient indicated by the parsed data. Thus, by uniformly processing the electronic documents, it is possible to accurately verify whether the data is complete, avoid errors or omissions in extracting data, and improve the processing efficiency of the electronic documents.

[0117] Another embodiment of the present application provides an electronic device, such as Figure 6 As shown, including:

[0118] Memory 601 and processor 602 .

[0119] The memory 601 is used to store programs; the processor 602 is used to execute programs. When the program is executed, it is specifically used to implement the method for processing electronic documents provided in any of the above embodiments.

[0120] Another embodiment of the present application provides a computer storage medium for storing a computer program. When the computer program is executed, it is used to implement the method for processing an electronic document provided in any of the above embodiments.

[0121] Computer storage media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0122] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0123] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for processing an electronic document, characterized in that: include: Downloading the electronic document compressed package uploaded by the sender from the secure file transfer server, and obtaining the calculated value obtained by encrypting and calculating the electronic document compressed package uploaded by the sender through a hash algorithm; Verifying whether the electronic document compression package is complete by using a specified encryption algorithm includes: using a hash algorithm corresponding to the sender to calculate the currently downloaded electronic document compression package to obtain a calculated value; comparing the currently calculated value with the calculated value obtained from the secure file transfer server to determine whether they are consistent, if the two are consistent, the electronic document compression package has not been modified during the transmission process, and determining that the electronic document compression package is complete; If it is verified that the electronic document compressed package is complete, the electronic document compressed package is decompressed to obtain the electronic document; According to the data type, data format, and layout contained in the electronic document, matching the rule for the sender who uploaded the electronic document to generate the electronic document; using the matched rule for the sender to generate the electronic document, verifying whether the data in the electronic document is complete; If the data in the electronic document is verified to be complete, the data in the designated field of the electronic document is parsed using the parsing rules corresponding to the sender to obtain parsed data; the parsed data at least includes account information of the transaction generating the record, transaction serial number information, file name information and information about the unit to which the sender belongs; The electronic document is distributed to each recipient indicated by the parsed data.

2. The method according to claim 1, characterized in that The downloading of the compressed electronic document package uploaded by the sender from the secure file transfer server includes: Log into the secure file transfer server corresponding to each sender respectively by using a preset security key at regular intervals; Scan the upload file directories in the secure file transfer server corresponding to each of the senders respectively; If new file information is found in the uploaded file directory after scanning, the electronic document compressed package corresponding to the new file information is downloaded.

3. The method according to claim 1, characterized in that After distributing the electronic document to each recipient indicated by the parsed data, the method further includes: Start the scheduled deletion task to delete the downloaded compressed electronic document package.

4. The method according to claim 1, characterized in that: After parsing the data in the designated field of the electronic document using the parsing rule corresponding to the sender to obtain the parsed data, the method further includes: storing the electronic document and the parsed data, and establishing an association relationship between the electronic document and the parsed data; The electronic document and the parsed data are added to the data query service for query by the upstream business system.

5. The method according to claim 1, characterized in that Also includes: The processing status of the electronic document is monitored in real time, and the processing status of the electronic document is displayed on a user interface.

6. An electronic document processing device, characterized in that: include: An acquisition unit, used to download the electronic document compressed package uploaded by the sender from the secure file transfer server, and acquire a calculated value obtained by encrypting and calculating the electronic document compressed package uploaded by the sender through a hash algorithm; A first verification unit is used to verify whether the electronic document compression package is complete by using a specified encryption algorithm, including: using a hash algorithm corresponding to the sender to calculate the currently downloaded electronic document compression package to obtain a calculated value; comparing the currently calculated value with the calculated value obtained from the secure file transfer server to determine whether they are consistent. If the two are consistent, the electronic document compression package has not been modified during the transmission process, and it is determined that the electronic document compression package is complete; a decompression unit, configured to decompress the electronic document compressed package to obtain an electronic document when the first verification unit verifies that the electronic document compressed package is complete; A second verification unit is used to match the rule for generating the electronic document by the sender who uploaded the electronic document according to the data type, data format, and layout contained in the electronic document; and verify whether the data in the electronic document is complete by using the matched rule for generating the electronic document by the sender; a parsing unit, configured to parse the data in a designated field in the electronic document using a parsing rule corresponding to the sender to obtain parsed data when the second verification unit verifies that the data in the electronic document is complete; the parsed data at least includes account information of the transaction generating the record, transaction serial number information, file name information, and information about the unit to which the sender belongs; A distribution unit is used to distribute the electronic document to each recipient indicated by the parsed data.

7. The device according to claim 6, characterized in that The acquisition unit comprises: A login unit, used to log in to the secure file transfer server corresponding to each sender respectively by using a preset security key at a fixed time; A scanning unit, used to scan the upload file directory in the secure file transfer server corresponding to each sender respectively; The downloading unit is used to download the electronic document compression package corresponding to the new file information when the scanning unit scans that new file information is recorded in the uploaded file directory.

8. The device according to claim 6, characterized in that Also includes: A storage unit, used to store the electronic document and the parsed data, and to establish an association relationship between the electronic document and the parsed data; The query unit is used to add the electronic document and the parsed data to the data query service for query by the upstream business system.

9. An electronic device, characterized in that: include: Memory and processor; Wherein, the memory is used to store programs; The processor is used to execute the program, and when the program is executed, it is specifically used to implement the electronic document processing method as described in any one of claims 1 to 5.

10. A computer storage medium, characterized in that: Used to store a computer program, which, when executed, is used to implement the method for processing an electronic document as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Processing devices and methods for transmitting and receiving data

    CN102687472A

  • Data integrity verifying method and system

    CN104868973A

  • Compression method and device and decompression method and device and equipment

    CN106503165A

  • Method for acquiring electronic data

    CN107911359A

  • Compressed file processing method and device, storage medium, terminal and server

    CN111352912A