[go: up one dir, main page]

CN116402037A - Electronic contract generation method and generation device, computer equipment and storage medium - Google Patents

Electronic contract generation method and generation device, computer equipment and storage medium Download PDF

Info

Publication number
CN116402037A
CN116402037A CN202310674365.1A CN202310674365A CN116402037A CN 116402037 A CN116402037 A CN 116402037A CN 202310674365 A CN202310674365 A CN 202310674365A CN 116402037 A CN116402037 A CN 116402037A
Authority
CN
China
Prior art keywords
target
field
contract
keyword
template
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310674365.1A
Other languages
Chinese (zh)
Inventor
梁坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Digital China Rongxin Cloud Technology Service Co ltd
Original Assignee
Digital China Rongxin Cloud Technology Service Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Digital China Rongxin Cloud Technology Service Co ltd filed Critical Digital China Rongxin Cloud Technology Service Co ltd
Priority to CN202310674365.1A priority Critical patent/CN116402037A/en
Publication of CN116402037A publication Critical patent/CN116402037A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services
    • G06Q50/188Electronic negotiation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Engineering & Computer Science (AREA)
  • Technology Law (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种电子合同的生成方法及生成装置、计算机设备及存储介质。电子合同的生成方法包括获取目标关键字,目标关键字为预设的字段库中,与目标法人的合同模板的预设字段匹配的目标字段对应的关键字,目标字段为字段库的多个字段中的任一个,每个字段均存在对应的关键字和取值方法;填充目标关键字到合同模板中的目标取值位置,以生成电子合同的模板,目标取值位置为与目标关键字匹配的预设字段对应的取值位置;根据电子合同的模板和业务信息,生成电子合同,电子合同的模板的取值位置的取值根据填充的关键字对应的取值方法和业务信息确定。本申请能够减少电子合同的开发周期和电子合同的开发难度。

Figure 202310674365

The invention discloses an electronic contract generation method, a generation device, computer equipment and a storage medium. The method for generating the electronic contract includes obtaining the target keyword, the target keyword is a keyword corresponding to the target field matching the preset field of the contract template of the target legal person in the preset field library, and the target field is a plurality of fields in the field library Each field has a corresponding keyword and value method; fill the target keyword into the target value position in the contract template to generate an electronic contract template, and the target value position is to match the target keyword The value position corresponding to the preset field of the electronic contract; the electronic contract is generated according to the template and business information of the electronic contract, and the value of the value position of the template of the electronic contract is determined according to the value method and business information corresponding to the filled keywords. The application can reduce the development cycle and the development difficulty of the electronic contract.

Figure 202310674365

Description

电子合同的生成方法及生成装置、计算机设备及存储介质Electronic contract generation method and generation device, computer equipment and storage medium

技术领域technical field

本申请涉及电子合同技术领域,特别涉及一种电子合同的生成方法及生成装置、计算机设备及存储介质。The present application relates to the technical field of electronic contracts, in particular to a method and device for generating electronic contracts, computer equipment and storage media.

背景技术Background technique

随着经济的高速发展,越来越多的企业为了能够快速签订合同确认合作,都会采用电子合同进行签订,但是不同企业,甚至同一个企业的不同业务,电子合同也是不同的,电子合同需要针对性地去定制内容,导致每种电子合同都需要单独去开发,使得电子合同开发周期长,且开发难度大。With the rapid development of the economy, more and more companies will use electronic contracts to sign contracts and confirm cooperation quickly. However, different companies, or even different businesses of the same company, have different electronic contracts. Electronic contracts need to be targeted at To customize content permanently, each kind of electronic contract needs to be developed separately, which makes the development cycle of electronic contract long and difficult to develop.

发明内容Contents of the invention

本申请实施方式提供了一种电子合同的生成方法及生成装置、计算机设备及存储介质,能够提高电子合同的生成效率,降低电子合同的开发难度。The embodiments of the present application provide a method and device for generating an electronic contract, a computer device, and a storage medium, which can improve the efficiency of generating an electronic contract and reduce the difficulty of developing an electronic contract.

本申请实施方式的电子合同的生成方法包括获取目标关键字,所述目标关键字为预设的字段库中,与目标法人的合同模板的预设字段匹配的目标字段对应的关键字,所述目标字段为所述字段库的多个字段中的任一个,每个所述字段均存在对应的关键字和取值方法;填充所述目标关键字到所述合同模板中的目标取值位置,以生成所述电子合同的模板,所述目标取值位置为与所述目标关键字匹配的预设字段对应的取值位置;根据所述电子合同的模板和业务信息,生成所述电子合同,所述电子合同的模板的取值位置的取值根据填充的关键字对应的取值方法和所述业务信息确定。The method for generating an electronic contract in the embodiment of the present application includes acquiring a target keyword, the target keyword is a keyword corresponding to a target field matching a preset field of a contract template of a target legal person in a preset field library, and the The target field is any one of multiple fields in the field library, and each of the fields has a corresponding keyword and value method; fill the target keyword into the target value position in the contract template, To generate the template of the electronic contract, the target value position is the value position corresponding to the preset field matched with the target keyword; generate the electronic contract according to the template and business information of the electronic contract, The value of the value-taking position of the template of the electronic contract is determined according to the value-taking method corresponding to the filled keyword and the business information.

在某些实施方式中,所述电子合同的生成方法还包括获取预设的多个法人的合同模板;根据多个法人的合同模板中的预设字段确定所述字段,并定义所述字段对应的关键字和取值方法。In some implementations, the method for generating an electronic contract further includes obtaining preset contract templates of multiple legal entities; determining the fields according to the preset fields in the contract templates of multiple legal entities, and defining the fields corresponding to keywords and value methods.

在某些实施方式中,所述获取目标关键字包括显示合同模板界面;及获取所述合同模板界面的所述目标取值位置的输入信息,以确定所述目标关键字。In some embodiments, the acquiring the target keyword includes displaying a contract template interface; and acquiring input information of the target value position on the contract template interface, so as to determine the target keyword.

在某些实施方式中,所述目标关键字对应的所述取值方法包括多种,所述电子合同的生成方法还包括根据所述输入信息,确定所述目标关键字及所述目标关键字对应的目标取值方法,所述目标取值方法为所述目标关键字对应的多种所述取值方法中的任一个。In some implementations, the method for obtaining the value corresponding to the target keyword includes multiple methods, and the method for generating the electronic contract further includes determining the target keyword and the target keyword according to the input information. A corresponding target value acquisition method, where the target value acquisition method is any one of the multiple value acquisition methods corresponding to the target keyword.

在某些实施方式中,所述获取目标关键字包括识别所述目标法人的合同模板中的预设字段,以获取所述目标关键字。In some implementations, the obtaining the target keyword includes identifying a preset field in the contract template of the target legal entity, so as to obtain the target keyword.

在某些实施方式中,所述字段包括通用字段和特殊字段,所述通用字段用于生成预设的多个法人中的任一法人的所述电子合同,所述特殊字段用于生成预设的多个法人中的一个或多个所述目标法人的所述电子合同,所述生成方法还包括获取所述通用字段和与所述目标法人匹配的所述特殊字段,以生成所述字段库。In some embodiments, the fields include a general field and a special field, the general field is used to generate the electronic contract of any one of the preset legal entities, and the special field is used to generate the preset The electronic contract of one or more of the target legal entities among the plurality of legal entities, the generating method further includes acquiring the general fields and the special fields matching the target legal entities to generate the field library .

在某些实施方式中,所述字段包括签名字段,所述业务信息包括签名,所述根据所述电子合同的模板和业务信息,生成所述电子合同,包括识别所述签名字段的取值位置;将所述签名和所述签名字段的取值位置发送到预设的签名系统进行签名,以使得所述签名填充到所述签名字段的取值位置。In some implementations, the field includes a signature field, the business information includes a signature, and generating the electronic contract according to the template of the electronic contract and the business information includes identifying the value position of the signature field ; Send the signature and the value position of the signature field to a preset signature system for signing, so that the signature is filled into the value position of the signature field.

本申请实施方式的电子合同的生成装置包括第一获取模块、填充模块和生成模块。第一获取模块用于获取目标关键字,所述目标关键字为预设的字段库中,与目标法人的合同模板的预设字段匹配的目标字段对应的关键字,所述目标字段为所述字段库的多个字段中的任一个,每个所述字段均存在对应的关键字和取值方法;填充模块用于填充所述目标关键字到所述合同模板中的目标取值位置,以生成所述电子合同的模板,所述目标取值位置为与所述目标关键字匹配的预设字段对应的取值位置;生成模块用于根据所述电子合同的模板和业务信息,生成所述电子合同,所述电子合同的模板的取值位置的取值根据填充的关键字对应的取值方法和所述业务信息确定。The device for generating an electronic contract in the embodiment of the present application includes a first acquiring module, a filling module and a generating module. The first acquisition module is used to acquire the target keyword, the target keyword is the keyword corresponding to the target field matching the preset field of the contract template of the target legal person in the preset field library, and the target field is the Any one of multiple fields in the field library, each of which has a corresponding keyword and value method; the filling module is used to fill the target keyword into the target value position in the contract template, to Generate the template of the electronic contract, the target value position is the value position corresponding to the preset field matched with the target keyword; the generation module is used to generate the For an electronic contract, the value of the value position of the template of the electronic contract is determined according to the value method corresponding to the filled keyword and the business information.

本申请实施方式的计算机设备包括处理器,所述处理器用于获取目标关键字,所述目标关键字为预设的字段库中,与目标法人的合同模板的预设字段匹配的目标字段对应的关键字,所述目标字段为所述字段库的多个字段中的任一个,每个所述字段均存在对应的关键字和取值方法;填充所述目标关键字到所述合同模板中的目标取值位置,以生成所述电子合同的模板,所述目标取值位置为与所述目标关键字匹配的预设字段对应的取值位置;根据所述电子合同的模板和业务信息,生成所述电子合同,所述电子合同的模板的取值位置的取值根据填充的关键字对应的取值方法和所述业务信息确定。The computer device in the embodiment of the present application includes a processor, and the processor is used to obtain the target keyword, and the target keyword is in the preset field library, corresponding to the target field matching the preset field of the contract template of the target legal person keyword, the target field is any one of multiple fields in the field library, and each of the fields has a corresponding keyword and value method; fill the target keyword into the contract template Target value position, to generate the template of the electronic contract, the target value position is the value position corresponding to the preset field matched with the target keyword; according to the template and business information of the electronic contract, generate In the electronic contract, the value of the value-taking position of the template of the electronic contract is determined according to the value-taking method corresponding to the filled keyword and the business information.

本申请实施方式的包含计算机程序的存储介质,所述计算机程序被处理器执行时,使得所述处理器执行获取目标关键字,所述目标关键字为预设的字段库中,与目标法人的合同模板的预设字段匹配的目标字段对应的关键字,所述目标字段为所述字段库的多个字段中的任一个,每个所述字段均存在对应的关键字和取值方法;填充所述目标关键字到所述合同模板中的目标取值位置,以生成所述电子合同的模板,所述目标取值位置为与所述目标关键字匹配的预设字段对应的取值位置;根据所述电子合同的模板和业务信息,生成所述电子合同,所述电子合同的模板的取值位置的取值根据填充的关键字对应的取值方法和所述业务信息确定。The storage medium containing the computer program in the embodiment of the present application, when the computer program is executed by the processor, makes the processor perform the acquisition of the target keyword, the target keyword is in the preset field library, and the target legal person The keyword corresponding to the target field matched by the default field of the contract template, the target field is any one of the multiple fields in the field library, and each of the fields has a corresponding keyword and value method; filling The target keyword goes to a target value position in the contract template to generate the template of the electronic contract, and the target value position is a value position corresponding to a preset field matched with the target keyword; The electronic contract is generated according to the template of the electronic contract and the business information, and the value of the value position of the template of the electronic contract is determined according to the value method corresponding to the filled keyword and the business information.

本申请实施方式的一种电子合同的生成方法及生成装置、计算机设备及存储介质通过获取与目标法人的合同模板中的预设字段匹配的目标字段,并确定目标字段对应的目标关键字,然后将目标关键字填充到目标法人的合同模板中与目标关键字匹配的预设字段对应的目标取值位置,生成电子合同的模板;对于任一目标法人而言,由于提前开发包含多个字段的字段库,只需要根据字段库,将其合同模板中的目标取值位置填充上对应目标关键字,即可快速生成电子合同的模板,无需针对目标法人单独进行电子合同的模板的开发,电子合同的模板的开发甚至无需专业编程人员,降低了开发难度低,且开发周期也较短。在生成电子合同的模板开发完成后,模板根据关键字对应的取值方法和业务信息,即可快速确定模板中的每个取值位置的取值,生成最终的电子合同,电子合同的生成效率也较高。An electronic contract generation method and generation device, computer equipment, and storage medium according to an embodiment of the present application obtain the target field that matches the preset field in the contract template of the target legal person, and determine the target keyword corresponding to the target field, and then Fill the target keyword into the target value position corresponding to the preset field matching the target keyword in the contract template of the target legal person to generate the template of the electronic contract; for any target legal person, due to the development of The field library only needs to fill the target value position in the contract template with the corresponding target keyword according to the field library, and then the template of the electronic contract can be quickly generated, and there is no need to separately develop the template of the electronic contract for the target legal person, and the electronic contract The development of templates does not even require professional programmers, which reduces the difficulty of development and the development cycle is also short. After the development of the template for generating electronic contracts is completed, the template can quickly determine the value of each value position in the template according to the value method and business information corresponding to the keyword, and generate the final electronic contract. The generation efficiency of electronic contracts Also higher.

本申请实施方式的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请实施方式的实践了解到。Additional aspects and advantages of the embodiments of the present application will be set forth in part in the description which follows, and in part will be obvious from the description which follows, or can be learned by practice of the embodiments of the present application.

附图说明Description of drawings

本申请的上述和/或附加的方面和优点从结合下面附图对实施方式的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and understandable from the description of the embodiments in conjunction with the following drawings, wherein:

图1是本申请某些实施方式的电子合同的生成方法的流程示意图;FIG. 1 is a schematic flow diagram of a method for generating an electronic contract in some embodiments of the present application;

图2是本申请某些实施方式的电子合同的生成方法的场景示意图;Fig. 2 is a schematic diagram of a scene of a method for generating an electronic contract in some embodiments of the present application;

图3是本申请某些实施方式的电子合同的生成方法的流程示意图;Fig. 3 is a schematic flowchart of a method for generating an electronic contract in some embodiments of the present application;

图4是本申请某些实施方式的电子合同的生成方法的场景示意图;Fig. 4 is a schematic diagram of a scenario of a method for generating an electronic contract in some embodiments of the present application;

图5是本申请某些实施方式的电子合同的生成方法的场景示意图;Fig. 5 is a schematic diagram of scenarios of a method for generating an electronic contract in some embodiments of the present application;

图6是本申请某些实施方式的电子合同的生成方法的场景示意图;Fig. 6 is a schematic diagram of scenarios of a method for generating an electronic contract in some embodiments of the present application;

图7是本申请某些实施方式的电子合同的生成方法的流程示意图;Fig. 7 is a schematic flowchart of a method for generating an electronic contract in some embodiments of the present application;

图8是本申请某些实施方式的电子合同的生成方法的场景示意图;Fig. 8 is a schematic diagram of a scenario of a method for generating an electronic contract in some embodiments of the present application;

图9是本申请某些实施方式的电子合同的生成方法的流程示意图;FIG. 9 is a schematic flowchart of a method for generating an electronic contract in some embodiments of the present application;

图10是本申请某些实施方式的电子合同的生成方法的场景示意图;Fig. 10 is a schematic diagram of a scenario of a method for generating an electronic contract in some embodiments of the present application;

图11是本申请某些实施方式的电子合同的生成方法的场景示意图;Fig. 11 is a schematic diagram of a scenario of a method for generating an electronic contract in some embodiments of the present application;

图12是本申请某些实施方式的电子合同的生成方法的流程示意图;Fig. 12 is a schematic flowchart of a method for generating an electronic contract in some embodiments of the present application;

图13是本申请某些实施方式的电子合同的生成方法的流程示意图;Fig. 13 is a schematic flowchart of a method for generating an electronic contract in some embodiments of the present application;

图14是本申请某些实施方式的电子合同的生成方法的场景示意图;Fig. 14 is a schematic diagram of a scenario of a method for generating an electronic contract in some embodiments of the present application;

图15是本申请某些实施方式的电子合同的生成方法的流程示意图;Fig. 15 is a schematic flowchart of a method for generating an electronic contract in some embodiments of the present application;

图16是本申请某些实施方式的电子合同的生成装置的模块示意图;Fig. 16 is a block diagram of an electronic contract generation device in some embodiments of the present application;

图17是本申请某些实施方式的计算机设备的平面示意图;17 is a schematic plan view of a computer device in some embodiments of the present application;

图18是本申请某些实施方式的存储介质和处理器的连接状态示意图。Fig. 18 is a schematic diagram of a connection state between a storage medium and a processor in some embodiments of the present application.

具体实施方式Detailed ways

以下结合附图对本申请的实施方式作进一步说明。附图中相同或类似的标号自始至终表示相同或类似的元件或具有相同或类似功能的元件。另外,下面结合附图描述的本申请的实施方式是示例性的,仅用于解释本申请的实施方式,而不能理解为对本申请的限制。Embodiments of the present application will be further described below in conjunction with the accompanying drawings. The same or similar reference numerals in the drawings represent the same or similar elements or elements having the same or similar functions throughout. In addition, the embodiments of the present application described below in conjunction with the accompanying drawings are exemplary, and are only used to explain the embodiments of the present application, and should not be construed as limiting the present application.

请参阅图1和图2,本申请实施方式提供一种电子合同的生成方法,该方法包括:Please refer to Figure 1 and Figure 2, the embodiment of the present application provides a method for generating an electronic contract, the method includes:

步骤011:获取目标关键字,目标关键字为预设的字段库中,与目标法人的合同模板的预设字段匹配的目标字段对应的关键字,目标字段为字段库的多个字段中的任一个,每个字段均存在对应的关键字和取值方法;Step 011: Obtain the target keyword. The target keyword is the keyword corresponding to the target field that matches the preset field of the contract template of the target legal person in the preset field library. The target field is any of the multiple fields in the field library. One, each field has a corresponding keyword and value method;

具体地,通过整理分析多个法人的合同模板,确认所有合同模板中的预设字段,生成字段库,其中,字段储存在计算机设备100中,对于不同合同模板中,含义相同的多个预设字段,则统一作为字段库中的同一个字段,含义不相同的多个预设字段,则分别作为字段库中的一个字段。对于每个字段,都存在对应的关键字和取值方法,每个字段对应的取值方法需要提前进行开发,在后续制作电子合同的模板时,可通过引用字段对应的关键字,快速调用字段对应的取值方法。从字段库中搜寻与目标法人的合同模板中预设字段匹配的目标字段,其中目标字段可以是字段库中多个字段中任一个,再根据目标字段在字段库中快速确定目标关键字。Specifically, by sorting out and analyzing the contract templates of multiple legal entities, confirming the preset fields in all contract templates, and generating a field library, wherein the fields are stored in the computer device 100, and for different contract templates, multiple preset fields with the same meaning field, it will be unified as the same field in the field library, and multiple preset fields with different meanings will be used as a field in the field library respectively. For each field, there is a corresponding keyword and value method. The value method corresponding to each field needs to be developed in advance. When making an electronic contract template later, you can quickly call the field by citing the keyword corresponding to the field The corresponding value method. Search for the target field that matches the preset field in the contract template of the target legal entity from the field library, where the target field can be any of the multiple fields in the field library, and then quickly determine the target keyword in the field library according to the target field.

例如,预设字段是借款合同编号,确定目标字段是合同编号,目标字段对应的目标关键字为CONTRACT_NO,取值方法为从业务表中获取合同号;或者,预设字段是借款人日期,确定目标字段是日期,目标字段对应的目标关键字为CONTRACT_DATE,取值方法为从根据计算机设备100显示的日期进行取值。For example, if the default field is the loan contract number, determine that the target field is the contract number, the target keyword corresponding to the target field is CONTRACT_NO, and the value method is to obtain the contract number from the business table; or, the default field is the date of the borrower, determine The target field is a date, and the target keyword corresponding to the target field is CONTRACT_DATE, and the method for obtaining a value is to obtain a value from the date displayed by the computer device 100 .

可选地,在获取到多个法人的合同模板中预设字段时,可以对字段进行标号,接着将字段对应的代号进行发布,发布到计算机设备100的服务器中,法人可以根据字段的代号进行搜寻目标字段,从而能够及时且准确地找到合同模板中目标字段对应的关键字。Optionally, when the preset fields in the contract templates of multiple legal entities are obtained, the fields can be labeled, and then the codes corresponding to the fields are published to the server of the computer device 100, and the legal entities can perform the contract according to the codes of the fields. Search the target field, so that the keyword corresponding to the target field in the contract template can be found in a timely and accurate manner.

步骤012:填充目标关键字到合同模板中的目标取值位置,以生成电子合同的模板,目标取值位置为与目标关键字匹配的预设字段对应的取值位置;Step 012: filling the target keyword into the target value position in the contract template to generate an electronic contract template, the target value position is the value position corresponding to the preset field matching the target keyword;

具体地,在计算机设备100获取到多个目标关键字之后,需要将多个目标关键字对应填充到目标法人的合同模板中的多个目标取值位置,需要说明的是目标取值位置为与目标关键字对应的预设字段的取值位置。例如,请参阅图2,计算机设备100获取到目标关键字为借款合同编号、借款人名称和借款日期。在目标法人的合同模板中确定与借款合同编号、借款人名称和借款日期分别对应的目标取值位置a、目标取值位置b和目标取值位置c,然后将借款合同编号填充到目标取值位置a,将借款人名称填充到目标取值位置b,将借款人日期填充到目标取值位置c,在目标关键字填充到对应的目标取值位置后,即可根据填充了目标关键字的合同模板,生成电子合同的模板。Specifically, after the computer device 100 acquires multiple target keywords, it needs to correspondingly fill the multiple target keywords into multiple target value positions in the contract template of the target legal entity. It should be noted that the target value positions are the same as The value position of the preset field corresponding to the target keyword. For example, referring to FIG. 2 , the target keywords obtained by the computer device 100 are loan contract number, borrower name and loan date. Determine the target value position a, target value position b, and target value position c corresponding to the loan contract number, borrower name, and borrowing date in the contract template of the target legal person, and then fill the loan contract number into the target value Position a, fill the borrower’s name into the target value position b, fill the borrower’s date into the target value position c, after the target keyword is filled in the corresponding target value position, you can fill in the target keyword according to Contract template, a template for generating an electronic contract.

可选地,在电子合同的模板生成成功后,可以将电子合同的模板进行命名或者修改并上传到计算机设备100中,并且能够对之前存在计算机设备100中的电子合同的模板进行替换。Optionally, after the electronic contract template is successfully generated, the electronic contract template can be named or modified and uploaded to the computer device 100 , and the electronic contract template previously stored in the computer device 100 can be replaced.

步骤013:根据电子合同的模板和业务信息,生成电子合同,电子合同的模板的取值位置的取值根据填充的关键字对应的取值方法和业务信息确定。Step 013: Generate an electronic contract according to the template of the electronic contract and business information, and the value of the value position of the template of the electronic contract is determined according to the value method and business information corresponding to the filled keywords.

其中,电子合同是用以电子的方式订立的合同,电子合同包括但不限于买卖合同、借款合同、服务协议或授权书等;业务信息为法人需要处理的事务的信息。Among them, an electronic contract is a contract concluded electronically, including but not limited to a sales contract, a loan contract, a service agreement, or a letter of authorization, etc.; business information refers to the information that a legal person needs to handle.

具体地,计算机设备100在生成电子合同的模板之后,在电子合同的模板中的取值位置上的取值,需要根据填充的关键字对应的取值方法和业务信息进行确定,在关键字的取值确定之后,在电子合同的模板中的取值位置填充该取值,从而能够生成目标法人的电子合同。Specifically, after the computer device 100 generates the template of the electronic contract, the value at the value position in the template of the electronic contract needs to be determined according to the value method and business information corresponding to the filled keywords. After the value is determined, the value is filled in the value position in the template of the electronic contract, so that the electronic contract of the target legal entity can be generated.

例如,法人的合同模板为借款合同模板,将目标关键字借款合同号CONTRACT_NO中的CONTRACT_NO根据法人的业务表中的借款合同号进行填充,并对借款合同模板中的其它关键字根据法人的业务表进行填充,从而能够生成目标法人的电子合同。For example, if the contract template of a legal person is a loan contract template, fill in CONTRACT_NO in the target keyword loan contract number CONTRACT_NO according to the loan contract number in the business table of the legal person, and fill other keywords in the loan contract template according to the business table of the legal person Populate so that an electronic contract for the target legal entity can be generated.

如此,获取与目标法人的合同模板中的预设字段匹配的目标字段,并确定目标字段对应的目标关键字,然后将目标关键字填充到目标法人的合同模板中与目标关键字匹配的预设字段对应的目标取值位置,生成电子合同的模板;对于任一目标法人而言,由于提前开发包含多个字段的字段库,只需要根据字段库,将其合同模板中的目标取值位置填充上对应目标关键字,即可快速生成电子合同的模板,无需针对目标法人单独进行电子合同的模板的开发,电子合同的模板的开发甚至无需专业编程人员,降低了开发难度低,且开发周期也较短。在生成电子合同的模板开发完成后,模板根据关键字对应的取值方法和业务信息,即可快速确定模板中的每个取值位置的取值,生成最终的电子合同,电子合同的生成效率也较高。In this way, the target field matching the preset field in the contract template of the target legal entity is obtained, and the target keyword corresponding to the target field is determined, and then the target keyword is filled into the preset field matching the target keyword in the contract template of the target legal entity The target value position corresponding to the field generates the template of the electronic contract; for any target legal person, since the field library containing multiple fields is developed in advance, it only needs to fill the target value position in the contract template according to the field library The template of the electronic contract can be quickly generated based on the corresponding target keyword, and there is no need to develop the template of the electronic contract separately for the target legal person. The development of the template of the electronic contract does not even require professional programmers, which reduces the difficulty of development and the development cycle. shorter. After the development of the template for generating electronic contracts is completed, the template can quickly determine the value of each value position in the template according to the value method and business information corresponding to the keyword, and generate the final electronic contract. The generation efficiency of electronic contracts Also higher.

请参阅图3至6,在某些实施方式中,电子合同的生成方法还包括:Referring to Figures 3 to 6, in some implementations, the method for generating an electronic contract further includes:

步骤014:获取预设的多个法人的合同模板;Step 014: Obtain preset contract templates of multiple legal entities;

步骤015:根据多个法人的合同模板中的预设字段确定字段,并定义字段对应的关键字和取值方法。Step 015: Determine the fields according to the preset fields in the contract templates of multiple legal entities, and define the keywords and value methods corresponding to the fields.

具体地,计算机设备100通过获取预设的多个法人的多个合同模板,如买卖合同、赠与合同、借款合同和租赁合同等,能够从多个合同模板中提取每个法人合同模板中的多个预设字段,接着将多个预设字段存储到计算机设备100中的数据库中,对于含义相同的多个预设字段,则统一作为字段库中的同一个字段,含义不相同的多个预设字段,则分别作为字段库中的一个字段,从而能够形成适配不同法人的字段库,并且需要对字段库中字段对应的关键字以及关键字的取值方法进行定义。例如,多个法人的合同模板均包括有借款合同,但不同法人的借款合同中的预设字段可能不同,如法人A的借款合同有借款合同号、借款人名称和借款日期,法人B的借款合同有合同号、借款人名称和日期,法人C的借款合同有借款号、借款种类和合同签订日期,然后将法人ABC中含义相同的借款合同号、合同号和借款号统一为借款合同编号储存到字段库中,将不同的含义的借款种类单独作为一个字段储存到字段库中。从合同模板中确定预设字段的同时,还需要定义字段对应的关键字和取值方法,例如,借款合同号、借款人名称和借款日期等字段中,字段对应的取值方法可以是借款合同号需要从法人的业务合同号表获取,借款人名称需要从法人的客户信息表中获取和借款日期需要获取当前时间来作为借款日期。Specifically, the computer device 100 can extract multiple contract templates in each legal person contract template from the multiple contract templates by acquiring multiple preset contract templates of multiple legal entities, such as sales contracts, gift contracts, loan contracts, and lease contracts. preset fields, and then store multiple preset fields in the database in computer device 100, for multiple preset fields with the same meaning, they are unified as the same field in the field library, and multiple preset fields with different meanings are used as the same field in the field library. If the field is set, it is used as a field in the field library, so that a field library suitable for different legal entities can be formed, and the keywords corresponding to the fields in the field library and the value method of the keywords need to be defined. For example, the contract templates of multiple legal persons all include loan contracts, but the default fields in the loan contracts of different legal persons may be different. For example, the loan contract of legal person A has the loan contract The contract has the contract number, the name of the borrower, and the date. The loan contract of the legal person C has the loan number, the type of loan, and the date of signing the contract. Then, the loan contract number, contract number, and loan number with the same meaning in the legal person ABC are unified as the loan contract number and stored In the field library, loan types with different meanings are stored in the field library as a single field. While determining the preset fields from the contract template, it is also necessary to define the keywords and value methods corresponding to the fields. For example, in fields such as loan contract number, borrower name, and loan date, the value method corresponding to the field can be loan contract The number needs to be obtained from the business contract number table of the legal person, the name of the borrower needs to be obtained from the customer information table of the legal person, and the borrowing date needs to be obtained from the current time as the borrowing date.

如此,通过获取多个法人的合同模板并确定多个法人的合同模板中的预设字段,并将预设字段存储到计算机设备100中的数据库中,从而能够生成适配多个法人的字段库。In this way, by acquiring the contract templates of multiple legal entities, determining the preset fields in the contract templates of multiple legal entities, and storing the preset fields in the database in the computer device 100, a field library suitable for multiple legal entities can be generated .

请参阅图7和图8,在某些实施方式中,步骤011:获取目标关键字,包括:Please refer to Fig. 7 and Fig. 8, in some embodiments, step 011: obtaining the target keyword includes:

步骤0111:显示合同模板界面;及Step 0111: Display the contract template interface; and

步骤0112:获取合同模板界面的目标取值位置的输入信息,以确定目标关键字。Step 0112: Obtain the input information of the target value position on the contract template interface to determine the target keyword.

具体地,计算机设备100通过在计算机设备100的显示屏上显示目标法人的合同模板,制作电子合同的模板的开发人员(如目标法人的工作人员)在合同模板界面上对预设字段的取值位置处进行信息输入,从而根据输入的信息可以确定目标关键字。例如,如图8所示,在计算机设备100上显示目标法人的借款合同模板,开发人员在借款合同模板界面上的借款合同号的取值位置a处输入借款合同编号,从而能够确定借款合同编号为目标关键字。Specifically, the computer device 100 displays the contract template of the target legal person on the display screen of the computer device 100, and the developer of the electronic contract template (such as the staff of the target legal person) takes the value of the preset field on the contract template interface Information input is performed at the position, so that the target keyword can be determined according to the input information. For example, as shown in Figure 8, the loan contract template of the target legal person is displayed on the computer device 100, and the developer enters the loan contract number at the value position a of the loan contract number on the loan contract template interface, so that the loan contract number can be determined for the target keyword.

如此,通过在计算机设备100上显示合同模板,并且开发人员在预设字段的目标取值位置上输入信息,从而根据输入信息以确定目标关键字,能够实时、准确的获取目标关键字。In this way, by displaying the contract template on the computer device 100 and the developer inputs information in the target value position of the preset field, the target keyword can be determined according to the input information, and the target keyword can be acquired accurately in real time.

请参阅图9至11,在某些实施方式中,目标关键字对应的取值方法包括多种,电子合同的生成方法还包括:Please refer to Figures 9 to 11. In some implementations, the value-taking methods corresponding to the target keyword include multiple methods, and the method for generating the electronic contract also includes:

步骤016:根据输入信息,确定目标关键字及目标关键字对应的目标取值方法,目标取值方法为目标关键字对应的多种取值方法中的任一个。Step 016: According to the input information, determine the target keyword and the target value-taking method corresponding to the target keyword, where the target value-taking method is any one of multiple value-taking methods corresponding to the target keyword.

具体地,在计算机设备100上的合同模板输入信息后,根据输入的信息能够获取目标法人的合同模板的目标关键字以及目标关键字对应的多个取值方法中其中的一个作为目标关键字的取值方法。例如,在电脑屏幕上的借款合同模板上输入借款日期信息,能够确定借款日期为目标关键字,其中借款日期对应的取值方法可以确定为手动去输入借款日期,而借款日期的取值方法还可以是计算机设备100获取当前在计算机设备100上显示的日期作为借款日期,通过对取值方法进行选择操作能够选其中一种作为最终生成电子合同模板的方法。Specifically, after information is input into the contract template on the computer device 100, the target keyword of the contract template of the target legal person and one of the multiple value methods corresponding to the target keyword can be obtained as the target keyword according to the input information. Value method. For example, if you input the loan date information on the loan contract template on the computer screen, you can determine the loan date as the target keyword, and the value method corresponding to the loan date can be determined as manually inputting the loan date, and the value method for the loan date is still It may be that the computer device 100 acquires the date currently displayed on the computer device 100 as the loan date, and one of the methods can be selected as the final method for generating the electronic contract template by performing a selection operation on the value-taking method.

可选地,对于字段中包括的选择类的字段的取值方法需要进行确定,例如,借款合同中放款的方式可以选择一次性放款或者分批次进行放款两种选择,不同的法人对于选择类的字段有不同取值方法,如(甲,乙)、(1,2)、(A,B)等,从而需要对选择类的字段根据计算机设备100中对应的字段增加一层映射关系进行取值,如(甲,乙)、(1,2)和(A,B)等对应计算机设备100中的01、02,如此法人可以自行设定选择类的字段的取值方法。Optionally, the value method of the field of the selection category included in the field needs to be determined. For example, in the loan contract, the method of disbursement can be selected as a one-time loan or batch disbursement. Different legal entities have different options for the selection category There are different value methods for the fields of the field, such as (A, B), (1, 2), (A, B), etc., so it is necessary to add a layer of mapping relationship to the field of the selection class according to the corresponding field in the computer device 100. Values such as (A, B), (1, 2) and (A, B) correspond to 01 and 02 in the computer device 100, so that the legal entity can set the value method of the field of the selection class by itself.

如此,通过在计算机设备100上输入信息,并且根据输入信息,确定目标关键字及目标关键字对应的目标取值方法,能够在确定目标关键字的同时,获取目标关键字的取值方法,不需要开发人员人为去调试目标关键字的取值方法。In this way, by inputting information on the computer device 100, and determining the target keyword and the target value method corresponding to the target keyword according to the input information, it is possible to obtain the value method of the target keyword while determining the target keyword, without Developers are required to manually debug the value method of the target keyword.

请参阅图12,在某些实施方式中,步骤011:获取目标关键字,包括:Please refer to FIG. 12 , in some implementation manners, step 011: obtaining the target keyword includes:

步骤0113:识别目标法人的合同模板中的预设字段,以获取目标关键字。Step 0113: Identify the preset fields in the contract template of the target legal person to obtain the target keyword.

具体地,计算机设备100能够识别目标法人的合同模板中的预设字段,并且从预设的字段库中获取预设字段对应的关键字,从而能够获取目标关键字,例如,计算机设备100通过图像识别技术识别目标法人的合同模板中预设的借款合同号、借款人名称和借款日期等,从预设在计算机设备100中的字段库中获取借款合同号、借款人名称和借款日期等对应的关键字,从而能够确定借款合同号对应的目标关键字CONTRACT_NO、借款人名称对应的目标关键字CUSTOMER_NAME和借款日期对应的目标关键字CUSTOMER_DATE等。Specifically, the computer device 100 can identify the preset fields in the contract template of the target legal person, and obtain the keywords corresponding to the preset fields from the preset field library, so that the target keywords can be obtained. For example, the computer device 100 can use the image The identification technology identifies the loan contract number, borrower name, and loan date preset in the contract template of the target legal person, and obtains the loan contract number, borrower name, and loan date corresponding to the field library preset in the computer device 100. Keywords, so that the target keyword CONTRACT_NO corresponding to the loan contract number, the target keyword CUSTOMER_NAME corresponding to the borrower name, and the target keyword CUSTOMER_DATE corresponding to the loan date can be determined.

如此,通过计算机设备100识别目标法人的合同模板中的预设字段,以获取目标关键字,能够减少开发人员的工作量,并且能够快速地获取目标关键字。In this way, by using the computer device 100 to identify the preset fields in the contract template of the target legal person to obtain the target keyword, the workload of the developer can be reduced, and the target keyword can be quickly obtained.

请参阅图13和14,在某些实施方式中,字段包括通用字段和特殊字段,通用字段用于生成预设的多个法人中的任一法人的电子合同,特殊字段用于生成预设的多个法人中的一个或多个目标法人的电子合同,电子合同的生成方法还包括:Please refer to Figures 13 and 14. In some embodiments, the fields include general fields and special fields. The general fields are used to generate an electronic contract of any legal entity among the preset multiple legal entities, and the special fields are used to generate preset electronic contracts. The electronic contract of one or more target legal persons among the multiple legal persons, the method for generating the electronic contract further includes:

步骤017:获取通用字段和与目标法人匹配的特殊字段,以生成字段库。Step 017: Obtain general fields and special fields matching the target legal entity to generate a field library.

具体地,合同模板中的字段包括通用字段和特殊字段,通用字段为所有法人的合同模板中都具有的字段;特殊字段为一个或者多个法人的合同模板中具有的字段。计算机设备100能够将通用字段和特殊字段存储在存储器中,从而生成电子合同的模板的字段库。例如,以借款合同为例进行说明,通用字段可以是借款合同号、借款合同日期和借款人的名字等;特殊字段可以为借款的种类,借款发放时间、借款人对合同模板补充条款的字段等。Specifically, the fields in the contract template include general fields and special fields, the general fields are the fields in the contract templates of all legal persons; the special fields are the fields in the contract templates of one or more legal persons. The computer device 100 can store general fields and special fields in the memory, thereby generating a field library of the template of the electronic contract. For example, taking a loan contract as an example, the general fields can be the loan contract number, the date of the loan contract, and the name of the borrower, etc.; the special fields can be the type of loan, the time when the loan is issued, and the borrower’s fields for the supplementary terms of the contract template, etc. .

例如,目标法人对应的特殊字段包括借款的种类,则获取字段库时,可获取通用字段和借款的种类,以生成字段库;或者目标法人对应的特殊字段包括借款的种类和借款发放时间,则获取字段库时,可获取通用字段、借款的种类和借款发放时间,以生成字段库,从而针对每个目标法人,生成对应的字段库。For example, if the special field corresponding to the target legal person includes the type of loan, when obtaining the field library, you can obtain the general field and the type of loan to generate the field library; or the special field corresponding to the target legal person includes the type of loan and the loan issuance time, then When obtaining the field library, you can obtain the general fields, the type of loan, and the loan issuance time to generate the field library, so as to generate a corresponding field library for each target legal person.

如此,通过获取通用字段和与目标法人匹配的特殊字段用来生成字段库,能够对不同的法人提供适配的字段库。In this way, by obtaining general fields and special fields matching the target legal entity to generate a field library, it is possible to provide an adapted field library for different legal entities.

请参阅图15,在某些实施方式中,字段包括签名字段,业务信息包括签名,步骤013:根据电子合同的模板和业务信息,生成电子合同,包括:Please refer to Figure 15. In some implementations, the field includes a signature field, and the business information includes a signature. Step 013: Generate an electronic contract according to the template and business information of the electronic contract, including:

步骤0131:识别签名字段的取值位置;Step 0131: Identify the value position of the signature field;

步骤0132:将签名和签名字段的取值位置发送到预设的签名系统进行签名,以使得签名填充到签名字段的取值位置。Step 0132: Send the signature and the value position of the signature field to a preset signature system for signing, so that the signature is filled into the value position of the signature field.

其中,在字段类型中包括签名字段,签名字段可以是法人的合同模板中需要进行签名或者进行签章的字段,在法人的业务信息中包含有签名或者签章,例如,签名字段可以是借款人签名,借款人签章,担保人签名,担保人签章等。Among them, the field type includes a signature field. The signature field can be a field that needs to be signed or sealed in the contract template of the legal person. The business information of the legal person contains a signature or a seal. For example, the signature field can be the borrower Signature, signature of the borrower, signature of the guarantor, signature of the guarantor, etc.

具体地,在字段库中包括有签名字段,在法人的业务信息中包括有签名信息,计算机设备100能够识别并获取在电子合同的模板中签名字段的取值位置,并且将业务信息中的签名信息和签名字段的取值位置发送到预设的第三方签名系统进行签名,从而将签名信息填充到签名字段对应的取值位置。例如,计算机设备100可以通过图像识别技术获取签名字段的取值位置,计算机设备100将获取到法人的业务信息中的签名信息和电子合同的模板中签名字段的取值位置发送到预设的第三方签名系统进行签名或者进行签章,从而能够将签名信息填充到签名字段的取值位置处。Specifically, the signature field is included in the field library, and the signature information is included in the business information of the legal person. The computer device 100 can identify and obtain the value position of the signature field in the template of the electronic contract, and store the signature in the business information The information and the value position of the signature field are sent to the preset third-party signature system for signature, so that the signature information is filled into the value position corresponding to the signature field. For example, the computer device 100 can obtain the value position of the signature field through image recognition technology, and the computer device 100 will send the acquired signature information in the business information of the legal person and the value position of the signature field in the template of the electronic contract to the preset first The three-party signature system performs signature or seal, so that the signature information can be filled in the value position of the signature field.

如此,通过将获取的签名字段的取值位置和目标法人业务信息中的签名发送到第三方签名系统中进行签名,能够快捷地生成目标法人的电子合同中的签名。In this way, by sending the obtained value position of the signature field and the signature in the business information of the target legal person to a third-party signature system for signing, the signature in the electronic contract of the target legal person can be quickly generated.

请参阅图16,本申请实施方式的电子合同的生成装置10包括第一获取模块11、填充模块12和生成模块13。第一获取模块11用于获取目标关键字,目标关键字为预设的字段库中,与目标法人的合同模板的预设字段匹配的目标字段对应的关键字,目标字段为字段库的多个字段中的任一个,每个字段均存在对应的关键字和取值方法;填充模块12用于填充目标关键字到合同模板中的目标取值位置,以生成电子合同的模板,目标取值位置为与目标关键字匹配的预设字段对应的取值位置;生成模块13用于根据电子合同的模板和业务信息,生成电子合同,电子合同的模板的取值位置的取值根据填充的关键字对应的取值方法和业务信息确定。Referring to FIG. 16 , the device 10 for generating an electronic contract according to the embodiment of the present application includes a first obtaining module 11 , a filling module 12 and a generating module 13 . The first obtaining module 11 is used to obtain the target keyword, the target keyword is the keyword corresponding to the target field matching the preset field of the contract template of the target legal person in the preset field library, and the target field is a plurality of fields in the field library Any one of the fields, each field has a corresponding keyword and a value method; the filling module 12 is used to fill the target keyword into the target value position in the contract template, so as to generate the template of the electronic contract, and the target value position It is the value position corresponding to the preset field matched with the target keyword; the generation module 13 is used to generate an electronic contract according to the template and business information of the electronic contract, and the value of the value position of the template of the electronic contract is based on the filled keyword The corresponding value method and business information are determined.

电子合同的生成装置还包括第二获取模块14,第二获取模块14具体用于获取预设的多个法人的合同模板。The electronic contract generation device further includes a second acquisition module 14, which is specifically configured to acquire a plurality of preset contract templates of legal entities.

电子合同的生成装置还包括第一确定模块15,第一确定模块15具体用于根据多个法人的合同模板中的预设字段确定字段,并定义字段对应的关键字和取值方法。The electronic contract generation device further includes a first determination module 15, which is specifically configured to determine fields according to preset fields in the contract templates of multiple legal entities, and define keywords and value methods corresponding to the fields.

第一获取模块11还用于显示合同模板界面;及获取合同模板界面的目标取值位置的输入信息,以确定目标关键字。The first obtaining module 11 is also used for displaying the contract template interface; and obtaining input information of the target value position of the contract template interface to determine the target keyword.

电子合同的生成装置还包括第二确定模块16,第二确定模块16具体用于根据输入信息,确定目标关键字及目标关键字对应的目标取值方法,目标取值方法为目标关键字对应的多种取值方法中的任一个。The generating device of the electronic contract also includes a second determination module 16, and the second determination module 16 is specifically used to determine the target keyword and the target value method corresponding to the target keyword according to the input information, and the target value method is the target value corresponding to the target keyword. Any one of a variety of value methods.

第一获取模块11还用于识别目标法人的合同模板中的预设字段,以获取目标关键字。The first acquisition module 11 is also used to identify preset fields in the contract template of the target legal person, so as to acquire the target keyword.

电子合同的生成装置还包括第三获取模块17,第三获取模块17具体用于获取通用字段和与目标法人匹配的特殊字段,以生成字段库。The electronic contract generation device further includes a third acquisition module 17, which is specifically configured to acquire common fields and special fields matching the target legal entity, so as to generate a field library.

生成模块13还用于识别签名字段的取值位置;将签名和签名字段的取值位置发送到预设的签名系统进行签名,以使得签名填充到签名字段的取值位置。The generating module 13 is also used to identify the value position of the signature field; and send the signature and the value position of the signature field to a preset signature system for signing, so that the signature is filled into the value position of the signature field.

请参阅图17,本申请实施方式的计算机设备100包括处理器20,处理器20用于获取目标关键字,目标关键字为预设的字段库中,与目标法人的合同模板的预设字段匹配的目标字段对应的关键字,目标字段为字段库的多个字段中的任一个,每个字段均存在对应的关键字和取值方法;填充目标关键字到合同模板中的目标取值位置,以生成电子合同的模板,目标取值位置为与目标关键字匹配的预设字段对应的取值位置;根据电子合同的模板和业务信息,生成电子合同,电子合同的模板的取值位置的取值根据填充的关键字对应的取值方法和业务信息确定。Please refer to FIG. 17 , the computer device 100 of the embodiment of the present application includes a processor 20, and the processor 20 is used to obtain the target keyword, which is in the preset field library and matches the preset field of the contract template of the target legal person The keyword corresponding to the target field of the target field is any one of the multiple fields in the field library, and each field has a corresponding keyword and value method; fill the target keyword into the target value position in the contract template, To generate the template of the electronic contract, the target value position is the value position corresponding to the preset field matching the target keyword; according to the template of the electronic contract and business information, the electronic contract is generated, and the value position of the template of the electronic contract is selected The value is determined according to the value method and business information corresponding to the filled keywords.

其中,计算机设备100可以是手机、平板电脑、笔记本电脑、服务器等。Wherein, the computer device 100 may be a mobile phone, a tablet computer, a notebook computer, a server, and the like.

可选地,处理器20还可执行上述任一实施方式的电子合同的生成方法,为了简洁,在此不再赘述。Optionally, the processor 20 may also execute the method for generating an electronic contract in any of the above-mentioned embodiments, and for the sake of brevity, details are not repeated here.

请参阅图18,本申请实施方式还提供了一种存储介质300,其上存储有计算机程序310,计算机程序310被处理器20执行的情况下,实现上述任意一种实施方式的电子合同的生成方法的步骤,为了简洁,在此不再赘述。Please refer to FIG. 18 , the embodiment of the present application also provides a storage medium 300, on which a computer program 310 is stored. When the computer program 310 is executed by the processor 20, the generation of an electronic contract in any of the above-mentioned embodiments can be realized. The steps of the method are not repeated here for the sake of brevity.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the present application includes additional implementations in which functions may be performed out of the order shown or discussed, including in substantially simultaneous fashion or in reverse order depending on the functions involved, which shall It should be understood by those skilled in the art to which the embodiments of the present application belong.

尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型,本申请的范围由权利要求及其等同物限定。Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present application, and those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations, the scope of the present application is defined by the claims and their equivalents.

Claims (10)

1.一种电子合同的生成方法,其特征在于,包括:1. A method for generating an electronic contract, comprising: 获取目标关键字,所述目标关键字为预设的字段库中,与目标法人的合同模板的预设字段匹配的目标字段对应的关键字,所述目标字段为所述字段库的多个字段中的任一个,每个所述字段均存在对应的关键字和取值方法;Obtain the target keyword, the target keyword is the keyword corresponding to the target field matching the preset field of the contract template of the target legal person in the preset field library, and the target field is a plurality of fields in the field library Any one of the fields, each of the fields has a corresponding keyword and value method; 填充所述目标关键字到所述合同模板中的目标取值位置,以生成所述电子合同的模板,所述目标取值位置为与所述目标关键字匹配的预设字段对应的取值位置;Filling the target keyword into the target value position in the contract template to generate the template of the electronic contract, the target value position is the value position corresponding to the preset field matched with the target keyword ; 根据所述电子合同的模板和业务信息,生成所述电子合同,所述电子合同的模板的取值位置的取值根据填充的关键字对应的取值方法和所述业务信息确定。The electronic contract is generated according to the template of the electronic contract and the business information, and the value of the value position of the template of the electronic contract is determined according to the value method corresponding to the filled keyword and the business information. 2.根据权利要求1所述电子合同的生成方法,其特征在于,还包括:2. The method for generating an electronic contract according to claim 1, further comprising: 获取预设的多个法人的合同模板;Obtain preset contract templates for multiple legal entities; 根据多个法人的合同模板中的预设字段确定所述字段,并定义所述字段对应的关键字和取值方法。The fields are determined according to preset fields in the contract templates of multiple legal entities, and keywords and value acquisition methods corresponding to the fields are defined. 3. 根据权利要求1所述电子合同的生成方法,其特征在于,所述获取目标关键字,包括:3. The generation method of the electronic contract according to claim 1, wherein said acquisition of the target keyword comprises: 显示合同模板界面;及Display the contract template interface; and 获取所述合同模板界面的所述目标取值位置的输入信息,以确定所述目标关键字。Acquiring the input information of the target value position in the contract template interface to determine the target keyword. 4.根据权利要求3所述电子合同的生成方法,其特征在于,所述目标关键字对应的所述取值方法包括多种,所述电子合同的生成方法还包括:4. The method for generating an electronic contract according to claim 3, wherein the value-taking method corresponding to the target keyword includes multiple methods, and the method for generating an electronic contract further includes: 根据所述输入信息,确定所述目标关键字及所述目标关键字对应的目标取值方法,所述目标取值方法为所述目标关键字对应的多种所述取值方法中的任一个。According to the input information, determine the target keyword and the target value-taking method corresponding to the target keyword, and the target value-taking method is any one of the multiple value-taking methods corresponding to the target keyword . 5.根据权利要求1所述电子合同的生成方法,其特征在于,所述获取目标关键字,包括:5. The generation method of the electronic contract according to claim 1, wherein said acquiring the target keyword comprises: 识别所述目标法人的合同模板中的预设字段,以获取所述目标关键字。A preset field in the contract template of the target legal entity is identified to obtain the target keyword. 6.根据权利要求1所述电子合同的生成方法,其特征在于,所述字段包括通用字段和特殊字段,所述通用字段用于生成预设的多个法人中的任一法人的所述电子合同,所述特殊字段用于生成预设的多个法人中的一个或多个所述目标法人的所述电子合同,所述生成方法还包括:6. The method for generating an electronic contract according to claim 1, wherein the fields include a general field and a special field, and the general field is used to generate the electronic contract of any one of the preset multiple legal entities. In a contract, the special field is used to generate the electronic contract of one or more of the target legal entities among the preset multiple legal entities, and the generating method further includes: 获取所述通用字段和与所述目标法人匹配的所述特殊字段,以生成所述字段库。The general fields and the special fields matching the target legal entity are obtained to generate the field library. 7.根据权利要求1所述电子合同的生成方法,其特征在于,所述字段包括签名字段,所述业务信息包括签名,所述根据所述电子合同的模板和业务信息,生成所述电子合同,包括:7. The method for generating an electronic contract according to claim 1, wherein the field includes a signature field, the business information includes a signature, and the electronic contract is generated according to the template and business information of the electronic contract ,include: 识别所述签名字段的取值位置;identifying the value position of the signature field; 将所述签名和所述签名字段的取值位置发送到预设的签名系统进行签名,以使得所述签名填充到所述签名字段的取值位置。Sending the signature and the value position of the signature field to a preset signature system for signing, so that the signature is filled into the value position of the signature field. 8.一种电子合同的生成装置,其特征在于,包括:8. A device for generating an electronic contract, comprising: 第一获取模块,用于获取目标关键字,所述目标关键字为预设的字段库中,与目标法人的合同模板的预设字段匹配的目标字段对应的关键字,所述目标字段为所述字段库的多个字段中的任一个,每个所述字段均存在对应的关键字和取值方法;The first acquisition module is used to acquire the target keyword, the target keyword is the keyword corresponding to the target field matching the preset field of the contract template of the target legal person in the preset field library, and the target field is the keyword Any one of a plurality of fields in the field library, each of which has a corresponding keyword and value method; 填充模块,用于填充所述目标关键字到所述合同模板中的目标取值位置,以生成所述电子合同的模板,所述目标取值位置为与所述目标关键字匹配的预设字段对应的取值位置;A filling module, configured to fill the target keyword into a target value position in the contract template to generate a template of the electronic contract, and the target value position is a preset field matching the target keyword Corresponding value position; 生成模块,用于根据所述电子合同的模板和业务信息,生成所述电子合同,所述电子合同的模板的取值位置的取值根据填充的关键字对应的取值方法和所述业务信息确定。A generation module, configured to generate the electronic contract according to the template and business information of the electronic contract, and the value of the value position of the template of the electronic contract is based on the value method corresponding to the filled keyword and the business information Sure. 9.一种计算机设备,其特征在于,包括处理器,所述处理器用于获取目标关键字,所述目标关键字为预设的字段库中,与目标法人的合同模板的预设字段匹配的目标字段对应的关键字,所述目标字段为所述字段库的多个字段中的任一个,每个所述字段均存在对应的关键字和取值方法;填充所述目标关键字到所述合同模板中的目标取值位置,以生成电子合同的模板,所述目标取值位置为与所述目标关键字匹配的预设字段对应的取值位置;根据所述电子合同的模板和业务信息,生成所述电子合同,所述电子合同的模板的取值位置的取值根据填充的关键字对应的取值方法和所述业务信息确定。9. A computer device, characterized in that it includes a processor, the processor is used to obtain the target keyword, the target keyword is in the preset field library, and matches the preset field of the contract template of the target legal person The keyword corresponding to the target field, the target field is any one of the multiple fields in the field library, and each of the fields has a corresponding keyword and value method; fill the target keyword into the The target value position in the contract template to generate the template of the electronic contract, the target value position is the value position corresponding to the preset field matched with the target keyword; according to the template and business information of the electronic contract , generating the electronic contract, where the value of the value-taking position of the template of the electronic contract is determined according to the value-taking method corresponding to the filled keyword and the business information. 10.一种包含计算机程序的存储介质,所述计算机程序被处理器执行时,使得所述处理器执行权利要求1-7任意一项所述电子合同的生成方法。10. A storage medium containing a computer program, when the computer program is executed by a processor, the processor executes the electronic contract generation method according to any one of claims 1-7.
CN202310674365.1A 2023-06-08 2023-06-08 Electronic contract generation method and generation device, computer equipment and storage medium Pending CN116402037A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310674365.1A CN116402037A (en) 2023-06-08 2023-06-08 Electronic contract generation method and generation device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310674365.1A CN116402037A (en) 2023-06-08 2023-06-08 Electronic contract generation method and generation device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116402037A true CN116402037A (en) 2023-07-07

Family

ID=87012762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310674365.1A Pending CN116402037A (en) 2023-06-08 2023-06-08 Electronic contract generation method and generation device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116402037A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108519968A (en) * 2018-04-09 2018-09-11 北京智慧正安科技有限公司 Criminal case judgement document generation method, device and computer readable storage medium
CN109145097A (en) * 2018-06-11 2019-01-04 人民法院信息技术服务中心 A kind of judgement document's classification method based on information extraction
CN109615343A (en) * 2019-01-03 2019-04-12 深圳壹账通智能科技有限公司 Electronic contract generation method, device, computer equipment and storage medium
CN110263311A (en) * 2019-05-22 2019-09-20 中国平安财产保险股份有限公司 A kind of generation method and equipment of Webpage
US20200110800A1 (en) * 2018-10-09 2020-04-09 International Business Machines Corporation Creating Cost Models Using Standard Templates and Key-Value Pair Differential Analysis
CN111709221A (en) * 2020-06-15 2020-09-25 广州润普网络科技有限公司 Document generation method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108519968A (en) * 2018-04-09 2018-09-11 北京智慧正安科技有限公司 Criminal case judgement document generation method, device and computer readable storage medium
CN109145097A (en) * 2018-06-11 2019-01-04 人民法院信息技术服务中心 A kind of judgement document's classification method based on information extraction
US20200110800A1 (en) * 2018-10-09 2020-04-09 International Business Machines Corporation Creating Cost Models Using Standard Templates and Key-Value Pair Differential Analysis
CN109615343A (en) * 2019-01-03 2019-04-12 深圳壹账通智能科技有限公司 Electronic contract generation method, device, computer equipment and storage medium
CN110263311A (en) * 2019-05-22 2019-09-20 中国平安财产保险股份有限公司 A kind of generation method and equipment of Webpage
CN111709221A (en) * 2020-06-15 2020-09-25 广州润普网络科技有限公司 Document generation method and system

Similar Documents

Publication Publication Date Title
EP3433732B1 (en) Converting visual diagrams into code
CN111061733B (en) Data processing method, device, electronic equipment and computer readable storage medium
US11537606B2 (en) Solution for implementing computing service based on structured query language statement
CN109815039A (en) Test method and device for business software, storage medium, and computer equipment
CN111708971A (en) Page configuration method, apparatus, computer device and storage medium
CN113449028A (en) Data extraction method and device, electronic equipment and storage medium
CN110706117A (en) Business processing method, device, computer device and storage medium
CN115631374A (en) Control operation method, control detection model training method, device and equipment
CN118781355A (en) Target recognition method based on YOLOv8
CN115761389A (en) Image sample amplification method and device, electronic device and storage medium
CN117808097A (en) Method for generating commodity graph and electronic equipment
CN114860699A (en) Data quality detection method, device, equipment and storage medium
CN119536854A (en) Method, device, equipment and storage medium for business processing
CN111859985B (en) AI customer service model test method and device, electronic equipment and storage medium
CN115732061A (en) Method, device, equipment and storage medium for data labeling
CN116402037A (en) Electronic contract generation method and generation device, computer equipment and storage medium
US11442724B2 (en) Pattern recognition
CN110532186B (en) Method, device, electronic device and storage medium for testing using verification code
CN114972006A (en) Image generation method, apparatus, device and storage medium
CN113626022A (en) Object model creation method, device, storage medium and electronic device
CN115481614A (en) Method, device and equipment for acquiring vehicle engineering configuration table and storage medium
CN117312307A (en) Service data processing method, device, computer equipment and storage medium
CN116187470A (en) Color correction model training method, color correction method and equipment for tongue diagnosis images
CN115293874A (en) Page processing method, device and computer equipment for credit borrowing process
CN115292277A (en) Data migration consistency verification method, device, system, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20230707