File auditing method and device, equipment and storage medium
By implementing file review methods on the server, the download address and file logo of the client are obtained by the information configuration page, and the problem of narrow scope of the existing technology of the Chinese file review platform is solved, and the scope of application and business coverage of a wider range of document review is achieved.
Patent Information
- Application Number
- CN202411397384.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-08
- Publication Date
- 2025-01-24
AI Technical Summary
The existing document review platform has a narrow scope of application and is not comprehensive in business scope, which cannot meet the needs of document review in financial activities of multiple enterprises.
By implementing file review methods on the server, the information configuration page is used to configure the download address in advance. After the server responds to the file interface call, obtain the client logo and file logo, so as to download and audit files and output the audit results.
The scope of application of file review has been improved, and each enterprise can easily conduct document review, and enhance the ability of the server as a public document review channel.
Smart Images

Figure CN119357133A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a file review method, device, equipment and storage medium. Background Art
[0002] At present, when enterprises carry out financial business, they may involve financial activities between multiple enterprises. Therefore, in the financial supply chain, it is necessary to review the relevant documents of the financial business of each enterprise to help enterprises carry out financial business smoothly and avoid legal problems.
[0003] In the related art, a document review platform can be provided for review. However, the current document review platform is usually a private platform of some enterprises, so the scope of application is narrow and the business scope is not comprehensive. Summary of the invention
[0004] The embodiments of the present application provide a document review method, apparatus, device and storage medium to increase the scope of application of document review and facilitate document review in various enterprises.
[0005] In a first aspect, an embodiment of the present application provides a file review method, which is applied to a server, and the file review method includes:
[0006] In response to a calling operation on a first file interface of the server, obtaining a client identifier corresponding to the calling operation and a first file identifier of a file to be processed;
[0007] Based on the client identifier, obtaining a download address of the to-be-processed file from an information configuration page, wherein the information configuration page is used to instruct the client to pre-configure the download address;
[0008] Based on the first file identifier, downloading the to-be-processed file from the download address;
[0009] The file to be processed is audited and the audit result is output.
[0010] Optionally, the information configuration page is further used to instruct the server and the client to pre-configure a key pair, and the step of obtaining, in response to a call operation on a first file interface of the server, a client identifier corresponding to the call operation and a first file identifier of a file to be processed includes:
[0011] In response to the calling operation, obtaining the encrypted first file interface;
[0012] Using the key pair, decrypting the encrypted first file interface;
[0013] When the encrypted first file interface is decrypted successfully, the client identifier and the first file identifier corresponding to the calling operation are obtained.
[0014] Optionally, the information configuration page is further used to instruct the server and the client to pre-configure a key pair, and the downloading of the to-be-processed file from the download address based on the first file identifier includes:
[0015] Calling the second file interface of the client corresponding to the download address, and encrypting the second file interface using the key pair;
[0016] In response to the second file interface decryption being successful, the to-be-processed file is downloaded from the download address based on the first file identifier.
[0017] Optionally, the file to be processed includes a plurality of images to be processed, and image contents of the plurality of images to be processed are all related to the business information of the client. The auditing of the file to be processed and outputting the auditing result include:
[0018] Performing text information recognition on the multiple images to be processed to obtain business information corresponding to the multiple images to be processed respectively;
[0019] Performing duplicate checking on the business information respectively corresponding to the plurality of images to be processed to obtain duplicate checking results;
[0020] When the duplicate checking result indicates that the business information corresponding to the plurality of images to be processed respectively passes the duplicate checking, authenticity verification is performed on the plurality of images to be processed to obtain an authenticity verification result;
[0021] The authenticity verification result is output as the audit processing result.
[0022] Optionally, performing duplicate checking on the business information respectively corresponding to the plurality of images to be processed to obtain duplicate checking results includes:
[0023] Check whether there is duplication between the business information respectively corresponding to the plurality of images to be processed, and obtain a first duplication checking result, wherein the duplication checking result includes the first duplication checking result;
[0024] When the first duplicate checking result indicates that there is no duplication between the business information respectively corresponding to the plurality of images to be processed, obtaining the business information corresponding to the candidate duplicate checking images in the candidate duplicate checking file;
[0025] Check whether there is duplication between the business information corresponding to the multiple images to be processed and the business information corresponding to the candidate duplicate checking image, and obtain a second duplicate checking result, which includes the second duplicate checking result.
[0026] Optionally, the candidate duplicate checking images include a first image and a second image, the first image is an image that has completed the review process, and the second image is an image included in other files to be processed, and the checking whether there is duplication between the business information corresponding to the multiple images to be processed and the business information corresponding to the candidate duplicate checking images, to obtain a second duplicate checking result, includes:
[0027] Check whether there is duplication between the business information corresponding to the plurality of images to be processed and the business information corresponding to the second image, and obtain a first duplication checking sub-result, wherein the second duplication checking result includes the first duplication checking sub-result;
[0028] When the first duplicate checking sub-result indicates that there is no duplication between the business information corresponding to the multiple images to be processed and the business information corresponding to the second image, check whether there is duplication between the business information corresponding to the multiple images to be processed and the business information corresponding to the first image to obtain a second duplicate checking sub-result, and the second duplicate checking result includes the second duplicate checking sub-result.
[0029] Optionally, the file review method further includes:
[0030] If the duplicate checking result indicates that the business information corresponding to the plurality of images to be processed respectively fails the duplicate checking, determining images with duplicate business information among the plurality of images to be processed, and marking the images with duplicate business information;
[0031] The duplicate checking result indicates that the business information corresponding to the plurality of images to be processed respectively fails to pass the duplicate checking, including at least one of the following situations:
[0032] There is duplication between the business information corresponding to the multiple images to be processed, there is duplication between the business information corresponding to at least one of the multiple images to be processed and the business information corresponding to the first image, and there is duplication between the business information corresponding to at least one of the multiple images to be processed and the business information corresponding to the second image.
[0033] In a second aspect, an embodiment of the present application provides a file review device, which is applied to a server, and the file review device includes:
[0034] An identification acquisition module, used for acquiring, in response to a calling operation on the first file interface of the server, a client identification corresponding to the calling operation and a first file identification of a file to be processed;
[0035] An address acquisition module, used to acquire the download address of the to-be-processed file from an information configuration page based on the client identifier, wherein the information configuration page is used to instruct the client to pre-configure the download address;
[0036] A file download module, configured to download the file to be processed from the download address based on the first file identifier;
[0037] The file review module is used to review the files to be processed and output the review results.
[0038] In a third aspect, an embodiment of the present application provides an electronic device, the device comprising: a processor, a memory, and a system bus;
[0039] The processor and the memory are connected via the system bus;
[0040] The memory is used to store a program, wherein the program includes instructions, and when the instructions are executed by the processor, the processor executes any implementation step of the above-mentioned file audit method.
[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on an electronic device, the electronic device executes any implementation step of the above-mentioned file review method.
[0042] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0043] In an embodiment of the present application, after the server obtains the client identifier corresponding to the calling operation and the first file identifier of the file to be processed in response to the calling operation of the first file interface of the server, it can obtain the download address of the file to be processed from the information configuration page based on the client identifier, and the information configuration page is used to instruct the client to pre-configure the download address. Then, based on the first file identifier, the file to be processed can be downloaded from the download address, and the file to be processed can be audited and processed, and the audit processing result can be output. It can be seen that with the help of the information configuration page, the client can pre-configure the download address, and when the first file interface is called, the server can easily and quickly obtain the download address of the file to be processed from the information configuration page. In this way, the server and the client can interact effectively through the information configuration page and the first file interface, so that the server can be used as a public file review channel in the future, thereby increasing the scope of application of file review and facilitating file review for various enterprises. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A flowchart of a file review method provided in an embodiment of the present application;
[0045] Figure 2 An overall architecture diagram of a file review method provided in an embodiment of the present application;
[0046] Figure 3 A schematic diagram of an information configuration page provided in an embodiment of the present application;
[0047] Figure 4 A schematic diagram of the structure of a file review device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] As mentioned above, in the related art, a document review platform can be provided for review. However, the current document review platform is usually a private platform of some enterprises and is not open for use. Therefore, the scope of application is narrow and the business scope is not comprehensive.
[0049] Based on this, in order to solve the above problems, the embodiment of the present application provides a file audit method, which may include: after the server obtains the client identifier corresponding to the call operation and the first file identifier of the file to be processed in response to the call operation of the first file interface of the server, it can obtain the download address of the file to be processed from the information configuration page based on the client identifier, and the information configuration page is used to instruct the client to pre-configure the download address. Then, based on the first file identifier, the file to be processed can be downloaded from the download address, and the file to be processed can be audited and processed, and the audit processing result can be output. It can be seen that the client can pre-configure the download address with the help of the information configuration page. When the first file interface is called, the server can easily and quickly obtain the download address of the file to be processed from the information configuration page. In this way, the server and the client can interact effectively through the information configuration page and the first file interface, so that the server can be used as a public file audit channel in the future, thereby increasing the scope of application of file audit and facilitating file audit for various enterprises.
[0050] It should be noted that in the embodiment of the present application, the execution subject of the file review method, i.e., the server, can be implemented by a data processing device such as a terminal device or a server. The terminal device can be an electronic device such as a smart phone, a computer, a personal digital assistant (PDA), a tablet computer, etc. The server can be an independent server, a cluster server, or a cloud server.
[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0052] Figure 1 A flowchart of a file review method provided in an embodiment of the present application, Figure 2 The overall architecture diagram of a file review method provided in the embodiment of the present application. Figure 1 and Figure 2 As shown, the file review method provided in the embodiment of the present application can describe the overall implementation process of the solution with the server as the execution subject. The file review method may include:
[0053] S101: In response to a calling operation on a first file interface of a server, obtaining a client identifier corresponding to the calling operation and a first file identifier of a file to be processed.
[0054] The first file interface refers to the interface configured by the server for data interaction. The pending file refers to the client's file to be reviewed by the server. Figure 2 As shown, the client can specifically refer to the enterprise end, and the server can specifically refer to the audit end. In this way, the client can assemble the to-be-processed file and the first file identifier of the to-be-processed file to obtain the to-be-audited material information, and trigger the above-mentioned calling operation by calling the first file interface. Then, the server can obtain the client identifier corresponding to the calling operation and the first file identifier of the to-be-processed file based on the above-mentioned to-be-audited material information.
[0055] Furthermore, combined with Figure 2 As shown, the audit end, that is, the service end, may include an api-partner service, a biz-ci service, and a file-sever service. In a specific implementation, the api-partner service may respond to the above-mentioned call operation to obtain the client identifier and the first file identifier.
[0056] S102: Based on the client identifier, obtain a download address of the file to be processed from the information configuration page.
[0057] Here, the information configuration page is used to instruct the client to pre-configure the download address, and to instruct the server and the client to pre-configure the key pair.
[0058] Figure 3 A schematic diagram of an information configuration page provided in an embodiment of the present application. Figure 3 As shown, the unified operation platform can represent the server, and the tenant platform can represent the client. The two implement key pair configuration by configuring AppId and AppSecret. The key pair can be used as an interface encryption and decryption tool to encrypt and decrypt the subsequent interaction interface between the two parties to verify the legitimacy and correctness of the interface.
[0059] And, combined with Figure 3 As shown, in the information configuration page, an input box for the file download address is provided, which needs to be configured in advance by the client. In this way, the client identifier and the download address can be associated, so that based on the client identifier, the download address of the file to be processed can be quickly obtained from the information configuration page.
[0060] Combination Figure 2 As shown, in a specific implementation, the api-partner service can call the biz-ci service according to the obtained client identifier, so that the biz-ci service obtains the download address of the to-be-processed file corresponding to the client identifier from the information configuration page.
[0061] Furthermore, as mentioned above, the information configuration page is also used to instruct the server and the client to pre-configure a key pair. Based on this, in the embodiment of the present application, for the above step S102, in the specific implementation, first, the server can respond to the call operation and obtain the encrypted first file interface. Here, the encrypted first file interface is encrypted by the client when calling.
[0062] Next, the server may use the key pair to decrypt the encrypted first file interface. Thus, when the encrypted first file interface is successfully decrypted, the client identifier and the first file identifier corresponding to the calling operation may be obtained.
[0063] S103: Based on the first file identifier, download the file to be processed from the download address.
[0064] Accordingly, based on the aforementioned encryption and decryption process using the key pair, in the embodiment of the present application, for the above step S103, in the specific implementation, first, the server can call the second file interface of the client corresponding to the download address, and use the key pair to encrypt the second file interface. Then, the client can use the key pair to decrypt the second file interface. In this way, in response to the successful decryption of the second file interface, the client can download the file to be processed from the download address based on the first file identifier.
[0065] In addition, combined Figure 2As shown, in a specific implementation, after the biz-ci service obtains the download address from the information configuration page, it can return the download address to the api-partner service, and the api-partner service downloads the file to be processed from the download address using the first file identifier as an input parameter.
[0066] S104: Review the files to be processed and output the review results.
[0067] In practical applications, combined with Figure 2 As shown, after the api-partner service downloads the file to be processed, it can re-upload the file to be processed to the file database of the file-sever service for storage. Then, the file-sever service can generate a new file identifier for the file to be processed, namely the second file identifier, and associate the first file identifier with the second file identifier to obtain a mapping relationship of the file identifiers. Then, the file-sever service can assemble the above mapping relationship with the file to be processed and send it to the api-partner service. Since the first file identifier is generated by the client and the second file identifier is generated by the server, with the help of this mapping relationship, the client and the server can associate the identifiers of the processed files to reduce file processing errors.
[0068] Furthermore, after the api-partner service receives the assembly information, it can review the files to be processed and output the review results.
[0069] In a specific implementation, the above-mentioned to-be-processed file may include multiple to-be-processed images, and the image contents of the multiple to-be-processed images are all related to the business information of the client. For example, the above-mentioned multiple to-be-processed images may be multiple invoices, and each invoice records the contents related to the business information of the client, such as the invoice code, invoice number, and verification code.
[0070] Based on this, for the above step S104, in the specific implementation, first, text information recognition can be performed on multiple images to be processed to obtain business information corresponding to the multiple images to be processed. Here, the process of performing text information recognition on multiple images to be processed is not specifically limited in the embodiment of the present application. For example, optical character recognition (OCR) technology can be used for implementation, or any existing or future algorithm that can extract text information from an image can be used for implementation.
[0071] Then, the business information corresponding to the multiple images to be processed can be checked for duplicates to obtain duplicate checking results. The duplicate checking refers to comparing the business information corresponding to the images, for example, checking whether the invoice codes and invoice numbers are the same.
[0072] When checking for duplicates of the business information respectively corresponding to the multiple images to be processed, firstly, it can be checked whether there is duplication between the business information respectively corresponding to the multiple images to be processed to obtain a first duplication checking result. The duplication checking result includes the first duplication checking result.
[0073] Next, when the first duplicate check result indicates that the business information corresponding to the multiple images to be processed is repeated, the duplicate check result can be expressed as the business information corresponding to the multiple images to be processed failed to pass the duplicate check. Therefore, the images with repeated business information in the multiple images to be processed can be first determined, and then the images with repeated business information can be marked. In actual applications, an information display page can be provided to display images with repeated business information.
[0074] When the first duplicate check result indicates that there is no duplication between the business information corresponding to the multiple images to be processed, the business information corresponding to the candidate duplicate check images in the candidate duplicate check file can be further obtained. The candidate duplicate check images include a first image and a second image, the first image is an image that has completed the review process, and the second image is an image included in other files to be processed. In actual applications, the client may provide multiple files to be processed for review and processing at the same time, and each file to be processed includes multiple images to be processed. Therefore, the second image refers to these images from other files to be processed, and the first image is a historical image that has been reviewed.
[0075] Accordingly, for the candidate duplicate checking file, it can be checked whether there is duplication between the business information corresponding to the multiple images to be processed and the business information corresponding to the candidate duplicate checking image, and a second duplicate checking result is obtained, and the duplicate checking result includes the second duplicate checking result.
[0076] Specifically, it is possible to first check whether there is duplication between the business information corresponding to the plurality of images to be processed and the business information corresponding to the second image, and obtain a first duplication check sub-result. The second duplication check result includes the first duplication check sub-result.
[0077] In the case where the first duplicate check sub-result indicates that the business information corresponding to the plurality of images to be processed and the business information corresponding to the second image are repeated, the duplicate check result can be indicated as the business information corresponding to the plurality of images to be processed failing the duplicate check. Therefore, at least one image in the plurality of images to be processed having the same business information as the second image can be first determined, and then the image having the same business information can be marked. In practical applications, images with repeated business information can be displayed on the above-mentioned information display page.
[0078] When the first duplicate checking sub-result indicates that there is no duplication between the business information corresponding to the plurality of images to be processed and the business information corresponding to the second image, further checking whether there is duplication between the business information corresponding to the plurality of images to be processed and the business information corresponding to the first image is performed to obtain a second duplicate checking sub-result. The second duplicate checking result includes the second duplicate checking sub-result.
[0079] In the case where the second duplicate checking sub-result indicates that the business information corresponding to the plurality of images to be processed is repeated with the business information corresponding to the first image, the duplicate checking result can be indicated as the business information corresponding to the plurality of images to be processed has failed the duplicate checking. Therefore, at least one image in the plurality of images to be processed that has the same business information as the first image can be first determined, and then the image with the repeated business information can be marked. In practical applications, images with repeated business information can be displayed on the above information display page.
[0080] When the second duplication check sub-result indicates that there is no duplication between the business information corresponding to the multiple images to be processed and the business information corresponding to the first image, since the first duplication check result and the first duplication check sub-result and the second duplication check sub-result in the second duplication check result both indicate no duplication, the overall duplication check result of the file to be processed can indicate that the duplication check of the business information corresponding to the multiple images to be processed has passed.
[0081] Based on this, when the duplicate checking result indicates that the business information corresponding to the multiple images to be processed has passed the duplicate checking, the multiple images to be processed can be further verified for authenticity to obtain the authenticity verification result, and the authenticity verification result is output as the audit processing result. Here, the process of verifying the authenticity of the multiple images to be processed, that is, the multiple invoices, can be implemented by any existing or future invoice authenticity verification method, which is not limited here.
[0082] In this way, by checking whether there is duplication between the business information corresponding to multiple images to be processed, checking whether there is duplication between the business information corresponding to the multiple images to be processed and the business information corresponding to the second image, and checking whether there is duplication between the business information corresponding to the multiple images to be processed and the business information corresponding to the first image, a comprehensive duplication check can be performed on the business information corresponding to the multiple images to be processed, thereby improving the effect of file review processing and reducing the workload of reviewers.
[0083] Based on the relevant contents of the above steps S101-S104, it can be known that in an embodiment of the present application, after the server side obtains the client identification corresponding to the calling operation and the first file identification of the file to be processed in response to the calling operation of the first file interface of the server side, it can obtain the download address of the file to be processed from the information configuration page based on the client identification, and the information configuration page is used to instruct the client to pre-configure the download address. Then, based on the first file identification, the file to be processed can be downloaded from the download address, and the file to be processed can be audited and processed, and the audit processing result can be output. It can be seen that with the help of the information configuration page, the client can pre-configure the download address, and when the first file interface is called, the server side can easily and quickly obtain the download address of the file to be processed from the information configuration page. In this way, the server side and the client side can effectively interact through the information configuration page and the first file interface, so that the server side can be used as a public file review channel in the future, thereby increasing the scope of application of file review and facilitating file review for various enterprises.
[0084] Furthermore, based on the file review method provided in the above embodiment, the embodiment of the present application can also provide a file review device. The file review device is described below in conjunction with the embodiments and drawings.
[0085] Figure 4 A schematic diagram of the structure of a file review device provided in an embodiment of the present application. Figure 4 As shown, the file review device 400 provided in the embodiment of the present application may include:
[0086] The identification acquisition module 401 is used to obtain the client identification corresponding to the calling operation and the first file identification of the file to be processed in response to the calling operation of the first file interface of the server;
[0087] An address acquisition module 402 is used to acquire the download address of the to-be-processed file from an information configuration page based on the client identifier, wherein the information configuration page is used to instruct the client to pre-configure the download address;
[0088] A file download module 403, configured to download the to-be-processed file from the download address based on the first file identifier;
[0089] The file review module 404 is used to review the file to be processed and output the review result.
[0090] Optionally, the information configuration page is further used to instruct the server and the client to pre-configure a key pair, and the identification acquisition module 401 is specifically used to:
[0091] In response to the calling operation, obtaining the encrypted first file interface;
[0092] Using the key pair, decrypting the encrypted first file interface;
[0093] When the encrypted first file interface is decrypted successfully, the client identifier and the first file identifier corresponding to the calling operation are obtained.
[0094] Optionally, the information configuration page is further used to instruct the server and the client to pre-configure a key pair. The file download module 403 is specifically used to:
[0095] Calling the second file interface of the client corresponding to the download address, and encrypting the second file interface using the key pair;
[0096] In response to the second file interface decryption being successful, the to-be-processed file is downloaded from the download address based on the first file identifier.
[0097] Optionally, the to-be-processed file includes a plurality of to-be-processed images, and the image contents of the plurality of to-be-processed images are all related to the business information of the client. The file review module 404 includes:
[0098] An information recognition module, used to perform text information recognition on the multiple images to be processed to obtain business information corresponding to the multiple images to be processed respectively;
[0099] An information duplication checking module is used to check the business information corresponding to the plurality of images to be processed for duplication and obtain a duplication checking result;
[0100] An authenticity verification module is used to verify the authenticity of the multiple images to be processed and obtain an authenticity verification result when the duplicate checking result indicates that the business information corresponding to the multiple images to be processed has passed the duplicate checking;
[0101] The result output module is used to output the authenticity verification result as the audit processing result.
[0102] Optionally, the information duplication checking module includes:
[0103] A first checking module is used to check whether there is duplication between the business information respectively corresponding to the plurality of images to be processed, and obtain a first duplication checking result, wherein the duplication checking result includes the first duplication checking result;
[0104] A first information acquisition module, configured to acquire the business information corresponding to the candidate duplicate checking images in the candidate duplicate checking file when the first duplicate checking result indicates that there is no duplication between the business information respectively corresponding to the plurality of images to be processed;
[0105] The second checking module is used to check whether there is duplication between the business information corresponding to the multiple images to be processed and the business information corresponding to the candidate duplicate checking image, and obtain a second duplicate checking result, which includes the second duplicate checking result.
[0106] Optionally, the candidate duplicate checking image includes a first image and a second image, the first image is an image that has completed the review process, and the second image is an image included in other files to be processed, and the second checking module is specifically used to:
[0107] Check whether there is duplication between the business information corresponding to the plurality of images to be processed and the business information corresponding to the second image, and obtain a first duplication checking sub-result, wherein the second duplication checking result includes the first duplication checking sub-result;
[0108] When the first duplicate checking sub-result indicates that there is no duplication between the business information corresponding to the multiple images to be processed and the business information corresponding to the second image, check whether there is duplication between the business information corresponding to the multiple images to be processed and the business information corresponding to the first image to obtain a second duplicate checking sub-result, and the second duplicate checking result includes the second duplicate checking sub-result.
[0109] Optionally, the file review device 400 further includes:
[0110] An image marking module, configured to determine images with duplicate business information among the multiple images to be processed, and mark the images with duplicate business information if the duplicate checking result indicates that the business information corresponding to the multiple images to be processed respectively fails the duplicate checking.
[0111] The duplicate checking result indicates that the business information corresponding to the plurality of images to be processed respectively fails to pass the duplicate checking, including at least one of the following situations:
[0112] There is duplication between the business information corresponding to the multiple images to be processed, there is duplication between the business information corresponding to at least one of the multiple images to be processed and the business information corresponding to the first image, and there is duplication between the business information corresponding to at least one of the multiple images to be processed and the business information corresponding to the second image.
[0113] Furthermore, an embodiment of the present application also provides an electronic device, comprising: a processor, a memory, and a system bus;
[0114] The processor and the memory are connected via the system bus;
[0115] The memory is used to store one or more programs, and the one or more programs include instructions. When the instructions are executed by the processor, the processor executes any implementation step of the above-mentioned file audit method.
[0116] Furthermore, an embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on an electronic device, any step of the above-mentioned file review method is implemented.
[0117] It can be known from the description of the above implementation mode that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium, such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the methods described in each embodiment of the present application or certain parts of the embodiments. It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other.
[0118] As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method part.
[0119] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0120] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A document review method, characterized in that: Applied to the server, the file review method includes: In response to a calling operation on a first file interface of the server, obtaining a client identifier corresponding to the calling operation and a first file identifier of a file to be processed; Based on the client identifier, obtaining a download address of the to-be-processed file from an information configuration page, wherein the information configuration page is used to instruct the client to pre-configure the download address; Based on the first file identifier, downloading the to-be-processed file from the download address; The file to be processed is audited and the audit result is output.
2. The document review method according to claim 1, characterized in that: The information configuration page is also used to instruct the server and the client to pre-configure a key pair, and the response to the calling operation of the first file interface of the server, obtaining the client identifier corresponding to the calling operation and the first file identifier of the file to be processed includes: In response to the calling operation, obtaining the encrypted first file interface; Using the key pair, decrypting the encrypted first file interface; When the encrypted first file interface is decrypted successfully, the client identifier and the first file identifier corresponding to the calling operation are obtained.
3. The document review method according to claim 1, characterized in that: The information configuration page is also used to instruct the server and the client to pre-configure a key pair, and the downloading of the to-be-processed file from the download address based on the first file identifier includes: Calling the second file interface of the client corresponding to the download address, and encrypting the second file interface using the key pair; In response to the second file interface decryption being successful, the to-be-processed file is downloaded from the download address based on the first file identifier.
4. The document review method according to any one of claims 1 to 3, characterized in that: The to-be-processed file includes a plurality of to-be-processed images, the image contents of the plurality of to-be-processed images are all related to the business information of the client, and the audit processing of the to-be-processed file and outputting the audit processing result include: Performing text information recognition on the multiple images to be processed to obtain business information corresponding to the multiple images to be processed respectively; Performing duplicate checking on the business information respectively corresponding to the plurality of images to be processed to obtain duplicate checking results; When the duplicate checking result indicates that the business information corresponding to the plurality of images to be processed respectively passes the duplicate checking, authenticity verification is performed on the plurality of images to be processed to obtain an authenticity verification result; The authenticity verification result is output as the audit processing result.
5. The document review method according to claim 4, characterized in that: The performing duplicate checking on the business information respectively corresponding to the plurality of images to be processed to obtain duplicate checking results includes: Check whether there is duplication between the business information respectively corresponding to the plurality of images to be processed, and obtain a first duplication checking result, wherein the duplication checking result includes the first duplication checking result; When the first duplicate checking result indicates that there is no duplication between the business information respectively corresponding to the plurality of images to be processed, obtaining the business information corresponding to the candidate duplicate checking images in the candidate duplicate checking file; Check whether there is duplication between the business information corresponding to the multiple images to be processed and the business information corresponding to the candidate duplicate checking image, and obtain a second duplicate checking result, which includes the second duplicate checking result.
6. The document review method according to claim 5, characterized in that: The candidate duplicate checking images include a first image and a second image, the first image is an image that has completed the review process, and the second image is an image included in other files to be processed, and the checking whether there is duplication between the business information corresponding to the multiple images to be processed and the business information corresponding to the candidate duplicate checking images, and obtaining a second duplicate checking result, includes: Check whether there is duplication between the business information corresponding to the plurality of images to be processed and the business information corresponding to the second image, and obtain a first duplication checking sub-result, wherein the second duplication checking result includes the first duplication checking sub-result; When the first duplicate checking sub-result indicates that there is no duplication between the business information corresponding to the multiple images to be processed and the business information corresponding to the second image, check whether there is duplication between the business information corresponding to the multiple images to be processed and the business information corresponding to the first image to obtain a second duplicate checking sub-result, and the second duplicate checking result includes the second duplicate checking sub-result.
7. The document review method according to claim 6, characterized in that: The document review method further includes: If the duplicate checking result indicates that the business information corresponding to the plurality of images to be processed respectively fails the duplicate checking, determining images with duplicate business information among the plurality of images to be processed, and marking the images with duplicate business information; The duplicate checking result indicates that the business information corresponding to the plurality of images to be processed respectively fails to pass the duplicate checking, including at least one of the following situations: There is duplication between the business information corresponding to the multiple images to be processed, there is duplication between the business information corresponding to at least one of the multiple images to be processed and the business information corresponding to the first image, and there is duplication between the business information corresponding to at least one of the multiple images to be processed and the business information corresponding to the second image.
8. A document review device, characterized in that: Applied to the server, the file review device comprises: An identification acquisition module, used for acquiring, in response to a calling operation on the first file interface of the server, a client identification corresponding to the calling operation and a first file identification of a file to be processed; An address acquisition module, used to acquire the download address of the to-be-processed file from an information configuration page based on the client identifier, wherein the information configuration page is used to instruct the client to pre-configure the download address; A file download module, configured to download the file to be processed from the download address based on the first file identifier; The file review module is used to review the files to be processed and output the review results.
9. An electronic device, characterized in that: The device includes: a processor, a memory, and a system bus; The processor and the memory are connected via the system bus; The memory is used to store a program, wherein the program includes instructions, and when the instructions are executed by the processor, the processor executes the steps of the document audit method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and when the computer program is executed by a terminal device, the steps of the file review method according to any one of claims 1 to 7 are implemented.