Disclosure of Invention
The invention provides an automatic filing method, an automatic filing device, electronic equipment and a computer readable storage medium, and mainly aims to provide an automatic filing method for improving application efficiency.
In order to achieve the above object, the present invention provides an automated filing method, comprising:
acquiring a plurality of case material sets, and storing the case material sets according to a preset storage rule to obtain material storage addresses corresponding to the case material sets;
generating a case information table according to the material storage address and a preset case information template;
recognizing the plurality of case material sets based on a character recognition technology to obtain case information, and updating the case information table according to the case information;
carrying out material detection on each case in the updated case information table;
marking cases which do not pass the detection, modifying the case information table according to the marking information, generating prompt information and pushing the prompt information to a user;
and executing a case filing application process according to the modified case information table.
Optionally, the storing the plurality of case material sets according to a preset storage rule to obtain a material storage address corresponding to the case material set includes:
acquiring a preset case storage address;
creating a plurality of sub-addresses under the case storage address according to the storage rule;
correspondingly storing the data in the case material sets to the sub-addresses, and acquiring the word addresses to obtain material storage addresses.
Optionally, the generating a case information table according to the material storage address and a preset case information template includes:
selecting one of the plurality of case material sets as a current case;
selecting a corresponding case information template according to the property of the current case;
filling corresponding fields in the case information template according to the material storage address of the current case to obtain case information of the current case;
returning to the above-mentioned selection of one case material set of the plurality of case material sets as the current case until the plurality of case material sets are all selected, and obtaining a plurality of case information;
and collecting the plurality of case information to generate a case information table.
Optionally, the recognizing the case material set based on the character recognition technology to obtain case information includes:
acquiring picture materials in the case material sets;
performing identifiability check on the picture material, and re-acquiring the corresponding picture material when the identifiability check of the picture material fails;
carrying out character recognition on the picture material to generate case information;
and updating the case information table according to the case information.
Optionally, the updating the case information table according to the case information includes:
matching data information in the case information with fields in the case information table;
and if the matching is consistent, filling the data information under the corresponding matched field.
Optionally, the performing material detection on each case in the updated case information table includes:
carrying out integrity check on each case in the case information table according to a preset integrity condition;
when the case integrity check fails, determining that the case detection fails;
when the case integrity check is successful, carrying out validity check on the case according to a preset validity condition;
and when the case validity check fails, judging that the case detection fails.
Optionally, the executing a case filing application process according to the modified case information table includes:
converting the case information of each case in the modified case information table into a JSON format, and generating a corresponding script file;
storing the script file to a preset storage address;
obtaining a script file under the execution path, and submitting a filing application according to the script file;
and feeding back the application result of the filing application to a user.
In order to solve the above problems, the present invention also provides an automated filing apparatus, comprising:
the system comprises a material storage module, a data processing module and a data processing module, wherein the material storage module is used for acquiring a plurality of case material sets and storing the case material sets according to a preset storage rule to obtain material storage addresses corresponding to the case material sets;
the case information generating module is used for generating a case information table according to the material storage address and a preset case information template;
the case information updating module is used for identifying the plurality of case material sets based on a character identification technology to obtain case information and updating the case information table according to the case information;
the material detection module is used for carrying out material detection on each case in the updated case information table;
the prompt pushing module is used for marking the cases which do not pass the detection, modifying the case information table according to the marking information, generating prompt information and pushing the prompt information to the user;
and the case filing application module is used for executing a case filing application process according to the modified case information table.
In order to solve the above problem, the present invention also provides an electronic device, including:
a memory storing at least one computer program instruction; and
a processor executing computer program instructions stored in the memory to implement any of the automated filing methods described above.
In order to solve the above problem, the present invention further provides a computer-readable storage medium storing a computer program, which is executed by a processor to implement the automated filing method of any one of the above.
According to the embodiment of the invention, a plurality of case material sets are obtained, and the case information table is generated according to the case information template, so that a plurality of case information can be collected at the same time, subsequent case application is facilitated, and the working efficiency is improved; meanwhile, the case material is identified by using a character identification technology, the case information is updated, the accuracy of the case material can be guaranteed, the case is detected, the case which cannot pass the detection is returned to the user prompt information, the error rate can be effectively reduced, a plurality of cases can be processed simultaneously by executing the case filing application process according to the case information table, the case filing application efficiency is improved, and the time is saved. Therefore, the automated filing method, the automated filing device and the computer readable storage medium provided by the invention can achieve the purpose of improving the application efficiency of the automated filing.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The execution subject of the automated filing method provided by the embodiment of the present application includes, but is not limited to, at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the automated filing method may be performed by software or hardware installed in the terminal device or the server device, and the software may be a block chain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
Fig. 1 is a schematic flow chart of an automated filing method according to an embodiment of the present invention. In this embodiment, the automated filing method includes:
s1, obtaining a plurality of case material sets, and storing the case material sets according to preset storage rules to obtain material storage addresses corresponding to the case material sets.
The case material set in the embodiment of the invention is entrusted material required by a user for filing application, and comprises a plurality of material documents, such as appeal, identity document materials, authorization entrustment and the like. Wherein, one case material set corresponds to one case.
The storage rule refers to a rule for setting a file storage path according to materials required by a project.
In detail, the step of storing the plurality of case material sets according to a preset storage rule to obtain a material storage address corresponding to the case material set includes:
acquiring a preset case storage address;
creating a plurality of sub-addresses under the case storage address according to the storage rule;
correspondingly storing the data in the case material sets to the sub-addresses, and acquiring the word addresses to obtain material storage addresses.
For example, the case storage address is D: \ case material, a plurality of sub-addresses corresponding to the case name are created at the case storage address, and under the corresponding sub-addresses, a plurality of sub-addresses are created to store the case material corresponding to the case material set, for example, a sub-address with the name of '1-1' is created, and the appeal is stored in the address, and then '1-1' is the material storage address corresponding to the appeal-like case material file.
And S2, generating a case information table according to the material storage address and a preset case information template.
The case information template comprises specific case information of a case, and the case information template is different according to different case properties. The specific case information may include a plurality of fields, such as an identification field (caseId), a jurisdiction, a law acceptance court, a case type, a complaint, a bill of materials, and the like.
In detail, the generating a case information table according to the material storage address and a preset case information template includes:
selecting one of the plurality of case material sets as a current case;
selecting a corresponding case information template according to the property of the current case;
filling corresponding fields in the case information template according to the material storage address of the current case to obtain case information of the current case;
returning to the above-mentioned selection of one case material set of the plurality of case material sets as the current case until the plurality of case material sets are all selected, and obtaining a plurality of case information;
and collecting the plurality of case information to generate a case information table.
The properties of the current case in the embodiment of the invention can be obtained according to the materials (such as complaints) in the case material set. The step of filling in the corresponding field in the case information template according to the material storage address of the current case refers to the step of writing the material storage address of the case material into the field name consistent with the name of the case material in the case information template.
To further emphasize the privacy and security of the case information table, the case information table may also be stored in a blockchain node.
S3, recognizing the plurality of case material sets based on the character recognition technology to obtain case information, and updating the case information table according to the case information.
In detail, the identifying the case material set based on the character identification technology to obtain case information includes:
acquiring picture materials in the case material sets;
performing identifiability check on the picture material, and re-acquiring the corresponding picture material when the identifiability check of the picture material fails;
carrying out character recognition on the picture material to generate case information;
and updating the case information table according to the case information.
Wherein the performing an identifiability check on the picture material comprises: and judging whether the picture material has blurring, unidentifiable regions or deformation.
Further, the updating the case information table according to the case information includes: matching data information in the case information with fields in the case information table; and if the matching is consistent, filling the data information under the corresponding matched field.
And S4, detecting materials of each case in the updated case information table.
The case information table in the embodiment of the invention comprises case information of a plurality of cases, and the case information comprises material information and specific case information of the cases.
In detail, the performing material detection on each case in the updated case information table includes:
carrying out integrity check on each case in the case information table according to a preset integrity condition;
when the case integrity check fails, determining that the case detection fails;
when the case integrity check is successful, carrying out validity check on the case according to a preset validity condition;
and when the case validity check fails, judging that the case detection fails.
The completeness condition means that filling is completed under fields of a case information template corresponding to a case in the case information table, and no blank fields exist. The validity condition is that the content corresponding to the field of the case information template corresponding to one case in the case information table meets the case standard requirement specified by law.
The embodiment of the invention can detect whether the materials required by the case for filing application are complete or lack through detecting the materials of the case.
And S5, marking the case which does not pass the detection, modifying the case information table according to the marking information, generating prompt information and pushing the prompt information to the user.
In detail, the modifying the case information table according to the mark information includes: and deleting the case corresponding to the mark information in the case information table.
The case information table is used for marking the case which is detected to fail, deleting the case, generating corresponding error information for the case which is detected to fail, and pushing the error information to a corresponding user as prompt information, so that the user can conveniently perform subsequent processing.
And S6, executing a case filing application flow according to the modified case information table.
In detail, the executing of the case filing process according to the modified case information table includes:
converting the case information of each case in the modified case information table into a JSON format, and generating a corresponding script file;
storing the script file to a preset storage address;
obtaining a script file under the execution path, and submitting a filing application according to the script file;
and feeding back the application result of the filing application to a user.
Further, in the embodiment of the present invention, a pre-constructed RPA (robot Process Automation) robot may be used to automatically obtain the script file in the storage path, and submit a filing application according to the script file, if the RPA robot logs in a court litigation service network, enters a filing page, correspondingly fills the case information data in the script file into the system, submits the filing, and when the filing is successful, obtains a corresponding filing number, and feeds back the filing number to the user.
Preferably, the embodiment of the invention realizes batch filing automation application by using the RPA robot to execute the script file, thereby improving the processing efficiency of the computer.
According to the embodiment of the invention, a plurality of case material sets are obtained, and the case information table is generated according to the case information template, so that a plurality of case information can be collected at the same time, subsequent case application is facilitated, and the working efficiency is improved; meanwhile, the case material is identified by using a character identification technology, the case information is updated, the accuracy of the case material can be guaranteed, the case is detected, the case which cannot pass the detection is returned to the user prompt information, the error rate can be effectively reduced, a plurality of cases can be processed simultaneously by executing the case filing application process according to the case information table, the case filing application efficiency is improved, and the time is saved. Therefore, the automated filing method, the automated filing device and the computer readable storage medium provided by the invention can achieve the purpose of improving the application efficiency of the automated filing.
Fig. 2 is a functional block diagram of the automated filing apparatus according to the present invention.
The automated filing apparatus 100 of the present invention may be installed in an electronic device. According to the realized functions, the automatic filing device may include a material storage module 101, a case information generation module 102, a case information update module 103, a material detection module 104, a prompt pushing module 105 and a filing application module 106. A module according to the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the material storage module 101 is configured to obtain a plurality of case material sets, and store the plurality of case material sets according to a preset storage rule to obtain a material storage address corresponding to the case material set.
The case material set in the embodiment of the invention is entrusted material required by a user for filing application, and comprises a plurality of material documents, such as appeal, identity document materials, authorization entrustment and the like. Wherein, one case material set corresponds to one case.
The storage rule refers to a rule for setting a file storage path according to materials required by a project.
In detail, the material storage module 101 is specifically configured to:
acquiring a preset case storage address;
creating a plurality of sub-addresses under the case storage address according to the storage rule;
correspondingly storing the data in the case material sets to the sub-addresses, and acquiring the word addresses to obtain material storage addresses.
For example, the case storage address is D: \ case material, a plurality of sub-addresses corresponding to the case name are created at the case storage address, and under the corresponding sub-addresses, a plurality of sub-addresses are created to store the case material corresponding to the case material set, for example, a sub-address with the name of '1-1' is created, and the appeal is stored in the address, and then '1-1' is the material storage address corresponding to the appeal-like case material file.
The case information generating module 102 is configured to generate a case information table according to the material storage address and a preset case information template.
The case information template comprises specific case information of a case, and the case information template is different according to different case properties. The specific case information may include a plurality of fields, such as an identification field (caseId), a jurisdiction, a law acceptance court, a case type, a complaint, a bill of materials, and the like.
In detail, the generating a case information table according to the material storage address and a preset case information template includes:
selecting one of the plurality of case material sets as a current case;
selecting a corresponding case information template according to the property of the current case;
filling corresponding fields in the case information template according to the material storage address of the current case to obtain case information of the current case;
returning to the above-mentioned selection of one case material set of the plurality of case material sets as the current case until the plurality of case material sets are all selected, and obtaining a plurality of case information;
and collecting the plurality of case information to generate a case information table.
The properties of the current case in the embodiment of the invention can be obtained according to the materials (such as complaints) in the case material set. The step of filling in the corresponding field in the case information template according to the material storage address of the current case refers to the step of writing the material storage address of the case material into the field name consistent with the name of the case material in the case information template.
The case information updating module 103 is configured to identify the plurality of case material sets based on a text recognition technology to obtain case information, and update the case information table according to the case information.
In detail, the identifying the case material set based on the character identification technology to obtain case information includes:
acquiring picture materials in the case material sets;
performing identifiability check on the picture material, and re-acquiring the corresponding picture material when the identifiability check of the picture material fails;
carrying out character recognition on the picture material to generate case information;
and updating the case information table according to the case information.
Wherein the performing an identifiability check on the picture material comprises: and judging whether the picture material has blurring, unidentifiable regions or deformation.
Further, the updating the case information table according to the case information includes: matching data information in the case information with fields in the case information table; and if the matching is consistent, filling the data information under the corresponding matched field.
The material detection module 104 is configured to perform material detection on each case in the updated case information table.
The case information table in the embodiment of the invention comprises case information of a plurality of cases, and the case information comprises material information and specific case information of the cases.
In detail, the performing material detection on each case in the updated case information table includes:
carrying out integrity check on each case in the case information table according to a preset integrity condition;
when the case integrity check fails, determining that the case detection fails;
when the case integrity check is successful, carrying out validity check on the case according to a preset validity condition;
and when the case validity check fails, judging that the case detection fails.
The completeness condition means that filling is completed under fields of a case information template corresponding to a case in the case information table, and no blank fields exist. The validity condition is that the content corresponding to the field of the case information template corresponding to one case in the case information table meets the case standard requirement specified by law.
The embodiment of the invention can detect whether the materials required by the case for filing application are complete or lack through detecting the materials of the case.
And the prompt pushing module 105 is configured to mark cases which do not pass the detection, modify the case information table according to the mark information, generate prompt information, and push the prompt information to the user.
In detail, the modifying the case information table according to the mark information includes: and deleting the case corresponding to the mark information in the case information table.
The case information table is used for marking the case which is detected to fail, deleting the case, generating corresponding error information for the case which is detected to fail, and pushing the error information to a corresponding user as prompt information, so that the user can conveniently perform subsequent processing.
The case filing application module 106 is configured to execute a case filing application process according to the modified case information table.
In detail, the executing of the case filing process according to the modified case information table includes:
converting the case information of each case in the modified case information table into a JSON format, and generating a corresponding script file;
storing the script file to a preset storage address;
obtaining a script file under the execution path, and submitting a filing application according to the script file;
and feeding back the application result of the filing application to a user.
Further, in the embodiment of the present invention, a pre-constructed RPA (robot Process Automation) robot may be used to automatically obtain the script file in the storage path, and submit a filing application according to the script file, if the RPA robot logs in a court litigation service network, enters a filing page, correspondingly fills the case information data in the script file into the system, submits the filing, and when the filing is successful, obtains a corresponding filing number, and feeds back the filing number to the user.
Preferably, the embodiment of the invention realizes batch filing automation application by using the RPA robot to execute the script file, thereby improving the processing efficiency of the computer.
Fig. 3 is a schematic structural diagram of an electronic device for implementing an automated filing method according to the present invention.
The electronic device 1 may comprise a processor 10, a memory 11 and a bus, and may further comprise a computer program, such as an automation program 12, stored in the memory 11 and executable on the processor 10.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used to store not only application software installed in the electronic device 1 and various types of data, such as codes of the automation program 12, but also temporarily store data that has been output or is to be output.
The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (e.g., executing automation programs and the like) stored in the memory 11 and calling data stored in the memory 11.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 3 shows only an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The automation proposal program 12 stored in the memory 11 of the electronic device 1 is a combination of a plurality of instructions, which when executed in the processor 10, can implement:
acquiring a plurality of case material sets, and storing the case material sets according to a preset storage rule to obtain material storage addresses corresponding to the case material sets;
generating a case information table according to the material storage address and a preset case information template;
recognizing the plurality of case material sets based on a character recognition technology to obtain case information, and updating the case information table according to the case information;
carrying out material detection on each case in the updated case information table;
marking cases which do not pass the detection, modifying the case information table according to the marking information, generating prompt information and pushing the prompt information to a user;
and executing a case filing application process according to the modified case information table.
Further, the integrated modules/units of the electronic device 1, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. The computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any accompanying claims should not be construed as limiting the claim concerned.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.