CN110705240A - Contract generation method and device, computer equipment and storage medium - Google Patents

Contract generation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110705240A
CN110705240A CN201910935556.2A CN201910935556A CN110705240A CN 110705240 A CN110705240 A CN 110705240A CN 201910935556 A CN201910935556 A CN 201910935556A CN 110705240 A CN110705240 A CN 110705240A
Authority
CN
China
Prior art keywords
contract
contract template
template
preset
judgment
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.)
Pending
Application number
CN201910935556.2A
Other languages
Chinese (zh)
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.)
Shenzhen Qianhai Huanlianyi Information Technology Service Co Ltd
Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd
Original Assignee
Shenzhen Qianhai Huanlianyi Information Technology Service 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 Shenzhen Qianhai Huanlianyi Information Technology Service Co Ltd filed Critical Shenzhen Qianhai Huanlianyi Information Technology Service Co Ltd
Priority to CN201910935556.2A priority Critical patent/CN110705240A/en
Publication of CN110705240A publication Critical patent/CN110705240A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services; Handling legal documents
    • G06Q50/188Electronic negotiation

Abstract

The invention discloses a contract generation method, a contract generation device, computer equipment and a storage medium. The method comprises the following steps: if the preset processing time point is reached, generating a contract template judgment rule according to preset configuration parameters; judging whether the contract template meets a contract template judgment rule or not; if the contract template meets the contract template judgment rule, judging whether the contract template meets the preset generation condition according to a preset contract library; if the contract template meets the preset generation condition, generating a newly added contract corresponding to the contract template, adding the newly added contract into a contract library, and marking the contract template as processed; and if the contract template does not meet the preset generation condition, marking the contract template as processed. By the method, the contracts can be efficiently generated according to the preset contract generation sequence, the contracts can be prevented from being generated and signed according to the accurate sequence, and the purpose of accurately and efficiently generating the contracts is achieved.

Description

Contract generation method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a contract generation method and apparatus, a computer device, and a storage medium.
Background
When an enterprise cooperates with other enterprises, the enterprise needs to sign contracts, and in some cases, the enterprise signs multi-party authority confirming contracts with related parties, and the multi-party contracts contained in the authority confirming contracts need to be signed according to a correct authority confirming sequence to have legal effectiveness. The traditional technical method is to generate all the right-confirming contracts at one time and inform related signing parties of carrying out contract signing on line or off line, and the specific signing sequence of the generated right-confirming contracts needs to be manually confirmed by enterprise staff, so that the method is low in generating efficiency and difficult to ensure that the signing sequence of the generated right-confirming contracts is accurate, or the right-confirming contracts are generated one by one according to the signing sequence of the right-confirming contracts, but the method consumes a large amount of human resources of enterprises, and increases the enterprise cost. Therefore, the existing contract generating method has the problem that the right-confirming contract cannot be accurately and efficiently generated.
Disclosure of Invention
The embodiment of the invention provides a contract generating method, a contract generating device, computer equipment and a storage medium, and aims to solve the problem that the right-confirming contract cannot be accurately and efficiently generated by a contract generating method in the prior art.
In a first aspect, an embodiment of the present invention provides a contract generating method, which includes:
if the preset processing time point is reached, generating a contract template judgment rule according to preset configuration parameters;
judging whether a contract template contained in a preset contract template set meets the contract template judgment rule or not;
if the contract template meets the contract template judgment rule, judging whether the contract template meets a preset generation condition according to a preset contract library;
if the contract template meets the preset generating condition, generating a newly added contract corresponding to the contract template, adding the newly added contract to the contract library, and marking the contract template as processed;
and if the contract template does not meet the preset generation condition, marking the contract template as processed.
In a second aspect, an embodiment of the present invention provides a contract generating apparatus, including:
the judgment rule generating unit is used for generating a contract template judgment rule according to preset configuration parameters if a preset processing time point is reached;
a contract template judgment unit, configured to judge whether a contract template included in a preset contract template set satisfies the contract template judgment rule;
the contract generation judging unit is used for judging whether the contract template meets preset generation conditions according to a preset contract library if the contract template meets the contract template judging rule;
a newly-added contract generating unit, configured to generate a newly-added contract corresponding to the contract template if the contract template meets a preset generating condition, add the newly-added contract to the contract library, and mark the contract template as processed;
and the contract template marking unit is used for marking the contract template as processed if the contract template does not meet the preset generation condition.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor, when executing the computer program, implements the contract generating method according to the first aspect.
In a fourth aspect, the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, causes the processor to execute the contract generating method according to the first aspect.
The embodiment of the invention provides a contract generation method, a contract generation device, computer equipment and a storage medium. If the preset processing time point is reached, generating a contract template judgment rule according to preset configuration parameters; judging whether the contract template meets a contract template judgment rule or not; if the contract template meets the contract template judgment rule, judging whether the contract template meets the preset generation condition according to a preset contract library; if the contract template meets the preset generation condition, generating a newly added contract corresponding to the contract template, adding the newly added contract into a contract library, and marking the contract template as processed; and if the contract template does not meet the preset generation condition, marking the contract template as processed. By the method, the contracts can be efficiently generated according to the preset contract generation sequence, the contracts can be prevented from being generated and signed according to the accurate sequence, and the purpose of accurately and efficiently generating the contracts is achieved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart of a contract generation method according to an embodiment of the present invention;
FIG. 2 is a schematic sub-flow chart of a contract generation method according to an embodiment of the present invention;
FIG. 3 is a schematic view of another sub-flow of a contract generation method according to an embodiment of the present invention;
FIG. 4 is another schematic flow chart of a contract generation method according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of a contract generation method according to an embodiment of the present invention;
FIG. 6 is a schematic block diagram of a contract generation apparatus provided by an embodiment of the present invention;
FIG. 7 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a schematic flow chart of a contract generating method according to an embodiment of the present invention. The contract generating method is applied to a user terminal, and the method is executed through application software installed in the user terminal, namely, the user terminal is a terminal device, such as a desktop computer, a notebook computer, a tablet computer or a mobile phone, for executing the contract generating method to generate the contract. As shown in fig. 1, the method includes steps S110 to S150.
And S110, if the preset processing time point is reached, generating a contract template judgment rule according to preset configuration parameters.
And if the preset processing time point is reached, generating a contract template judgment rule according to preset configuration parameters. Specifically, the preset processing time point is a time point preset by the user, the preset processing time point may be a certain fixed time point or a time period for performing periodic processing, the configuration parameter is parameter information for generating a contract template determination rule, and the contract template determination rule is a rule for determining whether a contract template to be processed meets a processing requirement.
In one embodiment, as shown in FIG. 2, step S110 includes sub-steps S111 and S112.
And S111, configuring the time limit judgment rule in the contract template judgment rule according to the time limit information in the configuration parameters.
And S112, configuring the processing judgment rule in the contract template judgment rule according to the rejection condition in the configuration parameters.
Specifically, the contract template determination rule may be configured according to a configuration parameter, specifically, the term determination rule is used to determine whether the creation time of the contract template exceeds a processing term, the processing determination rule is used to determine whether the contract template has been processed, the configuration parameter includes time limit information and a rejection condition, before processing the contract template, the contract template needs to be determined according to the contract template determination rule, and if the contract template meets the contract template determination rule, the contract template is processed. Specifically, the term judgment rule may judge whether the creation time of the contract template exceeds the processing term, the processing judgment rule may judge whether the contract template has been processed, and if a certain contract template has been processed, the contract template may not be processed again.
And S120, judging whether the contract template contained in the preset contract template set meets the contract template judgment rule.
And judging whether the contract template contained in the preset contract template set meets the contract template judgment rule or not. The contract template set comprises a plurality of contract templates, the contract templates comprise information such as contract types, contract formats, contract contents, signer information, contract number dependencies and the like, the contract types are specific types of generated contracts, such as buying and selling contracts, mortgage contracts and borrowing contracts, the contract formats are format frames used for filling the contents contained in the contracts, the signer information is information of personnel required to sign the contracts corresponding to the contract templates, and the signer information at least comprises one signer. Each contract template corresponds to a contract number, a dependency relationship may exist between one contract template and one or more other contract templates, the dependency contract number is a contract number corresponding to a plurality of contracts having a dependency relationship with the contract corresponding to the contract template, and only if the contracts having a dependency relationship with the contract corresponding to the contract template are all generated and signed, the corresponding contracts can be generated according to the contract template.
In an embodiment, as shown in fig. 3, step S120 includes sub-steps S121, S122, S123, S124, and S125.
And S121, acquiring one contract template in the contract template set.
And S122, judging whether the contract template exceeds the processing time limit according to the time limit judgment rule.
And judging whether the contract template exceeds the processing time limit according to the time limit judgment rule. The processing time limit judgment rule is rule information for judging whether the contract template exceeds the processing time limit, and if the contract template exceeds the processing time limit, the contract template does not need to be processed.
For example, the processing time limit determination rule may be to determine whether the creation time of the contract template exceeds three months, and if the creation time of the contract template exceeds three months, the contract template exceeds the processing time limit, and the contract template does not need to be processed.
And S123, if the contract template does not exceed the processing time limit, judging whether the contract template is processed according to the processing judgment rule.
And if the contract template does not exceed the processing period, judging whether the contract template is processed according to the processing judgment rule. Specifically, if the contract template is processed, the processing thread does not need to process the contract template; if the contract template is not processed, the contract template needs to be further processed through a preset thread pool.
And S124, if the contract template is not processed, judging that the contract template meets the contract template judgment rule.
And if the contract template is not the processed contract template, judging that the contract template meets the contract template judgment rule, and further processing the contract template through the processing thread contained in the thread pool. Specifically, the contract template can be processed through a thread pool comprising a plurality of processing threads, the processing efficiency of the contract template can be greatly improved through concurrent processing of the plurality of processing threads, the generation efficiency of the contract is improved, and the number of the processing threads contained in the thread pool can be configured in advance. Each processing thread in the thread pool can only process one contract template at the same time, and the processing processes of different contract templates by one processing thread and the other processing thread are independent.
And if all the processing threads are processing the contract templates, suspending the process of processing the contract templates through the thread pool, and when the processing threads do not process the contract templates, acquiring one contract template in the contract template set and processing the contract template through the idle processing thread. Each processing thread can only process one contract template at the same time, so the contract templates can be processed one by one through the processing threads, and after one contract template is processed by one processing thread, the next contract template is obtained and processed through the processing thread until all the contract templates in the contract template set are processed.
S125, if the contract template exceeds the processing period or the contract template is processed, acquiring the next contract template in the contract template set and returning to the step of judging whether the contract template exceeds the processing period according to the period judgment rule.
If the contract template exceeds the processing period and does not meet the contract template judgment rule, the contract template does not need to be processed; if the contract template is processed, the contract template does not meet the contract template judgment rule, the contract template does not need to be processed, and the next contract template in the contract template set is obtained for judgment until all the contract templates are judged once through the judgment process.
S130, if the contract template meets the contract template judgment rule, judging whether the contract template meets a preset generation condition according to a preset contract library.
And if the contract template meets the contract template judgment rule, judging whether the contract template meets a preset generation condition according to a preset contract library. The contract library comprises all the generated contracts, and whether the contract template meets the preset generation condition can be judged according to the contracts contained in the contract library.
In an embodiment, as shown in fig. 4, step S130 includes sub-steps S131, S132, S133, S134, and S135.
S131, judging whether the contract base does not contain the contract corresponding to the contract template to obtain a first judgment result.
And judging whether the contract base does not contain the contract corresponding to the contract template to obtain a first judgment result. Specifically, a contract number corresponding to the contract template is obtained, whether a contract corresponding to the contract number exists in a contract library is judged, and if the contract number exists, the contract library contains the contract corresponding to the contract template; if not, the contract base does not contain the contract corresponding to the contract template.
And S132, if the first judgment result is yes, judging whether the dependent contracts corresponding to the contract template are all contained in the contract library to obtain a second judgment result.
If the first judgment result is yes, judging whether the dependent contracts corresponding to the contract template are all contained in the contract library to obtain a second judgment result. Specifically, the dependent contract number of the contract template is acquired, whether the contract library contains the dependent contract corresponding to the dependent contract number is judged, and if the dependent contracts corresponding to the dependent contract number are contained in the contract library, the dependent contracts corresponding to the contract template are contained in the contract library; if the dependent contracts corresponding to the dependent contract numbers are not all included in the contract library, the dependent contracts corresponding to the contract template are not all included in the contract library.
And S133, if the second judgment result is yes, judging whether the dependent contracts corresponding to the contract template are signed completely to obtain a third judgment result.
And if the second judgment result is yes, judging whether the dependent contracts corresponding to the contract template are signed completely or not to obtain a third judgment result. The contracts contained in the contract library can formally take effect only after being signed, so that whether the contracts are signed completely or not can be judged according to the signing information of the contracts, specifically, each contract also comprises signing keywords, signing coordinates and an offset value, a signing area of the contract can be obtained according to the signing coordinates and the offset value, the signing coordinates are used for determining the central point of the signing area, the offset value represents the offset distance between the signing coordinates, the outer edge of the signing area can be determined through the offset value, whether the signing information corresponding to the signing keywords is contained in the signing area or not can be judged based on the signing keywords, and if the signing information corresponding to the signing keywords is contained in the signing area of the contracts, the contracts are judged to be signed completely; and if the signing area of the dependent contract does not contain the corresponding signing information, judging that the dependent contract does not finish signing.
And S134, if the third judgment result is yes, judging that the contract template meets the preset generation condition.
And if the third judgment result is yes, judging that the contract template meets the preset generation condition. If the third judgment result is yes, the contract corresponding to the contract template is not included in the contract library, and the corresponding dependent contracts are all included in the contract library and are all signed, so that the contract template meets the preset generation condition.
And S135, if the first judgment result, the second judgment result or the third judgment result is negative, judging that the contract template does not meet the preset generation condition.
And if the first judgment result, the second judgment result or the third judgment result is negative, judging that the contract template does not meet the preset generation condition.
And S140, if the contract template meets the preset generating condition, generating a newly added contract corresponding to the contract template, adding the newly added contract into the contract library, and marking the contract template as processed.
And if the contract template meets the preset generation condition, generating a newly added contract corresponding to the contract template, adding the newly added contract to the contract library, and marking the contract template as processed. Specifically, the contract template includes information such as the type of contract, contract format, contract content, signer information, signing keywords, signing coordinates, and offset values. Specifically, the process of generating the contract according to the contract template includes generating a signing range according to the signing coordinates and the offset value, and filling the contract content, the contract type and the signing range according to the contract format, so that the newly added contract corresponding to the contract template can be generated. The generated new contract needs to be added into the contract library, the contract template corresponding to the new contract is marked as processed, the contract template is removed from the processing thread, namely the contract template is removed from the thread pool, and the processing thread is released in the process, so that the processing thread can continue to process the next contract template.
S150, if the contract template does not meet the preset generation condition, marking the contract template as processed.
And if the contract template does not meet the preset generation condition, marking the contract template as processed. If the contract template does not meet the preset generation condition, the contract template is marked as processed and removed from the processing thread, namely the processing thread is released, and the next contract template in the contract template set can be obtained and processed through the processing thread until all the contract templates in the contract template set are processed.
In one embodiment, as shown in fig. 5, step S150 is followed by step S160.
And S160, sending signing prompt information to the signer terminal corresponding to the signer information according to the signer information of the newly added contract.
And sending signing prompt information to the signer terminal corresponding to the signer information according to the signer information of the newly added contract. In order to improve the signing efficiency of the generated contract, signing prompt information can be sent to corresponding signer terminals according to the signer information, specifically, the signer information comprises a plurality of signers, each signer corresponds to one signer terminal, and the signer terminal can be a desktop computer, a notebook computer, a tablet computer or a mobile phone. The signing prompt information comprises information of the same type of contract, contract name and the like, and after the signer receives the signing prompt information, the signer can sign the contract according to the prompt information so as to improve the efficiency of signing the contract.
In the contract generating method provided by the embodiment of the invention, if the preset processing time point is reached, a contract template judgment rule is generated according to preset configuration parameters; judging whether the contract template meets a contract template judgment rule or not; if the contract template meets the contract template judgment rule, judging whether the contract template meets the preset generation condition according to a preset contract library; if the contract template meets the preset generation condition, generating a newly added contract corresponding to the contract template, adding the newly added contract into a contract library, and marking the contract template as processed; and if the contract template does not meet the preset generation condition, marking the contract template as processed. By the method, the contracts can be efficiently generated according to the preset contract generation sequence, the contracts can be prevented from being generated and signed according to the accurate sequence, and the purpose of accurately and efficiently generating the contracts is achieved.
Embodiments of the present invention further provide a contract generating apparatus, where the contract generating apparatus is configured to execute any of the embodiments of the contract generating method. Specifically, referring to fig. 6, fig. 6 is a schematic block diagram of a contract generating apparatus according to an embodiment of the present invention. The contract generating apparatus may be configured in the user terminal.
As shown in fig. 6, the contract generating apparatus 100 includes a judgment rule generating unit 110, a contract template judging unit 120, a contract generation judging unit 130, a newly added contract generating unit 140, and a contract template marking unit 150.
And a judgment rule generating unit 110, configured to generate a contract template judgment rule according to preset configuration parameters if a preset processing time point is reached.
In another embodiment of the present invention, the determination rule generating unit 110 includes sub-units: a deadline judgment rule configuration unit 111 and a processing judgment rule configuration unit 112.
A time limit judgment rule configuration unit 111, configured to configure a time limit judgment rule in the contract template judgment rule according to the time limit information in the configuration parameters; and a processing judgment rule configuration unit 112, configured to configure a processing judgment rule in the contract template judgment rule according to the rejection condition in the configuration parameters.
A contract template determining unit 120, configured to determine whether a contract template included in a preset contract template set meets the contract template determining rule.
In other embodiments of the present invention, the contract template determining unit 120 includes sub-units: a contract template acquisition unit 121, a processing term judgment unit 122, a processing judgment unit 123, a judgment unit 124, and a return execution unit 125.
A contract template acquisition unit 121, configured to acquire one contract template in the contract template set; a processing time limit judging unit 122, configured to judge whether the contract template exceeds a processing time limit according to the time limit judgment rule; a processing and judging unit 123, configured to, if the contract template does not exceed the processing time limit, judge whether the contract template is processed according to the processing and judging rule; a determining unit 124, configured to determine that the contract template satisfies the contract template determination rule if the contract template is not processed; and a return execution unit 125, configured to, if the contract template exceeds the processing period or the contract template is processed, obtain a next contract template in the contract template set and return to the step of determining whether the contract template exceeds the processing period according to the period determination rule.
A contract generation judging unit 130, configured to, if the contract template meets the contract template judgment rule, judge whether the contract template meets a preset generation condition according to a preset contract library.
In other embodiments of the present invention, the contract generation determination unit 130 includes sub-units: a first judgment unit 131, a second judgment unit 132, a third judgment unit 133, a first judgment result acquisition unit 134, and a second judgment result acquisition unit 135.
A first judging unit 131, configured to judge whether the contract library does not include a contract corresponding to the contract template, so as to obtain a first judgment result; a second determining unit 132, configured to determine whether all the dependent contracts corresponding to the contract templates are included in the contract library to obtain a second determining result if the first determining result is yes; a third determining unit 133, configured to determine, if the second determination result is yes, whether all the dependent contracts corresponding to the contract template have been signed to obtain a third determination result; a first determination result obtaining unit 134, configured to determine that the contract template meets the preset generation condition if the third determination result is yes; a second determination result obtaining unit 135, configured to determine that the contract template does not satisfy the preset generating condition if the first determination result, the second determination result, or the third determination result is negative.
And a newly added contract generating unit 140, configured to generate a newly added contract corresponding to the contract template if the contract template meets a preset generating condition, add the newly added contract to the contract library, and mark the contract template as processed.
A contract template marking unit 150, configured to mark the contract template as processed if the contract template does not meet a preset generation condition.
In other invention embodiments, the contract generating apparatus 100 further includes a sub-unit: the signing prompt information sending unit 160.
And the signing prompt information sending unit 160 is configured to send signing prompt information to the signer terminal corresponding to the signer information according to the signer information of the new contract.
The contract generation device provided by the embodiment of the invention is used for executing the contract generation method, and if the preset processing time point is reached, a contract template judgment rule is generated according to preset configuration parameters; judging whether the contract template meets a contract template judgment rule or not; if the contract template meets the contract template judgment rule, judging whether the contract template meets the preset generation condition according to a preset contract library; if the contract template meets the preset generation condition, generating a newly added contract corresponding to the contract template, adding the newly added contract into a contract library, and marking the contract template as processed; and if the contract template does not meet the preset generation condition, marking the contract template as processed. By the method, the contracts can be efficiently generated according to the preset contract generation sequence, the contracts can be prevented from being generated and signed according to the accurate sequence, and the purpose of accurately and efficiently generating the contracts is achieved.
The contract generating apparatus described above may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 7.
Referring to fig. 7, fig. 7 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Referring to fig. 7, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, can cause the processor 502 to perform a contract generation method.
The processor 502 is used to provide computing and control capabilities that support the operation of the overall computer device 500.
The internal memory 504 provides an environment for running the computer program 5032 in the nonvolatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 may be caused to execute the contract generation method.
The network interface 505 is used for network communication, such as providing transmission of data information. Those skilled in the art will appreciate that the configuration shown in fig. 7 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing device 500 to which aspects of the present invention may be applied, and that a particular computing device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following functions: if the preset processing time point is reached, generating a contract template judgment rule according to preset configuration parameters; judging whether a contract template contained in a preset contract template set meets the contract template judgment rule or not; if the contract template meets the contract template judgment rule, judging whether the contract template meets a preset generation condition according to a preset contract library; if the contract template meets the preset generating condition, generating a newly added contract corresponding to the contract template, adding the newly added contract to the contract library, and marking the contract template as processed; and if the contract template does not meet the preset generation condition, marking the contract template as processed.
In an embodiment, when the processor 502 executes the step of generating the contract template determination rule according to the preset configuration parameters if the preset processing time point is reached, the following operations are executed: configuring a time limit judgment rule in the contract template judgment rules according to the time limit information in the configuration parameters, wherein the time limit judgment rule is used for judging whether the creation time of the contract template exceeds the processing time limit; and configuring a processing judgment rule in the contract template judgment rules according to the rejection conditions in the configuration parameters, wherein the processing judgment rule is used for judging whether the contract template is processed or not.
In an embodiment, when the processor 502 performs the step of determining whether the contract template included in the preset contract template set satisfies the contract template determination rule, the following operations are performed: acquiring one contract template in the contract template set; judging whether the contract template exceeds a processing time limit according to the time limit judgment rule; if the contract template does not exceed the processing period, judging whether the contract template is processed according to the processing judgment rule; if the contract template is not processed, judging that the contract template meets the contract template judgment rule; and if the contract template exceeds the processing period or the contract template is processed, acquiring the next contract template in the contract template set and returning to the step of judging whether the contract template exceeds the processing period according to the period judgment rule.
In an embodiment, when the processor 502 executes the step of determining whether the contract template satisfies the preset generating condition according to a preset contract library if the contract template satisfies the contract template determining rule, the following operations are executed: judging whether the contract library does not contain the contract corresponding to the contract template to obtain a first judgment result; if the first judgment result is yes, judging whether the dependent contracts corresponding to the contract template are all contained in the contract library to obtain a second judgment result, wherein the dependent contracts are contracts with the contract template having a dependent relationship; if the second judgment result is yes, judging whether the dependent contracts corresponding to the contract template are signed completely or not to obtain a third judgment result; if the third judgment result is yes, judging that the contract template meets the preset generation condition; and if the first judgment result, the second judgment result or the third judgment result is negative, judging that the contract template does not meet the preset generation condition.
In one embodiment, the processor 502 also performs the following operations: and sending signing prompt information to the signer terminal corresponding to the signer information according to the signer information of the newly added contract.
Those skilled in the art will appreciate that the embodiment of a computer device illustrated in fig. 7 does not constitute a limitation on the specific construction of the computer device, and that in other embodiments a computer device may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. For example, in some embodiments, the computer device may only include a memory and a processor, and in such embodiments, the structures and functions of the memory and the processor are consistent with those of the embodiment shown in fig. 7, and are not described herein again.
It should be understood that, in the embodiment of the present invention, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer readable storage medium may be a non-volatile computer readable storage medium. The computer-readable storage medium stores a computer program, wherein the computer program when executed by a processor implements the steps of: if the preset processing time point is reached, generating a contract template judgment rule according to preset configuration parameters; judging whether a contract template contained in a preset contract template set meets the contract template judgment rule or not; if the contract template meets the contract template judgment rule, judging whether the contract template meets a preset generation condition according to a preset contract library; if the contract template meets the preset generating condition, generating a newly added contract corresponding to the contract template, adding the newly added contract to the contract library, and marking the contract template as processed; and if the contract template does not meet the preset generation condition, marking the contract template as processed.
In an embodiment, the step of generating the contract template determination rule according to the preset configuration parameters if the preset processing time point is reached includes: configuring a time limit judgment rule in the contract template judgment rules according to the time limit information in the configuration parameters, wherein the time limit judgment rule is used for judging whether the creation time of the contract template exceeds the processing time limit; and configuring a processing judgment rule in the contract template judgment rules according to the rejection conditions in the configuration parameters, wherein the processing judgment rule is used for judging whether the contract template is processed or not.
In an embodiment, the step of determining whether the contract template included in the preset contract template set satisfies the contract template determination rule includes: acquiring one contract template in the contract template set; judging whether the contract template exceeds a processing time limit according to the time limit judgment rule; if the contract template does not exceed the processing period, judging whether the contract template is processed according to the processing judgment rule; if the contract template is not processed, judging that the contract template meets the contract template judgment rule; and if the contract template exceeds the processing period or the contract template is processed, acquiring the next contract template in the contract template set and returning to the step of judging whether the contract template exceeds the processing period according to the period judgment rule.
In an embodiment, the step of determining whether the contract template satisfies a preset generating condition according to a preset contract library if the contract template satisfies the contract template determination rule includes: judging whether the contract library does not contain the contract corresponding to the contract template to obtain a first judgment result; if the first judgment result is yes, judging whether the dependent contracts corresponding to the contract template are all contained in the contract library to obtain a second judgment result, wherein the dependent contracts are contracts with the contract template having a dependent relationship; if the second judgment result is yes, judging whether the dependent contracts corresponding to the contract template are signed completely or not to obtain a third judgment result; if the third judgment result is yes, judging that the contract template meets the preset generation condition; and if the first judgment result, the second judgment result or the third judgment result is negative, judging that the contract template does not meet the preset generation condition.
In one embodiment, the method further comprises: and sending signing prompt information to the signer terminal corresponding to the signer information according to the signer information of the newly added contract.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, devices and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only a logical division, and there may be other divisions when the actual implementation is performed, or units having the same function may be grouped into one unit, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a computer-readable storage medium, which includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned computer-readable storage media comprise: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A contract generating method is applied to a user terminal and is characterized by comprising the following steps:
if the preset processing time point is reached, generating a contract template judgment rule according to preset configuration parameters;
judging whether a contract template contained in a preset contract template set meets the contract template judgment rule or not;
if the contract template meets the contract template judgment rule, judging whether the contract template meets a preset generation condition according to a preset contract library;
if the contract template meets the preset generating condition, generating a newly added contract corresponding to the contract template, adding the newly added contract to the contract library, and marking the contract template as processed;
and if the contract template does not meet the preset generation condition, marking the contract template as processed.
2. The contract generating method according to claim 1, wherein the generating of the contract template judgment rule according to the preset configuration parameters includes:
configuring a time limit judgment rule in the contract template judgment rules according to the time limit information in the configuration parameters, wherein the time limit judgment rule is used for judging whether the creation time of the contract template exceeds the processing time limit;
and configuring a processing judgment rule in the contract template judgment rules according to the rejection conditions in the configuration parameters, wherein the processing judgment rule is used for judging whether the contract template is processed or not.
3. The contract generating method according to claim 2, wherein the determining whether the contract template included in the preset contract template set satisfies the contract template determination rule includes:
acquiring one contract template in the contract template set;
judging whether the contract template exceeds a processing time limit according to the time limit judgment rule;
if the contract template does not exceed the processing period, judging whether the contract template is processed according to the processing judgment rule;
if the contract template is not processed, judging that the contract template meets the contract template judgment rule;
and if the contract template exceeds the processing period or the contract template is processed, acquiring the next contract template in the contract template set and returning to the step of judging whether the contract template exceeds the processing period according to the period judgment rule.
4. The contract generating method according to claim 1, wherein the determining whether the contract template satisfies a preset generating condition according to a preset contract library if the contract template satisfies the contract template determining rule comprises:
judging whether the contract library does not contain the contract corresponding to the contract template to obtain a first judgment result;
if the first judgment result is yes, judging whether the dependent contracts corresponding to the contract template are all contained in the contract library to obtain a second judgment result, wherein the dependent contracts are contracts with the contract template having a dependent relationship;
if the second judgment result is yes, judging whether the dependent contracts corresponding to the contract template are signed completely or not to obtain a third judgment result;
if the third judgment result is yes, judging that the contract template meets the preset generation condition;
and if the first judgment result, the second judgment result or the third judgment result is negative, judging that the contract template does not meet the preset generation condition.
5. The contract generation method according to claim 1, further comprising:
and sending signing prompt information to the signer terminal corresponding to the signer information according to the signer information of the newly added contract.
6. A contract generation apparatus, comprising:
the judgment rule generating unit is used for generating a contract template judgment rule according to preset configuration parameters if a preset processing time point is reached;
a contract template judgment unit, configured to judge whether a contract template included in a preset contract template set satisfies the contract template judgment rule;
the contract generation judging unit is used for judging whether the contract template meets preset generation conditions according to a preset contract library if the contract template meets the contract template judging rule;
a newly-added contract generating unit, configured to generate a newly-added contract corresponding to the contract template if the contract template meets a preset generating condition, add the newly-added contract to the contract library, and mark the contract template as processed;
and the contract template marking unit is used for marking the contract template as processed if the contract template does not meet the preset generation condition.
7. The contract generating apparatus according to claim 6, wherein the judgment rule generating unit includes:
a time limit judgment rule configuration unit, configured to configure a time limit judgment rule in the contract template judgment rule according to the time limit information in the configuration parameters, where the time limit judgment rule is used to judge whether the creation time of the contract template exceeds a processing time limit;
and the processing judgment rule configuration unit is used for configuring a processing judgment rule in the contract template judgment rule according to the rejection condition in the configuration parameters, wherein the processing judgment rule is used for judging whether the contract template is processed or not.
8. The contract generating apparatus according to claim 7, wherein the contract template judging unit includes:
a contract template acquisition unit, configured to acquire one contract template in the contract template set;
the processing time limit judging unit is used for judging whether the contract template exceeds the processing time limit according to the time limit judging rule;
the processing and judging unit is used for judging whether the contract template is processed or not according to the processing and judging rule if the contract template does not exceed the processing period;
the judging unit is used for judging that the contract template meets the contract template judging rule if the contract template is not processed;
and a return execution unit, configured to, if the contract template exceeds the processing period or the contract template is processed, obtain a next contract template in the contract template set, and return to the step of determining whether the contract template exceeds the processing period according to the period determination rule.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the contract generation method according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to execute the contract generation method according to any one of claims 1 to 5.
CN201910935556.2A 2019-09-29 2019-09-29 Contract generation method and device, computer equipment and storage medium Pending CN110705240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910935556.2A CN110705240A (en) 2019-09-29 2019-09-29 Contract generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910935556.2A CN110705240A (en) 2019-09-29 2019-09-29 Contract generation method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110705240A true CN110705240A (en) 2020-01-17

Family

ID=69198098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910935556.2A Pending CN110705240A (en) 2019-09-29 2019-09-29 Contract generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110705240A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5479509A (en) * 1993-04-06 1995-12-26 Bull Cp8 Method for signature of an information processing file, and apparatus for implementing it
CN104851037A (en) * 2015-06-04 2015-08-19 中国电力科学研究院 Method for signing electronic contract at mobile terminal
CN109658041A (en) * 2018-09-28 2019-04-19 平安科技(深圳)有限公司 Generating means and its generation method, the equipment and readable storage medium storing program for executing of file
CN110244899A (en) * 2019-05-06 2019-09-17 深圳法大大网络科技有限公司 Electronic contract on-line processing method, Online Processing System and terminal
CN110245220A (en) * 2019-05-05 2019-09-17 深圳法大大网络科技有限公司 Electronic document signs method, apparatus and server, storage medium
CN110264350A (en) * 2019-05-10 2019-09-20 重庆金融资产交易所有限责任公司 Bookkeeping methods, device and the computer equipment for thering is endorsement to sign based on block chain
CN110263145A (en) * 2019-05-07 2019-09-20 深圳市买买提信息科技有限公司 A kind of electronic contract signature method and electronic contract sign equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5479509A (en) * 1993-04-06 1995-12-26 Bull Cp8 Method for signature of an information processing file, and apparatus for implementing it
CN104851037A (en) * 2015-06-04 2015-08-19 中国电力科学研究院 Method for signing electronic contract at mobile terminal
CN109658041A (en) * 2018-09-28 2019-04-19 平安科技(深圳)有限公司 Generating means and its generation method, the equipment and readable storage medium storing program for executing of file
CN110245220A (en) * 2019-05-05 2019-09-17 深圳法大大网络科技有限公司 Electronic document signs method, apparatus and server, storage medium
CN110244899A (en) * 2019-05-06 2019-09-17 深圳法大大网络科技有限公司 Electronic contract on-line processing method, Online Processing System and terminal
CN110263145A (en) * 2019-05-07 2019-09-20 深圳市买买提信息科技有限公司 A kind of electronic contract signature method and electronic contract sign equipment
CN110264350A (en) * 2019-05-10 2019-09-20 重庆金融资产交易所有限责任公司 Bookkeeping methods, device and the computer equipment for thering is endorsement to sign based on block chain

Similar Documents

Publication Publication Date Title
EP1706818B1 (en) A system and method for scheduling the execution of model components using model events
CN108462760B (en) Electronic device, automatic cluster access domain name generation method and storage medium
CN107832062B (en) Program updating method and terminal equipment
WO2019019381A1 (en) Batch processing method and apparatus for insurance slip tasks, computer device and storage medium
CN111045933A (en) Regression strategy updating method and device, storage medium and terminal equipment
WO2022100028A1 (en) Interface traffic anomaly detection method and apparatus, terminal device, and storage medium
CN108665239A (en) Workflow processing method, device, computer equipment and storage medium
US20180047119A1 (en) Contract management system, apparatus, and method
WO2019019702A1 (en) Algorithm generation method and device, terminal device and storage medium
CN108491304B (en) electronic device, business system risk control method and storage medium
CN115495142A (en) Cloud resource arranging method and device, computer equipment and storage medium
CN110705240A (en) Contract generation method and device, computer equipment and storage medium
US20180234247A1 (en) Mixed checksum injection for content verification on multiple platforms
CN110930056A (en) Thinking-guidance-graph-based task management method, terminal device and storage medium
CN110147379B (en) Information acquisition method and device based on data lock and computer equipment
US7720668B2 (en) System and method for scheduling token arrival in a business process simulation
CN112132349A (en) Performance data processing method and device, computer equipment and computer readable medium
CN110162550B (en) Visualized statistical chart generation method and device, computer equipment and storage medium
CN110351330B (en) Data uploading method and device, computer equipment and storage medium
CN111399832B (en) Page editing method and device
CN113971074A (en) Transaction processing method and device, electronic equipment and computer readable storage medium
CN112650567A (en) Implementation method and device of global universal timer and computer equipment
US8855990B1 (en) System, method, and computer program for providing validation of network model objects within a network model design process
CN112988339A (en) Data management method and device
CN116186046B (en) Device data modification method and device, computer device 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200117

RJ01 Rejection of invention patent application after publication