WO2020062658A1 - Contract generation method and apparatus, and device and storage medium - Google Patents

Contract generation method and apparatus, and device and storage medium Download PDF

Info

Publication number
WO2020062658A1
WO2020062658A1 PCT/CN2018/123219 CN2018123219W WO2020062658A1 WO 2020062658 A1 WO2020062658 A1 WO 2020062658A1 CN 2018123219 W CN2018123219 W CN 2018123219W WO 2020062658 A1 WO2020062658 A1 WO 2020062658A1
Authority
WO
WIPO (PCT)
Prior art keywords
contract
target
processing
template
node
Prior art date
Application number
PCT/CN2018/123219
Other languages
French (fr)
Chinese (zh)
Inventor
马玉芳
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020062658A1 publication Critical patent/WO2020062658A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Definitions

  • the present application relates to the technical field of data processing, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for generating a contract.
  • a contract is a criterion for the economic activities of an enterprise. It is used to protect the interests of the enterprise. It also clearly specifies the responsibilities and obligations of the enterprise. It is a legal norm that must be followed by the economic activity of the enterprise.
  • people replace paper contracts with electronic contracts to avoid the inconvenience of paper contract delivery.
  • the existing contract production system needs to be customized and developed according to the electronic contracts with different needs. The versatility is poor, not only a lot of manpower is wasted, but the development efficiency is low. Therefore, how to solve the technical problem of poor commonality of the contract production system in the prior art has become a technical problem to be solved urgently at present.
  • the main purpose of this application is to provide a method, device, device and computer-readable storage medium for generating a contract, which aims to solve the technical problem of poor generality of the contract making system in the prior art.
  • this application provides a contract generation method, which includes the following steps:
  • a target processing node is organized into a target processing chain, and the target contract template is passed into the target processing chain to generate a corresponding target contract.
  • the method further includes: :
  • the contract attribute information is added to a corresponding area of the target contract according to a preset attribute key field.
  • acquiring the target contract type in the contract generation instruction when receiving the contract generation instruction, acquiring the target contract type in the contract generation instruction, and acquiring the corresponding target contract template and the contract processing flow according to the target contract type includes:
  • the target contract template and the contract processing flow are obtained.
  • the steps of the contract processing flow further includes:
  • a contract template selected by the user is obtained as a target contract template, and a selected processing node selected by the user is obtained as a target processing node.
  • the method further includes:
  • the target processing node is sequentially organized into a target processing chain, and the target contract template is passed into the target processing chain to generate a corresponding target contract.
  • the method before receiving the contract generation instruction, acquiring the target contract type in the contract generation instruction, and before obtaining the corresponding target contract template and the contract processing procedure according to the target contract type, the method further includes:
  • the method further includes:
  • a corresponding processing abnormality reminding message is generated to the management end so that the administrator can handle the abnormal situation.
  • the present application further provides a contract generating device, where the contract generating device includes:
  • a process obtaining module configured to obtain a target contract type in the contract generation instruction when a contract generation instruction is received, and obtain a corresponding target contract template and a contract processing flow according to the target contract type;
  • a node acquisition module configured to acquire a target processing node among preset contract processing nodes according to the contract processing flow
  • a contract generation module is configured to organize a target processing node into a target processing chain according to the contract processing flow, and transfer the target contract template to the target processing chain to generate a corresponding target contract.
  • the present application further provides a contract generation device.
  • the contract generation device includes a processor, a memory, and a contract generation program stored on the memory and executable by the processor.
  • the contract generation program is executed by the processor, the steps of the contract generation method described above are implemented.
  • the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores a contract generation program, and when the contract generation program is executed by a processor, the contract as described above is implemented. Steps in the generation method.
  • This application provides a contract generation method, that is, when a contract generation instruction is received, the target contract type in the contract generation instruction is obtained, and a corresponding target contract template and contract processing flow are obtained according to the target contract type;
  • the contract processing process obtains a target processing node from a preset contract processing node; according to the contract processing flow, the target processing node is organized into a target processing chain, and the target contract template is passed into the target processing chain to Generate the corresponding target contract.
  • the present application organizes the preset target processing node according to the target contract type to correspond to the contract processing flow as the target processing chain, that is, organizes the preset target processing node to generate a contract production system, and then passes the target contract template into the The target processing chain performs processing operations of the corresponding nodes, thereby generating a target contract.
  • the preset contract processing nodes can be flexibly configured according to different requirements without repeated development, improving the efficiency of contract generation, and solving the technical problem of poor generality of the contract production system in the prior art.
  • FIG. 1 is a schematic diagram of a hardware structure of a contract generating device involved in a solution according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a first embodiment of a contract generation method for an application
  • FIG. 3 is a schematic flowchart of a second embodiment of a contract generation method for an application
  • FIG. 4 is a schematic flowchart of a third embodiment of a contract generation method of this application.
  • FIG. 5 is a schematic diagram of functional modules of the first embodiment of the contract generating apparatus of the present application.
  • the contract generation method according to the embodiment of the present application is mainly applied to a contract generation device, and the contract generation device may be a device with a display and processing function, such as a PC, a portable computer, or a mobile terminal.
  • FIG. 1 is a schematic diagram of a hardware structure of a contract generating device involved in a solution according to an embodiment of the present application.
  • the contract generating device may include a processor 1001 (for example, a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display and an input unit such as a keyboard.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface.
  • the memory 1005 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory, the memory 1005 may optionally be a storage device independent of the foregoing processor 1001.
  • FIG. 1 does not constitute a limitation on the contract generating device, and may include more or fewer components than shown in the figure, or combine some components, or arrange different components.
  • the memory 1005 as a computer-readable storage medium in FIG. 1 may include an operating system, a network communication module, and a contract generation program.
  • the network communication module is mainly used to connect to a server and perform data communication with the server; and the processor 1001 can call a contract generation program stored in the memory 1005 and execute the contract generation method provided in the embodiment of the present application.
  • the embodiment of the present application provides a method for generating a contract.
  • FIG. 2 is a schematic flowchart of a first embodiment of a contract generation method of the present application.
  • the contract generation method includes the following steps:
  • Step S10 When receiving a contract generation instruction, acquiring a target contract type in the contract generation instruction, and acquiring a corresponding target contract template and a contract processing flow according to the target contract type;
  • a contract generation method in this embodiment, may be implemented by a computing terminal (server, PC, etc.).
  • the server receives the contract generation instruction, it obtains the target contract type of the contract to be generated in the contract generation instruction.
  • the contract generation instruction may be triggered by a user operation.
  • the preset contract types are displayed on the terminal, such as personnel contracts or business contracts, and can also be contracts of various business types. Users can trigger corresponding contract generation instructions based on the type of contract that meets their needs, such as through contracts of personnel contract types.
  • the Generate button triggers a contract generation instruction for a personnel contract.
  • the target contract type is searched in a preset database to obtain a target contract template and a contract processing process corresponding to the target contract type.
  • the target contract template may be a pre-associated or associated contract module of each contract type.
  • the contract processing flow is a processing node required to generate a contract and a processing order corresponding to each processing node.
  • Step S20 Obtain a target processing node from the preset contract processing nodes according to the contract processing flow;
  • the processing required to generate the target contract is determined in the contract processing node preset in this database.
  • the contract processing nodes preset in the database include draft nodes (providing contract templates), pre-review nodes (reviewing the format or text of contract templates, etc.), performance planning nodes (performance clauses and performance deadlines to be added to the contract, etc.), and printing Nodes (seal management and addition), archiving nodes (contract classification, archiving, recovery), performance verification nodes (whether performance terms are completed within the performance period), repayment verification nodes (whether the amount of the project stipulated in the contract is fully accounted, etc.) and / Or the end of the node (the contract expires and the provisions of the performance clause are fully implemented, the management process of the contract ends), etc.
  • the corresponding contract processing process is: draft ⁇ pre-approval ⁇ performance plan ⁇ printing ⁇ filing ⁇ fulfillment ⁇ payment ⁇ end, that is, the target processing node is a draft node, a pre-examination node, and a performance plan node , Using printing node, filing node, fulfillment node, payment node and ending node.
  • the target contract type is a single-signature business type
  • the corresponding contract processing process is: draft ⁇ pre-approval ⁇ performance plan ⁇ use seal ⁇ archive ⁇ end, that is, the target processing node is a draft node, pre-review node, performance plan node, and printing node , Archive node and end node.
  • a draft processing node may also provide a target contract template according to the target contract type.
  • step S30 according to the contract processing flow, a target processing node is organized into a target processing chain, and the target contract template is passed into the target processing chain to generate a corresponding target contract.
  • each processing node in the target processing node is sequentially connected to generate a target processing chain.
  • the target contract template can be fed back to the next target processing node through a contact method such as email or instant messaging software.
  • the processing of the target contract template is completed in order to generate the target contract.
  • a processing node processes the target contract template, if it is found that the information to be processed by the previous node is not completed, it may be fed back to the previous processing node.
  • step S30 the method further includes:
  • the contract attribute information is added to a corresponding area of the target contract according to a preset attribute key field.
  • a contract attribute information page for filling in the contract may be displayed correspondingly.
  • the corresponding area may be a preset form or an input field associated with a contract name, a company name, and a performance period.
  • the area to which each attribute information in the contract attribute information should be added can be determined. For example, according to the "name" key field, an area to be filled in the contract name is determined, and the contract name is added to a to-be-filled area after the "name" key field.
  • This embodiment provides a contract generation method, that is, when a contract generation instruction is received, a target contract type in the contract generation instruction is obtained, and a corresponding target contract template and contract processing flow are obtained according to the target contract type; According to the contract processing flow, a target processing node is obtained from a preset contract processing node; according to the contract processing flow, the target processing node is organized into a target processing chain, and the target contract template is passed into the target processing chain, To generate the corresponding target contract.
  • the present application organizes the preset target processing node according to the target contract type to correspond to the contract processing flow as the target processing chain, that is, organizes the preset target processing node to generate a contract production system, and then passes the target contract template into the The target processing chain performs processing operations of the corresponding nodes, thereby generating a target contract.
  • the preset contract processing nodes can be flexibly configured according to different requirements without repeated development, improving the efficiency of contract generation, and solving the technical problem of poor generality of the contract production system in the prior art.
  • FIG. 3 is a schematic flowchart of a second embodiment of a contract generation method of the present application.
  • the step S10 specifically includes:
  • Step S11 When receiving the contract generation instruction, obtain the target contract type in the contract generation instruction, and determine whether the target contract type matches the corresponding target contract template and the contract processing flow in the database;
  • a target contract template corresponding to a target contract type in the contract generation instruction and a contract processing flow can be matched in the database.
  • the target contract template may be provided by a processing node.
  • Step S12 If the corresponding target contract template and the contract processing flow are matched, obtain the target contract template and the contract processing flow.
  • the target contract template and the contract processing flow corresponding to the target contract type can be matched in the database, the target contract template and the contract processing flow can be obtained.
  • step S13 if the corresponding target contract template and contract processing flow are not matched, the pre-stored contract template and the preset contract processing node are displayed, so that the user can perform a corresponding selection operation;
  • the target contract template and contract processing flow corresponding to the target contract type cannot be matched in the database, it may indicate that the server cannot identify the target contract type keyword in the contract generation instruction.
  • Pre-stored contract templates and contract processing nodes preset in the database may be displayed, so that the user can manually select among the contract templates and contract processing nodes.
  • step S14 the contract template selected by the user is obtained as the target contract template, and the selected processing node selected by the user is obtained as the target processing node.
  • a contract template triggered by a user selection operation is acquired and set as a target contract template, and a processing node triggered by a user selection operation is selected processing node, which is set as a target processing node.
  • step S15 according to the processing order set by the user, the target processing node is sequentially organized into a target processing chain, and the target contract template is passed into the target processing chain to generate a corresponding target contract.
  • each processing node in the target processing node is sequentially connected to generate a target processing chain. Then, the target contract template is processed through the target processing chain to generate a target contract.
  • FIG. 4 is a schematic flowchart of a third embodiment of a contract generation method of the present application.
  • the method before step S10, the method further includes:
  • Step S41 Split the constructed contract production system into processing fragment components, and package the processing fragment components into corresponding processing nodes as the preset contract processing nodes;
  • the contract generation system includes a general interface and a storage processing node.
  • the processing node is a pre-stored fragment component
  • the universal interface is a unified interface entry for receiving a contract processing request sent by a user.
  • the pre-stored fragmentation component is a background that divides the constructed contract production system into functional components, and extracts a common functional component (the common functional component is a functional component that needs to be called during general contract processing), and the common functional component Encapsulate and store the pre-stored shard component separately, so that the pre-stored shard component can be called directly when processing other contract requests later.
  • the pre-stored fragment component in this case may also be stored in the cloud server, and the contract generation device is connected to the cloud server network, so that the pre-stored fragment component stored in the cloud server can be called.
  • Step S42 Acquire a processing order of the processing node in the contract making system, and generate a corresponding contract processing flow according to the processing order and a node identifier of the processing node;
  • the processing order of the processing nodes in the constructed contract making system is obtained, and a contract processing flow is generated based on the processing order and the corresponding processing node identification.
  • the contract processing flow includes the identification of each target processing node that needs to be called and the calling sequence of the calling processing node.
  • Step S43 Obtain the contract type of the contract processing system and the contract template in the contract production system, and store the contract type, the contract template, and the contract processing flow in an associated database in a preset database.
  • the contract type corresponding to the contract processed by the contract production system and the corresponding contract template are determined.
  • the contract type, the contract template, and the contract processing process are associated, and then stored in the preset database for subsequent invocation.
  • step S30 the method further includes:
  • each processing node may be set with a corresponding processing time threshold in advance.
  • the processing time threshold may be statistically set by the system according to historical data, or may be manually set by a user according to actual needs.
  • the target contract template is transferred to the target processing chain, the operation of the processing node in the target processing chain is tracked and monitored. Specifically, the target processing time of each target processing node may be counted by a timer. If the target processing time exceeds a processing time threshold corresponding to the target processing node, it is determined that a processing abnormality occurs at the target processing node.
  • a corresponding processing abnormality reminding message is generated to the management end so that the administrator can handle the abnormal situation.
  • the target processing time is abnormal, it indicates that the target processing node has a processing abnormality, and a corresponding processing abnormality reminding message may be generated to the management end. So that the administrator can check the processing progress of the target processing node correspondingly, and deal with abnormal problems in time to ensure processing efficiency.
  • an embodiment of the present application further provides a contract generating device.
  • FIG. 5 is a schematic diagram of functional modules of a first embodiment of a contract generating apparatus of the present application.
  • the contract generating device includes:
  • a process obtaining module 10 is configured to obtain a target contract type in the contract generation instruction when a contract generation instruction is received, and obtain a corresponding target contract template and a contract processing flow according to the target contract type;
  • a node acquisition module 20 configured to acquire a target processing node among preset contract processing nodes according to the contract processing flow;
  • a contract generation module 30 is configured to organize a target processing node into a target processing chain according to the contract processing flow, and transfer the target contract template to the target processing chain to generate a corresponding target contract.
  • the contract generating device further includes:
  • An information configuration module configured to display a contract configuration page for a user to input contract attribute information, where the contract attribute information includes a contract name, a company name, or a contract amount;
  • An information adding module is configured to add the contract attribute information to a corresponding area of the target contract according to a preset attribute key field when the contract attribute information is received.
  • the node acquisition module 20 includes:
  • a node matching unit is configured to, when receiving a contract generation instruction, obtain a target contract type in the contract generation instruction, and determine whether the target contract type matches a corresponding target contract template and a contract processing procedure in a database;
  • the node obtaining unit is configured to obtain the target contract template and the contract processing flow if the corresponding target contract template and the contract processing flow are matched.
  • the node acquisition module 20 further includes:
  • a node selection unit configured to display a pre-stored contract template and the preset contract processing node if the corresponding target contract template and contract processing flow are not matched, so that the user can perform a corresponding selection operation
  • the node setting unit is configured to obtain a contract template selected by a user as a target contract template, and obtain a selected processing node selected by the user as a target processing node.
  • a contract generation unit is configured to sequentially organize the target processing nodes into a target processing chain according to a processing order set by a user, and transfer the target contract template to the target processing chain to generate a corresponding target contract.
  • the contract generating device further includes:
  • a node preset module configured to split the constructed contract production system into processing fragment components, and package the processing fragment components into corresponding processing nodes as the preset contract processing nodes;
  • a process generation module configured to obtain a processing order of the processing node in the contract making system, and generate a corresponding contract processing flow according to the processing order and a node identifier of the processing node;
  • a process storage module configured to obtain a contract type processed by the contract production system and a contract template in the contract production system, and store the contract type, the contract template, and the contract processing flow in a preset database in association .
  • the contract generating device further includes:
  • a time monitoring module configured to obtain a target processing time for the target processing node to process the target contract template, compare the target processing time with a corresponding node processing time threshold, and determine whether the target processing time is abnormal;
  • the abnormality reminding module is configured to generate a corresponding processing abnormality reminding message to the management end when the target processing time is abnormal, so that the administrator can handle the abnormal situation.
  • each module in the above contract generation device corresponds to each step in the above embodiment of the contract generation method, and its functions and implementation processes are not repeated here one by one.
  • an embodiment of the present application further provides a computer-readable storage medium.
  • the computer-readable storage medium of the present application stores a contract generation program, wherein when the contract generation program is executed by a processor, the steps of the contract generation method described above are implemented.
  • the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better.
  • Implementation Based on such an understanding, the technical solution of this application that is essentially or contributes to the existing technology can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium (such as ROM / RAM) as described above. , Magnetic disk, optical disc), including a number of instructions to enable a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of this application.

Abstract

The present application provides a contract generation method and apparatus, and a device and a storage medium. The method comprises: when receiving a contract generation instruction, obtaining a target contract type in the contract generation instruction, and according to the target contract type, obtaining corresponding target contract template and contract processing flow; obtaining a target processing node in preset contract processing nodes according to the contract processing flow; and organizing the target processing node to a target processing chain according to the contract processing flow, and inputting the target contract template to the target processing chain to generate a corresponding target contract. According to the present application, the preset target processing node is organized to a target processing chain according to the contract processing flow corresponding to the target contract type. According to the present application, the preset contract processing nodes can be flexibly configured according to different requirements, without repeated development, thereby improving contract generation efficiency.

Description

合同生成方法、装置、设备及存储介质 Contract generation method, device, equipment and storage medium Ranch
本申请要求于2018年9月28日提交中国专利局、申请号为201811138565.0、发明名称为“合同生成方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on September 28, 2018, with application number 201811138565.0, and the invention name is "Contract generation method, device, device and storage medium", the entire contents of which are incorporated by reference in Applying.
技术领域Technical field
本申请涉及数据处理技术领域,尤其涉及一种合同生成方法、装置、设备及计算机可读存储介质。The present application relates to the technical field of data processing, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for generating a contract.
背景技术Background technique
合同是企业经济活动的准则,用于维护企业的利益,也明确规定了企业的责任和义务,是企业经济活动必须遵守的法律规范。目前,人们通过电子合同替代纸质合同,从而避免纸质合同递送不方便的问题。但是,现有的合同制作系统需要根据不同需求的电子合同进行对应的定制化开发,通用性差,不仅浪费了大量的人力,而且开发效率低下。因此,如何解决现有技术中合同制作系统通用性差的技术问题,成为了目前亟待解决的技术问题。A contract is a criterion for the economic activities of an enterprise. It is used to protect the interests of the enterprise. It also clearly specifies the responsibilities and obligations of the enterprise. It is a legal norm that must be followed by the economic activity of the enterprise. At present, people replace paper contracts with electronic contracts to avoid the inconvenience of paper contract delivery. However, the existing contract production system needs to be customized and developed according to the electronic contracts with different needs. The versatility is poor, not only a lot of manpower is wasted, but the development efficiency is low. Therefore, how to solve the technical problem of poor commonality of the contract production system in the prior art has become a technical problem to be solved urgently at present.
发明内容Summary of the Invention
本申请的主要目的在于提供一种合同生成方法、装置、设备及计算机可读存储介质,旨在解决现有技术中合同制作系统通用性差的技术问题。The main purpose of this application is to provide a method, device, device and computer-readable storage medium for generating a contract, which aims to solve the technical problem of poor generality of the contract making system in the prior art.
为实现上述目的,本申请提供一种合同生成方法,所述合同生成方法包括以下步骤:In order to achieve the above purpose, this application provides a contract generation method, which includes the following steps:
在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,根据所述目标合同类型获取对应的目标合同模板以及合同处理流程;When receiving a contract generation instruction, acquiring a target contract type in the contract generation instruction, and acquiring a corresponding target contract template and a contract processing flow according to the target contract type;
根据所述合同处理流程,在预置的合同处理节点中获取目标处理节点;Obtaining a target processing node from preset contract processing nodes according to the contract processing flow;
根据所述合同处理流程,将目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链,以生成对应的目标合同。According to the contract processing flow, a target processing node is organized into a target processing chain, and the target contract template is passed into the target processing chain to generate a corresponding target contract.
可选地,所述根据所述合同处理流程,将目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链,以生成对应的目标合同的步骤之后,还包括:Optionally, after the step of organizing a target processing node into a target processing chain according to the contract processing flow, and passing the target contract template into the target processing chain to generate a corresponding target contract, the method further includes: :
显示合同配置页面,以便用户输入合同属性信息,其中,所述合同属性信息包括合同名称、公司名称或者合同金额Display the contract configuration page so that users can enter contract attribute information, where the contract attribute information includes the contract name, company name, or contract amount
在接收到所述合同属性信息时,根据预设属性关键字段,将所述合同属性信息添加至所述目标合同的相应区域。When the contract attribute information is received, the contract attribute information is added to a corresponding area of the target contract according to a preset attribute key field.
可选地,所述在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,根据所述目标合同类型获取对应的目标合同模板以及合同处理流程的步骤包括:Optionally, when receiving the contract generation instruction, acquiring the target contract type in the contract generation instruction, and acquiring the corresponding target contract template and the contract processing flow according to the target contract type includes:
在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,判断所述目标合同类型是否在数据库中匹配到对应的目标合同模板以及合同处理流程;When receiving a contract generation instruction, obtaining a target contract type in the contract generation instruction, and determining whether the target contract type matches a corresponding target contract template and a contract processing flow in a database;
若匹配到对应的目标合同模板以及合同处理流程,则获取所述目标合同模板以及合同处理流程。If the corresponding target contract template and the contract processing flow are matched, the target contract template and the contract processing flow are obtained.
可选地,所述在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,判断是否存在所述目标合同类型对应的目标合同模板以及合同处理流程的步骤之后,还包括:Optionally, after receiving the contract generation instruction, acquiring the target contract type in the contract generation instruction, and determining whether there is a target contract template corresponding to the target contract type and the steps of the contract processing flow, further includes:
若未匹配到对应的目标合同模板以及合同处理流程,则显示预存的合同模板以及所述预置的合同处理节点,以便用户进行对应的选择操作;If the corresponding target contract template and the contract processing flow are not matched, displaying the pre-stored contract template and the preset contract processing node so that the user can perform corresponding selection operations;
获取用户选择的合同模板,作为目标合同模板,获取用户选择的已选处理节点,作为目标处理节点。A contract template selected by the user is obtained as a target contract template, and a selected processing node selected by the user is obtained as a target processing node.
可选地,所述获取用户选择的合同模板,作为目标合同模板,获取用户选择的已选处理节点,作为目标处理节点的步骤之后,还包括:Optionally, after the step of acquiring the contract template selected by the user as the target contract template, acquiring the selected processing node selected by the user as the target processing node, the method further includes:
根据用户设定的处理顺序,依次将所述目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链,以生成对应的目标合同。According to the processing order set by the user, the target processing node is sequentially organized into a target processing chain, and the target contract template is passed into the target processing chain to generate a corresponding target contract.
可选地,所述在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,根据所述目标合同类型获取对应的目标合同模板以及合同处理流程的步骤之前,还包括:Optionally, before receiving the contract generation instruction, acquiring the target contract type in the contract generation instruction, and before obtaining the corresponding target contract template and the contract processing procedure according to the target contract type, the method further includes:
将已构建的合同制作系统拆分为处理碎片组件,将所述处理碎片组件封装为对应的处理节点,作为所述预置的合同处理节点;Split the constructed contract production system into processing fragment components, and package the processing fragment components into corresponding processing nodes as the preset contract processing nodes;
获取所述处理节点在合同制作系统中的处理顺序,并根据所述处理顺序以及所述处理节点的节点标识生成对应的合同处理流程;Acquiring a processing order of the processing node in the contract making system, and generating a corresponding contract processing flow according to the processing order and a node identifier of the processing node;
获取所述合同制作系统处理合同的合同类型以及所述合同制作系统中的合同模板,并将所述合同类型、合同模板以及所述合同处理流程关联存储至预设数据库中。Obtain the contract type of the contract processing system and the contract template in the contract production system, and store the contract type, the contract template, and the contract processing flow in an associated database in a preset database.
可选地,所述根据所述合同处理流程,将目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链的步骤之后,还包括:Optionally, after the step of organizing a target processing node into a target processing chain according to the contract processing flow, and introducing the target contract template into the target processing chain, the method further includes:
获取所述目标处理节点处理所述目标合同模板的目标处理时间,将所述所述目标处理时间与对应的节点处理时间阈值进行比对,并判断所述目标处理时间是否异常;Acquiring a target processing time for the target processing node to process the target contract template, comparing the target processing time with a corresponding node processing time threshold, and determining whether the target processing time is abnormal;
在所述目标处理时间异常时,生成对应的处理异常提醒消息至管理端,以便管理员对该异常情况进行处理。 When the target processing time is abnormal, a corresponding processing abnormality reminding message is generated to the management end so that the administrator can handle the abnormal situation.
此外,为实现上述目的,本申请还提供一种合同生成装置,所述合同生成装置包括: In addition, in order to achieve the foregoing objective, the present application further provides a contract generating device, where the contract generating device includes:
流程获取模块,用于在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,根据所述目标合同类型获取对应的目标合同模板以及合同处理流程;A process obtaining module, configured to obtain a target contract type in the contract generation instruction when a contract generation instruction is received, and obtain a corresponding target contract template and a contract processing flow according to the target contract type;
节点获取模块,用于根据所述合同处理流程,在预置的合同处理节点中获取目标处理节点;A node acquisition module, configured to acquire a target processing node among preset contract processing nodes according to the contract processing flow;
合同生成模块,用于根据所述合同处理流程,将目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链,以生成对应的目标合同。A contract generation module is configured to organize a target processing node into a target processing chain according to the contract processing flow, and transfer the target contract template to the target processing chain to generate a corresponding target contract.
此外,为实现上述目的,本申请还提供一种合同生成设备,所述合同生成设备包括处理器、存储器、以及存储在所述存储器上并可被所述处理器执行的合同生成程序,其中所述合同生成程序被所述处理器执行时,实现如上述的合同生成方法的步骤。In addition, in order to achieve the above-mentioned object, the present application further provides a contract generation device. The contract generation device includes a processor, a memory, and a contract generation program stored on the memory and executable by the processor. When the contract generation program is executed by the processor, the steps of the contract generation method described above are implemented.
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有合同生成程序,其中所述合同生成程序被处理器执行时,实现如上述的合同生成方法的步骤。In addition, in order to achieve the above purpose, the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores a contract generation program, and when the contract generation program is executed by a processor, the contract as described above is implemented. Steps in the generation method.
本申请提供一种合同生成方法,即在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,根据所述目标合同类型获取对应的目标合同模板以及合同处理流程;根据所述合同处理流程,在预置的合同处理节点中获取目标处理节点;根据所述合同处理流程,将目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链,以生成对应的目标合同。通过上述方式,本申请通过将预置的目标处理节点按照目标合同类型对应合同处理流程组织为目标处理链,即将预置的目标处理节点组织生成合同制作系统,然后将目标合同模板传入所述目标处理链进行对应节点的处理操作,由此生成目标合同。本申请可根据不同需求灵活配置所述预置的合同处理节点,无需重复开发,提升合同的生成效率,解决了现有技术中合同制作系统通用性差的技术问题。This application provides a contract generation method, that is, when a contract generation instruction is received, the target contract type in the contract generation instruction is obtained, and a corresponding target contract template and contract processing flow are obtained according to the target contract type; The contract processing process obtains a target processing node from a preset contract processing node; according to the contract processing flow, the target processing node is organized into a target processing chain, and the target contract template is passed into the target processing chain to Generate the corresponding target contract. In the above manner, the present application organizes the preset target processing node according to the target contract type to correspond to the contract processing flow as the target processing chain, that is, organizes the preset target processing node to generate a contract production system, and then passes the target contract template into the The target processing chain performs processing operations of the corresponding nodes, thereby generating a target contract. In this application, the preset contract processing nodes can be flexibly configured according to different requirements without repeated development, improving the efficiency of contract generation, and solving the technical problem of poor generality of the contract production system in the prior art.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请实施例方案中涉及的合同生成设备的硬件结构示意图;FIG. 1 is a schematic diagram of a hardware structure of a contract generating device involved in a solution according to an embodiment of the present application;
图2为本申请合同生成方法第一实施例的流程示意图;FIG. 2 is a schematic flowchart of a first embodiment of a contract generation method for an application;
图3为本申请合同生成方法第二实施例的流程示意图;FIG. 3 is a schematic flowchart of a second embodiment of a contract generation method for an application; FIG.
图4为本申请合同生成方法第三实施例的流程示意图;FIG. 4 is a schematic flowchart of a third embodiment of a contract generation method of this application;
图5为本申请合同生成装置第一实施例的功能模块示意图。FIG. 5 is a schematic diagram of functional modules of the first embodiment of the contract generating apparatus of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the purpose of this application will be further described with reference to the embodiments and the drawings.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the application, and are not used to limit the application.
本申请实施例涉及的合同生成方法主要应用于合同生成设备,该合同生成设备可以是PC、便携计算机、移动终端等具有显示和处理功能的设备。The contract generation method according to the embodiment of the present application is mainly applied to a contract generation device, and the contract generation device may be a device with a display and processing function, such as a PC, a portable computer, or a mobile terminal.
参照图1,图1为本申请实施例方案中涉及的合同生成设备的硬件结构示意图。本申请实施例中,合同生成设备可以包括处理器1001(例如CPU),通信总线1002,用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信;用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard);网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口);存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器,存储器1005可选的还可以是独立于前述处理器1001的存储装置。Referring to FIG. 1, FIG. 1 is a schematic diagram of a hardware structure of a contract generating device involved in a solution according to an embodiment of the present application. In the embodiment of the present application, the contract generating device may include a processor 1001 (for example, a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display and an input unit such as a keyboard. The network interface 1004 may optionally include a standard wired interface and a wireless interface. (Such as the WI-FI interface); the memory 1005 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory, the memory 1005 may optionally be a storage device independent of the foregoing processor 1001.
本领域技术人员可以理解,图1中示出的硬件结构并不构成对合同生成设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the hardware structure shown in FIG. 1 does not constitute a limitation on the contract generating device, and may include more or fewer components than shown in the figure, or combine some components, or arrange different components.
继续参照图1,图1中作为一种计算机可读存储介质的存储器1005可以包括操作系统、网络通信模块以及合同生成程序。With continued reference to FIG. 1, the memory 1005 as a computer-readable storage medium in FIG. 1 may include an operating system, a network communication module, and a contract generation program.
在图1中,网络通信模块主要用于连接服务器,与服务器进行数据通信;而处理器1001可以调用存储器1005中存储的合同生成程序,并执行本申请实施例提供的合同生成方法。In FIG. 1, the network communication module is mainly used to connect to a server and perform data communication with the server; and the processor 1001 can call a contract generation program stored in the memory 1005 and execute the contract generation method provided in the embodiment of the present application.
本申请实施例提供了一种合同生成方法。The embodiment of the present application provides a method for generating a contract.
参照图2,图2为本申请合同生成方法第一实施例的流程示意图。Referring to FIG. 2, FIG. 2 is a schematic flowchart of a first embodiment of a contract generation method of the present application.
本实施例中,所述合同生成方法包括以下步骤:In this embodiment, the contract generation method includes the following steps:
步骤S10, 在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,根据所述目标合同类型获取对应的目标合同模板以及合同处理流程;Step S10, When receiving a contract generation instruction, acquiring a target contract type in the contract generation instruction, and acquiring a corresponding target contract template and a contract processing flow according to the target contract type;
本实施例中,为了解决现有技术中合同制作系统通用性差的技术问题,提供一种合同生成方法。本实施例中合同生成方法可以是由计算终端(服务器、PC等)实现的。服务器在接收到合同生成指令时,获取所述合同生成指令中待生成合同的目标合同类型。其中,所述合同生成指令可以是用户操作触发。在终端上显示预设的合同类型,如人事合同或者业务合同,还可以是是各个业务类型合同等,用户可根据符合自身需求的合同类型触发对应的合同生成指令,如通过人事合同类型的合同生成按钮触发人事合同的合同生成指令。将目标合同类型在预设数据库中进行查找,获取与所述目标合同类型对应的目标合同模板以及合同处理流程。其中,所述目标合同模板可以是各个合同类型对应预关联或者与存储的合同模块。所述合同处理流程为生成合同所需经过的处理节点以及各个处理节点对应的处理顺序。In this embodiment, in order to solve the technical problem of poor generality of the contract making system in the prior art, a contract generation method is provided. The contract generation method in this embodiment may be implemented by a computing terminal (server, PC, etc.). When the server receives the contract generation instruction, it obtains the target contract type of the contract to be generated in the contract generation instruction. The contract generation instruction may be triggered by a user operation. The preset contract types are displayed on the terminal, such as personnel contracts or business contracts, and can also be contracts of various business types. Users can trigger corresponding contract generation instructions based on the type of contract that meets their needs, such as through contracts of personnel contract types. The Generate button triggers a contract generation instruction for a personnel contract. The target contract type is searched in a preset database to obtain a target contract template and a contract processing process corresponding to the target contract type. The target contract template may be a pre-associated or associated contract module of each contract type. The contract processing flow is a processing node required to generate a contract and a processing order corresponding to each processing node.
步骤S20,根据所述合同处理流程,在预置的合同处理节点中获取目标处理节点;Step S20: Obtain a target processing node from the preset contract processing nodes according to the contract processing flow;
本实施例中,在根据目标合同类型确定所述合同处理流程后,根据所述合同处理流程中的处理节点以及处理顺序,在本数据库预置的合同处理节点中确定生成目标合同所需的处理节点。如数据库中预置的合同处理节点包括草稿节点(提供合同模板)、预审节点(对合同模板进行格式或者文字等内容审核)、履约计划节点(合同需要添加的履约条款以及履约期限等)、用印节点(印章管理及添加)、归档节点(合同分类、归档、回收)、履约核实节点(履约条款是否在履约期限内完成)、回款核实节点(合同规定的项目金额是否全部到账等)和/或结束节点(合同到期且履约条款中规定的事项全部实施则结束该合同的管理流程)等。若目标合同类型为包干业务类型,则对应的合同处理流程为:草稿→预审→履约计划→用印→归档→履约→回款→结束,即该目标处理节点为草稿节点、预审节点、履约计划节点、用印节点、归档节点、履约节点、回款节点及结束节点。若目标合同类型为单签业务类型,则则对应的合同处理流程为:草稿→预审→履约计划→用印→归档→结束,即该目标处理节点为草稿节点、预审节点、履约计划节点、用印节点、归档节点及结束节点。具体实施例中,也可以由草稿处理节点根据所述目标合同类型提供目标合同模板。In this embodiment, after determining the contract processing flow according to the target contract type, according to the processing node and processing order in the contract processing flow, the processing required to generate the target contract is determined in the contract processing node preset in this database. node. For example, the contract processing nodes preset in the database include draft nodes (providing contract templates), pre-review nodes (reviewing the format or text of contract templates, etc.), performance planning nodes (performance clauses and performance deadlines to be added to the contract, etc.), and printing Nodes (seal management and addition), archiving nodes (contract classification, archiving, recovery), performance verification nodes (whether performance terms are completed within the performance period), repayment verification nodes (whether the amount of the project stipulated in the contract is fully accounted, etc.) and / Or the end of the node (the contract expires and the provisions of the performance clause are fully implemented, the management process of the contract ends), etc. If the target contract type is a contract business type, the corresponding contract processing process is: draft → pre-approval → performance plan → printing → filing → fulfillment → payment → end, that is, the target processing node is a draft node, a pre-examination node, and a performance plan node , Using printing node, filing node, fulfillment node, payment node and ending node. If the target contract type is a single-signature business type, the corresponding contract processing process is: draft → pre-approval → performance plan → use seal → archive → end, that is, the target processing node is a draft node, pre-review node, performance plan node, and printing node , Archive node and end node. In a specific embodiment, a draft processing node may also provide a target contract template according to the target contract type.
步骤S30,根据所述合同处理流程,将目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链,以生成对应的目标合同。In step S30, according to the contract processing flow, a target processing node is organized into a target processing chain, and the target contract template is passed into the target processing chain to generate a corresponding target contract.
本实施例中,根据所述合同处理流程中的处理顺序,依次将所述目标处理节点中的各个处理节点建立连接,由此生成目标处理链。其中,在接收到前一个目标处理节点处理后反馈的目标合同模板时,可以通过邮箱或即时通讯软件等联系方式,将目标合同模板反馈至下一个目标处理节点。以此类推,按照合同处理流程中的处理顺序,依次完成目标合同模板的处理,生成目标合同。具体实施例中,当某个处理节点处理所述目标合同模板时,若发现上个节点应处理的信息未完成,则可反馈至上个处理节点。In this embodiment, according to the processing order in the contract processing flow, each processing node in the target processing node is sequentially connected to generate a target processing chain. Among them, when receiving the target contract template fed back by the previous target processing node, the target contract template can be fed back to the next target processing node through a contact method such as email or instant messaging software. By analogy, according to the processing order in the contract processing flow, the processing of the target contract template is completed in order to generate the target contract. In a specific embodiment, when a processing node processes the target contract template, if it is found that the information to be processed by the previous node is not completed, it may be fed back to the previous processing node.
进一步地,步骤S30之后,还包括:Further, after step S30, the method further includes:
显示合同配置页面,以便用户输入合同属性信息,其中,所述合同属性信息包括合同名称、公司名称或者合同金额;Displaying a contract configuration page for a user to enter contract attribute information, where the contract attribute information includes a contract name, a company name, or a contract amount;
在接收到所述合同属性信息时,根据预设属性关键字段,将所述合同属性信息添加至所述目标合同的相应区域。When the contract attribute information is received, the contract attribute information is added to a corresponding area of the target contract according to a preset attribute key field.
本实施例中,在生成目标合同后,可对应显示填写所述合同的合同属性信息页面。由此,将用户输入的合同名称、公司名称和履约期限添加到所述目标合同的相应区域中。所述相应区域可以是预设的与合同名称、公司名称和履约期限关联的表格或输入栏。其中,可以通过识别目标合同中的属性关键字段,由此确定所述合同属性信息中的各个属性信息应添加的区域。如根据“name”关键字段,确定所述合同名称应填写的区域,将所述合同名称添加至“name”关键字段之后的待填写区域等。In this embodiment, after the target contract is generated, a contract attribute information page for filling in the contract may be displayed correspondingly. Thereby, the contract name, company name, and performance period entered by the user are added to the corresponding areas of the target contract. The corresponding area may be a preset form or an input field associated with a contract name, a company name, and a performance period. Among them, by identifying the attribute key field in the target contract, the area to which each attribute information in the contract attribute information should be added can be determined. For example, according to the "name" key field, an area to be filled in the contract name is determined, and the contract name is added to a to-be-filled area after the "name" key field.
本实施例提供一种合同生成方法,即在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,根据所述目标合同类型获取对应的目标合同模板以及合同处理流程;根据所述合同处理流程,在预置的合同处理节点中获取目标处理节点;根据所述合同处理流程,将目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链,以生成对应的目标合同。通过上述方式,本申请通过将预置的目标处理节点按照目标合同类型对应合同处理流程组织为目标处理链,即将预置的目标处理节点组织生成合同制作系统,然后将目标合同模板传入所述目标处理链进行对应节点的处理操作,由此生成目标合同。本申请可根据不同需求灵活配置所述预置的合同处理节点,无需重复开发,提升合同的生成效率,解决了现有技术中合同制作系统通用性差的技术问题。This embodiment provides a contract generation method, that is, when a contract generation instruction is received, a target contract type in the contract generation instruction is obtained, and a corresponding target contract template and contract processing flow are obtained according to the target contract type; According to the contract processing flow, a target processing node is obtained from a preset contract processing node; according to the contract processing flow, the target processing node is organized into a target processing chain, and the target contract template is passed into the target processing chain, To generate the corresponding target contract. In the above manner, the present application organizes the preset target processing node according to the target contract type to correspond to the contract processing flow as the target processing chain, that is, organizes the preset target processing node to generate a contract production system, and then passes the target contract template into the The target processing chain performs processing operations of the corresponding nodes, thereby generating a target contract. In this application, the preset contract processing nodes can be flexibly configured according to different requirements without repeated development, improving the efficiency of contract generation, and solving the technical problem of poor generality of the contract production system in the prior art.
参照图3,图3为本申请合同生成方法第二实施例的流程示意图。Referring to FIG. 3, FIG. 3 is a schematic flowchart of a second embodiment of a contract generation method of the present application.
基于上述图2所示实施例,本实施例中,所述步骤S10具体包括:Based on the embodiment shown in FIG. 2, in this embodiment, the step S10 specifically includes:
步骤S11,在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,判断所述目标合同类型是否在数据库中匹配到对应的目标合同模板以及合同处理流程;Step S11: When receiving the contract generation instruction, obtain the target contract type in the contract generation instruction, and determine whether the target contract type matches the corresponding target contract template and the contract processing flow in the database;
本实施例中,在接收到合同生成指令时,判断数据库中是否能匹配到所述合同生成指令中目标合同类型对应的目标合同模板和合同处理流程。具体实施例中,可以判断数据库中是否能匹配到所述合同生成指令中目标合同类型对应的合同处理流程。所述目标合同模板可以由处理节点进行提供。In this embodiment, when a contract generation instruction is received, it is determined whether a target contract template corresponding to a target contract type in the contract generation instruction and a contract processing flow can be matched in the database. In a specific embodiment, it can be determined whether the database can match the contract processing flow corresponding to the target contract type in the contract generation instruction. The target contract template may be provided by a processing node.
步骤S12,若匹配到对应的目标合同模板以及合同处理流程,则获取所述目标合同模板以及合同处理流程。Step S12: If the corresponding target contract template and the contract processing flow are matched, obtain the target contract template and the contract processing flow.
本实施例中,若数据库中能匹配到所述目标合同类型对应的目标合同模板以及合同处理流程,则获取所述目标合同模板以及合同处理流程即可。In this embodiment, if the target contract template and the contract processing flow corresponding to the target contract type can be matched in the database, the target contract template and the contract processing flow can be obtained.
所述步骤S13,若未匹配到对应的目标合同模板以及合同处理流程,则显示预存的合同模板以及所述预置的合同处理节点,以便用户进行对应的选择操作;In step S13, if the corresponding target contract template and contract processing flow are not matched, the pre-stored contract template and the preset contract processing node are displayed, so that the user can perform a corresponding selection operation;
本实施例中,若数据库中匹配不到所述目标合同类型对应的目标合同模板以及合同处理流程,可能表示服务器无法识别所述合同生成指令中的目标合同类型关键字。可显示预存的合同模板以及数据库中预置的合同处理节点,以便用户在所述合同模板以及合同处理节点中进行手动选择。In this embodiment, if the target contract template and contract processing flow corresponding to the target contract type cannot be matched in the database, it may indicate that the server cannot identify the target contract type keyword in the contract generation instruction. Pre-stored contract templates and contract processing nodes preset in the database may be displayed, so that the user can manually select among the contract templates and contract processing nodes.
所述步骤S14,获取用户选择的合同模板,作为目标合同模板,获取用户选择的已选处理节点,作为目标处理节点。In step S14, the contract template selected by the user is obtained as the target contract template, and the selected processing node selected by the user is obtained as the target processing node.
本实施例中,获取用户选择操作触发的合同模板,将其设置为目标合同模板,并获取用户选择操作触发的处理节点即已选处理节点,将其设置为目标处理节点。In this embodiment, a contract template triggered by a user selection operation is acquired and set as a target contract template, and a processing node triggered by a user selection operation is selected processing node, which is set as a target processing node.
所述步骤S15,根据用户设定的处理顺序,依次将所述目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链,以生成对应的目标合同。In step S15, according to the processing order set by the user, the target processing node is sequentially organized into a target processing chain, and the target contract template is passed into the target processing chain to generate a corresponding target contract.
本实施例中,在确定目标合同模板以及目标处理节点时,根据用户手动设定的处理顺序,依次将所述目标处理节点中的各个处理节点建立连接,由此生成目标处理链。然后通过所述目标处理链对所述目标合同模板进行处理,生成目标合同。In this embodiment, when the target contract template and the target processing node are determined, according to the processing order manually set by the user, each processing node in the target processing node is sequentially connected to generate a target processing chain. Then, the target contract template is processed through the target processing chain to generate a target contract.
参照图4,图4为本申请合同生成方法第三实施例的流程示意图。Referring to FIG. 4, FIG. 4 is a schematic flowchart of a third embodiment of a contract generation method of the present application.
基于上述图3所示实施例,本实施例中,所述步骤S10之前,还包括:Based on the embodiment shown in FIG. 3 above, in this embodiment, before step S10, the method further includes:
步骤S41,将已构建的合同制作系统拆分为处理碎片组件,将所述处理碎片组件封装为对应的处理节点,作为所述预置的合同处理节点;Step S41: Split the constructed contract production system into processing fragment components, and package the processing fragment components into corresponding processing nodes as the preset contract processing nodes;
本实施例中,该合同生成系统包括通用接口和存储的处理节点。其中处理节点为预存碎片组件,其中,所述通用接口为统一接口入口,用于接收用户发送的合同处理请求。所述预存碎片组件为后台将已构建的合同制作系统拆分为功能组件,并提取出公共功能组件(该公共功能组件即为一般合同处理时均需要调用的功能组件),将该公共功能组件进行封装并单独存储预存碎片组件,以便后期处理其他合同请求时直接对该预存碎片组件进行调用。当然,本案中的预存碎片组件也可以是存储于云服务器,合同生成设备与云服务器网络连接,从而可调用存储于云服务器中的预存碎片组件。In this embodiment, the contract generation system includes a general interface and a storage processing node. The processing node is a pre-stored fragment component, and the universal interface is a unified interface entry for receiving a contract processing request sent by a user. The pre-stored fragmentation component is a background that divides the constructed contract production system into functional components, and extracts a common functional component (the common functional component is a functional component that needs to be called during general contract processing), and the common functional component Encapsulate and store the pre-stored shard component separately, so that the pre-stored shard component can be called directly when processing other contract requests later. Of course, the pre-stored fragment component in this case may also be stored in the cloud server, and the contract generation device is connected to the cloud server network, so that the pre-stored fragment component stored in the cloud server can be called.
步骤S42,获取所述处理节点在合同制作系统中的处理顺序,并根据所述处理顺序以及所述处理节点的节点标识生成对应的合同处理流程;Step S42: Acquire a processing order of the processing node in the contract making system, and generate a corresponding contract processing flow according to the processing order and a node identifier of the processing node;
本实施例中,获取所述处理节点在已构建的合同制作系统中的处理顺序,并以所述处理顺序以及对应的处理节点标识,生成合同处理流程。其中,所述合同处理流程包括需要调用的各个目标处理节点标识以及调用处理节点的调用顺序。In this embodiment, the processing order of the processing nodes in the constructed contract making system is obtained, and a contract processing flow is generated based on the processing order and the corresponding processing node identification. The contract processing flow includes the identification of each target processing node that needs to be called and the calling sequence of the calling processing node.
步骤S43,获取所述合同制作系统处理合同的合同类型以及所述合同制作系统中的合同模板,并将所述合同类型、合同模板以及所述合同处理流程关联存储至预设数据库中。Step S43: Obtain the contract type of the contract processing system and the contract template in the contract production system, and store the contract type, the contract template, and the contract processing flow in an associated database in a preset database.
本实施例中,确定合同制作系统所处理合同对应的合同类型,以及对应使用的合同模板。将合同类型、合同模板以及合同处理流程进行关联,然后存储至所述预设数据库中,以便后续调用。In this embodiment, the contract type corresponding to the contract processed by the contract production system and the corresponding contract template are determined. The contract type, the contract template, and the contract processing process are associated, and then stored in the preset database for subsequent invocation.
进一步地,所述步骤S30之后,还包括:Further, after step S30, the method further includes:
获取所述目标处理节点处理所述目标合同模板的目标处理时间,将所述所述目标处理时间与对应的节点处理时间阈值进行比对,并判断所述目标处理时间是否异常;Acquiring a target processing time for the target processing node to process the target contract template, comparing the target processing time with a corresponding node processing time threshold, and determining whether the target processing time is abnormal;
本实施例中,为了防止合同处理过程发生异常,而导致合同生成终止,可预先将各个处理节点设置对应的处理时间阈值。其中,所述处理时间阈值可以是系统根据历史数据统计设定,还可以是用户根据实际需要手动设定。在将所述目标合同模板传入目标处理链时,对所述目标处理链中的处理节点操作进行跟踪监控。具体可通过计时器对各个目标处理节点的目标处理时间进行计时,若所述目标处理时间超过所述目标处理节点对应的处理时间阈值,则判定所述目标处理节点发生处理异常。In this embodiment, in order to prevent an abnormality in the contract processing process and cause the termination of contract generation, each processing node may be set with a corresponding processing time threshold in advance. The processing time threshold may be statistically set by the system according to historical data, or may be manually set by a user according to actual needs. When the target contract template is transferred to the target processing chain, the operation of the processing node in the target processing chain is tracked and monitored. Specifically, the target processing time of each target processing node may be counted by a timer. If the target processing time exceeds a processing time threshold corresponding to the target processing node, it is determined that a processing abnormality occurs at the target processing node.
在所述目标处理时间异常时,生成对应的处理异常提醒消息至管理端,以便管理员对该异常情况进行处理。When the target processing time is abnormal, a corresponding processing abnormality reminding message is generated to the management end so that the administrator can handle the abnormal situation.
本实施例中,若所述目标处理时间异常时,即表示目标处理节点发生处理异常,可以生成对应的处理异常提醒消息到管理端。以便管理员对应检查所述目标处理节点的处理进度,并及时处理异常问题,保证处理效率。In this embodiment, if the target processing time is abnormal, it indicates that the target processing node has a processing abnormality, and a corresponding processing abnormality reminding message may be generated to the management end. So that the administrator can check the processing progress of the target processing node correspondingly, and deal with abnormal problems in time to ensure processing efficiency.
此外,本申请实施例还提供一种合同生成装置。In addition, an embodiment of the present application further provides a contract generating device.
参照图5,图5为本申请合同生成装置第一实施例的功能模块示意图。Referring to FIG. 5, FIG. 5 is a schematic diagram of functional modules of a first embodiment of a contract generating apparatus of the present application.
本实施例中,所述合同生成装置包括:In this embodiment, the contract generating device includes:
流程获取模块10,用于在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,根据所述目标合同类型获取对应的目标合同模板以及合同处理流程;A process obtaining module 10 is configured to obtain a target contract type in the contract generation instruction when a contract generation instruction is received, and obtain a corresponding target contract template and a contract processing flow according to the target contract type;
节点获取模块20,用于根据所述合同处理流程,在预置的合同处理节点中获取目标处理节点;A node acquisition module 20, configured to acquire a target processing node among preset contract processing nodes according to the contract processing flow;
合同生成模块30,用于根据所述合同处理流程,将目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链,以生成对应的目标合同。A contract generation module 30 is configured to organize a target processing node into a target processing chain according to the contract processing flow, and transfer the target contract template to the target processing chain to generate a corresponding target contract.
进一步地,所述合同生成装置还包括:Further, the contract generating device further includes:
信息配置模块,用于显示合同配置页面,以便用户输入合同属性信息,其中,所述合同属性信息包括合同名称、公司名称或者合同金额;An information configuration module, configured to display a contract configuration page for a user to input contract attribute information, where the contract attribute information includes a contract name, a company name, or a contract amount;
信息添加模块,用于在接收到所述合同属性信息时,根据预设属性关键字段,将所述合同属性信息添加至所述目标合同的相应区域。An information adding module is configured to add the contract attribute information to a corresponding area of the target contract according to a preset attribute key field when the contract attribute information is received.
进一步地,所述节点获取模块20包括:Further, the node acquisition module 20 includes:
节点匹配单元,用于在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,判断所述目标合同类型是否在数据库中匹配到对应的目标合同模板以及合同处理流程;A node matching unit is configured to, when receiving a contract generation instruction, obtain a target contract type in the contract generation instruction, and determine whether the target contract type matches a corresponding target contract template and a contract processing procedure in a database;
节点获取单元,用于若匹配到对应的目标合同模板以及合同处理流程,则获取所述目标合同模板以及合同处理流程。The node obtaining unit is configured to obtain the target contract template and the contract processing flow if the corresponding target contract template and the contract processing flow are matched.
进一步地,所述节点获取模块20还包括:Further, the node acquisition module 20 further includes:
节点选择单元,用于若未匹配到对应的目标合同模板以及合同处理流程,则显示预存的合同模板以及所述预置的合同处理节点,以便用户进行对应的选择操作;A node selection unit, configured to display a pre-stored contract template and the preset contract processing node if the corresponding target contract template and contract processing flow are not matched, so that the user can perform a corresponding selection operation;
节点设定单元,用于获取用户选择的合同模板,作为目标合同模板,获取用户选择的已选处理节点,作为目标处理节点。The node setting unit is configured to obtain a contract template selected by a user as a target contract template, and obtain a selected processing node selected by the user as a target processing node.
合同生成单元,用于根据用户设定的处理顺序,依次将所述目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链,以生成对应的目标合同。A contract generation unit is configured to sequentially organize the target processing nodes into a target processing chain according to a processing order set by a user, and transfer the target contract template to the target processing chain to generate a corresponding target contract.
进一步地,所述合同生成装置还包括:Further, the contract generating device further includes:
节点预置模块,用于将已构建的合同制作系统拆分为处理碎片组件,将所述处理碎片组件封装为对应的处理节点,作为所述预置的合同处理节点;A node preset module, configured to split the constructed contract production system into processing fragment components, and package the processing fragment components into corresponding processing nodes as the preset contract processing nodes;
流程生成模块,用于获取所述处理节点在合同制作系统中的处理顺序,并根据所述处理顺序以及所述处理节点的节点标识生成对应的合同处理流程;A process generation module, configured to obtain a processing order of the processing node in the contract making system, and generate a corresponding contract processing flow according to the processing order and a node identifier of the processing node;
流程存储模块,用于获取所述合同制作系统处理合同的合同类型以及所述合同制作系统中的合同模板,并将所述合同类型、合同模板以及所述合同处理流程关联存储至预设数据库中。A process storage module, configured to obtain a contract type processed by the contract production system and a contract template in the contract production system, and store the contract type, the contract template, and the contract processing flow in a preset database in association .
进一步地,所述合同生成装置还包括:Further, the contract generating device further includes:
时间监控模块,用于获取所述目标处理节点处理所述目标合同模板的目标处理时间,将所述所述目标处理时间与对应的节点处理时间阈值进行比对,并判断所述目标处理时间是否异常;A time monitoring module, configured to obtain a target processing time for the target processing node to process the target contract template, compare the target processing time with a corresponding node processing time threshold, and determine whether the target processing time is abnormal;
异常提醒模块,用于在所述目标处理时间异常时,生成对应的处理异常提醒消息至管理端,以便管理员对该异常情况进行处理。The abnormality reminding module is configured to generate a corresponding processing abnormality reminding message to the management end when the target processing time is abnormal, so that the administrator can handle the abnormal situation.
其中,上述合同生成装置中各个模块与上述合同生成方法实施例中各步骤相对应,其功能和实现过程在此处不再一一赘述。Wherein, each module in the above contract generation device corresponds to each step in the above embodiment of the contract generation method, and its functions and implementation processes are not repeated here one by one.
此外,本申请实施例还提供一种计算机可读存储介质。In addition, an embodiment of the present application further provides a computer-readable storage medium.
本申请计算机可读存储介质上存储有合同生成程序,其中所述合同生成程序被处理器执行时,实现如上述的合同生成方法的步骤。The computer-readable storage medium of the present application stores a contract generation program, wherein when the contract generation program is executed by a processor, the steps of the contract generation method described above are implemented.
其中,合同生成程序被执行时所实现的方法可参照本申请合同生成方法的各个实施例,此处不再赘述。For the method implemented when the contract generation program is executed, reference may be made to various embodiments of the contract generation method of the present application, and details are not described herein again.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, in this article, the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, It also includes other elements not explicitly listed, or elements inherent to such a process, method, article, or system. Without more restrictions, an element limited by the sentence "including a ..." does not exclude the existence of other identical elements in the process, method, article, or system that includes the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the superiority or inferiority of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better. Implementation. Based on such an understanding, the technical solution of this application that is essentially or contributes to the existing technology can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM / RAM) as described above. , Magnetic disk, optical disc), including a number of instructions to enable a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of this application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and thus do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the specification and drawings of the present application, or directly or indirectly used in other related technical fields Are included in the scope of patent protection of this application.

Claims (20)

  1. 一种合同生成方法,其特征在于,所述合同生成方法包括以下步骤:A contract generation method is characterized in that the contract generation method includes the following steps:
    在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,根据所述目标合同类型获取对应的目标合同模板以及合同处理流程;When receiving a contract generation instruction, acquiring a target contract type in the contract generation instruction, and acquiring a corresponding target contract template and a contract processing flow according to the target contract type;
    根据所述合同处理流程,在预置的合同处理节点中获取目标处理节点;Obtaining a target processing node from preset contract processing nodes according to the contract processing flow;
    根据所述合同处理流程,将目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链,以生成对应的目标合同。According to the contract processing flow, a target processing node is organized into a target processing chain, and the target contract template is passed into the target processing chain to generate a corresponding target contract.
  2. 如权利要求1所述的合同生成方法,其特征在于,所述在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,根据所述目标合同类型获取对应的目标合同模板以及合同处理流程的步骤包括:The method for generating a contract according to claim 1, wherein when receiving a contract generation instruction, obtaining a target contract type in the contract generation instruction, obtaining a corresponding target contract template according to the target contract type, and The steps of the contract processing process include:
    在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,判断所述目标合同类型是否在数据库中匹配到对应的目标合同模板以及合同处理流程;When receiving a contract generation instruction, obtaining a target contract type in the contract generation instruction, and determining whether the target contract type matches a corresponding target contract template and a contract processing flow in a database;
    若匹配到对应的目标合同模板以及合同处理流程,则获取所述目标合同模板以及合同处理流程。If the corresponding target contract template and the contract processing flow are matched, the target contract template and the contract processing flow are obtained.
  3. 如权利要求2所述的合同生成方法,其特征在于,所述在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,判断是否存在所述目标合同类型对应的目标合同模板以及合同处理流程的步骤之后,还包括:The method for generating a contract according to claim 2, wherein when receiving the contract generation instruction, the target contract type in the contract generation instruction is acquired, and it is determined whether a target contract template corresponding to the target contract type exists. After the steps of the contract processing process, it also includes:
    若未匹配到对应的目标合同模板以及合同处理流程,则显示预存的合同模板以及所述预置的合同处理节点,以便用户进行对应的选择操作;If the corresponding target contract template and the contract processing flow are not matched, displaying the pre-stored contract template and the preset contract processing node so that the user can perform corresponding selection operations;
    获取用户选择的合同模板,作为目标合同模板,获取用户选择的已选处理节点,作为目标处理节点。A contract template selected by the user is obtained as a target contract template, and a selected processing node selected by the user is obtained as a target processing node.
  4. 如权利要求3所述的合同生成方法,其特征在于,所述获取用户选择的合同模板,作为目标合同模板,获取用户选择的已选处理节点,作为目标处理节点的步骤之后,还包括:The method for generating a contract according to claim 3, wherein after the step of acquiring the contract template selected by the user as a target contract template, acquiring the selected processing node selected by the user as the target processing node, further comprising:
    根据用户设定的处理顺序,依次将所述目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链,以生成对应的目标合同。According to the processing order set by the user, the target processing node is sequentially organized into a target processing chain, and the target contract template is passed into the target processing chain to generate a corresponding target contract.
  5. 如权利要求1所述的合同生成方法,其特征在于,所述在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,根据所述目标合同类型获取对应的目标合同模板以及合同处理流程的步骤之前,还包括:The method for generating a contract according to claim 1, wherein when receiving a contract generation instruction, obtaining a target contract type in the contract generation instruction, obtaining a corresponding target contract template according to the target contract type, and Before the steps of the contract processing process, it also includes:
    将已构建的合同制作系统拆分为处理碎片组件,将所述处理碎片组件封装为对应的处理节点,作为所述预置的合同处理节点;Split the constructed contract production system into processing fragment components, and package the processing fragment components into corresponding processing nodes as the preset contract processing nodes;
    获取所述处理节点在合同制作系统中的处理顺序,并根据所述处理顺序以及所述处理节点的节点标识生成对应的合同处理流程;Acquiring a processing order of the processing node in the contract making system, and generating a corresponding contract processing flow according to the processing order and a node identifier of the processing node;
    获取所述合同制作系统处理合同的合同类型以及所述合同制作系统中的合同模板,并将所述合同类型、合同模板以及所述合同处理流程关联存储至预设数据库中。Obtain the contract type of the contract processing system and the contract template in the contract production system, and store the contract type, the contract template, and the contract processing flow in an associated database in a preset database.
  6. 如权利要求1所述的合同生成方法,其特征在于,所述根据所述合同处理流程,将目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链的步骤之后,还包括:The method of claim 1, wherein the step of organizing a target processing node into a target processing chain according to the contract processing flow, and introducing the target contract template into the target processing chain After that, it also includes:
    获取所述目标处理节点处理所述目标合同模板的目标处理时间,将所述所述目标处理时间与对应的节点处理时间阈值进行比对,并判断所述目标处理时间是否异常;Acquiring a target processing time for the target processing node to process the target contract template, comparing the target processing time with a corresponding node processing time threshold, and determining whether the target processing time is abnormal;
    在所述目标处理时间异常时,生成对应的处理异常提醒消息至管理端,以便管理员对该异常情况进行处理。When the target processing time is abnormal, a corresponding processing abnormality reminding message is generated to the management end so that the administrator can handle the abnormal situation.
  7. 如权利要求1所述的合同生成方法,其特征在于,所述根据所述合同处理流程,将目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链,以生成对应的目标合同的步骤之后,还包括:The contract generation method according to claim 1, wherein the target processing node is organized into a target processing chain according to the contract processing flow, and the target contract template is passed into the target processing chain to After the steps of generating the corresponding target contract, it also includes:
    显示合同配置页面,以便用户输入合同属性信息,其中,所述合同属性信息包括合同名称、公司名称或者合同金额Display the contract configuration page so that users can enter contract attribute information, where the contract attribute information includes the contract name, company name, or contract amount
    在接收到所述合同属性信息时,根据预设属性关键字段,将所述合同属性信息添加至所述目标合同的相应区域。When the contract attribute information is received, the contract attribute information is added to a corresponding area of the target contract according to a preset attribute key field.
  8. 一种合同生成装置,其特征在于,所述合同生成装置包括: A contract generating device, wherein the contract generating device includes:
    流程获取模块,用于在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,根据所述目标合同类型获取对应的目标合同模板以及合同处理流程;A process obtaining module, configured to obtain a target contract type in the contract generation instruction when a contract generation instruction is received, and obtain a corresponding target contract template and a contract processing flow according to the target contract type;
    节点获取模块,用于根据所述合同处理流程,在预置的合同处理节点中获取目标处理节点;A node acquisition module, configured to acquire a target processing node among preset contract processing nodes according to the contract processing flow;
    合同生成模块,用于根据所述合同处理流程,将目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链,以生成对应的目标合同。A contract generation module is configured to organize a target processing node into a target processing chain according to the contract processing flow, and transfer the target contract template to the target processing chain to generate a corresponding target contract.
  9. 如权利要求8所述的合同生成装置,其特征在于,所述合同生成装置还包括:The contract generating device according to claim 8, wherein the contract generating device further comprises:
    信息配置模块,用于显示合同配置页面,以便用户输入合同属性信息,其中,所述合同属性信息包括合同名称、公司名称或者合同金额;An information configuration module, configured to display a contract configuration page for a user to input contract attribute information, where the contract attribute information includes a contract name, a company name, or a contract amount;
    信息添加模块,用于在接收到所述合同属性信息时,根据预设属性关键字段,将所述合同属性信息添加至所述目标合同的相应区域。An information adding module is configured to add the contract attribute information to a corresponding area of the target contract according to a preset attribute key field when the contract attribute information is received.
  10. 如权利要求8所述的合同生成装置,其特征在于,所述节点获取模块包括:The contract generating device according to claim 8, wherein the node acquisition module comprises:
    节点匹配单元,用于在接收到合同生成指令时,获取所述合同生成指令中的目标合同类型,判断所述目标合同类型是否在数据库中匹配到对应的目标合同模板以及合同处理流程;A node matching unit is configured to, when receiving a contract generation instruction, obtain a target contract type in the contract generation instruction, and determine whether the target contract type matches a corresponding target contract template and a contract processing procedure in a database;
    节点获取单元,用于若匹配到对应的目标合同模板以及合同处理流程,则获取所述目标合同模板以及合同处理流程。The node obtaining unit is configured to obtain the target contract template and the contract processing flow if the corresponding target contract template and the contract processing flow are matched.
  11. 如权利要求8所述的合同生成装置,其特征在于,所述节点获取模块还包括:The contract generation device according to claim 8, wherein the node acquisition module further comprises:
    节点选择单元,用于若未匹配到对应的目标合同模板以及合同处理流程,则显示预存的合同模板以及所述预置的合同处理节点,以便用户进行对应的选择操作;A node selection unit, configured to display a pre-stored contract template and the preset contract processing node if the corresponding target contract template and contract processing flow are not matched, so that the user can perform a corresponding selection operation;
    节点设定单元,用于获取用户选择的合同模板,作为目标合同模板,获取用户选择的已选处理节点,作为目标处理节点。The node setting unit is configured to obtain a contract template selected by a user as a target contract template, and obtain a selected processing node selected by the user as a target processing node.
    合同生成单元,用于根据用户设定的处理顺序,依次将所述目标处理节点组织为目标处理链,并将所述目标合同模板传入所述目标处理链,以生成对应的目标合同。A contract generation unit is configured to sequentially organize the target processing nodes into a target processing chain according to a processing order set by a user, and transfer the target contract template to the target processing chain to generate a corresponding target contract.
  12. 如权利要求8所述的合同生成装置,其特征在于,所述合同生成装置还包括:The contract generating device according to claim 8, wherein the contract generating device further comprises:
    节点预置模块,用于将已构建的合同制作系统拆分为处理碎片组件,将所述处理碎片组件封装为对应的处理节点,作为所述预置的合同处理节点;A node preset module, configured to split the constructed contract production system into processing fragment components, and package the processing fragment components into corresponding processing nodes as the preset contract processing nodes;
    流程生成模块,用于获取所述处理节点在合同制作系统中的处理顺序,并根据所述处理顺序以及所述处理节点的节点标识生成对应的合同处理流程;A process generation module, configured to obtain a processing order of the processing node in the contract making system, and generate a corresponding contract processing flow according to the processing order and a node identifier of the processing node;
    流程存储模块,用于获取所述合同制作系统处理合同的合同类型以及所述合同制作系统中的合同模板,并将所述合同类型、合同模板以及所述合同处理流程关联存储至预设数据库中。A process storage module, configured to obtain a contract type processed by the contract production system and a contract template in the contract production system, and store the contract type, the contract template, and the contract processing flow in a preset database in association .
  13. 一种合同生成设备,其特征在于,所述合同生成设备包括处理器、存储器、以及存储在所述存储器上并可被所述处理器执行的合同生成程序,其中所述合同生成程序被所述处理器执行时,实现如权利要求1至7中任一项所述的合同生成方法的步骤。A contract generation device, characterized in that the contract generation device includes a processor, a memory, and a contract generation program stored on the memory and executable by the processor, wherein the contract generation program is described by the When executed by the processor, the steps of the contract generation method according to any one of claims 1 to 7 are implemented.
  14. 一种合同生成设备,其特征在于,所述合同生成设备包括处理器、存储器、以及存储在所述存储器上并可被所述处理器执行的合同生成程序,其中所述合同生成程序被所述处理器执行时,实现如权利要求2所述的合同生成方法的步骤。A contract generation device, characterized in that the contract generation device includes a processor, a memory, and a contract generation program stored on the memory and executable by the processor, wherein the contract generation program is described by the When executed by the processor, the steps of the contract generation method according to claim 2 are implemented.
  15. 一种合同生成设备,其特征在于,所述合同生成设备包括处理器、存储器、以及存储在所述存储器上并可被所述处理器执行的合同生成程序,其中所述合同生成程序被所述处理器执行时,实现如权利要求3所述的合同生成方法的步骤。A contract generation device, characterized in that the contract generation device includes a processor, a memory, and a contract generation program stored on the memory and executable by the processor, wherein the contract generation program is described by the When executed by the processor, the steps of the contract generation method according to claim 3 are implemented.
  16. 一种合同生成设备,其特征在于,所述合同生成设备包括处理器、存储器、以及存储在所述存储器上并可被所述处理器执行的合同生成程序,其中所述合同生成程序被所述处理器执行时,实现如权利要求4所述的合同生成方法的步骤。A contract generation device, characterized in that the contract generation device includes a processor, a memory, and a contract generation program stored on the memory and executable by the processor, wherein the contract generation program is described by the When executed by the processor, the steps of the contract generation method according to claim 4 are implemented.
  17. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有合同生成程序,其中所述合同生成程序被处理器执行时,实现如权利要求1所述的合同生成方法的步骤。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a contract generation program, wherein when the contract generation program is executed by a processor, the method for implementing the contract generation method according to claim 1 is implemented. step.
  18. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有合同生成程序,其中所述合同生成程序被处理器执行时,实现如权利要求2的合同生成方法的步骤。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a contract generation program, wherein when the contract generation program is executed by a processor, the steps of the contract generation method according to claim 2 are implemented.
  19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有合同生成程序,其中所述合同生成程序被处理器执行时,实现如权利要求3所述的合同生成方法的步骤。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a contract generation program, wherein when the contract generation program is executed by a processor, the method for implementing the contract generation method according to claim 3 is implemented. step.
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有合同生成程序,其中所述合同生成程序被处理器执行时,实现如权利要求4所述的合同生成方法的步骤。 A computer-readable storage medium, characterized in that the computer-readable storage medium stores a contract generation program, wherein when the contract generation program is executed by a processor, the method for implementing the contract generation method according to claim 4 is implemented. step. Ranch
PCT/CN2018/123219 2018-09-28 2018-12-24 Contract generation method and apparatus, and device and storage medium WO2020062658A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811138565.0 2018-09-28
CN201811138565.0A CN109657216B (en) 2018-09-28 2018-09-28 Contract generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2020062658A1 true WO2020062658A1 (en) 2020-04-02

Family

ID=66110683

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/123219 WO2020062658A1 (en) 2018-09-28 2018-12-24 Contract generation method and apparatus, and device and storage medium

Country Status (2)

Country Link
CN (1) CN109657216B (en)
WO (1) WO2020062658A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579867A (en) * 2020-12-10 2021-03-30 平安普惠企业管理有限公司 Document generation method, device, equipment and storage medium
CN114912904A (en) * 2022-06-24 2022-08-16 广域铭岛数字科技有限公司 Project delivery state determining method, system, electronic device and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188165A (en) * 2019-04-24 2019-08-30 平安科技(深圳)有限公司 Contract template acquisition methods, device, storage medium and computer equipment
CN111274202B (en) * 2020-01-15 2023-07-14 深圳市中农网有限公司 Electronic contract generation method, device, computer equipment and storage medium
CN111932412A (en) * 2020-09-04 2020-11-13 汪宏杰 Contract drafting and revising method, device, storage medium and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6067531A (en) * 1998-07-21 2000-05-23 Mci Communications Corporation Automated contract negotiator/generation system and method
CN101127102A (en) * 2006-08-18 2008-02-20 鸿富锦精密工业(深圳)有限公司 Contracted life cycle supervision system and method
CN105913219A (en) * 2016-04-05 2016-08-31 周宇航 Method and system used for monitoring and managing whole actuating process of electronic contract
CN106339850A (en) * 2015-07-17 2017-01-18 北京奇虎科技有限公司 Automatic generation method and device of contract approval process

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5144340B2 (en) * 2008-03-27 2013-02-13 株式会社日立製作所 Contract content setting system and contract content setting method
CN104346663A (en) * 2013-07-26 2015-02-11 镇江雅迅软件有限责任公司 Contract approval method based on workflow
CN106022734A (en) * 2016-06-22 2016-10-12 武汉斗鱼网络科技有限公司 Method and system for automatic contract management
CN108153551B (en) * 2017-12-11 2021-07-23 中国民生银行股份有限公司 Method and device for displaying business process page

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6067531A (en) * 1998-07-21 2000-05-23 Mci Communications Corporation Automated contract negotiator/generation system and method
CN101127102A (en) * 2006-08-18 2008-02-20 鸿富锦精密工业(深圳)有限公司 Contracted life cycle supervision system and method
CN106339850A (en) * 2015-07-17 2017-01-18 北京奇虎科技有限公司 Automatic generation method and device of contract approval process
CN105913219A (en) * 2016-04-05 2016-08-31 周宇航 Method and system used for monitoring and managing whole actuating process of electronic contract

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579867A (en) * 2020-12-10 2021-03-30 平安普惠企业管理有限公司 Document generation method, device, equipment and storage medium
CN114912904A (en) * 2022-06-24 2022-08-16 广域铭岛数字科技有限公司 Project delivery state determining method, system, electronic device and storage medium
CN114912904B (en) * 2022-06-24 2023-08-25 广域铭岛数字科技有限公司 Project delivery state determining method, system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109657216B (en) 2023-04-07
CN109657216A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
WO2020062658A1 (en) Contract generation method and apparatus, and device and storage medium
WO2020015067A1 (en) Data acquisition method, device, equipment and storage medium
WO2020062661A1 (en) Method, device and apparatus for verifying consistency of contract data and storage medium
WO2019174090A1 (en) Screenshot file sharing control method, apparatus and device, and computer storage medium
WO2020029585A1 (en) Neural network federation modeling method and device employing transfer learning, and storage medium
WO2020015064A1 (en) System fault processing method, apparatus, device and storage medium
WO2020224246A1 (en) Block chain-based data management method and apparatus, device and storage medium
WO2020147383A1 (en) Process examination and approval method, device and system employing blockchain system, and non-volatile storage medium
WO2020119115A1 (en) Data verification method, device, apparatus, and storage medium
WO2019037196A1 (en) Method and device for task assignment, and computer-readable storage medium
WO2020087978A1 (en) Risk control audit model generation method, apparatus and device and storage medium
WO2020087981A1 (en) Method and apparatus for generating risk control audit model, device and readable storage medium
WO2019024485A1 (en) Data sharing method and device and computer readable storage medium
WO2020224250A1 (en) Method, apparatus, and device for smart contract triggering, and storage medium
WO2018214320A1 (en) Database service logic monitoring method and system, and storage medium
WO2020000632A1 (en) Invoice issuing method, apparatus and device, and computer-readable storage medium
WO2020147385A1 (en) Data entry method and apparatus, terminal and computer-readable storage medium
WO2021003956A1 (en) Product information management method, apparatus and device, and storage medium
WO2020119117A1 (en) Distributed computing method, apparatus and system, device and readable storage medium
WO2020019405A1 (en) Database monitoring method, device and apparatus, and computer storage medium
WO2020119369A1 (en) Intelligent it operation and maintenance fault positioning method, apparatus and device, and readable storage medium
WO2020042464A1 (en) Data interaction method, apparatus and device, and readable storage medium
WO2020119384A1 (en) Medical insurance abnormity detection method, apparatus and device based on big data analysis, and medium
WO2020077832A1 (en) Cloud desktop access method, apparatus and device, and storage medium
WO2021027143A1 (en) Information pushing method, apparatus and device, and computer-readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18935568

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18935568

Country of ref document: EP

Kind code of ref document: A1