CN109144674B - Contract processing apparatus and contract processing method - Google Patents

Contract processing apparatus and contract processing method Download PDF

Info

Publication number
CN109144674B
CN109144674B CN201710500254.3A CN201710500254A CN109144674B CN 109144674 B CN109144674 B CN 109144674B CN 201710500254 A CN201710500254 A CN 201710500254A CN 109144674 B CN109144674 B CN 109144674B
Authority
CN
China
Prior art keywords
contract
unit
operations
division
format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710500254.3A
Other languages
Chinese (zh)
Other versions
CN109144674A (en
Inventor
毕伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongsi Boan Technology Beijing Co ltd
Original Assignee
Zhongsi Boan Technology Beijing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongsi Boan Technology Beijing Co ltd filed Critical Zhongsi Boan Technology Beijing Co ltd
Priority to CN201710500254.3A priority Critical patent/CN109144674B/en
Publication of CN109144674A publication Critical patent/CN109144674A/en
Application granted granted Critical
Publication of CN109144674B publication Critical patent/CN109144674B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/466Transaction processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/01Customer relationship services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a contract processing device and a contract processing method which can split contracts and can conveniently change, update or terminate the contracts in advance. A contract processing device (100) for processing contracts written in natural language, comprising: a reading unit (101) that reads the contract; an analysis unit (102) that analyzes the contract read by the reading unit to obtain each constituent element constituting the contract; an extracting unit (103) that extracts an operation in the contract, data corresponding to the operation, and a condition to be satisfied by executing the operation, based on the respective constituent elements obtained by the analyzing unit; a dividing unit (104) for inserting dividing points between the operations based on a predetermined reference for an extraction contract composed of the operations, data, and conditions extracted by the extracting unit; and an output unit (105) that outputs the extraction contract in which the division points are inserted by the division unit.

Description

Contract processing apparatus and contract processing method
Technical Field
The present invention relates to a contract processing apparatus and a contract processing method, and more particularly, to a contract processing apparatus and a contract processing method capable of easily splitting a contract.
Background
A contract is a commonly-adhered-to treaty that at least two parties have made in order to determine their respective rights and obligations when handling an event, and a traditional contract is customized by natural language that is recognized by the parties that are signing. The object of use of natural language is a person, so as long as the person can read the contract, the person who signs the contract fulfills the respective obligations according to the treaty of the contract and enjoys the corresponding rights.
With the development of technology, many operations corresponding to contractual agreements are no longer performed by people. Shopping on the internet, for example, can be regarded as a contract, and a buyer purchases goods provided by a seller on the internet. On the premise of obtaining the authorization of the buyer and the seller, the buyer and the seller platform execute partial operations such as payment, collection and the like in the contract according to the set program, but the operations such as shipping, receiving and the like in the contract are completed by a person.
In recent years, blockchain technology has gained increasing attention and application. The intelligent contracts deployed on the blockchain may be considered as coded versions of the traditional contracts. The intelligent contracts correspond to the traditional contracts and can be automatically executed under certain conditions, but the intelligent contracts are independently made by parties who sign the intelligent contracts like the traditional contracts, and no fixed templates are made in a unified standard.
Disclosure of Invention
As more and more traditional contracts are currently being made in natural language but exist in code for automatic execution. For example, in the case of revising a contract, since it is difficult to directly modify on the coded contract and it is also difficult for a direct modification to understand what the modified code means, it is necessary to make a conventional contract in a natural language by modifying first and then code the modified conventional contract. In this case, there is a problem in that the coded contract is greatly modified in order to reflect a small modification in the conventional contract made by the natural language.
In particular, smart contracts, once deployed on blockchain, cannot be modified, can only be executed passively, and there is currently no efficient way to split, update, and terminate smart contracts. However, in a real situation, after a contract is made, a situation of terminating the contract in advance or updating or modifying the contract occurs for a specific reason. Existing smart contract solutions are not compatible with real contracts and even have to be robustly executed once deployed, and cannot be modified even if problems are found in the contracts.
In view of the above, the present invention provides a contract processing apparatus and a contract processing method for processing a conventional contract to generate a detachable contract. The generated contract may be in at least one of a structured language format, a text format, a code format, etc. Regardless of the format, by combining the split contracts, modification, updating, and termination of the contracts can be facilitated.
A contract processing apparatus according to a first aspect of the present invention is a contract processing apparatus that processes a contract written in a natural language, including: a reading unit that reads the contract; an analysis unit that analyzes the contract read by the reading unit to obtain each constituent element constituting the contract; an extracting unit that extracts an operation in the contract, data corresponding to the operation, and a condition to be satisfied by executing the operation, based on the respective constituent elements obtained by the analyzing unit; a dividing unit that inserts dividing points between the operations based on a predetermined reference for an extraction contract made up of the operations, data, and conditions extracted by the extracting unit; and an output unit that outputs the extraction contract into which the division point is inserted by the division unit.
According to the contract processing apparatus, a detachable processed contract can be output, so that the contract can be easily changed, updated, or terminated in advance.
A second aspect of the present invention is the contract processing apparatus of the first aspect, wherein the extracted contract output by the output unit, which is inserted with a division point, is modified, updated, and terminated in advance by splitting at the division point.
According to the contract processing apparatus described above, modification, update, and premature termination of a contract can be performed using the division points.
A contract processing apparatus of a third aspect of the invention is the contract processing apparatus of the first or second aspect, wherein operations having atomicity are divided together by the dividing unit.
According to the contract processing apparatus described above, it is possible to ensure that the contract is not split between operations having atomicity.
A contract processing apparatus according to a fourth aspect of the present invention is the contract processing apparatus according to the first or second aspect, wherein operations that do not perform division in a business flow are divided together by the dividing unit.
According to the contract processing device, the operation which should be carried out together on the business flow can be ensured not to be split.
A contract processing apparatus of a fifth aspect of the present invention is the contract processing apparatus of the first to fourth aspects, wherein the output unit has a conversion function to output the extracted contract format inserted with the division point after converting it into at least one format of a structured language format, a text format, and a code format.
According to the contract processing apparatus, a plurality of formats of processed contracts are generated, and the processed contracts can be applied to various applications.
A contract processing apparatus of a sixth aspect of the invention is the contract processing apparatus of the first to fourth aspects, wherein the output unit has a conversion function to output the extracted contract with the division point inserted after converting the format into a code format that can be deployed as an intelligent contract into a blockchain.
According to the contract processing apparatus, the processed contract in the code format is generated, and the processed contract can be applied to the blockchain as an intelligent contract.
A contract processing apparatus of a seventh aspect of the invention is the contract processing apparatus of the sixth aspect, wherein the smart contract is capable of being modified, updated, and terminated in advance by being split at the division point.
According to the contract processing apparatus described above, modification, update, and premature termination of the smart contract can be performed using the division points.
The eighth aspect of the present invention is a contract processing method for processing a contract written in a natural language, comprising the steps of: a reading step of reading the contract; an analysis step of analyzing the read contract to obtain each constituent element constituting the contract; an extracting step of extracting an operation in the contract, data corresponding to the operation, and a condition to be satisfied for executing the operation, based on the obtained respective constituent elements; a dividing step of inserting dividing points between the operations based on a predetermined reference for an extraction contract composed of the extracted operations, data, and conditions; and an output step of outputting the extracted contract with the division points inserted.
According to the contract processing method, a detachable processed contract can be output, so that the contract can be easily changed, updated or terminated in advance.
A ninth aspect of the present invention is the contract processing apparatus of the eighth aspect, wherein the extracted contract inserted with a division point output in the outputting step is modified, updated, and terminated in advance by splitting at the division point.
According to the contract processing method described above, modification, update, and premature termination of contracts can be performed using the division points.
A tenth aspect of the present invention is the contract processing apparatus of the eighth or ninth aspect, wherein the operations having atomicity are divided together by the dividing unit.
According to the contract processing method, it can be ensured that the splitting of the contract is not performed between operations having atomicity.
A contract processing method according to an eleventh aspect of the present invention is the contract processing apparatus according to the eighth or ninth aspect, wherein operations that do not perform division in a business flow are divided together by the dividing unit.
According to the contract processing method, the operation which should be carried out together on the business flow can be ensured not to be split.
A contract processing method of a twelfth aspect of the present invention is, in the contract processing apparatus of the eighth to eleventh aspects, that in the outputting step, the extracted contract format inserted with the division point is output after being converted into at least one format of a structured language format, a text format, and a code format.
According to the contract processing method, the processed contracts in various formats are generated, and the processed contracts can be applied to various occasions.
A contract processing method of a thirteenth aspect of the invention is, in the contract processing apparatus of the eighth to eleventh aspects, that in the outputting step, the extracted contract format inserted with the division point is outputted after being converted into a code format that can be deployed as an intelligent contract into a blockchain.
According to the contract processing method, the processed contract in the code format is generated, and the processed contract can be applied to the blockchain as an intelligent contract.
A contract processing method of a fourteenth aspect of the invention is, in the contract processing apparatus of the thirteenth aspect, the smart contract being capable of being modified, updated, and terminated in advance by splitting at the division point.
According to the contract processing method, modification, updating and early termination of the intelligent contract can be performed by using the division points.
In summary, according to the contract processing apparatus and the contract processing method of the present invention, by extracting operation steps of a contract, execution of the contract is made to be stepwise, each step is a task having an atomic operation, and the tasks are transferred by a condition, so that the contract can be converted into a task workflow connected by the condition, and a division point of the task can be set between the atomic tasks. The execution of the following contracts can be terminated by using the contracts after splitting the dividing points, the states from the execution of the contracts to the dividing points are used as the execution results of the contracts, and new task workflows can be connected to form new contracts for execution, so that the update of the contracts is realized.
However, if the contract generation device and the contract generation method of the present invention are used to generate the smart contract in the code format, the division points can be inserted into the smart contract, and the smart contract can be easily split and updated.
Drawings
Fig. 1 is a block diagram of a contract processing apparatus of the present invention.
Fig. 2 is a flow chart of a contract processing method of the invention.
FIG. 3 is a flow chart of generating a smart contract using the contract processing method of the present invention.
Detailed Description
The contract processing method and contract processing apparatus of the present invention are described below. In the present invention, the contract to be processed is a contract written by natural language. The natural language refers to a language used by humans, for example, a language which is naturally evolved with a document, such as chinese used by chinese, english used by english and american countries, and a language such as a world language created for a specific purpose. The contract written in natural language in the present invention means a contract written in natural language such as chinese, english, and world language.
First, the structure of the contract processing apparatus of the present invention will be described with reference to fig. 1.
As shown in fig. 1, the contract processing apparatus 100 of the present invention includes the following constituent elements: a reading unit 101 for reading a contract; an analysis unit 102 that analyzes the contract read by the reading unit 101; an extraction unit 103 that extracts minimum operations, data corresponding to each minimum operation, and conditions under which the operations are performed from the results analyzed by the analysis unit 102; a dividing unit 104 that divides the minimum operation extracted by the extracting unit 103; and an output unit 105 that outputs the divided contracts.
The contract read by the reading unit 101 is output to the analysis unit 102. The contract can be regarded as a set of descriptive contents, operations (actions) to be performed, data corresponding to the operations, and conditions under which the operations are performed, and when the conditions are satisfied, the corresponding operations are triggered to change the data. The analysis unit 102 analyzes the contract to distinguish each constituent element constituting the contract, such as descriptive content, operation, data, and conditions included in the contract.
The analysis unit 102 analyzes the semantics of each word and phrase, for example, by using an existing semantic feature analysis algorithm, determines whether the semantics correspond to descriptive contents, operations, data, or conditions by using a semantic dictionary stored in advance, and establishes a correspondence between each word and phrase and its semantics according to the determination result. If the accuracy of the automatic analysis as described above is not satisfactory, the analysis may be assisted manually.
After the analysis unit 102 performs analysis on the contract, the result of the analysis is sent to the extraction unit 103. The extraction unit 103 extracts operations, data, and conditions by removing descriptive contents in the contract. The operations include a minimum operation, i.e., an operation that cannot be divided. For example, one ticket purchasing operation may be divided into one transfer operation and one ticket issuing operation, and neither the transfer operation nor the ticket issuing operation can be subdivided into more operations, so that the transfer operation and the ticket issuing operation are minimum operations and the ticket purchasing operation is not minimum operations. In this case, the data corresponding to the transfer operation is, for example, the amount of the ticket purchased, and the condition for performing the ticket issuing operation is that the transfer operation is completed.
The operation and the data corresponding to the operation are referred to herein as tasks, and the minimum operation and its corresponding data are the minimum tasks. The tasks are related by the condition, and thus a plurality of tasks formed by the related condition become task workflow. In the above example of the ticket purchasing operation, the ticket purchasing operation and the data corresponding thereto constitute one ticket purchasing task, one minimum operation of the ticket purchasing operation, that is, the transfer operation and the data corresponding thereto constitute one minimum task (transfer task), and the other minimum operation, that is, the ticket discharging operation and the data corresponding thereto constitute the other minimum task (ticket discharging task). The ticket purchase task may be associated with a subsequent notification task, such as a successful purchase of the ticket purchaser by the ticket issuer, provided that the transfer operation is successful. The transfer task and the discharge task in the ticket purchase task may be associated with a condition that the transfer has succeeded. The transfer task and the ticket issuing task are completed either together or fail together due to failure, and have atomicity.
The extraction unit 103 extracts each operation and its corresponding data, and can package each operation and its corresponding data into one task. The tasks are associated with each other by using the conditions extracted together. The operations may be minimum operations, or may be a combination of minimum operations and non-minimum operations. Non-minimum operations are possible because there may be closely related non-minimum operations that are not properly split into minimum operations in an actual business process.
The dividing unit 104 receives each task (including each operation and data thereof) and the condition extracted by the extracting unit 103, and divides the task according to a prescribed rule, that is, inserts a division point between the tasks. The predetermined rule may be a rule stored in advance or may be a rule accumulated by continuous learning. For example, for an atomic task, it is considered as a whole, so the rule for it is that the division point is inserted before and after the whole of two or more tasks having atomicity but cannot be inserted in between them.
In the example of the ticket purchase task, the transfer task and the ticket discharge task have atomicity, so the dividing point cannot be inserted between them, and the ticket purchase task and the subsequent purchase success notification task in actual operation are not atomic but are not split in the business flow, so the dividing point cannot be inserted between them. If a refund task is associated with the condition "ticket purchaser initiates a refund request" after purchasing a success notification task, a dividing point may be inserted between the success notification task and a subsequent refund task since the refund task can be split from the previous ticket purchaser task and the success notification task in the actual operation flow.
The division unit 104 inserts division points into the extracted contracts to perform division, whereby a task workflow provided with the division points can be obtained. These task workflows are sent to the output unit 105, and the processed contracts in at least one of the structured language format, the text format, and the code format are output by the output unit 105. Here, the output unit 105 has a conversion function, and converts the contract into the three formats, into which the division unit 104 inserts the division point, and outputs the converted contract. The structured language format refers to that contract constituent elements are parsed into object-oriented attribute descriptions and filled into templates to form structured object description contracts which can be read by computers, interfaces and the like. The text format refers to a contract which is formed by analyzing contract constituent elements into text descriptions and filling the text descriptions into a template, and is readable natural language text description, so that the contract is used as an electronic contract text. The code format refers to the fact that the contract constituent elements are parsed into codes and filled into templates to form programming languages that can be read by programmers or computers for subsequent compilation and execution of the contract codes.
The contracts processed by the contract processing device as described above can be split at the division points inserted therein as task workflows, whereby the contracts can be split at arbitrary division points, and the contracts can be modified, updated or terminated in advance at the division points, and new contracts can be added at the division points.
For example, in the case of a contract to be modified, a portion to be modified can be found on the outputted processed contract, the portion to be modified is modified, and no modification is made for a portion between two adjacent division points that is not modified.
When the contract is terminated in advance, the contract is terminated when the contract is executed to a certain division point, and the contract can be terminated smoothly without affecting or with as little influence as possible on the parties.
The contract processing method of the present invention is described below with reference to fig. 2.
First, a contract is read in step S01. As described above, the contract is a conventional contract including a language description of descriptive contents, conditions, operations, and data.
After reading the contract, in step S02, the read contract is analyzed. Analysis is performed, for example, by existing semantic feature analysis algorithms, and analysis may be aided by manual work. The purpose of the analysis is to distinguish between descriptive content, operations, and their data and conditions included in the contract.
Next, after the contract is analyzed, the operation and its corresponding data and conditions are extracted in step S03, and descriptive contents in the contract are removed. The operation and the data corresponding to the operation are called tasks, and the minimum operation which cannot be subdivided and the data corresponding to the minimum operation are the minimum tasks. The tasks are related by the condition, and thus a task workflow is formed by the conditional association of a plurality of tasks.
In the following step S04, each extracted task is divided according to a predetermined rule, that is, division points are inserted between tasks. The rule of division may be to divide tasks having atomicity together, or to divide tasks that are not split in the operation flow together.
After the division points are inserted into the extracted contracts in step S04, the contracts in various formats can be generated by outputting them in step S05. The format conversion is performed in step S05 and then output. The contracts processed by the contract processing device as described above can be split at the division points inserted therein as task workflows, whereby the contracts can be split at arbitrary division points, and the contracts can be changed, updated or terminated in advance at the division points, and new contracts can be added at the division points.
After splitting the contract, if the contract needs to be updated, the part which is not executed after splitting can be executed by using a new contract, wherein the new contract is formed by a task flow, and the initial state of the new contract is the state of executing the old contract to the splitting point; if the contract needs to be terminated, after the split point is found, the split part is not executed any more, and the state of the split point is the final state of the contract.
Example 1
In embodiment 1, a process of a payment contract made by a credit card user with a credit card issuing bank by using the contract processing apparatus and the contract processing method of the present invention is described.
It is assumed herein that a credit card user has contracted a payment contract with a credit card issuing bank. The payment contract is automatically run on the bank's server for the user's trust in the bank.
The main contents of the repayment contract are:
(1) The bank informs the user of the total amount of credit card money (total amount to be returned) in the last month through the short message.
(2) The user confirms the total amount of credit card money and logs into the bank website for repayment 1 day before the next month.
(3) The bank sells and informs the user of the credit card information after repayment.
The contract processing apparatus and the contract processing method according to the present invention are used to process the repayment contract as follows.
First, the reading unit 101 reads the payment contract described above.
After reading the contract, the analysis unit 102 analyzes the read payment contract. For example, the analysis is performed by the existing semantic feature analysis algorithm, and the analysis result is as follows:
the conditions in the contract are: the bank obtains the total amount of the credit card; the bank has collected the money.
The operations in the contract are: the bank informs the user; repayment by users; the bank sells accounts; the bank informs the user.
The data in the contract are: credit card monetary amount; repayment time; credit card information.
Other content in the contract is descriptive content that is removed at a later extraction action.
Next, after analyzing the contract, the providing unit 103 extracts the above conditions, operations, and data corresponding thereto. Wherein the operation and the data corresponding to the operation are collectively referred to as a task, and the task of informing the user of the amount of money by the bank includes an informing operation and an amount of money by the data corresponding to the informing operation. The tasks are related by conditions, such as the relationship between the tasks paid by the user and the tasks sold by the bank by the condition 'bank is paid'. Thus, a task workflow is constituted by conditionally associating a plurality of tasks.
Then, the dividing unit 104 divides each extracted task according to a predetermined rule, that is, inserts a division point between tasks. For example, the tasks paid by the user and the tasks sold by the bank have atomicity, so that the two tasks cannot be split, and the dividing point is set before the tasks paid by the user and after the tasks sold by the bank. Further, although the task of the bank for posting and the task of the bank for notifying the user of the credit card information after the payment do not have atomicity, the two tasks are not split in terms of the business flow, so that it is preferable that the dividing point is not set between the two tasks.
After the division unit 104 inserts the division point into the extracted contract, the division point-inserted contract is output by the output unit 105. The output contract is in a structured language format or in a text format or in a code format. Since the bank stores the processed contract in the server in such a manner as to be automatically executable, the task flow in the contract is repeatedly executed before the contract is terminated, what is outputted in the present embodiment is a code format that is convenient for the server to execute.
Since the contract subjected to the above processing is a contract in which the division point is set, splitting, updating, modification, and premature termination of the contract can be easily performed. For example, a credit card user may wish to add content in a contract that is paid for a maximum amount of one consumption in a monthly payment amount exceeding 1 ten thousand yuan, and the bank may be able to easily find the appropriate division and add the added content to the contract and immediately begin executing the contract with the added content by the server. Also, in the case where a contract is to be terminated in advance, for example, a part of the contract is to be deleted, an appropriate division point can be easily found to terminate the contract without adversely affecting both parties to the contract.
Example 2
In this embodiment, a scenario in which a contract processed by the contract processing apparatus and the contract processing method of the present invention is applied to generation of smart contracts (smart contracts) will be described with reference to fig. 3.
The process of generating the smart contract is the same as the steps described in the above embodiment, namely:
first, a contract is read in step S01. The contract is a traditional contract that includes descriptive content, operations, data, and a phonetic description of the condition.
After reading the contract, in step S02, the read contract is analyzed, for example, by an existing semantic feature analysis algorithm, to distinguish descriptive content, operations, data, and conditions included in the contract.
Next, after the contract is analyzed, the operation and its corresponding data and conditions are extracted in step S03, and descriptive content in the contract is removed. And encapsulating the operation and the data corresponding to the operation into tasks, and associating the tasks through conditions. Thus a task workflow is constituted by conditionally associating a plurality of tasks.
In the following step S04, each extracted task is divided according to a predetermined rule, that is, division points are inserted between tasks.
After the division point is inserted into the extracted contract in step S04, the contract in the form of a code is outputted in step S05.
The above steps S01 to S05 in fig. 3, i.e., steps S01 to S05 in fig. 2, wherein step S05 in fig. 3 outputs a contract that must be in a code format. The greatest difference between fig. 3 and fig. 2 is that step S06 is also shown in fig. 3. In step S06, the outputted code-form contract can be deployed as a smart contract into the blockchain.
Through the above steps, a coded smart contract for deployment into a blockchain can be generated. The contracts processed by the contract processing method as described above can be split at the division point inserted in step S04 as a task workflow, whereby the contracts can be split at an arbitrary division point, and the contracts can be changed, updated or terminated in advance at the division point, or new contracts can be added at the division point.
As described above, the smart contracts deployed into the blockchain are not modifiable. Even if the intelligent contracts before being deployed to the blockchain are generally made by coding contracts written by natural language, modification cannot be intuitively performed when modification is performed, and even if modification is completed, the intelligent contracts can be successfully executed without loopholes through a series of debugging. After the contract processing method is adopted to process the contract, the proper dividing points can be easily found to modify the generated intelligent contract, and whether the modification does not affect the execution of the intelligent contract can be judged through the dividing points.
The foregoing is only illustrative of the preferred embodiments of the present invention, and it will be appreciated by those skilled in the art that changes, modifications, variations, substitutions and the like may be made without departing from the principles and spirit of the invention, and such changes, modifications, substitutions and variations are intended to be within the scope of the invention. It will be appreciated by those skilled in the art that the present invention can be provided as a system, method, or computer program product. The present invention can be realized entirely in hardware, entirely in software, or a combination of software and hardware.

Claims (14)

1. A contract processing apparatus that processes contracts written in natural language, comprising:
a reading unit that reads the contract;
an analysis unit that analyzes the contract read by the reading unit to obtain each constituent element constituting the contract;
an extracting unit that extracts an operation in the contract, data corresponding to the operation, and a condition to be satisfied by executing the operation, based on the respective constituent elements obtained by the analyzing unit;
a dividing unit that inserts dividing points between the operations based on a predetermined reference for an extraction contract made up of the operations, data, and conditions extracted by the extracting unit; and
and an output unit that outputs the extraction contract into which the division point is inserted by the division unit.
2. The contract processing apparatus as recited in claim 1, wherein:
the extracted contract inserted with the division point output by the output unit is modified, updated, and terminated in advance by splitting at the division point.
3. Contract processing device according to claim 1 or 2, characterized in that:
operations having atomicity are partitioned together by the partitioning unit.
4. Contract processing device according to claim 1 or 2, characterized in that:
operations that do not split on the business process are partitioned together by the partitioning unit.
5. Contract processing device according to claim 1 or 2, characterized in that:
the output unit has a conversion function of outputting the format of the extraction contract inserted with the division point after converting it into at least one of a structured language format, a text format, and a code format.
6. Contract processing device according to claim 1 or 2, characterized in that:
the output unit has a conversion function of converting the format of the extracted contract inserted with the division point into a code format, which can be deployed as an intelligent contract into a blockchain, and then outputting the code format.
7. The contract processing apparatus as recited in claim 6, wherein:
the smart contract can be modified, updated, and terminated prematurely by splitting at the split point.
8. A contract processing method for processing contracts written in natural language, comprising the steps of:
a reading step of reading the contract;
an analysis step of analyzing the read contract to obtain each constituent element constituting the contract;
an extracting step of extracting an operation in the contract, data corresponding to the operation, and a condition to be satisfied for executing the operation, based on the obtained respective constituent elements;
a dividing step of inserting dividing points between the operations based on a predetermined reference for an extraction contract composed of the extracted operations, data, and conditions; and
and outputting the extracted contract inserted with the dividing point.
9. The contract processing method as recited in claim 8, characterized in that:
the extracted contract inserted with the division point output in the outputting step is modified, updated, and terminated in advance by splitting at the division point.
10. A contract processing method as claimed in claim 8 or 9, characterized in that:
operations with atomicity are partitioned together in the partitioning step.
11. A contract processing method as claimed in claim 8 or 9, characterized in that:
operations that do not split on the business process are partitioned together in the partitioning step.
12. A contract processing method as claimed in claim 8 or 9, characterized in that:
in the outputting step, the extracted contract with the division points inserted is output after being converted into at least one of a structured language format, a text format, and a code format.
13. A contract processing method as claimed in claim 8 or 9, characterized in that:
in the outputting step, the extracted contract with the division points inserted is outputted after being converted into a code format, which can be deployed as an intelligent contract into a blockchain.
14. The contract processing method as recited in claim 13, characterized in that:
the smart contract can be modified, updated, and terminated prematurely by splitting at the split point.
CN201710500254.3A 2017-06-27 2017-06-27 Contract processing apparatus and contract processing method Active CN109144674B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710500254.3A CN109144674B (en) 2017-06-27 2017-06-27 Contract processing apparatus and contract processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710500254.3A CN109144674B (en) 2017-06-27 2017-06-27 Contract processing apparatus and contract processing method

Publications (2)

Publication Number Publication Date
CN109144674A CN109144674A (en) 2019-01-04
CN109144674B true CN109144674B (en) 2024-03-08

Family

ID=64805218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710500254.3A Active CN109144674B (en) 2017-06-27 2017-06-27 Contract processing apparatus and contract processing method

Country Status (1)

Country Link
CN (1) CN109144674B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111752574B (en) * 2020-05-08 2021-03-30 北京科技大学 Intelligent executable contract construction and execution method and system of legal contract
CN113448592B (en) * 2021-02-08 2023-03-24 北京科技大学 Intelligent legal contract generation method based on contract text markup language
CN118014334B (en) * 2024-04-08 2024-06-07 微神马科技(大连)有限公司 Service recording method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281625A (en) * 2007-04-06 2008-10-08 鸿富锦精密工业(深圳)有限公司 Method for disassembling contract terms
CN104463507A (en) * 2014-12-30 2015-03-25 山东中创软件工程股份有限公司 Method and system for establishing service contracts
CN105913219A (en) * 2016-04-05 2016-08-31 周宇航 Method and system used for monitoring and managing whole actuating process of electronic contract
CN106709704A (en) * 2016-11-23 2017-05-24 杭州秘猿科技有限公司 Intelligent contract upgrading method based on permission chain
CN106846149A (en) * 2016-12-27 2017-06-13 广州新博庭网络信息科技股份有限公司 A kind for the treatment of method and apparatus of business object
CN106875303A (en) * 2016-11-15 2017-06-20 阿里巴巴集团控股有限公司 The method and apparatus for realizing electronic protocol signing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170048209A1 (en) * 2015-07-14 2017-02-16 Fmr Llc Crypto Key Recovery and Social Aggregating, Fractionally Efficient Transfer Guidance, Conditional Triggered Transaction, Datastructures, Apparatuses, Methods and Systems
EP3394779B1 (en) * 2015-12-22 2021-11-03 Financial & Risk Organisation Limited Methods and systems for identity creation, verification and management

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281625A (en) * 2007-04-06 2008-10-08 鸿富锦精密工业(深圳)有限公司 Method for disassembling contract terms
CN104463507A (en) * 2014-12-30 2015-03-25 山东中创软件工程股份有限公司 Method and system for establishing service contracts
CN105913219A (en) * 2016-04-05 2016-08-31 周宇航 Method and system used for monitoring and managing whole actuating process of electronic contract
CN106875303A (en) * 2016-11-15 2017-06-20 阿里巴巴集团控股有限公司 The method and apparatus for realizing electronic protocol signing
CN106709704A (en) * 2016-11-23 2017-05-24 杭州秘猿科技有限公司 Intelligent contract upgrading method based on permission chain
CN106846149A (en) * 2016-12-27 2017-06-13 广州新博庭网络信息科技股份有限公司 A kind for the treatment of method and apparatus of business object

Also Published As

Publication number Publication date
CN109144674A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
US10943274B2 (en) Automation and digitizalization of document processing systems
CN107479882B (en) Generating method and generating device of application page, medium and electronic equipment
US6850950B1 (en) Method facilitating data stream parsing for use with electronic commerce
CN108804140B (en) Batch instruction analysis method, device and equipment
CN110532536B (en) Rule configuration method and device
US10845939B2 (en) Method and system for determining user interface usage
WO2005071609A1 (en) Constraint condition solving method, constraint condition solving device, and constraint condition solving system
CN109144674B (en) Contract processing apparatus and contract processing method
JP2004503841A (en) Method and system for reporting XML data from legacy computer systems
CN110765101B (en) Label generation method and device, computer readable storage medium and server
US20100257443A1 (en) System and Process for Producing a Two-Layer Document, and a Two-Layer Document Produced Accordingly
US20170300305A1 (en) Executable guidance experiences based on implicitly generated guidance models
EP1402345A2 (en) Software development
CN108268615B (en) Data processing method, device and system
CN111752565A (en) Interface generation method and device, computer equipment and readable storage medium
Almendros-Jiménez et al. Describing use-case relationships with sequence diagrams
CN111241803A (en) Method and device for generating text file, computer equipment and readable storage medium
CN108804685B (en) Asset hosting and monitoring task processing method and device
CN112162744A (en) Automatic code generation method and device based on business scene
CN113360043A (en) Service processing method and device
CN112069808A (en) Financing wind control method and device, computer equipment and storage medium
CN112464927A (en) Information extraction method, device and system
CN101826176A (en) Personal finance billing input and intelligent classification technique
CN114861622A (en) Documentary credit generating method, documentary credit generating device, documentary credit generating equipment, storage medium and program product
CN110502483B (en) Data processing method, data processing device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant