Hazardous chemical substance auditing method and device based on RPA and AI, equipment and medium

By applying RPA and AI technology in the hazardous chemical export audit system, the information in electronic documents and scanned documents is automatically compared, and the problems of low manual comparison efficiency and error-prone in the existing technology are solved, achieving a more efficient and accurate audit process.

CN119761983AActive Publication Date: 2025-04-04珠海金智维人工智能股份有限公司
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411611063.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-04-04
Estimated Expiration
2044-11-12

AI Technical Summary

Technical Problem

In the prior art, the comparison of electronic documents and paper documents related to the export of hazardous chemicals requires manual processing, which is inefficient and prone to errors.

Method used

Using the hazardous chemical audit method based on RPA and AI, structured data is extracted from electronic documents through the RPA module, and the AI ​​unit is called to identify the preset area of ​​the scanned file, obtain unstructured data, and finally compare the two to generate the audit result.

Benefits of technology

It improves the review efficiency and accuracy of hazardous chemical export data, reduces manual intervention, and avoids errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119761983A_ABST
    Figure CN119761983A_ABST
Patent Text Reader

Abstract

The invention provides a hazardous chemical substance auditing method, device, equipment and medium based on RPA and AI, applied to a hazardous chemical substance export auditing system, the hazardous chemical substance export auditing system comprises an RPA module, and the auditing method comprises the following steps: the RPA module obtains to-be-audited data from a business system; generating an auditing interface, and displaying the electronic document and the scanning file in the auditing interface; the RPA module extracts first cargo information from the electronic document; the RPA module calls an AI unit to identify a preset area on the scanning file to obtain an identification result, and the identification result comprises second cargo information; and the RPA module compares the first cargo information with the second cargo information to obtain a comparison result, obtains an auditing result for the to-be-audited data according to the comparison result, and displays the auditing result on an auditing interface. Compared with a manual auditing process, the auditing method provided by the invention has the advantage that the auditing efficiency and accuracy of the export data of the hazardous chemical substances are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of RPA technology, and in particular to a hazardous chemicals audit method, device, equipment and medium based on RPA and AI. Background Art

[0002] The export of hazardous chemicals is an important business of the customs. Since the paperless reform of the customs, the relevant documents for the export of hazardous chemicals are submitted through the online window single window provided by the customs. The customs officers of the supervision department receive them through the hazardous chemicals export review system and conduct manual approval online. The contents of the relevant documents include the electronic documents filled out by the enterprise on the terminal and the PDF files scanned from the offline paper documents. During the manual review process, the customs officers of the supervision department need to compare the corresponding contents in the electronic documents and PDF files one by one to see if they are completely consistent. However, since the electronic documents related to hazardous chemicals record a large amount of chemical parameters, enterprise information and information of the review authority, the efficiency of manual review is low and it is easy to make mistakes. Summary of the invention

[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a hazardous chemicals audit method, device, equipment and medium based on RPA and AI, which can improve the audit efficiency and accuracy of hazardous chemicals export information.

[0004] In a first aspect, an embodiment of the present invention provides a hazardous chemical audit method based on RPA and AI, which is applied to a hazardous chemical export audit system. The hazardous chemical export audit system includes an RPA module. The audit method includes:

[0005] The RPA module obtains the materials to be reviewed from the business system, wherein the materials to be reviewed include electronic documents and scanned files, the electronic documents are used to indicate the electronic version of the form submitted by the enterprise to the hazardous chemicals export review system, and the scanned files are used to indicate the scanned copies of the paper documents submitted by the enterprise to the hazardous chemicals export review system;

[0006] Generating a review interface, displaying the electronic document and the scanned file in the review interface;

[0007] The RPA module extracts first cargo information from the electronic document, wherein the first cargo information is used to indicate structured data recorded on the electronic form;

[0008] The RPA module calls the AI ​​unit to identify the preset area on the scanned document to obtain an identification result, wherein the identification result includes second cargo information, wherein the second cargo information is used to indicate unstructured data recorded on the scanned copy of the paper document, and the preset area is used to indicate an area on the scanned copy of the paper document where the unstructured data is recorded;

[0009] The RPA module compares the first cargo information and the second cargo information to obtain a comparison result, obtains an audit result for the to-be-audited document according to the comparison result, and displays the audit result on the audit interface.

[0010] In some embodiments of the present invention, there are multiple electronic documents, each of which records an application number and multiple first goods information; a switch control is provided on the review interface, and the switch control is used to adjust the display content of the review interface; the step of extracting the first goods information from the electronic document by the RPA module includes:

[0011] The RPA module obtains the application number, retrieves the electronic document corresponding to the application number based on the switch control, and displays the electronic document on the review interface;

[0012] The RPA module calls the switch control to change the electronic document displayed on the review interface, displays all the first cargo information in batches on the review interface, and captures the first cargo information on the review interface.

[0013] In some embodiments of the present invention, the first cargo information includes a plurality of abbreviated information, each of the abbreviated information has a abbreviated identifier, and the abbreviated identifier is displayed on the review interface; the review interface is provided with a plurality of display abbreviated controls, each of the display abbreviated controls corresponds to a abbreviated identifier; the step of capturing the first cargo information on the review interface includes:

[0014] In the process of the RPA module capturing the first cargo information, when the abbreviated identifier is captured, the RPA module calls the display abbreviated control to display the abbreviated information corresponding to the abbreviated identifier on the review interface;

[0015] The RPA module captures the thumbnail information on the review interface.

[0016] In some embodiments of the present invention, before the step of the RPA module calling the AI ​​unit to identify the preset area on the scanned document and obtaining the identification result, the method further includes:

[0017] Performing annotation training on the AI ​​unit based on historical audit data, so that the AI ​​unit can locate unstructured data associated with the second cargo information from the scanned document, wherein the historical audit data has multiple categories;

[0018] The labeling training of the AI ​​unit based on historical audit data includes:

[0019] A plurality of training areas are marked on the historical audit material with training numbers, the AI ​​unit extracts graphic features and text features in each of the training areas, and performs recognition training based on the graphic features and the text features, wherein each of the training areas corresponds to one training number.

[0020] In some embodiments of the present invention, the step of the RPA module calling the AI ​​unit to identify the preset area on the scanned document and obtaining the identification result includes:

[0021] The RPA module calls the AI ​​unit, and the AI ​​unit searches for an area to be identified on the scanned document according to the training area corresponding to the training number;

[0022] The AI ​​unit extracts the unstructured data from the training area, and converts the unstructured data into structured text in the same format as the first cargo information based on natural language processing technology;

[0023] The RPA module obtains the second cargo information according to the structured text.

[0024] In some embodiments of the present invention, the step of the RPA module comparing the first cargo information and the second cargo information, and obtaining the audit result of the to-be-audited document according to the comparison result, includes:

[0025] The RPA module acquires, based on a unified field of the first cargo information and the second cargo information, the first cargo information and the second cargo information corresponding to the unified field;

[0026] The RPA module determines whether the first cargo information and the second cargo information corresponding to the unified field are the same, and obtains the audit result according to the comparison between the first cargo information and the second cargo information, wherein the unified field represents a fixed field shared by the first cargo information and the second cargo information.

[0027] In some embodiments of the present invention, the step of displaying the audit result on the audit interface includes:

[0028] When the comparison result of the first cargo information and the second cargo information is characterized as being the same, the RPA module displays an audit pass mark on the audit interface;

[0029] When the comparison result between the first cargo information and the second cargo information is characterized as different, the RPA module locates the difference information between the first cargo information and the second cargo information based on the unified field, and the difference information in a first display area of ​​the electronic document and a second display area on the scanned document, displays both the electronic document and the scanned document on the review interface, and highlights the first display area and the second display area.

[0030] In a second aspect, an embodiment of the present invention provides a control device, comprising at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions executable by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the hazardous chemicals audit method based on RPA and AI as described in the first aspect above.

[0031] In a third aspect, an embodiment of the present invention provides an electronic device, comprising the control device as described in the second aspect above.

[0032] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the hazardous chemicals audit method based on RPA and AI as described in the first aspect above.

[0033] The hazardous chemicals audit method based on RPA and AI according to the embodiment of the present invention has at least the following beneficial effects: the present invention logs into the audit system through the RPA module, extracts the first cargo information from the electronic document and the second cargo information from the scanned document, and compares the first cargo information and the second cargo information, and obtains the audit result according to the comparison result. The audit task is completed through the RPA and AI units in the entire audit and comparison process, which improves the audit efficiency and accuracy of hazardous chemicals export information compared with the existing manual audit process. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 This is a flow chart of a hazardous chemicals audit method based on RPA and AI provided by an embodiment of the present invention;

[0035] Figure 2 This is one of the schematic diagrams of the audit interface provided by an embodiment of the present invention;

[0036] Figure 3 This is the second schematic diagram of the review interface provided by an embodiment of the present invention;

[0037] Figure 4 It is a structural diagram of a control device provided in another embodiment of the present invention. DETAILED DESCRIPTION

[0038] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0039] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0040] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0041] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.

[0042] The present invention logs into the audit system through the RPA module, extracts the first cargo information from the electronic document and the second cargo information from the scanned document, and compares the first cargo information and the second cargo information, and obtains the audit result according to the comparison result. The audit task is completed through the RPA and AI units in the entire audit and comparison process, without manual participation in the audit, which improves the audit efficiency and accuracy of hazardous chemicals export information.

[0043] The concepts involved in the present invention are explained below:

[0044] RPA: Robotic Process Automation, a software technology that automates business processes by simulating and integrating human behavior in digital systems;

[0045] AI: Artificial Intelligence refers to intelligent behavior exhibited by artificial systems. It covers a variety of technologies designed to enable computer systems to perform tasks that usually require human intelligence, such as learning, reasoning, problem solving, perception, understanding language, and other complex tasks;

[0046] Hazardous chemicals: refers to those chemicals that are toxic, corrosive, explosive, flammable, combustion-supporting, and harmful to human body, facilities, and environment, including highly toxic chemicals and other chemicals. According to the "Catalogue of Hazardous Chemicals (2015 Edition)", hazardous chemicals are further subdivided and listed for better safety management and supervision.

[0047] The control method of the embodiment of the present invention is further described below based on the accompanying drawings.

[0048] Reference Figure 1 , Figure 1 A flowchart of a hazardous chemical export audit method based on RPA and AI is provided in an embodiment of the present invention. The method is applied to a hazardous chemical export audit system. The system includes a submission window, an RPA module, and an audit interface. The audit interface is used to display the materials to be audited. The RPA module can access the audit interface based on the system account of the auditor. The hazardous chemical audit method based on RPA and AI includes but is not limited to the following steps:

[0049] Step S100: The RPA module obtains the materials to be reviewed from the business system, wherein the materials to be reviewed include electronic documents and scanned files. The electronic documents are used to indicate the electronic version of the forms submitted by the enterprise to the hazardous chemicals export review system, and the scanned files are used to indicate the scanned copies of the paper documents submitted by the enterprise to the hazardous chemicals export review system.

[0050] Specifically, the hazardous chemicals export review system of the embodiment of the present invention is a system for customs personnel to conduct online manual reviews on a schedule. The system provides an online submission window through which enterprises can submit materials to be reviewed to the system. After the system obtains the materials to be reviewed, it stores them in a database. Customs personnel can log in to the review interface of the system through an internal account and retrieve the materials to be reviewed on the review interface.

[0051] Specifically, in the materials to be reviewed in the embodiment of the present invention, the electronic document is the hazardous chemicals information application form filled out online by the enterprise. The hazardous chemicals export review system can provide the form template corresponding to the hazardous chemicals export information on the submission window, and the enterprise fills in the form template online, and uploads it to the system after completion; since the filling format is fixed by the form template, the hazardous chemicals export information on the electronic document can be directly recognized by the RPA module. Further, the scanned file is a scanned copy of the company's offline paper document (such as a PDF file). After the company fills in the corresponding form offline and stamps it at the relevant authorized agency, it scans the paper document through a scanning tool to obtain a scanned copy, and uploads the scanned copy to the system through the submission window. The characters and icons on the scanned copy, such as the PDF file, cannot be directly recognized. In the manual review process, the work of the customs personnel is to check whether there is any inconsistency between the corresponding scanned copy and the electronic document. If there is an inconsistency, it is considered that the information submitted by the enterprise is incorrect, and the system notifies the enterprise to modify the information.

[0052] It can be understood that the RPA system provided in the embodiment of the present invention has the authority to log into the system, so it can log into the system by imitating the operation of customs personnel logging into the system, and retrieve the materials to be reviewed on the review interface as preparation for the start of the review, thereby achieving that when the enterprise submits the materials to be reviewed, the corresponding materials to be reviewed can be reviewed immediately, avoiding delays in the review process due to human factors.

[0053] Step S200, generating a review interface, displaying the electronic document and the scanned file in the review interface;

[0054] Step S300, the RPA module extracts first cargo information from the electronic document, wherein the first cargo information is used to indicate structured data recorded on the electronic form;

[0055] It should be noted that in step S200 to step S300, the audit interface is an operation interface generated by the system based on the electronic document and the scanned file. After the RPA module in the embodiment of the present invention logs into the system, it can imitate the operation process of the customs auditor on the audit interface, for example, by operating a series of buttons or controls on the audit interface to open the electronic document or scan the file. After the RPA module opens the electronic document, since the data on the electronic document is obtained by the enterprise filling in the form template, the data on the electronic document is structured data, and the RPA module can directly identify and obtain the first cargo information without additional data processing steps. Furthermore, the first cargo information that the RPA module needs to identify includes, for example, the inspection date, the inspector, the enterprise name, the application number, the product name, the UN number, the weight, the value of the goods, the export country (region), the application number for the identification of the use of dangerous goods packaging, the certificate number for the identification of the use of dangerous goods packaging, the packaging quantity, the verification quantity, the remaining quantity and other information.

[0056] Step S400: The RPA module calls the AI ​​unit to identify the preset area on the scanned document to obtain an identification result, where the identification result includes the second cargo information, wherein the second cargo information is used to indicate the unstructured data recorded on the scanned copy of the paper document, and the preset area is used to indicate the area on the scanned copy of the paper document where the unstructured data is recorded;

[0057] It should be noted that the embodiment of the present invention obtains the second cargo information by identifying the corresponding area on the scanned copy of the paper document, such as the PDF file, through the AI ​​unit. Among them, the preset area records the key information that needs to be reviewed in the review of the export information of hazardous chemicals. The types of these key information are the same as the first cargo information on the electronic document, and also include the inspection date, inspector, company name, application number, product name, UN number, weight, value of goods, export country (region), dangerous goods packaging use identification application number, dangerous goods packaging use identification certificate number, packaging quantity, verification quantity, remaining quantity and other information. It can be understood that the information obtained by the AI ​​unit from the scanned file is unstructured data with an unfixed format, and a series of data processing is required to enable these data to be recognized by the RPA module.

[0058] In step S500, the RPA module compares the first cargo information and the second cargo information to obtain a comparison result, obtains an audit result for the audited document according to the comparison result, and displays the audit result on the audit interface.

[0059] It should be noted that after obtaining the first cargo information and the second cargo information, the RPA module compares the corresponding parts of the first cargo information and the second cargo information, for example, simultaneously compares the inspection date, inspection personnel, company name, application number and other corresponding information in the first cargo information and the second cargo information mentioned in the above-mentioned embodiments. If all the information is the same after comparison, it can be considered that this batch of information is qualified and the information is allowed to enter the subsequent process. If there is different information after comparison, this batch of information is not allowed to enter the subsequent process, and the information is returned to the enterprise for modification. Specifically, the reason for the error in the information is that the first cargo information does not match the second cargo information, which may be caused by the enterprise filling in the wrong electronic document or the process error when conducting qualification inspection according to paper documents offline, or the reason for the error is that the second cargo information cannot be recognized, which may be that the scanned copy of the paper document is blurred and AI cannot recognize it.

[0060] It should be noted that in step S100 to step S500, the embodiment of the present invention completes the corresponding operation behaviors of the customs personnel on the review interface in the previous manual review process through the RPA module, and realizes the operations required by the customs personnel on the review interface through the RPA module. At the same time, the RPA module and the AI ​​unit called by the RPA module can also obtain the structured first cargo information from the electronic document, obtain the unstructured second cargo information from the scanned document, and then summarize it to the RPA module for data comparison. Compared with manual review, the speed of obtaining the first cargo information and the second cargo information through the RPA module is much faster than the reading speed of humans, and the comparison is compared with manual review, and there will be no omission or wrong review.

[0061] In some embodiments of the present invention, there are multiple electronic documents, each of which records an application number and multiple first goods information; a switching control is provided on the review interface, and the switching control is used to adjust the display content of the review interface; Figure 1 The step S200 shown includes but is not limited to the following steps:

[0062] Step S210: The RPA module obtains the application number, retrieves the electronic document corresponding to the application number based on the switch control, and displays the electronic document on the review interface;

[0063] In step S220, the RPA module calls a switch control to change the electronic document displayed on the review interface, displays all the first cargo information in batches on the review interface, and captures the first cargo information on the review interface.

[0064] It should be noted that in step S210 to step S220, when the RPA module obtains the electronic document, it first needs to obtain the application number corresponding to the electronic document submitted by the enterprise from the database of the hazardous chemicals export audit system, and then simulate the actual operation of the customs auditor on the audit interface by switching controls. For example, after obtaining the application number, the RPA module searches for and simulates the auditor clicking the application number on the audit interface, and the first cargo information corresponding to the application number will pop up on the audit interface. It is understandable that the electronic documents submitted by the enterprise usually have multiple batches and copies, so the RPA module needs to frequently use the switching control to display different electronic documents on the audit interface, and obtain the first cargo information on each electronic document one by one.

[0065] In some embodiments of the present invention, the first cargo information includes a plurality of abbreviated information, each abbreviated information has a abbreviated identifier, and the abbreviated identifier is displayed on the review interface; a plurality of display abbreviated controls are provided on the review interface, and each display abbreviated control corresponds to a abbreviated identifier; Figure 1 Step S200 in the illustrated embodiment also includes but is not limited to the following steps:

[0066] Step S230: During the process of the RPA module capturing the first cargo information, when the abbreviated identifier is captured, the RPA module calls the display abbreviated control to display the abbreviated information corresponding to the abbreviated identifier on the review interface;

[0067] Step S240: The RPA module captures thumbnail information on the review interface.

[0068] It should be noted that in the electronic document, since some of the first cargo information is of a long specific length and difficult to be fully displayed on the review interface, the review interface will abbreviate it to a certain extent. Customs auditors can call up the abbreviated information on the review interface through the display thumbnail control on the motor review interface. Therefore, in steps S230 to S240, the RPA module also needs to display the abbreviated information on the review interface by calling the display thumbnail control for subsequent capture. The RPA module determines whether there is abbreviated information here based on the abbreviated mark on the electronic document. The abbreviated mark can be a character of a different color from other first cargo information on the review interface or a button box, and there is no restriction on this.

[0069] In some embodiments of the present invention, Figure 1 Prior to step S300 of the illustrated embodiment, the following steps are included but are not limited to:

[0070] Step S301, performing annotation training on the AI ​​unit based on historical audit data, so that the AI ​​unit can locate unstructured data associated with the second cargo information from the scanned document, wherein the historical audit data has multiple categories;

[0071] Step S302, annotating and training the AI ​​unit based on historical audit data, including: annotating multiple training areas on the historical audit data with training numbers, the AI ​​unit extracting graphic features and text features in each training area, and performing recognition training based on the graphic features and text features, wherein each training area corresponds to a training number.

[0072] It should be noted that in order for RPA to perform automated data comparison, it is necessary to extract and train the scanned copies of the paper documents submitted by the enterprise, so that the AI ​​unit can know where the second cargo information on the scanned document is located. In the embodiment of the present invention, the scanned documents that need to be extracted and compared are 8 pages per batch, including documents such as the entry-exit cargo packaging performance inspection result sheet, hazardous characteristic classification identification report, hazard publicity label, safety data sheet, and declaration of compliance. These documents include character segments related to the second cargo information (such as the various types of text information mentioned in the above-mentioned embodiments) and icons (hazard signs, audit agency seals, corporate seals, etc.). In order for RPA to perform automated data comparison, the AI ​​unit needs to first learn which areas on the scanned document need to be identified. This can be achieved by using the historical audit materials that have been audited in the entry-exit cargo packaging performance inspection result sheet and other documents provided in the above-mentioned embodiments as the training set for the AI ​​unit. Further, referring to Figure 2 Before the AI ​​unit is trained, it is necessary to process the historical audit data, for example, by marking the area to be audited through identification boxes D1~D4, D16~D19, etc., and then the AI ​​learns the training number of the audit data according to the identification boxes on the historical audit data. Since the content to be recognized includes characters and icons, the AI ​​unit must train the graphic features and text features in the area at the same time.

[0073] It is understandable that before the AI ​​unit recognizes the scanned file in the embodiment of the present invention, it is necessary to first perform annotation training based on the training area annotated in the historical audit data to improve the accuracy of AI unit recognition. If there are scanned files with large deviations from the rest of the data in the historical audit data, such as those with styles that are significantly different from other scanned files, including mixed Chinese and English, pure English, other foreign languages ​​(such as English, Korean), etc., or there are multiple hazard notice labels in a PDF file, these files with large differences need to be removed from the historical audit data training set.

[0074] In some embodiments of the present invention, Figure 1 The steps of step S400 in the illustrated embodiment include but are not limited to the following steps:

[0075] Step S410: The RPA module calls the AI ​​unit, and the AI ​​unit searches for the area to be identified on the scanned document according to the training area corresponding to the training number;

[0076] Step S420, the AI ​​unit extracts unstructured data from the training area, and converts the unstructured data into structured text in the same format as the first cargo information based on natural language processing technology;

[0077] Step S430: The RPA module obtains the second cargo information according to the structured text.

[0078] It should be noted that in steps S410 to S430, when the AI ​​unit identifies the documents to be reviewed, it will directly locate the corresponding position of the training area on the historical review documents required for the new batch of documents to be reviewed based on the training results of the historical review documents, and use image extraction technologies including OCR technology to extract the second cargo information at the corresponding position of the training area. At this time, the file format of the second cargo information obtained by the image technology is completely different from the format of the first cargo information in the electronic document and is not fixed. Therefore, before the comparison, it is also necessary to use natural language processing technology to convert the unstructured data into structured text with the same format as the first cargo information, so that the RPA module can directly recognize the corresponding structured text.

[0079] In some embodiments of the present invention, Figure 1 The steps of step S400 in the illustrated embodiment include but are not limited to the following steps:

[0080] Step S510, the RPA module acquires the first cargo information and the second cargo information corresponding to the unified field based on the unified field of the first cargo information and the second cargo information;

[0081] In step S520, the RPA module determines whether the first cargo information and the second cargo information corresponding to the unified field are the same, and obtains the audit result according to the comparison of the first cargo information and the second cargo information, wherein the unified field represents a fixed field shared by the first cargo information and the second cargo information.

[0082] It should be noted that in order to compare the first cargo information and the second cargo information, the RPA module needs to obtain a unified output field as the basis for comparison, that is, the first cargo information and the second cargo information associated with the same unified field are the same type of information that needs to be compared. The corresponding fields extracted by the RPA module in the electronic document or scanned file are fixed and shared by the electronic document and the scanned file. For example, Figure 3 As shown, fields such as "applied quantity" and "applied quantity unit" appear on the form of the electronic document and the form corresponding to the paper original of the scanned document. The RPA module can compare the first cargo information and the second cargo information of the same type based on the contents in the content boxes behind these fields.

[0083] In some embodiments of the present invention, Figure 1 The steps of step S500 in the illustrated embodiment include but are not limited to the following steps:

[0084] Step S530: When the comparison result of the first cargo information and the second cargo information is characterized as the same, the RPA module displays an audit pass mark on the audit interface;

[0085] Step S540: When the comparison result between the first cargo information and the second cargo information is characterized as different, the RPA module locates the difference information between the first cargo information and the second cargo information based on the unified field, and the difference information in the first display area of ​​the electronic document and the second display area of ​​the scanned document, displays both the electronic document and the scanned document on the review interface, and highlights the first display area and the second display area.

[0086] It should be noted that after the RPA module compares all the first cargo information and the second cargo information, if all the first cargo information and the second cargo information are the same, the RPA module displays the audit pass mark on the audit interface, so that this batch of materials to be audited can be transferred to the subsequent process, and is displayed on the audit interface to notify the customs personnel. If there are differences between the first cargo information and the second cargo information, for example, the first cargo information does not match the second cargo information, and the second cargo information is unclear, in addition to informing the enterprise of the information that the audit failed through the hazardous chemicals export audit system, the specific locations where the electronic documents and the scanned documents appear different will also be displayed on the audit interface for customs personnel to compare and view. Specifically, RPA can display the audit results on the audit interface through the corresponding switching control, wherein the audit interface displays the electronic documents and the scanned documents at the same time, the first display area is set on the electronic documents, and the second display area is set on the scanned documents. Based on the markings of the first display area and the second display area, the customs personnel can intuitively see the locations where the differences exist and the specific reasons why the audit failed.

[0087] like Figure 4 As shown, Figure 4 : is a structural diagram of a control device provided by an embodiment of the present invention. The present invention also provides a control device, including:

[0088] The processor 801 may be implemented by a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0089] The memory 802 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 802 can store an operating system and other applications. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 802, and the processor 801 calls and executes the hazardous chemicals audit method based on RPA and AI in the embodiment of this application;

[0090] Input / output interface 803, used to implement information input and output;

[0091] The communication interface 804 is used to realize the communication interaction between the present apparatus and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WI FI, Bluetooth, etc.);

[0092] A bus 805 that transmits information between the various components of the device (e.g., the processor 801, the memory 802, the input / output interface 803, and the communication interface 804);

[0093] The processor 801 , the memory 802 , the input / output interface 803 and the communication interface 804 are connected to each other in communication within the device via a bus 805 .

[0094] An embodiment of the present application also provides an electronic device, including the control device as described above.

[0095] An embodiment of the present application also provides a storage medium, which is a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned hazardous chemicals audit method based on RPA and AI is implemented.

[0096] As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are implemented to be located in one place, or may also be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0097] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0098] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.

Claims

1. A hazardous chemicals audit method based on RPA and AI, characterized in that: Applied to the hazardous chemicals export audit system, the hazardous chemicals export audit system includes an RPA module, and the audit method includes: The RPA module obtains the materials to be reviewed from the business system, wherein the materials to be reviewed include electronic documents and scanned files, the electronic documents are used to indicate the electronic version of the form submitted by the enterprise to the hazardous chemicals export review system, and the scanned files are used to indicate the scanned copies of the paper documents submitted by the enterprise to the hazardous chemicals export review system; Generating a review interface, displaying the electronic document and the scanned file in the review interface; The RPA module extracts first cargo information from the electronic document, wherein the first cargo information is used to indicate structured data recorded on the electronic form; The RPA module calls the AI ​​unit to identify the preset area on the scanned document to obtain an identification result, wherein the identification result includes second cargo information, wherein the second cargo information is used to indicate unstructured data recorded on the scanned copy of the paper document, and the preset area is used to indicate an area on the scanned copy of the paper document where the unstructured data is recorded; The RPA module compares the first cargo information and the second cargo information to obtain a comparison result, obtains an audit result for the to-be-audited document according to the comparison result, and displays the audit result on the audit interface.

2. The method for auditing hazardous chemicals based on RPA and AI according to claim 1 is characterized in that: There are multiple electronic documents, each of which records an application number and multiple first goods information; a switch control is provided on the review interface, and the switch control is used to adjust the display content of the review interface; The step of extracting the first cargo information from the electronic document by the RPA module includes: The RPA module obtains the application number, retrieves the electronic document corresponding to the application number based on the switch control, and displays the electronic document on the review interface; The RPA module calls the switch control to change the electronic document displayed on the review interface, displays all the first cargo information in batches on the review interface, and captures the first cargo information on the review interface.

3. The method for auditing hazardous chemicals based on RPA and AI according to claim 2 is characterized in that: The first cargo information includes a plurality of abbreviated information, each of the abbreviated information has a abbreviated identifier, and the abbreviated identifier is displayed on the review interface; the review interface is provided with a plurality of display abbreviated controls, each of the display abbreviated controls corresponds to a abbreviated identifier; the step of capturing the first cargo information on the review interface includes: In the process of the RPA module capturing the first cargo information, when the abbreviated identifier is captured, the RPA module calls the display abbreviated control to display the abbreviated information corresponding to the abbreviated identifier on the review interface; The RPA module captures the thumbnail information on the review interface.

4. The method for auditing hazardous chemicals based on RPA and AI according to claim 1 is characterized in that: Before the step of the RPA module calling the AI ​​unit to identify the preset area on the scanned document and obtaining the identification result, the method further includes: Performing annotation training on the AI ​​unit based on historical audit data, so that the AI ​​unit can locate unstructured data associated with the second cargo information from the scanned document, wherein the historical audit data has multiple categories; The labeling training of the AI ​​unit based on historical audit data includes: A plurality of training areas are marked on the historical audit material with training numbers, the AI ​​unit extracts graphic features and text features in each of the training areas, and performs recognition training based on the graphic features and the text features, wherein each of the training areas corresponds to one training number.

5. The method for auditing hazardous chemicals based on RPA and AI according to claim 4 is characterized in that: The RPA module calls the AI ​​unit to identify the preset area on the scanned document to obtain the identification result, including: The RPA module calls the AI ​​unit, and the AI ​​unit searches for an area to be identified on the scanned document according to the training area corresponding to the training number; The AI ​​unit extracts the unstructured data from the training area, and converts the unstructured data into structured text in the same format as the first cargo information based on natural language processing technology; The RPA module obtains the second cargo information according to the structured text.

6. The method for auditing hazardous chemicals based on RPA and AI according to claim 1 is characterized in that: The step of the RPA module comparing the first cargo information and the second cargo information, and obtaining the audit result of the to-be-audited document according to the comparison result, includes: The RPA module acquires, based on a unified field of the first cargo information and the second cargo information, the first cargo information and the second cargo information corresponding to the unified field; The RPA module determines whether the first cargo information and the second cargo information corresponding to the unified field are the same, and obtains the audit result according to the comparison between the first cargo information and the second cargo information, wherein the unified field represents a fixed field shared by the first cargo information and the second cargo information.

7. The method for auditing hazardous chemicals based on RPA and AI according to claim 6 is characterized in that: The step of displaying the audit result on the audit interface includes: When the comparison result of the first cargo information and the second cargo information is characterized as being the same, the RPA module displays an audit pass mark on the audit interface; When the comparison result between the first cargo information and the second cargo information is characterized as different, the RPA module locates the difference information between the first cargo information and the second cargo information based on the unified field, and the difference information in a first display area of ​​the electronic document and a second display area on the scanned document, displays both the electronic document and the scanned document on the review interface, and highlights the first display area and the second display area.

8. A control device, characterized in that: It includes at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the hazardous chemicals audit method based on RPA and AI as described in any one of claims 1 to 7.

9. An electronic device, characterized in that: Comprising the control device as claimed in claim 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the hazardous chemicals audit method based on RPA and AI as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Financial bill processing method, device, system and apparatus combining RPA and AI and medium

    CN114092951A

  • Transaction background authenticity auditing method and system based on OCR and NLP technologies

    CN114202755A

  • Man-machine collaborative mixed order examination decision-making method and system

    CN114358707A

  • Receipt approval method and device for realizing IA based on RPA and AI, equipment and medium

    CN115271653A

  • Artificial intelligence / machine learning model drift detection and correction for robotic process automation

    US20220024032A1