Contract key page marking method and device, equipment and storage medium
Through the introduction of artificial intelligence in contract management, the construction of text recognition and intelligent identification, combined with the user's manual review and modification function, solve the problem of low manual verification efficiency in traditional methods, and achieve a more efficient contract marking process.
Patent Information
- Application Number
- CN202411428666.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2025-01-28
AI Technical Summary
Traditional contract key page marking management relies on artificial intelligence identification, but still requires manual verification, resulting in low interaction efficiency and inability to fully utilize the efficiency improvement potential of artificial intelligence.
Through a contract key page marking method, use artificial intelligence for text recognition and primary intelligent logo construction, combined with the preset key page configuration items, to achieve the group labeling and visual logo of key pages, and allow users The identification result.
Improving the interaction efficiency between users and artificial intelligence, improved the processing efficiency of the key page of the contract, and reduced the time and energy of artificial treatment.
Smart Images

Figure CN119377400A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of contract management, and in particular to a contract key page marking method, device, equipment and computer-readable storage medium. Background Art
[0002] In the field of commercial contract management, traditional contract management methods mainly rely on manual processing and management, which has many problems. First, traditional contract management methods require a lot of human resources and time investment, and are inefficient. Secondly, since the content of the contract text is complicated and complex, it is easy to omission or misidentification, resulting in low accuracy and reliability of contract management. Therefore, it is necessary to identify key contract pages to improve the efficiency of contract management and review.
[0003] However, today's contract key page marking management method relies on artificial intelligence recognition, but due to the rigor of the business, manual verification is still required. Once an error occurs, the user needs to modify it manually, and the modified results need to be sorted and uploaded manually by the user. The efficiency of human-computer interaction is extremely low, and it is impossible to fully develop the role of artificial intelligence in improving the efficiency of contract key page recognition business. Summary of the invention
[0004] The present invention provides a contract key page marking method, device, equipment and storage medium, the main purpose of which is to improve the interaction efficiency between users and artificial intelligence through a contract marking method that allows users to manually update intelligent marking results, thereby improving the processing efficiency of the contract key page marking business.
[0005] To achieve the above purpose, the present invention provides a contract key page marking method, comprising:
[0006] Perform text recognition operations on the target contract to obtain a contract object recognition result set;
[0007] According to the preset key page configuration items, the contract object identification result set is grouped and marked to obtain a contract group identification result, and according to the contract group identification result, a primary identification construction operation is performed on the target contract to obtain a primary intelligent identification contract;
[0008] According to the key page configuration item, the key page identification type corresponding to the current page of the primary smart identification contract is visualized to obtain the identified key page type and the unidentified key page type corresponding to the current page;
[0009] Obtaining the current page review result input by the user, and performing type modification operations on the identified key page types and unidentified key page types corresponding to the current page according to the current page review result, to obtain a valid key page identification result of the current page;
[0010] When the valid key page identification results corresponding to each page number in the target contract are obtained, the primary smart identification contract is updated to obtain a valid smart identification contract, and the valid smart identification contract is stored.
[0011] Optionally, the key page types in the key page configuration item include cover page, price page, payment basis page, effectiveness page, signature page and subject page; the key page type highlighted in the current page is the identified key page type, and the key page type not highlighted is the unidentified key page type; the identified key page type and unidentified key page type corresponding to the current page belong to the key page configuration item.
[0012] Optionally, grouping and marking the contract object identification result set according to the preset key page configuration item to obtain the contract group identification result includes:
[0013] Identify the object types involved in each key page type in the key page configuration item to obtain an object type set;
[0014] Performing classification judgment on the contract object identification result set based on the object type set to obtain an object type sequence of each target object in the contract object identification result set;
[0015] A clustering operation based on the key page type is performed on the object type sequence of each target object to obtain each contract grouping cluster, and the key page type corresponding to each contract grouping cluster is obtained to obtain a contract grouping identification result.
[0016] Optionally, performing a primary identification construction operation on the target contract according to the contract group identification result to obtain a primary intelligent identification contract includes:
[0017] Identify the start-end page numbers corresponding to each of the contract grouping clusters in the contract grouping identification result to obtain a grouping page number set;
[0018] Identify a preset target identification field in the contract group identification result to obtain a contract brief description field, wherein the target identification field includes a contract number, a name of Party A, a name of Party B, and a contract name;
[0019] According to the preset identification parameter configuration rules in the key page configuration items, the grouped page number set is integrated, the contract Json is constructed, and a unique identifier of the target contract is generated. The identification parameters in the identification parameter configuration rules include the contract name, the number of cover pages, the number of subject pages, the number of price pages, the number of payment basis pages, the number of valid pages, and the number of signature pages;
[0020] The contract profile field, contract Json and unique identifier are used to generate a smart identifier, and the smart identifier is connected to the target contract to obtain a primary smart identifier contract.
[0021] Optionally, visualizing the key page identification type corresponding to the current page of the primary smart identification contract according to the key page configuration item to obtain the identified key page type and the unidentified key page type corresponding to the current page includes:
[0022] Visualizing the primary smart identification contract and obtaining a current page displayed by the primary smart identification contract;
[0023] According to the current page, match the contract Json in the primary smart identification contract to obtain the target key page type corresponding to the current page;
[0024] According to the key page type corresponding to the current page, the target key page type is highlighted and visualized to obtain the identified key page type;
[0025] According to the key page configuration item, other key page types except the identified key page types in the key page configuration item are non-highlighted and visualized to obtain unidentified key page types.
[0026] Optionally, the text recognition operation is performed on the target contract to obtain a contract object recognition result set, including:
[0027] Performing a sequential word segmentation operation on the target contract to obtain a contract word segmentation result set;
[0028] Performing a quantization encoding operation on the word segmentation result set to obtain a contract word segmentation vector set;
[0029] splicing the contract word segmentation vector set to obtain a contract text vector, and performing a context-based attention enhancement operation on the contract text vector to obtain a contract text context-enhanced vector;
[0030] An object recognition operation of long and short memory features is performed on the contract text context enhancement vector to obtain a contract object recognition result set.
[0031] Optionally, before performing a type modification operation on the identified key page type and the unidentified key page type corresponding to the current page according to the current page review result, the method further includes:
[0032] Determine whether the current page audit result is a null value;
[0033] When the current page audit result is a null value, the identified key page type and the unidentified key page type corresponding to the current page are determined as valid key page identification results;
[0034] When the current page audit result is not a null value, a type modification operation is performed on the identified key page type and the unidentified key page type corresponding to the current page according to the current page audit result to obtain a valid key page identification result of the current page.
[0035] In order to solve the above problems, the present invention also provides a contract key page marking device, the device comprising:
[0036] The intelligent labeling module is used to perform text recognition operation on the target contract to obtain a contract object recognition result set, and to group and label the contract object recognition result set according to preset key page configuration items to obtain a contract group identification result, and to perform a primary identification construction operation on the target contract according to the contract group identification result to obtain a primary intelligent identification contract;
[0037] A marking visualization module, used to visualize the key page identification type corresponding to the current page of the primary smart identification contract according to the key page configuration item, and obtain the identified key page type and unidentified key page type corresponding to the current page;
[0038] A user review module is used to obtain a current page review result input by a user, and perform a type modification operation on the identified key page type and the unidentified key page type corresponding to the current page according to the current page review result, to obtain a valid key page identification result of the current page;
[0039] The contract marking update module is used to update the primary intelligent identification contract after all valid key page identification results corresponding to each page number in the target contract are obtained, obtain a valid intelligent identification contract, and store the valid intelligent identification contract.
[0040] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:
[0041] at least one processor; and,
[0042] a memory communicatively connected to the at least one processor; wherein,
[0043] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the above-mentioned contract key page marking method.
[0044] In order to solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is executed by a processor in an electronic device to implement the above-mentioned contract key page marking method.
[0045] The embodiment of the present invention first identifies the key pages of the target contract through artificial intelligence text recognition to improve business efficiency and accuracy; then, according to the key page configuration items, a primary intelligent identification contract is constructed, wherein the key page configuration items include the key page type and the primary identification method, wherein the primary identification method includes the contract Json of the preset parameter string, which can realize the visual identification of the key pages and the subsequent manual modification, thereby improving the interaction efficiency between manual processing and artificial intelligence processing. Therefore, the embodiment of the present invention provides a contract key page marking method, device, equipment and storage medium, which can improve the interaction efficiency between users and artificial intelligence, thereby improving the processing efficiency of the contract key page marking business. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A schematic diagram of a flow chart of a method for marking key pages of a contract provided by an embodiment of the present invention;
[0047] Figure 2 A detailed flow chart of a step in a method for marking key pages of a contract provided by an embodiment of the present invention;
[0048] Figure 3 A functional module diagram of a contract key page marking device provided by an embodiment of the present invention;
[0049] Figure 4 A schematic diagram of the structure of an electronic device for implementing the contract key page marking method provided in one embodiment of the present invention.
[0050] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0051] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0052] The embodiment of the present application provides a method for marking key pages of a contract. In the embodiment of the present application, the execution subject of the method for marking key pages of a contract includes but is not limited to at least one of the 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 method for marking key pages of a contract can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.
[0053] Reference Figure 1 FIG. 1 is a flow chart of a method for marking key pages of a contract provided by an embodiment of the present invention. In this embodiment, the method for marking key pages of a contract includes:
[0054] S1. Perform text recognition operation on the target contract to obtain a contract object recognition result set.
[0055] The target contract in the embodiment of the present invention may be a contract newly submitted by a customer, which now needs to be reviewed by the enterprise internally; or it may be a historical contract that has been stored for a long time and needs to be called for use.
[0056] In detail, in the embodiment of the present invention, the text recognition operation is performed on the target contract to obtain a contract object recognition result set, including:
[0057] Performing a sequential word segmentation operation on the target contract to obtain a contract word segmentation result set;
[0058] Performing a quantization encoding operation on the word segmentation result set to obtain a contract word segmentation vector set;
[0059] splicing the contract word segmentation vector set to obtain a contract text vector, and performing a context-based attention enhancement operation on the contract text vector to obtain a contract text context-enhanced vector;
[0060] An object recognition operation of long and short memory features is performed on the contract text context enhancement vector to obtain a contract object recognition result set.
[0061] Specifically, in the embodiment of the present invention, the natural language processing system is first used to perform word segmentation operations on the target contract to be processed, and the order of the word segmentation results in the sentence is maintained, and then the wrod2Vec model is used to implement the text word segmentation quantization encoding operation to obtain a contract word segmentation vector set. Then, the Bert network is used to implement the attention enhancement context feature to obtain the contract text context enhancement vector, and finally the long short-term memory neural network is used to perform target object recognition to obtain a contract object recognition result set, such as the contract name, the name of Party A and Party B, the company name, the amount, the agreed content, the breach of contract clause, etc.
[0062] S2. According to the preset key page configuration items, the contract object identification result set is grouped and labeled to obtain the contract group identification result, and according to the contract group identification result, the primary identification construction operation is performed on the target contract to obtain the primary intelligent identification contract.
[0063] In an embodiment of the present invention, the key page configuration item is a parameter involved in the enterprise's identification of the key pages of the contract and the visual instant modification function. For example, based on business experience, the enterprise divides the key pages of the contract into a cover page, a price page, a payment basis page, an effective page, a signature page, and a subject page; and constructs a modifiable contract Json based on various parameters for users to confirm and modify the visual artificial intelligence contract key page recognition results. In addition, the key page type in the key page configuration item can be adjusted according to changes in the enterprise's business type.
[0064] For details, refer to Figure 2 As shown, in the embodiment of the present invention, the contract object identification result set is grouped and marked according to the preset key page configuration items to obtain the contract group identification result, including:
[0065] S21, identifying the object type involved in each key page type in the key page configuration item, and obtaining an object type set;
[0066] S22, performing classification judgment on the contract object identification result set based on the object type set to obtain an object type sequence of each target object in the contract object identification result set;
[0067] S23. Perform a clustering operation on the object type sequence of each target object based on the key page type to obtain each contract grouping cluster, and obtain the key page type corresponding to each contract grouping cluster to obtain a contract grouping identification result.
[0068] In an embodiment of the present invention, the object types involved in the key page types are first identified, such as company name, party A and party B names, product data type, etc., to obtain a set of object types that need to be identified, and then the contract object identification result set is classified and judged based on the object type set to see which object type or types each contract object identification result belongs to. Then, through a clustering operation, the contents of each page or paragraph in the target contract are clustered to obtain each contract group cluster, and finally, the key page type to which each contract group cluster belongs is queried. The present application links the contract group cluster with the key page type to obtain a contract group identification result.
[0069] Further, in an embodiment of the present invention, performing a primary identification construction operation on the target contract according to the contract group identification result to obtain a primary intelligent identification contract includes:
[0070] Identify the start-end page numbers corresponding to each of the contract grouping clusters in the contract grouping identification result to obtain a grouping page number set;
[0071] Identify a preset target identification field in the contract group identification result to obtain a contract brief description field, wherein the target identification field includes a contract number, a name of Party A, a name of Party B, and a contract name;
[0072] According to the preset identification parameter configuration rules in the key page configuration items, the grouped page number set is integrated, the contract Json is constructed, and a unique identifier of the target contract is generated. The identification parameters in the identification parameter configuration rules include the contract name, the number of cover pages, the number of subject pages, the number of price pages, the number of payment basis pages, the number of valid pages, and the number of signature pages;
[0073] The contract profile field, contract Json and unique identifier are used to generate a smart identifier, and the smart identifier is connected to the target contract to obtain a primary smart identifier contract.
[0074] Specifically, in an embodiment of the present invention, according to the key page configuration item, relevant information is extracted from the contract object identification result set to construct an intelligent identifier:
[0075]
[0076]
[0077] Among them, "status":"SUCCESS" indicates that the smart label is constructed successfully; information such as the contract number, Party A name, Party B name and contract name can be used as an introduction or remarks of the smart label; and fields such as file_name and first_page can be organized into contract Json, which can be used to save the key information query address of the contract; the task_id field can be used as a unique identifier to facilitate the subsequent storage, query and management of the smart label.
[0078] In the embodiment of the present invention, the target contract is converted into a primary smart identification contract by linking the smart identification with the target contract through a key-value pair (or other methods).
[0079] S3. Visualize the key page identification type corresponding to the current page of the primary smart identification contract according to the key page configuration item, and obtain the identified key page type and unidentified key page type corresponding to the current page.
[0080] In detail, in an embodiment of the present invention, according to the key page configuration item, visualizing the key page identification type corresponding to the current page of the primary smart identification contract, and obtaining the identified key page type and the unidentified key page type corresponding to the current page, includes:
[0081] Visualizing the primary smart identification contract and obtaining a current page displayed by the primary smart identification contract;
[0082] According to the current page, match the contract Json in the primary smart identification contract to obtain the target key page type corresponding to the current page;
[0083] According to the key page type corresponding to the current page, the target key page type is highlighted and visualized to obtain the identified key page type;
[0084] According to the key page configuration item, other key page types except the identified key page types in the key page configuration item are non-highlighted and visualized to obtain unidentified key page types.
[0085] Specifically, in the embodiment of the present invention, the primary intelligent identification contract is visualized, but the display interface size is limited, and the user interface can only see one page of the contract at a time, so the displayed page of the contract is used as the current page for the user to view.
[0086] In an embodiment of the present invention, according to the key page configuration items, the current page is configured with six key page types: cover page, price page, payment basis page, effective page, signature page and subject page. According to the current page number of the current page, query the contract Json in the smart tag to check the key page type to which the current page number belongs. When the current page number belongs to the price_page field of the price page, the current page is regarded as the key page of the price page. This solution highlights the "price page" with a blue background, while the other key pages in the key page configuration items: cover page, payment basis page, effective page, signature page and subject page, are just displayed normally.
[0087] In addition, in the embodiment of the present invention, the current page may belong to multiple key page types, so each key page of the current page may have multiple highlighted displays.
[0088] S4. Obtain the current page review result input by the user, and perform type modification operations on the identified key page types and unidentified key page types corresponding to the current page according to the current page review result to obtain a valid key page identification result of the current page.
[0089] In an embodiment of the present invention, key pages such as the cover page, price page, payment basis page, effectiveness page, signature page and subject page of the current page are visually displayed and can be clicked by users, and users can click to display the highlighted key page types normally, or to change the normally displayed key page types to highlighted ones.
[0090] When the user chooses to click and the display mode changes, this solution can record the change result as the current page review result, and then modify the contract Json in the underlying smart label, thereby enhancing the interaction between the user and the artificial intelligence recognition results.
[0091] Furthermore, in the embodiment of the present invention, the method further includes:
[0092] Determine whether the current page audit result is a null value;
[0093] When the current page audit result is a null value, the identified key page type and the unidentified key page type corresponding to the current page are determined as valid key page identification results;
[0094] When the current page audit result is not a null value, a type modification operation is performed on the identified key page type and the unidentified key page type corresponding to the current page according to the current page audit result to obtain a valid key page identification result of the current page.
[0095] In an embodiment of the present invention, when the user does not click on the key page type to change the display mode before clicking to view the next page of the contract, the current page review result is determined to be a null value, indicating that the user approves the artificial intelligence recognition result, and the current page part in the primary intelligent identification can be directly determined as a valid key page identification.
[0096] S5. When valid key page identification results corresponding to each page number in the target contract are obtained, the primary smart identification contract is updated to obtain a valid smart identification contract, and the valid smart identification contract is stored.
[0097] In the embodiment of the present invention, after all pages of the target contract have been browsed, the final updated underlying intelligent identification can be obtained, and then the effective intelligent identification contract can be obtained through the key-value pair link. Therefore, in the embodiment of the present invention, the user only needs to browse and click on the key page types of some current pages to complete the verification of artificial intelligence results, without the need to manually process and upload data again.
[0098] The valid smart identification contract can then be stored according to business requirements, or sent to the contract review department to facilitate further verification of the specific content of the contract.
[0099] The embodiment of the present invention first identifies the key pages of the target contract through artificial intelligence text recognition, improves and constructs a primary intelligent identification contract based on the key page configuration items, wherein the key page configuration items include the key page type and the primary identification method, and the primary identification method includes the contract Json with a preset parameter string, which can realize the visual identification of key pages and subsequent manual modification, and improve the interaction efficiency between manual processing and artificial intelligence processing. Therefore, a contract key page marking method provided by the embodiment of the present invention can improve the interaction efficiency between users and artificial intelligence, thereby improving the processing efficiency of the contract key page marking business.
[0100] like Figure 3 1 is a functional module diagram of a contract key page marking device provided by an embodiment of the present invention.
[0101] The contract key page marking device 100 of the present invention can be installed in an electronic device. According to the functions to be implemented, the contract key page marking device 100 can include an intelligent marking module 101, a marking visualization module 102, a user review module 103 and a contract marking update module 104. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0102] In this embodiment, the functions of each module / unit are as follows:
[0103] The intelligent labeling module 101 is used to perform a text recognition operation on the target contract to obtain a contract object recognition result set, and to group and label the contract object recognition result set according to a preset key page configuration item to obtain a contract group identification result, and to perform a primary identification construction operation on the target contract according to the contract group identification result to obtain a primary intelligent identification contract;
[0104] The marking visualization module 102 is used to visualize the key page identification type corresponding to the current page of the primary smart identification contract according to the key page configuration item, and obtain the identified key page type and the unidentified key page type corresponding to the current page;
[0105] The user review module 103 is used to obtain the current page review result input by the user, and perform type modification operations on the identified key page type and the unidentified key page type corresponding to the current page according to the current page review result to obtain the valid key page identification result of the current page;
[0106] The contract marking update module 104 is used to update the primary smart marking contract after all valid key page marking results corresponding to each page number in the target contract are obtained, obtain a valid smart marking contract, and store the valid smart marking contract.
[0107] In detail, each module described in the contract key page marking device 100 described in the embodiment of the present application is used in the same manner as described above. Figure 1 to Figure 2 The technical means are the same as the contract key page marking method described in, and can produce the same technical effects, so I will not go into details here.
[0108] like Figure 4 , which is a schematic diagram of the structure of an electronic device 1 for implementing a contract key page marking method provided by an embodiment of the present invention.
[0109] The electronic device 1 may include a processor 10, a memory 11, a communication bus 12, and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a contract key page marking program.
[0110] In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits 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 the control core (ControlUnit) of the electronic device 1, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 11 (for example, executing a contract key page marking program, etc.), and calls data stored in the memory 11 to execute various functions of the electronic device and process data.
[0111] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 11 can also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 11 can also include both an internal storage unit of the electronic device and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device, such as the code of the contract key page marking program, but also can be used to temporarily store data that has been output or is to be output.
[0112] The communication bus 12 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.
[0113] The communication interface 13 is used for communication between the above-mentioned electronic device 1 and other devices, including a network interface and a user interface. 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 is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.
[0114] Figure 4 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 4 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0115] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0116] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0117] The contract key page marking program stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve:
[0118] Perform text recognition operations on the target contract to obtain a contract object recognition result set;
[0119] According to the preset key page configuration items, the contract object identification result set is grouped and marked to obtain a contract group identification result, and according to the contract group identification result, a primary identification construction operation is performed on the target contract to obtain a primary intelligent identification contract;
[0120] According to the key page configuration item, the key page identification type corresponding to the current page of the primary smart identification contract is visualized to obtain the identified key page type and the unidentified key page type corresponding to the current page;
[0121] Obtaining the current page review result input by the user, and performing type modification operations on the identified key page types and unidentified key page types corresponding to the current page according to the current page review result, to obtain a valid key page identification result of the current page;
[0122] When the valid key page identification results corresponding to each page number in the target contract are obtained, the primary smart identification contract is updated to obtain a valid smart identification contract, and the valid smart identification contract is stored.
[0123] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.
[0124] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).
[0125] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:
[0126] Perform text recognition operations on the target contract to obtain a contract object recognition result set;
[0127] According to the preset key page configuration items, the contract object identification result set is grouped and marked to obtain a contract group identification result, and according to the contract group identification result, a primary identification construction operation is performed on the target contract to obtain a primary intelligent identification contract;
[0128] According to the key page configuration item, the key page identification type corresponding to the current page of the primary smart identification contract is visualized to obtain the identified key page type and the unidentified key page type corresponding to the current page;
[0129] Obtaining the current page review result input by the user, and performing type modification operations on the identified key page types and unidentified key page types corresponding to the current page according to the current page review result, to obtain a valid key page identification result of the current page;
[0130] When the valid key page identification results corresponding to each page number in the target contract are obtained, the primary smart identification contract is updated to obtain a valid smart identification contract, and the valid smart identification contract is stored.
[0131] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0132] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0133] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0134] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0135] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.
[0136] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0137] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0138] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0139] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for marking key pages of a contract, characterized in that: The method comprises: Perform text recognition operations on the target contract to obtain a contract object recognition result set; According to the preset key page configuration items, the contract object identification result set is grouped and marked to obtain a contract group identification result, and according to the contract group identification result, a primary identification construction operation is performed on the target contract to obtain a primary intelligent identification contract; According to the key page configuration item, the key page identification type corresponding to the current page of the primary smart identification contract is visualized to obtain the identified key page type and the unidentified key page type corresponding to the current page; Obtaining the current page review result input by the user, and performing type modification operations on the identified key page types and unidentified key page types corresponding to the current page according to the current page review result, to obtain a valid key page identification result of the current page; When the valid key page identification results corresponding to each page number in the target contract are obtained, the primary smart identification contract is updated to obtain a valid smart identification contract, and the valid smart identification contract is stored.
2. The contract key page marking method according to claim 1, characterized in that: The key page types in the key page configuration item include cover page, price page, payment basis page, effectiveness page, signature page and subject page; the key page type highlighted in the current page is the identified key page type, and the key page type not highlighted is the unidentified key page type; the identified key page type and unidentified key page type corresponding to the current page belong to the key page configuration item.
3. The contract key page marking method according to claim 1, characterized in that: The contract object identification result set is grouped and marked according to the preset key page configuration items to obtain the contract group identification result, including: Identify the object type involved in each key page type in the key page configuration item to obtain an object type set; Performing classification judgment on the contract object identification result set based on the object type set to obtain an object type sequence of each target object in the contract object identification result set; A clustering operation based on the key page type is performed on the object type sequence of each target object to obtain each contract grouping cluster, and the key page type corresponding to each contract grouping cluster is obtained to obtain a contract grouping identification result.
4. The contract key page marking method according to claim 1, characterized in that: The step of performing a primary identification construction operation on the target contract according to the contract group identification result to obtain a primary intelligent identification contract includes: Identify the start-end page numbers corresponding to each of the contract grouping clusters in the contract grouping identification result to obtain a grouping page number set; Identify a preset target identification field in the contract group identification result to obtain a contract brief description field, wherein the target identification field includes a contract number, a name of Party A, a name of Party B, and a contract name; According to the preset identification parameter configuration rules in the key page configuration items, the grouped page number set is integrated, the contract Json is constructed, and a unique identifier of the target contract is generated. The identification parameters in the identification parameter configuration rules include the contract name, the number of cover pages, the number of subject pages, the number of price pages, the number of payment basis pages, the number of valid pages, and the number of signature pages; The contract profile field, contract Json and unique identifier are used to generate a smart identifier, and the smart identifier is connected to the target contract to obtain a primary smart identifier contract.
5. The contract key page marking method according to claim 1, characterized in that: The step of visualizing the key page identification type corresponding to the current page of the primary smart identification contract according to the key page configuration item, and obtaining the identified key page type and the unidentified key page type corresponding to the current page, includes: Visualizing the primary smart identification contract and obtaining a current page displayed by the primary smart identification contract; According to the current page, match the contract Json in the primary smart identification contract to obtain the target key page type corresponding to the current page; According to the key page type corresponding to the current page, the target key page type is highlighted and visualized to obtain the identified key page type; According to the key page configuration item, other key page types except the identified key page types in the key page configuration item are non-highlighted and visualized to obtain unidentified key page types.
6. The contract key page marking method according to claim 1, characterized in that: The text recognition operation is performed on the target contract to obtain a contract object recognition result set, including: Performing a sequential word segmentation operation on the target contract to obtain a contract word segmentation result set; Performing a quantization encoding operation on the word segmentation result set to obtain a contract word segmentation vector set; splicing the contract word segmentation vector set to obtain a contract text vector, and performing a context-based attention enhancement operation on the contract text vector to obtain a contract text context-enhanced vector; An object recognition operation of long and short memory features is performed on the contract text context enhancement vector to obtain a contract object recognition result set.
7. The contract key page marking method according to claim 1, characterized in that: Before performing a type modification operation on the identified key page type and the unidentified key page type corresponding to the current page according to the current page audit result, the method further includes: Determine whether the current page audit result is a null value; When the current page audit result is a null value, the identified key page type and the unidentified key page type corresponding to the current page are determined as valid key page identification results; When the current page audit result is not a null value, a type modification operation is performed on the identified key page type and the unidentified key page type corresponding to the current page according to the current page audit result to obtain a valid key page identification result of the current page.
8. A contract key page marking device, characterized in that: The device comprises: The intelligent labeling module is used to perform text recognition operation on the target contract to obtain a contract object recognition result set, and to group and label the contract object recognition result set according to preset key page configuration items to obtain a contract group identification result, and to perform a primary identification construction operation on the target contract according to the contract group identification result to obtain a primary intelligent identification contract; A marking visualization module, used to visualize the key page identification type corresponding to the current page of the primary smart identification contract according to the key page configuration item, and obtain the identified key page type and unidentified key page type corresponding to the current page; A user review module is used to obtain a current page review result input by a user, and perform a type modification operation on the identified key page type and the unidentified key page type corresponding to the current page according to the current page review result, to obtain a valid key page identification result of the current page; The contract marking update module is used to update the primary intelligent identification contract after all valid key page identification results corresponding to each page number in the target contract are obtained, obtain a valid intelligent identification contract, and store the valid intelligent identification contract.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the contract key page marking method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the contract key page marking method as described in any one of claims 1 to 7 is implemented.