A process of checking a document, a method, device and storage medium
By automating the document review process and using preset keywords and version numbers for traversal checks, the problem of low efficiency in manual review is solved, enabling fast and accurate document review and improving the work efficiency of engineers.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-16
- Publication Date
- 2026-03-27
AI Technical Summary
In existing technologies, the review of process approval documents relies on manual work, which leads to low efficiency, a high risk of errors, and is time-consuming, affecting the development progress of the circuit board.
An automated inspection method is adopted. By obtaining document inspection instructions, the file name is traversed and inspected using preset keywords and version numbers. The inspection results and information on additions and omissions are obtained and displayed on the human-computer interaction interface, thereby realizing the automated inspection of process review documents.
It improved the efficiency of reviewing process documents, saved manual time and costs, quickly identified and resolved problems, and improved the efficiency of drawing output.
Smart Images

Figure CN115454799B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of hardware development, and in particular relates to a process audit document checking method and device, equipment and a computer readable storage medium. BACKGROUND
[0002] In the engineering field, for hardware development, board card development is essential, and as the board card development process matures, a series of audit documents are introduced in each stage of development to ensure the integrity of the board card development process and the correctness of the board card design.
[0003] The board card development process audit document covers the main business activities and deliverable checks in the development process, and integrates the lessons and experience summary of the previous project, aiming to remind and supervise everyone to check during the development process and before the drawing is completed, and to control the design and delivery quality. The process audit document of each stage of the board card development involves content that needs to be checked and corrected by HWE (Hardware Engineer).
[0004] In the prior art, the checking method of the process audit document is only completed by manual work, and each development stage needs to be checked, and the number of documents is large, and the version number needs to be checked for important documents. When the hardware engineer is responsible for multiple board card tasks, the checking is not only time-consuming and laborious, but also prone to errors, and the work efficiency is low, and the audit cannot be passed at one time, and serious errors may even cause the drawing progress to be delayed, causing rework and even re-printing problems, wasting unnecessary time.
[0005] Therefore, how to automatically check the process audit document, save the time cost caused by manual tedious checking, and improve the efficiency of the engineer checking the process audit document is a problem that needs to be solved at present. SUMMARY
[0006] The purpose of the present application is to provide a process audit document checking method, device, equipment and computer readable storage medium, to realize the automatic checking of the integrity of the process audit document, save the time cost caused by manual tedious checking, and improve the efficiency of the engineer checking the process audit document.
[0007] To solve the above technical problems, the present application provides a process audit document checking method, comprising:
[0008] Obtaining a document checking instruction;
[0009] Extracting the file name of the document in the folder to be checked corresponding to the document checking instruction; wherein the folder to be checked stores process audit documents;
[0010] According to the preset keyword and the preset version number, the file name is traversed and checked, and check results and increase and omission information corresponding to each check item are obtained; wherein, the increase and omission information includes an increase and omission version number, and the increase and omission version number includes an added version number or a missed version number.
[0011] Optionally, after the traversing and checking of the file name according to the preset keyword and the preset version number, and the obtaining of the check results and the increase and omission information corresponding to each check item, the method further includes:
[0012] The check results and the increase and omission information are displayed in a preset human-computer interaction interface.
[0013] Optionally, the displaying of the check results and the increase and omission information in the preset human-computer interaction interface includes:
[0014] The check results are displayed in a result column corresponding to each check item in the preset human-computer interaction interface;
[0015] The increase and omission file names in the increase and omission information are displayed in an increase and omission file name column corresponding to each check item in the preset human-computer interaction interface; wherein, the increase and omission file names include added file names or missed file names;
[0016] The increase and omission version numbers are displayed in an increase and omission version number column corresponding to each check item in the preset human-computer interaction interface.
[0017] Optionally, the obtaining of the document checking instruction includes:
[0018] After receiving a click instruction of a checking button in a preset human-computer interaction interface, the document checking instruction is generated according to folder information selected and imported in the preset human-computer interaction interface.
[0019] Optionally, before the generating of the document checking instruction according to the folder information selected and imported in the preset human-computer interaction interface, the method further includes:
[0020] According to a file decompression instruction, a python installation package is decompressed to obtain a python folder;
[0021] According to a start instruction of a python script executable file in the python folder, the python script executable file is started and run, and the preset human-computer interaction interface is entered.
[0022] Optionally, the extracting of the file names of the documents in the folder to be checked corresponding to the document checking instruction includes:
[0023] The file names of the documents in the folder to be checked are extracted by using an operating system library of Python;
[0024] The file name is stored into an Excel file by using an Excel reading library and an Excel writing library of Python.
[0025] Optionally, the file name is checked according to the preset keyword and the preset version number, and checking results and missing information corresponding to each checking item are obtained, including:
[0026] According to the keyword corresponding to the current checking item in the preset keyword, the target file name corresponding to the current checking item in the file name is obtained;
[0027] It is judged whether the version number of the target file name includes all preset version numbers corresponding to the current checking item;
[0028] If yes, it is determined that the checking result corresponding to the current checking item is passed, and when a first target version number is included in the version number of the target file name except the preset version number corresponding to the current checking item, the first target version number is determined as the new version number;
[0029] If no, it is determined that the checking result corresponding to the current checking item is failed, and a second target version number in the preset version number corresponding to the current checking item except the version number of the target file name is determined as the missing version number.
[0030] The application further provides a checking device for process auditing documents, comprising:
[0031] An acquisition module is configured to acquire a document checking instruction.
[0032] An extraction module is configured to extract a file name of a document in a to-be-checked folder corresponding to the document checking instruction, wherein the to-be-checked folder stores process auditing documents.
[0033] A checking module is configured to check the file name according to a preset keyword and a preset version number, and obtain checking results and missing information corresponding to each checking item, wherein the missing information includes a missing version number, and the missing version number includes a new version number or a missing version number.
[0034] The application further provides a checking device for process auditing documents, comprising:
[0035] A memory is configured to store a computer program.
[0036] A processor is configured to execute the computer program to realize steps of the checking method for process auditing documents.
[0037] In addition, the application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the steps of the flow audit document checking method.
[0038] The flow audit document checking method provided by the application comprises the following steps: obtaining a document checking instruction; extracting a file name of a document in a to-be-checked folder corresponding to the document checking instruction; wherein the to-be-checked folder stores flow audit documents; performing traversal checking on the file name according to a preset keyword and a preset version number, to obtain checking results corresponding to each checking item and addition / omission information; wherein the addition / omission information comprises an addition / omission version number, and the addition / omission version number comprises an added version number or a missed version number.
[0039] It can be seen that, by performing traversal checking on the file name according to the preset keyword and the preset version number, the checking results corresponding to each checking item and the addition / omission information are obtained, so that the completeness of the flow audit document of the board card development can be automatically checked conveniently and quickly, the time cost caused by the tedious manual checking is saved, and the efficiency of the engineers in checking the flow audit document is improved; and the version number of the added or missed important document is checked, so that the engineers can more quickly find and solve problems, the efficiency of drawing is improved, and the process time is saved. In addition, the application further provides a flow audit document checking device, equipment and computer readable storage medium, which also have the above beneficial effects. BRIEF DESCRIPTION OF DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description only belong to the embodiments of the application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of the provided drawings.
[0041] Figure 1 A flow chart of the flow audit document checking method provided by the embodiment of the application;
[0042] Figure 2 A display diagram of a preset human-computer interaction interface of another flow audit document checking method provided by the embodiment of the application;
[0043] Figure 3 A directory display diagram of a tool folder of another flow audit document checking method provided by the embodiment of the application;
[0044] Figure 4 A directory display diagram of a disk folder of another flow audit document checking method provided by the embodiment of the application;
[0045] Figure 5 A python code flow schematic diagram of another flow auditing document checking method provided by the embodiment of the present application;
[0046] Figure 6 A flow schematic diagram of another flow auditing document checking method provided by the embodiment of the present application;
[0047] Figure 7 A structural block diagram of a flow auditing document checking device provided by the embodiment of the present application;
[0048] Figure 8 A structural schematic diagram of a flow auditing document checking device provided by the embodiment of the present application;
[0049] Figure 9 A specific structural schematic diagram of a flow auditing document checking device provided by the embodiment of the present application. DETAILED DESCRIPTION
[0050] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0051] Please refer to Figure 1 , Figure 1 A flow chart of a flow auditing document checking method provided by the embodiment of the present application. The method can include:
[0052] Step 101: obtaining a document checking instruction.
[0053] In the present step, the document checking instruction can be an instruction for controlling detection of the integrity of the flow auditing document in the to-be-checked folder. The document checking instruction can include information of the to-be-checked folder (i.e. to-be-checked folder information), such as storage location information, so that the processor can find the to-be-checked folder by using the obtained document checking instruction.
[0054] Specifically, for the specific manner in which the processor obtains the document inspection instruction in this step, the designer can set it according to the practical scene and user demand, such as in this embodiment, a pre-set python script executable file can be used to realize automatic checking of the integrity of the process audit document; that is, the processor can use the python script executable file to obtain the document inspection instruction during the running process of the python script executable file (such as.exe file); wherein, Python is a cross-platform computer program design language, which is a high-level script language combining interpretation, compilation, interactivity and object-oriented. In this embodiment, other computer program design language scripts executable files can also be used to realize automatic checking of the integrity of the process audit document, and the present embodiment does not make any limitation thereto.
[0055] Correspondingly, for the specific manner in which the processor obtains the document inspection instruction by using the python script executable file, the designer can set it by himself, such as the processor can generate the document inspection instruction according to the selected to-be-checked folder information in the pre-set human-computer interaction (UI) interface after receiving the click instruction of the inspection button in the pre-set human-computer interaction interface; for example, the processor enters the pre-set human-computer interaction interface as shown in Figure 2 after starting to run the python script executable file; as shown in Figure 6 , the user can click the “…” button (i.e. import button) to import the information (i.e. to-be-checked folder information) of the corresponding process audit document folder (i.e. inspection folder), and then click the “start inspection” button (i.e. inspection button) to control the processor to generate the document inspection instruction to perform the integrity checking of the process audit document.
[0056] Correspondingly, in this embodiment, the python script executable file can be set in the python folder (such as the tool folder as shown in Figure 3 ), and the python folder can include the python script executable file (such as tool.exe), the python script file (python code, such as tool.py in Figure 3 ), and the corresponding Python library file, such as Figure 5The middle os (operation system) library, xlrd (Excel read) library, xlwt (Excel write) library, tkinter library (interface of the standard Tk GUI toolkit of Python) and ttkbootstrap library (a tkinter-based interface beautification library) and the like; in the embodiment, the python folder can be provided with a UI interface and an exe tool independent of the Python environment to comprehensively check the process audit document. That is, after the processor starts running the python script executable file, the python script executable file can use the tkinter library of Python to build a UI interface, and use the ttkbootstrap library to introduce a theme to further beautify the UI interface, and generate and display a preset human-computer interaction interface.
[0057] Further, the python folder in the embodiment can be compressed and stored in a corresponding compressed package (i.e. python installation package). That is, before the step, the processor can decompress the python installation package according to a file decompression instruction to obtain the python folder; start running the python script executable file according to the start instruction of the python script executable file in the python folder, and enter the preset human-computer interaction interface, so that the user can configure the document checking instruction in the preset human-computer interaction interface, avoiding the configuration and installation of the Python environment.
[0058] Correspondingly, the method provided in the embodiment can also include a configuration process of the python folder, such as the processor can install a Python environment, create a python script file (such as tool.py in Figure 5 ) and corresponding library files according to the input of the user under the Python environment; package the python script file and the corresponding library file by the pyinstaller (a Python packaging method) method to generate a python script executable file (such as tool.exe), so as to obtain the python folder to facilitate the transmission and use of the automatic checking system; compress the python folder to obtain a python installation package to facilitate the transmission and storage of the python folder. Correspondingly, as shown in Figure 3 to Figure 5 , the user enters the subfolder (such as Figure 4 ) directory under the tool\dist folder after decompression, and starts the executable file named tool.exe to enter the preset human-computer interaction interface.
[0059] Step 102: Extract the file name of the document in the to-be-inspected folder corresponding to the document inspection instruction; wherein the to-be-inspected folder stores the process audit document.
[0060] In this step, the processor can extract the file name of the document in the to-be-inspected folder corresponding to the document inspection instruction, so as to complete the integrity detection of the process audit document by using the extracted file name.
[0061] Specifically, for the specific manner in which the processor extracts the file name of the document in the to-be-inspected folder corresponding to the document inspection instruction in this step, the designer can set it according to the practical scene and user demand, for example, the processor can extract the file name of the document in the to-be-inspected folder corresponding to the document inspection instruction by running a python script executable file; for example, the file name of the document in the to-be-inspected folder is extracted by using the Python operating system library; the file name is stored in an Excel file (such as the "FILE" Excel table in Figure 3 That is, in this embodiment, an Excel medium can be introduced to realize the interaction between the list and the Excel by using the xlrd library and the xlwt library, as shown in Figure 5 As shown in Figure 3 In this embodiment, the processor can generate an Excel table named "My Files", and the elements of the file name list are stored in rows in layers according to the logical nesting of the documents, and then the output "My Files" Excel table is extracted by keyword and classified according to Sheet (sub-tool table) and stored in a newly generated table named "FILE", and the data (i.e. the file name) is extracted from the "FILE" table according to the list and stored again. The two tables of "My Files" Excel table and "FILE" Excel table will be automatically overwritten when different boards are executed, and the related code can be as follows:
[0062]
[0063]
[0064]
[0065]
[0066] Correspondingly, the processor stores the file names into the Excel file by using an Excel reading library (xlrd library) and an Excel writing library (xlwt library) of Python can include: extracting keywords in the file names; classifying the file names according to the keywords in the file names, and storing the file names in respective sub-tables corresponding to the respective categories in the Excel file in rows. For example, the file names of the process audit documents corresponding to each inspection item are classified by using a preset keyword; or the file names of the process audit documents in the folder to be inspected are extracted and classified by using a preset audit document keyword.
[0067] Step 103: According to the preset keyword and the preset version number, the file name is traversed and checked to obtain the inspection result and the missing information corresponding to each inspection item; wherein the missing information includes a missing version number, and the missing version number includes an added version number or a missing version number.
[0068] It can be understood that the inspection items in this step can be items (i.e., major items) for detecting the process audit documents of each stage in the board development process, such as product requirement compliance, hardware outline design, and hardware detailed design in Figure 2
[0069] For the specific manner of the processor traversing and checking the file names according to the preset keyword and the preset version number to obtain the inspection result and the missing information corresponding to each inspection item in this step, the design personnel can set it according to the practical scene and user demand, for example, the processor can execute a python script executable file to traverse and check the file names according to the preset keyword (such as a keyword list) and the preset version number (such as a version number list) to obtain the inspection result and the missing information corresponding to each inspection item; that is, the preset keyword can include the keyword corresponding to each inspection item, and the preset version number can include the version number corresponding to each inspection item. As shown in Figure 5
[0070] Specifically, the processor can traverse the document name list by using the keyword list and the version number list of the process audit document template in the global variable to obtain the inspection result and the version number of the related document corresponding to each inspection item.
[0071]
[0072]
[0073]
[0074] Correspondingly, the processor in this step acquires the target file name corresponding to the current check item in the file name according to the keyword corresponding to the current check item in the preset keyword; judges whether the version number of the target file name includes all preset version numbers corresponding to the current check item; if yes, determines that the check result corresponding to the current check item is pass, and when the first target version number is included in the version number of the target file name in addition to the preset version number corresponding to the current check item, determines the first target version number as a new version number; correspondingly, the file name corresponding to the first target version number can also be determined as a new file name in the missing file number; if no, determines that the check result corresponding to the current check item is fail, and determines a second target version number other than the version number of the target file name in the preset version number corresponding to the current check item as a missing version number; correspondingly, the file name corresponding to the second target version number can also be determined as a missing file name in the missing file number.
[0075] Further, the processor in this embodiment can also display the check result and the missing information in the preset human-computer interaction interface after step 103; for example, the processor can output the comparison result (i.e. the check result and the missing information) in the corresponding output text box of the UI through the command of Button (key) and the method of lambda (an anonymous function). For example, the processor can display the check result in the result column (such as the T / F column of Figure 2 ) corresponding to each check item in the preset human-computer interaction interface; display the missing file name in the missing information in the new / missing column (such as the new / missing column of Figure 2 ) corresponding to each check item in the preset human-computer interaction interface; wherein the missing file name includes the new file name or the missing file name; and display the missing version number in the missing version number column (such as the version number column of Figure 2 ) corresponding to each check item in the preset human-computer interaction interface. That is, as shown in Figure 2 , the processor can display the check result in the T / F column, pass indicates that this check item passes, the additional document is displayed in the new / missing column, fail indicates that the corresponding file is missing, the missing file name is displayed in the new / missing column, which is convenient for viewing; and the version number column displays the version number of the related document, which is convenient for checking whether the current version number meets the requirements.
[0076] Correspondingly, the processor in this embodiment can also display the file name (such as the small item file name containing the version number in Figure 6 ) of the process audit document in the preset human-computer interaction interface.
[0077] Further, the processor in this embodiment can also store the check result and the missing information into an Excel file (such as Figure 3"FILE" Excel table in the "FILE" Excel table), to facilitate the export of the inspection results.
[0078] In this embodiment, the file name is traversed and checked according to the preset keyword and the preset version number, the inspection result and the missing information corresponding to each inspection item are obtained, the process audit document integrity of the board development can be automatically checked conveniently and quickly, the time cost caused by the tedious manual inspection is saved, and the efficiency of the engineers in checking the process audit document is improved; and the version number of the newly added or missing important document is checked, so that the engineers can more quickly find and solve problems, improve the drawing efficiency, and save the process time.
[0079] Corresponding to the above method embodiment, the present embodiment also provides an inspection device for process audit documents. The inspection device for process audit documents described below can be correspondingly referred to the inspection method for process audit documents described above.
[0080] Please refer to Figure 7 , Figure 7 The structure block diagram of the inspection device for process audit documents provided by the present embodiment. The device can include:
[0081] The acquisition module 10 is configured to acquire a document inspection instruction.
[0082] The extraction module 20 is configured to extract the file name of the document in the to-be-inspected folder corresponding to the document inspection instruction; wherein the to-be-inspected folder stores the process audit document.
[0083] The inspection module 30 is configured to traverse and check the file name according to the preset keyword and the preset version number, and obtain the inspection result and the missing information corresponding to each inspection item; wherein the missing information includes a missing version number, and the missing version number includes an added version number or a missing version number.
[0084] Optionally, the device can further include:
[0085] The display module is configured to display the inspection result and the missing information in the preset human-computer interaction interface.
[0086] Optionally, the display module can be specifically configured to display the inspection result in a result column corresponding to each inspection item in the preset human-computer interaction interface; display the missing file name in a missing file name column corresponding to each inspection item in the preset human-computer interaction interface; and display the missing version number in a missing version number column corresponding to each inspection item in the preset human-computer interaction interface; wherein the missing file name includes an added file name or a missing file name.
[0087] Optionally, the obtaining module 10 can be specifically configured to generate a document checking instruction according to the selected-to-be-checked folder information in the preset human-computer interaction interface after receiving a clicking instruction of checking a button in the preset human-computer interaction interface.
[0088] Optionally, the apparatus can further include:
[0089] a decompression module configured to decompress the python installation package according to a file decompression instruction to obtain a python folder;
[0090] a script running module configured to start running the python script executable file according to a start instruction of the python script executable file in the python folder to enter the preset human-computer interaction interface.
[0091] Optionally, the extracting module 20 can include:
[0092] a file name extracting submodule configured to extract a file name of a document in the to-be-checked folder by using an operating system library of Python;
[0093] an Excel transfer submodule configured to store the file name into an Excel file by using an Excel reading library and an Excel writing library of Python.
[0094] Optionally, the checking module 30 can include:
[0095] a comparing submodule configured to obtain a target file name corresponding to a current checking item in the file name according to a keyword corresponding to the current checking item in the preset keyword;
[0096] a judging submodule configured to judge whether the target file name includes all preset version numbers corresponding to the current checking item;
[0097] a first determining submodule configured to determine that a checking result corresponding to the current checking item is passed if the target file name includes all preset version numbers corresponding to the current checking item, and determine a first target version number as a new version number if the first target version number is included in the target file name in addition to the preset version numbers corresponding to the current checking item;
[0098] a second determining submodule configured to determine that the checking result corresponding to the current checking item is failed if the target file name does not include all preset version numbers corresponding to the current checking item, and determine a second target version number as a missed version number if the second target version number is included in the target file name in addition to the preset version numbers corresponding to the current checking item.
[0099] In the embodiment, the file name is traversed and checked according to the preset keyword and the preset version number by the checking module 30, the checking result and the added or missed information corresponding to each checking item are obtained, the process audit document integrity of the board development can be automatically checked conveniently and quickly, the time cost caused by the manual tedious checking is saved, and the efficiency of the engineer in checking the process audit document is improved; and the version number of the important document added or missed is checked, so that the engineer can more quickly find and solve problems, the drawing efficiency is improved, and the process time is saved.
[0100] Corresponding to the above method embodiment, the embodiment of the application further provides a process audit document checking device. The process audit document checking device described below can be correspondingly referred to the process audit document checking method described above.
[0101] Please refer to Figure 8 , Figure 8 The structure diagram of the process audit document checking device provided by the embodiment of the application. The ground-borne noise testing device can include:
[0102] The memory D1 is used for storing the computer program.
[0103] The processor D2 is used for executing the computer program to realize the steps of the process audit document checking method provided by the method embodiment.
[0104] Specifically, please refer to Figure 9 , Figure 9 The specific structure diagram of the process audit document checking device provided by the embodiment of the application. The checking device 310 can have great difference due to different configurations or performances, and can include one or more than one processor (central processing units, CPU) 322 (for example, one or more than one processor) and a memory 332, one or more than one storage medium 330 (for example, one or more than one mass storage device) storing an application program 342 or data 344. The memory 332 and the storage medium 330 can be temporary storage or persistent storage. The program stored in the storage medium 330 can include one or more than one module (not shown in the figure), and each module can include a series of instruction operations in the data processing device. Further, the central processing unit 322 can be configured to communicate with the storage medium 330 to execute the series of instruction operations in the storage medium 330 on the checking device 310.
[0105] The inspection device 310 can also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input / output interfaces 358, and / or one or more operating systems 341. For example, Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.
[0106] The steps in the method for inspecting a process audit document described above can be implemented by the structure of the inspection device for a process audit document.
[0107] Corresponding to the above method embodiments, the embodiments of the present application also provide a computer readable storage medium. The computer readable storage medium described below can be correspondingly referred to the method for inspecting a process audit document described above.
[0108] A computer readable storage medium, the readable storage medium stores a computer program, the computer program is executed by a processor to implement the steps of the method for inspecting a process audit document provided by the above method embodiments.
[0109] The computer readable storage medium can be specifically a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various readable storage media that can store program codes.
[0110] The embodiments in the specification are described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same or similar parts of each embodiment can be referred to each other. For the apparatus, device and computer readable storage medium disclosed by the embodiments, since they correspond to the method disclosed by the embodiments, the description is relatively simple, and the related parts can be referred to the method part.
[0111] The above provides a detailed description of the method, device, equipment and computer readable storage medium for inspecting a process audit document. This paper applies specific examples to describe the principle and implementation mode of the present application. The above description of the embodiments is only used to help understand the method and its core idea of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the principle of the present application, the present application can be improved and modified. These improvements and modifications also fall within the protection scope of the claims of the present application.
Claims
1. A method of inspecting a process audit document, characterized by, The method comprises the following steps: obtaining a document checking instruction; extracting the file name of the document in the to-be-checked folder corresponding to the document checking instruction, wherein the to-be-checked folder stores process audit documents; performing traversal checking on the file name according to a preset keyword and a preset version number to obtain checking results and missing information corresponding to each checking item, wherein the missing information comprises an added missing version number, and the added missing version number comprises an added version number or a missing version number; the step of performing traversal checking on the file name according to a preset keyword and a preset version number to obtain checking results and missing information corresponding to each checking item comprises: obtaining a target file name corresponding to a current checking item in the file name according to a keyword corresponding to the current checking item in the preset keyword; determining whether the version number of the target file name comprises all preset version numbers corresponding to the current checking item; if yes, determining that the checking result corresponding to the current checking item is passed, and determining a first target version number other than the preset version number corresponding to the current checking item in the version number of the target file name as the added version number; if no, determining that the checking result corresponding to the current checking item is failed, and determining a second target version number other than the version number of the target file name in the preset version number corresponding to the current checking item as the missing version number.
2. The inspection method of a procedure audit document according to claim 1, characterized by, after the step of performing traversal checking on the file name according to a preset keyword and a preset version number to obtain checking results and missing information corresponding to each checking item, the method further comprises: displaying the checking results and the missing information in a preset human-computer interaction interface.
3. The inspection method of a procedure audit document according to claim 2, wherein, the step of displaying the checking results and the missing information in a preset human-computer interaction interface comprises: displaying the checking results in a result column corresponding to each checking item in the preset human-computer interaction interface; displaying added missing file names in an added missing file name column corresponding to each checking item in the preset human-computer interaction interface, wherein the added missing file names comprise added file names or missing file names; displaying the added missing version numbers in an added missing version number column corresponding to each checking item in the preset human-computer interaction interface.
4. The inspection method of a procedure audit document according to claim 1, characterized by, the step of obtaining a document checking instruction comprises: after receiving a clicking instruction of a checking button in a preset human-computer interaction interface, generating the document checking instruction according to to-be-checked folder information selected and imported in the preset human-computer interaction interface.
5. The method of claim 4, wherein the process audit document is a work instruction. before the step of generating the document checking instruction according to to-be-checked folder information selected and imported in a preset human-computer interaction interface, the method further comprises: decompressing a python installation package according to a file decompression instruction to obtain a python folder; starting to run a python script executable file in the python folder according to a starting instruction of the python script executable file to enter the preset human-computer interaction interface.
6. The inspection method of a procedure audit document according to claim 1, characterized by, the step of extracting the file name of the document in the to-be-checked folder corresponding to the document checking instruction comprises: extracting the file name of the document in the to-be-checked folder by using a Python operating system library; The file name is stored into an Excel file by using an Excel reading library and an Excel writing library of Python.
7. An inspection apparatus for auditing a document of a process, characterized by The method comprises the steps of: An acquisition module is configured to acquire a document checking instruction. An extraction module is configured to extract a file name of a document in a to-be-checked folder corresponding to the document checking instruction, wherein the to-be-checked folder stores process audit documents. A checking module is configured to perform iterative checking on the file name according to preset keywords and preset version numbers, to obtain checking results corresponding to each checking item and addition / omission information, wherein the addition / omission information comprises an addition / omission version number, and the addition / omission version number comprises an added version number or a missed version number. The checking module comprises: A comparison submodule is configured to acquire a target file name corresponding to a current checking item in the file name according to a keyword corresponding to the current checking item in the preset keywords. A judgment submodule is configured to judge whether the version number of the target file name comprises preset version numbers corresponding to all current checking items. A first determination submodule is configured to determine that a checking result corresponding to the current checking item is passed if the preset version numbers corresponding to all current checking items are included, and to determine a first target version number other than the preset version number corresponding to the current checking item in the version number of the target file name as the added version number. A second determination submodule is configured to determine that a checking result corresponding to the current checking item is failed if the preset version numbers corresponding to all current checking items are not included, and to determine a second target version number other than the version number of the target file name in the preset version number corresponding to the current checking item as the missed version number.
8. An inspection apparatus of a process audit document, characterized by, The method comprises the steps of: A memory is configured to store a computer program. A processor is configured to execute the computer program to implement the steps of the process audit document checking method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, A computer program is stored on the computer readable storage medium, and the computer program is executed by the processor to implement the steps of the process audit document checking method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Version release method and device based on multi-environment deployment and computer equipment
CN113190240A
Remotely identifying software on remote network nodes by discovering attributes of software files and comparing software file attributes to a unique signature from an audit table
US20050278395A1