Data processing method, device, electronic device and storage medium

By analyzing and analyzing the image contract data in the contract database, filtering out contract data with subcontracting relationships and generating audit reports, it solves the problem that manual audits in the existing technology are difficult to accurately detect contract subcontracting, and improves the efficiency of auditing and accuracy.

CN112650864BActive Publication Date: 2024-12-20BEIJING GRIDSUM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910969586.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-12
Publication Date
2024-12-20
Estimated Expiration
2039-10-12

AI Technical Summary

Technical Problem

When testing and auditing contract subcontracting behaviors in engineering projects, the existing technology relies on manual audits, and there are limitations of audit materials and human omissions, making it difficult to ensure the accuracy and efficiency of subcontracting audits.

Method used

By analyzing the image contract data in the contract database, text contract data, including sales contract data and procurement contract data, filter out the target contract data with subcontracting relationships based on preset subcontracting rules, and generate a subcontract audit report , reduce human participation.

Benefits of technology

It improves the accuracy and efficiency of contract subcontract audits, reduces human errors, and enhances the accurate identification and management of contract relationships in engineering projects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112650864B_ABST
    Figure CN112650864B_ABST
Patent Text Reader

Abstract

The present invention provides a data processing method, device, electronic device and storage medium, wherein the method includes: parsing the image contract data in the contract database to obtain text contract data including sales contract data and purchase contract data; screening target sales contract data and target purchase contract data that meet the preset contract subcontracting rules from the sales contract data and the purchase contract data according to the subject information, name information, start date, end date and payment information, and determining that the target sales contract data and the target purchase contract data have a subcontracting relationship. By identifying and extracting the contract data in the contract between the two parties to the project contract, and performing data analysis based on the key information in the extracted contract data, the sales contract and the purchase contract with a subcontracting relationship are determined, which reduces the human participation in the contract subcontracting audit process, thereby improving the efficiency and accuracy of the contract subcontracting audit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and in particular to a data processing method, device, electronic equipment and storage medium. Background Art

[0002] Subcontracting refers to the act of a contractor, after contracting a project, privately forwarding the construction task it has contracted to a third party without the consent of the contractor, whereby the transferor withdraws from the on-site contracting relationship and the transferee becomes the actual other party to the contract. This situation makes the actual participants in the project inconsistent with the counterparty to the contract, and there may be risks such as the actual party's affiliation, insufficient performance capacity, and inconsistent qualifications, which brings safety hazards to the quality of the project.

[0003] To address this phenomenon, companies usually conduct manual reviews of the contracts of companies involved in the project to determine whether the contractor has engaged in illegal subcontracting.

[0004] This method has limitations in audit materials and is overly dependent on human participation, making it difficult to avoid human omissions and unable to guarantee the accuracy and efficiency of subcontracted audits. Summary of the invention

[0005] In view of the above problems, the present invention is proposed to provide a data processing method and device that overcome the above problems or at least partially solve the above problems.

[0006] According to a first aspect of the present invention, a data processing method is provided, the method comprising:

[0007] Parsing the image contract data in the contract database to obtain text contract data, the text contract data including: sales contract data and purchase contract data, the sales contract data and the purchase contract data including: subject information, name information, start date, end date and payment information;

[0008] According to the subject information, name information, start date, end date and payment information, target sales contract data and target purchase contract data that meet the preset contract subcontracting rules are screened from the sales contract data and purchase contract data, and it is determined that a subcontracting relationship exists between the target sales contract data and the target purchase contract data.

[0009] Optionally, the step of screening target sales contract data and target purchase contract data that meet preset contract subcontracting rules from the sales contract data and purchase contract data according to the subject information, name information, start date, end date and payment information, and determining that a subcontracting relationship exists between the target sales contract data and the target purchase contract data, includes:

[0010] If the similarity between the name information in the sales contract data and the purchase contract data is greater than a preset first threshold, and the similarity between the subject information is greater than a preset second threshold, and the ratio between the amount information of the sales contract data and the amount information of the purchase contract data is less than or equal to the preset threshold, and the ratio between the amount information is greater than or equal to one, and the difference between the start date of the sales contract data and the start time of the purchase contract data is less than or equal to zero, and the difference between the end date of the sales contract data and the end time of the purchase contract data is greater than or equal to zero, then it is determined that the sales contract data and the purchase contract data are target sales contract data and target purchase contract data respectively, and there is a subcontracting relationship between the target sales contract data and the target purchase contract data.

[0011] Optionally, the step of parsing the image contract data in the contract database to extract text contract data includes:

[0012] receiving a contract subcontracting audit request, wherein the contract subcontracting audit request includes: first registration information and second registration information;

[0013] Performing natural language analysis on the image contract data in the contract database to obtain contract document data of the image contract data;

[0014] The sales contract data corresponding to the first registration information is extracted from the contract document data, and the purchase contract data corresponding to the second registration information is extracted from the contract document data to obtain text contract data.

[0015] Optionally, the sales contract data and the purchase contract data further include: counterparty information, and before the step of screening target sales contract data and target purchase contract data that meet preset contract subcontracting rules from the sales contract data and the purchase contract data according to the subject information, name information, start date, end date, and payment information, and determining that a subcontracting relationship exists between the target sales contract data and the target purchase contract data, the step further includes:

[0016] According to the preset association information table, data in the sales contract data in which the counterparty information has a preset association relationship with the first registration information or the second registration information is eliminated, the preset association information table is obtained by capturing the enterprise registration information, and the preset association information table includes the preset association relationship between the enterprise registration information and the counterparty information.

[0017] Optionally, after the step of screening target sales contract data and target purchase contract data that meet preset contract subcontracting rules from the sales contract data and purchase contract data according to the subject information, name information, start date, end date and payment information, and determining that the target sales contract data and the target purchase contract data have a subcontracting relationship, the step further includes:

[0018] A contract subcontracting audit report is generated based on the target sales contract data and the target purchase contract data, and the contract subcontracting audit report is output. The contract subcontracting audit report at least includes: business flow sequence, payment flow sequence, business participants, process participants, and business content.

[0019] According to a second aspect of the present invention, there is provided a data processing device, the device comprising:

[0020] An extraction module is used to parse the image contract data in the contract database to obtain text contract data, wherein the text contract data includes: sales contract data and purchase contract data, wherein the sales contract data and the purchase contract data include: subject information, name information, start date, end date and payment information;

[0021] A determination module is used to filter target sales contract data and target purchase contract data that meet preset contract subcontracting rules from the sales contract data and purchase contract data based on the subject information, name information, start date, end date and payment information, and determine whether a subcontracting relationship exists between the target sales contract data and the target purchase contract data.

[0022] Optionally, the determining module includes:

[0023] A determination submodule is used to determine that the sales contract data and the purchase contract data are target sales contract data and target purchase contract data, respectively, and that a subcontracting relationship exists between the target sales contract data and the target purchase contract data, if the similarity between the name information in the sales contract data and the purchase contract data is greater than a preset first threshold, and the similarity between the subject information is greater than a preset second threshold, and the ratio between the amount information of the sales contract data and the amount information of the purchase contract data is less than or equal to the preset threshold, and the ratio between the amount information is greater than or equal to one, and the difference between the start date of the sales contract data and the start time of the purchase contract data is less than or equal to zero, and the difference between the end date of the sales contract data and the end time of the purchase contract data is greater than or equal to zero.

[0024] Optionally, the extraction module includes:

[0025] A receiving submodule, configured to receive a contract subcontracting audit request, wherein the contract subcontracting audit request includes: first registration information and second registration information;

[0026] A first extraction submodule is used to perform natural language analysis on the image contract data in the contract database to extract the contract document data of the image contract data;

[0027] The second extraction submodule is used to extract the sales contract data corresponding to the first registration information from the contract document data, and to extract the purchase contract data corresponding to the second registration information from the contract document data to obtain text contract data.

[0028] Optionally, the sales contract data and the purchase contract data further include: counterparty information, and the device further includes:

[0029] The elimination module is used to eliminate data in the sales contract data in which the counterparty information and the first registration information or the second registration information have an internal enterprise association relationship based on a preset association information table, wherein the preset association information table is obtained by crawling the enterprise registration information based on a web crawler, and the preset association information table includes a preset association relationship between the enterprise registration information and the counterparty information.

[0030] Optionally, the device further includes:

[0031] A generation module is used to generate a contract subcontracting audit report based on the target sales contract data and the target procurement contract data, and output the contract subcontracting audit report. The contract subcontracting audit report at least includes: business flow sequence, payment flow sequence, business participants, process participants, and business content.

[0032] According to the third aspect of the present invention, an electronic device is provided, comprising at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other via the bus; and the processor is used to call program instructions in the memory to execute any data processing method described in the first aspect above.

[0033] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the data processing method described in any one of the first aspects is implemented.

[0034] The present invention provides a data processing method, device, electronic device and storage medium, wherein the method includes: parsing the image contract data in the contract database to obtain text contract data, the text contract data includes: sales contract data, purchase contract data, the sales contract data and the purchase contract data include: subject information, name information, start date, end date and payment information; according to the subject information, name information, start date, end date and payment information, the target sales contract data and target purchase contract data that meet the preset contract subcontracting rules are screened from the sales contract data and the purchase contract data, and it is determined that the target sales contract data and the target purchase contract data have a subcontracting relationship. By identifying and extracting the contract data in the contract between the two parties of the project contract, and performing data analysis based on the key information in the extracted contract data, the sales contract and the purchase contract with a subcontracting relationship are determined, which reduces the human participation in the contract subcontracting audit process, thereby improving the efficiency and accuracy of the contract subcontracting audit.

[0035] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0037] Figure 1 A flow chart showing a data processing method according to an embodiment of the present invention is shown;

[0038] Figure 2 A flow chart of a method for extracting text contract data according to an embodiment of the present invention is shown;

[0039] Figure 3 A flow chart showing a method for determining a subcontracting relationship according to an embodiment of the present invention is shown;

[0040] Figure 4 A flow chart of a method for removing contract data according to an embodiment of the present invention is shown;

[0041] Figure 5 A flow chart showing a method for generating an audit report according to an embodiment of the present invention is shown;

[0042] Figure 6A structural block diagram of a data processing device according to an embodiment of the present invention is shown;

[0043] Figure 7 It is a structural block diagram of a device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0045] Embodiment 1

[0046] Reference Figure 1 , shows a flow chart of a data processing method according to an embodiment of the present invention, which may specifically include the following steps:

[0047] Step 101, parse the image contract data in the contract database to obtain text contract data, the text contract data includes: sales contract data, purchase contract data, the sales contract data and the purchase contract data include: subject information, name information, start date, end date and payment information.

[0048] In an embodiment of the present invention, due to the need to audit the enterprise's engineering project contracts, it is necessary to audit the contracts of the contracting enterprise and the contracting enterprise, and the contract database refers to a database that stores all engineering contracts of the contracting enterprise. Usually, the enterprise will scan the paper contract and store it in the form of image data, so it is necessary to extract information from the image contract data in the image format. Specifically, various text information in the contract can be identified through a pre-trained data recognition model. Since the information in the contract is unstructured data, the identified text data needs to be analyzed according to the format and text content, so as to determine the subject information, name information, date and payment information in the contract. Other unstructured document extraction technologies known in the art can also be used for extraction here, as long as the contract data can be obtained, and there is no limitation here.

[0049] Optional, in Figure 1 Based on the reference Figure 2 , the step 101 may include steps 1011 to 1013:

[0050] Step 1011, receiving a contract subcontracting audit request, wherein the contract subcontracting audit request includes: first registration information and second registration information.

[0051] In an embodiment of the present invention, an application for contract subcontracting audit can be developed, or integrated into contract review software in the form of a plug-in or functional module, or integrated into an application that can process contract data. The specific form can be determined according to the actual needs of developers and users and is not limited here.

[0052] Furthermore, if the user needs to review the contract of a contractor of a project, it is necessary to review the contracts of the contractor and the contractor of the project. Before the review, the user needs to determine the first registration information of the project contractor and the second registration information of the contractor. The enterprise registration information may include the enterprise registration code, registration name, legal representative, registration address, registration date and other information of the enterprise.

[0053] Step 1012: Perform natural language analysis on the image contract data in the contract database to obtain contract document data of the image contract data.

[0054] In the embodiment of the present invention, the document information in the contract data can be firstly identified by a pre-trained image recognition model to obtain the contract document data, and then the obtained contract document data can be semantically identified by using a semantic recognition model of NLP (Natural Language Processing), and the document data therein can be classified and stored according to different types, such as: subject information, name information, date, and payment information, etc. The image recognition model can be obtained by training the image contract data using an image recognition model known in the art.

[0055] Step 1013: extract the sales contract data corresponding to the first registration information from the contract document data, and extract the purchase contract data corresponding to the second registration information from the contract document data to obtain text contract data.

[0056] In the embodiment of the present invention, for the auditing needs of the project contract between the project sender and the project contractor, during the auditing process, only the sales image contract data signed between the project contractor and the project contractor and the purchase contract signed between the project contractor and other third-party enterprises need to be compared. It can be understood that when the project contractor obtains the project contract, it signs a sales contract with the contractor, and if the project needs to be subcontracted to a third party, it needs to sign a purchase contract with the third party, thereby reducing the amount of data for subsequent contract data processing, and there is no need to process all the contract data of the contractor.

[0057] In actual applications, there is no need to screen the contract data of the project contractor. All the contract data of the contractor can be directly analyzed and processed. In this way, the overall business capabilities of the project contractor can be fully obtained, and other audit work can be carried out. The specific settings can be made according to the actual needs of the user and are not limited here.

[0058] Step 102, based on the subject information, name information, start date, end date and payment information, select target sales contract data and target purchase contract data that meet the preset contract subcontracting rules from the sales contract data and purchase contract data, and determine whether there is a subcontracting relationship between the target sales contract data and the target purchase contract data.

[0059] In the embodiment of the present invention, since the subject information and name information of the contract are usually determined based on the actual target content, if the contractor subcontracts the project to a third-party enterprise, the subject information and name information in the signed procurement contract will have a certain degree of similarity with the sales contract signed with the contractor for the project. For example, for a certain part of a bridge construction project in a certain section of a road in a certain area, both contracts will specify the project location, specific section and specific project content. For the same project content, the subject of the project will also be highly similar. Therefore, firstly, it is possible to preliminarily determine whether there is a subcontracting relationship based on the name information and subject information of the sales contract data and the procurement contract data; secondly, it is impossible to reasonably determine whether there is a subcontracting relationship based only on the name information and subject information of the contract, and it is also necessary to use the amount information in the contract as an auxiliary. According to the above, for the phenomenon of subcontracting, the purchase contract data and the amount information in the sales contract data involved in the subcontracting should be in opposite directions, and the purchase amount information in the purchase contract is less than or equal to the sales amount information in the sales contract. Illegal contractors usually use this method to seek improper gains; finally, since the project contractor can only subcontract the project after signing the sales contract with the contractor, that is, obtaining the project, the start date in the purchase contract signed with the third-party enterprise must be later than the start date in the sales contract signed with the contractor, and since the contractor needs to deliver the project results to the project contractor on the end date of the sales contract, the third-party enterprise is required to deliver the project results before the end date of the sales contract, so the end date in the purchase contract data is generally earlier than the end date in the sales contract data. By weighting the above four factors, the weights of different factors are determined, and the evaluation value determined by weighted summation is compared with the preset evaluation threshold, and the purchase contract data and sales contract data with evaluation values ​​greater than or equal to the evaluation threshold are determined as having a subcontracting relationship. By analyzing and processing contracts based on a variety of evaluation factors, we can identify sales contracts and procurement contracts with subcontracting relationships, thereby improving the efficiency and accuracy of contract subcontracting audits.

[0060] Optional, in Figure 1 Based on the reference Figure 3 , the step 102 comprises:

[0061] Step 1021, if the similarity between the name information in the sales contract data and the purchase contract data is greater than a preset first threshold, and the similarity between the subject information is greater than a preset second threshold, and the ratio between the payment information of the sales contract data and the payment information of the purchase contract data is less than or equal to the preset threshold, and the ratio between the payment information is greater than or equal to one, and the difference between the start date of the sales contract data and the start time of the purchase contract data is less than or equal to zero, and the difference between the end date of the sales contract data and the end time of the purchase contract data is greater than or equal to zero, then it is determined that the sales contract data and the purchase contract data are target sales contract data and target purchase contract data, respectively, and there is a subcontracting relationship between the target sales contract data and the target purchase contract data.

[0062] In an embodiment of the present invention, if the main body of a project is subcontracted by a contractor, there are usually differences according to different project types. Specifically, experiments can be conducted on sales contract data and procurement contract data of different sample subcontracted projects, and statistical analysis can be performed on the name information, subject information, and payment information therein to determine the minimum similarity between the sales contract data and the subject information in the procurement contract data with subcontracting relationships in contracts of different project types, that is, the first threshold, the minimum similarity between the name information, that is, the second threshold, and the minimum ratio between the payment information, that is, the third threshold. In actual applications, since there is a certain degree of correspondence between the name information, subject information, and payment information of the contract, the name information has corresponding subject information, and the subject information has corresponding payment information, the first threshold, the second threshold, and the third threshold can be maintained at the same value.

[0063] According to the specific project type, during the contract audit process, if the similarity of the name information between the sales contract data and the purchase contract data is greater than or equal to the first threshold, and the similarity of the subject information is greater than or equal to the second threshold, and the ratio of the payment information is greater than or equal to the third threshold, it can be determined that the subject of the project involved has been subcontracted, and its impact on the entire project can be equivalent to the impact of the entire project being subcontracted. Therefore, it can be determined that there is a subcontracting relationship between the sales contract data and the purchase contract data. For example, for a construction company, the first threshold, the second threshold, and the third threshold can be determined to be 70%, that is, if the name similarity is greater than or equal to 70%, and the similarity of the subject information is greater than or equal to 70%, and the ratio of the payment information of the sales contract and the purchase contract is greater than or equal to 70%, it can be determined that the subject of the project has been subcontracted. It can be understood that for a certain project, although the subject of the project is not the entire content of the project, it is the core part of the project and is directly related to the quality of the project. If it is illegally subcontracted to a third-party enterprise with unqualified qualifications, it will bring huge quality and safety risks to the project. Therefore, it can be determined that the project has been subcontracted. By solidifying the audit rules in the contract audit process, the efficiency of contract subcontracting audits has been improved.

[0064] Furthermore, on the basis of the above-mentioned discrimination strategy, strategy information based on the start time and end time in the sales contract data and the purchase contract data can be added. Since the contractor can only subcontract the project to a third party after signing a sales contract with the contractor, that is, signing a purchase contract with the third party, the start time of the sales contract data is earlier than the start time of the purchase contract data, so the difference between the start time of the sales contract data and the purchase contract data is less than or equal to zero. Since it is necessary to deliver the project to the contractor in advance before the contractor delivers the project to the contractor, the end time of the sales contract data is later than the end time of the purchase contract data, so the difference between the end time of the sales contract data and the purchase contract data is greater than or equal to zero. By adding an auxiliary strategy based on the start time and end time in the sales contract data and the purchase contract data, the accuracy of determining the subcontracting relationship is improved.

[0065] Optionally, the sales contract data and the purchase contract data further include: counterparty information, Figure 2 Based on the reference Figure 4 , before step 102, further comprising:

[0066] Step 103, according to the preset association information table, eliminate the data in the sales contract data in which the counterparty information has a preset association relationship with the first registration information or the second registration information, wherein the preset association information table is obtained by capturing the enterprise registration information, and the preset association information table includes the preset association relationship between the enterprise registration information and the counterparty information.

[0067] In the embodiment of the present invention, for the contracting enterprise, due to management or business needs, it may subcontract the project to its internally related subsidiaries in the form of subcontracting. For this subcontracting relationship, from the perspective of project acceptance qualifications, it can still enjoy the parent company's contracting qualifications, so it will not bring substantial risks to the quality of the project. This type of contract subcontracting is within a reasonable range.

[0068] Specifically, enterprise registration information can be collected on enterprise information websites through web crawler technology, and the internal relationship of the third-party enterprises involved in the procurement contract data can be identified based on the collected enterprise registration information, so as to determine whether the third-party enterprise is internally associated with the contractor. If the third-party enterprise has an internal relationship with the contractor, it can be deleted from the procurement contract data, thereby narrowing the data scope of subsequent data processing and improving the efficiency and accuracy of contract subcontracting audits.

[0069] Optional, in Figure 1 Based on the reference Figure 5 , after step 102, further comprising:

[0070] Step 104, generating a contract subcontracting audit report based on the target sales contract data and the target purchase contract data, and outputting the contract subcontracting audit report, wherein the contract subcontracting audit report at least includes: business flow sequence, payment flow sequence, business participants, process participants, and business content.

[0071] In an embodiment of the present invention, a structured data report can be generated through various information in the determined target sales contract data and the target procurement contract data to intuitively display the contract data with subcontracting relationships. Specifically, data mining can be performed on the relevant enterprises involved in the target sales contract data and the target procurement contract data, and the business flow sequence view can be obtained by analyzing the subcontracting relationship, and the payment flow sequence and amount obtained by analyzing the payment information, the business participants obtained by analyzing the corresponding enterprise registration information, the process participants obtained by analyzing the included counterparties, and the business content obtained by analyzing the target information can be marked to generate a contract subcontracting audit report containing a subcontracting business process view and annotated with detailed structured table data as the output. By generating a subcontracting upgrade report, users can more intuitively understand the relevant information of the subcontracting relationship, thereby improving the user experience.

[0072] In a data processing method provided by the present invention, the method includes: parsing the image contract data in the contract database to obtain text contract data, the text contract data includes: sales contract data, purchase contract data, the sales contract data and the purchase contract data include: subject information, name information, start date, end date and payment information; according to the subject information, name information, start date, end date and payment information, the target sales contract data and target purchase contract data that meet the preset contract subcontracting rules are screened from the sales contract data and the purchase contract data, and it is determined that the target sales contract data and the target purchase contract data have a subcontracting relationship. By identifying and extracting the contract data in the contract between the two parties of the project contract, and performing data analysis based on the key information in the extracted contract data, the sales contract and the purchase contract with a subcontracting relationship are determined, which reduces the human participation in the contract subcontracting audit process, thereby improving the efficiency and accuracy of the contract subcontracting audit.

[0073] Embodiment 2

[0074] Reference Figure 6 , shows a data processing device 200 according to an embodiment of the present invention, the device comprising:

[0075] Extraction module 201, used to parse the image contract data in the contract database to obtain text contract data, the text contract data includes: sales contract data, purchase contract data, the sales contract data and the purchase contract data include: subject information, name information, start date, end date and payment information;

[0076] Determination module 202 is used to filter target sales contract data and target purchase contract data that meet preset contract subcontracting rules from the sales contract data and purchase contract data based on the subject information, name information, start date, end date and payment information, and determine whether there is a subcontracting relationship between the target sales contract data and the target purchase contract data.

[0077] Optionally, the determining module 202 includes:

[0078] Determine submodule 2021, which is used to determine that the sales contract data and the purchase contract data are target sales contract data and target purchase contract data, respectively, and that a subcontracting relationship exists between the target sales contract data and the target purchase contract data, if the similarity between the name information in the sales contract data and the purchase contract data is greater than a preset first threshold, and the similarity between the subject information is greater than a preset second threshold, and the ratio between the amount information of the sales contract data and the amount information of the purchase contract data is less than or equal to the preset threshold, and the ratio between the amount information is greater than or equal to one, and the difference between the start date of the sales contract data and the start time of the purchase contract data is less than or equal to zero, and the difference between the end date of the sales contract data and the end time of the purchase contract data is greater than or equal to zero.

[0079] Optionally, the extraction module 201 includes:

[0080] The receiving submodule 2011 is used to receive a contract subcontracting audit request, wherein the contract subcontracting audit request includes: first registration information and second registration information;

[0081] A first extraction submodule 212 is used to perform natural language analysis on the image contract data in the contract database to extract the contract document data of the image contract data;

[0082] The second extraction submodule 2013 is used to extract the sales contract data corresponding to the first registration information from the contract document data, and to extract the purchase contract data corresponding to the second registration information from the contract document data, so as to obtain text contract data.

[0083] Optionally, the sales contract data and the purchase contract data further include: counterparty information, and the device further includes:

[0084] The elimination module 203 is used to eliminate data in the sales contract data in which the counterparty information and the first registration information or the second registration information have an internal enterprise association relationship based on a preset association information table, wherein the preset association information table is obtained by crawling the enterprise registration information based on a web crawler, and the preset association information table includes a preset association relationship between the enterprise registration information and the counterparty information.

[0085] Optionally, the device further includes:

[0086] The generation module 204 is used to generate a contract subcontracting audit report based on the target sales contract data and the target purchase contract data, and output the contract subcontracting audit report. The contract subcontracting audit report at least includes: business flow sequence, payment flow sequence, business participants, process participants, and business content.

[0087] In a data processing device provided by the present invention, the device includes: an extraction module for parsing the image contract data in the contract database to obtain text contract data, the text contract data includes: sales contract data, purchase contract data, the sales contract data and the purchase contract data include: subject information, name information, start date, end date and payment information; a determination module for screening target sales contract data and target purchase contract data that meet the preset contract subcontracting rules from the sales contract data and the purchase contract data according to the subject information, name information, start date, end date and payment information, and determining that the target sales contract data and the target purchase contract data have a subcontracting relationship. By identifying and extracting the contract data in the contract between the two parties of the project contract, and performing data analysis based on the key information in the extracted contract data, the sales contract and the purchase contract with a subcontracting relationship are determined, which reduces the human participation in the contract subcontracting audit process, thereby improving the efficiency and accuracy of the contract subcontracting audit.

[0088] As for the above-mentioned terminal device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0089] The data processing device includes a processor and a memory. The extraction module, determination module, determination submodule, receiving submodule, first extraction submodule, second extraction submodule, elimination module, and generation module are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.

[0090] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to solve the problem of low data loading efficiency and high browser cache pressure when the drop-down list displayed on the existing browser page is scrolled.

[0091] An embodiment of the present invention provides a storage medium on which a program is stored. When the program is executed by a processor, the data processing method is implemented.

[0092] An embodiment of the present invention provides a processor, which is used to run a program, wherein the data processing method is executed when the program is run.

[0093] Reference Figure 7The embodiment of the present invention provides a device, which includes at least one processor 301, at least one memory 302 and a bus 303 connected to the processor 301; wherein the processor 301 and the memory 302 communicate with each other through the bus 303; the processor 301 is used to call the program instructions in the memory 302 to execute the above data processing method. The device in this article can be a server, a PC, a PAD, a mobile phone, etc.

[0094] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing the following method steps:

[0095] A data processing method, the method comprising:

[0096] Parsing the image contract data in the contract database to obtain text contract data, the text contract data including: sales contract data and purchase contract data, the sales contract data and the purchase contract data including: subject information, name information, start date, end date and payment information;

[0097] According to the subject information, name information, start date, end date and payment information, target sales contract data and target purchase contract data that meet the preset contract subcontracting rules are screened from the sales contract data and purchase contract data, and it is determined that a subcontracting relationship exists between the target sales contract data and the target purchase contract data.

[0098] Optionally, the step of screening target sales contract data and target purchase contract data that meet preset contract subcontracting rules from the sales contract data and purchase contract data according to the subject information, name information, start date, end date and payment information, and determining that a subcontracting relationship exists between the target sales contract data and the target purchase contract data, includes:

[0099] If the similarity between the name information in the sales contract data and the purchase contract data is greater than a preset first threshold, and the similarity between the subject information is greater than a preset second threshold, and the ratio between the amount information of the sales contract data and the amount information of the purchase contract data is less than or equal to the preset threshold, and the ratio between the amount information is greater than or equal to one, and the difference between the start date of the sales contract data and the start time of the purchase contract data is less than or equal to zero, and the difference between the end date of the sales contract data and the end time of the purchase contract data is greater than or equal to zero, then it is determined that the sales contract data and the purchase contract data are target sales contract data and target purchase contract data respectively, and there is a subcontracting relationship between the target sales contract data and the target purchase contract data.

[0100] Optionally, the step of parsing the image contract data in the contract database to extract text contract data includes:

[0101] receiving a contract subcontracting audit request, wherein the contract subcontracting audit request includes: first registration information and second registration information;

[0102] Performing natural language analysis on the image contract data in the contract database to obtain contract document data of the image contract data;

[0103] The sales contract data corresponding to the first registration information is extracted from the contract document data, and the purchase contract data corresponding to the second registration information is extracted from the contract document data to obtain text contract data.

[0104] Optionally, the sales contract data and the purchase contract data further include: counterparty information, and before the step of screening target sales contract data and target purchase contract data that meet preset contract subcontracting rules from the sales contract data and the purchase contract data according to the subject information, name information, start date, end date, and payment information, and determining that a subcontracting relationship exists between the target sales contract data and the target purchase contract data, the step further includes:

[0105] According to the preset association information table, data in the sales contract data in which the counterparty information has a preset association relationship with the first registration information or the second registration information is eliminated, the preset association information table is obtained by capturing the enterprise registration information, and the preset association information table includes the preset association relationship between the enterprise registration information and the counterparty information.

[0106] Optionally, after the step of screening target sales contract data and target purchase contract data that meet preset contract subcontracting rules from the sales contract data and purchase contract data according to the subject information, name information, start date, end date and payment information, and determining that the target sales contract data and the target purchase contract data have a subcontracting relationship, the step further includes:

[0107] A contract subcontracting audit report is generated based on the target sales contract data and the target purchase contract data, and the contract subcontracting audit report is output. The contract subcontracting audit report at least includes: business flow sequence, payment flow sequence, business participants, process participants, and business content.

[0108] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0109] In a typical configuration, the device includes one or more processors (CPU), memory and bus. The device may also include input / output interface, network interface and the like.

[0110] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.

[0111] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0112] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0113] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0114] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A data processing method, characterized in that: The method comprises: Parsing the image contract data in the contract database to obtain text contract data, the text contract data including: sales contract data and purchase contract data, the sales contract data and the purchase contract data including: subject information, name information, start date, end date and payment information; According to the subject information, name information, start date, end date and payment information, target sales contract data and target purchase contract data that meet the preset contract subcontracting rules are screened from the sales contract data and the purchase contract data, and it is determined that there is a subcontracting relationship between the target sales contract data and the target purchase contract data, including: If, in the sales contract data and the purchase contract data, the similarity between the name information is greater than a preset first threshold, and the similarity between the subject information is greater than a preset second threshold, and the ratio between the payment information of the sales contract data and the payment information of the purchase contract data is less than or equal to a preset third threshold, and the ratio between the payment information is greater than or equal to one, and the difference between the start date of the sales contract data and the start time of the purchase contract data is less than or equal to zero, and the difference between the end date of the sales contract data and the end time of the purchase contract data is greater than or equal to zero, weights are assigned to four factors, namely, the similarity between the name information, the similarity between the subject information, the difference between the date of the sales contract data and the time of the purchase contract data, and the ratio between the payment information, to determine the weights of different factors, and compare the evaluation value determined by the weighted sum with the preset evaluation threshold. If the evaluation value is greater than or equal to the evaluation threshold, it is determined that the sales contract data and the purchase contract data are the target sales contract data and the target purchase contract data, respectively, and that a subcontracting relationship exists between the target sales contract data and the target purchase contract data.

2. The method according to claim 1, characterized in that: The step of parsing the image contract data in the contract database and extracting the text contract data includes: receiving a contract subcontracting audit request, wherein the contract subcontracting audit request includes: first registration information and second registration information; Performing natural language analysis on the image contract data in the contract database to obtain contract document data of the image contract data; The sales contract data corresponding to the first registration information is extracted from the contract document data, and the purchase contract data corresponding to the second registration information is extracted from the contract document data to obtain text contract data.

3. The method according to claim 2, characterized in that The sales contract data and the purchase contract data further include: counterparty information, and before the step of screening target sales contract data and target purchase contract data that meet preset contract subcontracting rules from the sales contract data and the purchase contract data according to the subject information, name information, start date, end date, and payment information, and determining that the target sales contract data and the target purchase contract data have a subcontracting relationship, the step further includes: According to the preset association information table, data in the sales contract data in which the counterparty information has a preset association relationship with the first registration information or the second registration information is eliminated, the preset association information table is obtained by capturing the enterprise registration information, and the preset association information table includes the preset association relationship between the enterprise registration information and the counterparty information.

4. The method according to claim 1, characterized in that: After the step of screening target sales contract data and target purchase contract data that meet the preset contract subcontracting rules from the sales contract data and the purchase contract data according to the subject information, name information, start date, end date and payment information, and determining that the target sales contract data and the target purchase contract data have a subcontracting relationship, the method further includes: A contract subcontracting audit report is generated based on the target sales contract data and the target purchase contract data, and the contract subcontracting audit report is output. The contract subcontracting audit report at least includes: business flow sequence, payment flow sequence, business participants, process participants, and business content.

5. A data processing device, characterized in that: The device comprises: An extraction module is used to parse the image contract data in the contract database to obtain text contract data, wherein the text contract data includes: sales contract data and purchase contract data, wherein the sales contract data and the purchase contract data include: subject information, name information, start date, end date and payment information; a determination module, configured to screen target sales contract data and target purchase contract data that meet preset contract subcontracting rules from the sales contract data and the purchase contract data according to the subject information, name information, start date, end date, and payment information, and determine that a subcontracting relationship exists between the target sales contract data and the target purchase contract data; Wherein, the determination module includes: A determination submodule is used to weight four factors, namely, the similarity between the name information, the similarity between the subject information, the difference between the date of the sales contract data and the time of the purchase contract data, and the ratio between the payment information, if the similarity between the name information in the sales contract data and the purchase contract data is greater than a preset first threshold, and the similarity between the subject information is greater than a preset second threshold, and the ratio between the payment information of the sales contract data and the payment information of the purchase contract data is less than or equal to a preset third threshold, and the ratio between the payment information is greater than or equal to one, and the difference between the start date of the sales contract data and the start time of the purchase contract data is less than or equal to zero, and the difference between the end date of the sales contract data and the end time of the purchase contract data is greater than or equal to zero, to determine the weights of different factors, and compare the evaluation value determined by the weighted sum with the preset evaluation threshold. If the evaluation value is greater than or equal to the evaluation threshold, it is determined that the sales contract data and the purchase contract data are target sales contract data and target purchase contract data, respectively, and that a subcontracting relationship exists between the target sales contract data and the target purchase contract data.

6. The device according to claim 5, characterized in that The extraction module comprises: A receiving submodule, configured to receive a contract subcontracting audit request, wherein the contract subcontracting audit request includes: first registration information and second registration information; A first extraction submodule is used to perform natural language analysis on the image contract data in the contract database to extract the contract document data of the image contract data; The second extraction submodule is used to extract the sales contract data corresponding to the first registration information from the contract document data, and to extract the purchase contract data corresponding to the second registration information from the contract document data to obtain text contract data.

7. An electronic device, characterized in that: The device includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus; the processor is used to call program instructions in the memory to execute the data processing method as described in any one of claims 1 to 4.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the data processing method according to any one of claims 1 to 4 is implemented.