Document processing method and device

Automatically obtain and process version documents through preset configuration files and recursive algorithms, solving the problems of cumbersome and omissions in version documents, achieving efficient and accurate document processing and automated distribution, and improving software testing efficiency and work quality.

CN113505080BActive Publication Date: 2024-12-06INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110855213.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-28
Publication Date
2024-12-06
Estimated Expiration
2041-07-28

AI Technical Summary

Technical Problem

During the version testing of large-scale software systems, in frequently published and complicated version documents, manual search and processing of version documents is cumbersome, boring and easy to miss, affecting the test progress and the stable operation of the production system.

Method used

Preset configuration files and recursive algorithms are used to automatically obtain the target version document, determine the version content based on the application identification, and automatically send it based on the mailbox relationship table between the application and personnel to improve the automation and efficiency of document processing.

Benefits of technology

It improves the accuracy and efficiency of version document processing, saves labor costs, increases the breadth of application scenarios, reduces manual errors and omissions, and improves work quality and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113505080B_ABST
    Figure CN113505080B_ABST
Patent Text Reader

Abstract

The present application provides a document processing method and device, which can be used in the financial field or other fields. The method includes: applying a preset configuration file and a recursive algorithm to obtain a target version document; determining the version content corresponding to the application identifier according to the application identifier in the target version document; and sending the version content to the personnel mailbox corresponding to the application identifier based on a preset application and personnel mailbox relationship table. The present application can improve the automation and efficiency of document processing, and thus improve the efficiency of software testing.
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 document processing method and device. Background Art

[0002] With the vigorous development of financial business, the scale of banking software systems is becoming larger and more complex. Version documents, which are released synchronously with software versions, are released more and more frequently and their contents are becoming more and more complicated. Version documents are an important basis for testing and production work, which directly or indirectly determines the quality of version testing and is related to the success or failure of version production.

[0003] The traditional version document processing method is that version document users (including users of all types and levels) manually search for version documents related to themselves from various file paths of the version document server every day, analyze and use them to complete a series of version-related tasks such as test design, preparation, implementation, verification, and handover to production.

[0004] Due to the large number of version documents and the huge amount of path information, manually searching for relevant content from a large number of version documents every day is not only tedious and boring but also risky. If there are omissions, it will at least affect the progress of version testing work, and at worst cause production problems and affect the safe and stable operation of the production system.

[0005] In the version testing process of large-scale software systems, how to quickly find all version contents of each version document user from the frequently released and complex version documents has always been a pain point that plagues testing work. Summary of the invention

[0006] In view of the problems in the prior art, the present application proposes a document processing method and device, which can improve the automation and efficiency of document processing, and further improve the efficiency of software testing.

[0007] In order to solve the above technical problems, this application provides the following technical solutions:

[0008] In a first aspect, the present application provides a document processing method, comprising:

[0009] Apply the preset configuration file and recursive algorithm to obtain the target version document;

[0010] Determine the version content corresponding to the application identifier according to the application identifier in the target version document;

[0011] Based on the preset application and personnel mailbox relationship table, the version content is sent to the personnel mailbox corresponding to the application identifier.

[0012] Furthermore, the application uses a preset configuration file and a recursive algorithm to obtain a target version document, including:

[0013] Apply a preset configuration file to determine the current latest version number, wherein the preset configuration file includes: version numbers corresponding to each of a plurality of released version packages;

[0014] Scan the file according to the recursive algorithm and the current latest version number to determine whether there is a new version document;

[0015] If there is a newly added version document, the newly added version document is used as the target version document.

[0016] Furthermore, before applying the preset configuration file and the recursive algorithm to obtain the target version document, the method further includes:

[0017] Release the to-be-produced version package of the target version document and upload the target version document.

[0018] Furthermore, the document processing method further includes:

[0019] If there are multiple newly added version documents, one is selected as the target document and a traversal step is performed, the traversal step including: storing the version content corresponding to each application in the target document in a preset archive file;

[0020] Select one of the remaining newly added version documents as the target document, and return to execute the traversal step until all the newly added version documents are traversed;

[0021] Based on a preset application and personnel mailbox relationship table, the version content corresponding to each application in the archive file is sent to the personnel mailbox corresponding to the application.

[0022] Furthermore, the storing of the version content corresponding to each application in the target document in a preset archive file includes:

[0023] If the existing version content of the application corresponding to the target document in the preset archive file is empty, the version content corresponding to the application in the target document is used as the existing version content of the application in the preset archive file and saved.

[0024] Furthermore, the storing of the version content corresponding to each application in the target document in a preset archive file includes:

[0025] If the existing version content of the application corresponding to the target document in the preset archive file is not empty and the incremental version content is empty, the version content corresponding to the application in the target document is used as the incremental version content of the application in the preset archive file and saved.

[0026] Furthermore, the storing of the version content corresponding to each application in the target document in a preset archive file includes:

[0027] If the existing version content of the application corresponding to the target document in the preset archive file is not empty and the incremental version content is not empty, the previous incremental version content is added to the existing version content, and the version content corresponding to the application in the target document is used as the incremental version content of the application in the archive file and saved.

[0028] In a second aspect, the present application provides a document processing device, comprising:

[0029] The acquisition module is used to apply the preset configuration file and recursive algorithm to obtain the target version document;

[0030] A partitioning module, used to determine the version content corresponding to the application identifier according to the application identifier in the target version document;

[0031] The sending module is used to send the version content to the personnel mailbox corresponding to the application identifier based on a preset application and personnel mailbox relationship table.

[0032] In a third aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the document processing method when executing the program.

[0033] In a fourth aspect, the present application provides a computer-readable storage medium having computer instructions stored thereon, which implement the document processing method when the instructions are executed.

[0034] It can be seen from the above technical solution that the present application provides a document processing method and device. The method includes: applying a preset configuration file and a recursive algorithm to obtain a target version document; determining the version content corresponding to the application identifier according to the application identifier in the target version document; based on a preset application and personnel mailbox relationship table, sending the version content to the personnel mailbox corresponding to the application identifier, which can improve the automation and efficiency of document processing, and thus improve the efficiency of software testing; specifically, it can improve the accuracy of version document processing, save labor costs, and increase the breadth of application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] 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 some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 is a first flow chart of the document processing method in an embodiment of the present application;

[0037] Figure 2 is a second flow chart of the document processing method in the embodiment of the present application;

[0038] Figure 3 is a third flow chart of the document processing method in the embodiment of the present application;

[0039] Figure 4 It is a flowchart of a document processing method in an application example of the present application;

[0040] Figure 5 is a schematic diagram of the structure of a document processing device in an embodiment of the present application;

[0041] Figure 6 A schematic block diagram of the system structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0042] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0043] It should be noted that the document processing method and device disclosed in the present application can be used in the field of financial technology, and can also be used in any field other than the field of financial technology. The application field of the document processing method and device disclosed in the present application is not limited.

[0044] The details are described through the following embodiments.

[0045] In order to improve the automation and efficiency of document processing, and thus improve the efficiency of software testing, this embodiment provides a document processing method in which the execution subject is a document processing device, and the document processing device includes but is not limited to a server, such as Figure 1 As shown, the method specifically includes the following contents:

[0046] Step 100: Apply a preset configuration file and a recursive algorithm to obtain a target version document.

[0047] Specifically, the preset configuration file and recursive algorithm can be applied regularly to obtain the target version document; the version document can be a version manual written according to actual conditions, which can be used to explain the version requirements and parameter configuration and adjustment, parameter loading and processing, data migration and other technical processing work that needs to be performed synchronously with the software version. The version document is released synchronously with the software version. Each released version package can correspond to multiple version documents, each version document corresponds to at least one application, and each version document is stored in a different file path in the version document server. The version document server can be the document processing device or an independent server; each version document can contain version content corresponding to at least one application, and the version content of each application is divided by an application identifier; the version content of each application can contain the business logic of the current change of the application, which can be written according to actual conditions; for example, the version content contains: "**Application part starts-parameter table parameters are added by batch provision tools...the local language summary in the detailed list is displayed normally...-**Application part ends".

[0048] The preset configuration file is initially an empty file, and the version document server can be regularly monitored to see whether there is a new version document in the subdirectory that is constantly added. If so, the corresponding version number is recorded in the preset configuration file. The format of the preset configuration file can be as shown in Table 1:

[0049] Table 1

[0050] Version Number 14631-ECOS V1.1.4B16 shutdown version 14641-ECOS V1.1.4P20B test patch version 14647-ECOS V1.1.4P21B test patch version 14656-ECOS V1.1.4P23B test patch version ……

[0051] Step 200: Determine the version content corresponding to the application identifier according to the application identifier in the target version document.

[0052] Specifically, in the version document, the start position and the end position of the version content corresponding to each application may be provided with the application identifier of the application; the application identifier is used to distinguish different applications and may be a string of characters.

[0053] Step 300: Based on a preset application and personnel mailbox relationship table, the version content is sent to the personnel mailbox corresponding to the application identifier.

[0054] Specifically, the preset application and personnel mailbox relationship table may include application identifiers, personnel mailboxes and the corresponding relationship between the two, and may be set according to actual needs.

[0055] To further improve the automation of obtaining version documentation, see Figure 2 In one embodiment of the present application, step 100 includes:

[0056] Step 101: Apply a preset configuration file to determine the current latest version number, wherein the preset configuration file includes: version numbers corresponding to each of a plurality of released version packages.

[0057] Specifically, the version number added to the preset configuration file last time can be used as the current latest version number, and the latest version number can be determined based on the number in the version number, or the preset configuration file can also include the release time of the version package corresponding to each version number, and the version number with the latest release time can be used as the latest version number.

[0058] Step 102: Scan the file according to the recursive algorithm and the current latest version number to determine whether there is a newly added version document.

[0059] Specifically, the version document in the version document server may be scanned to see whether there is a version number corresponding to a version document that is newer than the current latest version number. If so, the version document corresponding to the updated version number is used as a newly added version document.

[0060] Step 103: If there is a newly added version document, the newly added version document is used as the target version document.

[0061] Specifically, the version number corresponding to the target version document may be added to the preset configuration file to facilitate the next file scan.

[0062] In order to further improve the reliability of the configuration file, in one embodiment of the present application, see Figure 3 , before step 100, further comprising:

[0063] Step 010: Release the to-be-produced version package of the target version document and upload the target version document.

[0064] Specifically, the version package may be released irregularly and the version document corresponding to the version package may be uploaded to the version document server.

[0065] In order to further improve the reliability of obtaining the version content, in one embodiment of the present application, after step 102, the following is further included:

[0066] Step 1011: If there are multiple newly added version documents, one is selected as the target document and a traversal step is performed. The traversal step includes: storing the version content corresponding to each application in the target document in a preset archive file.

[0067] Step 1012: Select one from the remaining newly added version documents as the target document, and return to execute the traversal step until all the newly added version documents are traversed.

[0068] Step 1013: Based on the preset application and personnel mailbox relationship table, the version content corresponding to each application in the archive file is sent to the personnel mailbox corresponding to the application.

[0069] In order to further improve the automation and efficiency of document processing, the traversal step may include:

[0070] 1) If the existing version content of the application corresponding to the target document in the preset archive file is empty, the version content corresponding to the application in the target document is used as the existing version content of the application in the preset archive file and saved.

[0071] Specifically, the document path of the target document may be used as the current document path of the application.

[0072] 2) If the existing version content of the application corresponding to the target document in the preset archive file is not empty and the incremental version content is empty, the version content corresponding to the application in the target document is used as the incremental version content of the application in the preset archive file and saved.

[0073] Specifically, the current document path of the application may be replaced with the document path of the target document, and the original current document path of the application may be added to the end of the existing version content.

[0074] 3) If the existing version content of the application corresponding to the target document in the preset archive file is not empty and the incremental version content is not empty, the previous incremental version content is added to the existing version content, and the version content corresponding to the application in the target document is used as the incremental version content of the application in the archive file and saved.

[0075] Specifically, the current document path of the application can be replaced with the document path of the target document, and the original current document path of the application can be added to the end of the existing version content after the original incremental version content is added to the end of the existing version content; the contacts and email addresses corresponding to each application can also be added to the preset archive file according to the preset application and personnel mailbox relationship table; the version content corresponding to each application in the archive file can be sent to the personnel mailbox corresponding to the application. In the email, different versions of the content corresponding to an application can be distinguished by a dividing line, and the current document path of the previous version of the content can be used as the dividing line, for example: "**************** version content dividing line (the above content refers to the version "X:\Version Garden\14857-ECOS V1.1.5P24B test patch version\Host version\Non-separately packaged\Domestic NOVA\Version Document\Product Service-Deposit and Loan Settlement Basic Business Application Group Version Manual (Host Part)_(Technical Description).doc")***********".

[0076] Furthermore, a monthly version cycle may be used, during which version packages and version documents may be continuously released at irregular intervals. In each cycle, the first released version package is the stock program package, and each subsequent released version package is an incremental version package.

[0077] For further explanation of this scheme, see Figure 4 , this application provides an application example of a document processing method, which is specifically described as follows:

[0078] Step 001: Scan and monitor automatically at regular intervals. If a new version document is found, the version document record is registered and stored in the configuration file.

[0079] Specifically, the release of version documents is irregular and continuous, and the version documents are released synchronously with the version packages; the version packages are released on a monthly basis, and the first version package release in each cycle is a stock release, and each subsequent release is an incremental release, and each release synchronously updates the version document record in the configuration file; the version package can be released regularly in each cycle, for example, at 8:00, 12:00, and 16:00 every day. Scheduled automatic scanning and monitoring can be scheduled and automatic every day, such as automatically scanning the newly added subdirectories under the "Version Garden" directory at 8:00, 12:00, and 16:00 every day. If a new version document is found, the version document record in the configuration file is registered and synchronously updated. After each version package is released, if a new version document is found during automatic scanning, the version document record of the configuration file is updated.

[0080] Step 002: Regularly scan the subdirectories that are constantly added in the "version garden" (i.e., version document server) of the server that matches the configuration file, extract multiple newly added version documents based on a recursive algorithm, and generate archive files corresponding to each newly added version document.

[0081] Specifically, the scenario of manually checking the version document server is simulated, and the version documents are automatically collected based on a recursive algorithm, that is, a method of solving the problem by repeatedly decomposing the problem into similar sub-problems to find each version document.

[0082] Step 002 specifically includes:

[0083] Step 021: Based on a recursive algorithm, extract a newly added version document.

[0084] Step 022: According to the start and end marks of each application in the newly added version document marked with special strings (keywords), the wps interface is called to extract the version content according to the start and end marks; according to the application identifier, the document content is parsed and divided by application.

[0085] Specifically, the version content in the version document is preset to be divided into application units; according to the start and end marks of each application in the version document identified by special strings (keywords), the wps interface is called, and the version content of each application in the version document is extracted in sequence according to the start and end marks, and according to each application identifier, the document content is parsed to obtain the version content, and the version content is classified by application.

[0086] Step 023: If the stock version content of the application corresponding to the newly added version document in the archive file is empty, the version content corresponding to the application in the newly added version document is used as the stock version content of the application in the archive file; if the stock version content of the application corresponding to the newly added version document in the archive file is not empty and the incremental version content is empty, the version content corresponding to the application in the newly added version document is used as the incremental version content of the application in the archive file; if the stock version content of the application corresponding to the newly added version document in the archive file is not empty and the incremental version content is not empty, the previous incremental version content is added to the stock version content, and the version content corresponding to the application in the newly added version document is used as the incremental version content of the application in the archive file. When registering, the version path information corresponding to the version document is added to the archive file as a dividing line.

[0087] Specifically, if the version content corresponding to an application is obtained after parsing and classifying the version documents collected in this round, and the incremental version content corresponding to the application in the archive file is not empty, then the previous incremental version content is added to the stock version content corresponding to the application, and the version content of the application obtained by parsing and classifying this round is registered in the incremental version content. The archive file contains the stock version content and the incremental version content of the version document collected in this round. Regardless of the stock version content or the incremental version content, it has its own version path information, which is placed after its version content in the form of a dividing line. The format of the archive file can be shown in Table 2:

[0088] Table 2

[0089]

[0090]

[0091] Step 024: Return to step 021 to step 023 until all newly added versions of documents have completed the registration of archive files.

[0092] Specifically, through recursive scanning control, a loop from step 021 to step 023 is executed until all the newly added version documents are sorted out and registered in the archived documents.

[0093] Step 003: Taking applications as units, emails are sent according to the contact mailboxes of each application configured in the archive file, and the existing version content and incremental version content corresponding to each application in the archive file are automatically sent to the relevant personnel of the application.

[0094] Specifically, taking applications as units, emails are automatically sent according to the contact email addresses of each application configured in the archive file, and the existing version content and incremental version content corresponding to each application are automatically sent to the mailboxes of relevant users at all levels and types for timely use by relevant users. After testing and verification, the newly added version documents and their corresponding version packages will be put into production in the production system according to the production plan.

[0095] From the software level, in order to improve the automation and efficiency of document processing, and thus improve the efficiency of software testing, the present application provides an embodiment of a document processing device for implementing all or part of the content of the document processing method, see Figure 5 , the document processing device specifically includes the following contents:

[0096] The acquisition module 10 is used to apply a preset configuration file and a recursive algorithm to obtain a target version document.

[0097] The division module 20 is used to determine the version content corresponding to the application identifier according to the application identifier in the target version document.

[0098] The sending module 30 is used to send the version content to the personnel mailbox corresponding to the application identifier based on a preset application and personnel mailbox relationship table.

[0099] In one embodiment of the present application, the acquisition module includes:

[0100] The first acquisition unit is used to apply a preset configuration file to determine the current latest version number, wherein the preset configuration file includes: version numbers corresponding to each of a plurality of released version packages.

[0101] The determination unit is used to perform file scanning according to the recursive algorithm and the current latest version number to determine whether there is a newly added version document.

[0102] The second acquisition unit is used to use the newly added version document as the target version document if there is a newly added version document.

[0103] In one embodiment of the present application, the document processing device further includes:

[0104] The publishing module is used to publish the to-be-produced version package of the target version document and upload the target version document.

[0105] In one embodiment of the present application, the document processing device further includes:

[0106] The traversal module is used to select one of the newly added version documents as the target document if there are multiple newly added version documents, and execute the traversal step, which includes: storing the version content corresponding to each application in the target document in a preset archive file.

[0107] The selection module is used to select one of the remaining newly added version documents as the target document, and return to execute the traversal step until all the newly added version documents are traversed.

[0108] The transmission module is used to send the version content corresponding to each application in the archive file to the personnel mailbox corresponding to the application based on the preset application and personnel mailbox relationship table.

[0109] In one embodiment of the present application, the traversal module is used to:

[0110] If the existing version content of the application corresponding to the target document in the preset archive file is empty, the version content corresponding to the application in the target document is used as the existing version content of the application in the preset archive file and saved.

[0111] In one embodiment of the present application, the traversal module is used to:

[0112] If the existing version content of the application corresponding to the target document in the preset archive file is not empty and the incremental version content is empty, the version content corresponding to the application in the target document is used as the incremental version content of the application in the preset archive file and saved.

[0113] In one embodiment of the present application, the traversal module is used to:

[0114] If the existing version content of the application corresponding to the target document in the preset archive file is not empty and the incremental version content is not empty, the previous incremental version content is added to the existing version content, and the version content corresponding to the application in the target document is used as the incremental version content of the application in the archive file and saved.

[0115] The document processing device embodiment provided in this specification can be specifically used to execute the processing flow of the embodiment of the above-mentioned document processing method. Its functions are not described in detail here, and reference can be made to the detailed description of the embodiment of the above-mentioned document processing method.

[0116] From the above description, it can be seen that the document processing method and device provided by this application can improve the automation and efficiency of document processing, and thus improve the efficiency of software testing; it can improve the accuracy of version document processing, save labor costs, and increase the breadth of application scenarios. Specifically, through automatic collection, automatic classification, and automatic distribution, etc., it can liberate all levels and types of users of version documents from the complicated, boring, and time-consuming manual search of version documents, and can solve the work pain points of all levels and types of users of version documents, and can greatly improve work efficiency, improve work quality, and effectively control version testing risks; the advantages of this solution are as follows:

[0117] (1) Manual sorting is transformed into automatic sorting. Regular automatic checking reduces omissions and errors that may occur during manual checking. At the same time, application content that is mistakenly sent to different documents can be accurately identified and sent to the corresponding personnel based on the application identifier, thereby avoiding users at all levels and of all types only checking certain regular version documents and causing actual handover content to be missed, which can improve the accuracy of version document processing.

[0118] (2) It frees users from repetitive, common labor, enables automated data processing, saves labor costs, improves work quality and efficiency, and makes the work mode more optimized and intelligent, with a higher quality level.

[0119] (3) Keyword identification can be performed based on the original document of the standard version, thereby realizing the automatic collection, classification and distribution of the version document. This can be used not only in version documents, but also in similar documents that are frequently used, consulted layer by layer, and in large quantities, which can improve the breadth of application scenarios.

[0120] Figure 6 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention is shown in FIG. Figure 6 As shown, the electronic device may include: a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402 and the memory 403 communicate with each other through the communication bus 404. The processor 401 may call the logic instructions in the memory 403 to execute the following method: receiving a cloud resource task request; according to the cloud resource task request, determining the calling interface of the cloud resource task, so that the third-party cloud platform corresponding to the calling interface executes the cloud resource task corresponding to the cloud resource task request according to the necessary task data.

[0121] In addition, the logic instructions in the above-mentioned memory 403 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0122] The present embodiment discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments, for example, including: applying a preset configuration file and a recursive algorithm to obtain a target version document; determining the version content corresponding to the application identifier according to the application identifier in the target version document; and sending the version content to the personnel mailbox corresponding to the application identifier based on a preset application and personnel mailbox relationship table.

[0123] The present embodiment provides a computer-readable storage medium, which stores a computer program. The computer program enables the computer to execute the methods provided by the above-mentioned method embodiments, for example, including: applying a preset configuration file and a recursive algorithm to obtain a target version document; determining the version content corresponding to the application identifier according to the application identifier in the target version document; and sending the version content to the personnel mailbox corresponding to the application identifier based on a preset application and personnel mailbox relationship table.

[0124] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0125] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0126] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0127] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0128] In the description of this specification, the description with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0129] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A document processing method, characterized in that: include: Apply the preset configuration file and recursive algorithm to obtain the target version document; Determine the version content corresponding to the application identifier according to the application identifier in the target version document; Based on the preset application and personnel mailbox relationship table, the version content is sent to the personnel mailbox corresponding to the application identifier; The application uses a preset configuration file and a recursive algorithm to obtain a target version document, including: Apply a preset configuration file to determine the current latest version number, wherein the preset configuration file includes: version numbers corresponding to each of a plurality of released version packages; Scan the file according to the recursive algorithm and the current latest version number to determine whether there is a newly added version document; If there is a new version document, the new version document is used as the target version document; The document processing method further includes: If there are multiple newly added version documents, one is selected as the target document and a traversal step is performed, the traversal step including: storing the version content corresponding to each application in the target document in a preset archive file; Select one of the remaining newly added version documents as the target document, and return to execute the traversal step until all the newly added version documents are traversed; Based on a preset application and personnel mailbox relationship table, the version content corresponding to each application in the archive file is sent to the personnel mailbox corresponding to the application.

2. The document processing method according to claim 1, characterized in that: Before the preset configuration file and recursive algorithm are applied to obtain the target version document, the following steps are also included: Release the to-be-produced version package of the target version document and upload the target version document.

3. The document processing method according to claim 1, characterized in that: The storing of the version content corresponding to each application in the target document in a preset archive file includes: If the existing version content of the application corresponding to the target document in the preset archive file is empty, the version content corresponding to the application in the target document is used as the existing version content of the application in the preset archive file and saved.

4. The document processing method according to claim 1, characterized in that: The storing of the version content corresponding to each application in the target document in a preset archive file includes: If the existing version content of the application corresponding to the target document in the preset archive file is not empty and the incremental version content is empty, the version content corresponding to the application in the target document is used as the incremental version content of the application in the preset archive file and saved.

5. The document processing method according to claim 1, characterized in that: The storing of the version content corresponding to each application in the target document in a preset archive file includes: If the existing version content of the application corresponding to the target document in the preset archive file is not empty and the incremental version content is not empty, the previous incremental version content is added to the existing version content, and the version content corresponding to the application in the target document is used as the incremental version content of the application in the archive file and saved.

6. A document processing device, characterized in that: include: The acquisition module is used to apply the preset configuration file and recursive algorithm to obtain the target version document; A partitioning module, used to determine the version content corresponding to the application identifier according to the application identifier in the target version document; A sending module, used to send the version content to the personnel mailbox corresponding to the application identifier based on a preset application and personnel mailbox relationship table; The acquisition module comprises: A first acquisition unit is used to apply a preset configuration file to determine the current latest version number, wherein the preset configuration file includes: version numbers corresponding to each of a plurality of released version packages; A determination unit, configured to scan files according to the recursive algorithm and the current latest version number to determine whether there is a newly added version document; A second acquisition unit is used to use the newly added version document as the target version document if there is a newly added version document; The document processing device further comprises: A traversal module is used to select one of the newly added version documents as a target document if there are multiple newly added version documents, and perform a traversal step, the traversal step including: storing the version content corresponding to each application in the target document in a preset archive file; A selection module is used to select one of the remaining newly added version documents as a target document, and return to execute the traversal step until all the newly added version documents are traversed; The transmission module is used to send the version content corresponding to each application in the archive file to the personnel mailbox corresponding to the application based on the preset application and personnel mailbox relationship table.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the document processing method according to any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the instructions are executed, the document processing method according to any one of claims 1 to 5 is implemented.

9. A computer program product, characterized in that The computer program product comprises a computer program stored on a non-transitory computer-readable storage medium, wherein the computer program comprises program instructions. When the program instructions are executed by a computer, the computer implements the document processing method according to any one of claims 1 to 5.